Reference documentation and code samples for the Compute Engine v1 API enum InterconnectRemoteLocationConstraints.Types.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.
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.
PortPairUnconstrainedRemoteLocation
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.
UndefinedPortPairRemoteLocation
A value indicating that the enum field is not set.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-24 UTC."],[[["The latest version of the `Google.Cloud.Compute.V1.InterconnectRemoteLocationConstraints.Types.PortPairRemoteLocation` is 3.6.0, with versions ranging from 1.0.0 to 3.6.0 available."],["This enum, `InterconnectRemoteLocationConstraints.Types.PortPairRemoteLocation`, is part of the Compute Engine v1 API and is used to define constraints for remote locations in port pairs."],["There are three fields within this enum: `PortPairMatchingRemoteLocation`, which requires both ports to use the same remote location; `PortPairUnconstrainedRemoteLocation`, which allows for two different remote locations in the same city; and `UndefinedPortPairRemoteLocation`, which shows that the field is not set."],["This API is utilized when ordering a pair of ports, preventing users from selecting options incompatible with their cloud provider, particularly for Cross-Cloud Interconnect ports."],["The namespace of this enum is `Google.Cloud.Compute.V1`, which is found within the `Google.Cloud.Compute.V1.dll` assembly."]]],[]]