pub struct InterconnectAttachmentConfigurationConstraints {
pub bgp_md5: Option<String>,
pub bgp_peer_asn_ranges: Option<Vec<InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange>>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§bgp_md5: Option<String>
[Output Only] Whether the attachment’s BGP session requires/allows/disallows BGP MD5 authentication. This can take one of the following values: MD5_OPTIONAL, MD5_REQUIRED, MD5_UNSUPPORTED. For example, a Cross-Cloud Interconnect connection to a remote cloud provider that requires BGP MD5 authentication has the interconnectRemoteLocation attachment_configuration_constraints.bgp_md5 field set to MD5_REQUIRED, and that property is propagated to the attachment. Similarly, if BGP MD5 is MD5_UNSUPPORTED, an error is returned if MD5 is requested.
bgp_peer_asn_ranges: Option<Vec<InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange>>
[Output Only] List of ASN ranges that the remote location is known to support. Formatted as an array of inclusive ranges {min: min-value, max: max-value}. For example, [{min: 123, max: 123}, {min: 64512, max: 65534}] allows the peer ASN to be 123 or anything in the range 64512-65534. This field is only advisory. Although the API accepts other ranges, these are the ranges that we recommend.
Trait Implementations§
Source§impl Clone for InterconnectAttachmentConfigurationConstraints
impl Clone for InterconnectAttachmentConfigurationConstraints
Source§fn clone(&self) -> InterconnectAttachmentConfigurationConstraints
fn clone(&self) -> InterconnectAttachmentConfigurationConstraints
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for InterconnectAttachmentConfigurationConstraints
impl Default for InterconnectAttachmentConfigurationConstraints
Source§fn default() -> InterconnectAttachmentConfigurationConstraints
fn default() -> InterconnectAttachmentConfigurationConstraints
Source§impl<'de> Deserialize<'de> for InterconnectAttachmentConfigurationConstraints
impl<'de> Deserialize<'de> for InterconnectAttachmentConfigurationConstraints
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 InterconnectAttachmentConfigurationConstraints
Auto Trait Implementations§
impl Freeze for InterconnectAttachmentConfigurationConstraints
impl RefUnwindSafe for InterconnectAttachmentConfigurationConstraints
impl Send for InterconnectAttachmentConfigurationConstraints
impl Sync for InterconnectAttachmentConfigurationConstraints
impl Unpin for InterconnectAttachmentConfigurationConstraints
impl UnwindSafe for InterconnectAttachmentConfigurationConstraints
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