pub struct RouterNatRuleAction {
pub source_nat_active_ips: Option<Vec<String>>,
pub source_nat_active_ranges: Option<Vec<String>>,
pub source_nat_drain_ips: Option<Vec<String>>,
pub source_nat_drain_ranges: Option<Vec<String>>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§source_nat_active_ips: Option<Vec<String>>
A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT.
source_nat_active_ranges: Option<Vec<String>>
A list of URLs of the subnetworks used as source ranges for this NAT Rule. These subnetworks must have purpose set to PRIVATE_NAT. This field is used for private NAT.
source_nat_drain_ips: Option<Vec<String>>
A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT rule only. This field is used for public NAT.
source_nat_drain_ranges: Option<Vec<String>>
A list of URLs of subnetworks representing source ranges to be drained. This is only supported on patch/update, and these subnetworks must have previously been used as active ranges in this NAT Rule. This field is used for private NAT.
Trait Implementations§
Source§impl Clone for RouterNatRuleAction
impl Clone for RouterNatRuleAction
Source§fn clone(&self) -> RouterNatRuleAction
fn clone(&self) -> RouterNatRuleAction
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for RouterNatRuleAction
impl Debug for RouterNatRuleAction
Source§impl Default for RouterNatRuleAction
impl Default for RouterNatRuleAction
Source§fn default() -> RouterNatRuleAction
fn default() -> RouterNatRuleAction
Source§impl<'de> Deserialize<'de> for RouterNatRuleAction
impl<'de> Deserialize<'de> for RouterNatRuleAction
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>,
Source§impl Serialize for RouterNatRuleAction
impl Serialize for RouterNatRuleAction
impl Part for RouterNatRuleAction
Auto Trait Implementations§
impl Freeze for RouterNatRuleAction
impl RefUnwindSafe for RouterNatRuleAction
impl Send for RouterNatRuleAction
impl Sync for RouterNatRuleAction
impl Unpin for RouterNatRuleAction
impl UnwindSafe for RouterNatRuleAction
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