View Source GoogleApi.Compute.V1.Model.AllocationAggregateReservation (google_api_compute v0.56.2)

This reservation type is specified by total resource amounts (e.g. total count of CPUs) and can account for multiple instance SKUs. In other words, one can create instances of varying shapes against this reservation.

Attributes

  • inUseResources (type: list(GoogleApi.Compute.V1.Model.AllocationAggregateReservationReservedResourceInfo.t), default: nil) - [Output only] List of resources currently in use.
  • reservedResources (type: list(GoogleApi.Compute.V1.Model.AllocationAggregateReservationReservedResourceInfo.t), default: nil) - List of reserved resources (CPUs, memory, accelerators).
  • vmFamily (type: String.t, default: nil) - The VM family that all instances scheduled against this reservation must belong to.
  • workloadType (type: String.t, default: nil) - The workload type of the instances that will target this reservation.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Compute.V1.Model.AllocationAggregateReservation{
  inUseResources:
    [
      GoogleApi.Compute.V1.Model.AllocationAggregateReservationReservedResourceInfo.t()
    ]
    | nil,
  reservedResources:
    [
      GoogleApi.Compute.V1.Model.AllocationAggregateReservationReservedResourceInfo.t()
    ]
    | nil,
  vmFamily: String.t() | nil,
  workloadType: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.