GetNetworkEndpointGroup
Use this data source to access a Network Endpoint Group’s attributes.
The NEG may be found by providing either a self_link, or a name and a zone.
Using GetNetworkEndpointGroup
function getNetworkEndpointGroup(args: GetNetworkEndpointGroupArgs, opts?: InvokeOptions): Promise<GetNetworkEndpointGroupResult>function get_network_endpoint_group(name=None, self_link=None, zone=None, opts=None)func LookupNetworkEndpointGroup(ctx *Context, args *LookupNetworkEndpointGroupArgs, opts ...InvokeOption) (*LookupNetworkEndpointGroupResult, error)Note: This function is named
LookupNetworkEndpointGroupin the Go SDK.
public static class GetNetworkEndpointGroup {
public static Task<GetNetworkEndpointGroupResult> InvokeAsync(GetNetworkEndpointGroupArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
GetNetworkEndpointGroup Result
The following output properties are available:
- Default
Port int The NEG default port.
- Description string
The NEG description.
- Id string
The provider-assigned unique ID for this managed resource.
- Network string
The network to which all network endpoints in the NEG belong.
- Network
Endpoint stringType Type of network endpoints in this network endpoint group.
- Project string
- Size int
Number of network endpoints in the network endpoint group.
- Subnetwork string
subnetwork to which all network endpoints in the NEG belong.
- Name string
- Self
Link string - Zone string
- Default
Port int The NEG default port.
- Description string
The NEG description.
- Id string
The provider-assigned unique ID for this managed resource.
- Network string
The network to which all network endpoints in the NEG belong.
- Network
Endpoint stringType Type of network endpoints in this network endpoint group.
- Project string
- Size int
Number of network endpoints in the network endpoint group.
- Subnetwork string
subnetwork to which all network endpoints in the NEG belong.
- Name string
- Self
Link string - Zone string
- default
Port number The NEG default port.
- description string
The NEG description.
- id string
The provider-assigned unique ID for this managed resource.
- network string
The network to which all network endpoints in the NEG belong.
- network
Endpoint stringType Type of network endpoints in this network endpoint group.
- project string
- size number
Number of network endpoints in the network endpoint group.
- subnetwork string
subnetwork to which all network endpoints in the NEG belong.
- name string
- self
Link string - zone string
- default_
port float The NEG default port.
- description str
The NEG description.
- id str
The provider-assigned unique ID for this managed resource.
- network str
The network to which all network endpoints in the NEG belong.
- network_
endpoint_ strtype Type of network endpoints in this network endpoint group.
- project str
- size float
Number of network endpoints in the network endpoint group.
- subnetwork str
subnetwork to which all network endpoints in the NEG belong.
- name str
- self_
link str - zone str
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.