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

Attributes

  • advancedMachineFeatures (type: GoogleApi.Compute.V1.Model.AdvancedMachineFeatures.t, default: nil) - Controls for advanced machine-related behavior features. Note that for MachineImage, this is not supported yet.
  • canIpForward (type: boolean(), default: nil) - Enables instances created based on these properties 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.
  • confidentialInstanceConfig (type: GoogleApi.Compute.V1.Model.ConfidentialInstanceConfig.t, default: nil) - Specifies the Confidential Instance options. Note that for MachineImage, this is not supported yet.
  • description (type: String.t, default: nil) - An optional text description for the instances that are created from these properties.
  • disks (type: list(GoogleApi.Compute.V1.Model.AttachedDisk.t), default: nil) - An array of disks that are associated with the instances that are created from these properties.
  • 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 these properties.
  • 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 these properties.
  • machineType (type: String.t, default: nil) - The machine type to use for instances that are created from these properties.
  • metadata (type: GoogleApi.Compute.V1.Model.Metadata.t, default: nil) - The metadata key/value pairs to assign to instances that are created from these properties. 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. 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.
  • networkPerformanceConfig (type: GoogleApi.Compute.V1.Model.NetworkPerformanceConfig.t, default: nil) - Note that for MachineImage, this is not supported yet.
  • privateIpv6GoogleAccess (type: String.t, default: nil) - The private IPv6 google access type for VMs. If not specified, use INHERIT_FROM_SUBNETWORK as default. Note that for MachineImage, this is not supported yet.
  • reservationAffinity (type: GoogleApi.Compute.V1.Model.ReservationAffinity.t, default: nil) - Specifies the reservations that instances can consume from. Note that for MachineImage, this is not supported yet.
  • resourceManagerTags (type: map(), default: nil) - Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
  • resourcePolicies (type: list(String.t), default: nil) - Resource policies (names, not URLs) applied to instances created from these properties. Note that for MachineImage, this is not supported yet.
  • scheduling (type: GoogleApi.Compute.V1.Model.Scheduling.t, default: nil) - Specifies the scheduling options for the instances that are created from these properties.
  • 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 these properties. Use metadata queries to obtain the access tokens for these instances.
  • shieldedInstanceConfig (type: GoogleApi.Compute.V1.Model.ShieldedInstanceConfig.t, default: nil) - Note that for MachineImage, this is not supported yet.
  • tags (type: GoogleApi.Compute.V1.Model.Tags.t, default: nil) - A list of tags to apply to the instances that are created from these properties. 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.InstanceProperties{
  advancedMachineFeatures:
    GoogleApi.Compute.V1.Model.AdvancedMachineFeatures.t() | nil,
  canIpForward: boolean() | nil,
  confidentialInstanceConfig:
    GoogleApi.Compute.V1.Model.ConfidentialInstanceConfig.t() | nil,
  description: String.t() | nil,
  disks: [GoogleApi.Compute.V1.Model.AttachedDisk.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,
  networkPerformanceConfig:
    GoogleApi.Compute.V1.Model.NetworkPerformanceConfig.t() | nil,
  privateIpv6GoogleAccess: String.t() | nil,
  reservationAffinity: GoogleApi.Compute.V1.Model.ReservationAffinity.t() | nil,
  resourceManagerTags: map() | nil,
  resourcePolicies: [String.t()] | nil,
  scheduling: GoogleApi.Compute.V1.Model.Scheduling.t() | nil,
  serviceAccounts: [GoogleApi.Compute.V1.Model.ServiceAccount.t()] | nil,
  shieldedInstanceConfig:
    GoogleApi.Compute.V1.Model.ShieldedInstanceConfig.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.