View Source GoogleApi.BareMetalSolution.V2.Model.InstanceConfig (google_api_bare_metal_solution v0.5.0)

Configuration parameters for a new instance.

Attributes

  • accountNetworksEnabled (type: boolean(), default: nil) - If true networks can be from different projects of the same vendor account.
  • clientNetwork (type: GoogleApi.BareMetalSolution.V2.Model.NetworkAddress.t, default: nil) - Client network address. Filled if InstanceConfig.multivlan_config is false.
  • hyperthreading (type: boolean(), default: nil) - Whether the instance should be provisioned with Hyperthreading enabled.
  • id (type: String.t, default: nil) - A transient unique identifier to idenfity an instance within an ProvisioningConfig request.
  • instanceType (type: String.t, default: nil) - Instance type. Available types
  • kmsKeyVersion (type: String.t, default: nil) - Name of the KMS crypto key version used to encrypt the initial passwords. The key has to have ASYMMETRIC_DECRYPT purpose.
  • 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. Filled if InstanceConfig.multivlan_config is true.
  • name (type: String.t, default: nil) - The name of the instance config.
  • networkConfig (type: String.t, default: nil) - The type of network configuration on the instance.
  • networkTemplate (type: String.t, default: nil) - Server network template name. Filled if InstanceConfig.multivlan_config is true.
  • osImage (type: String.t, default: nil) - OS image to initialize the instance. Available images
  • privateNetwork (type: GoogleApi.BareMetalSolution.V2.Model.NetworkAddress.t, default: nil) - Private network address, if any. Filled if InstanceConfig.multivlan_config is false.
  • sshKeyNames (type: list(String.t), default: nil) - Optional. List of names of ssh keys used to provision the instance.
  • userNote (type: String.t, default: nil) - User note field, it can be used by customers to add additional information for the BMS Ops team .

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.BareMetalSolution.V2.Model.InstanceConfig{
  accountNetworksEnabled: boolean() | nil,
  clientNetwork: GoogleApi.BareMetalSolution.V2.Model.NetworkAddress.t() | nil,
  hyperthreading: boolean() | nil,
  id: String.t() | nil,
  instanceType: String.t() | nil,
  kmsKeyVersion: String.t() | nil,
  logicalInterfaces:
    [
      GoogleApi.BareMetalSolution.V2.Model.GoogleCloudBaremetalsolutionV2LogicalInterface.t()
    ]
    | nil,
  name: String.t() | nil,
  networkConfig: String.t() | nil,
  networkTemplate: String.t() | nil,
  osImage: String.t() | nil,
  privateNetwork: GoogleApi.BareMetalSolution.V2.Model.NetworkAddress.t() | nil,
  sshKeyNames: [String.t()] | nil,
  userNote: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.