public sealed class NetworkEndpointGroup : IMessage<NetworkEndpointGroup>, IEquatable<NetworkEndpointGroup>, IDeepCloneable<NetworkEndpointGroup>, IBufferMessage, IMessage
Represents a collection of network endpoints. A network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs, see Setting up external HTTP(S) Load Balancing with internet NEGs, Setting up zonal NEGs, or Setting up external HTTP(S) Load Balancing with serverless NEGs.
Implements
IMessage<NetworkEndpointGroup>, IEquatable<NetworkEndpointGroup>, IDeepCloneable<NetworkEndpointGroup>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
NetworkEndpointGroup()
public NetworkEndpointGroup()
NetworkEndpointGroup(NetworkEndpointGroup)
public NetworkEndpointGroup(NetworkEndpointGroup other)
Parameter | |
---|---|
Name | Description |
other | NetworkEndpointGroup |
Properties
Annotations
public MapField<string, string> Annotations { get; }
Metadata defined as annotations on the network endpoint group.
Property Value | |
---|---|
Type | Description |
MapField<String, String> |
AppEngine
public NetworkEndpointGroupAppEngine AppEngine { get; set; }
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
Property Value | |
---|---|
Type | Description |
NetworkEndpointGroupAppEngine |
CloudFunction
public NetworkEndpointGroupCloudFunction CloudFunction { get; set; }
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
Property Value | |
---|---|
Type | Description |
NetworkEndpointGroupCloudFunction |
CloudRun
public NetworkEndpointGroupCloudRun CloudRun { get; set; }
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
Property Value | |
---|---|
Type | Description |
NetworkEndpointGroupCloudRun |
CreationTimestamp
public string CreationTimestamp { get; set; }
[Output Only] Creation timestamp in RFC3339 text format.
Property Value | |
---|---|
Type | Description |
String |
DefaultPort
public int DefaultPort { get; set; }
The default port used if the port number is not specified in the network endpoint.
Property Value | |
---|---|
Type | Description |
Int32 |
Description
public string Description { get; set; }
An optional description of this resource. Provide this property when you create the resource.
Property Value | |
---|---|
Type | Description |
String |
HasCreationTimestamp
public bool HasCreationTimestamp { get; }
Gets whether the "creation_timestamp" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasDefaultPort
public bool HasDefaultPort { get; }
Gets whether the "default_port" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasDescription
public bool HasDescription { get; }
Gets whether the "description" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasId
public bool HasId { get; }
Gets whether the "id" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasKind
public bool HasKind { get; }
Gets whether the "kind" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasName
public bool HasName { get; }
Gets whether the "name" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasNetwork
public bool HasNetwork { get; }
Gets whether the "network" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasNetworkEndpointType
public bool HasNetworkEndpointType { get; }
Gets whether the "network_endpoint_type" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasPscTargetService
public bool HasPscTargetService { get; }
Gets whether the "psc_target_service" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasRegion
public bool HasRegion { get; }
Gets whether the "region" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasSelfLink
public bool HasSelfLink { get; }
Gets whether the "self_link" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasSize
public bool HasSize { get; }
Gets whether the "size" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasSubnetwork
public bool HasSubnetwork { get; }
Gets whether the "subnetwork" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasZone
public bool HasZone { get; }
Gets whether the "zone" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
Id
public ulong Id { get; set; }
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
Property Value | |
---|---|
Type | Description |
UInt64 |
Kind
public string Kind { get; set; }
[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
Property Value | |
---|---|
Type | Description |
String |
Name
public string Name { get; set; }
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]([-a-z0-9]*[a-z0-9])?
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.
Property Value | |
---|---|
Type | Description |
String |
Network
public string Network { get; set; }
The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified.
Property Value | |
---|---|
Type | Description |
String |
NetworkEndpointType
public string NetworkEndpointType { get; set; }
Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. Check the NetworkEndpointType enum for the list of possible values.
Property Value | |
---|---|
Type | Description |
String |
PscTargetService
public string PscTargetService { get; set; }
The target service url used to set up private service connection to a Google API. An example value is: "asia-northeast3-cloudkms.googleapis.com"
Property Value | |
---|---|
Type | Description |
String |
Region
public string Region { get; set; }
[Output Only] The URL of the region where the network endpoint group is located.
Property Value | |
---|---|
Type | Description |
String |
SelfLink
public string SelfLink { get; set; }
[Output Only] Server-defined URL for the resource.
Property Value | |
---|---|
Type | Description |
String |
Size
public int Size { get; set; }
[Output only] Number of network endpoints in the network endpoint group.
Property Value | |
---|---|
Type | Description |
Int32 |
Subnetwork
public string Subnetwork { get; set; }
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
Property Value | |
---|---|
Type | Description |
String |
Zone
public string Zone { get; set; }
[Output Only] The URL of the zone where the network endpoint group is located.
Property Value | |
---|---|
Type | Description |
String |