Enum googapis::google::cloud::compute::v1::router_nat::NatIpAllocateOption [−][src]
#[repr(i32)]
pub enum NatIpAllocateOption {
UndefinedNatIpAllocateOption,
AutoOnly,
ManualOnly,
}
Expand description
Specify the NatIpAllocateOption, which can take one of the following values: - MANUAL_ONLY: Uses only Nat IP addresses provided by customers. When there are not enough specified Nat IPs, the Nat service fails for new VMs. - AUTO_ONLY: Nat IPs are allocated by Google Cloud Platform; customers can’t specify any Nat IPs. When choosing AUTO_ONLY, then nat_ip should be empty.
Variants
A value indicating that the enum field is not set.
Nat IPs are allocated by GCP; customers can not specify any Nat IPs.
Only use Nat IPs provided by customers. When specified Nat IPs are not enough then the Nat service fails for new VMs.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for NatIpAllocateOption
impl Send for NatIpAllocateOption
impl Sync for NatIpAllocateOption
impl Unpin for NatIpAllocateOption
impl UnwindSafe for NatIpAllocateOption
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more