Class NetworkEndpointGroup
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 internet NEGs or Setting up zonal NEGs. (== resource_for {$api_version}.networkEndpointGroups ==) (== resource_for {$api_version}.globalNetworkEndpointGroups ==)
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Compute.v1.Data
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class NetworkEndpointGroup : IDirectResponseSchema
Properties
CreationTimestamp
[Output Only] Creation timestamp in RFC3339 text format.
Declaration
[JsonProperty("creationTimestamp")]
public virtual string CreationTimestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
DefaultPort
The default port used if the port number is not specified in the network endpoint.
Declaration
[JsonProperty("defaultPort")]
public virtual int? DefaultPort { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Description
An optional description of this resource. Provide this property when you create the resource.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Id
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
Declaration
[JsonProperty("id")]
public virtual ulong? Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.UInt64> |
Kind
[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Name
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.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Network
The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified.
Declaration
[JsonProperty("network")]
public virtual string Network { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
NetworkEndpointType
Type of network endpoints in this network endpoint group.
Declaration
[JsonProperty("networkEndpointType")]
public virtual string NetworkEndpointType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
SelfLink
[Output Only] Server-defined URL for the resource.
Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Size
[Output only] Number of network endpoints in the network endpoint group.
Declaration
[JsonProperty("size")]
public virtual int? Size { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Subnetwork
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
Declaration
[JsonProperty("subnetwork")]
public virtual string Subnetwork { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Zone
[Output Only] The URL of the zone where the network endpoint group is located.
Declaration
[JsonProperty("zone")]
public virtual string Zone { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |