InstancePolicyArgs

data class InstancePolicyArgs(val accelerators: Output<List<AcceleratorArgs>>? = null, val bootDisk: Output<DiskArgs>? = null, val disks: Output<List<AttachedDiskArgs>>? = null, val machineType: Output<String>? = null, val minCpuPlatform: Output<String>? = null, val provisioningModel: Output<InstancePolicyProvisioningModel>? = null) : ConvertibleToJava<InstancePolicyArgs>

InstancePolicy describes an instance type and resources attached to each VM created by this InstancePolicy.

Constructors

Link copied to clipboard
constructor(accelerators: Output<List<AcceleratorArgs>>? = null, bootDisk: Output<DiskArgs>? = null, disks: Output<List<AttachedDiskArgs>>? = null, machineType: Output<String>? = null, minCpuPlatform: Output<String>? = null, provisioningModel: Output<InstancePolicyProvisioningModel>? = null)

Properties

Link copied to clipboard
val accelerators: Output<List<AcceleratorArgs>>? = null

The accelerators attached to each VM instance.

Link copied to clipboard
val bootDisk: Output<DiskArgs>? = null

Boot disk to be created and attached to each VM by this InstancePolicy. Boot disk will be deleted when the VM is deleted. Batch API now only supports booting from image.

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

Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted.

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

The Compute Engine machine type.

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

The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform. Not yet implemented.

Link copied to clipboard

The provisioning model.

Functions

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