Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support FOR_MIGRATION InternalRange objects #11856

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all 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
23 changes: 23 additions & 0 deletions mmv1/products/networkconnectivity/InternalRange.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ properties:
enum_values:
- 'FOR_VPC'
- 'EXTERNAL_TO_VPC'
- 'FOR_MIGRATION'
- name: 'peering'
type: Enum
description: |
Expand Down Expand Up @@ -149,3 +150,25 @@ properties:
enum_values:
- 'OVERLAP_ROUTE_RANGE'
- 'OVERLAP_EXISTING_SUBNET_RANGE'
- name: 'migration'
type: NestedObject
description: |
Specification for migration with source and target resource names.
immutable: true
properties:
- name: 'source'
type: String
description: |
Resource path as an URI of the source resource, for example a subnet.
The project for the source resource should match the project for the
InternalRange.
An example /projects/{project}/regions/{region}/subnetworks/{subnet}
requred: true
- name: 'target'
type: String
description: |
Resource path of the target resource. The target project can be
different, as in the cases when migrating to peer networks. The resource
may not exist yet.
For example /projects/{project}/regions/{region}/subnetworks/{subnet}
required: true