InstancePolicyOrTemplateResponse

data class InstancePolicyOrTemplateResponse(val installGpuDrivers: Boolean, val instanceTemplate: String, val policy: InstancePolicyResponse)

Either an InstancePolicy or an instance template.

Constructors

Link copied to clipboard
constructor(installGpuDrivers: Boolean, instanceTemplate: String, policy: InstancePolicyResponse)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Set this field true if users want Batch to help fetch drivers from a third party location and install them for GPUs specified in policy.accelerators or instance_template on their behalf. Default is false.

Link copied to clipboard

Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid c++ keyword conflict.

Link copied to clipboard

InstancePolicy.