InstancePolicyResponse class

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

Constructors

InstancePolicyResponse({required Input<List<AcceleratorResponse>> accelerators, required Input<DiskResponse> bootDisk, required Input<List<AttachedDiskResponse>> disks, 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.
const
InstancePolicyResponse.fromMap(Map<String, dynamic> map)
factory

Properties

accelerators → Input<List<AcceleratorResponse>>
The accelerators attached to each VM instance.
final
bootDisk → Input<DiskResponse>
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.
final
disks → Input<List<AttachedDiskResponse>>
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.
final
hashCode → int
The hash code for this object.
no setterinherited
machineType → Input<String>
The Compute Engine machine type.
final
minCpuPlatform → Input<String>
The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
final
provisioningModel → Input<String>
The provisioning model.
final
reservation → Input<String>
Optional. If specified, VMs will consume only the specified reservation. If not specified (default), VMs will consume any applicable reservation.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited