pub struct ExternalVpnGatewayInterface {
pub id: Option<u32>,
pub ip_address: Option<String>,
pub ipv6_address: Option<String>,
}
Expand description
The interface for the external VPN gateway.
This type is not used in any activity, and only used as part of another schema.
Fields§
§id: Option<u32>
The numeric ID of this interface. The allowed input values for this id for different redundancy types of external VPN gateway: - SINGLE_IP_INTERNALLY_REDUNDANT - 0 - TWO_IPS_REDUNDANCY - 0, 1 - FOUR_IPS_REDUNDANCY - 0, 1, 2, 3
ip_address: Option<String>
IP address of the interface in the external VPN gateway. Only IPv4 is supported. This IP address can be either from your on-premise gateway or another Cloud provider’s VPN gateway, it cannot be an IP address from Google Compute Engine.
ipv6_address: Option<String>
IPv6 address of the interface in the external VPN gateway. This IPv6 address can be either from your on-premise gateway or another Cloud provider’s VPN gateway, it cannot be an IP address from Google Compute Engine. Must specify an IPv6 address (not IPV4-mapped) using any format described in RFC 4291 (e.g. 2001:db8:0:0:2d9:51:0:0). The output format is RFC 5952 format (e.g. 2001:db8::2d9:51:0:0).
Trait Implementations§
Source§impl Clone for ExternalVpnGatewayInterface
impl Clone for ExternalVpnGatewayInterface
Source§fn clone(&self) -> ExternalVpnGatewayInterface
fn clone(&self) -> ExternalVpnGatewayInterface
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ExternalVpnGatewayInterface
impl Debug for ExternalVpnGatewayInterface
Source§impl Default for ExternalVpnGatewayInterface
impl Default for ExternalVpnGatewayInterface
Source§fn default() -> ExternalVpnGatewayInterface
fn default() -> ExternalVpnGatewayInterface
Source§impl<'de> Deserialize<'de> for ExternalVpnGatewayInterface
impl<'de> Deserialize<'de> for ExternalVpnGatewayInterface
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 ExternalVpnGatewayInterface
Auto Trait Implementations§
impl Freeze for ExternalVpnGatewayInterface
impl RefUnwindSafe for ExternalVpnGatewayInterface
impl Send for ExternalVpnGatewayInterface
impl Sync for ExternalVpnGatewayInterface
impl Unpin for ExternalVpnGatewayInterface
impl UnwindSafe for ExternalVpnGatewayInterface
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