Enum InterconnectRemoteLocationConstraints.PortPairRemoteLocation (1.39.0)

public enum InterconnectRemoteLocationConstraints.PortPairRemoteLocation extends Enum<InterconnectRemoteLocationConstraints.PortPairRemoteLocation> implements ProtocolMessageEnum

[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.

Protobuf enum google.cloud.compute.v1.InterconnectRemoteLocationConstraints.PortPairRemoteLocation

Implements

ProtocolMessageEnum

Static Fields

NameDescription
PORT_PAIR_MATCHING_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.

PORT_PAIR_MATCHING_REMOTE_LOCATION = 207291859;

PORT_PAIR_MATCHING_REMOTE_LOCATION_VALUE

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_MATCHING_REMOTE_LOCATION = 207291859;

PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION

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.

PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION = 60609829;

PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION_VALUE

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.

PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION = 60609829;

UNDEFINED_PORT_PAIR_REMOTE_LOCATION

A value indicating that the enum field is not set.

UNDEFINED_PORT_PAIR_REMOTE_LOCATION = 0;

UNDEFINED_PORT_PAIR_REMOTE_LOCATION_VALUE

A value indicating that the enum field is not set.

UNDEFINED_PORT_PAIR_REMOTE_LOCATION = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()