Compute Engine v1 API - Class ReservationBlock (3.23.0)

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

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

Represents a reservation block resource.

Inheritance

object > ReservationBlock

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

ReservationBlock()

public ReservationBlock()

ReservationBlock(ReservationBlock)

public ReservationBlock(ReservationBlock other)
Parameter
Name Description
other ReservationBlock

Properties

Count

public int Count { get; set; }

Output only. [Output Only] The number of resources that are allocated in this reservation block.

Property Value
Type Description
int

CreationTimestamp

public string CreationTimestamp { get; set; }

Output only. [Output Only] Creation timestamp inRFC3339 text format.

Property Value
Type Description
string

HasCount

public bool HasCount { get; }

Gets whether the "count" field is set

Property Value
Type Description
bool

HasCreationTimestamp

public bool HasCreationTimestamp { get; }

Gets whether the "creation_timestamp" 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

HasInUseCount

public bool HasInUseCount { get; }

Gets whether the "in_use_count" field is set

Property Value
Type Description
bool

HasInUseHostCount

public bool HasInUseHostCount { get; }

Gets whether the "in_use_host_count" 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

HasReservationSubBlockCount

public bool HasReservationSubBlockCount { get; }

Gets whether the "reservation_sub_block_count" field is set

Property Value
Type Description
bool

HasReservationSubBlockInUseCount

public bool HasReservationSubBlockInUseCount { get; }

Gets whether the "reservation_sub_block_in_use_count" 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

HasStatus

public bool HasStatus { get; }

Gets whether the "status" 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

HealthInfo

public ReservationBlockHealthInfo HealthInfo { get; set; }

Output only. [Output Only] Health information for the reservation block.

Property Value
Type Description
ReservationBlockHealthInfo

Id

public ulong Id { get; set; }

Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.

Property Value
Type Description
ulong

InUseCount

public int InUseCount { get; set; }

Output only. [Output Only] The number of instances that are currently in use on this reservation block.

Property Value
Type Description
int

InUseHostCount

public int InUseHostCount { get; set; }

Output only. Number of hosts currently in use. If there is one or more Instances running on the host, it is considered in use.

Property Value
Type Description
int

Kind

public string Kind { get; set; }

Output only. [Output Only] Type of the resource. Alwayscompute#reservationBlock for reservation blocks.

Property Value
Type Description
string

Name

public string Name { get; set; }

Output only. [Output Only] The name of this reservation block generated by Google Compute Engine. The name must be 1-63 characters long, and comply with RFC1035 @pattern a-z?

Property Value
Type Description
string

PhysicalTopology

public ReservationBlockPhysicalTopology PhysicalTopology { get; set; }

Output only. [Output Only] The physical topology of the reservation block.

Property Value
Type Description
ReservationBlockPhysicalTopology

ReservationMaintenance

public GroupMaintenanceInfo ReservationMaintenance { get; set; }

Output only. [Output Only] Maintenance information for this reservation block.

Property Value
Type Description
GroupMaintenanceInfo

ReservationSubBlockCount

public int ReservationSubBlockCount { get; set; }

Output only. [Output Only] The number of reservation subBlocks associated with this reservation block.

Property Value
Type Description
int

ReservationSubBlockInUseCount

public int ReservationSubBlockInUseCount { get; set; }

Output only. [Output Only] The number of in-use reservation subBlocks associated with this reservation block. If at least one VM is running on a subBlock, it is considered in-use.

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

Output only. [Output Only] Server-defined fully-qualified URL for this resource.

Property Value
Type Description
string

SelfLinkWithId

public string SelfLinkWithId { get; set; }

Output only. [Output Only] Server-defined URL for this resource with the resource id.

Property Value
Type Description
string

Status

public string Status { get; set; }

Output only. [Output Only] Status of the reservation block. Check the Status enum for the list of possible values.

Property Value
Type Description
string

Zone

public string Zone { get; set; }

Output only. [Output Only] Zone in which the reservation block resides.

Property Value
Type Description
string