pub struct NetworkEndpointGroupArgs {
pub default_port: Output<Option<i32>>,
pub description: Output<Option<String>>,
pub name: Output<Option<String>>,
pub network: Output<String>,
pub network_endpoint_type: Output<Option<String>>,
pub project: Output<Option<String>>,
pub subnetwork: Output<Option<String>>,
pub zone: Output<Option<String>>,
}
Fields§
§default_port: Output<Option<i32>>
The default port used if the port number is not specified in the network endpoint.
description: Output<Option<String>>
An optional description of this resource. Provide this property when you create the resource.
name: Output<Option<String>>
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.
network: Output<String>
The network to which all network endpoints in the NEG belong. Uses “default” project network if unspecified.
network_endpoint_type: Output<Option<String>>
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
.
project: Output<Option<String>>
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
subnetwork: Output<Option<String>>
Optional subnetwork to which all network endpoints in the NEG belong.
zone: Output<Option<String>>
Zone where the network endpoint group is located.
Implementations§
source§impl NetworkEndpointGroupArgs
impl NetworkEndpointGroupArgs
sourcepub fn builder() -> NetworkEndpointGroupArgsBuilder
pub fn builder() -> NetworkEndpointGroupArgsBuilder
Create an instance of NetworkEndpointGroupArgs
using the builder syntax
Trait Implementations§
source§impl Clone for NetworkEndpointGroupArgs
impl Clone for NetworkEndpointGroupArgs
source§fn clone(&self) -> NetworkEndpointGroupArgs
fn clone(&self) -> NetworkEndpointGroupArgs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for NetworkEndpointGroupArgs
impl RefUnwindSafe for NetworkEndpointGroupArgs
impl Send for NetworkEndpointGroupArgs
impl Sync for NetworkEndpointGroupArgs
impl Unpin for NetworkEndpointGroupArgs
impl UnwindSafe for NetworkEndpointGroupArgs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)