pub struct RouterNatArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> RouterNatArgsBuilder<S>
impl<S: State> RouterNatArgsBuilder<S>
sourcepub fn build_struct(self) -> RouterNatArgswhere
S: IsComplete,
pub fn build_struct(self) -> RouterNatArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn auto_network_tier(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterNatArgsBuilder<SetAutoNetworkTier<S>>where
S::AutoNetworkTier: IsUnset,
pub fn auto_network_tier(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterNatArgsBuilder<SetAutoNetworkTier<S>>where
S::AutoNetworkTier: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The network tier to use when automatically reserving NAT IP addresses.
Must be one of: PREMIUM, STANDARD. If not specified, then the current
project-level default tier is used.
Possible values are: PREMIUM
, STANDARD
.
sourcepub fn maybe_auto_network_tier(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterNatArgsBuilder<SetAutoNetworkTier<S>>where
S::AutoNetworkTier: IsUnset,
pub fn maybe_auto_network_tier(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterNatArgsBuilder<SetAutoNetworkTier<S>>where
S::AutoNetworkTier: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The network tier to use when automatically reserving NAT IP addresses.
Must be one of: PREMIUM, STANDARD. If not specified, then the current
project-level default tier is used.
Possible values are: PREMIUM
, STANDARD
.
sourcepub fn drain_nat_ips(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> RouterNatArgsBuilder<SetDrainNatIps<S>>where
S::DrainNatIps: IsUnset,
pub fn drain_nat_ips(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> RouterNatArgsBuilder<SetDrainNatIps<S>>where
S::DrainNatIps: IsUnset,
sourcepub fn maybe_drain_nat_ips(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> RouterNatArgsBuilder<SetDrainNatIps<S>>where
S::DrainNatIps: IsUnset,
pub fn maybe_drain_nat_ips(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> RouterNatArgsBuilder<SetDrainNatIps<S>>where
S::DrainNatIps: IsUnset,
sourcepub fn enable_dynamic_port_allocation(
self,
value: impl Into<Output<Option<bool>>>,
) -> RouterNatArgsBuilder<SetEnableDynamicPortAllocation<S>>where
S::EnableDynamicPortAllocation: IsUnset,
pub fn enable_dynamic_port_allocation(
self,
value: impl Into<Output<Option<bool>>>,
) -> RouterNatArgsBuilder<SetEnableDynamicPortAllocation<S>>where
S::EnableDynamicPortAllocation: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Enable Dynamic Port Allocation. If minPortsPerVm is set, minPortsPerVm must be set to a power of two greater than or equal to 32. If minPortsPerVm is not set, a minimum of 32 ports will be allocated to a VM from this NAT config. If maxPortsPerVm is set, maxPortsPerVm must be set to a power of two greater than minPortsPerVm. If maxPortsPerVm is not set, a maximum of 65536 ports will be allocated to a VM from this NAT config. Mutually exclusive with enableEndpointIndependentMapping.
sourcepub fn maybe_enable_dynamic_port_allocation(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> RouterNatArgsBuilder<SetEnableDynamicPortAllocation<S>>where
S::EnableDynamicPortAllocation: IsUnset,
pub fn maybe_enable_dynamic_port_allocation(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> RouterNatArgsBuilder<SetEnableDynamicPortAllocation<S>>where
S::EnableDynamicPortAllocation: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Enable Dynamic Port Allocation. If minPortsPerVm is set, minPortsPerVm must be set to a power of two greater than or equal to 32. If minPortsPerVm is not set, a minimum of 32 ports will be allocated to a VM from this NAT config. If maxPortsPerVm is set, maxPortsPerVm must be set to a power of two greater than minPortsPerVm. If maxPortsPerVm is not set, a maximum of 65536 ports will be allocated to a VM from this NAT config. Mutually exclusive with enableEndpointIndependentMapping.
sourcepub fn enable_endpoint_independent_mapping(
self,
value: impl Into<Output<Option<bool>>>,
) -> RouterNatArgsBuilder<SetEnableEndpointIndependentMapping<S>>where
S::EnableEndpointIndependentMapping: IsUnset,
pub fn enable_endpoint_independent_mapping(
self,
value: impl Into<Output<Option<bool>>>,
) -> RouterNatArgsBuilder<SetEnableEndpointIndependentMapping<S>>where
S::EnableEndpointIndependentMapping: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Enable endpoint independent mapping. For more information see the official documentation.
sourcepub fn maybe_enable_endpoint_independent_mapping(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> RouterNatArgsBuilder<SetEnableEndpointIndependentMapping<S>>where
S::EnableEndpointIndependentMapping: IsUnset,
pub fn maybe_enable_endpoint_independent_mapping(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> RouterNatArgsBuilder<SetEnableEndpointIndependentMapping<S>>where
S::EnableEndpointIndependentMapping: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Enable endpoint independent mapping. For more information see the official documentation.
sourcepub fn endpoint_types(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> RouterNatArgsBuilder<SetEndpointTypes<S>>where
S::EndpointTypes: IsUnset,
pub fn endpoint_types(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> RouterNatArgsBuilder<SetEndpointTypes<S>>where
S::EndpointTypes: IsUnset,
sourcepub fn maybe_endpoint_types(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> RouterNatArgsBuilder<SetEndpointTypes<S>>where
S::EndpointTypes: IsUnset,
pub fn maybe_endpoint_types(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> RouterNatArgsBuilder<SetEndpointTypes<S>>where
S::EndpointTypes: IsUnset,
sourcepub fn icmp_idle_timeout_sec(
self,
value: impl Into<Output<Option<i32>>>,
) -> RouterNatArgsBuilder<SetIcmpIdleTimeoutSec<S>>where
S::IcmpIdleTimeoutSec: IsUnset,
pub fn icmp_idle_timeout_sec(
self,
value: impl Into<Output<Option<i32>>>,
) -> RouterNatArgsBuilder<SetIcmpIdleTimeoutSec<S>>where
S::IcmpIdleTimeoutSec: IsUnset,
sourcepub fn maybe_icmp_idle_timeout_sec(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> RouterNatArgsBuilder<SetIcmpIdleTimeoutSec<S>>where
S::IcmpIdleTimeoutSec: IsUnset,
pub fn maybe_icmp_idle_timeout_sec(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> RouterNatArgsBuilder<SetIcmpIdleTimeoutSec<S>>where
S::IcmpIdleTimeoutSec: IsUnset,
sourcepub fn initial_nat_ips(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> RouterNatArgsBuilder<SetInitialNatIps<S>>where
S::InitialNatIps: IsUnset,
pub fn initial_nat_ips(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> RouterNatArgsBuilder<SetInitialNatIps<S>>where
S::InitialNatIps: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default()
.
Self-links of NAT IPs to be used as initial value for creation alongside a RouterNatAddress resource. Conflicts with natIps and drainNatIps. Only valid if natIpAllocateOption is set to MANUAL_ONLY.
sourcepub fn maybe_initial_nat_ips(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> RouterNatArgsBuilder<SetInitialNatIps<S>>where
S::InitialNatIps: IsUnset,
pub fn maybe_initial_nat_ips(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> RouterNatArgsBuilder<SetInitialNatIps<S>>where
S::InitialNatIps: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default()
.
Self-links of NAT IPs to be used as initial value for creation alongside a RouterNatAddress resource. Conflicts with natIps and drainNatIps. Only valid if natIpAllocateOption is set to MANUAL_ONLY.
sourcepub fn log_config(
self,
value: impl Into<Output<Option<RouterNatLogConfig>>>,
) -> RouterNatArgsBuilder<SetLogConfig<S>>where
S::LogConfig: IsUnset,
pub fn log_config(
self,
value: impl Into<Output<Option<RouterNatLogConfig>>>,
) -> RouterNatArgsBuilder<SetLogConfig<S>>where
S::LogConfig: IsUnset,
sourcepub fn maybe_log_config(
self,
value: Option<impl Into<Output<Option<RouterNatLogConfig>>>>,
) -> RouterNatArgsBuilder<SetLogConfig<S>>where
S::LogConfig: IsUnset,
pub fn maybe_log_config(
self,
value: Option<impl Into<Output<Option<RouterNatLogConfig>>>>,
) -> RouterNatArgsBuilder<SetLogConfig<S>>where
S::LogConfig: IsUnset,
sourcepub fn max_ports_per_vm(
self,
value: impl Into<Output<Option<i32>>>,
) -> RouterNatArgsBuilder<SetMaxPortsPerVm<S>>where
S::MaxPortsPerVm: IsUnset,
pub fn max_ports_per_vm(
self,
value: impl Into<Output<Option<i32>>>,
) -> RouterNatArgsBuilder<SetMaxPortsPerVm<S>>where
S::MaxPortsPerVm: IsUnset,
sourcepub fn maybe_max_ports_per_vm(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> RouterNatArgsBuilder<SetMaxPortsPerVm<S>>where
S::MaxPortsPerVm: IsUnset,
pub fn maybe_max_ports_per_vm(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> RouterNatArgsBuilder<SetMaxPortsPerVm<S>>where
S::MaxPortsPerVm: IsUnset,
sourcepub fn min_ports_per_vm(
self,
value: impl Into<Output<Option<i32>>>,
) -> RouterNatArgsBuilder<SetMinPortsPerVm<S>>where
S::MinPortsPerVm: IsUnset,
pub fn min_ports_per_vm(
self,
value: impl Into<Output<Option<i32>>>,
) -> RouterNatArgsBuilder<SetMinPortsPerVm<S>>where
S::MinPortsPerVm: IsUnset,
sourcepub fn maybe_min_ports_per_vm(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> RouterNatArgsBuilder<SetMinPortsPerVm<S>>where
S::MinPortsPerVm: IsUnset,
pub fn maybe_min_ports_per_vm(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> RouterNatArgsBuilder<SetMinPortsPerVm<S>>where
S::MinPortsPerVm: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterNatArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterNatArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterNatArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterNatArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn nat_ip_allocate_option(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterNatArgsBuilder<SetNatIpAllocateOption<S>>where
S::NatIpAllocateOption: IsUnset,
pub fn nat_ip_allocate_option(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterNatArgsBuilder<SetNatIpAllocateOption<S>>where
S::NatIpAllocateOption: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
How external IPs should be allocated for this NAT. Valid values are
AUTO_ONLY
for only allowing NAT IPs allocated by Google Cloud
Platform, or MANUAL_ONLY
for only user-allocated NAT IP addresses.
Possible values are: MANUAL_ONLY
, AUTO_ONLY
.
sourcepub fn maybe_nat_ip_allocate_option(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterNatArgsBuilder<SetNatIpAllocateOption<S>>where
S::NatIpAllocateOption: IsUnset,
pub fn maybe_nat_ip_allocate_option(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterNatArgsBuilder<SetNatIpAllocateOption<S>>where
S::NatIpAllocateOption: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
How external IPs should be allocated for this NAT. Valid values are
AUTO_ONLY
for only allowing NAT IPs allocated by Google Cloud
Platform, or MANUAL_ONLY
for only user-allocated NAT IP addresses.
Possible values are: MANUAL_ONLY
, AUTO_ONLY
.
sourcepub fn nat_ips(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> RouterNatArgsBuilder<SetNatIps<S>>where
S::NatIps: IsUnset,
pub fn nat_ips(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> RouterNatArgsBuilder<SetNatIps<S>>where
S::NatIps: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default()
.
Self-links of NAT IPs. Only valid if natIpAllocateOption
is set to MANUAL_ONLY.
If this field is used alongside with a count created list of address resources google_compute_address.foobar.*.self_link
,
the access level resource for the address resource must have a lifecycle
block with create_before_destroy = true
so
the number of resources can be increased/decreased without triggering the resourceInUseByAnotherResource
error.
sourcepub fn maybe_nat_ips(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> RouterNatArgsBuilder<SetNatIps<S>>where
S::NatIps: IsUnset,
pub fn maybe_nat_ips(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> RouterNatArgsBuilder<SetNatIps<S>>where
S::NatIps: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default()
.
Self-links of NAT IPs. Only valid if natIpAllocateOption
is set to MANUAL_ONLY.
If this field is used alongside with a count created list of address resources google_compute_address.foobar.*.self_link
,
the access level resource for the address resource must have a lifecycle
block with create_before_destroy = true
so
the number of resources can be increased/decreased without triggering the resourceInUseByAnotherResource
error.
sourcepub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterNatArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterNatArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterNatArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterNatArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn region(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterNatArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
pub fn region(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterNatArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
sourcepub fn maybe_region(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterNatArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
pub fn maybe_region(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterNatArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
sourcepub fn router(
self,
value: impl Into<Output<String>>,
) -> RouterNatArgsBuilder<SetRouter<S>>where
S::Router: IsUnset,
pub fn router(
self,
value: impl Into<Output<String>>,
) -> RouterNatArgsBuilder<SetRouter<S>>where
S::Router: IsUnset,
Required.
The name of the Cloud Router in which this NAT will be configured.
sourcepub fn rules(
self,
value: impl Into<Output<Option<Vec<RouterNatRule>>>>,
) -> RouterNatArgsBuilder<SetRules<S>>where
S::Rules: IsUnset,
pub fn rules(
self,
value: impl Into<Output<Option<Vec<RouterNatRule>>>>,
) -> RouterNatArgsBuilder<SetRules<S>>where
S::Rules: IsUnset,
sourcepub fn maybe_rules(
self,
value: Option<impl Into<Output<Option<Vec<RouterNatRule>>>>>,
) -> RouterNatArgsBuilder<SetRules<S>>where
S::Rules: IsUnset,
pub fn maybe_rules(
self,
value: Option<impl Into<Output<Option<Vec<RouterNatRule>>>>>,
) -> RouterNatArgsBuilder<SetRules<S>>where
S::Rules: IsUnset,
sourcepub fn source_subnetwork_ip_ranges_to_nat(
self,
value: impl Into<Output<String>>,
) -> RouterNatArgsBuilder<SetSourceSubnetworkIpRangesToNat<S>>where
S::SourceSubnetworkIpRangesToNat: IsUnset,
pub fn source_subnetwork_ip_ranges_to_nat(
self,
value: impl Into<Output<String>>,
) -> RouterNatArgsBuilder<SetSourceSubnetworkIpRangesToNat<S>>where
S::SourceSubnetworkIpRangesToNat: IsUnset,
Required.
How NAT should be configured per Subnetwork.
If ALL_SUBNETWORKS_ALL_IP_RANGES
, all of the
IP ranges in every Subnetwork are allowed to Nat.
If ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES
, all of the primary IP
ranges in every Subnetwork are allowed to Nat.
LIST_OF_SUBNETWORKS
: A list of Subnetworks are allowed to Nat
(specified in the field subnetwork below). Note that if this field
contains ALL_SUBNETWORKS_ALL_IP_RANGES or
ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any
other RouterNat section in any Router for this network in this region.
Possible values are: ALL_SUBNETWORKS_ALL_IP_RANGES
, ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES
, LIST_OF_SUBNETWORKS
.
sourcepub fn subnetworks(
self,
value: impl Into<Output<Option<Vec<RouterNatSubnetwork>>>>,
) -> RouterNatArgsBuilder<SetSubnetworks<S>>where
S::Subnetworks: IsUnset,
pub fn subnetworks(
self,
value: impl Into<Output<Option<Vec<RouterNatSubnetwork>>>>,
) -> RouterNatArgsBuilder<SetSubnetworks<S>>where
S::Subnetworks: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::compute::RouterNatSubnetwork>>,
> as Default>::default()
One or more subnetwork NAT configurations. Only used if
source_subnetwork_ip_ranges_to_nat
is set to LIST_OF_SUBNETWORKS
Structure is documented below.
sourcepub fn maybe_subnetworks(
self,
value: Option<impl Into<Output<Option<Vec<RouterNatSubnetwork>>>>>,
) -> RouterNatArgsBuilder<SetSubnetworks<S>>where
S::Subnetworks: IsUnset,
pub fn maybe_subnetworks(
self,
value: Option<impl Into<Output<Option<Vec<RouterNatSubnetwork>>>>>,
) -> RouterNatArgsBuilder<SetSubnetworks<S>>where
S::Subnetworks: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::compute::RouterNatSubnetwork>>,
> as Default>::default()
One or more subnetwork NAT configurations. Only used if
source_subnetwork_ip_ranges_to_nat
is set to LIST_OF_SUBNETWORKS
Structure is documented below.
sourcepub fn tcp_established_idle_timeout_sec(
self,
value: impl Into<Output<Option<i32>>>,
) -> RouterNatArgsBuilder<SetTcpEstablishedIdleTimeoutSec<S>>where
S::TcpEstablishedIdleTimeoutSec: IsUnset,
pub fn tcp_established_idle_timeout_sec(
self,
value: impl Into<Output<Option<i32>>>,
) -> RouterNatArgsBuilder<SetTcpEstablishedIdleTimeoutSec<S>>where
S::TcpEstablishedIdleTimeoutSec: IsUnset,
sourcepub fn maybe_tcp_established_idle_timeout_sec(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> RouterNatArgsBuilder<SetTcpEstablishedIdleTimeoutSec<S>>where
S::TcpEstablishedIdleTimeoutSec: IsUnset,
pub fn maybe_tcp_established_idle_timeout_sec(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> RouterNatArgsBuilder<SetTcpEstablishedIdleTimeoutSec<S>>where
S::TcpEstablishedIdleTimeoutSec: IsUnset,
sourcepub fn tcp_time_wait_timeout_sec(
self,
value: impl Into<Output<Option<i32>>>,
) -> RouterNatArgsBuilder<SetTcpTimeWaitTimeoutSec<S>>where
S::TcpTimeWaitTimeoutSec: IsUnset,
pub fn tcp_time_wait_timeout_sec(
self,
value: impl Into<Output<Option<i32>>>,
) -> RouterNatArgsBuilder<SetTcpTimeWaitTimeoutSec<S>>where
S::TcpTimeWaitTimeoutSec: IsUnset,
sourcepub fn maybe_tcp_time_wait_timeout_sec(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> RouterNatArgsBuilder<SetTcpTimeWaitTimeoutSec<S>>where
S::TcpTimeWaitTimeoutSec: IsUnset,
pub fn maybe_tcp_time_wait_timeout_sec(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> RouterNatArgsBuilder<SetTcpTimeWaitTimeoutSec<S>>where
S::TcpTimeWaitTimeoutSec: IsUnset,
sourcepub fn tcp_transitory_idle_timeout_sec(
self,
value: impl Into<Output<Option<i32>>>,
) -> RouterNatArgsBuilder<SetTcpTransitoryIdleTimeoutSec<S>>where
S::TcpTransitoryIdleTimeoutSec: IsUnset,
pub fn tcp_transitory_idle_timeout_sec(
self,
value: impl Into<Output<Option<i32>>>,
) -> RouterNatArgsBuilder<SetTcpTransitoryIdleTimeoutSec<S>>where
S::TcpTransitoryIdleTimeoutSec: IsUnset,
sourcepub fn maybe_tcp_transitory_idle_timeout_sec(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> RouterNatArgsBuilder<SetTcpTransitoryIdleTimeoutSec<S>>where
S::TcpTransitoryIdleTimeoutSec: IsUnset,
pub fn maybe_tcp_transitory_idle_timeout_sec(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> RouterNatArgsBuilder<SetTcpTransitoryIdleTimeoutSec<S>>where
S::TcpTransitoryIdleTimeoutSec: IsUnset,
sourcepub fn type_(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterNatArgsBuilder<SetType<S>>where
S::Type: IsUnset,
pub fn type_(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterNatArgsBuilder<SetType<S>>where
S::Type: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Indicates whether this NAT is used for public or private IP translation.
If unspecified, it defaults to PUBLIC.
If PUBLIC
NAT used for public IP translation.
If PRIVATE
NAT used for private IP translation.
Default value is PUBLIC
.
Possible values are: PUBLIC
, PRIVATE
.
sourcepub fn maybe_type_(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterNatArgsBuilder<SetType<S>>where
S::Type: IsUnset,
pub fn maybe_type_(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterNatArgsBuilder<SetType<S>>where
S::Type: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Indicates whether this NAT is used for public or private IP translation.
If unspecified, it defaults to PUBLIC.
If PUBLIC
NAT used for public IP translation.
If PRIVATE
NAT used for private IP translation.
Default value is PUBLIC
.
Possible values are: PUBLIC
, PRIVATE
.