Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 73 additions & 0 deletions mmv1/products/apphub/Boundary.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Copyright 2025 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.

---
name: 'Boundary'
description: 'Application management boundary.'
docs:
self_link: 'projects/{{project}}/locations/{{location}}/boundary'
# Singleton resource, point create_url to update_url.
create_url: 'projects/{{project}}/locations/{{location}}/boundary'
create_verb: 'PATCH'
update_url: 'projects/{{project}}/locations/{{location}}/boundary'
update_verb: 'PATCH'
exclude_delete: true
id_format: 'projects/{{project}}/locations/{{location}}/boundary'
import_format:
- "projects/{{project}}/locations/{{location}}/boundary"

parameters:
- name: 'location'
type: String
description: 'The location for the Boundary resource. Example: us-central1.'
required: true
url_param_only: true
immutable: true
properties:
- name: name

Check failure on line 37 in mmv1/products/apphub/Boundary.yaml

View workflow job for this annotation

GitHub Actions / lint-yaml

37:3 [indentation] wrong indentation: expected 1 but found 2
type: String
description: |-
Identifier. The resource name of the boundary.
Format: "projects/{project}/locations/{{location}}/boundary"
output: true
- name: crmNode
type: String
description: |-
Optional. The resource name of the CRM node being attached to the
boundary.
Format: `projects/{project-number}`
api_field: crm_node
- name: createTime
type: Time
description: 'Create time.'
output: true
- name: updateTime
type: Time
description: ' Update time.'
output: true
- name: type
type: Enum
description: 'Boundary type.'
output: true
enum_values:
- AUTOMATIC
- MANUAL
- MANAGED_AUTOMATIC

examples:
- name: 'apphub_boundary_basic'

Check failure on line 68 in mmv1/products/apphub/Boundary.yaml

View workflow job for this annotation

GitHub Actions / lint-yaml

68:3 [indentation] wrong indentation: expected 1 but found 2
primary_resource_id: 'example'
vars:
project_id: "my-project-id"
location: "us-central1"
crm_node_project_number: "370517660364"
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
resource "google_apphub_boundary" "{{$.PrimaryResourceId}}" {
project = "{{index $.Vars "project_id"}}"
location = "{{index $.Vars "location"}}"
crm_node = "projects/{{index $.Vars "crm_node_project_number"}}"
}
Loading