InstancePolicyResponse

data class InstancePolicyResponse(val accelerators: List<AcceleratorResponse>, val bootDisk: DiskResponse, val disks: List<AttachedDiskResponse>, val machineType: String, val minCpuPlatform: String, val provisioningModel: String)

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

Constructors

Link copied to clipboard
fun InstancePolicyResponse(accelerators: List<AcceleratorResponse>, bootDisk: DiskResponse, disks: List<AttachedDiskResponse>, machineType: String, minCpuPlatform: String, provisioningModel: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The accelerators attached to each VM instance.

Link copied to clipboard

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

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

The Compute Engine machine type.

Link copied to clipboard

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.