pub struct GlobalAddressArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> GlobalAddressArgsBuilder<S>
impl<S: State> GlobalAddressArgsBuilder<S>
sourcepub fn build_struct(self) -> GlobalAddressArgswhere
S: IsComplete,
pub fn build_struct(self) -> GlobalAddressArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn address(
self,
value: impl Into<Output<Option<String>>>,
) -> GlobalAddressArgsBuilder<SetAddress<S>>where
S::Address: IsUnset,
pub fn address(
self,
value: impl Into<Output<Option<String>>>,
) -> GlobalAddressArgsBuilder<SetAddress<S>>where
S::Address: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The IP address or beginning of the address range represented by this resource. This can be supplied as an input to reserve a specific address or omitted to allow GCP to choose a valid one for you.
sourcepub fn maybe_address(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GlobalAddressArgsBuilder<SetAddress<S>>where
S::Address: IsUnset,
pub fn maybe_address(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GlobalAddressArgsBuilder<SetAddress<S>>where
S::Address: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The IP address or beginning of the address range represented by this resource. This can be supplied as an input to reserve a specific address or omitted to allow GCP to choose a valid one for you.
sourcepub fn address_type(
self,
value: impl Into<Output<Option<String>>>,
) -> GlobalAddressArgsBuilder<SetAddressType<S>>where
S::AddressType: IsUnset,
pub fn address_type(
self,
value: impl Into<Output<Option<String>>>,
) -> GlobalAddressArgsBuilder<SetAddressType<S>>where
S::AddressType: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The type of the address to reserve.
- EXTERNAL indicates public/external single IP address.
- INTERNAL indicates internal IP ranges belonging to some network.
Default value is
EXTERNAL
. Possible values are:EXTERNAL
,INTERNAL
.
sourcepub fn maybe_address_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GlobalAddressArgsBuilder<SetAddressType<S>>where
S::AddressType: IsUnset,
pub fn maybe_address_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GlobalAddressArgsBuilder<SetAddressType<S>>where
S::AddressType: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The type of the address to reserve.
- EXTERNAL indicates public/external single IP address.
- INTERNAL indicates internal IP ranges belonging to some network.
Default value is
EXTERNAL
. Possible values are:EXTERNAL
,INTERNAL
.
sourcepub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> GlobalAddressArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> GlobalAddressArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GlobalAddressArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GlobalAddressArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn ip_version(
self,
value: impl Into<Output<Option<String>>>,
) -> GlobalAddressArgsBuilder<SetIpVersion<S>>where
S::IpVersion: IsUnset,
pub fn ip_version(
self,
value: impl Into<Output<Option<String>>>,
) -> GlobalAddressArgsBuilder<SetIpVersion<S>>where
S::IpVersion: IsUnset,
sourcepub fn maybe_ip_version(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GlobalAddressArgsBuilder<SetIpVersion<S>>where
S::IpVersion: IsUnset,
pub fn maybe_ip_version(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GlobalAddressArgsBuilder<SetIpVersion<S>>where
S::IpVersion: IsUnset,
sourcepub fn labels(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> GlobalAddressArgsBuilder<SetLabels<S>>where
S::Labels: IsUnset,
pub fn labels(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> GlobalAddressArgsBuilder<SetLabels<S>>where
S::Labels: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
Labels to apply to this address. A list of key->value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labels
for all of the labels present on the resource.
sourcepub fn maybe_labels(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> GlobalAddressArgsBuilder<SetLabels<S>>where
S::Labels: IsUnset,
pub fn maybe_labels(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> GlobalAddressArgsBuilder<SetLabels<S>>where
S::Labels: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
Labels to apply to this address. A list of key->value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labels
for all of the labels present on the resource.
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> GlobalAddressArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> GlobalAddressArgsBuilder<SetName<S>>where
S::Name: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Name of the resource. Provided by the client when the resource is
created. The name must be 1-63 characters long, and comply with
RFC1035. Specifically, the name must be 1-63 characters long and
match the regular expression a-z?
which means
the first character must be a lowercase letter, and all following
characters must be a dash, lowercase letter, or digit, except the last
character, which cannot be a dash.
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GlobalAddressArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GlobalAddressArgsBuilder<SetName<S>>where
S::Name: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Name of the resource. Provided by the client when the resource is
created. The name must be 1-63 characters long, and comply with
RFC1035. Specifically, the name must be 1-63 characters long and
match the regular expression a-z?
which means
the first character must be a lowercase letter, and all following
characters must be a dash, lowercase letter, or digit, except the last
character, which cannot be a dash.
sourcepub fn network(
self,
value: impl Into<Output<Option<String>>>,
) -> GlobalAddressArgsBuilder<SetNetwork<S>>where
S::Network: IsUnset,
pub fn network(
self,
value: impl Into<Output<Option<String>>>,
) -> GlobalAddressArgsBuilder<SetNetwork<S>>where
S::Network: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The URL of the network in which to reserve the IP range. The IP range must be in RFC1918 space. The network cannot be deleted if there are any reserved IP ranges referring to it. This should only be set when using an Internal address.
sourcepub fn maybe_network(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GlobalAddressArgsBuilder<SetNetwork<S>>where
S::Network: IsUnset,
pub fn maybe_network(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GlobalAddressArgsBuilder<SetNetwork<S>>where
S::Network: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The URL of the network in which to reserve the IP range. The IP range must be in RFC1918 space. The network cannot be deleted if there are any reserved IP ranges referring to it. This should only be set when using an Internal address.
sourcepub fn prefix_length(
self,
value: impl Into<Output<Option<i32>>>,
) -> GlobalAddressArgsBuilder<SetPrefixLength<S>>where
S::PrefixLength: IsUnset,
pub fn prefix_length(
self,
value: impl Into<Output<Option<i32>>>,
) -> GlobalAddressArgsBuilder<SetPrefixLength<S>>where
S::PrefixLength: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
The prefix length of the IP range. If not present, it means the address field is a single IP address. This field is not applicable to addresses with addressType=INTERNAL when purpose=PRIVATE_SERVICE_CONNECT
sourcepub fn maybe_prefix_length(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> GlobalAddressArgsBuilder<SetPrefixLength<S>>where
S::PrefixLength: IsUnset,
pub fn maybe_prefix_length(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> GlobalAddressArgsBuilder<SetPrefixLength<S>>where
S::PrefixLength: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
The prefix length of the IP range. If not present, it means the address field is a single IP address. This field is not applicable to addresses with addressType=INTERNAL when purpose=PRIVATE_SERVICE_CONNECT