pub struct InterconnectRemoteLocationConstraints {
pub port_pair_remote_location: Option<String>,
pub port_pair_vlan: Option<String>,
pub subnet_length_range: Option<InterconnectRemoteLocationConstraintsSubnetLengthRange>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§port_pair_remote_location: Option<String>
[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. Google Cloud 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.
port_pair_vlan: Option<String>
[Output Only] Port pair VLAN constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_VLAN, PORT_PAIR_MATCHING_VLAN
subnet_length_range: Option<InterconnectRemoteLocationConstraintsSubnetLengthRange>
[Output Only] [min-length, max-length] The minimum and maximum value (inclusive) for the IPv4 subnet length. For example, an interconnectRemoteLocation for Azure has {min: 30, max: 30} because Azure requires /30 subnets. This range specifies the values supported by both cloud providers. Interconnect currently supports /29 and /30 IPv4 subnet lengths. If a remote cloud has no constraint on IPv4 subnet length, the range would thus be {min: 29, max: 30}.
Trait Implementations§
Source§impl Clone for InterconnectRemoteLocationConstraints
impl Clone for InterconnectRemoteLocationConstraints
Source§fn clone(&self) -> InterconnectRemoteLocationConstraints
fn clone(&self) -> InterconnectRemoteLocationConstraints
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for InterconnectRemoteLocationConstraints
impl Default for InterconnectRemoteLocationConstraints
Source§fn default() -> InterconnectRemoteLocationConstraints
fn default() -> InterconnectRemoteLocationConstraints
Source§impl<'de> Deserialize<'de> for InterconnectRemoteLocationConstraints
impl<'de> Deserialize<'de> for InterconnectRemoteLocationConstraints
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for InterconnectRemoteLocationConstraints
Auto Trait Implementations§
impl Freeze for InterconnectRemoteLocationConstraints
impl RefUnwindSafe for InterconnectRemoteLocationConstraints
impl Send for InterconnectRemoteLocationConstraints
impl Sync for InterconnectRemoteLocationConstraints
impl Unpin for InterconnectRemoteLocationConstraints
impl UnwindSafe for InterconnectRemoteLocationConstraints
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more