Class InstancePolicy
InstancePolicy describes an instance type and resources attached to each VM created by this InstancePolicy.
Implements
Inherited Members
Namespace: Google.Apis.Batch.v1.Data
Assembly: Google.Apis.Batch.v1.dll
Syntax
public class InstancePolicy : IDirectResponseSchema
Properties
Accelerators
The accelerators attached to each VM instance.
Declaration
[JsonProperty("accelerators")]
public virtual IList<Accelerator> Accelerators { get; set; }
Property Value
Type | Description |
---|---|
IList<Accelerator> |
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.
Declaration
[JsonProperty("bootDisk")]
public virtual Disk BootDisk { get; set; }
Property Value
Type | Description |
---|---|
Disk |
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.
Declaration
[JsonProperty("disks")]
public virtual IList<AttachedDisk> Disks { get; set; }
Property Value
Type | Description |
---|---|
IList<AttachedDisk> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
MachineType
The Compute Engine machine type.
Declaration
[JsonProperty("machineType")]
public virtual string MachineType { get; set; }
Property Value
Type | Description |
---|---|
string |
MinCpuPlatform
The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
Declaration
[JsonProperty("minCpuPlatform")]
public virtual string MinCpuPlatform { get; set; }
Property Value
Type | Description |
---|---|
string |
ProvisioningModel
The provisioning model.
Declaration
[JsonProperty("provisioningModel")]
public virtual string ProvisioningModel { get; set; }
Property Value
Type | Description |
---|---|
string |
Reservation
Optional. If not specified (default), VMs will consume any applicable reservation. If "NO_RESERVATION" is specified, VMs will not consume any reservation. Otherwise, if specified, VMs will consume only the specified reservation.
Declaration
[JsonProperty("reservation")]
public virtual string Reservation { get; set; }
Property Value
Type | Description |
---|---|
string |