Compute Engine v1 API - Class Host (3.30.0)

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

Reference documentation and code samples for the Compute Engine v1 API class Host.

Represents a host resource.

Inheritance

object > Host

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

Host()

public Host()

Host(Host)

public Host(Host other)
Parameter
Name Description
other Host

Properties

public RepeatedField<string> AliasLinks { get; }

Output only. All aliases for this resource. e.g. projects/123/zones/us-centra1-a/reservation/r1/reservationBlock/b1/hosts/h1

Property Value
Type Description
RepeatedFieldstring

CreationTimestamp

public string CreationTimestamp { get; set; }

Output only. The creation timestamp, formatted asRFC3339 text.

Property Value
Type Description
string

Description

public string Description { get; set; }

An optional description of this resource.

Property Value
Type Description
string

HasCreationTimestamp

public bool HasCreationTimestamp { get; }

Gets whether the "creation_timestamp" field is set

Property Value
Type Description
bool

HasDescription

public bool HasDescription { get; }

Gets whether the "description" field is set

Property Value
Type Description
bool

HasId

public bool HasId { get; }

Gets whether the "id" field is set

Property Value
Type Description
bool

HasKind

public bool HasKind { get; }

Gets whether the "kind" field is set

Property Value
Type Description
bool

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
Type Description
bool
public bool HasSelfLink { get; }

Gets whether the "self_link" field is set

Property Value
Type Description
bool

HasSelfLinkWithId

public bool HasSelfLinkWithId { get; }

Gets whether the "self_link_with_id" field is set

Property Value
Type Description
bool

HasState

public bool HasState { get; }

Gets whether the "state" field is set

Property Value
Type Description
bool

HasZone

public bool HasZone { get; }

Gets whether the "zone" field is set

Property Value
Type Description
bool

Id

public ulong Id { get; set; }

Output only. The unique identifier for this resource. This identifier is defined by the server.

Property Value
Type Description
ulong

Kind

public string Kind { get; set; }

Output only. The type of resource. Alwayscompute#host for hosts.

Property Value
Type Description
string

Name

public string Name { get; set; }

Output only. The name of the host.

Property Value
Type Description
string
public string SelfLink { get; set; }

Output only. The self link of the host.

Property Value
Type Description
string

SelfLinkWithId

public string SelfLinkWithId { get; set; }

Output only. The self link with id of the host.

Property Value
Type Description
string

State

public string State { get; set; }

Output only. The state of the host. Check the State enum for the list of possible values.

Property Value
Type Description
string

Status

public HostStatus Status { get; set; }

Output only. The status of the host

Property Value
Type Description
HostStatus

Zone

public string Zone { get; set; }

Output only. The zone in which the host resides.

Property Value
Type Description
string