InstancePropertiesArgs

data class InstancePropertiesArgs(val advancedMachineFeatures: Output<AdvancedMachineFeaturesArgs>? = null, val canIpForward: Output<Boolean>? = null, val confidentialInstanceConfig: Output<ConfidentialInstanceConfigArgs>? = null, val description: Output<String>? = null, val disks: Output<List<AttachedDiskArgs>>? = null, val guestAccelerators: Output<List<AcceleratorConfigArgs>>? = null, val keyRevocationActionType: Output<InstancePropertiesKeyRevocationActionType>? = null, val labels: Output<Map<String, String>>? = null, val machineType: Output<String>? = null, val metadata: Output<MetadataArgs>? = null, val minCpuPlatform: Output<String>? = null, val networkInterfaces: Output<List<NetworkInterfaceArgs>>? = null, val networkPerformanceConfig: Output<NetworkPerformanceConfigArgs>? = null, val privateIpv6GoogleAccess: Output<InstancePropertiesPrivateIpv6GoogleAccess>? = null, val reservationAffinity: Output<ReservationAffinityArgs>? = null, val resourceManagerTags: Output<Map<String, String>>? = null, val resourcePolicies: Output<List<String>>? = null, val scheduling: Output<SchedulingArgs>? = null, val serviceAccounts: Output<List<ServiceAccountArgs>>? = null, val shieldedInstanceConfig: Output<ShieldedInstanceConfigArgs>? = null, val tags: Output<TagsArgs>? = null) : ConvertibleToJava<InstancePropertiesArgs>

Constructors

Link copied to clipboard
fun InstancePropertiesArgs(advancedMachineFeatures: Output<AdvancedMachineFeaturesArgs>? = null, canIpForward: Output<Boolean>? = null, confidentialInstanceConfig: Output<ConfidentialInstanceConfigArgs>? = null, description: Output<String>? = null, disks: Output<List<AttachedDiskArgs>>? = null, guestAccelerators: Output<List<AcceleratorConfigArgs>>? = null, keyRevocationActionType: Output<InstancePropertiesKeyRevocationActionType>? = null, labels: Output<Map<String, String>>? = null, machineType: Output<String>? = null, metadata: Output<MetadataArgs>? = null, minCpuPlatform: Output<String>? = null, networkInterfaces: Output<List<NetworkInterfaceArgs>>? = null, networkPerformanceConfig: Output<NetworkPerformanceConfigArgs>? = null, privateIpv6GoogleAccess: Output<InstancePropertiesPrivateIpv6GoogleAccess>? = null, reservationAffinity: Output<ReservationAffinityArgs>? = null, resourceManagerTags: Output<Map<String, String>>? = null, resourcePolicies: Output<List<String>>? = null, scheduling: Output<SchedulingArgs>? = null, serviceAccounts: Output<List<ServiceAccountArgs>>? = null, shieldedInstanceConfig: Output<ShieldedInstanceConfigArgs>? = null, tags: Output<TagsArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): InstancePropertiesArgs

Properties

Link copied to clipboard

Controls for advanced machine-related behavior features. Note that for MachineImage, this is not supported yet.

Link copied to clipboard
val canIpForward: Output<Boolean>? = null

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.

Link copied to clipboard

Specifies the Confidential Instance options. Note that for MachineImage, this is not supported yet.

Link copied to clipboard
val description: Output<String>? = null

An optional text description for the instances that are created from these properties.

Link copied to clipboard
val disks: Output<List<AttachedDiskArgs>>? = null

An array of disks that are associated with the instances that are created from these properties.

Link copied to clipboard

A list of guest accelerator cards' type and count to use for instances created from these properties.

Link copied to clipboard

KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

Labels to apply to instances that are created from these properties.

Link copied to clipboard
val machineType: Output<String>? = null

The machine type to use for instances that are created from these properties.

Link copied to clipboard
val metadata: Output<MetadataArgs>? = null

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.

Link copied to clipboard
val minCpuPlatform: Output<String>? = null

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.

Link copied to clipboard

An array of network access configurations for this interface.

Link copied to clipboard

Note that for MachineImage, this is not supported yet.

Link copied to clipboard

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.

Link copied to clipboard

Specifies the reservations that instances can consume from. Note that for MachineImage, this is not supported yet.

Link copied to clipboard
val resourceManagerTags: Output<Map<String, String>>? = null

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.

Link copied to clipboard
val resourcePolicies: Output<List<String>>? = null

Resource policies (names, not URLs) applied to instances created from these properties. Note that for MachineImage, this is not supported yet.

Link copied to clipboard
val scheduling: Output<SchedulingArgs>? = null

Specifies the scheduling options for the instances that are created from these properties.

Link copied to clipboard

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.

Link copied to clipboard

Note that for MachineImage, this is not supported yet.

Link copied to clipboard
val tags: Output<TagsArgs>? = null

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.