View Source GoogleApi.Compute.V1.Model.AllocationSpecificSKUReservation (google_api_compute v0.62.0)

This reservation type allows to pre allocate specific instance configuration.

Attributes

  • assuredCount (type: String.t, default: nil) - [Output Only] Indicates how many instances are actually usable currently.
  • count (type: String.t, default: nil) - Specifies the number of resources that are allocated.
  • inUseCount (type: String.t, default: nil) - [Output Only] Indicates how many instances are in use.
  • instanceProperties (type: GoogleApi.Compute.V1.Model.AllocationSpecificSKUAllocationReservedInstanceProperties.t, default: nil) - The instance properties for the reservation.
  • sourceInstanceTemplate (type: String.t, default: nil) - Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Compute.V1.Model.AllocationSpecificSKUReservation{
  assuredCount: String.t() | nil,
  count: String.t() | nil,
  inUseCount: String.t() | nil,
  instanceProperties:
    GoogleApi.Compute.V1.Model.AllocationSpecificSKUAllocationReservedInstanceProperties.t()
    | nil,
  sourceInstanceTemplate: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.