Compute Engine v1 API - Class InstanceWithNamedPorts (2.4.0)

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

Inheritance

Object > InstanceWithNamedPorts

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

InstanceWithNamedPorts()

public InstanceWithNamedPorts()

InstanceWithNamedPorts(InstanceWithNamedPorts)

public InstanceWithNamedPorts(InstanceWithNamedPorts other)
Parameter
NameDescription
otherInstanceWithNamedPorts

Properties

HasInstance

public bool HasInstance { get; }

Gets whether the "instance" field is set

Property Value
TypeDescription
Boolean

HasStatus

public bool HasStatus { get; }

Gets whether the "status" field is set

Property Value
TypeDescription
Boolean

Instance

public string Instance { get; set; }

[Output Only] The URL of the instance.

Property Value
TypeDescription
String

NamedPorts

public RepeatedField<NamedPort> NamedPorts { get; }

[Output Only] The named ports that belong to this instance group.

Property Value
TypeDescription
RepeatedField<NamedPort>

Status

public string Status { get; set; }

[Output Only] The status of the instance. Check the Status enum for the list of possible values.

Property Value
TypeDescription
String