pub struct NetworkEndpointArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> NetworkEndpointArgsBuilder<S>
impl<S: State> NetworkEndpointArgsBuilder<S>
sourcepub fn build_struct(self) -> NetworkEndpointArgswhere
S: IsComplete,
pub fn build_struct(self) -> NetworkEndpointArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn instance(
self,
value: impl Into<Output<Option<String>>>,
) -> NetworkEndpointArgsBuilder<SetInstance<S>>where
S::Instance: IsUnset,
pub fn instance(
self,
value: impl Into<Output<Option<String>>>,
) -> NetworkEndpointArgsBuilder<SetInstance<S>>where
S::Instance: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The name for a specific VM instance that the IP address belongs to. This is required for network endpoints of type GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group.
sourcepub fn maybe_instance(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NetworkEndpointArgsBuilder<SetInstance<S>>where
S::Instance: IsUnset,
pub fn maybe_instance(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NetworkEndpointArgsBuilder<SetInstance<S>>where
S::Instance: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The name for a specific VM instance that the IP address belongs to. This is required for network endpoints of type GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group.
sourcepub fn ip_address(
self,
value: impl Into<Output<String>>,
) -> NetworkEndpointArgsBuilder<SetIpAddress<S>>where
S::IpAddress: IsUnset,
pub fn ip_address(
self,
value: impl Into<Output<String>>,
) -> NetworkEndpointArgsBuilder<SetIpAddress<S>>where
S::IpAddress: IsUnset,
Required.
IPv4 address of network endpoint. The IP address must belong to a VM in GCE (either the primary IP or as part of an aliased IP range).
sourcepub fn network_endpoint_group(
self,
value: impl Into<Output<String>>,
) -> NetworkEndpointArgsBuilder<SetNetworkEndpointGroup<S>>where
S::NetworkEndpointGroup: IsUnset,
pub fn network_endpoint_group(
self,
value: impl Into<Output<String>>,
) -> NetworkEndpointArgsBuilder<SetNetworkEndpointGroup<S>>where
S::NetworkEndpointGroup: IsUnset,
Required.
The network endpoint group this endpoint is part of.