View Source GoogleApi.Compute.V1.Model.SourceInstanceProperties (google_api_compute v0.56.0)

DEPRECATED: Please use compute#instanceProperties instead. New properties will not be added to this field.

Attributes

  • canIpForward (type: boolean(), default: nil) - Enables instances created based on this machine image to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding documentation for more information.
  • deletionProtection (type: boolean(), default: nil) - Whether the instance created from this machine image should be protected against deletion.
  • description (type: String.t, default: nil) - An optional text description for the instances that are created from this machine image.
  • disks (type: list(GoogleApi.Compute.V1.Model.SavedAttachedDisk.t), default: nil) - An array of disks that are associated with the instances that are created from this machine image.
  • guestAccelerators (type: list(GoogleApi.Compute.V1.Model.AcceleratorConfig.t), default: nil) - A list of guest accelerator cards' type and count to use for instances created from this machine image.
  • keyRevocationActionType (type: String.t, default: nil) - KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified.
  • labels (type: map(), default: nil) - Labels to apply to instances that are created from this machine image.
  • machineType (type: String.t, default: nil) - The machine type to use for instances that are created from this machine image.
  • metadata (type: GoogleApi.Compute.V1.Model.Metadata.t, default: nil) - The metadata key/value pairs to assign to instances that are created from this machine image. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information.
  • minCpuPlatform (type: String.t, default: nil) - Minimum cpu/platform to be used by instances created from this machine image. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
  • networkInterfaces (type: list(GoogleApi.Compute.V1.Model.NetworkInterface.t), default: nil) - An array of network access configurations for this interface.
  • scheduling (type: GoogleApi.Compute.V1.Model.Scheduling.t, default: nil) - Specifies the scheduling options for the instances that are created from this machine image.
  • serviceAccounts (type: list(GoogleApi.Compute.V1.Model.ServiceAccount.t), default: nil) - A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances.
  • tags (type: GoogleApi.Compute.V1.Model.Tags.t, default: nil) - A list of tags to apply to the instances that are created from this machine image. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Compute.V1.Model.SourceInstanceProperties{
  canIpForward: boolean() | nil,
  deletionProtection: boolean() | nil,
  description: String.t() | nil,
  disks: [GoogleApi.Compute.V1.Model.SavedAttachedDisk.t()] | nil,
  guestAccelerators: [GoogleApi.Compute.V1.Model.AcceleratorConfig.t()] | nil,
  keyRevocationActionType: String.t() | nil,
  labels: map() | nil,
  machineType: String.t() | nil,
  metadata: GoogleApi.Compute.V1.Model.Metadata.t() | nil,
  minCpuPlatform: String.t() | nil,
  networkInterfaces: [GoogleApi.Compute.V1.Model.NetworkInterface.t()] | nil,
  scheduling: GoogleApi.Compute.V1.Model.Scheduling.t() | nil,
  serviceAccounts: [GoogleApi.Compute.V1.Model.ServiceAccount.t()] | nil,
  tags: GoogleApi.Compute.V1.Model.Tags.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.