Allocation Policy Args
data class AllocationPolicyArgs(val instances: Output<List<InstancePolicyOrTemplateArgs>>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<LocationPolicyArgs>? = null, val network: Output<NetworkPolicyArgs>? = null, val placement: Output<PlacementPolicyArgs>? = null, val serviceAccount: Output<ServiceAccountArgs>? = null) : ConvertibleToJava<AllocationPolicyArgs>
A Job's resource allocation policy describes when, where, and how compute resources should be allocated for the Job.
Constructors
Link copied to clipboard
constructor(instances: Output<List<InstancePolicyOrTemplateArgs>>? = null, labels: Output<Map<String, String>>? = null, location: Output<LocationPolicyArgs>? = null, network: Output<NetworkPolicyArgs>? = null, placement: Output<PlacementPolicyArgs>? = null, serviceAccount: Output<ServiceAccountArgs>? = null)
Properties
Link copied to clipboard
Describe instances that can be created by this AllocationPolicy. Only instances0 is supported now.
Link copied to clipboard
Labels applied to all VM instances and other resources created by AllocationPolicy. Labels could be user provided or system generated. You can assign up to 64 labels. Google Compute Engine label restrictions apply. Label names that start with "goog-" or "google-" are reserved.
Link copied to clipboard
Location where compute resources should be allocated for the Job.
Link copied to clipboard
The network policy.
Link copied to clipboard
The placement policy.
Link copied to clipboard
Service account that VMs will run as.