Class NetworkEndpoint (2.1.0)

public sealed class NetworkEndpoint : IMessage<NetworkEndpoint>, IEquatable<NetworkEndpoint>, IDeepCloneable<NetworkEndpoint>, IBufferMessage, IMessage

The network endpoint.

Inheritance

Object > NetworkEndpoint

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

NetworkEndpoint()

public NetworkEndpoint()

NetworkEndpoint(NetworkEndpoint)

public NetworkEndpoint(NetworkEndpoint other)
Parameter
NameDescription
otherNetworkEndpoint

Properties

Annotations

public MapField<string, string> Annotations { get; }

Metadata defined as annotations on the network endpoint.

Property Value
TypeDescription
MapField<String, String>

Fqdn

public string Fqdn { get; set; }

Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.

Property Value
TypeDescription
String

HasFqdn

public bool HasFqdn { get; }

Gets whether the "fqdn" field is set

Property Value
TypeDescription
Boolean

HasInstance

public bool HasInstance { get; }

Gets whether the "instance" field is set

Property Value
TypeDescription
Boolean

HasIpAddress

public bool HasIpAddress { get; }

Gets whether the "ip_address" field is set

Property Value
TypeDescription
Boolean

HasPort

public bool HasPort { get; }

Gets whether the "port" field is set

Property Value
TypeDescription
Boolean

Instance

public string Instance { get; set; }

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. The name must be 1-63 characters long, and comply with RFC1035.

Property Value
TypeDescription
String

IpAddress

public string IpAddress { get; set; }

Optional IPv4 address of network endpoint. The IP address must belong to a VM in Compute Engine (either the primary IP or as part of an aliased IP range). If the IP address is not specified, then the primary IP address for the VM instance in the network that the network endpoint group belongs to will be used.

Property Value
TypeDescription
String

Port

public int Port { get; set; }

Optional port number of network endpoint. If not specified, the defaultPort for the network endpoint group will be used.

Property Value
TypeDescription
Int32