Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::InterconnectRemoteLocationConstraints::PortPairRemoteLocation.
[Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. GCP's API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.
Constants
UNDEFINED_PORT_PAIR_REMOTE_LOCATION
value: 0
A value indicating that the enum field is not set.
PORT_PAIR_MATCHING_REMOTE_LOCATION
value: 207_291_859
If PORT_PAIR_MATCHING_REMOTE_LOCATION, the remote cloud provider allocates ports in pairs, and the user should choose the same remote location for both ports.
PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION
value: 60_609_829
If PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, a user may opt to provision a redundant pair of Cross-Cloud Interconnects using two different remote locations in the same city.