pub struct NetworkEndpointGroupArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> NetworkEndpointGroupArgsBuilder<S>
impl<S: State> NetworkEndpointGroupArgsBuilder<S>
sourcepub fn build_struct(self) -> NetworkEndpointGroupArgswhere
S: IsComplete,
pub fn build_struct(self) -> NetworkEndpointGroupArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn default_port(
self,
value: impl Into<Output<Option<i32>>>,
) -> NetworkEndpointGroupArgsBuilder<SetDefaultPort<S>>where
S::DefaultPort: IsUnset,
pub fn default_port(
self,
value: impl Into<Output<Option<i32>>>,
) -> NetworkEndpointGroupArgsBuilder<SetDefaultPort<S>>where
S::DefaultPort: IsUnset,
sourcepub fn maybe_default_port(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> NetworkEndpointGroupArgsBuilder<SetDefaultPort<S>>where
S::DefaultPort: IsUnset,
pub fn maybe_default_port(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> NetworkEndpointGroupArgsBuilder<SetDefaultPort<S>>where
S::DefaultPort: IsUnset,
sourcepub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> NetworkEndpointGroupArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> NetworkEndpointGroupArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NetworkEndpointGroupArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NetworkEndpointGroupArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> NetworkEndpointGroupArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> NetworkEndpointGroupArgsBuilder<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>>>>,
) -> NetworkEndpointGroupArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NetworkEndpointGroupArgsBuilder<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<String>>,
) -> NetworkEndpointGroupArgsBuilder<SetNetwork<S>>where
S::Network: IsUnset,
pub fn network(
self,
value: impl Into<Output<String>>,
) -> NetworkEndpointGroupArgsBuilder<SetNetwork<S>>where
S::Network: IsUnset,
Required.
The network to which all network endpoints in the NEG belong. Uses “default” project network if unspecified.
sourcepub fn network_endpoint_type(
self,
value: impl Into<Output<Option<String>>>,
) -> NetworkEndpointGroupArgsBuilder<SetNetworkEndpointType<S>>where
S::NetworkEndpointType: IsUnset,
pub fn network_endpoint_type(
self,
value: impl Into<Output<Option<String>>>,
) -> NetworkEndpointGroupArgsBuilder<SetNetworkEndpointType<S>>where
S::NetworkEndpointType: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Type of network endpoints in this network endpoint group.
NON_GCP_PRIVATE_IP_PORT is used for hybrid connectivity network
endpoint groups (see https://cloud.google.com/load-balancing/docs/hybrid).
Note that NON_GCP_PRIVATE_IP_PORT can only be used with Backend Services
that 1) have the following load balancing schemes: EXTERNAL, EXTERNAL_MANAGED,
INTERNAL_MANAGED, and INTERNAL_SELF_MANAGED and 2) support the RATE or
CONNECTION balancing modes.
Possible values include: GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_IP_PORT, INTERNET_FQDN_PORT, SERVERLESS, and PRIVATE_SERVICE_CONNECT.
Default value is GCE_VM_IP_PORT
.
Possible values are: GCE_VM_IP
, GCE_VM_IP_PORT
, NON_GCP_PRIVATE_IP_PORT
, INTERNET_IP_PORT
, INTERNET_FQDN_PORT
, SERVERLESS
, PRIVATE_SERVICE_CONNECT
.
sourcepub fn maybe_network_endpoint_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NetworkEndpointGroupArgsBuilder<SetNetworkEndpointType<S>>where
S::NetworkEndpointType: IsUnset,
pub fn maybe_network_endpoint_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NetworkEndpointGroupArgsBuilder<SetNetworkEndpointType<S>>where
S::NetworkEndpointType: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Type of network endpoints in this network endpoint group.
NON_GCP_PRIVATE_IP_PORT is used for hybrid connectivity network
endpoint groups (see https://cloud.google.com/load-balancing/docs/hybrid).
Note that NON_GCP_PRIVATE_IP_PORT can only be used with Backend Services
that 1) have the following load balancing schemes: EXTERNAL, EXTERNAL_MANAGED,
INTERNAL_MANAGED, and INTERNAL_SELF_MANAGED and 2) support the RATE or
CONNECTION balancing modes.
Possible values include: GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_IP_PORT, INTERNET_FQDN_PORT, SERVERLESS, and PRIVATE_SERVICE_CONNECT.
Default value is GCE_VM_IP_PORT
.
Possible values are: GCE_VM_IP
, GCE_VM_IP_PORT
, NON_GCP_PRIVATE_IP_PORT
, INTERNET_IP_PORT
, INTERNET_FQDN_PORT
, SERVERLESS
, PRIVATE_SERVICE_CONNECT
.