google_api_compute v0.11.0 GoogleApi.Compute.V1.Model.MachineType View Source

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. (== resource_for {$api_version}.machineTypes ==)

Attributes

  • 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.
  • 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

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

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.