View Source GoogleApi.BareMetalSolution.V2.Model.Instance (google_api_bare_metal_solution v0.7.0)

A server.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. Create a time stamp.
  • firmwareVersion (type: String.t, default: nil) - Output only. The firmware version for the instance.
  • hyperthreadingEnabled (type: boolean(), default: nil) - True if you enable hyperthreading for the server, otherwise false. The default value is false.
  • id (type: String.t, default: nil) - Output only. An identifier for the Instance, generated by the backend.
  • interactiveSerialConsoleEnabled (type: boolean(), default: nil) - Output only. True if the interactive serial console feature is enabled for the instance, false otherwise. The default value is false.
  • kmsKeyVersion (type: String.t, default: nil) - Optional. Name of the KMS crypto key version used to encrypt the initial passwords. The key has to have ASYMMETRIC_DECRYPT purpose. Format is projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}.
  • labels (type: map(), default: nil) - Labels as key value pairs.
  • logicalInterfaces (type: list(GoogleApi.BareMetalSolution.V2.Model.GoogleCloudBaremetalsolutionV2LogicalInterface.t), default: nil) - List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. For the non-multivlan configurations (for eg, existing servers) that use existing default network template (bondaa-bondaa), both the Instance.networks field and the Instance.logical_interfaces fields will be filled to ensure backward compatibility. For the others, only Instance.logical_interfaces will be filled.
  • loginInfo (type: String.t, default: nil) - Output only. Text field about info for logging in.
  • luns (type: list(GoogleApi.BareMetalSolution.V2.Model.Lun.t), default: nil) - Immutable. List of LUNs associated with this server.
  • machineType (type: String.t, default: nil) - Immutable. The server type. Available server types
  • name (type: String.t, default: nil) - Immutable. The resource name of this Instance. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: projects/{project}/locations/{location}/instances/{instance}
  • networkTemplate (type: String.t, default: nil) - Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc. Generally, the template name follows the syntax of "bond" or "nic".
  • networks (type: list(GoogleApi.BareMetalSolution.V2.Model.Network.t), default: nil) - Output only. List of networks associated with this server.
  • osImage (type: String.t, default: nil) - The OS image currently installed on the server.
  • pod (type: String.t, default: nil) - Immutable. Pod name. Pod is an independent part of infrastructure. Instance can only be connected to the assets (networks, volumes) allocated in the same pod.
  • sshKeys (type: list(String.t), default: nil) - Optional. List of SSH Keys used during instance provisioning.
  • state (type: String.t, default: nil) - Output only. The state of the server.
  • updateTime (type: DateTime.t, default: nil) - Output only. Update a time stamp.
  • volumes (type: list(GoogleApi.BareMetalSolution.V2.Model.Volume.t), default: nil) - Input only. List of Volumes to attach to this Instance on creation. This field won't be populated in Get/List responses.
  • workloadProfile (type: String.t, default: nil) - The workload profile for the instance.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.BareMetalSolution.V2.Model.Instance{
  createTime: DateTime.t() | nil,
  firmwareVersion: String.t() | nil,
  hyperthreadingEnabled: boolean() | nil,
  id: String.t() | nil,
  interactiveSerialConsoleEnabled: boolean() | nil,
  kmsKeyVersion: String.t() | nil,
  labels: map() | nil,
  logicalInterfaces:
    [
      GoogleApi.BareMetalSolution.V2.Model.GoogleCloudBaremetalsolutionV2LogicalInterface.t()
    ]
    | nil,
  loginInfo: String.t() | nil,
  luns: [GoogleApi.BareMetalSolution.V2.Model.Lun.t()] | nil,
  machineType: String.t() | nil,
  name: String.t() | nil,
  networkTemplate: String.t() | nil,
  networks: [GoogleApi.BareMetalSolution.V2.Model.Network.t()] | nil,
  osImage: String.t() | nil,
  pod: String.t() | nil,
  sshKeys: [String.t()] | nil,
  state: String.t() | nil,
  updateTime: DateTime.t() | nil,
  volumes: [GoogleApi.BareMetalSolution.V2.Model.Volume.t()] | nil,
  workloadProfile: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.