Capacity Planner v1beta API - Class Allocation (1.0.0-beta01)

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

Reference documentation and code samples for the Capacity Planner v1beta API class Allocation.

Repesents Allocation which is part of aggregated reservations data response of "QueryReservations".

Inheritance

object > Allocation

Namespace

Google.Cloud.CapacityPlanner.V1Beta

Assembly

Google.Cloud.CapacityPlanner.V1Beta.dll

Constructors

Allocation()

public Allocation()

Allocation(Allocation)

public Allocation(Allocation other)
Parameter
Name Description
other Allocation

Properties

Allocation_

public string Allocation_ { get; set; }

The reservation resource name.

Property Value
Type Description
string

AutoDeleteTime

public Timestamp AutoDeleteTime { get; set; }

Absolute time in future when the reservation will be auto-deleted by Compute Engine.

Property Value
Type Description
Timestamp

CreateTime

public Timestamp CreateTime { get; set; }

The creation timestamp for this allocation.

Property Value
Type Description
Timestamp

Description

public string Description { get; set; }

A description while creating reservation.

Property Value
Type Description
string

Id

public long Id { get; set; }

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

Property Value
Type Description
long

OwnerProjectId

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

ShareSettings

public Allocation.Types.ShareSettings ShareSettings { get; set; }

Specify share-settings to create a shared reservation.

Property Value
Type Description
AllocationTypesShareSettings

SpecificAllocation

public Allocation.Types.SpecificSKUAllocation SpecificAllocation { get; set; }

Reservation for instances with specific machine shapes.

Property Value
Type Description
AllocationTypesSpecificSKUAllocation

Status

public Allocation.Types.Status Status { get; set; }

The status of the reservation.

Property Value
Type Description
AllocationTypesStatus

TypeCase

public Allocation.TypeOneofCase TypeCase { get; }
Property Value
Type Description
AllocationTypeOneofCase

Zone

public string Zone { get; set; }

Zone in which the reservation resides.

Property Value
Type Description
string