Compute Engine v1 API - Class InstanceWithNamedPorts (2.15.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
bool

HasStatus

public bool HasStatus { get; }

Gets whether the "status" field is set

Property Value
TypeDescription
bool

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
RepeatedFieldNamedPort

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