InstancePolicyResponse constructor
- required Input<
List< accelerators,AcceleratorResponse> > - required Input<
DiskResponse> bootDisk, - required Input<
List< disks,AttachedDiskResponse> > - required Input<
String> machineType, - required Input<
String> minCpuPlatform, - required Input<
String> provisioningModel, - required Input<
String> reservation,
Creates a new InstancePolicyResponse.
accelerators The accelerators attached to each VM instance.
bootDisk 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.
disks Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted. A non-boot disk is a disk that can be of a device with a file system or a raw storage drive that is not ready for data storage and accessing.
machineType The Compute Engine machine type.
minCpuPlatform The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
provisioningModel The provisioning model.
reservation Optional. If specified, VMs will consume only the specified reservation. If not specified (default), VMs will consume any applicable reservation.
Implementation
const InstancePolicyResponse({
required this.accelerators,
required this.bootDisk,
required this.disks,
required this.machineType,
required this.minCpuPlatform,
required this.provisioningModel,
required this.reservation,
});