google_api_replica_pool v0.1.0 GoogleApi.ReplicaPool.V1beta1.Model.VmParams View Source

Parameters for creating a Compute Engine Instance resource. Most fields are identical to the corresponding Compute Engine resource.

Attributes

  • baseInstanceName (type: String.t, default: nil) - Deprecated. Please use baseInstanceName instead.
  • canIpForward (type: boolean(), default: nil) - Enables IP Forwarding, which allows this instance to receive packets destined for a different IP address, and send packets with a different source IP. See IP Forwarding for more information.
  • description (type: String.t, default: nil) - An optional textual description of the instance.
  • disksToAttach (type: list(GoogleApi.ReplicaPool.V1beta1.Model.ExistingDisk.t), default: nil) - A list of existing Persistent Disk resources to attach to each replica in the pool. Each disk will be attached in read-only mode to every replica.
  • disksToCreate (type: list(GoogleApi.ReplicaPool.V1beta1.Model.NewDisk.t), default: nil) - A list of Disk resources to create and attach to each Replica in the Pool. Currently, you can only define one disk and it must be a root persistent disk. Note that Replica Pool will create a root persistent disk for each replica.
  • machineType (type: String.t, default: nil) - The machine type for this instance. The resource name (e.g. n1-standard-1).
  • metadata (type: GoogleApi.ReplicaPool.V1beta1.Model.Metadata.t, default: nil) - The metadata key/value pairs assigned to this instance.
  • networkInterfaces (type: list(GoogleApi.ReplicaPool.V1beta1.Model.NetworkInterface.t), default: nil) - A list of network interfaces for the instance. Currently only one interface is supported by Google Compute Engine, ONE_TO_ONE_NAT.
  • onHostMaintenance (type: String.t, default: nil) -
  • serviceAccounts (type: list(GoogleApi.ReplicaPool.V1beta1.Model.ServiceAccount.t), default: nil) - A list of Service Accounts to enable for this instance.
  • tags (type: GoogleApi.ReplicaPool.V1beta1.Model.Tag.t, default: nil) - A list of tags to apply to the Google Compute Engine instance to identify resources.

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.ReplicaPool.V1beta1.Model.VmParams{
  baseInstanceName: String.t(),
  canIpForward: boolean(),
  description: String.t(),
  disksToAttach: [GoogleApi.ReplicaPool.V1beta1.Model.ExistingDisk.t()],
  disksToCreate: [GoogleApi.ReplicaPool.V1beta1.Model.NewDisk.t()],
  machineType: String.t(),
  metadata: GoogleApi.ReplicaPool.V1beta1.Model.Metadata.t(),
  networkInterfaces: [GoogleApi.ReplicaPool.V1beta1.Model.NetworkInterface.t()],
  onHostMaintenance: String.t(),
  serviceAccounts: [GoogleApi.ReplicaPool.V1beta1.Model.ServiceAccount.t()],
  tags: GoogleApi.ReplicaPool.V1beta1.Model.Tag.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.