pub struct VpnGatewayVpnGatewayInterface {
pub id: Option<u32>,
pub interconnect_attachment: Option<String>,
pub ip_address: Option<String>,
pub ipv6_address: Option<String>,
}
Expand description
A VPN gateway interface.
This type is not used in any activity, and only used as part of another schema.
Fields§
§id: Option<u32>
[Output Only] Numeric identifier for this VPN interface associated with the VPN gateway.
interconnect_attachment: Option<String>
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.
ip_address: Option<String>
[Output Only] IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.
ipv6_address: Option<String>
[Output Only] IPv6 address for this VPN interface associated with the VPN gateway. The IPv6 address must be a regional external IPv6 address. The format is RFC 5952 format (e.g. 2001:db8::2d9:51:0:0).
Trait Implementations§
Source§impl Clone for VpnGatewayVpnGatewayInterface
impl Clone for VpnGatewayVpnGatewayInterface
Source§fn clone(&self) -> VpnGatewayVpnGatewayInterface
fn clone(&self) -> VpnGatewayVpnGatewayInterface
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for VpnGatewayVpnGatewayInterface
impl Default for VpnGatewayVpnGatewayInterface
Source§fn default() -> VpnGatewayVpnGatewayInterface
fn default() -> VpnGatewayVpnGatewayInterface
Source§impl<'de> Deserialize<'de> for VpnGatewayVpnGatewayInterface
impl<'de> Deserialize<'de> for VpnGatewayVpnGatewayInterface
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 VpnGatewayVpnGatewayInterface
Auto Trait Implementations§
impl Freeze for VpnGatewayVpnGatewayInterface
impl RefUnwindSafe for VpnGatewayVpnGatewayInterface
impl Send for VpnGatewayVpnGatewayInterface
impl Sync for VpnGatewayVpnGatewayInterface
impl Unpin for VpnGatewayVpnGatewayInterface
impl UnwindSafe for VpnGatewayVpnGatewayInterface
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