From 004bb7dab0ac5028abaf39ab6d025b6d1520845b Mon Sep 17 00:00:00 2001 From: Balanagu Harsha Vardhan Date: Mon, 4 Dec 2023 08:31:15 +0530 Subject: [PATCH] Adding support for Managed Zone resource in Integration Connectors. --- .../integrationconnectors/ManagedZone.yaml | 104 ++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 mmv1/products/integrationconnectors/ManagedZone.yaml diff --git a/mmv1/products/integrationconnectors/ManagedZone.yaml b/mmv1/products/integrationconnectors/ManagedZone.yaml new file mode 100644 index 000000000000..98833774172e --- /dev/null +++ b/mmv1/products/integrationconnectors/ManagedZone.yaml @@ -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.