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

Represents a Machine Type resource. You can use specific machine types for your VM instances based on performance and pricing requirements. For more information, read Machine Types.

Attributes

  • accelerators (type: list(GoogleApi.Compute.V1.Model.MachineTypeAccelerators.t), default: nil) - [Output Only] A list of accelerator configurations assigned to this machine type.
  • creationTimestamp (type: String.t, default: nil) - [Output Only] Creation timestamp in RFC3339 text format.
  • deprecated (type: GoogleApi.Compute.V1.Model.DeprecationStatus.t, default: nil) - [Output Only] The deprecation status associated with this machine type. Only applicable if the machine type is unavailable.
  • description (type: String.t, default: nil) - [Output Only] An optional textual description of the resource.
  • guestCpus (type: integer(), default: nil) - [Output Only] The number of virtual CPUs that are available to the instance.
  • id (type: String.t, default: nil) - [Output Only] The unique identifier for the resource. This identifier is defined by the server.
  • imageSpaceGb (type: integer(), default: nil) - [Deprecated] This property is deprecated and will never be populated with any relevant values.
  • isSharedCpu (type: boolean(), default: nil) - [Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for more information.
  • kind (type: String.t, default: compute#machineType) - [Output Only] The type of the resource. Always compute#machineType for machine types.
  • maximumPersistentDisks (type: integer(), default: nil) - [Output Only] Maximum persistent disks allowed.
  • maximumPersistentDisksSizeGb (type: String.t, default: nil) - [Output Only] Maximum total persistent disks size (GB) allowed.
  • memoryMb (type: integer(), default: nil) - [Output Only] The amount of physical memory available to the instance, defined in MB.
  • name (type: String.t, default: nil) - [Output Only] Name of the resource.
  • scratchDisks (type: list(GoogleApi.Compute.V1.Model.MachineTypeScratchDisks.t), default: nil) - [Output Only] A list of extended scratch disks assigned to the instance.
  • selfLink (type: String.t, default: nil) - [Output Only] Server-defined URL for the resource.
  • zone (type: String.t, default: nil) - [Output Only] The name of the zone where the machine type resides, such as us-central1-a.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Compute.V1.Model.MachineType{
  accelerators: [GoogleApi.Compute.V1.Model.MachineTypeAccelerators.t()] | nil,
  creationTimestamp: String.t() | nil,
  deprecated: GoogleApi.Compute.V1.Model.DeprecationStatus.t() | nil,
  description: String.t() | nil,
  guestCpus: integer() | nil,
  id: String.t() | nil,
  imageSpaceGb: integer() | nil,
  isSharedCpu: boolean() | nil,
  kind: String.t() | nil,
  maximumPersistentDisks: integer() | nil,
  maximumPersistentDisksSizeGb: String.t() | nil,
  memoryMb: integer() | nil,
  name: String.t() | nil,
  scratchDisks: [GoogleApi.Compute.V1.Model.MachineTypeScratchDisks.t()] | nil,
  selfLink: String.t() | nil,
  zone: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.