Skip to content

Commit

Permalink
Adding support for Managed Zone resource in
Browse files Browse the repository at this point in the history
Integration Connectors.
  • Loading branch information
Balanagu Harsha Vardhan committed Dec 4, 2023
1 parent 34322e3 commit 004bb7d
Showing 1 changed file with 104 additions and 0 deletions.
104 changes: 104 additions & 0 deletions mmv1/products/integrationconnectors/ManagedZone.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
# Copyright 2023 Google Inc.

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

---
!ruby/object:Api::Resource
name: "ManagedZone"
description: |
An Integration connectors Managed Zone.
references: !ruby/object:Api::Resource::ReferenceLinks
guides:
"Official Documentation": "https://cloud.google.com/integration-connectors/docs"
api: "https://cloud.google.com/integration-connectors/docs/reference/rest/v1/projects.locations.global.managedZones"
base_url: projects/{{project}}/locations/global/managedZones
self_link: projects/{{project}}/locations/global/managedZones/{{name}}
timeouts: !ruby/object:Api::Timeouts
insert_minutes: 5
update_minutes: 5
delete_minutes: 5
create_url: projects/{{project}}/locations/global/managedZones?managedZoneId={{name}}
update_verb: :PATCH
update_mask: true
autogen_async: true
examples:
- !ruby/object:Provider::Terraform::Examples
name: "integration_connectors_connection_basic"
primary_resource_id: "pubsubconnection"
vars:
connection_name: "test-pubsub"
async: !ruby/object:Api::OpAsync
operation: !ruby/object:Api::OpAsync::Operation
path: "name"
base_url: "{{op_id}}"
wait_ms: 1000
timeouts: !ruby/object:Api::Timeouts
insert_minutes: 5
update_minutes: 5
delete_minutes: 5
result: !ruby/object:Api::OpAsync::Result
path: "response"
resource_inside_response: true
status: !ruby/object:Api::OpAsync::Status
path: "done"
complete: true
allowed:
- "true"
- "false"
error: !ruby/object:Api::OpAsync::Error
path: "error"
message: "message"

parameters:
- !ruby/object:Api::Type::String
name: "name"
required: true
immutable: true
url_param_only: true
description: |
Name of Managed Zone needs to be created.
properties:
- !ruby/object:Api::Type::Time
name: "createTime"
description: |
Time the Namespace was created in UTC.
output: true
- !ruby/object:Api::Type::Time
name: "updateTime"
description: |
Time the Namespace was updated in UTC.
output: true
- !ruby/object:Api::Type::String
name: "description"
description: |
Description of the resource.
- !ruby/object:Api::Type::KeyValueLabels
name: "labels"
description: |
Resource labels to represent user provided metadata.
- !ruby/object:Api::Type::String
name: "dns"
required: true
description: |
DNS Name of the resource.
- !ruby/object:Api::Type::String
name: "targetProject"
required: true
description: |
The name of the Target Project.
- !ruby/object:Api::Type::String
name: "targetVpc"
required: true
description: |
The name of the Target Project VPC Network.

0 comments on commit 004bb7d

Please sign in to comment.