Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.batch/v1.Job
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Create a Job. Auto-naming is currently not supported for this resource.
Create Job Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Job(name: string, args: JobArgs, opts?: CustomResourceOptions);@overload
def Job(resource_name: str,
        args: JobArgs,
        opts: Optional[ResourceOptions] = None)
@overload
def Job(resource_name: str,
        opts: Optional[ResourceOptions] = None,
        task_groups: Optional[Sequence[TaskGroupArgs]] = None,
        allocation_policy: Optional[AllocationPolicyArgs] = None,
        job_id: Optional[str] = None,
        labels: Optional[Mapping[str, str]] = None,
        location: Optional[str] = None,
        logs_policy: Optional[LogsPolicyArgs] = None,
        notifications: Optional[Sequence[JobNotificationArgs]] = None,
        priority: Optional[str] = None,
        project: Optional[str] = None,
        request_id: Optional[str] = None)func NewJob(ctx *Context, name string, args JobArgs, opts ...ResourceOption) (*Job, error)public Job(string name, JobArgs args, CustomResourceOptions? opts = null)type: google-native:batch/v1:Job
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var jobResource = new GoogleNative.Batch.V1.Job("jobResource", new()
{
    TaskGroups = new[]
    {
        new GoogleNative.Batch.V1.Inputs.TaskGroupArgs
        {
            TaskSpec = new GoogleNative.Batch.V1.Inputs.TaskSpecArgs
            {
                ComputeResource = new GoogleNative.Batch.V1.Inputs.ComputeResourceArgs
                {
                    BootDiskMib = "string",
                    CpuMilli = "string",
                    MemoryMib = "string",
                },
                Environment = new GoogleNative.Batch.V1.Inputs.EnvironmentArgs
                {
                    EncryptedVariables = new GoogleNative.Batch.V1.Inputs.KMSEnvMapArgs
                    {
                        CipherText = "string",
                        KeyName = "string",
                    },
                    SecretVariables = 
                    {
                        { "string", "string" },
                    },
                    Variables = 
                    {
                        { "string", "string" },
                    },
                },
                LifecyclePolicies = new[]
                {
                    new GoogleNative.Batch.V1.Inputs.LifecyclePolicyArgs
                    {
                        Action = GoogleNative.Batch.V1.LifecyclePolicyAction.ActionUnspecified,
                        ActionCondition = new GoogleNative.Batch.V1.Inputs.ActionConditionArgs
                        {
                            ExitCodes = new[]
                            {
                                0,
                            },
                        },
                    },
                },
                MaxRetryCount = 0,
                MaxRunDuration = "string",
                Runnables = new[]
                {
                    new GoogleNative.Batch.V1.Inputs.RunnableArgs
                    {
                        AlwaysRun = false,
                        Background = false,
                        Barrier = new GoogleNative.Batch.V1.Inputs.BarrierArgs
                        {
                            Name = "string",
                        },
                        Container = new GoogleNative.Batch.V1.Inputs.ContainerArgs
                        {
                            BlockExternalNetwork = false,
                            Commands = new[]
                            {
                                "string",
                            },
                            Entrypoint = "string",
                            ImageUri = "string",
                            Options = "string",
                            Password = "string",
                            Username = "string",
                            Volumes = new[]
                            {
                                "string",
                            },
                        },
                        DisplayName = "string",
                        Environment = new GoogleNative.Batch.V1.Inputs.EnvironmentArgs
                        {
                            EncryptedVariables = new GoogleNative.Batch.V1.Inputs.KMSEnvMapArgs
                            {
                                CipherText = "string",
                                KeyName = "string",
                            },
                            SecretVariables = 
                            {
                                { "string", "string" },
                            },
                            Variables = 
                            {
                                { "string", "string" },
                            },
                        },
                        IgnoreExitStatus = false,
                        Labels = 
                        {
                            { "string", "string" },
                        },
                        Script = new GoogleNative.Batch.V1.Inputs.ScriptArgs
                        {
                            Path = "string",
                            Text = "string",
                        },
                        Timeout = "string",
                    },
                },
                Volumes = new[]
                {
                    new GoogleNative.Batch.V1.Inputs.VolumeArgs
                    {
                        DeviceName = "string",
                        Gcs = new GoogleNative.Batch.V1.Inputs.GCSArgs
                        {
                            RemotePath = "string",
                        },
                        MountOptions = new[]
                        {
                            "string",
                        },
                        MountPath = "string",
                        Nfs = new GoogleNative.Batch.V1.Inputs.NFSArgs
                        {
                            RemotePath = "string",
                            Server = "string",
                        },
                    },
                },
            },
            Parallelism = "string",
            PermissiveSsh = false,
            RequireHostsFile = false,
            SchedulingPolicy = GoogleNative.Batch.V1.TaskGroupSchedulingPolicy.SchedulingPolicyUnspecified,
            TaskCount = "string",
            TaskCountPerNode = "string",
            TaskEnvironments = new[]
            {
                new GoogleNative.Batch.V1.Inputs.EnvironmentArgs
                {
                    EncryptedVariables = new GoogleNative.Batch.V1.Inputs.KMSEnvMapArgs
                    {
                        CipherText = "string",
                        KeyName = "string",
                    },
                    SecretVariables = 
                    {
                        { "string", "string" },
                    },
                    Variables = 
                    {
                        { "string", "string" },
                    },
                },
            },
        },
    },
    AllocationPolicy = new GoogleNative.Batch.V1.Inputs.AllocationPolicyArgs
    {
        Instances = new[]
        {
            new GoogleNative.Batch.V1.Inputs.InstancePolicyOrTemplateArgs
            {
                InstallGpuDrivers = false,
                InstanceTemplate = "string",
                Policy = new GoogleNative.Batch.V1.Inputs.InstancePolicyArgs
                {
                    Accelerators = new[]
                    {
                        new GoogleNative.Batch.V1.Inputs.AcceleratorArgs
                        {
                            Count = "string",
                            DriverVersion = "string",
                            Type = "string",
                        },
                    },
                    BootDisk = new GoogleNative.Batch.V1.Inputs.DiskArgs
                    {
                        DiskInterface = "string",
                        Image = "string",
                        SizeGb = "string",
                        Snapshot = "string",
                        Type = "string",
                    },
                    Disks = new[]
                    {
                        new GoogleNative.Batch.V1.Inputs.AttachedDiskArgs
                        {
                            DeviceName = "string",
                            ExistingDisk = "string",
                            NewDisk = new GoogleNative.Batch.V1.Inputs.DiskArgs
                            {
                                DiskInterface = "string",
                                Image = "string",
                                SizeGb = "string",
                                Snapshot = "string",
                                Type = "string",
                            },
                        },
                    },
                    MachineType = "string",
                    MinCpuPlatform = "string",
                    ProvisioningModel = GoogleNative.Batch.V1.InstancePolicyProvisioningModel.ProvisioningModelUnspecified,
                    Reservation = "string",
                },
            },
        },
        Labels = 
        {
            { "string", "string" },
        },
        Location = new GoogleNative.Batch.V1.Inputs.LocationPolicyArgs
        {
            AllowedLocations = new[]
            {
                "string",
            },
        },
        Network = new GoogleNative.Batch.V1.Inputs.NetworkPolicyArgs
        {
            NetworkInterfaces = new[]
            {
                new GoogleNative.Batch.V1.Inputs.NetworkInterfaceArgs
                {
                    Network = "string",
                    NoExternalIpAddress = false,
                    Subnetwork = "string",
                },
            },
        },
        Placement = new GoogleNative.Batch.V1.Inputs.PlacementPolicyArgs
        {
            Collocation = "string",
            MaxDistance = "string",
        },
        ServiceAccount = new GoogleNative.Batch.V1.Inputs.ServiceAccountArgs
        {
            Email = "string",
            Scopes = new[]
            {
                "string",
            },
        },
    },
    JobId = "string",
    Labels = 
    {
        { "string", "string" },
    },
    Location = "string",
    LogsPolicy = new GoogleNative.Batch.V1.Inputs.LogsPolicyArgs
    {
        CloudLoggingOption = null,
        Destination = GoogleNative.Batch.V1.LogsPolicyDestination.DestinationUnspecified,
        LogsPath = "string",
    },
    Notifications = new[]
    {
        new GoogleNative.Batch.V1.Inputs.JobNotificationArgs
        {
            Message = new GoogleNative.Batch.V1.Inputs.MessageArgs
            {
                NewJobState = GoogleNative.Batch.V1.MessageNewJobState.StateUnspecified,
                NewTaskState = GoogleNative.Batch.V1.MessageNewTaskState.StateUnspecified,
                Type = GoogleNative.Batch.V1.MessageType.TypeUnspecified,
            },
            PubsubTopic = "string",
        },
    },
    Priority = "string",
    Project = "string",
    RequestId = "string",
});
example, err := batch.NewJob(ctx, "jobResource", &batch.JobArgs{
	TaskGroups: batch.TaskGroupArray{
		&batch.TaskGroupArgs{
			TaskSpec: &batch.TaskSpecArgs{
				ComputeResource: &batch.ComputeResourceArgs{
					BootDiskMib: pulumi.String("string"),
					CpuMilli:    pulumi.String("string"),
					MemoryMib:   pulumi.String("string"),
				},
				Environment: &batch.EnvironmentArgs{
					EncryptedVariables: &batch.KMSEnvMapArgs{
						CipherText: pulumi.String("string"),
						KeyName:    pulumi.String("string"),
					},
					SecretVariables: pulumi.StringMap{
						"string": pulumi.String("string"),
					},
					Variables: pulumi.StringMap{
						"string": pulumi.String("string"),
					},
				},
				LifecyclePolicies: batch.LifecyclePolicyArray{
					&batch.LifecyclePolicyArgs{
						Action: batch.LifecyclePolicyActionActionUnspecified,
						ActionCondition: &batch.ActionConditionArgs{
							ExitCodes: pulumi.IntArray{
								pulumi.Int(0),
							},
						},
					},
				},
				MaxRetryCount:  pulumi.Int(0),
				MaxRunDuration: pulumi.String("string"),
				Runnables: batch.RunnableArray{
					&batch.RunnableArgs{
						AlwaysRun:  pulumi.Bool(false),
						Background: pulumi.Bool(false),
						Barrier: &batch.BarrierArgs{
							Name: pulumi.String("string"),
						},
						Container: &batch.ContainerArgs{
							BlockExternalNetwork: pulumi.Bool(false),
							Commands: pulumi.StringArray{
								pulumi.String("string"),
							},
							Entrypoint: pulumi.String("string"),
							ImageUri:   pulumi.String("string"),
							Options:    pulumi.String("string"),
							Password:   pulumi.String("string"),
							Username:   pulumi.String("string"),
							Volumes: pulumi.StringArray{
								pulumi.String("string"),
							},
						},
						DisplayName: pulumi.String("string"),
						Environment: &batch.EnvironmentArgs{
							EncryptedVariables: &batch.KMSEnvMapArgs{
								CipherText: pulumi.String("string"),
								KeyName:    pulumi.String("string"),
							},
							SecretVariables: pulumi.StringMap{
								"string": pulumi.String("string"),
							},
							Variables: pulumi.StringMap{
								"string": pulumi.String("string"),
							},
						},
						IgnoreExitStatus: pulumi.Bool(false),
						Labels: pulumi.StringMap{
							"string": pulumi.String("string"),
						},
						Script: &batch.ScriptArgs{
							Path: pulumi.String("string"),
							Text: pulumi.String("string"),
						},
						Timeout: pulumi.String("string"),
					},
				},
				Volumes: batch.VolumeArray{
					&batch.VolumeArgs{
						DeviceName: pulumi.String("string"),
						Gcs: &batch.GCSArgs{
							RemotePath: pulumi.String("string"),
						},
						MountOptions: pulumi.StringArray{
							pulumi.String("string"),
						},
						MountPath: pulumi.String("string"),
						Nfs: &batch.NFSArgs{
							RemotePath: pulumi.String("string"),
							Server:     pulumi.String("string"),
						},
					},
				},
			},
			Parallelism:      pulumi.String("string"),
			PermissiveSsh:    pulumi.Bool(false),
			RequireHostsFile: pulumi.Bool(false),
			SchedulingPolicy: batch.TaskGroupSchedulingPolicySchedulingPolicyUnspecified,
			TaskCount:        pulumi.String("string"),
			TaskCountPerNode: pulumi.String("string"),
			TaskEnvironments: batch.EnvironmentArray{
				&batch.EnvironmentArgs{
					EncryptedVariables: &batch.KMSEnvMapArgs{
						CipherText: pulumi.String("string"),
						KeyName:    pulumi.String("string"),
					},
					SecretVariables: pulumi.StringMap{
						"string": pulumi.String("string"),
					},
					Variables: pulumi.StringMap{
						"string": pulumi.String("string"),
					},
				},
			},
		},
	},
	AllocationPolicy: &batch.AllocationPolicyArgs{
		Instances: batch.InstancePolicyOrTemplateArray{
			&batch.InstancePolicyOrTemplateArgs{
				InstallGpuDrivers: pulumi.Bool(false),
				InstanceTemplate:  pulumi.String("string"),
				Policy: &batch.InstancePolicyArgs{
					Accelerators: batch.AcceleratorArray{
						&batch.AcceleratorArgs{
							Count:         pulumi.String("string"),
							DriverVersion: pulumi.String("string"),
							Type:          pulumi.String("string"),
						},
					},
					BootDisk: &batch.DiskArgs{
						DiskInterface: pulumi.String("string"),
						Image:         pulumi.String("string"),
						SizeGb:        pulumi.String("string"),
						Snapshot:      pulumi.String("string"),
						Type:          pulumi.String("string"),
					},
					Disks: batch.AttachedDiskArray{
						&batch.AttachedDiskArgs{
							DeviceName:   pulumi.String("string"),
							ExistingDisk: pulumi.String("string"),
							NewDisk: &batch.DiskArgs{
								DiskInterface: pulumi.String("string"),
								Image:         pulumi.String("string"),
								SizeGb:        pulumi.String("string"),
								Snapshot:      pulumi.String("string"),
								Type:          pulumi.String("string"),
							},
						},
					},
					MachineType:       pulumi.String("string"),
					MinCpuPlatform:    pulumi.String("string"),
					ProvisioningModel: batch.InstancePolicyProvisioningModelProvisioningModelUnspecified,
					Reservation:       pulumi.String("string"),
				},
			},
		},
		Labels: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		Location: &batch.LocationPolicyArgs{
			AllowedLocations: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
		Network: &batch.NetworkPolicyArgs{
			NetworkInterfaces: batch.NetworkInterfaceArray{
				&batch.NetworkInterfaceArgs{
					Network:             pulumi.String("string"),
					NoExternalIpAddress: pulumi.Bool(false),
					Subnetwork:          pulumi.String("string"),
				},
			},
		},
		Placement: &batch.PlacementPolicyArgs{
			Collocation: pulumi.String("string"),
			MaxDistance: pulumi.String("string"),
		},
		ServiceAccount: &batch.ServiceAccountArgs{
			Email: pulumi.String("string"),
			Scopes: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	JobId: pulumi.String("string"),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Location: pulumi.String("string"),
	LogsPolicy: &batch.LogsPolicyArgs{
		CloudLoggingOption: &batch.CloudLoggingOptionArgs{},
		Destination:        batch.LogsPolicyDestinationDestinationUnspecified,
		LogsPath:           pulumi.String("string"),
	},
	Notifications: batch.JobNotificationArray{
		&batch.JobNotificationArgs{
			Message: &batch.MessageArgs{
				NewJobState:  batch.MessageNewJobStateStateUnspecified,
				NewTaskState: batch.MessageNewTaskStateStateUnspecified,
				Type:         batch.MessageTypeTypeUnspecified,
			},
			PubsubTopic: pulumi.String("string"),
		},
	},
	Priority:  pulumi.String("string"),
	Project:   pulumi.String("string"),
	RequestId: pulumi.String("string"),
})
var jobResource = new Job("jobResource", JobArgs.builder()
    .taskGroups(TaskGroupArgs.builder()
        .taskSpec(TaskSpecArgs.builder()
            .computeResource(ComputeResourceArgs.builder()
                .bootDiskMib("string")
                .cpuMilli("string")
                .memoryMib("string")
                .build())
            .environment(EnvironmentArgs.builder()
                .encryptedVariables(KMSEnvMapArgs.builder()
                    .cipherText("string")
                    .keyName("string")
                    .build())
                .secretVariables(Map.of("string", "string"))
                .variables(Map.of("string", "string"))
                .build())
            .lifecyclePolicies(LifecyclePolicyArgs.builder()
                .action("ACTION_UNSPECIFIED")
                .actionCondition(ActionConditionArgs.builder()
                    .exitCodes(0)
                    .build())
                .build())
            .maxRetryCount(0)
            .maxRunDuration("string")
            .runnables(RunnableArgs.builder()
                .alwaysRun(false)
                .background(false)
                .barrier(BarrierArgs.builder()
                    .name("string")
                    .build())
                .container(ContainerArgs.builder()
                    .blockExternalNetwork(false)
                    .commands("string")
                    .entrypoint("string")
                    .imageUri("string")
                    .options("string")
                    .password("string")
                    .username("string")
                    .volumes("string")
                    .build())
                .displayName("string")
                .environment(EnvironmentArgs.builder()
                    .encryptedVariables(KMSEnvMapArgs.builder()
                        .cipherText("string")
                        .keyName("string")
                        .build())
                    .secretVariables(Map.of("string", "string"))
                    .variables(Map.of("string", "string"))
                    .build())
                .ignoreExitStatus(false)
                .labels(Map.of("string", "string"))
                .script(ScriptArgs.builder()
                    .path("string")
                    .text("string")
                    .build())
                .timeout("string")
                .build())
            .volumes(VolumeArgs.builder()
                .deviceName("string")
                .gcs(GCSArgs.builder()
                    .remotePath("string")
                    .build())
                .mountOptions("string")
                .mountPath("string")
                .nfs(NFSArgs.builder()
                    .remotePath("string")
                    .server("string")
                    .build())
                .build())
            .build())
        .parallelism("string")
        .permissiveSsh(false)
        .requireHostsFile(false)
        .schedulingPolicy("SCHEDULING_POLICY_UNSPECIFIED")
        .taskCount("string")
        .taskCountPerNode("string")
        .taskEnvironments(EnvironmentArgs.builder()
            .encryptedVariables(KMSEnvMapArgs.builder()
                .cipherText("string")
                .keyName("string")
                .build())
            .secretVariables(Map.of("string", "string"))
            .variables(Map.of("string", "string"))
            .build())
        .build())
    .allocationPolicy(AllocationPolicyArgs.builder()
        .instances(InstancePolicyOrTemplateArgs.builder()
            .installGpuDrivers(false)
            .instanceTemplate("string")
            .policy(InstancePolicyArgs.builder()
                .accelerators(AcceleratorArgs.builder()
                    .count("string")
                    .driverVersion("string")
                    .type("string")
                    .build())
                .bootDisk(DiskArgs.builder()
                    .diskInterface("string")
                    .image("string")
                    .sizeGb("string")
                    .snapshot("string")
                    .type("string")
                    .build())
                .disks(AttachedDiskArgs.builder()
                    .deviceName("string")
                    .existingDisk("string")
                    .newDisk(DiskArgs.builder()
                        .diskInterface("string")
                        .image("string")
                        .sizeGb("string")
                        .snapshot("string")
                        .type("string")
                        .build())
                    .build())
                .machineType("string")
                .minCpuPlatform("string")
                .provisioningModel("PROVISIONING_MODEL_UNSPECIFIED")
                .reservation("string")
                .build())
            .build())
        .labels(Map.of("string", "string"))
        .location(LocationPolicyArgs.builder()
            .allowedLocations("string")
            .build())
        .network(NetworkPolicyArgs.builder()
            .networkInterfaces(NetworkInterfaceArgs.builder()
                .network("string")
                .noExternalIpAddress(false)
                .subnetwork("string")
                .build())
            .build())
        .placement(PlacementPolicyArgs.builder()
            .collocation("string")
            .maxDistance("string")
            .build())
        .serviceAccount(ServiceAccountArgs.builder()
            .email("string")
            .scopes("string")
            .build())
        .build())
    .jobId("string")
    .labels(Map.of("string", "string"))
    .location("string")
    .logsPolicy(LogsPolicyArgs.builder()
        .cloudLoggingOption()
        .destination("DESTINATION_UNSPECIFIED")
        .logsPath("string")
        .build())
    .notifications(JobNotificationArgs.builder()
        .message(MessageArgs.builder()
            .newJobState("STATE_UNSPECIFIED")
            .newTaskState("STATE_UNSPECIFIED")
            .type("TYPE_UNSPECIFIED")
            .build())
        .pubsubTopic("string")
        .build())
    .priority("string")
    .project("string")
    .requestId("string")
    .build());
job_resource = google_native.batch.v1.Job("jobResource",
    task_groups=[{
        "task_spec": {
            "compute_resource": {
                "boot_disk_mib": "string",
                "cpu_milli": "string",
                "memory_mib": "string",
            },
            "environment": {
                "encrypted_variables": {
                    "cipher_text": "string",
                    "key_name": "string",
                },
                "secret_variables": {
                    "string": "string",
                },
                "variables": {
                    "string": "string",
                },
            },
            "lifecycle_policies": [{
                "action": google_native.batch.v1.LifecyclePolicyAction.ACTION_UNSPECIFIED,
                "action_condition": {
                    "exit_codes": [0],
                },
            }],
            "max_retry_count": 0,
            "max_run_duration": "string",
            "runnables": [{
                "always_run": False,
                "background": False,
                "barrier": {
                    "name": "string",
                },
                "container": {
                    "block_external_network": False,
                    "commands": ["string"],
                    "entrypoint": "string",
                    "image_uri": "string",
                    "options": "string",
                    "password": "string",
                    "username": "string",
                    "volumes": ["string"],
                },
                "display_name": "string",
                "environment": {
                    "encrypted_variables": {
                        "cipher_text": "string",
                        "key_name": "string",
                    },
                    "secret_variables": {
                        "string": "string",
                    },
                    "variables": {
                        "string": "string",
                    },
                },
                "ignore_exit_status": False,
                "labels": {
                    "string": "string",
                },
                "script": {
                    "path": "string",
                    "text": "string",
                },
                "timeout": "string",
            }],
            "volumes": [{
                "device_name": "string",
                "gcs": {
                    "remote_path": "string",
                },
                "mount_options": ["string"],
                "mount_path": "string",
                "nfs": {
                    "remote_path": "string",
                    "server": "string",
                },
            }],
        },
        "parallelism": "string",
        "permissive_ssh": False,
        "require_hosts_file": False,
        "scheduling_policy": google_native.batch.v1.TaskGroupSchedulingPolicy.SCHEDULING_POLICY_UNSPECIFIED,
        "task_count": "string",
        "task_count_per_node": "string",
        "task_environments": [{
            "encrypted_variables": {
                "cipher_text": "string",
                "key_name": "string",
            },
            "secret_variables": {
                "string": "string",
            },
            "variables": {
                "string": "string",
            },
        }],
    }],
    allocation_policy={
        "instances": [{
            "install_gpu_drivers": False,
            "instance_template": "string",
            "policy": {
                "accelerators": [{
                    "count": "string",
                    "driver_version": "string",
                    "type": "string",
                }],
                "boot_disk": {
                    "disk_interface": "string",
                    "image": "string",
                    "size_gb": "string",
                    "snapshot": "string",
                    "type": "string",
                },
                "disks": [{
                    "device_name": "string",
                    "existing_disk": "string",
                    "new_disk": {
                        "disk_interface": "string",
                        "image": "string",
                        "size_gb": "string",
                        "snapshot": "string",
                        "type": "string",
                    },
                }],
                "machine_type": "string",
                "min_cpu_platform": "string",
                "provisioning_model": google_native.batch.v1.InstancePolicyProvisioningModel.PROVISIONING_MODEL_UNSPECIFIED,
                "reservation": "string",
            },
        }],
        "labels": {
            "string": "string",
        },
        "location": {
            "allowed_locations": ["string"],
        },
        "network": {
            "network_interfaces": [{
                "network": "string",
                "no_external_ip_address": False,
                "subnetwork": "string",
            }],
        },
        "placement": {
            "collocation": "string",
            "max_distance": "string",
        },
        "service_account": {
            "email": "string",
            "scopes": ["string"],
        },
    },
    job_id="string",
    labels={
        "string": "string",
    },
    location="string",
    logs_policy={
        "cloud_logging_option": {},
        "destination": google_native.batch.v1.LogsPolicyDestination.DESTINATION_UNSPECIFIED,
        "logs_path": "string",
    },
    notifications=[{
        "message": {
            "new_job_state": google_native.batch.v1.MessageNewJobState.STATE_UNSPECIFIED,
            "new_task_state": google_native.batch.v1.MessageNewTaskState.STATE_UNSPECIFIED,
            "type": google_native.batch.v1.MessageType.TYPE_UNSPECIFIED,
        },
        "pubsub_topic": "string",
    }],
    priority="string",
    project="string",
    request_id="string")
const jobResource = new google_native.batch.v1.Job("jobResource", {
    taskGroups: [{
        taskSpec: {
            computeResource: {
                bootDiskMib: "string",
                cpuMilli: "string",
                memoryMib: "string",
            },
            environment: {
                encryptedVariables: {
                    cipherText: "string",
                    keyName: "string",
                },
                secretVariables: {
                    string: "string",
                },
                variables: {
                    string: "string",
                },
            },
            lifecyclePolicies: [{
                action: google_native.batch.v1.LifecyclePolicyAction.ActionUnspecified,
                actionCondition: {
                    exitCodes: [0],
                },
            }],
            maxRetryCount: 0,
            maxRunDuration: "string",
            runnables: [{
                alwaysRun: false,
                background: false,
                barrier: {
                    name: "string",
                },
                container: {
                    blockExternalNetwork: false,
                    commands: ["string"],
                    entrypoint: "string",
                    imageUri: "string",
                    options: "string",
                    password: "string",
                    username: "string",
                    volumes: ["string"],
                },
                displayName: "string",
                environment: {
                    encryptedVariables: {
                        cipherText: "string",
                        keyName: "string",
                    },
                    secretVariables: {
                        string: "string",
                    },
                    variables: {
                        string: "string",
                    },
                },
                ignoreExitStatus: false,
                labels: {
                    string: "string",
                },
                script: {
                    path: "string",
                    text: "string",
                },
                timeout: "string",
            }],
            volumes: [{
                deviceName: "string",
                gcs: {
                    remotePath: "string",
                },
                mountOptions: ["string"],
                mountPath: "string",
                nfs: {
                    remotePath: "string",
                    server: "string",
                },
            }],
        },
        parallelism: "string",
        permissiveSsh: false,
        requireHostsFile: false,
        schedulingPolicy: google_native.batch.v1.TaskGroupSchedulingPolicy.SchedulingPolicyUnspecified,
        taskCount: "string",
        taskCountPerNode: "string",
        taskEnvironments: [{
            encryptedVariables: {
                cipherText: "string",
                keyName: "string",
            },
            secretVariables: {
                string: "string",
            },
            variables: {
                string: "string",
            },
        }],
    }],
    allocationPolicy: {
        instances: [{
            installGpuDrivers: false,
            instanceTemplate: "string",
            policy: {
                accelerators: [{
                    count: "string",
                    driverVersion: "string",
                    type: "string",
                }],
                bootDisk: {
                    diskInterface: "string",
                    image: "string",
                    sizeGb: "string",
                    snapshot: "string",
                    type: "string",
                },
                disks: [{
                    deviceName: "string",
                    existingDisk: "string",
                    newDisk: {
                        diskInterface: "string",
                        image: "string",
                        sizeGb: "string",
                        snapshot: "string",
                        type: "string",
                    },
                }],
                machineType: "string",
                minCpuPlatform: "string",
                provisioningModel: google_native.batch.v1.InstancePolicyProvisioningModel.ProvisioningModelUnspecified,
                reservation: "string",
            },
        }],
        labels: {
            string: "string",
        },
        location: {
            allowedLocations: ["string"],
        },
        network: {
            networkInterfaces: [{
                network: "string",
                noExternalIpAddress: false,
                subnetwork: "string",
            }],
        },
        placement: {
            collocation: "string",
            maxDistance: "string",
        },
        serviceAccount: {
            email: "string",
            scopes: ["string"],
        },
    },
    jobId: "string",
    labels: {
        string: "string",
    },
    location: "string",
    logsPolicy: {
        cloudLoggingOption: {},
        destination: google_native.batch.v1.LogsPolicyDestination.DestinationUnspecified,
        logsPath: "string",
    },
    notifications: [{
        message: {
            newJobState: google_native.batch.v1.MessageNewJobState.StateUnspecified,
            newTaskState: google_native.batch.v1.MessageNewTaskState.StateUnspecified,
            type: google_native.batch.v1.MessageType.TypeUnspecified,
        },
        pubsubTopic: "string",
    }],
    priority: "string",
    project: "string",
    requestId: "string",
});
type: google-native:batch/v1:Job
properties:
    allocationPolicy:
        instances:
            - installGpuDrivers: false
              instanceTemplate: string
              policy:
                accelerators:
                    - count: string
                      driverVersion: string
                      type: string
                bootDisk:
                    diskInterface: string
                    image: string
                    sizeGb: string
                    snapshot: string
                    type: string
                disks:
                    - deviceName: string
                      existingDisk: string
                      newDisk:
                        diskInterface: string
                        image: string
                        sizeGb: string
                        snapshot: string
                        type: string
                machineType: string
                minCpuPlatform: string
                provisioningModel: PROVISIONING_MODEL_UNSPECIFIED
                reservation: string
        labels:
            string: string
        location:
            allowedLocations:
                - string
        network:
            networkInterfaces:
                - network: string
                  noExternalIpAddress: false
                  subnetwork: string
        placement:
            collocation: string
            maxDistance: string
        serviceAccount:
            email: string
            scopes:
                - string
    jobId: string
    labels:
        string: string
    location: string
    logsPolicy:
        cloudLoggingOption: {}
        destination: DESTINATION_UNSPECIFIED
        logsPath: string
    notifications:
        - message:
            newJobState: STATE_UNSPECIFIED
            newTaskState: STATE_UNSPECIFIED
            type: TYPE_UNSPECIFIED
          pubsubTopic: string
    priority: string
    project: string
    requestId: string
    taskGroups:
        - parallelism: string
          permissiveSsh: false
          requireHostsFile: false
          schedulingPolicy: SCHEDULING_POLICY_UNSPECIFIED
          taskCount: string
          taskCountPerNode: string
          taskEnvironments:
            - encryptedVariables:
                cipherText: string
                keyName: string
              secretVariables:
                string: string
              variables:
                string: string
          taskSpec:
            computeResource:
                bootDiskMib: string
                cpuMilli: string
                memoryMib: string
            environment:
                encryptedVariables:
                    cipherText: string
                    keyName: string
                secretVariables:
                    string: string
                variables:
                    string: string
            lifecyclePolicies:
                - action: ACTION_UNSPECIFIED
                  actionCondition:
                    exitCodes:
                        - 0
            maxRetryCount: 0
            maxRunDuration: string
            runnables:
                - alwaysRun: false
                  background: false
                  barrier:
                    name: string
                  container:
                    blockExternalNetwork: false
                    commands:
                        - string
                    entrypoint: string
                    imageUri: string
                    options: string
                    password: string
                    username: string
                    volumes:
                        - string
                  displayName: string
                  environment:
                    encryptedVariables:
                        cipherText: string
                        keyName: string
                    secretVariables:
                        string: string
                    variables:
                        string: string
                  ignoreExitStatus: false
                  labels:
                    string: string
                  script:
                    path: string
                    text: string
                  timeout: string
            volumes:
                - deviceName: string
                  gcs:
                    remotePath: string
                  mountOptions:
                    - string
                  mountPath: string
                  nfs:
                    remotePath: string
                    server: string
Job Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Job resource accepts the following input properties:
- TaskGroups List<Pulumi.Google Native. Batch. V1. Inputs. Task Group> 
- TaskGroups in the Job. Only one TaskGroup is supported now.
- AllocationPolicy Pulumi.Google Native. Batch. V1. Inputs. Allocation Policy 
- Compute resource allocation for all TaskGroups in the Job.
- JobId string
- ID used to uniquely identify the Job within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and '-' are accepted. The '-' character cannot be the first or the last one. A system generated ID will be used if the field is not set. The job.name field in the request will be ignored and the created resource name of the Job will be "{parent}/jobs/{job_id}".
- Labels Dictionary<string, string>
- Labels for the Job. Labels could be user provided or system generated. For example, "labels": { "department": "finance", "environment": "test" } You can assign up to 64 labels. Google Compute Engine label restrictions apply. Label names that start with "goog-" or "google-" are reserved.
- Location string
- LogsPolicy Pulumi.Google Native. Batch. V1. Inputs. Logs Policy 
- Log preservation policy for the Job.
- Notifications
List<Pulumi.Google Native. Batch. V1. Inputs. Job Notification> 
- Notification configurations.
- Priority string
- Priority of the Job. The valid value range is [0, 100). Default value is 0. Higher value indicates higher priority. A job with higher priority value is more likely to run earlier if all other requirements are satisfied.
- Project string
- RequestId string
- Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- TaskGroups []TaskGroup Args 
- TaskGroups in the Job. Only one TaskGroup is supported now.
- AllocationPolicy AllocationPolicy Args 
- Compute resource allocation for all TaskGroups in the Job.
- JobId string
- ID used to uniquely identify the Job within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and '-' are accepted. The '-' character cannot be the first or the last one. A system generated ID will be used if the field is not set. The job.name field in the request will be ignored and the created resource name of the Job will be "{parent}/jobs/{job_id}".
- Labels map[string]string
- Labels for the Job. Labels could be user provided or system generated. For example, "labels": { "department": "finance", "environment": "test" } You can assign up to 64 labels. Google Compute Engine label restrictions apply. Label names that start with "goog-" or "google-" are reserved.
- Location string
- LogsPolicy LogsPolicy Args 
- Log preservation policy for the Job.
- Notifications
[]JobNotification Args 
- Notification configurations.
- Priority string
- Priority of the Job. The valid value range is [0, 100). Default value is 0. Higher value indicates higher priority. A job with higher priority value is more likely to run earlier if all other requirements are satisfied.
- Project string
- RequestId string
- Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- taskGroups List<TaskGroup> 
- TaskGroups in the Job. Only one TaskGroup is supported now.
- allocationPolicy AllocationPolicy 
- Compute resource allocation for all TaskGroups in the Job.
- jobId String
- ID used to uniquely identify the Job within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and '-' are accepted. The '-' character cannot be the first or the last one. A system generated ID will be used if the field is not set. The job.name field in the request will be ignored and the created resource name of the Job will be "{parent}/jobs/{job_id}".
- labels Map<String,String>
- Labels for the Job. Labels could be user provided or system generated. For example, "labels": { "department": "finance", "environment": "test" } You can assign up to 64 labels. Google Compute Engine label restrictions apply. Label names that start with "goog-" or "google-" are reserved.
- location String
- logsPolicy LogsPolicy 
- Log preservation policy for the Job.
- notifications
List<JobNotification> 
- Notification configurations.
- priority String
- Priority of the Job. The valid value range is [0, 100). Default value is 0. Higher value indicates higher priority. A job with higher priority value is more likely to run earlier if all other requirements are satisfied.
- project String
- requestId String
- Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- taskGroups TaskGroup[] 
- TaskGroups in the Job. Only one TaskGroup is supported now.
- allocationPolicy AllocationPolicy 
- Compute resource allocation for all TaskGroups in the Job.
- jobId string
- ID used to uniquely identify the Job within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and '-' are accepted. The '-' character cannot be the first or the last one. A system generated ID will be used if the field is not set. The job.name field in the request will be ignored and the created resource name of the Job will be "{parent}/jobs/{job_id}".
- labels {[key: string]: string}
- Labels for the Job. Labels could be user provided or system generated. For example, "labels": { "department": "finance", "environment": "test" } You can assign up to 64 labels. Google Compute Engine label restrictions apply. Label names that start with "goog-" or "google-" are reserved.
- location string
- logsPolicy LogsPolicy 
- Log preservation policy for the Job.
- notifications
JobNotification[] 
- Notification configurations.
- priority string
- Priority of the Job. The valid value range is [0, 100). Default value is 0. Higher value indicates higher priority. A job with higher priority value is more likely to run earlier if all other requirements are satisfied.
- project string
- requestId string
- Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- task_groups Sequence[TaskGroup Args] 
- TaskGroups in the Job. Only one TaskGroup is supported now.
- allocation_policy AllocationPolicy Args 
- Compute resource allocation for all TaskGroups in the Job.
- job_id str
- ID used to uniquely identify the Job within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and '-' are accepted. The '-' character cannot be the first or the last one. A system generated ID will be used if the field is not set. The job.name field in the request will be ignored and the created resource name of the Job will be "{parent}/jobs/{job_id}".
- labels Mapping[str, str]
- Labels for the Job. Labels could be user provided or system generated. For example, "labels": { "department": "finance", "environment": "test" } You can assign up to 64 labels. Google Compute Engine label restrictions apply. Label names that start with "goog-" or "google-" are reserved.
- location str
- logs_policy LogsPolicy Args 
- Log preservation policy for the Job.
- notifications
Sequence[JobNotification Args] 
- Notification configurations.
- priority str
- Priority of the Job. The valid value range is [0, 100). Default value is 0. Higher value indicates higher priority. A job with higher priority value is more likely to run earlier if all other requirements are satisfied.
- project str
- request_id str
- Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- taskGroups List<Property Map>
- TaskGroups in the Job. Only one TaskGroup is supported now.
- allocationPolicy Property Map
- Compute resource allocation for all TaskGroups in the Job.
- jobId String
- ID used to uniquely identify the Job within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and '-' are accepted. The '-' character cannot be the first or the last one. A system generated ID will be used if the field is not set. The job.name field in the request will be ignored and the created resource name of the Job will be "{parent}/jobs/{job_id}".
- labels Map<String>
- Labels for the Job. Labels could be user provided or system generated. For example, "labels": { "department": "finance", "environment": "test" } You can assign up to 64 labels. Google Compute Engine label restrictions apply. Label names that start with "goog-" or "google-" are reserved.
- location String
- logsPolicy Property Map
- Log preservation policy for the Job.
- notifications List<Property Map>
- Notification configurations.
- priority String
- Priority of the Job. The valid value range is [0, 100). Default value is 0. Higher value indicates higher priority. A job with higher priority value is more likely to run earlier if all other requirements are satisfied.
- project String
- requestId String
- Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Outputs
All input properties are implicitly available as output properties. Additionally, the Job resource produces the following output properties:
- CreateTime string
- When the Job was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Job name. For example: "projects/123456/locations/us-central1/jobs/job01".
- Status
Pulumi.Google Native. Batch. V1. Outputs. Job Status Response 
- Job status. It is read only for users.
- Uid string
- A system generated unique ID (in UUID4 format) for the Job.
- UpdateTime string
- The last time the Job was updated.
- CreateTime string
- When the Job was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Job name. For example: "projects/123456/locations/us-central1/jobs/job01".
- Status
JobStatus Response 
- Job status. It is read only for users.
- Uid string
- A system generated unique ID (in UUID4 format) for the Job.
- UpdateTime string
- The last time the Job was updated.
- createTime String
- When the Job was created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Job name. For example: "projects/123456/locations/us-central1/jobs/job01".
- status
JobStatus Response 
- Job status. It is read only for users.
- uid String
- A system generated unique ID (in UUID4 format) for the Job.
- updateTime String
- The last time the Job was updated.
- createTime string
- When the Job was created.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Job name. For example: "projects/123456/locations/us-central1/jobs/job01".
- status
JobStatus Response 
- Job status. It is read only for users.
- uid string
- A system generated unique ID (in UUID4 format) for the Job.
- updateTime string
- The last time the Job was updated.
- create_time str
- When the Job was created.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Job name. For example: "projects/123456/locations/us-central1/jobs/job01".
- status
JobStatus Response 
- Job status. It is read only for users.
- uid str
- A system generated unique ID (in UUID4 format) for the Job.
- update_time str
- The last time the Job was updated.
- createTime String
- When the Job was created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Job name. For example: "projects/123456/locations/us-central1/jobs/job01".
- status Property Map
- Job status. It is read only for users.
- uid String
- A system generated unique ID (in UUID4 format) for the Job.
- updateTime String
- The last time the Job was updated.
Supporting Types
Accelerator, AcceleratorArgs  
- Count string
- The number of accelerators of this type.
- DriverVersion string
- Optional. The NVIDIA GPU driver version that should be installed for this type. You can define the specific driver version such as "470.103.01", following the driver version requirements in https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. Batch will install the specific accelerator driver if qualified.
- InstallGpu boolDrivers 
- Deprecated: please use instances[0].install_gpu_drivers instead.
- Type string
- The accelerator type. For example, "nvidia-tesla-t4". See gcloud compute accelerator-types list.
- Count string
- The number of accelerators of this type.
- DriverVersion string
- Optional. The NVIDIA GPU driver version that should be installed for this type. You can define the specific driver version such as "470.103.01", following the driver version requirements in https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. Batch will install the specific accelerator driver if qualified.
- InstallGpu boolDrivers 
- Deprecated: please use instances[0].install_gpu_drivers instead.
- Type string
- The accelerator type. For example, "nvidia-tesla-t4". See gcloud compute accelerator-types list.
- count String
- The number of accelerators of this type.
- driverVersion String
- Optional. The NVIDIA GPU driver version that should be installed for this type. You can define the specific driver version such as "470.103.01", following the driver version requirements in https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. Batch will install the specific accelerator driver if qualified.
- installGpu BooleanDrivers 
- Deprecated: please use instances[0].install_gpu_drivers instead.
- type String
- The accelerator type. For example, "nvidia-tesla-t4". See gcloud compute accelerator-types list.
- count string
- The number of accelerators of this type.
- driverVersion string
- Optional. The NVIDIA GPU driver version that should be installed for this type. You can define the specific driver version such as "470.103.01", following the driver version requirements in https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. Batch will install the specific accelerator driver if qualified.
- installGpu booleanDrivers 
- Deprecated: please use instances[0].install_gpu_drivers instead.
- type string
- The accelerator type. For example, "nvidia-tesla-t4". See gcloud compute accelerator-types list.
- count str
- The number of accelerators of this type.
- driver_version str
- Optional. The NVIDIA GPU driver version that should be installed for this type. You can define the specific driver version such as "470.103.01", following the driver version requirements in https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. Batch will install the specific accelerator driver if qualified.
- install_gpu_ booldrivers 
- Deprecated: please use instances[0].install_gpu_drivers instead.
- type str
- The accelerator type. For example, "nvidia-tesla-t4". See gcloud compute accelerator-types list.
- count String
- The number of accelerators of this type.
- driverVersion String
- Optional. The NVIDIA GPU driver version that should be installed for this type. You can define the specific driver version such as "470.103.01", following the driver version requirements in https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. Batch will install the specific accelerator driver if qualified.
- installGpu BooleanDrivers 
- Deprecated: please use instances[0].install_gpu_drivers instead.
- type String
- The accelerator type. For example, "nvidia-tesla-t4". See gcloud compute accelerator-types list.
AcceleratorResponse, AcceleratorResponseArgs    
- Count string
- The number of accelerators of this type.
- DriverVersion string
- Optional. The NVIDIA GPU driver version that should be installed for this type. You can define the specific driver version such as "470.103.01", following the driver version requirements in https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. Batch will install the specific accelerator driver if qualified.
- InstallGpu boolDrivers 
- Deprecated: please use instances[0].install_gpu_drivers instead.
- Type string
- The accelerator type. For example, "nvidia-tesla-t4". See gcloud compute accelerator-types list.
- Count string
- The number of accelerators of this type.
- DriverVersion string
- Optional. The NVIDIA GPU driver version that should be installed for this type. You can define the specific driver version such as "470.103.01", following the driver version requirements in https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. Batch will install the specific accelerator driver if qualified.
- InstallGpu boolDrivers 
- Deprecated: please use instances[0].install_gpu_drivers instead.
- Type string
- The accelerator type. For example, "nvidia-tesla-t4". See gcloud compute accelerator-types list.
- count String
- The number of accelerators of this type.
- driverVersion String
- Optional. The NVIDIA GPU driver version that should be installed for this type. You can define the specific driver version such as "470.103.01", following the driver version requirements in https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. Batch will install the specific accelerator driver if qualified.
- installGpu BooleanDrivers 
- Deprecated: please use instances[0].install_gpu_drivers instead.
- type String
- The accelerator type. For example, "nvidia-tesla-t4". See gcloud compute accelerator-types list.
- count string
- The number of accelerators of this type.
- driverVersion string
- Optional. The NVIDIA GPU driver version that should be installed for this type. You can define the specific driver version such as "470.103.01", following the driver version requirements in https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. Batch will install the specific accelerator driver if qualified.
- installGpu booleanDrivers 
- Deprecated: please use instances[0].install_gpu_drivers instead.
- type string
- The accelerator type. For example, "nvidia-tesla-t4". See gcloud compute accelerator-types list.
- count str
- The number of accelerators of this type.
- driver_version str
- Optional. The NVIDIA GPU driver version that should be installed for this type. You can define the specific driver version such as "470.103.01", following the driver version requirements in https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. Batch will install the specific accelerator driver if qualified.
- install_gpu_ booldrivers 
- Deprecated: please use instances[0].install_gpu_drivers instead.
- type str
- The accelerator type. For example, "nvidia-tesla-t4". See gcloud compute accelerator-types list.
- count String
- The number of accelerators of this type.
- driverVersion String
- Optional. The NVIDIA GPU driver version that should be installed for this type. You can define the specific driver version such as "470.103.01", following the driver version requirements in https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. Batch will install the specific accelerator driver if qualified.
- installGpu BooleanDrivers 
- Deprecated: please use instances[0].install_gpu_drivers instead.
- type String
- The accelerator type. For example, "nvidia-tesla-t4". See gcloud compute accelerator-types list.
ActionCondition, ActionConditionArgs    
- ExitCodes List<int>
- Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.
- ExitCodes []int
- Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.
- exitCodes List<Integer>
- Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.
- exitCodes number[]
- Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.
- exit_codes Sequence[int]
- Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.
- exitCodes List<Number>
- Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.
ActionConditionResponse, ActionConditionResponseArgs      
- ExitCodes List<int>
- Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.
- ExitCodes []int
- Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.
- exitCodes List<Integer>
- Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.
- exitCodes number[]
- Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.
- exit_codes Sequence[int]
- Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.
- exitCodes List<Number>
- Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.
AllocationPolicy, AllocationPolicyArgs    
- Instances
List<Pulumi.Google Native. Batch. V1. Inputs. Instance Policy Or Template> 
- Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now.
- Labels Dictionary<string, string>
- 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.
- Location
Pulumi.Google Native. Batch. V1. Inputs. Location Policy 
- Location where compute resources should be allocated for the Job.
- Network
Pulumi.Google Native. Batch. V1. Inputs. Network Policy 
- The network policy. If you define an instance template in the InstancePolicyOrTemplate field, Batch will use the network settings in the instance template instead of this field.
- Placement
Pulumi.Google Native. Batch. V1. Inputs. Placement Policy 
- The placement policy.
- ServiceAccount Pulumi.Google Native. Batch. V1. Inputs. Service Account 
- Service account that VMs will run as.
- Instances
[]InstancePolicy Or Template 
- Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now.
- Labels map[string]string
- 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.
- Location
LocationPolicy 
- Location where compute resources should be allocated for the Job.
- Network
NetworkPolicy 
- The network policy. If you define an instance template in the InstancePolicyOrTemplate field, Batch will use the network settings in the instance template instead of this field.
- Placement
PlacementPolicy 
- The placement policy.
- ServiceAccount ServiceAccount 
- Service account that VMs will run as.
- instances
List<InstancePolicy Or Template> 
- Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now.
- labels Map<String,String>
- 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.
- location
LocationPolicy 
- Location where compute resources should be allocated for the Job.
- network
NetworkPolicy 
- The network policy. If you define an instance template in the InstancePolicyOrTemplate field, Batch will use the network settings in the instance template instead of this field.
- placement
PlacementPolicy 
- The placement policy.
- serviceAccount ServiceAccount 
- Service account that VMs will run as.
- instances
InstancePolicy Or Template[] 
- Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now.
- labels {[key: string]: string}
- 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.
- location
LocationPolicy 
- Location where compute resources should be allocated for the Job.
- network
NetworkPolicy 
- The network policy. If you define an instance template in the InstancePolicyOrTemplate field, Batch will use the network settings in the instance template instead of this field.
- placement
PlacementPolicy 
- The placement policy.
- serviceAccount ServiceAccount 
- Service account that VMs will run as.
- instances
Sequence[InstancePolicy Or Template] 
- Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now.
- labels Mapping[str, str]
- 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.
- location
LocationPolicy 
- Location where compute resources should be allocated for the Job.
- network
NetworkPolicy 
- The network policy. If you define an instance template in the InstancePolicyOrTemplate field, Batch will use the network settings in the instance template instead of this field.
- placement
PlacementPolicy 
- The placement policy.
- service_account ServiceAccount 
- Service account that VMs will run as.
- instances List<Property Map>
- Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now.
- labels Map<String>
- 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.
- location Property Map
- Location where compute resources should be allocated for the Job.
- network Property Map
- The network policy. If you define an instance template in the InstancePolicyOrTemplate field, Batch will use the network settings in the instance template instead of this field.
- placement Property Map
- The placement policy.
- serviceAccount Property Map
- Service account that VMs will run as.
AllocationPolicyResponse, AllocationPolicyResponseArgs      
- Instances
List<Pulumi.Google Native. Batch. V1. Inputs. Instance Policy Or Template Response> 
- Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now.
- Labels Dictionary<string, string>
- 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.
- Location
Pulumi.Google Native. Batch. V1. Inputs. Location Policy Response 
- Location where compute resources should be allocated for the Job.
- Network
Pulumi.Google Native. Batch. V1. Inputs. Network Policy Response 
- The network policy. If you define an instance template in the InstancePolicyOrTemplate field, Batch will use the network settings in the instance template instead of this field.
- Placement
Pulumi.Google Native. Batch. V1. Inputs. Placement Policy Response 
- The placement policy.
- ServiceAccount Pulumi.Google Native. Batch. V1. Inputs. Service Account Response 
- Service account that VMs will run as.
- Instances
[]InstancePolicy Or Template Response 
- Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now.
- Labels map[string]string
- 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.
- Location
LocationPolicy Response 
- Location where compute resources should be allocated for the Job.
- Network
NetworkPolicy Response 
- The network policy. If you define an instance template in the InstancePolicyOrTemplate field, Batch will use the network settings in the instance template instead of this field.
- Placement
PlacementPolicy Response 
- The placement policy.
- ServiceAccount ServiceAccount Response 
- Service account that VMs will run as.
- instances
List<InstancePolicy Or Template Response> 
- Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now.
- labels Map<String,String>
- 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.
- location
LocationPolicy Response 
- Location where compute resources should be allocated for the Job.
- network
NetworkPolicy Response 
- The network policy. If you define an instance template in the InstancePolicyOrTemplate field, Batch will use the network settings in the instance template instead of this field.
- placement
PlacementPolicy Response 
- The placement policy.
- serviceAccount ServiceAccount Response 
- Service account that VMs will run as.
- instances
InstancePolicy Or Template Response[] 
- Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now.
- labels {[key: string]: string}
- 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.
- location
LocationPolicy Response 
- Location where compute resources should be allocated for the Job.
- network
NetworkPolicy Response 
- The network policy. If you define an instance template in the InstancePolicyOrTemplate field, Batch will use the network settings in the instance template instead of this field.
- placement
PlacementPolicy Response 
- The placement policy.
- serviceAccount ServiceAccount Response 
- Service account that VMs will run as.
- instances
Sequence[InstancePolicy Or Template Response] 
- Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now.
- labels Mapping[str, str]
- 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.
- location
LocationPolicy Response 
- Location where compute resources should be allocated for the Job.
- network
NetworkPolicy Response 
- The network policy. If you define an instance template in the InstancePolicyOrTemplate field, Batch will use the network settings in the instance template instead of this field.
- placement
PlacementPolicy Response 
- The placement policy.
- service_account ServiceAccount Response 
- Service account that VMs will run as.
- instances List<Property Map>
- Describe instances that can be created by this AllocationPolicy. Only instances[0] is supported now.
- labels Map<String>
- 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.
- location Property Map
- Location where compute resources should be allocated for the Job.
- network Property Map
- The network policy. If you define an instance template in the InstancePolicyOrTemplate field, Batch will use the network settings in the instance template instead of this field.
- placement Property Map
- The placement policy.
- serviceAccount Property Map
- Service account that VMs will run as.
AttachedDisk, AttachedDiskArgs    
- DeviceName string
- Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes.
- ExistingDisk string
- Name of an existing PD.
- NewDisk Pulumi.Google Native. Batch. V1. Inputs. Disk 
- DeviceName string
- Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes.
- ExistingDisk string
- Name of an existing PD.
- NewDisk Disk
- deviceName String
- Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes.
- existingDisk String
- Name of an existing PD.
- newDisk Disk
- deviceName string
- Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes.
- existingDisk string
- Name of an existing PD.
- newDisk Disk
- device_name str
- Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes.
- existing_disk str
- Name of an existing PD.
- new_disk Disk
- deviceName String
- Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes.
- existingDisk String
- Name of an existing PD.
- newDisk Property Map
AttachedDiskResponse, AttachedDiskResponseArgs      
- DeviceName string
- Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes.
- ExistingDisk string
- Name of an existing PD.
- NewDisk Pulumi.Google Native. Batch. V1. Inputs. Disk Response 
- DeviceName string
- Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes.
- ExistingDisk string
- Name of an existing PD.
- NewDisk DiskResponse 
- deviceName String
- Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes.
- existingDisk String
- Name of an existing PD.
- newDisk DiskResponse 
- deviceName string
- Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes.
- existingDisk string
- Name of an existing PD.
- newDisk DiskResponse 
- device_name str
- Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes.
- existing_disk str
- Name of an existing PD.
- new_disk DiskResponse 
- deviceName String
- Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes.
- existingDisk String
- Name of an existing PD.
- newDisk Property Map
Barrier, BarrierArgs  
- Name string
- Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier.
- Name string
- Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier.
- name String
- Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier.
- name string
- Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier.
- name str
- Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier.
- name String
- Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier.
BarrierResponse, BarrierResponseArgs    
- Name string
- Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier.
- Name string
- Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier.
- name String
- Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier.
- name string
- Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier.
- name str
- Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier.
- name String
- Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier.
ComputeResource, ComputeResourceArgs    
- BootDisk stringMib 
- Extra boot disk size in MiB for each task.
- CpuMilli string
- The milliCPU count. cpuMillidefines the amount of CPU resources per task in milliCPU units. For example,1000corresponds to 1 vCPU per task. If undefined, the default value is2000. If you also define the VM's machine type using themachineTypein InstancePolicy field or inside theinstanceTemplatein the InstancePolicyOrTemplate field, make sure the CPU resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify then2-standard-2machine type, which has 2 vCPUs each, you are recommended to setcpuMillino more than2000, or you are recommended to run two tasks on the same VM if you setcpuMillito1000or less.
- MemoryMib string
- Memory in MiB. memoryMibdefines the amount of memory per task in MiB units. If undefined, the default value is2000. If you also define the VM's machine type using themachineTypein InstancePolicy field or inside theinstanceTemplatein the InstancePolicyOrTemplate field, make sure the memory resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify then2-standard-2machine type, which has 8 GiB each, you are recommended to setmemoryMibto no more than8192, or you are recommended to run two tasks on the same VM if you setmemoryMibto4096or less.
- BootDisk stringMib 
- Extra boot disk size in MiB for each task.
- CpuMilli string
- The milliCPU count. cpuMillidefines the amount of CPU resources per task in milliCPU units. For example,1000corresponds to 1 vCPU per task. If undefined, the default value is2000. If you also define the VM's machine type using themachineTypein InstancePolicy field or inside theinstanceTemplatein the InstancePolicyOrTemplate field, make sure the CPU resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify then2-standard-2machine type, which has 2 vCPUs each, you are recommended to setcpuMillino more than2000, or you are recommended to run two tasks on the same VM if you setcpuMillito1000or less.
- MemoryMib string
- Memory in MiB. memoryMibdefines the amount of memory per task in MiB units. If undefined, the default value is2000. If you also define the VM's machine type using themachineTypein InstancePolicy field or inside theinstanceTemplatein the InstancePolicyOrTemplate field, make sure the memory resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify then2-standard-2machine type, which has 8 GiB each, you are recommended to setmemoryMibto no more than8192, or you are recommended to run two tasks on the same VM if you setmemoryMibto4096or less.
- bootDisk StringMib 
- Extra boot disk size in MiB for each task.
- cpuMilli String
- The milliCPU count. cpuMillidefines the amount of CPU resources per task in milliCPU units. For example,1000corresponds to 1 vCPU per task. If undefined, the default value is2000. If you also define the VM's machine type using themachineTypein InstancePolicy field or inside theinstanceTemplatein the InstancePolicyOrTemplate field, make sure the CPU resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify then2-standard-2machine type, which has 2 vCPUs each, you are recommended to setcpuMillino more than2000, or you are recommended to run two tasks on the same VM if you setcpuMillito1000or less.
- memoryMib String
- Memory in MiB. memoryMibdefines the amount of memory per task in MiB units. If undefined, the default value is2000. If you also define the VM's machine type using themachineTypein InstancePolicy field or inside theinstanceTemplatein the InstancePolicyOrTemplate field, make sure the memory resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify then2-standard-2machine type, which has 8 GiB each, you are recommended to setmemoryMibto no more than8192, or you are recommended to run two tasks on the same VM if you setmemoryMibto4096or less.
- bootDisk stringMib 
- Extra boot disk size in MiB for each task.
- cpuMilli string
- The milliCPU count. cpuMillidefines the amount of CPU resources per task in milliCPU units. For example,1000corresponds to 1 vCPU per task. If undefined, the default value is2000. If you also define the VM's machine type using themachineTypein InstancePolicy field or inside theinstanceTemplatein the InstancePolicyOrTemplate field, make sure the CPU resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify then2-standard-2machine type, which has 2 vCPUs each, you are recommended to setcpuMillino more than2000, or you are recommended to run two tasks on the same VM if you setcpuMillito1000or less.
- memoryMib string
- Memory in MiB. memoryMibdefines the amount of memory per task in MiB units. If undefined, the default value is2000. If you also define the VM's machine type using themachineTypein InstancePolicy field or inside theinstanceTemplatein the InstancePolicyOrTemplate field, make sure the memory resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify then2-standard-2machine type, which has 8 GiB each, you are recommended to setmemoryMibto no more than8192, or you are recommended to run two tasks on the same VM if you setmemoryMibto4096or less.
- boot_disk_ strmib 
- Extra boot disk size in MiB for each task.
- cpu_milli str
- The milliCPU count. cpuMillidefines the amount of CPU resources per task in milliCPU units. For example,1000corresponds to 1 vCPU per task. If undefined, the default value is2000. If you also define the VM's machine type using themachineTypein InstancePolicy field or inside theinstanceTemplatein the InstancePolicyOrTemplate field, make sure the CPU resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify then2-standard-2machine type, which has 2 vCPUs each, you are recommended to setcpuMillino more than2000, or you are recommended to run two tasks on the same VM if you setcpuMillito1000or less.
- memory_mib str
- Memory in MiB. memoryMibdefines the amount of memory per task in MiB units. If undefined, the default value is2000. If you also define the VM's machine type using themachineTypein InstancePolicy field or inside theinstanceTemplatein the InstancePolicyOrTemplate field, make sure the memory resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify then2-standard-2machine type, which has 8 GiB each, you are recommended to setmemoryMibto no more than8192, or you are recommended to run two tasks on the same VM if you setmemoryMibto4096or less.
- bootDisk StringMib 
- Extra boot disk size in MiB for each task.
- cpuMilli String
- The milliCPU count. cpuMillidefines the amount of CPU resources per task in milliCPU units. For example,1000corresponds to 1 vCPU per task. If undefined, the default value is2000. If you also define the VM's machine type using themachineTypein InstancePolicy field or inside theinstanceTemplatein the InstancePolicyOrTemplate field, make sure the CPU resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify then2-standard-2machine type, which has 2 vCPUs each, you are recommended to setcpuMillino more than2000, or you are recommended to run two tasks on the same VM if you setcpuMillito1000or less.
- memoryMib String
- Memory in MiB. memoryMibdefines the amount of memory per task in MiB units. If undefined, the default value is2000. If you also define the VM's machine type using themachineTypein InstancePolicy field or inside theinstanceTemplatein the InstancePolicyOrTemplate field, make sure the memory resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify then2-standard-2machine type, which has 8 GiB each, you are recommended to setmemoryMibto no more than8192, or you are recommended to run two tasks on the same VM if you setmemoryMibto4096or less.
ComputeResourceResponse, ComputeResourceResponseArgs      
- BootDisk stringMib 
- Extra boot disk size in MiB for each task.
- CpuMilli string
- The milliCPU count. cpuMillidefines the amount of CPU resources per task in milliCPU units. For example,1000corresponds to 1 vCPU per task. If undefined, the default value is2000. If you also define the VM's machine type using themachineTypein InstancePolicy field or inside theinstanceTemplatein the InstancePolicyOrTemplate field, make sure the CPU resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify then2-standard-2machine type, which has 2 vCPUs each, you are recommended to setcpuMillino more than2000, or you are recommended to run two tasks on the same VM if you setcpuMillito1000or less.
- MemoryMib string
- Memory in MiB. memoryMibdefines the amount of memory per task in MiB units. If undefined, the default value is2000. If you also define the VM's machine type using themachineTypein InstancePolicy field or inside theinstanceTemplatein the InstancePolicyOrTemplate field, make sure the memory resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify then2-standard-2machine type, which has 8 GiB each, you are recommended to setmemoryMibto no more than8192, or you are recommended to run two tasks on the same VM if you setmemoryMibto4096or less.
- BootDisk stringMib 
- Extra boot disk size in MiB for each task.
- CpuMilli string
- The milliCPU count. cpuMillidefines the amount of CPU resources per task in milliCPU units. For example,1000corresponds to 1 vCPU per task. If undefined, the default value is2000. If you also define the VM's machine type using themachineTypein InstancePolicy field or inside theinstanceTemplatein the InstancePolicyOrTemplate field, make sure the CPU resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify then2-standard-2machine type, which has 2 vCPUs each, you are recommended to setcpuMillino more than2000, or you are recommended to run two tasks on the same VM if you setcpuMillito1000or less.
- MemoryMib string
- Memory in MiB. memoryMibdefines the amount of memory per task in MiB units. If undefined, the default value is2000. If you also define the VM's machine type using themachineTypein InstancePolicy field or inside theinstanceTemplatein the InstancePolicyOrTemplate field, make sure the memory resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify then2-standard-2machine type, which has 8 GiB each, you are recommended to setmemoryMibto no more than8192, or you are recommended to run two tasks on the same VM if you setmemoryMibto4096or less.
- bootDisk StringMib 
- Extra boot disk size in MiB for each task.
- cpuMilli String
- The milliCPU count. cpuMillidefines the amount of CPU resources per task in milliCPU units. For example,1000corresponds to 1 vCPU per task. If undefined, the default value is2000. If you also define the VM's machine type using themachineTypein InstancePolicy field or inside theinstanceTemplatein the InstancePolicyOrTemplate field, make sure the CPU resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify then2-standard-2machine type, which has 2 vCPUs each, you are recommended to setcpuMillino more than2000, or you are recommended to run two tasks on the same VM if you setcpuMillito1000or less.
- memoryMib String
- Memory in MiB. memoryMibdefines the amount of memory per task in MiB units. If undefined, the default value is2000. If you also define the VM's machine type using themachineTypein InstancePolicy field or inside theinstanceTemplatein the InstancePolicyOrTemplate field, make sure the memory resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify then2-standard-2machine type, which has 8 GiB each, you are recommended to setmemoryMibto no more than8192, or you are recommended to run two tasks on the same VM if you setmemoryMibto4096or less.
- bootDisk stringMib 
- Extra boot disk size in MiB for each task.
- cpuMilli string
- The milliCPU count. cpuMillidefines the amount of CPU resources per task in milliCPU units. For example,1000corresponds to 1 vCPU per task. If undefined, the default value is2000. If you also define the VM's machine type using themachineTypein InstancePolicy field or inside theinstanceTemplatein the InstancePolicyOrTemplate field, make sure the CPU resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify then2-standard-2machine type, which has 2 vCPUs each, you are recommended to setcpuMillino more than2000, or you are recommended to run two tasks on the same VM if you setcpuMillito1000or less.
- memoryMib string
- Memory in MiB. memoryMibdefines the amount of memory per task in MiB units. If undefined, the default value is2000. If you also define the VM's machine type using themachineTypein InstancePolicy field or inside theinstanceTemplatein the InstancePolicyOrTemplate field, make sure the memory resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify then2-standard-2machine type, which has 8 GiB each, you are recommended to setmemoryMibto no more than8192, or you are recommended to run two tasks on the same VM if you setmemoryMibto4096or less.
- boot_disk_ strmib 
- Extra boot disk size in MiB for each task.
- cpu_milli str
- The milliCPU count. cpuMillidefines the amount of CPU resources per task in milliCPU units. For example,1000corresponds to 1 vCPU per task. If undefined, the default value is2000. If you also define the VM's machine type using themachineTypein InstancePolicy field or inside theinstanceTemplatein the InstancePolicyOrTemplate field, make sure the CPU resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify then2-standard-2machine type, which has 2 vCPUs each, you are recommended to setcpuMillino more than2000, or you are recommended to run two tasks on the same VM if you setcpuMillito1000or less.
- memory_mib str
- Memory in MiB. memoryMibdefines the amount of memory per task in MiB units. If undefined, the default value is2000. If you also define the VM's machine type using themachineTypein InstancePolicy field or inside theinstanceTemplatein the InstancePolicyOrTemplate field, make sure the memory resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify then2-standard-2machine type, which has 8 GiB each, you are recommended to setmemoryMibto no more than8192, or you are recommended to run two tasks on the same VM if you setmemoryMibto4096or less.
- bootDisk StringMib 
- Extra boot disk size in MiB for each task.
- cpuMilli String
- The milliCPU count. cpuMillidefines the amount of CPU resources per task in milliCPU units. For example,1000corresponds to 1 vCPU per task. If undefined, the default value is2000. If you also define the VM's machine type using themachineTypein InstancePolicy field or inside theinstanceTemplatein the InstancePolicyOrTemplate field, make sure the CPU resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify then2-standard-2machine type, which has 2 vCPUs each, you are recommended to setcpuMillino more than2000, or you are recommended to run two tasks on the same VM if you setcpuMillito1000or less.
- memoryMib String
- Memory in MiB. memoryMibdefines the amount of memory per task in MiB units. If undefined, the default value is2000. If you also define the VM's machine type using themachineTypein InstancePolicy field or inside theinstanceTemplatein the InstancePolicyOrTemplate field, make sure the memory resources for both fields are compatible with each other and with how many tasks you want to allow to run on the same VM at the same time. For example, if you specify then2-standard-2machine type, which has 8 GiB each, you are recommended to setmemoryMibto no more than8192, or you are recommended to run two tasks on the same VM if you setmemoryMibto4096or less.
Container, ContainerArgs  
- BlockExternal boolNetwork 
- If set to true, external network access to and from container will be blocked, containers that are with block_external_network as true can still communicate with each other, network cannot be specified in the container.optionsfield.
- Commands List<string>
- Overrides the CMDspecified in the container. If there is an ENTRYPOINT (either in the container image or with the entrypoint field below) then commands are appended as arguments to the ENTRYPOINT.
- Entrypoint string
- Overrides the ENTRYPOINTspecified in the container.
- ImageUri string
- The URI to pull the container image from.
- Options string
- Arbitrary additional options to include in the "docker run" command when running this container, e.g. "--network host".
- Password string
- Optional password for logging in to a docker registry. If password matches projects/*/secrets/*/versions/*then Batch will read the password from the Secret Manager;
- Username string
- Optional username for logging in to a docker registry. If username matches projects/*/secrets/*/versions/*then Batch will read the username from the Secret Manager.
- Volumes List<string>
- Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro If the TaskSpec.Volumesfield is specified but this field is not, Batch will mount each volume from the host machine to the container with the same mount path by default. In this case, the default mount option for containers will be read-only (ro) for existing persistent disks and read-write (rw) for other volume types, regardless of the original mount options specified inTaskSpec.Volumes. If you need different mount settings, you can explicitly configure them in this field.
- BlockExternal boolNetwork 
- If set to true, external network access to and from container will be blocked, containers that are with block_external_network as true can still communicate with each other, network cannot be specified in the container.optionsfield.
- Commands []string
- Overrides the CMDspecified in the container. If there is an ENTRYPOINT (either in the container image or with the entrypoint field below) then commands are appended as arguments to the ENTRYPOINT.
- Entrypoint string
- Overrides the ENTRYPOINTspecified in the container.
- ImageUri string
- The URI to pull the container image from.
- Options string
- Arbitrary additional options to include in the "docker run" command when running this container, e.g. "--network host".
- Password string
- Optional password for logging in to a docker registry. If password matches projects/*/secrets/*/versions/*then Batch will read the password from the Secret Manager;
- Username string
- Optional username for logging in to a docker registry. If username matches projects/*/secrets/*/versions/*then Batch will read the username from the Secret Manager.
- Volumes []string
- Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro If the TaskSpec.Volumesfield is specified but this field is not, Batch will mount each volume from the host machine to the container with the same mount path by default. In this case, the default mount option for containers will be read-only (ro) for existing persistent disks and read-write (rw) for other volume types, regardless of the original mount options specified inTaskSpec.Volumes. If you need different mount settings, you can explicitly configure them in this field.
- blockExternal BooleanNetwork 
- If set to true, external network access to and from container will be blocked, containers that are with block_external_network as true can still communicate with each other, network cannot be specified in the container.optionsfield.
- commands List<String>
- Overrides the CMDspecified in the container. If there is an ENTRYPOINT (either in the container image or with the entrypoint field below) then commands are appended as arguments to the ENTRYPOINT.
- entrypoint String
- Overrides the ENTRYPOINTspecified in the container.
- imageUri String
- The URI to pull the container image from.
- options String
- Arbitrary additional options to include in the "docker run" command when running this container, e.g. "--network host".
- password String
- Optional password for logging in to a docker registry. If password matches projects/*/secrets/*/versions/*then Batch will read the password from the Secret Manager;
- username String
- Optional username for logging in to a docker registry. If username matches projects/*/secrets/*/versions/*then Batch will read the username from the Secret Manager.
- volumes List<String>
- Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro If the TaskSpec.Volumesfield is specified but this field is not, Batch will mount each volume from the host machine to the container with the same mount path by default. In this case, the default mount option for containers will be read-only (ro) for existing persistent disks and read-write (rw) for other volume types, regardless of the original mount options specified inTaskSpec.Volumes. If you need different mount settings, you can explicitly configure them in this field.
- blockExternal booleanNetwork 
- If set to true, external network access to and from container will be blocked, containers that are with block_external_network as true can still communicate with each other, network cannot be specified in the container.optionsfield.
- commands string[]
- Overrides the CMDspecified in the container. If there is an ENTRYPOINT (either in the container image or with the entrypoint field below) then commands are appended as arguments to the ENTRYPOINT.
- entrypoint string
- Overrides the ENTRYPOINTspecified in the container.
- imageUri string
- The URI to pull the container image from.
- options string
- Arbitrary additional options to include in the "docker run" command when running this container, e.g. "--network host".
- password string
- Optional password for logging in to a docker registry. If password matches projects/*/secrets/*/versions/*then Batch will read the password from the Secret Manager;
- username string
- Optional username for logging in to a docker registry. If username matches projects/*/secrets/*/versions/*then Batch will read the username from the Secret Manager.
- volumes string[]
- Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro If the TaskSpec.Volumesfield is specified but this field is not, Batch will mount each volume from the host machine to the container with the same mount path by default. In this case, the default mount option for containers will be read-only (ro) for existing persistent disks and read-write (rw) for other volume types, regardless of the original mount options specified inTaskSpec.Volumes. If you need different mount settings, you can explicitly configure them in this field.
- block_external_ boolnetwork 
- If set to true, external network access to and from container will be blocked, containers that are with block_external_network as true can still communicate with each other, network cannot be specified in the container.optionsfield.
- commands Sequence[str]
- Overrides the CMDspecified in the container. If there is an ENTRYPOINT (either in the container image or with the entrypoint field below) then commands are appended as arguments to the ENTRYPOINT.
- entrypoint str
- Overrides the ENTRYPOINTspecified in the container.
- image_uri str
- The URI to pull the container image from.
- options str
- Arbitrary additional options to include in the "docker run" command when running this container, e.g. "--network host".
- password str
- Optional password for logging in to a docker registry. If password matches projects/*/secrets/*/versions/*then Batch will read the password from the Secret Manager;
- username str
- Optional username for logging in to a docker registry. If username matches projects/*/secrets/*/versions/*then Batch will read the username from the Secret Manager.
- volumes Sequence[str]
- Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro If the TaskSpec.Volumesfield is specified but this field is not, Batch will mount each volume from the host machine to the container with the same mount path by default. In this case, the default mount option for containers will be read-only (ro) for existing persistent disks and read-write (rw) for other volume types, regardless of the original mount options specified inTaskSpec.Volumes. If you need different mount settings, you can explicitly configure them in this field.
- blockExternal BooleanNetwork 
- If set to true, external network access to and from container will be blocked, containers that are with block_external_network as true can still communicate with each other, network cannot be specified in the container.optionsfield.
- commands List<String>
- Overrides the CMDspecified in the container. If there is an ENTRYPOINT (either in the container image or with the entrypoint field below) then commands are appended as arguments to the ENTRYPOINT.
- entrypoint String
- Overrides the ENTRYPOINTspecified in the container.
- imageUri String
- The URI to pull the container image from.
- options String
- Arbitrary additional options to include in the "docker run" command when running this container, e.g. "--network host".
- password String
- Optional password for logging in to a docker registry. If password matches projects/*/secrets/*/versions/*then Batch will read the password from the Secret Manager;
- username String
- Optional username for logging in to a docker registry. If username matches projects/*/secrets/*/versions/*then Batch will read the username from the Secret Manager.
- volumes List<String>
- Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro If the TaskSpec.Volumesfield is specified but this field is not, Batch will mount each volume from the host machine to the container with the same mount path by default. In this case, the default mount option for containers will be read-only (ro) for existing persistent disks and read-write (rw) for other volume types, regardless of the original mount options specified inTaskSpec.Volumes. If you need different mount settings, you can explicitly configure them in this field.
ContainerResponse, ContainerResponseArgs    
- BlockExternal boolNetwork 
- If set to true, external network access to and from container will be blocked, containers that are with block_external_network as true can still communicate with each other, network cannot be specified in the container.optionsfield.
- Commands List<string>
- Overrides the CMDspecified in the container. If there is an ENTRYPOINT (either in the container image or with the entrypoint field below) then commands are appended as arguments to the ENTRYPOINT.
- Entrypoint string
- Overrides the ENTRYPOINTspecified in the container.
- ImageUri string
- The URI to pull the container image from.
- Options string
- Arbitrary additional options to include in the "docker run" command when running this container, e.g. "--network host".
- Password string
- Optional password for logging in to a docker registry. If password matches projects/*/secrets/*/versions/*then Batch will read the password from the Secret Manager;
- Username string
- Optional username for logging in to a docker registry. If username matches projects/*/secrets/*/versions/*then Batch will read the username from the Secret Manager.
- Volumes List<string>
- Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro If the TaskSpec.Volumesfield is specified but this field is not, Batch will mount each volume from the host machine to the container with the same mount path by default. In this case, the default mount option for containers will be read-only (ro) for existing persistent disks and read-write (rw) for other volume types, regardless of the original mount options specified inTaskSpec.Volumes. If you need different mount settings, you can explicitly configure them in this field.
- BlockExternal boolNetwork 
- If set to true, external network access to and from container will be blocked, containers that are with block_external_network as true can still communicate with each other, network cannot be specified in the container.optionsfield.
- Commands []string
- Overrides the CMDspecified in the container. If there is an ENTRYPOINT (either in the container image or with the entrypoint field below) then commands are appended as arguments to the ENTRYPOINT.
- Entrypoint string
- Overrides the ENTRYPOINTspecified in the container.
- ImageUri string
- The URI to pull the container image from.
- Options string
- Arbitrary additional options to include in the "docker run" command when running this container, e.g. "--network host".
- Password string
- Optional password for logging in to a docker registry. If password matches projects/*/secrets/*/versions/*then Batch will read the password from the Secret Manager;
- Username string
- Optional username for logging in to a docker registry. If username matches projects/*/secrets/*/versions/*then Batch will read the username from the Secret Manager.
- Volumes []string
- Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro If the TaskSpec.Volumesfield is specified but this field is not, Batch will mount each volume from the host machine to the container with the same mount path by default. In this case, the default mount option for containers will be read-only (ro) for existing persistent disks and read-write (rw) for other volume types, regardless of the original mount options specified inTaskSpec.Volumes. If you need different mount settings, you can explicitly configure them in this field.
- blockExternal BooleanNetwork 
- If set to true, external network access to and from container will be blocked, containers that are with block_external_network as true can still communicate with each other, network cannot be specified in the container.optionsfield.
- commands List<String>
- Overrides the CMDspecified in the container. If there is an ENTRYPOINT (either in the container image or with the entrypoint field below) then commands are appended as arguments to the ENTRYPOINT.
- entrypoint String
- Overrides the ENTRYPOINTspecified in the container.
- imageUri String
- The URI to pull the container image from.
- options String
- Arbitrary additional options to include in the "docker run" command when running this container, e.g. "--network host".
- password String
- Optional password for logging in to a docker registry. If password matches projects/*/secrets/*/versions/*then Batch will read the password from the Secret Manager;
- username String
- Optional username for logging in to a docker registry. If username matches projects/*/secrets/*/versions/*then Batch will read the username from the Secret Manager.
- volumes List<String>
- Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro If the TaskSpec.Volumesfield is specified but this field is not, Batch will mount each volume from the host machine to the container with the same mount path by default. In this case, the default mount option for containers will be read-only (ro) for existing persistent disks and read-write (rw) for other volume types, regardless of the original mount options specified inTaskSpec.Volumes. If you need different mount settings, you can explicitly configure them in this field.
- blockExternal booleanNetwork 
- If set to true, external network access to and from container will be blocked, containers that are with block_external_network as true can still communicate with each other, network cannot be specified in the container.optionsfield.
- commands string[]
- Overrides the CMDspecified in the container. If there is an ENTRYPOINT (either in the container image or with the entrypoint field below) then commands are appended as arguments to the ENTRYPOINT.
- entrypoint string
- Overrides the ENTRYPOINTspecified in the container.
- imageUri string
- The URI to pull the container image from.
- options string
- Arbitrary additional options to include in the "docker run" command when running this container, e.g. "--network host".
- password string
- Optional password for logging in to a docker registry. If password matches projects/*/secrets/*/versions/*then Batch will read the password from the Secret Manager;
- username string
- Optional username for logging in to a docker registry. If username matches projects/*/secrets/*/versions/*then Batch will read the username from the Secret Manager.
- volumes string[]
- Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro If the TaskSpec.Volumesfield is specified but this field is not, Batch will mount each volume from the host machine to the container with the same mount path by default. In this case, the default mount option for containers will be read-only (ro) for existing persistent disks and read-write (rw) for other volume types, regardless of the original mount options specified inTaskSpec.Volumes. If you need different mount settings, you can explicitly configure them in this field.
- block_external_ boolnetwork 
- If set to true, external network access to and from container will be blocked, containers that are with block_external_network as true can still communicate with each other, network cannot be specified in the container.optionsfield.
- commands Sequence[str]
- Overrides the CMDspecified in the container. If there is an ENTRYPOINT (either in the container image or with the entrypoint field below) then commands are appended as arguments to the ENTRYPOINT.
- entrypoint str
- Overrides the ENTRYPOINTspecified in the container.
- image_uri str
- The URI to pull the container image from.
- options str
- Arbitrary additional options to include in the "docker run" command when running this container, e.g. "--network host".
- password str
- Optional password for logging in to a docker registry. If password matches projects/*/secrets/*/versions/*then Batch will read the password from the Secret Manager;
- username str
- Optional username for logging in to a docker registry. If username matches projects/*/secrets/*/versions/*then Batch will read the username from the Secret Manager.
- volumes Sequence[str]
- Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro If the TaskSpec.Volumesfield is specified but this field is not, Batch will mount each volume from the host machine to the container with the same mount path by default. In this case, the default mount option for containers will be read-only (ro) for existing persistent disks and read-write (rw) for other volume types, regardless of the original mount options specified inTaskSpec.Volumes. If you need different mount settings, you can explicitly configure them in this field.
- blockExternal BooleanNetwork 
- If set to true, external network access to and from container will be blocked, containers that are with block_external_network as true can still communicate with each other, network cannot be specified in the container.optionsfield.
- commands List<String>
- Overrides the CMDspecified in the container. If there is an ENTRYPOINT (either in the container image or with the entrypoint field below) then commands are appended as arguments to the ENTRYPOINT.
- entrypoint String
- Overrides the ENTRYPOINTspecified in the container.
- imageUri String
- The URI to pull the container image from.
- options String
- Arbitrary additional options to include in the "docker run" command when running this container, e.g. "--network host".
- password String
- Optional password for logging in to a docker registry. If password matches projects/*/secrets/*/versions/*then Batch will read the password from the Secret Manager;
- username String
- Optional username for logging in to a docker registry. If username matches projects/*/secrets/*/versions/*then Batch will read the username from the Secret Manager.
- volumes List<String>
- Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro If the TaskSpec.Volumesfield is specified but this field is not, Batch will mount each volume from the host machine to the container with the same mount path by default. In this case, the default mount option for containers will be read-only (ro) for existing persistent disks and read-write (rw) for other volume types, regardless of the original mount options specified inTaskSpec.Volumes. If you need different mount settings, you can explicitly configure them in this field.
Disk, DiskArgs  
- DiskInterface string
- Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not indicated, "NVMe" will be the default one for local ssds. This field is ignored for persistent disks as the interface is chosen automatically. See https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
- Image string
- URL for a VM image to use as the data source for this disk. For example, the following are all valid URLs: * Specify the image by its family name: projects/{project}/global/images/family/{image_family} * Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: * batch-debian: use Batch Debian images. *batch-centos: use Batch CentOS images. *batch-cos: use Batch Container-Optimized images. *batch-hpc-centos: use Batch HPC CentOS images. *batch-hpc-rocky: use Batch HPC Rocky Linux images.
- SizeGb string
- Disk size in GB. Non-Boot Disk: If the typespecifies a persistent disk, this field is ignored ifdata_sourceis set asimageorsnapshot. If thetypespecifies a local SSD, this field should be a multiple of 375 GB, otherwise, the final size will be the next greater multiple of 375 GB. Boot Disk: Batch will calculate the boot disk size based on source image and task requirements if you do not speicify the size. If both this field and theboot_disk_mibfield in task spec'scompute_resourceare defined, Batch will only honor this field. Also, this field should be no smaller than the source disk's size when thedata_sourceis set assnapshotorimage. For example, if you set an image as thedata_sourcefield and the image's default disk size 30 GB, you can only use this field to make the disk larger or equal to 30 GB.
- Snapshot string
- Name of a snapshot used as the data source. Snapshot is not supported as boot disk now.
- Type string
- Disk type as shown in gcloud compute disk-types list. For example, local SSD uses type "local-ssd". Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd" or "pd-standard".
- DiskInterface string
- Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not indicated, "NVMe" will be the default one for local ssds. This field is ignored for persistent disks as the interface is chosen automatically. See https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
- Image string
- URL for a VM image to use as the data source for this disk. For example, the following are all valid URLs: * Specify the image by its family name: projects/{project}/global/images/family/{image_family} * Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: * batch-debian: use Batch Debian images. *batch-centos: use Batch CentOS images. *batch-cos: use Batch Container-Optimized images. *batch-hpc-centos: use Batch HPC CentOS images. *batch-hpc-rocky: use Batch HPC Rocky Linux images.
- SizeGb string
- Disk size in GB. Non-Boot Disk: If the typespecifies a persistent disk, this field is ignored ifdata_sourceis set asimageorsnapshot. If thetypespecifies a local SSD, this field should be a multiple of 375 GB, otherwise, the final size will be the next greater multiple of 375 GB. Boot Disk: Batch will calculate the boot disk size based on source image and task requirements if you do not speicify the size. If both this field and theboot_disk_mibfield in task spec'scompute_resourceare defined, Batch will only honor this field. Also, this field should be no smaller than the source disk's size when thedata_sourceis set assnapshotorimage. For example, if you set an image as thedata_sourcefield and the image's default disk size 30 GB, you can only use this field to make the disk larger or equal to 30 GB.
- Snapshot string
- Name of a snapshot used as the data source. Snapshot is not supported as boot disk now.
- Type string
- Disk type as shown in gcloud compute disk-types list. For example, local SSD uses type "local-ssd". Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd" or "pd-standard".
- diskInterface String
- Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not indicated, "NVMe" will be the default one for local ssds. This field is ignored for persistent disks as the interface is chosen automatically. See https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
- image String
- URL for a VM image to use as the data source for this disk. For example, the following are all valid URLs: * Specify the image by its family name: projects/{project}/global/images/family/{image_family} * Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: * batch-debian: use Batch Debian images. *batch-centos: use Batch CentOS images. *batch-cos: use Batch Container-Optimized images. *batch-hpc-centos: use Batch HPC CentOS images. *batch-hpc-rocky: use Batch HPC Rocky Linux images.
- sizeGb String
- Disk size in GB. Non-Boot Disk: If the typespecifies a persistent disk, this field is ignored ifdata_sourceis set asimageorsnapshot. If thetypespecifies a local SSD, this field should be a multiple of 375 GB, otherwise, the final size will be the next greater multiple of 375 GB. Boot Disk: Batch will calculate the boot disk size based on source image and task requirements if you do not speicify the size. If both this field and theboot_disk_mibfield in task spec'scompute_resourceare defined, Batch will only honor this field. Also, this field should be no smaller than the source disk's size when thedata_sourceis set assnapshotorimage. For example, if you set an image as thedata_sourcefield and the image's default disk size 30 GB, you can only use this field to make the disk larger or equal to 30 GB.
- snapshot String
- Name of a snapshot used as the data source. Snapshot is not supported as boot disk now.
- type String
- Disk type as shown in gcloud compute disk-types list. For example, local SSD uses type "local-ssd". Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd" or "pd-standard".
- diskInterface string
- Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not indicated, "NVMe" will be the default one for local ssds. This field is ignored for persistent disks as the interface is chosen automatically. See https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
- image string
- URL for a VM image to use as the data source for this disk. For example, the following are all valid URLs: * Specify the image by its family name: projects/{project}/global/images/family/{image_family} * Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: * batch-debian: use Batch Debian images. *batch-centos: use Batch CentOS images. *batch-cos: use Batch Container-Optimized images. *batch-hpc-centos: use Batch HPC CentOS images. *batch-hpc-rocky: use Batch HPC Rocky Linux images.
- sizeGb string
- Disk size in GB. Non-Boot Disk: If the typespecifies a persistent disk, this field is ignored ifdata_sourceis set asimageorsnapshot. If thetypespecifies a local SSD, this field should be a multiple of 375 GB, otherwise, the final size will be the next greater multiple of 375 GB. Boot Disk: Batch will calculate the boot disk size based on source image and task requirements if you do not speicify the size. If both this field and theboot_disk_mibfield in task spec'scompute_resourceare defined, Batch will only honor this field. Also, this field should be no smaller than the source disk's size when thedata_sourceis set assnapshotorimage. For example, if you set an image as thedata_sourcefield and the image's default disk size 30 GB, you can only use this field to make the disk larger or equal to 30 GB.
- snapshot string
- Name of a snapshot used as the data source. Snapshot is not supported as boot disk now.
- type string
- Disk type as shown in gcloud compute disk-types list. For example, local SSD uses type "local-ssd". Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd" or "pd-standard".
- disk_interface str
- Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not indicated, "NVMe" will be the default one for local ssds. This field is ignored for persistent disks as the interface is chosen automatically. See https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
- image str
- URL for a VM image to use as the data source for this disk. For example, the following are all valid URLs: * Specify the image by its family name: projects/{project}/global/images/family/{image_family} * Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: * batch-debian: use Batch Debian images. *batch-centos: use Batch CentOS images. *batch-cos: use Batch Container-Optimized images. *batch-hpc-centos: use Batch HPC CentOS images. *batch-hpc-rocky: use Batch HPC Rocky Linux images.
- size_gb str
- Disk size in GB. Non-Boot Disk: If the typespecifies a persistent disk, this field is ignored ifdata_sourceis set asimageorsnapshot. If thetypespecifies a local SSD, this field should be a multiple of 375 GB, otherwise, the final size will be the next greater multiple of 375 GB. Boot Disk: Batch will calculate the boot disk size based on source image and task requirements if you do not speicify the size. If both this field and theboot_disk_mibfield in task spec'scompute_resourceare defined, Batch will only honor this field. Also, this field should be no smaller than the source disk's size when thedata_sourceis set assnapshotorimage. For example, if you set an image as thedata_sourcefield and the image's default disk size 30 GB, you can only use this field to make the disk larger or equal to 30 GB.
- snapshot str
- Name of a snapshot used as the data source. Snapshot is not supported as boot disk now.
- type str
- Disk type as shown in gcloud compute disk-types list. For example, local SSD uses type "local-ssd". Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd" or "pd-standard".
- diskInterface String
- Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not indicated, "NVMe" will be the default one for local ssds. This field is ignored for persistent disks as the interface is chosen automatically. See https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
- image String
- URL for a VM image to use as the data source for this disk. For example, the following are all valid URLs: * Specify the image by its family name: projects/{project}/global/images/family/{image_family} * Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: * batch-debian: use Batch Debian images. *batch-centos: use Batch CentOS images. *batch-cos: use Batch Container-Optimized images. *batch-hpc-centos: use Batch HPC CentOS images. *batch-hpc-rocky: use Batch HPC Rocky Linux images.
- sizeGb String
- Disk size in GB. Non-Boot Disk: If the typespecifies a persistent disk, this field is ignored ifdata_sourceis set asimageorsnapshot. If thetypespecifies a local SSD, this field should be a multiple of 375 GB, otherwise, the final size will be the next greater multiple of 375 GB. Boot Disk: Batch will calculate the boot disk size based on source image and task requirements if you do not speicify the size. If both this field and theboot_disk_mibfield in task spec'scompute_resourceare defined, Batch will only honor this field. Also, this field should be no smaller than the source disk's size when thedata_sourceis set assnapshotorimage. For example, if you set an image as thedata_sourcefield and the image's default disk size 30 GB, you can only use this field to make the disk larger or equal to 30 GB.
- snapshot String
- Name of a snapshot used as the data source. Snapshot is not supported as boot disk now.
- type String
- Disk type as shown in gcloud compute disk-types list. For example, local SSD uses type "local-ssd". Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd" or "pd-standard".
DiskResponse, DiskResponseArgs    
- DiskInterface string
- Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not indicated, "NVMe" will be the default one for local ssds. This field is ignored for persistent disks as the interface is chosen automatically. See https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
- Image string
- URL for a VM image to use as the data source for this disk. For example, the following are all valid URLs: * Specify the image by its family name: projects/{project}/global/images/family/{image_family} * Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: * batch-debian: use Batch Debian images. *batch-centos: use Batch CentOS images. *batch-cos: use Batch Container-Optimized images. *batch-hpc-centos: use Batch HPC CentOS images. *batch-hpc-rocky: use Batch HPC Rocky Linux images.
- SizeGb string
- Disk size in GB. Non-Boot Disk: If the typespecifies a persistent disk, this field is ignored ifdata_sourceis set asimageorsnapshot. If thetypespecifies a local SSD, this field should be a multiple of 375 GB, otherwise, the final size will be the next greater multiple of 375 GB. Boot Disk: Batch will calculate the boot disk size based on source image and task requirements if you do not speicify the size. If both this field and theboot_disk_mibfield in task spec'scompute_resourceare defined, Batch will only honor this field. Also, this field should be no smaller than the source disk's size when thedata_sourceis set assnapshotorimage. For example, if you set an image as thedata_sourcefield and the image's default disk size 30 GB, you can only use this field to make the disk larger or equal to 30 GB.
- Snapshot string
- Name of a snapshot used as the data source. Snapshot is not supported as boot disk now.
- Type string
- Disk type as shown in gcloud compute disk-types list. For example, local SSD uses type "local-ssd". Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd" or "pd-standard".
- DiskInterface string
- Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not indicated, "NVMe" will be the default one for local ssds. This field is ignored for persistent disks as the interface is chosen automatically. See https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
- Image string
- URL for a VM image to use as the data source for this disk. For example, the following are all valid URLs: * Specify the image by its family name: projects/{project}/global/images/family/{image_family} * Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: * batch-debian: use Batch Debian images. *batch-centos: use Batch CentOS images. *batch-cos: use Batch Container-Optimized images. *batch-hpc-centos: use Batch HPC CentOS images. *batch-hpc-rocky: use Batch HPC Rocky Linux images.
- SizeGb string
- Disk size in GB. Non-Boot Disk: If the typespecifies a persistent disk, this field is ignored ifdata_sourceis set asimageorsnapshot. If thetypespecifies a local SSD, this field should be a multiple of 375 GB, otherwise, the final size will be the next greater multiple of 375 GB. Boot Disk: Batch will calculate the boot disk size based on source image and task requirements if you do not speicify the size. If both this field and theboot_disk_mibfield in task spec'scompute_resourceare defined, Batch will only honor this field. Also, this field should be no smaller than the source disk's size when thedata_sourceis set assnapshotorimage. For example, if you set an image as thedata_sourcefield and the image's default disk size 30 GB, you can only use this field to make the disk larger or equal to 30 GB.
- Snapshot string
- Name of a snapshot used as the data source. Snapshot is not supported as boot disk now.
- Type string
- Disk type as shown in gcloud compute disk-types list. For example, local SSD uses type "local-ssd". Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd" or "pd-standard".
- diskInterface String
- Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not indicated, "NVMe" will be the default one for local ssds. This field is ignored for persistent disks as the interface is chosen automatically. See https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
- image String
- URL for a VM image to use as the data source for this disk. For example, the following are all valid URLs: * Specify the image by its family name: projects/{project}/global/images/family/{image_family} * Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: * batch-debian: use Batch Debian images. *batch-centos: use Batch CentOS images. *batch-cos: use Batch Container-Optimized images. *batch-hpc-centos: use Batch HPC CentOS images. *batch-hpc-rocky: use Batch HPC Rocky Linux images.
- sizeGb String
- Disk size in GB. Non-Boot Disk: If the typespecifies a persistent disk, this field is ignored ifdata_sourceis set asimageorsnapshot. If thetypespecifies a local SSD, this field should be a multiple of 375 GB, otherwise, the final size will be the next greater multiple of 375 GB. Boot Disk: Batch will calculate the boot disk size based on source image and task requirements if you do not speicify the size. If both this field and theboot_disk_mibfield in task spec'scompute_resourceare defined, Batch will only honor this field. Also, this field should be no smaller than the source disk's size when thedata_sourceis set assnapshotorimage. For example, if you set an image as thedata_sourcefield and the image's default disk size 30 GB, you can only use this field to make the disk larger or equal to 30 GB.
- snapshot String
- Name of a snapshot used as the data source. Snapshot is not supported as boot disk now.
- type String
- Disk type as shown in gcloud compute disk-types list. For example, local SSD uses type "local-ssd". Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd" or "pd-standard".
- diskInterface string
- Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not indicated, "NVMe" will be the default one for local ssds. This field is ignored for persistent disks as the interface is chosen automatically. See https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
- image string
- URL for a VM image to use as the data source for this disk. For example, the following are all valid URLs: * Specify the image by its family name: projects/{project}/global/images/family/{image_family} * Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: * batch-debian: use Batch Debian images. *batch-centos: use Batch CentOS images. *batch-cos: use Batch Container-Optimized images. *batch-hpc-centos: use Batch HPC CentOS images. *batch-hpc-rocky: use Batch HPC Rocky Linux images.
- sizeGb string
- Disk size in GB. Non-Boot Disk: If the typespecifies a persistent disk, this field is ignored ifdata_sourceis set asimageorsnapshot. If thetypespecifies a local SSD, this field should be a multiple of 375 GB, otherwise, the final size will be the next greater multiple of 375 GB. Boot Disk: Batch will calculate the boot disk size based on source image and task requirements if you do not speicify the size. If both this field and theboot_disk_mibfield in task spec'scompute_resourceare defined, Batch will only honor this field. Also, this field should be no smaller than the source disk's size when thedata_sourceis set assnapshotorimage. For example, if you set an image as thedata_sourcefield and the image's default disk size 30 GB, you can only use this field to make the disk larger or equal to 30 GB.
- snapshot string
- Name of a snapshot used as the data source. Snapshot is not supported as boot disk now.
- type string
- Disk type as shown in gcloud compute disk-types list. For example, local SSD uses type "local-ssd". Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd" or "pd-standard".
- disk_interface str
- Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not indicated, "NVMe" will be the default one for local ssds. This field is ignored for persistent disks as the interface is chosen automatically. See https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
- image str
- URL for a VM image to use as the data source for this disk. For example, the following are all valid URLs: * Specify the image by its family name: projects/{project}/global/images/family/{image_family} * Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: * batch-debian: use Batch Debian images. *batch-centos: use Batch CentOS images. *batch-cos: use Batch Container-Optimized images. *batch-hpc-centos: use Batch HPC CentOS images. *batch-hpc-rocky: use Batch HPC Rocky Linux images.
- size_gb str
- Disk size in GB. Non-Boot Disk: If the typespecifies a persistent disk, this field is ignored ifdata_sourceis set asimageorsnapshot. If thetypespecifies a local SSD, this field should be a multiple of 375 GB, otherwise, the final size will be the next greater multiple of 375 GB. Boot Disk: Batch will calculate the boot disk size based on source image and task requirements if you do not speicify the size. If both this field and theboot_disk_mibfield in task spec'scompute_resourceare defined, Batch will only honor this field. Also, this field should be no smaller than the source disk's size when thedata_sourceis set assnapshotorimage. For example, if you set an image as thedata_sourcefield and the image's default disk size 30 GB, you can only use this field to make the disk larger or equal to 30 GB.
- snapshot str
- Name of a snapshot used as the data source. Snapshot is not supported as boot disk now.
- type str
- Disk type as shown in gcloud compute disk-types list. For example, local SSD uses type "local-ssd". Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd" or "pd-standard".
- diskInterface String
- Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not indicated, "NVMe" will be the default one for local ssds. This field is ignored for persistent disks as the interface is chosen automatically. See https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
- image String
- URL for a VM image to use as the data source for this disk. For example, the following are all valid URLs: * Specify the image by its family name: projects/{project}/global/images/family/{image_family} * Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: * batch-debian: use Batch Debian images. *batch-centos: use Batch CentOS images. *batch-cos: use Batch Container-Optimized images. *batch-hpc-centos: use Batch HPC CentOS images. *batch-hpc-rocky: use Batch HPC Rocky Linux images.
- sizeGb String
- Disk size in GB. Non-Boot Disk: If the typespecifies a persistent disk, this field is ignored ifdata_sourceis set asimageorsnapshot. If thetypespecifies a local SSD, this field should be a multiple of 375 GB, otherwise, the final size will be the next greater multiple of 375 GB. Boot Disk: Batch will calculate the boot disk size based on source image and task requirements if you do not speicify the size. If both this field and theboot_disk_mibfield in task spec'scompute_resourceare defined, Batch will only honor this field. Also, this field should be no smaller than the source disk's size when thedata_sourceis set assnapshotorimage. For example, if you set an image as thedata_sourcefield and the image's default disk size 30 GB, you can only use this field to make the disk larger or equal to 30 GB.
- snapshot String
- Name of a snapshot used as the data source. Snapshot is not supported as boot disk now.
- type String
- Disk type as shown in gcloud compute disk-types list. For example, local SSD uses type "local-ssd". Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd" or "pd-standard".
Environment, EnvironmentArgs  
- EncryptedVariables Pulumi.Google Native. Batch. V1. Inputs. KMSEnv Map 
- An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.
- SecretVariables Dictionary<string, string>
- A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.
- Variables Dictionary<string, string>
- A map of environment variable names to values.
- EncryptedVariables KMSEnvMap 
- An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.
- SecretVariables map[string]string
- A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.
- Variables map[string]string
- A map of environment variable names to values.
- encryptedVariables KMSEnvMap 
- An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.
- secretVariables Map<String,String>
- A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.
- variables Map<String,String>
- A map of environment variable names to values.
- encryptedVariables KMSEnvMap 
- An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.
- secretVariables {[key: string]: string}
- A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.
- variables {[key: string]: string}
- A map of environment variable names to values.
- encrypted_variables KMSEnvMap 
- An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.
- secret_variables Mapping[str, str]
- A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.
- variables Mapping[str, str]
- A map of environment variable names to values.
- encryptedVariables Property Map
- An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.
- secretVariables Map<String>
- A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.
- variables Map<String>
- A map of environment variable names to values.
EnvironmentResponse, EnvironmentResponseArgs    
- EncryptedVariables Pulumi.Google Native. Batch. V1. Inputs. KMSEnv Map Response 
- An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.
- SecretVariables Dictionary<string, string>
- A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.
- Variables Dictionary<string, string>
- A map of environment variable names to values.
- EncryptedVariables KMSEnvMap Response 
- An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.
- SecretVariables map[string]string
- A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.
- Variables map[string]string
- A map of environment variable names to values.
- encryptedVariables KMSEnvMap Response 
- An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.
- secretVariables Map<String,String>
- A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.
- variables Map<String,String>
- A map of environment variable names to values.
- encryptedVariables KMSEnvMap Response 
- An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.
- secretVariables {[key: string]: string}
- A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.
- variables {[key: string]: string}
- A map of environment variable names to values.
- encrypted_variables KMSEnvMap Response 
- An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.
- secret_variables Mapping[str, str]
- A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.
- variables Mapping[str, str]
- A map of environment variable names to values.
- encryptedVariables Property Map
- An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.
- secretVariables Map<String>
- A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.
- variables Map<String>
- A map of environment variable names to values.
GCS, GCSArgs  
- RemotePath string
- Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/
- RemotePath string
- Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/
- remotePath String
- Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/
- remotePath string
- Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/
- remote_path str
- Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/
- remotePath String
- Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/
GCSResponse, GCSResponseArgs  
- RemotePath string
- Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/
- RemotePath string
- Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/
- remotePath String
- Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/
- remotePath string
- Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/
- remote_path str
- Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/
- remotePath String
- Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/
InstancePolicy, InstancePolicyArgs    
- Accelerators
List<Pulumi.Google Native. Batch. V1. Inputs. Accelerator> 
- The accelerators attached to each VM instance.
- BootDisk Pulumi.Google Native. Batch. V1. Inputs. Disk 
- 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
List<Pulumi.Google Native. Batch. V1. Inputs. Attached Disk> 
- 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 string
- The Compute Engine machine type.
- MinCpu stringPlatform 
- The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
- ProvisioningModel Pulumi.Google Native. Batch. V1. Instance Policy Provisioning Model 
- The provisioning model.
- Reservation string
- Optional. If specified, VMs will consume only the specified reservation. If not specified (default), VMs will consume any applicable reservation.
- Accelerators []Accelerator
- The accelerators attached to each VM instance.
- BootDisk Disk
- 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
[]AttachedDisk 
- 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 string
- The Compute Engine machine type.
- MinCpu stringPlatform 
- The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
- ProvisioningModel InstancePolicy Provisioning Model 
- The provisioning model.
- Reservation string
- Optional. If specified, VMs will consume only the specified reservation. If not specified (default), VMs will consume any applicable reservation.
- accelerators List<Accelerator>
- The accelerators attached to each VM instance.
- bootDisk Disk
- 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
List<AttachedDisk> 
- 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 String
- The Compute Engine machine type.
- minCpu StringPlatform 
- The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
- provisioningModel InstancePolicy Provisioning Model 
- The provisioning model.
- reservation String
- Optional. If specified, VMs will consume only the specified reservation. If not specified (default), VMs will consume any applicable reservation.
- accelerators Accelerator[]
- The accelerators attached to each VM instance.
- bootDisk Disk
- 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
AttachedDisk[] 
- 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 string
- The Compute Engine machine type.
- minCpu stringPlatform 
- The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
- provisioningModel InstancePolicy Provisioning Model 
- The provisioning model.
- reservation string
- Optional. If specified, VMs will consume only the specified reservation. If not specified (default), VMs will consume any applicable reservation.
- accelerators Sequence[Accelerator]
- The accelerators attached to each VM instance.
- boot_disk Disk
- 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
Sequence[AttachedDisk] 
- 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.
- machine_type str
- The Compute Engine machine type.
- min_cpu_ strplatform 
- The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
- provisioning_model InstancePolicy Provisioning Model 
- The provisioning model.
- reservation str
- Optional. If specified, VMs will consume only the specified reservation. If not specified (default), VMs will consume any applicable reservation.
- accelerators List<Property Map>
- The accelerators attached to each VM instance.
- bootDisk Property Map
- 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 List<Property Map>
- 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 String
- The Compute Engine machine type.
- minCpu StringPlatform 
- The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
- provisioningModel "PROVISIONING_MODEL_UNSPECIFIED" | "STANDARD" | "SPOT" | "PREEMPTIBLE"
- The provisioning model.
- reservation String
- Optional. If specified, VMs will consume only the specified reservation. If not specified (default), VMs will consume any applicable reservation.
InstancePolicyOrTemplate, InstancePolicyOrTemplateArgs        
- InstallGpu boolDrivers 
- 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. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
- InstanceTemplate string
- Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid c++ keyword conflict.
- Policy
Pulumi.Google Native. Batch. V1. Inputs. Instance Policy 
- InstancePolicy.
- InstallGpu boolDrivers 
- 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. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
- InstanceTemplate string
- Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid c++ keyword conflict.
- Policy
InstancePolicy 
- InstancePolicy.
- installGpu BooleanDrivers 
- 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. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
- instanceTemplate String
- Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid c++ keyword conflict.
- policy
InstancePolicy 
- InstancePolicy.
- installGpu booleanDrivers 
- 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. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
- instanceTemplate string
- Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid c++ keyword conflict.
- policy
InstancePolicy 
- InstancePolicy.
- install_gpu_ booldrivers 
- 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. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
- instance_template str
- Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid c++ keyword conflict.
- policy
InstancePolicy 
- InstancePolicy.
- installGpu BooleanDrivers 
- 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. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
- instanceTemplate String
- Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid c++ keyword conflict.
- policy Property Map
- InstancePolicy.
InstancePolicyOrTemplateResponse, InstancePolicyOrTemplateResponseArgs          
- InstallGpu boolDrivers 
- 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. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
- InstanceTemplate string
- Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid c++ keyword conflict.
- Policy
Pulumi.Google Native. Batch. V1. Inputs. Instance Policy Response 
- InstancePolicy.
- InstallGpu boolDrivers 
- 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. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
- InstanceTemplate string
- Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid c++ keyword conflict.
- Policy
InstancePolicy Response 
- InstancePolicy.
- installGpu BooleanDrivers 
- 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. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
- instanceTemplate String
- Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid c++ keyword conflict.
- policy
InstancePolicy Response 
- InstancePolicy.
- installGpu booleanDrivers 
- 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. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
- instanceTemplate string
- Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid c++ keyword conflict.
- policy
InstancePolicy Response 
- InstancePolicy.
- install_gpu_ booldrivers 
- 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. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
- instance_template str
- Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid c++ keyword conflict.
- policy
InstancePolicy Response 
- InstancePolicy.
- installGpu BooleanDrivers 
- 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. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
- instanceTemplate String
- Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid c++ keyword conflict.
- policy Property Map
- InstancePolicy.
InstancePolicyProvisioningModel, InstancePolicyProvisioningModelArgs        
- ProvisioningModel Unspecified 
- PROVISIONING_MODEL_UNSPECIFIEDUnspecified.
- Standard
- STANDARDStandard VM.
- Spot
- SPOTSPOT VM.
- Preemptible
- PREEMPTIBLEPreemptible VM (PVM). Above SPOT VM is the preferable model for preemptible VM instances: the old preemptible VM model (indicated by this field) is the older model, and has been migrated to use the SPOT model as the underlying technology. This old model will still be supported.
- InstancePolicy Provisioning Model Provisioning Model Unspecified 
- PROVISIONING_MODEL_UNSPECIFIEDUnspecified.
- InstancePolicy Provisioning Model Standard 
- STANDARDStandard VM.
- InstancePolicy Provisioning Model Spot 
- SPOTSPOT VM.
- InstancePolicy Provisioning Model Preemptible 
- PREEMPTIBLEPreemptible VM (PVM). Above SPOT VM is the preferable model for preemptible VM instances: the old preemptible VM model (indicated by this field) is the older model, and has been migrated to use the SPOT model as the underlying technology. This old model will still be supported.
- ProvisioningModel Unspecified 
- PROVISIONING_MODEL_UNSPECIFIEDUnspecified.
- Standard
- STANDARDStandard VM.
- Spot
- SPOTSPOT VM.
- Preemptible
- PREEMPTIBLEPreemptible VM (PVM). Above SPOT VM is the preferable model for preemptible VM instances: the old preemptible VM model (indicated by this field) is the older model, and has been migrated to use the SPOT model as the underlying technology. This old model will still be supported.
- ProvisioningModel Unspecified 
- PROVISIONING_MODEL_UNSPECIFIEDUnspecified.
- Standard
- STANDARDStandard VM.
- Spot
- SPOTSPOT VM.
- Preemptible
- PREEMPTIBLEPreemptible VM (PVM). Above SPOT VM is the preferable model for preemptible VM instances: the old preemptible VM model (indicated by this field) is the older model, and has been migrated to use the SPOT model as the underlying technology. This old model will still be supported.
- PROVISIONING_MODEL_UNSPECIFIED
- PROVISIONING_MODEL_UNSPECIFIEDUnspecified.
- STANDARD
- STANDARDStandard VM.
- SPOT
- SPOTSPOT VM.
- PREEMPTIBLE
- PREEMPTIBLEPreemptible VM (PVM). Above SPOT VM is the preferable model for preemptible VM instances: the old preemptible VM model (indicated by this field) is the older model, and has been migrated to use the SPOT model as the underlying technology. This old model will still be supported.
- "PROVISIONING_MODEL_UNSPECIFIED"
- PROVISIONING_MODEL_UNSPECIFIEDUnspecified.
- "STANDARD"
- STANDARDStandard VM.
- "SPOT"
- SPOTSPOT VM.
- "PREEMPTIBLE"
- PREEMPTIBLEPreemptible VM (PVM). Above SPOT VM is the preferable model for preemptible VM instances: the old preemptible VM model (indicated by this field) is the older model, and has been migrated to use the SPOT model as the underlying technology. This old model will still be supported.
InstancePolicyResponse, InstancePolicyResponseArgs      
- Accelerators
List<Pulumi.Google Native. Batch. V1. Inputs. Accelerator Response> 
- The accelerators attached to each VM instance.
- BootDisk Pulumi.Google Native. Batch. V1. Inputs. Disk Response 
- 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
List<Pulumi.Google Native. Batch. V1. Inputs. Attached Disk Response> 
- 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 string
- The Compute Engine machine type.
- MinCpu stringPlatform 
- The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
- ProvisioningModel string
- The provisioning model.
- Reservation string
- Optional. If specified, VMs will consume only the specified reservation. If not specified (default), VMs will consume any applicable reservation.
- Accelerators
[]AcceleratorResponse 
- The accelerators attached to each VM instance.
- BootDisk 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.
- Disks
[]AttachedDisk Response 
- 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 string
- The Compute Engine machine type.
- MinCpu stringPlatform 
- The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
- ProvisioningModel string
- The provisioning model.
- Reservation string
- Optional. If specified, VMs will consume only the specified reservation. If not specified (default), VMs will consume any applicable reservation.
- accelerators
List<AcceleratorResponse> 
- The accelerators attached to each VM instance.
- bootDisk 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.
- disks
List<AttachedDisk Response> 
- 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 String
- The Compute Engine machine type.
- minCpu StringPlatform 
- The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
- provisioningModel String
- The provisioning model.
- reservation String
- Optional. If specified, VMs will consume only the specified reservation. If not specified (default), VMs will consume any applicable reservation.
- accelerators
AcceleratorResponse[] 
- The accelerators attached to each VM instance.
- bootDisk 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.
- disks
AttachedDisk Response[] 
- 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 string
- The Compute Engine machine type.
- minCpu stringPlatform 
- The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
- provisioningModel string
- The provisioning model.
- reservation string
- Optional. If specified, VMs will consume only the specified reservation. If not specified (default), VMs will consume any applicable reservation.
- accelerators
Sequence[AcceleratorResponse] 
- The accelerators attached to each VM instance.
- boot_disk 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.
- disks
Sequence[AttachedDisk Response] 
- 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.
- machine_type str
- The Compute Engine machine type.
- min_cpu_ strplatform 
- The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
- provisioning_model str
- The provisioning model.
- reservation str
- Optional. If specified, VMs will consume only the specified reservation. If not specified (default), VMs will consume any applicable reservation.
- accelerators List<Property Map>
- The accelerators attached to each VM instance.
- bootDisk Property Map
- 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 List<Property Map>
- 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 String
- The Compute Engine machine type.
- minCpu StringPlatform 
- The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
- provisioningModel String
- The provisioning model.
- reservation String
- Optional. If specified, VMs will consume only the specified reservation. If not specified (default), VMs will consume any applicable reservation.
JobNotification, JobNotificationArgs    
- Message
Pulumi.Google Native. Batch. V1. Inputs. Message 
- The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent.
- PubsubTopic string
- The Pub/Sub topic where notifications like the job state changes will be published. The topic must exist in the same project as the job and billings will be charged to this project. If not specified, no Pub/Sub messages will be sent. Topic format: projects/{project}/topics/{topic}.
- Message Message
- The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent.
- PubsubTopic string
- The Pub/Sub topic where notifications like the job state changes will be published. The topic must exist in the same project as the job and billings will be charged to this project. If not specified, no Pub/Sub messages will be sent. Topic format: projects/{project}/topics/{topic}.
- message Message
- The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent.
- pubsubTopic String
- The Pub/Sub topic where notifications like the job state changes will be published. The topic must exist in the same project as the job and billings will be charged to this project. If not specified, no Pub/Sub messages will be sent. Topic format: projects/{project}/topics/{topic}.
- message Message
- The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent.
- pubsubTopic string
- The Pub/Sub topic where notifications like the job state changes will be published. The topic must exist in the same project as the job and billings will be charged to this project. If not specified, no Pub/Sub messages will be sent. Topic format: projects/{project}/topics/{topic}.
- message Message
- The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent.
- pubsub_topic str
- The Pub/Sub topic where notifications like the job state changes will be published. The topic must exist in the same project as the job and billings will be charged to this project. If not specified, no Pub/Sub messages will be sent. Topic format: projects/{project}/topics/{topic}.
- message Property Map
- The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent.
- pubsubTopic String
- The Pub/Sub topic where notifications like the job state changes will be published. The topic must exist in the same project as the job and billings will be charged to this project. If not specified, no Pub/Sub messages will be sent. Topic format: projects/{project}/topics/{topic}.
JobNotificationResponse, JobNotificationResponseArgs      
- Message
Pulumi.Google Native. Batch. V1. Inputs. Message Response 
- The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent.
- PubsubTopic string
- The Pub/Sub topic where notifications like the job state changes will be published. The topic must exist in the same project as the job and billings will be charged to this project. If not specified, no Pub/Sub messages will be sent. Topic format: projects/{project}/topics/{topic}.
- Message
MessageResponse 
- The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent.
- PubsubTopic string
- The Pub/Sub topic where notifications like the job state changes will be published. The topic must exist in the same project as the job and billings will be charged to this project. If not specified, no Pub/Sub messages will be sent. Topic format: projects/{project}/topics/{topic}.
- message
MessageResponse 
- The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent.
- pubsubTopic String
- The Pub/Sub topic where notifications like the job state changes will be published. The topic must exist in the same project as the job and billings will be charged to this project. If not specified, no Pub/Sub messages will be sent. Topic format: projects/{project}/topics/{topic}.
- message
MessageResponse 
- The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent.
- pubsubTopic string
- The Pub/Sub topic where notifications like the job state changes will be published. The topic must exist in the same project as the job and billings will be charged to this project. If not specified, no Pub/Sub messages will be sent. Topic format: projects/{project}/topics/{topic}.
- message
MessageResponse 
- The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent.
- pubsub_topic str
- The Pub/Sub topic where notifications like the job state changes will be published. The topic must exist in the same project as the job and billings will be charged to this project. If not specified, no Pub/Sub messages will be sent. Topic format: projects/{project}/topics/{topic}.
- message Property Map
- The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent.
- pubsubTopic String
- The Pub/Sub topic where notifications like the job state changes will be published. The topic must exist in the same project as the job and billings will be charged to this project. If not specified, no Pub/Sub messages will be sent. Topic format: projects/{project}/topics/{topic}.
JobStatusResponse, JobStatusResponseArgs      
- RunDuration string
- The duration of time that the Job spent in status RUNNING.
- State string
- Job state
- StatusEvents List<Pulumi.Google Native. Batch. V1. Inputs. Status Event Response> 
- Job status events
- TaskGroups Dictionary<string, string>
- Aggregated task status for each TaskGroup in the Job. The map key is TaskGroup ID.
- RunDuration string
- The duration of time that the Job spent in status RUNNING.
- State string
- Job state
- StatusEvents []StatusEvent Response 
- Job status events
- TaskGroups map[string]string
- Aggregated task status for each TaskGroup in the Job. The map key is TaskGroup ID.
- runDuration String
- The duration of time that the Job spent in status RUNNING.
- state String
- Job state
- statusEvents List<StatusEvent Response> 
- Job status events
- taskGroups Map<String,String>
- Aggregated task status for each TaskGroup in the Job. The map key is TaskGroup ID.
- runDuration string
- The duration of time that the Job spent in status RUNNING.
- state string
- Job state
- statusEvents StatusEvent Response[] 
- Job status events
- taskGroups {[key: string]: string}
- Aggregated task status for each TaskGroup in the Job. The map key is TaskGroup ID.
- run_duration str
- The duration of time that the Job spent in status RUNNING.
- state str
- Job state
- status_events Sequence[StatusEvent Response] 
- Job status events
- task_groups Mapping[str, str]
- Aggregated task status for each TaskGroup in the Job. The map key is TaskGroup ID.
- runDuration String
- The duration of time that the Job spent in status RUNNING.
- state String
- Job state
- statusEvents List<Property Map>
- Job status events
- taskGroups Map<String>
- Aggregated task status for each TaskGroup in the Job. The map key is TaskGroup ID.
KMSEnvMap, KMSEnvMapArgs    
- CipherText string
- The value of the cipherText response from the encryptmethod.
- KeyName string
- The name of the KMS key that will be used to decrypt the cipher text.
- CipherText string
- The value of the cipherText response from the encryptmethod.
- KeyName string
- The name of the KMS key that will be used to decrypt the cipher text.
- cipherText String
- The value of the cipherText response from the encryptmethod.
- keyName String
- The name of the KMS key that will be used to decrypt the cipher text.
- cipherText string
- The value of the cipherText response from the encryptmethod.
- keyName string
- The name of the KMS key that will be used to decrypt the cipher text.
- cipher_text str
- The value of the cipherText response from the encryptmethod.
- key_name str
- The name of the KMS key that will be used to decrypt the cipher text.
- cipherText String
- The value of the cipherText response from the encryptmethod.
- keyName String
- The name of the KMS key that will be used to decrypt the cipher text.
KMSEnvMapResponse, KMSEnvMapResponseArgs      
- CipherText string
- The value of the cipherText response from the encryptmethod.
- KeyName string
- The name of the KMS key that will be used to decrypt the cipher text.
- CipherText string
- The value of the cipherText response from the encryptmethod.
- KeyName string
- The name of the KMS key that will be used to decrypt the cipher text.
- cipherText String
- The value of the cipherText response from the encryptmethod.
- keyName String
- The name of the KMS key that will be used to decrypt the cipher text.
- cipherText string
- The value of the cipherText response from the encryptmethod.
- keyName string
- The name of the KMS key that will be used to decrypt the cipher text.
- cipher_text str
- The value of the cipherText response from the encryptmethod.
- key_name str
- The name of the KMS key that will be used to decrypt the cipher text.
- cipherText String
- The value of the cipherText response from the encryptmethod.
- keyName String
- The name of the KMS key that will be used to decrypt the cipher text.
LifecyclePolicy, LifecyclePolicyArgs    
- Action
Pulumi.Google Native. Batch. V1. Lifecycle Policy Action 
- Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found. Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found.
- ActionCondition Pulumi.Google Native. Batch. V1. Inputs. Action Condition 
- Conditions that decide why a task failure is dealt with a specific action.
- Action
LifecyclePolicy Action 
- Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found. Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found.
- ActionCondition ActionCondition 
- Conditions that decide why a task failure is dealt with a specific action.
- action
LifecyclePolicy Action 
- Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found. Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found.
- actionCondition ActionCondition 
- Conditions that decide why a task failure is dealt with a specific action.
- action
LifecyclePolicy Action 
- Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found. Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found.
- actionCondition ActionCondition 
- Conditions that decide why a task failure is dealt with a specific action.
- action
LifecyclePolicy Action 
- Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found. Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found.
- action_condition ActionCondition 
- Conditions that decide why a task failure is dealt with a specific action.
- action "ACTION_UNSPECIFIED" | "RETRY_TASK" | "FAIL_TASK"
- Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found. Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found.
- actionCondition Property Map
- Conditions that decide why a task failure is dealt with a specific action.
LifecyclePolicyAction, LifecyclePolicyActionArgs      
- ActionUnspecified 
- ACTION_UNSPECIFIEDAction unspecified.
- RetryTask 
- RETRY_TASKAction that tasks in the group will be scheduled to re-execute.
- FailTask 
- FAIL_TASKAction that tasks in the group will be stopped immediately.
- LifecyclePolicy Action Action Unspecified 
- ACTION_UNSPECIFIEDAction unspecified.
- LifecyclePolicy Action Retry Task 
- RETRY_TASKAction that tasks in the group will be scheduled to re-execute.
- LifecyclePolicy Action Fail Task 
- FAIL_TASKAction that tasks in the group will be stopped immediately.
- ActionUnspecified 
- ACTION_UNSPECIFIEDAction unspecified.
- RetryTask 
- RETRY_TASKAction that tasks in the group will be scheduled to re-execute.
- FailTask 
- FAIL_TASKAction that tasks in the group will be stopped immediately.
- ActionUnspecified 
- ACTION_UNSPECIFIEDAction unspecified.
- RetryTask 
- RETRY_TASKAction that tasks in the group will be scheduled to re-execute.
- FailTask 
- FAIL_TASKAction that tasks in the group will be stopped immediately.
- ACTION_UNSPECIFIED
- ACTION_UNSPECIFIEDAction unspecified.
- RETRY_TASK
- RETRY_TASKAction that tasks in the group will be scheduled to re-execute.
- FAIL_TASK
- FAIL_TASKAction that tasks in the group will be stopped immediately.
- "ACTION_UNSPECIFIED"
- ACTION_UNSPECIFIEDAction unspecified.
- "RETRY_TASK"
- RETRY_TASKAction that tasks in the group will be scheduled to re-execute.
- "FAIL_TASK"
- FAIL_TASKAction that tasks in the group will be stopped immediately.
LifecyclePolicyResponse, LifecyclePolicyResponseArgs      
- Action string
- Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found. Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found.
- ActionCondition Pulumi.Google Native. Batch. V1. Inputs. Action Condition Response 
- Conditions that decide why a task failure is dealt with a specific action.
- Action string
- Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found. Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found.
- ActionCondition ActionCondition Response 
- Conditions that decide why a task failure is dealt with a specific action.
- action String
- Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found. Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found.
- actionCondition ActionCondition Response 
- Conditions that decide why a task failure is dealt with a specific action.
- action string
- Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found. Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found.
- actionCondition ActionCondition Response 
- Conditions that decide why a task failure is dealt with a specific action.
- action str
- Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found. Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found.
- action_condition ActionCondition Response 
- Conditions that decide why a task failure is dealt with a specific action.
- action String
- Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found. Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found.
- actionCondition Property Map
- Conditions that decide why a task failure is dealt with a specific action.
LocationPolicy, LocationPolicyArgs    
- AllowedLocations List<string>
- A list of allowed location names represented by internal URLs. Each location can be a region or a zone. Only one region or multiple zones in one region is supported now. For example, ["regions/us-central1"] allow VMs in any zones in region us-central1. ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs in zones us-central1-a and us-central1-c. All locations end up in different regions would cause errors. For example, ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", "zones/us-west1-a"] contains 2 regions "us-central1" and "us-west1". An error is expected in this case.
- AllowedLocations []string
- A list of allowed location names represented by internal URLs. Each location can be a region or a zone. Only one region or multiple zones in one region is supported now. For example, ["regions/us-central1"] allow VMs in any zones in region us-central1. ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs in zones us-central1-a and us-central1-c. All locations end up in different regions would cause errors. For example, ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", "zones/us-west1-a"] contains 2 regions "us-central1" and "us-west1". An error is expected in this case.
- allowedLocations List<String>
- A list of allowed location names represented by internal URLs. Each location can be a region or a zone. Only one region or multiple zones in one region is supported now. For example, ["regions/us-central1"] allow VMs in any zones in region us-central1. ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs in zones us-central1-a and us-central1-c. All locations end up in different regions would cause errors. For example, ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", "zones/us-west1-a"] contains 2 regions "us-central1" and "us-west1". An error is expected in this case.
- allowedLocations string[]
- A list of allowed location names represented by internal URLs. Each location can be a region or a zone. Only one region or multiple zones in one region is supported now. For example, ["regions/us-central1"] allow VMs in any zones in region us-central1. ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs in zones us-central1-a and us-central1-c. All locations end up in different regions would cause errors. For example, ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", "zones/us-west1-a"] contains 2 regions "us-central1" and "us-west1". An error is expected in this case.
- allowed_locations Sequence[str]
- A list of allowed location names represented by internal URLs. Each location can be a region or a zone. Only one region or multiple zones in one region is supported now. For example, ["regions/us-central1"] allow VMs in any zones in region us-central1. ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs in zones us-central1-a and us-central1-c. All locations end up in different regions would cause errors. For example, ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", "zones/us-west1-a"] contains 2 regions "us-central1" and "us-west1". An error is expected in this case.
- allowedLocations List<String>
- A list of allowed location names represented by internal URLs. Each location can be a region or a zone. Only one region or multiple zones in one region is supported now. For example, ["regions/us-central1"] allow VMs in any zones in region us-central1. ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs in zones us-central1-a and us-central1-c. All locations end up in different regions would cause errors. For example, ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", "zones/us-west1-a"] contains 2 regions "us-central1" and "us-west1". An error is expected in this case.
LocationPolicyResponse, LocationPolicyResponseArgs      
- AllowedLocations List<string>
- A list of allowed location names represented by internal URLs. Each location can be a region or a zone. Only one region or multiple zones in one region is supported now. For example, ["regions/us-central1"] allow VMs in any zones in region us-central1. ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs in zones us-central1-a and us-central1-c. All locations end up in different regions would cause errors. For example, ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", "zones/us-west1-a"] contains 2 regions "us-central1" and "us-west1". An error is expected in this case.
- AllowedLocations []string
- A list of allowed location names represented by internal URLs. Each location can be a region or a zone. Only one region or multiple zones in one region is supported now. For example, ["regions/us-central1"] allow VMs in any zones in region us-central1. ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs in zones us-central1-a and us-central1-c. All locations end up in different regions would cause errors. For example, ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", "zones/us-west1-a"] contains 2 regions "us-central1" and "us-west1". An error is expected in this case.
- allowedLocations List<String>
- A list of allowed location names represented by internal URLs. Each location can be a region or a zone. Only one region or multiple zones in one region is supported now. For example, ["regions/us-central1"] allow VMs in any zones in region us-central1. ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs in zones us-central1-a and us-central1-c. All locations end up in different regions would cause errors. For example, ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", "zones/us-west1-a"] contains 2 regions "us-central1" and "us-west1". An error is expected in this case.
- allowedLocations string[]
- A list of allowed location names represented by internal URLs. Each location can be a region or a zone. Only one region or multiple zones in one region is supported now. For example, ["regions/us-central1"] allow VMs in any zones in region us-central1. ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs in zones us-central1-a and us-central1-c. All locations end up in different regions would cause errors. For example, ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", "zones/us-west1-a"] contains 2 regions "us-central1" and "us-west1". An error is expected in this case.
- allowed_locations Sequence[str]
- A list of allowed location names represented by internal URLs. Each location can be a region or a zone. Only one region or multiple zones in one region is supported now. For example, ["regions/us-central1"] allow VMs in any zones in region us-central1. ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs in zones us-central1-a and us-central1-c. All locations end up in different regions would cause errors. For example, ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", "zones/us-west1-a"] contains 2 regions "us-central1" and "us-west1". An error is expected in this case.
- allowedLocations List<String>
- A list of allowed location names represented by internal URLs. Each location can be a region or a zone. Only one region or multiple zones in one region is supported now. For example, ["regions/us-central1"] allow VMs in any zones in region us-central1. ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs in zones us-central1-a and us-central1-c. All locations end up in different regions would cause errors. For example, ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", "zones/us-west1-a"] contains 2 regions "us-central1" and "us-west1". An error is expected in this case.
LogsPolicy, LogsPolicyArgs    
- CloudLogging Pulumi.Option Google Native. Batch. V1. Inputs. Cloud Logging Option 
- Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.
- Destination
Pulumi.Google Native. Batch. V1. Logs Policy Destination 
- Where logs should be saved.
- LogsPath string
- The path to which logs are saved when the destination = PATH. This can be a local file path on the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.
- CloudLogging CloudOption Logging Option 
- Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.
- Destination
LogsPolicy Destination 
- Where logs should be saved.
- LogsPath string
- The path to which logs are saved when the destination = PATH. This can be a local file path on the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.
- cloudLogging CloudOption Logging Option 
- Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.
- destination
LogsPolicy Destination 
- Where logs should be saved.
- logsPath String
- The path to which logs are saved when the destination = PATH. This can be a local file path on the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.
- cloudLogging CloudOption Logging Option 
- Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.
- destination
LogsPolicy Destination 
- Where logs should be saved.
- logsPath string
- The path to which logs are saved when the destination = PATH. This can be a local file path on the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.
- cloud_logging_ Cloudoption Logging Option 
- Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.
- destination
LogsPolicy Destination 
- Where logs should be saved.
- logs_path str
- The path to which logs are saved when the destination = PATH. This can be a local file path on the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.
- cloudLogging Property MapOption 
- Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.
- destination "DESTINATION_UNSPECIFIED" | "CLOUD_LOGGING" | "PATH"
- Where logs should be saved.
- logsPath String
- The path to which logs are saved when the destination = PATH. This can be a local file path on the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.
LogsPolicyDestination, LogsPolicyDestinationArgs      
- DestinationUnspecified 
- DESTINATION_UNSPECIFIEDLogs are not preserved.
- CloudLogging 
- CLOUD_LOGGINGLogs are streamed to Cloud Logging.
- Path
- PATHLogs are saved to a file path.
- LogsPolicy Destination Destination Unspecified 
- DESTINATION_UNSPECIFIEDLogs are not preserved.
- LogsPolicy Destination Cloud Logging 
- CLOUD_LOGGINGLogs are streamed to Cloud Logging.
- LogsPolicy Destination Path 
- PATHLogs are saved to a file path.
- DestinationUnspecified 
- DESTINATION_UNSPECIFIEDLogs are not preserved.
- CloudLogging 
- CLOUD_LOGGINGLogs are streamed to Cloud Logging.
- Path
- PATHLogs are saved to a file path.
- DestinationUnspecified 
- DESTINATION_UNSPECIFIEDLogs are not preserved.
- CloudLogging 
- CLOUD_LOGGINGLogs are streamed to Cloud Logging.
- Path
- PATHLogs are saved to a file path.
- DESTINATION_UNSPECIFIED
- DESTINATION_UNSPECIFIEDLogs are not preserved.
- CLOUD_LOGGING
- CLOUD_LOGGINGLogs are streamed to Cloud Logging.
- PATH
- PATHLogs are saved to a file path.
- "DESTINATION_UNSPECIFIED"
- DESTINATION_UNSPECIFIEDLogs are not preserved.
- "CLOUD_LOGGING"
- CLOUD_LOGGINGLogs are streamed to Cloud Logging.
- "PATH"
- PATHLogs are saved to a file path.
LogsPolicyResponse, LogsPolicyResponseArgs      
- CloudLogging Pulumi.Option Google Native. Batch. V1. Inputs. Cloud Logging Option Response 
- Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.
- Destination string
- Where logs should be saved.
- LogsPath string
- The path to which logs are saved when the destination = PATH. This can be a local file path on the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.
- CloudLogging CloudOption Logging Option Response 
- Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.
- Destination string
- Where logs should be saved.
- LogsPath string
- The path to which logs are saved when the destination = PATH. This can be a local file path on the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.
- cloudLogging CloudOption Logging Option Response 
- Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.
- destination String
- Where logs should be saved.
- logsPath String
- The path to which logs are saved when the destination = PATH. This can be a local file path on the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.
- cloudLogging CloudOption Logging Option Response 
- Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.
- destination string
- Where logs should be saved.
- logsPath string
- The path to which logs are saved when the destination = PATH. This can be a local file path on the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.
- cloud_logging_ Cloudoption Logging Option Response 
- Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.
- destination str
- Where logs should be saved.
- logs_path str
- The path to which logs are saved when the destination = PATH. This can be a local file path on the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.
- cloudLogging Property MapOption 
- Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING.
- destination String
- Where logs should be saved.
- logsPath String
- The path to which logs are saved when the destination = PATH. This can be a local file path on the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.
Message, MessageArgs  
- NewJob Pulumi.State Google Native. Batch. V1. Message New Job State 
- The new job state.
- NewTask Pulumi.State Google Native. Batch. V1. Message New Task State 
- The new task state.
- Type
Pulumi.Google Native. Batch. V1. Message Type 
- The message type.
- NewJob MessageState New Job State 
- The new job state.
- NewTask MessageState New Task State 
- The new task state.
- Type
MessageType 
- The message type.
- newJob MessageState New Job State 
- The new job state.
- newTask MessageState New Task State 
- The new task state.
- type
MessageType 
- The message type.
- newJob MessageState New Job State 
- The new job state.
- newTask MessageState New Task State 
- The new task state.
- type
MessageType 
- The message type.
- new_job_ Messagestate New Job State 
- The new job state.
- new_task_ Messagestate New Task State 
- The new task state.
- type
MessageType 
- The message type.
- newJob "STATE_UNSPECIFIED" | "QUEUED" | "SCHEDULED" | "RUNNING" | "SUCCEEDED" | "FAILED" | "DELETION_IN_PROGRESS"State 
- The new job state.
- newTask "STATE_UNSPECIFIED" | "PENDING" | "ASSIGNED" | "RUNNING" | "FAILED" | "SUCCEEDED" | "UNEXECUTED"State 
- The new task state.
- type "TYPE_UNSPECIFIED" | "JOB_STATE_CHANGED" | "TASK_STATE_CHANGED"
- The message type.
MessageNewJobState, MessageNewJobStateArgs        
- StateUnspecified 
- STATE_UNSPECIFIEDJob state unspecified.
- Queued
- QUEUEDJob is admitted (validated and persisted) and waiting for resources.
- Scheduled
- SCHEDULEDJob is scheduled to run as soon as resource allocation is ready. The resource allocation may happen at a later time but with a high chance to succeed.
- Running
- RUNNINGResource allocation has been successful. At least one Task in the Job is RUNNING.
- Succeeded
- SUCCEEDEDAll Tasks in the Job have finished successfully.
- Failed
- FAILEDAt least one Task in the Job has failed.
- DeletionIn Progress 
- DELETION_IN_PROGRESSThe Job will be deleted, but has not been deleted yet. Typically this is because resources used by the Job are still being cleaned up.
- MessageNew Job State State Unspecified 
- STATE_UNSPECIFIEDJob state unspecified.
- MessageNew Job State Queued 
- QUEUEDJob is admitted (validated and persisted) and waiting for resources.
- MessageNew Job State Scheduled 
- SCHEDULEDJob is scheduled to run as soon as resource allocation is ready. The resource allocation may happen at a later time but with a high chance to succeed.
- MessageNew Job State Running 
- RUNNINGResource allocation has been successful. At least one Task in the Job is RUNNING.
- MessageNew Job State Succeeded 
- SUCCEEDEDAll Tasks in the Job have finished successfully.
- MessageNew Job State Failed 
- FAILEDAt least one Task in the Job has failed.
- MessageNew Job State Deletion In Progress 
- DELETION_IN_PROGRESSThe Job will be deleted, but has not been deleted yet. Typically this is because resources used by the Job are still being cleaned up.
- StateUnspecified 
- STATE_UNSPECIFIEDJob state unspecified.
- Queued
- QUEUEDJob is admitted (validated and persisted) and waiting for resources.
- Scheduled
- SCHEDULEDJob is scheduled to run as soon as resource allocation is ready. The resource allocation may happen at a later time but with a high chance to succeed.
- Running
- RUNNINGResource allocation has been successful. At least one Task in the Job is RUNNING.
- Succeeded
- SUCCEEDEDAll Tasks in the Job have finished successfully.
- Failed
- FAILEDAt least one Task in the Job has failed.
- DeletionIn Progress 
- DELETION_IN_PROGRESSThe Job will be deleted, but has not been deleted yet. Typically this is because resources used by the Job are still being cleaned up.
- StateUnspecified 
- STATE_UNSPECIFIEDJob state unspecified.
- Queued
- QUEUEDJob is admitted (validated and persisted) and waiting for resources.
- Scheduled
- SCHEDULEDJob is scheduled to run as soon as resource allocation is ready. The resource allocation may happen at a later time but with a high chance to succeed.
- Running
- RUNNINGResource allocation has been successful. At least one Task in the Job is RUNNING.
- Succeeded
- SUCCEEDEDAll Tasks in the Job have finished successfully.
- Failed
- FAILEDAt least one Task in the Job has failed.
- DeletionIn Progress 
- DELETION_IN_PROGRESSThe Job will be deleted, but has not been deleted yet. Typically this is because resources used by the Job are still being cleaned up.
- STATE_UNSPECIFIED
- STATE_UNSPECIFIEDJob state unspecified.
- QUEUED
- QUEUEDJob is admitted (validated and persisted) and waiting for resources.
- SCHEDULED
- SCHEDULEDJob is scheduled to run as soon as resource allocation is ready. The resource allocation may happen at a later time but with a high chance to succeed.
- RUNNING
- RUNNINGResource allocation has been successful. At least one Task in the Job is RUNNING.
- SUCCEEDED
- SUCCEEDEDAll Tasks in the Job have finished successfully.
- FAILED
- FAILEDAt least one Task in the Job has failed.
- DELETION_IN_PROGRESS
- DELETION_IN_PROGRESSThe Job will be deleted, but has not been deleted yet. Typically this is because resources used by the Job are still being cleaned up.
- "STATE_UNSPECIFIED"
- STATE_UNSPECIFIEDJob state unspecified.
- "QUEUED"
- QUEUEDJob is admitted (validated and persisted) and waiting for resources.
- "SCHEDULED"
- SCHEDULEDJob is scheduled to run as soon as resource allocation is ready. The resource allocation may happen at a later time but with a high chance to succeed.
- "RUNNING"
- RUNNINGResource allocation has been successful. At least one Task in the Job is RUNNING.
- "SUCCEEDED"
- SUCCEEDEDAll Tasks in the Job have finished successfully.
- "FAILED"
- FAILEDAt least one Task in the Job has failed.
- "DELETION_IN_PROGRESS"
- DELETION_IN_PROGRESSThe Job will be deleted, but has not been deleted yet. Typically this is because resources used by the Job are still being cleaned up.
MessageNewTaskState, MessageNewTaskStateArgs        
- StateUnspecified 
- STATE_UNSPECIFIEDUnknown state.
- Pending
- PENDINGThe Task is created and waiting for resources.
- Assigned
- ASSIGNEDThe Task is assigned to at least one VM.
- Running
- RUNNINGThe Task is running.
- Failed
- FAILEDThe Task has failed.
- Succeeded
- SUCCEEDEDThe Task has succeeded.
- Unexecuted
- UNEXECUTEDThe Task has not been executed when the Job finishes.
- MessageNew Task State State Unspecified 
- STATE_UNSPECIFIEDUnknown state.
- MessageNew Task State Pending 
- PENDINGThe Task is created and waiting for resources.
- MessageNew Task State Assigned 
- ASSIGNEDThe Task is assigned to at least one VM.
- MessageNew Task State Running 
- RUNNINGThe Task is running.
- MessageNew Task State Failed 
- FAILEDThe Task has failed.
- MessageNew Task State Succeeded 
- SUCCEEDEDThe Task has succeeded.
- MessageNew Task State Unexecuted 
- UNEXECUTEDThe Task has not been executed when the Job finishes.
- StateUnspecified 
- STATE_UNSPECIFIEDUnknown state.
- Pending
- PENDINGThe Task is created and waiting for resources.
- Assigned
- ASSIGNEDThe Task is assigned to at least one VM.
- Running
- RUNNINGThe Task is running.
- Failed
- FAILEDThe Task has failed.
- Succeeded
- SUCCEEDEDThe Task has succeeded.
- Unexecuted
- UNEXECUTEDThe Task has not been executed when the Job finishes.
- StateUnspecified 
- STATE_UNSPECIFIEDUnknown state.
- Pending
- PENDINGThe Task is created and waiting for resources.
- Assigned
- ASSIGNEDThe Task is assigned to at least one VM.
- Running
- RUNNINGThe Task is running.
- Failed
- FAILEDThe Task has failed.
- Succeeded
- SUCCEEDEDThe Task has succeeded.
- Unexecuted
- UNEXECUTEDThe Task has not been executed when the Job finishes.
- STATE_UNSPECIFIED
- STATE_UNSPECIFIEDUnknown state.
- PENDING
- PENDINGThe Task is created and waiting for resources.
- ASSIGNED
- ASSIGNEDThe Task is assigned to at least one VM.
- RUNNING
- RUNNINGThe Task is running.
- FAILED
- FAILEDThe Task has failed.
- SUCCEEDED
- SUCCEEDEDThe Task has succeeded.
- UNEXECUTED
- UNEXECUTEDThe Task has not been executed when the Job finishes.
- "STATE_UNSPECIFIED"
- STATE_UNSPECIFIEDUnknown state.
- "PENDING"
- PENDINGThe Task is created and waiting for resources.
- "ASSIGNED"
- ASSIGNEDThe Task is assigned to at least one VM.
- "RUNNING"
- RUNNINGThe Task is running.
- "FAILED"
- FAILEDThe Task has failed.
- "SUCCEEDED"
- SUCCEEDEDThe Task has succeeded.
- "UNEXECUTED"
- UNEXECUTEDThe Task has not been executed when the Job finishes.
MessageResponse, MessageResponseArgs    
- NewJob stringState 
- The new job state.
- NewTask stringState 
- The new task state.
- Type string
- The message type.
- NewJob stringState 
- The new job state.
- NewTask stringState 
- The new task state.
- Type string
- The message type.
- newJob StringState 
- The new job state.
- newTask StringState 
- The new task state.
- type String
- The message type.
- newJob stringState 
- The new job state.
- newTask stringState 
- The new task state.
- type string
- The message type.
- new_job_ strstate 
- The new job state.
- new_task_ strstate 
- The new task state.
- type str
- The message type.
- newJob StringState 
- The new job state.
- newTask StringState 
- The new task state.
- type String
- The message type.
MessageType, MessageTypeArgs    
- TypeUnspecified 
- TYPE_UNSPECIFIEDUnspecified.
- JobState Changed 
- JOB_STATE_CHANGEDNotify users that the job state has changed.
- TaskState Changed 
- TASK_STATE_CHANGEDNotify users that the task state has changed.
- MessageType Type Unspecified 
- TYPE_UNSPECIFIEDUnspecified.
- MessageType Job State Changed 
- JOB_STATE_CHANGEDNotify users that the job state has changed.
- MessageType Task State Changed 
- TASK_STATE_CHANGEDNotify users that the task state has changed.
- TypeUnspecified 
- TYPE_UNSPECIFIEDUnspecified.
- JobState Changed 
- JOB_STATE_CHANGEDNotify users that the job state has changed.
- TaskState Changed 
- TASK_STATE_CHANGEDNotify users that the task state has changed.
- TypeUnspecified 
- TYPE_UNSPECIFIEDUnspecified.
- JobState Changed 
- JOB_STATE_CHANGEDNotify users that the job state has changed.
- TaskState Changed 
- TASK_STATE_CHANGEDNotify users that the task state has changed.
- TYPE_UNSPECIFIED
- TYPE_UNSPECIFIEDUnspecified.
- JOB_STATE_CHANGED
- JOB_STATE_CHANGEDNotify users that the job state has changed.
- TASK_STATE_CHANGED
- TASK_STATE_CHANGEDNotify users that the task state has changed.
- "TYPE_UNSPECIFIED"
- TYPE_UNSPECIFIEDUnspecified.
- "JOB_STATE_CHANGED"
- JOB_STATE_CHANGEDNotify users that the job state has changed.
- "TASK_STATE_CHANGED"
- TASK_STATE_CHANGEDNotify users that the task state has changed.
NFS, NFSArgs  
- RemotePath string
- Remote source path exported from the NFS, e.g., "/share".
- Server string
- The IP address of the NFS.
- RemotePath string
- Remote source path exported from the NFS, e.g., "/share".
- Server string
- The IP address of the NFS.
- remotePath String
- Remote source path exported from the NFS, e.g., "/share".
- server String
- The IP address of the NFS.
- remotePath string
- Remote source path exported from the NFS, e.g., "/share".
- server string
- The IP address of the NFS.
- remote_path str
- Remote source path exported from the NFS, e.g., "/share".
- server str
- The IP address of the NFS.
- remotePath String
- Remote source path exported from the NFS, e.g., "/share".
- server String
- The IP address of the NFS.
NFSResponse, NFSResponseArgs  
- RemotePath string
- Remote source path exported from the NFS, e.g., "/share".
- Server string
- The IP address of the NFS.
- RemotePath string
- Remote source path exported from the NFS, e.g., "/share".
- Server string
- The IP address of the NFS.
- remotePath String
- Remote source path exported from the NFS, e.g., "/share".
- server String
- The IP address of the NFS.
- remotePath string
- Remote source path exported from the NFS, e.g., "/share".
- server string
- The IP address of the NFS.
- remote_path str
- Remote source path exported from the NFS, e.g., "/share".
- server str
- The IP address of the NFS.
- remotePath String
- Remote source path exported from the NFS, e.g., "/share".
- server String
- The IP address of the NFS.
NetworkInterface, NetworkInterfaceArgs    
- Network string
- The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} * projects/{project}/global/networks/{network} * global/networks/{network}
- NoExternal boolIp Address 
- Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external public IP address, additional configuration is required to allow the VM to access Google Services. See https://cloud.google.com/vpc/docs/configure-private-google-access and https://cloud.google.com/nat/docs/gce-example#create-nat for more information.
- Subnetwork string
- The URL of an existing subnetwork resource in the network. You can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} * projects/{project}/regions/{region}/subnetworks/{subnetwork} * regions/{region}/subnetworks/{subnetwork}
- Network string
- The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} * projects/{project}/global/networks/{network} * global/networks/{network}
- NoExternal boolIp Address 
- Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external public IP address, additional configuration is required to allow the VM to access Google Services. See https://cloud.google.com/vpc/docs/configure-private-google-access and https://cloud.google.com/nat/docs/gce-example#create-nat for more information.
- Subnetwork string
- The URL of an existing subnetwork resource in the network. You can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} * projects/{project}/regions/{region}/subnetworks/{subnetwork} * regions/{region}/subnetworks/{subnetwork}
- network String
- The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} * projects/{project}/global/networks/{network} * global/networks/{network}
- noExternal BooleanIp Address 
- Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external public IP address, additional configuration is required to allow the VM to access Google Services. See https://cloud.google.com/vpc/docs/configure-private-google-access and https://cloud.google.com/nat/docs/gce-example#create-nat for more information.
- subnetwork String
- The URL of an existing subnetwork resource in the network. You can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} * projects/{project}/regions/{region}/subnetworks/{subnetwork} * regions/{region}/subnetworks/{subnetwork}
- network string
- The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} * projects/{project}/global/networks/{network} * global/networks/{network}
- noExternal booleanIp Address 
- Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external public IP address, additional configuration is required to allow the VM to access Google Services. See https://cloud.google.com/vpc/docs/configure-private-google-access and https://cloud.google.com/nat/docs/gce-example#create-nat for more information.
- subnetwork string
- The URL of an existing subnetwork resource in the network. You can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} * projects/{project}/regions/{region}/subnetworks/{subnetwork} * regions/{region}/subnetworks/{subnetwork}
- network str
- The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} * projects/{project}/global/networks/{network} * global/networks/{network}
- no_external_ boolip_ address 
- Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external public IP address, additional configuration is required to allow the VM to access Google Services. See https://cloud.google.com/vpc/docs/configure-private-google-access and https://cloud.google.com/nat/docs/gce-example#create-nat for more information.
- subnetwork str
- The URL of an existing subnetwork resource in the network. You can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} * projects/{project}/regions/{region}/subnetworks/{subnetwork} * regions/{region}/subnetworks/{subnetwork}
- network String
- The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} * projects/{project}/global/networks/{network} * global/networks/{network}
- noExternal BooleanIp Address 
- Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external public IP address, additional configuration is required to allow the VM to access Google Services. See https://cloud.google.com/vpc/docs/configure-private-google-access and https://cloud.google.com/nat/docs/gce-example#create-nat for more information.
- subnetwork String
- The URL of an existing subnetwork resource in the network. You can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} * projects/{project}/regions/{region}/subnetworks/{subnetwork} * regions/{region}/subnetworks/{subnetwork}
NetworkInterfaceResponse, NetworkInterfaceResponseArgs      
- Network string
- The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} * projects/{project}/global/networks/{network} * global/networks/{network}
- NoExternal boolIp Address 
- Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external public IP address, additional configuration is required to allow the VM to access Google Services. See https://cloud.google.com/vpc/docs/configure-private-google-access and https://cloud.google.com/nat/docs/gce-example#create-nat for more information.
- Subnetwork string
- The URL of an existing subnetwork resource in the network. You can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} * projects/{project}/regions/{region}/subnetworks/{subnetwork} * regions/{region}/subnetworks/{subnetwork}
- Network string
- The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} * projects/{project}/global/networks/{network} * global/networks/{network}
- NoExternal boolIp Address 
- Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external public IP address, additional configuration is required to allow the VM to access Google Services. See https://cloud.google.com/vpc/docs/configure-private-google-access and https://cloud.google.com/nat/docs/gce-example#create-nat for more information.
- Subnetwork string
- The URL of an existing subnetwork resource in the network. You can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} * projects/{project}/regions/{region}/subnetworks/{subnetwork} * regions/{region}/subnetworks/{subnetwork}
- network String
- The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} * projects/{project}/global/networks/{network} * global/networks/{network}
- noExternal BooleanIp Address 
- Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external public IP address, additional configuration is required to allow the VM to access Google Services. See https://cloud.google.com/vpc/docs/configure-private-google-access and https://cloud.google.com/nat/docs/gce-example#create-nat for more information.
- subnetwork String
- The URL of an existing subnetwork resource in the network. You can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} * projects/{project}/regions/{region}/subnetworks/{subnetwork} * regions/{region}/subnetworks/{subnetwork}
- network string
- The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} * projects/{project}/global/networks/{network} * global/networks/{network}
- noExternal booleanIp Address 
- Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external public IP address, additional configuration is required to allow the VM to access Google Services. See https://cloud.google.com/vpc/docs/configure-private-google-access and https://cloud.google.com/nat/docs/gce-example#create-nat for more information.
- subnetwork string
- The URL of an existing subnetwork resource in the network. You can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} * projects/{project}/regions/{region}/subnetworks/{subnetwork} * regions/{region}/subnetworks/{subnetwork}
- network str
- The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} * projects/{project}/global/networks/{network} * global/networks/{network}
- no_external_ boolip_ address 
- Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external public IP address, additional configuration is required to allow the VM to access Google Services. See https://cloud.google.com/vpc/docs/configure-private-google-access and https://cloud.google.com/nat/docs/gce-example#create-nat for more information.
- subnetwork str
- The URL of an existing subnetwork resource in the network. You can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} * projects/{project}/regions/{region}/subnetworks/{subnetwork} * regions/{region}/subnetworks/{subnetwork}
- network String
- The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} * projects/{project}/global/networks/{network} * global/networks/{network}
- noExternal BooleanIp Address 
- Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external public IP address, additional configuration is required to allow the VM to access Google Services. See https://cloud.google.com/vpc/docs/configure-private-google-access and https://cloud.google.com/nat/docs/gce-example#create-nat for more information.
- subnetwork String
- The URL of an existing subnetwork resource in the network. You can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} * projects/{project}/regions/{region}/subnetworks/{subnetwork} * regions/{region}/subnetworks/{subnetwork}
NetworkPolicy, NetworkPolicyArgs    
- NetworkInterfaces List<Pulumi.Google Native. Batch. V1. Inputs. Network Interface> 
- Network configurations.
- NetworkInterfaces []NetworkInterface 
- Network configurations.
- networkInterfaces List<NetworkInterface> 
- Network configurations.
- networkInterfaces NetworkInterface[] 
- Network configurations.
- network_interfaces Sequence[NetworkInterface] 
- Network configurations.
- networkInterfaces List<Property Map>
- Network configurations.
NetworkPolicyResponse, NetworkPolicyResponseArgs      
- NetworkInterfaces List<Pulumi.Google Native. Batch. V1. Inputs. Network Interface Response> 
- Network configurations.
- NetworkInterfaces []NetworkInterface Response 
- Network configurations.
- networkInterfaces List<NetworkInterface Response> 
- Network configurations.
- networkInterfaces NetworkInterface Response[] 
- Network configurations.
- network_interfaces Sequence[NetworkInterface Response] 
- Network configurations.
- networkInterfaces List<Property Map>
- Network configurations.
PlacementPolicy, PlacementPolicyArgs    
- Collocation string
- UNSPECIFIED vs. COLLOCATED (default UNSPECIFIED). Use COLLOCATED when you want VMs to be located close to each other for low network latency between the VMs. No placement policy will be generated when collocation is UNSPECIFIED.
- MaxDistance string
- When specified, causes the job to fail if more than max_distance logical switches are required between VMs. Batch uses the most compact possible placement of VMs even when max_distance is not specified. An explicit max_distance makes that level of compactness a strict requirement. Not yet implemented
- Collocation string
- UNSPECIFIED vs. COLLOCATED (default UNSPECIFIED). Use COLLOCATED when you want VMs to be located close to each other for low network latency between the VMs. No placement policy will be generated when collocation is UNSPECIFIED.
- MaxDistance string
- When specified, causes the job to fail if more than max_distance logical switches are required between VMs. Batch uses the most compact possible placement of VMs even when max_distance is not specified. An explicit max_distance makes that level of compactness a strict requirement. Not yet implemented
- collocation String
- UNSPECIFIED vs. COLLOCATED (default UNSPECIFIED). Use COLLOCATED when you want VMs to be located close to each other for low network latency between the VMs. No placement policy will be generated when collocation is UNSPECIFIED.
- maxDistance String
- When specified, causes the job to fail if more than max_distance logical switches are required between VMs. Batch uses the most compact possible placement of VMs even when max_distance is not specified. An explicit max_distance makes that level of compactness a strict requirement. Not yet implemented
- collocation string
- UNSPECIFIED vs. COLLOCATED (default UNSPECIFIED). Use COLLOCATED when you want VMs to be located close to each other for low network latency between the VMs. No placement policy will be generated when collocation is UNSPECIFIED.
- maxDistance string
- When specified, causes the job to fail if more than max_distance logical switches are required between VMs. Batch uses the most compact possible placement of VMs even when max_distance is not specified. An explicit max_distance makes that level of compactness a strict requirement. Not yet implemented
- collocation str
- UNSPECIFIED vs. COLLOCATED (default UNSPECIFIED). Use COLLOCATED when you want VMs to be located close to each other for low network latency between the VMs. No placement policy will be generated when collocation is UNSPECIFIED.
- max_distance str
- When specified, causes the job to fail if more than max_distance logical switches are required between VMs. Batch uses the most compact possible placement of VMs even when max_distance is not specified. An explicit max_distance makes that level of compactness a strict requirement. Not yet implemented
- collocation String
- UNSPECIFIED vs. COLLOCATED (default UNSPECIFIED). Use COLLOCATED when you want VMs to be located close to each other for low network latency between the VMs. No placement policy will be generated when collocation is UNSPECIFIED.
- maxDistance String
- When specified, causes the job to fail if more than max_distance logical switches are required between VMs. Batch uses the most compact possible placement of VMs even when max_distance is not specified. An explicit max_distance makes that level of compactness a strict requirement. Not yet implemented
PlacementPolicyResponse, PlacementPolicyResponseArgs      
- Collocation string
- UNSPECIFIED vs. COLLOCATED (default UNSPECIFIED). Use COLLOCATED when you want VMs to be located close to each other for low network latency between the VMs. No placement policy will be generated when collocation is UNSPECIFIED.
- MaxDistance string
- When specified, causes the job to fail if more than max_distance logical switches are required between VMs. Batch uses the most compact possible placement of VMs even when max_distance is not specified. An explicit max_distance makes that level of compactness a strict requirement. Not yet implemented
- Collocation string
- UNSPECIFIED vs. COLLOCATED (default UNSPECIFIED). Use COLLOCATED when you want VMs to be located close to each other for low network latency between the VMs. No placement policy will be generated when collocation is UNSPECIFIED.
- MaxDistance string
- When specified, causes the job to fail if more than max_distance logical switches are required between VMs. Batch uses the most compact possible placement of VMs even when max_distance is not specified. An explicit max_distance makes that level of compactness a strict requirement. Not yet implemented
- collocation String
- UNSPECIFIED vs. COLLOCATED (default UNSPECIFIED). Use COLLOCATED when you want VMs to be located close to each other for low network latency between the VMs. No placement policy will be generated when collocation is UNSPECIFIED.
- maxDistance String
- When specified, causes the job to fail if more than max_distance logical switches are required between VMs. Batch uses the most compact possible placement of VMs even when max_distance is not specified. An explicit max_distance makes that level of compactness a strict requirement. Not yet implemented
- collocation string
- UNSPECIFIED vs. COLLOCATED (default UNSPECIFIED). Use COLLOCATED when you want VMs to be located close to each other for low network latency between the VMs. No placement policy will be generated when collocation is UNSPECIFIED.
- maxDistance string
- When specified, causes the job to fail if more than max_distance logical switches are required between VMs. Batch uses the most compact possible placement of VMs even when max_distance is not specified. An explicit max_distance makes that level of compactness a strict requirement. Not yet implemented
- collocation str
- UNSPECIFIED vs. COLLOCATED (default UNSPECIFIED). Use COLLOCATED when you want VMs to be located close to each other for low network latency between the VMs. No placement policy will be generated when collocation is UNSPECIFIED.
- max_distance str
- When specified, causes the job to fail if more than max_distance logical switches are required between VMs. Batch uses the most compact possible placement of VMs even when max_distance is not specified. An explicit max_distance makes that level of compactness a strict requirement. Not yet implemented
- collocation String
- UNSPECIFIED vs. COLLOCATED (default UNSPECIFIED). Use COLLOCATED when you want VMs to be located close to each other for low network latency between the VMs. No placement policy will be generated when collocation is UNSPECIFIED.
- maxDistance String
- When specified, causes the job to fail if more than max_distance logical switches are required between VMs. Batch uses the most compact possible placement of VMs even when max_distance is not specified. An explicit max_distance makes that level of compactness a strict requirement. Not yet implemented
Runnable, RunnableArgs  
- AlwaysRun bool
- By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables.
- Background bool
- This flag allows a Runnable to continue running in the background while the Task executes subsequent Runnables. This is useful to provide services to other Runnables (or to provide debugging support tools like SSH servers).
- Barrier
Pulumi.Google Native. Batch. V1. Inputs. Barrier 
- Barrier runnable.
- Container
Pulumi.Google Native. Batch. V1. Inputs. Container 
- Container runnable.
- DisplayName string
- Optional. DisplayName is an optional field that can be provided by the caller. If provided, it will be used in logs and other outputs to identify the script, making it easier for users to understand the logs. If not provided the index of the runnable will be used for outputs.
- Environment
Pulumi.Google Native. Batch. V1. Inputs. Environment 
- Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).
- IgnoreExit boolStatus 
- Normally, a non-zero exit status causes the Task to fail. This flag allows execution of other Runnables to continue instead.
- Labels Dictionary<string, string>
- Labels for this Runnable.
- Script
Pulumi.Google Native. Batch. V1. Inputs. Script 
- Script runnable.
- Timeout string
- Timeout for this Runnable.
- AlwaysRun bool
- By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables.
- Background bool
- This flag allows a Runnable to continue running in the background while the Task executes subsequent Runnables. This is useful to provide services to other Runnables (or to provide debugging support tools like SSH servers).
- Barrier Barrier
- Barrier runnable.
- Container Container
- Container runnable.
- DisplayName string
- Optional. DisplayName is an optional field that can be provided by the caller. If provided, it will be used in logs and other outputs to identify the script, making it easier for users to understand the logs. If not provided the index of the runnable will be used for outputs.
- Environment Environment
- Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).
- IgnoreExit boolStatus 
- Normally, a non-zero exit status causes the Task to fail. This flag allows execution of other Runnables to continue instead.
- Labels map[string]string
- Labels for this Runnable.
- Script Script
- Script runnable.
- Timeout string
- Timeout for this Runnable.
- alwaysRun Boolean
- By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables.
- background Boolean
- This flag allows a Runnable to continue running in the background while the Task executes subsequent Runnables. This is useful to provide services to other Runnables (or to provide debugging support tools like SSH servers).
- barrier Barrier
- Barrier runnable.
- container Container
- Container runnable.
- displayName String
- Optional. DisplayName is an optional field that can be provided by the caller. If provided, it will be used in logs and other outputs to identify the script, making it easier for users to understand the logs. If not provided the index of the runnable will be used for outputs.
- environment Environment
- Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).
- ignoreExit BooleanStatus 
- Normally, a non-zero exit status causes the Task to fail. This flag allows execution of other Runnables to continue instead.
- labels Map<String,String>
- Labels for this Runnable.
- script Script
- Script runnable.
- timeout String
- Timeout for this Runnable.
- alwaysRun boolean
- By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables.
- background boolean
- This flag allows a Runnable to continue running in the background while the Task executes subsequent Runnables. This is useful to provide services to other Runnables (or to provide debugging support tools like SSH servers).
- barrier Barrier
- Barrier runnable.
- container Container
- Container runnable.
- displayName string
- Optional. DisplayName is an optional field that can be provided by the caller. If provided, it will be used in logs and other outputs to identify the script, making it easier for users to understand the logs. If not provided the index of the runnable will be used for outputs.
- environment Environment
- Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).
- ignoreExit booleanStatus 
- Normally, a non-zero exit status causes the Task to fail. This flag allows execution of other Runnables to continue instead.
- labels {[key: string]: string}
- Labels for this Runnable.
- script Script
- Script runnable.
- timeout string
- Timeout for this Runnable.
- always_run bool
- By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables.
- background bool
- This flag allows a Runnable to continue running in the background while the Task executes subsequent Runnables. This is useful to provide services to other Runnables (or to provide debugging support tools like SSH servers).
- barrier Barrier
- Barrier runnable.
- container Container
- Container runnable.
- display_name str
- Optional. DisplayName is an optional field that can be provided by the caller. If provided, it will be used in logs and other outputs to identify the script, making it easier for users to understand the logs. If not provided the index of the runnable will be used for outputs.
- environment Environment
- Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).
- ignore_exit_ boolstatus 
- Normally, a non-zero exit status causes the Task to fail. This flag allows execution of other Runnables to continue instead.
- labels Mapping[str, str]
- Labels for this Runnable.
- script Script
- Script runnable.
- timeout str
- Timeout for this Runnable.
- alwaysRun Boolean
- By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables.
- background Boolean
- This flag allows a Runnable to continue running in the background while the Task executes subsequent Runnables. This is useful to provide services to other Runnables (or to provide debugging support tools like SSH servers).
- barrier Property Map
- Barrier runnable.
- container Property Map
- Container runnable.
- displayName String
- Optional. DisplayName is an optional field that can be provided by the caller. If provided, it will be used in logs and other outputs to identify the script, making it easier for users to understand the logs. If not provided the index of the runnable will be used for outputs.
- environment Property Map
- Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).
- ignoreExit BooleanStatus 
- Normally, a non-zero exit status causes the Task to fail. This flag allows execution of other Runnables to continue instead.
- labels Map<String>
- Labels for this Runnable.
- script Property Map
- Script runnable.
- timeout String
- Timeout for this Runnable.
RunnableResponse, RunnableResponseArgs    
- AlwaysRun bool
- By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables.
- Background bool
- This flag allows a Runnable to continue running in the background while the Task executes subsequent Runnables. This is useful to provide services to other Runnables (or to provide debugging support tools like SSH servers).
- Barrier
Pulumi.Google Native. Batch. V1. Inputs. Barrier Response 
- Barrier runnable.
- Container
Pulumi.Google Native. Batch. V1. Inputs. Container Response 
- Container runnable.
- DisplayName string
- Optional. DisplayName is an optional field that can be provided by the caller. If provided, it will be used in logs and other outputs to identify the script, making it easier for users to understand the logs. If not provided the index of the runnable will be used for outputs.
- Environment
Pulumi.Google Native. Batch. V1. Inputs. Environment Response 
- Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).
- IgnoreExit boolStatus 
- Normally, a non-zero exit status causes the Task to fail. This flag allows execution of other Runnables to continue instead.
- Labels Dictionary<string, string>
- Labels for this Runnable.
- Script
Pulumi.Google Native. Batch. V1. Inputs. Script Response 
- Script runnable.
- Timeout string
- Timeout for this Runnable.
- AlwaysRun bool
- By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables.
- Background bool
- This flag allows a Runnable to continue running in the background while the Task executes subsequent Runnables. This is useful to provide services to other Runnables (or to provide debugging support tools like SSH servers).
- Barrier
BarrierResponse 
- Barrier runnable.
- Container
ContainerResponse 
- Container runnable.
- DisplayName string
- Optional. DisplayName is an optional field that can be provided by the caller. If provided, it will be used in logs and other outputs to identify the script, making it easier for users to understand the logs. If not provided the index of the runnable will be used for outputs.
- Environment
EnvironmentResponse 
- Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).
- IgnoreExit boolStatus 
- Normally, a non-zero exit status causes the Task to fail. This flag allows execution of other Runnables to continue instead.
- Labels map[string]string
- Labels for this Runnable.
- Script
ScriptResponse 
- Script runnable.
- Timeout string
- Timeout for this Runnable.
- alwaysRun Boolean
- By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables.
- background Boolean
- This flag allows a Runnable to continue running in the background while the Task executes subsequent Runnables. This is useful to provide services to other Runnables (or to provide debugging support tools like SSH servers).
- barrier
BarrierResponse 
- Barrier runnable.
- container
ContainerResponse 
- Container runnable.
- displayName String
- Optional. DisplayName is an optional field that can be provided by the caller. If provided, it will be used in logs and other outputs to identify the script, making it easier for users to understand the logs. If not provided the index of the runnable will be used for outputs.
- environment
EnvironmentResponse 
- Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).
- ignoreExit BooleanStatus 
- Normally, a non-zero exit status causes the Task to fail. This flag allows execution of other Runnables to continue instead.
- labels Map<String,String>
- Labels for this Runnable.
- script
ScriptResponse 
- Script runnable.
- timeout String
- Timeout for this Runnable.
- alwaysRun boolean
- By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables.
- background boolean
- This flag allows a Runnable to continue running in the background while the Task executes subsequent Runnables. This is useful to provide services to other Runnables (or to provide debugging support tools like SSH servers).
- barrier
BarrierResponse 
- Barrier runnable.
- container
ContainerResponse 
- Container runnable.
- displayName string
- Optional. DisplayName is an optional field that can be provided by the caller. If provided, it will be used in logs and other outputs to identify the script, making it easier for users to understand the logs. If not provided the index of the runnable will be used for outputs.
- environment
EnvironmentResponse 
- Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).
- ignoreExit booleanStatus 
- Normally, a non-zero exit status causes the Task to fail. This flag allows execution of other Runnables to continue instead.
- labels {[key: string]: string}
- Labels for this Runnable.
- script
ScriptResponse 
- Script runnable.
- timeout string
- Timeout for this Runnable.
- always_run bool
- By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables.
- background bool
- This flag allows a Runnable to continue running in the background while the Task executes subsequent Runnables. This is useful to provide services to other Runnables (or to provide debugging support tools like SSH servers).
- barrier
BarrierResponse 
- Barrier runnable.
- container
ContainerResponse 
- Container runnable.
- display_name str
- Optional. DisplayName is an optional field that can be provided by the caller. If provided, it will be used in logs and other outputs to identify the script, making it easier for users to understand the logs. If not provided the index of the runnable will be used for outputs.
- environment
EnvironmentResponse 
- Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).
- ignore_exit_ boolstatus 
- Normally, a non-zero exit status causes the Task to fail. This flag allows execution of other Runnables to continue instead.
- labels Mapping[str, str]
- Labels for this Runnable.
- script
ScriptResponse 
- Script runnable.
- timeout str
- Timeout for this Runnable.
- alwaysRun Boolean
- By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables.
- background Boolean
- This flag allows a Runnable to continue running in the background while the Task executes subsequent Runnables. This is useful to provide services to other Runnables (or to provide debugging support tools like SSH servers).
- barrier Property Map
- Barrier runnable.
- container Property Map
- Container runnable.
- displayName String
- Optional. DisplayName is an optional field that can be provided by the caller. If provided, it will be used in logs and other outputs to identify the script, making it easier for users to understand the logs. If not provided the index of the runnable will be used for outputs.
- environment Property Map
- Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).
- ignoreExit BooleanStatus 
- Normally, a non-zero exit status causes the Task to fail. This flag allows execution of other Runnables to continue instead.
- labels Map<String>
- Labels for this Runnable.
- script Property Map
- Script runnable.
- timeout String
- Timeout for this Runnable.
Script, ScriptArgs  
- Path string
- Script file path on the host VM. To specify an interpreter, please add a #!(also known as shebang line) as the first line of the file.(For example, to execute the script using bash,#!/bin/bashshould be the first line of the file. To execute the script usingPython3,#!/usr/bin/env python3should be the first line of the file.) Otherwise, the file will by default be excuted by/bin/sh.
- Text string
- Shell script text. To specify an interpreter, please add a #!\nat the beginning of the text.(For example, to execute the script using bash,#!/bin/bash\nshould be added. To execute the script usingPython3,#!/usr/bin/env python3\nshould be added.) Otherwise, the script will by default be excuted by/bin/sh.
- Path string
- Script file path on the host VM. To specify an interpreter, please add a #!(also known as shebang line) as the first line of the file.(For example, to execute the script using bash,#!/bin/bashshould be the first line of the file. To execute the script usingPython3,#!/usr/bin/env python3should be the first line of the file.) Otherwise, the file will by default be excuted by/bin/sh.
- Text string
- Shell script text. To specify an interpreter, please add a #!\nat the beginning of the text.(For example, to execute the script using bash,#!/bin/bash\nshould be added. To execute the script usingPython3,#!/usr/bin/env python3\nshould be added.) Otherwise, the script will by default be excuted by/bin/sh.
- path String
- Script file path on the host VM. To specify an interpreter, please add a #!(also known as shebang line) as the first line of the file.(For example, to execute the script using bash,#!/bin/bashshould be the first line of the file. To execute the script usingPython3,#!/usr/bin/env python3should be the first line of the file.) Otherwise, the file will by default be excuted by/bin/sh.
- text String
- Shell script text. To specify an interpreter, please add a #!\nat the beginning of the text.(For example, to execute the script using bash,#!/bin/bash\nshould be added. To execute the script usingPython3,#!/usr/bin/env python3\nshould be added.) Otherwise, the script will by default be excuted by/bin/sh.
- path string
- Script file path on the host VM. To specify an interpreter, please add a #!(also known as shebang line) as the first line of the file.(For example, to execute the script using bash,#!/bin/bashshould be the first line of the file. To execute the script usingPython3,#!/usr/bin/env python3should be the first line of the file.) Otherwise, the file will by default be excuted by/bin/sh.
- text string
- Shell script text. To specify an interpreter, please add a #!\nat the beginning of the text.(For example, to execute the script using bash,#!/bin/bash\nshould be added. To execute the script usingPython3,#!/usr/bin/env python3\nshould be added.) Otherwise, the script will by default be excuted by/bin/sh.
- path str
- Script file path on the host VM. To specify an interpreter, please add a #!(also known as shebang line) as the first line of the file.(For example, to execute the script using bash,#!/bin/bashshould be the first line of the file. To execute the script usingPython3,#!/usr/bin/env python3should be the first line of the file.) Otherwise, the file will by default be excuted by/bin/sh.
- text str
- Shell script text. To specify an interpreter, please add a #!\nat the beginning of the text.(For example, to execute the script using bash,#!/bin/bash\nshould be added. To execute the script usingPython3,#!/usr/bin/env python3\nshould be added.) Otherwise, the script will by default be excuted by/bin/sh.
- path String
- Script file path on the host VM. To specify an interpreter, please add a #!(also known as shebang line) as the first line of the file.(For example, to execute the script using bash,#!/bin/bashshould be the first line of the file. To execute the script usingPython3,#!/usr/bin/env python3should be the first line of the file.) Otherwise, the file will by default be excuted by/bin/sh.
- text String
- Shell script text. To specify an interpreter, please add a #!\nat the beginning of the text.(For example, to execute the script using bash,#!/bin/bash\nshould be added. To execute the script usingPython3,#!/usr/bin/env python3\nshould be added.) Otherwise, the script will by default be excuted by/bin/sh.
ScriptResponse, ScriptResponseArgs    
- Path string
- Script file path on the host VM. To specify an interpreter, please add a #!(also known as shebang line) as the first line of the file.(For example, to execute the script using bash,#!/bin/bashshould be the first line of the file. To execute the script usingPython3,#!/usr/bin/env python3should be the first line of the file.) Otherwise, the file will by default be excuted by/bin/sh.
- Text string
- Shell script text. To specify an interpreter, please add a #!\nat the beginning of the text.(For example, to execute the script using bash,#!/bin/bash\nshould be added. To execute the script usingPython3,#!/usr/bin/env python3\nshould be added.) Otherwise, the script will by default be excuted by/bin/sh.
- Path string
- Script file path on the host VM. To specify an interpreter, please add a #!(also known as shebang line) as the first line of the file.(For example, to execute the script using bash,#!/bin/bashshould be the first line of the file. To execute the script usingPython3,#!/usr/bin/env python3should be the first line of the file.) Otherwise, the file will by default be excuted by/bin/sh.
- Text string
- Shell script text. To specify an interpreter, please add a #!\nat the beginning of the text.(For example, to execute the script using bash,#!/bin/bash\nshould be added. To execute the script usingPython3,#!/usr/bin/env python3\nshould be added.) Otherwise, the script will by default be excuted by/bin/sh.
- path String
- Script file path on the host VM. To specify an interpreter, please add a #!(also known as shebang line) as the first line of the file.(For example, to execute the script using bash,#!/bin/bashshould be the first line of the file. To execute the script usingPython3,#!/usr/bin/env python3should be the first line of the file.) Otherwise, the file will by default be excuted by/bin/sh.
- text String
- Shell script text. To specify an interpreter, please add a #!\nat the beginning of the text.(For example, to execute the script using bash,#!/bin/bash\nshould be added. To execute the script usingPython3,#!/usr/bin/env python3\nshould be added.) Otherwise, the script will by default be excuted by/bin/sh.
- path string
- Script file path on the host VM. To specify an interpreter, please add a #!(also known as shebang line) as the first line of the file.(For example, to execute the script using bash,#!/bin/bashshould be the first line of the file. To execute the script usingPython3,#!/usr/bin/env python3should be the first line of the file.) Otherwise, the file will by default be excuted by/bin/sh.
- text string
- Shell script text. To specify an interpreter, please add a #!\nat the beginning of the text.(For example, to execute the script using bash,#!/bin/bash\nshould be added. To execute the script usingPython3,#!/usr/bin/env python3\nshould be added.) Otherwise, the script will by default be excuted by/bin/sh.
- path str
- Script file path on the host VM. To specify an interpreter, please add a #!(also known as shebang line) as the first line of the file.(For example, to execute the script using bash,#!/bin/bashshould be the first line of the file. To execute the script usingPython3,#!/usr/bin/env python3should be the first line of the file.) Otherwise, the file will by default be excuted by/bin/sh.
- text str
- Shell script text. To specify an interpreter, please add a #!\nat the beginning of the text.(For example, to execute the script using bash,#!/bin/bash\nshould be added. To execute the script usingPython3,#!/usr/bin/env python3\nshould be added.) Otherwise, the script will by default be excuted by/bin/sh.
- path String
- Script file path on the host VM. To specify an interpreter, please add a #!(also known as shebang line) as the first line of the file.(For example, to execute the script using bash,#!/bin/bashshould be the first line of the file. To execute the script usingPython3,#!/usr/bin/env python3should be the first line of the file.) Otherwise, the file will by default be excuted by/bin/sh.
- text String
- Shell script text. To specify an interpreter, please add a #!\nat the beginning of the text.(For example, to execute the script using bash,#!/bin/bash\nshould be added. To execute the script usingPython3,#!/usr/bin/env python3\nshould be added.) Otherwise, the script will by default be excuted by/bin/sh.
ServiceAccount, ServiceAccountArgs    
- Email string
- Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.
- Scopes List<string>
- List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.
- Email string
- Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.
- Scopes []string
- List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.
- email String
- Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.
- scopes List<String>
- List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.
- email string
- Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.
- scopes string[]
- List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.
- email str
- Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.
- scopes Sequence[str]
- List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.
- email String
- Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.
- scopes List<String>
- List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.
ServiceAccountResponse, ServiceAccountResponseArgs      
- Email string
- Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.
- Scopes List<string>
- List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.
- Email string
- Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.
- Scopes []string
- List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.
- email String
- Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.
- scopes List<String>
- List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.
- email string
- Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.
- scopes string[]
- List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.
- email str
- Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.
- scopes Sequence[str]
- List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.
- email String
- Email address of the service account. If not specified, the default Compute Engine service account for the project will be used. If instance template is being used, the service account has to be specified in the instance template and it has to match the email field here.
- scopes List<String>
- List of scopes to be enabled for this service account on the VM, in addition to the cloud-platform API scope that will be added by default.
StatusEventResponse, StatusEventResponseArgs      
- Description string
- Description of the event.
- EventTime string
- The time this event occurred.
- TaskExecution Pulumi.Google Native. Batch. V1. Inputs. Task Execution Response 
- Task Execution
- TaskState string
- Task State
- Type string
- Type of the event.
- Description string
- Description of the event.
- EventTime string
- The time this event occurred.
- TaskExecution TaskExecution Response 
- Task Execution
- TaskState string
- Task State
- Type string
- Type of the event.
- description String
- Description of the event.
- eventTime String
- The time this event occurred.
- taskExecution TaskExecution Response 
- Task Execution
- taskState String
- Task State
- type String
- Type of the event.
- description string
- Description of the event.
- eventTime string
- The time this event occurred.
- taskExecution TaskExecution Response 
- Task Execution
- taskState string
- Task State
- type string
- Type of the event.
- description str
- Description of the event.
- event_time str
- The time this event occurred.
- task_execution TaskExecution Response 
- Task Execution
- task_state str
- Task State
- type str
- Type of the event.
- description String
- Description of the event.
- eventTime String
- The time this event occurred.
- taskExecution Property Map
- Task Execution
- taskState String
- Task State
- type String
- Type of the event.
TaskExecutionResponse, TaskExecutionResponseArgs      
- ExitCode int
- When task is completed as the status of FAILED or SUCCEEDED, exit code is for one task execution result, default is 0 as success.
- ExitCode int
- When task is completed as the status of FAILED or SUCCEEDED, exit code is for one task execution result, default is 0 as success.
- exitCode Integer
- When task is completed as the status of FAILED or SUCCEEDED, exit code is for one task execution result, default is 0 as success.
- exitCode number
- When task is completed as the status of FAILED or SUCCEEDED, exit code is for one task execution result, default is 0 as success.
- exit_code int
- When task is completed as the status of FAILED or SUCCEEDED, exit code is for one task execution result, default is 0 as success.
- exitCode Number
- When task is completed as the status of FAILED or SUCCEEDED, exit code is for one task execution result, default is 0 as success.
TaskGroup, TaskGroupArgs    
- TaskSpec Pulumi.Google Native. Batch. V1. Inputs. Task Spec 
- Tasks in the group share the same task spec.
- Parallelism string
- Max number of tasks that can run in parallel. Default to min(task_count, parallel tasks per job limit). See: Job Limits. Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
- PermissiveSsh bool
- When true, Batch will configure SSH to allow passwordless login between VMs running the Batch tasks in the same TaskGroup.
- RequireHosts boolFile 
- When true, Batch will populate a file with a list of all VMs assigned to the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of that file. Defaults to false.
- SchedulingPolicy Pulumi.Google Native. Batch. V1. Task Group Scheduling Policy 
- Scheduling policy for Tasks in the TaskGroup. The default value is AS_SOON_AS_POSSIBLE.
- TaskCount string
- Number of Tasks in the TaskGroup. Default is 1.
- TaskCount stringPer Node 
- Max number of tasks that can be run on a VM at the same time. If not specified, the system will decide a value based on available compute resources on a VM and task requirements.
- TaskEnvironments List<Pulumi.Google Native. Batch. V1. Inputs. Environment> 
- An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).
- TaskSpec TaskSpec 
- Tasks in the group share the same task spec.
- Parallelism string
- Max number of tasks that can run in parallel. Default to min(task_count, parallel tasks per job limit). See: Job Limits. Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
- PermissiveSsh bool
- When true, Batch will configure SSH to allow passwordless login between VMs running the Batch tasks in the same TaskGroup.
- RequireHosts boolFile 
- When true, Batch will populate a file with a list of all VMs assigned to the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of that file. Defaults to false.
- SchedulingPolicy TaskGroup Scheduling Policy 
- Scheduling policy for Tasks in the TaskGroup. The default value is AS_SOON_AS_POSSIBLE.
- TaskCount string
- Number of Tasks in the TaskGroup. Default is 1.
- TaskCount stringPer Node 
- Max number of tasks that can be run on a VM at the same time. If not specified, the system will decide a value based on available compute resources on a VM and task requirements.
- TaskEnvironments []Environment
- An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).
- taskSpec TaskSpec 
- Tasks in the group share the same task spec.
- parallelism String
- Max number of tasks that can run in parallel. Default to min(task_count, parallel tasks per job limit). See: Job Limits. Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
- permissiveSsh Boolean
- When true, Batch will configure SSH to allow passwordless login between VMs running the Batch tasks in the same TaskGroup.
- requireHosts BooleanFile 
- When true, Batch will populate a file with a list of all VMs assigned to the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of that file. Defaults to false.
- schedulingPolicy TaskGroup Scheduling Policy 
- Scheduling policy for Tasks in the TaskGroup. The default value is AS_SOON_AS_POSSIBLE.
- taskCount String
- Number of Tasks in the TaskGroup. Default is 1.
- taskCount StringPer Node 
- Max number of tasks that can be run on a VM at the same time. If not specified, the system will decide a value based on available compute resources on a VM and task requirements.
- taskEnvironments List<Environment>
- An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).
- taskSpec TaskSpec 
- Tasks in the group share the same task spec.
- parallelism string
- Max number of tasks that can run in parallel. Default to min(task_count, parallel tasks per job limit). See: Job Limits. Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
- permissiveSsh boolean
- When true, Batch will configure SSH to allow passwordless login between VMs running the Batch tasks in the same TaskGroup.
- requireHosts booleanFile 
- When true, Batch will populate a file with a list of all VMs assigned to the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of that file. Defaults to false.
- schedulingPolicy TaskGroup Scheduling Policy 
- Scheduling policy for Tasks in the TaskGroup. The default value is AS_SOON_AS_POSSIBLE.
- taskCount string
- Number of Tasks in the TaskGroup. Default is 1.
- taskCount stringPer Node 
- Max number of tasks that can be run on a VM at the same time. If not specified, the system will decide a value based on available compute resources on a VM and task requirements.
- taskEnvironments Environment[]
- An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).
- task_spec TaskSpec 
- Tasks in the group share the same task spec.
- parallelism str
- Max number of tasks that can run in parallel. Default to min(task_count, parallel tasks per job limit). See: Job Limits. Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
- permissive_ssh bool
- When true, Batch will configure SSH to allow passwordless login between VMs running the Batch tasks in the same TaskGroup.
- require_hosts_ boolfile 
- When true, Batch will populate a file with a list of all VMs assigned to the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of that file. Defaults to false.
- scheduling_policy TaskGroup Scheduling Policy 
- Scheduling policy for Tasks in the TaskGroup. The default value is AS_SOON_AS_POSSIBLE.
- task_count str
- Number of Tasks in the TaskGroup. Default is 1.
- task_count_ strper_ node 
- Max number of tasks that can be run on a VM at the same time. If not specified, the system will decide a value based on available compute resources on a VM and task requirements.
- task_environments Sequence[Environment]
- An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).
- taskSpec Property Map
- Tasks in the group share the same task spec.
- parallelism String
- Max number of tasks that can run in parallel. Default to min(task_count, parallel tasks per job limit). See: Job Limits. Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
- permissiveSsh Boolean
- When true, Batch will configure SSH to allow passwordless login between VMs running the Batch tasks in the same TaskGroup.
- requireHosts BooleanFile 
- When true, Batch will populate a file with a list of all VMs assigned to the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of that file. Defaults to false.
- schedulingPolicy "SCHEDULING_POLICY_UNSPECIFIED" | "AS_SOON_AS_POSSIBLE" | "IN_ORDER"
- Scheduling policy for Tasks in the TaskGroup. The default value is AS_SOON_AS_POSSIBLE.
- taskCount String
- Number of Tasks in the TaskGroup. Default is 1.
- taskCount StringPer Node 
- Max number of tasks that can be run on a VM at the same time. If not specified, the system will decide a value based on available compute resources on a VM and task requirements.
- taskEnvironments List<Property Map>
- An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).
TaskGroupResponse, TaskGroupResponseArgs      
- Name string
- TaskGroup name. The system generates this field based on parent Job name. For example: "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01".
- Parallelism string
- Max number of tasks that can run in parallel. Default to min(task_count, parallel tasks per job limit). See: Job Limits. Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
- PermissiveSsh bool
- When true, Batch will configure SSH to allow passwordless login between VMs running the Batch tasks in the same TaskGroup.
- RequireHosts boolFile 
- When true, Batch will populate a file with a list of all VMs assigned to the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of that file. Defaults to false.
- SchedulingPolicy string
- Scheduling policy for Tasks in the TaskGroup. The default value is AS_SOON_AS_POSSIBLE.
- TaskCount string
- Number of Tasks in the TaskGroup. Default is 1.
- TaskCount stringPer Node 
- Max number of tasks that can be run on a VM at the same time. If not specified, the system will decide a value based on available compute resources on a VM and task requirements.
- TaskEnvironments List<Pulumi.Google Native. Batch. V1. Inputs. Environment Response> 
- An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).
- TaskSpec Pulumi.Google Native. Batch. V1. Inputs. Task Spec Response 
- Tasks in the group share the same task spec.
- Name string
- TaskGroup name. The system generates this field based on parent Job name. For example: "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01".
- Parallelism string
- Max number of tasks that can run in parallel. Default to min(task_count, parallel tasks per job limit). See: Job Limits. Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
- PermissiveSsh bool
- When true, Batch will configure SSH to allow passwordless login between VMs running the Batch tasks in the same TaskGroup.
- RequireHosts boolFile 
- When true, Batch will populate a file with a list of all VMs assigned to the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of that file. Defaults to false.
- SchedulingPolicy string
- Scheduling policy for Tasks in the TaskGroup. The default value is AS_SOON_AS_POSSIBLE.
- TaskCount string
- Number of Tasks in the TaskGroup. Default is 1.
- TaskCount stringPer Node 
- Max number of tasks that can be run on a VM at the same time. If not specified, the system will decide a value based on available compute resources on a VM and task requirements.
- TaskEnvironments []EnvironmentResponse 
- An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).
- TaskSpec TaskSpec Response 
- Tasks in the group share the same task spec.
- name String
- TaskGroup name. The system generates this field based on parent Job name. For example: "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01".
- parallelism String
- Max number of tasks that can run in parallel. Default to min(task_count, parallel tasks per job limit). See: Job Limits. Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
- permissiveSsh Boolean
- When true, Batch will configure SSH to allow passwordless login between VMs running the Batch tasks in the same TaskGroup.
- requireHosts BooleanFile 
- When true, Batch will populate a file with a list of all VMs assigned to the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of that file. Defaults to false.
- schedulingPolicy String
- Scheduling policy for Tasks in the TaskGroup. The default value is AS_SOON_AS_POSSIBLE.
- taskCount String
- Number of Tasks in the TaskGroup. Default is 1.
- taskCount StringPer Node 
- Max number of tasks that can be run on a VM at the same time. If not specified, the system will decide a value based on available compute resources on a VM and task requirements.
- taskEnvironments List<EnvironmentResponse> 
- An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).
- taskSpec TaskSpec Response 
- Tasks in the group share the same task spec.
- name string
- TaskGroup name. The system generates this field based on parent Job name. For example: "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01".
- parallelism string
- Max number of tasks that can run in parallel. Default to min(task_count, parallel tasks per job limit). See: Job Limits. Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
- permissiveSsh boolean
- When true, Batch will configure SSH to allow passwordless login between VMs running the Batch tasks in the same TaskGroup.
- requireHosts booleanFile 
- When true, Batch will populate a file with a list of all VMs assigned to the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of that file. Defaults to false.
- schedulingPolicy string
- Scheduling policy for Tasks in the TaskGroup. The default value is AS_SOON_AS_POSSIBLE.
- taskCount string
- Number of Tasks in the TaskGroup. Default is 1.
- taskCount stringPer Node 
- Max number of tasks that can be run on a VM at the same time. If not specified, the system will decide a value based on available compute resources on a VM and task requirements.
- taskEnvironments EnvironmentResponse[] 
- An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).
- taskSpec TaskSpec Response 
- Tasks in the group share the same task spec.
- name str
- TaskGroup name. The system generates this field based on parent Job name. For example: "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01".
- parallelism str
- Max number of tasks that can run in parallel. Default to min(task_count, parallel tasks per job limit). See: Job Limits. Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
- permissive_ssh bool
- When true, Batch will configure SSH to allow passwordless login between VMs running the Batch tasks in the same TaskGroup.
- require_hosts_ boolfile 
- When true, Batch will populate a file with a list of all VMs assigned to the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of that file. Defaults to false.
- scheduling_policy str
- Scheduling policy for Tasks in the TaskGroup. The default value is AS_SOON_AS_POSSIBLE.
- task_count str
- Number of Tasks in the TaskGroup. Default is 1.
- task_count_ strper_ node 
- Max number of tasks that can be run on a VM at the same time. If not specified, the system will decide a value based on available compute resources on a VM and task requirements.
- task_environments Sequence[EnvironmentResponse] 
- An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).
- task_spec TaskSpec Response 
- Tasks in the group share the same task spec.
- name String
- TaskGroup name. The system generates this field based on parent Job name. For example: "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01".
- parallelism String
- Max number of tasks that can run in parallel. Default to min(task_count, parallel tasks per job limit). See: Job Limits. Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
- permissiveSsh Boolean
- When true, Batch will configure SSH to allow passwordless login between VMs running the Batch tasks in the same TaskGroup.
- requireHosts BooleanFile 
- When true, Batch will populate a file with a list of all VMs assigned to the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of that file. Defaults to false.
- schedulingPolicy String
- Scheduling policy for Tasks in the TaskGroup. The default value is AS_SOON_AS_POSSIBLE.
- taskCount String
- Number of Tasks in the TaskGroup. Default is 1.
- taskCount StringPer Node 
- Max number of tasks that can be run on a VM at the same time. If not specified, the system will decide a value based on available compute resources on a VM and task requirements.
- taskEnvironments List<Property Map>
- An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).
- taskSpec Property Map
- Tasks in the group share the same task spec.
TaskGroupSchedulingPolicy, TaskGroupSchedulingPolicyArgs        
- SchedulingPolicy Unspecified 
- SCHEDULING_POLICY_UNSPECIFIEDUnspecified.
- AsSoon As Possible 
- AS_SOON_AS_POSSIBLERun Tasks as soon as resources are available. Tasks might be executed in parallel depending on parallelism and task_count values.
- InOrder 
- IN_ORDERRun Tasks sequentially with increased task index.
- TaskGroup Scheduling Policy Scheduling Policy Unspecified 
- SCHEDULING_POLICY_UNSPECIFIEDUnspecified.
- TaskGroup Scheduling Policy As Soon As Possible 
- AS_SOON_AS_POSSIBLERun Tasks as soon as resources are available. Tasks might be executed in parallel depending on parallelism and task_count values.
- TaskGroup Scheduling Policy In Order 
- IN_ORDERRun Tasks sequentially with increased task index.
- SchedulingPolicy Unspecified 
- SCHEDULING_POLICY_UNSPECIFIEDUnspecified.
- AsSoon As Possible 
- AS_SOON_AS_POSSIBLERun Tasks as soon as resources are available. Tasks might be executed in parallel depending on parallelism and task_count values.
- InOrder 
- IN_ORDERRun Tasks sequentially with increased task index.
- SchedulingPolicy Unspecified 
- SCHEDULING_POLICY_UNSPECIFIEDUnspecified.
- AsSoon As Possible 
- AS_SOON_AS_POSSIBLERun Tasks as soon as resources are available. Tasks might be executed in parallel depending on parallelism and task_count values.
- InOrder 
- IN_ORDERRun Tasks sequentially with increased task index.
- SCHEDULING_POLICY_UNSPECIFIED
- SCHEDULING_POLICY_UNSPECIFIEDUnspecified.
- AS_SOON_AS_POSSIBLE
- AS_SOON_AS_POSSIBLERun Tasks as soon as resources are available. Tasks might be executed in parallel depending on parallelism and task_count values.
- IN_ORDER
- IN_ORDERRun Tasks sequentially with increased task index.
- "SCHEDULING_POLICY_UNSPECIFIED"
- SCHEDULING_POLICY_UNSPECIFIEDUnspecified.
- "AS_SOON_AS_POSSIBLE"
- AS_SOON_AS_POSSIBLERun Tasks as soon as resources are available. Tasks might be executed in parallel depending on parallelism and task_count values.
- "IN_ORDER"
- IN_ORDERRun Tasks sequentially with increased task index.
TaskSpec, TaskSpecArgs    
- ComputeResource Pulumi.Google Native. Batch. V1. Inputs. Compute Resource 
- ComputeResource requirements.
- Environment
Pulumi.Google Native. Batch. V1. Inputs. Environment 
- Environment variables to set before running the Task.
- Environments Dictionary<string, string>
- Deprecated: please use environment(non-plural) instead.
- LifecyclePolicies List<Pulumi.Google Native. Batch. V1. Inputs. Lifecycle Policy> 
- Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
- MaxRetry intCount 
- Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10].
- MaxRun stringDuration 
- Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit.
- Runnables
List<Pulumi.Google Native. Batch. V1. Inputs. Runnable> 
- The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures.
- Volumes
List<Pulumi.Google Native. Batch. V1. Inputs. Volume> 
- Volumes to mount before running Tasks using this TaskSpec.
- ComputeResource ComputeResource 
- ComputeResource requirements.
- Environment Environment
- Environment variables to set before running the Task.
- Environments map[string]string
- Deprecated: please use environment(non-plural) instead.
- LifecyclePolicies []LifecyclePolicy 
- Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
- MaxRetry intCount 
- Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10].
- MaxRun stringDuration 
- Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit.
- Runnables []Runnable
- The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures.
- Volumes []Volume
- Volumes to mount before running Tasks using this TaskSpec.
- computeResource ComputeResource 
- ComputeResource requirements.
- environment Environment
- Environment variables to set before running the Task.
- environments Map<String,String>
- Deprecated: please use environment(non-plural) instead.
- lifecyclePolicies List<LifecyclePolicy> 
- Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
- maxRetry IntegerCount 
- Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10].
- maxRun StringDuration 
- Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit.
- runnables List<Runnable>
- The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures.
- volumes List<Volume>
- Volumes to mount before running Tasks using this TaskSpec.
- computeResource ComputeResource 
- ComputeResource requirements.
- environment Environment
- Environment variables to set before running the Task.
- environments {[key: string]: string}
- Deprecated: please use environment(non-plural) instead.
- lifecyclePolicies LifecyclePolicy[] 
- Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
- maxRetry numberCount 
- Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10].
- maxRun stringDuration 
- Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit.
- runnables Runnable[]
- The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures.
- volumes Volume[]
- Volumes to mount before running Tasks using this TaskSpec.
- compute_resource ComputeResource 
- ComputeResource requirements.
- environment Environment
- Environment variables to set before running the Task.
- environments Mapping[str, str]
- Deprecated: please use environment(non-plural) instead.
- lifecycle_policies Sequence[LifecyclePolicy] 
- Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
- max_retry_ intcount 
- Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10].
- max_run_ strduration 
- Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit.
- runnables Sequence[Runnable]
- The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures.
- volumes Sequence[Volume]
- Volumes to mount before running Tasks using this TaskSpec.
- computeResource Property Map
- ComputeResource requirements.
- environment Property Map
- Environment variables to set before running the Task.
- environments Map<String>
- Deprecated: please use environment(non-plural) instead.
- lifecyclePolicies List<Property Map>
- Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
- maxRetry NumberCount 
- Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10].
- maxRun StringDuration 
- Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit.
- runnables List<Property Map>
- The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures.
- volumes List<Property Map>
- Volumes to mount before running Tasks using this TaskSpec.
TaskSpecResponse, TaskSpecResponseArgs      
- ComputeResource Pulumi.Google Native. Batch. V1. Inputs. Compute Resource Response 
- ComputeResource requirements.
- Environment
Pulumi.Google Native. Batch. V1. Inputs. Environment Response 
- Environment variables to set before running the Task.
- Environments Dictionary<string, string>
- Deprecated: please use environment(non-plural) instead.
- LifecyclePolicies List<Pulumi.Google Native. Batch. V1. Inputs. Lifecycle Policy Response> 
- Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
- MaxRetry intCount 
- Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10].
- MaxRun stringDuration 
- Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit.
- Runnables
List<Pulumi.Google Native. Batch. V1. Inputs. Runnable Response> 
- The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures.
- Volumes
List<Pulumi.Google Native. Batch. V1. Inputs. Volume Response> 
- Volumes to mount before running Tasks using this TaskSpec.
- ComputeResource ComputeResource Response 
- ComputeResource requirements.
- Environment
EnvironmentResponse 
- Environment variables to set before running the Task.
- Environments map[string]string
- Deprecated: please use environment(non-plural) instead.
- LifecyclePolicies []LifecyclePolicy Response 
- Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
- MaxRetry intCount 
- Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10].
- MaxRun stringDuration 
- Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit.
- Runnables
[]RunnableResponse 
- The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures.
- Volumes
[]VolumeResponse 
- Volumes to mount before running Tasks using this TaskSpec.
- computeResource ComputeResource Response 
- ComputeResource requirements.
- environment
EnvironmentResponse 
- Environment variables to set before running the Task.
- environments Map<String,String>
- Deprecated: please use environment(non-plural) instead.
- lifecyclePolicies List<LifecyclePolicy Response> 
- Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
- maxRetry IntegerCount 
- Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10].
- maxRun StringDuration 
- Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit.
- runnables
List<RunnableResponse> 
- The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures.
- volumes
List<VolumeResponse> 
- Volumes to mount before running Tasks using this TaskSpec.
- computeResource ComputeResource Response 
- ComputeResource requirements.
- environment
EnvironmentResponse 
- Environment variables to set before running the Task.
- environments {[key: string]: string}
- Deprecated: please use environment(non-plural) instead.
- lifecyclePolicies LifecyclePolicy Response[] 
- Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
- maxRetry numberCount 
- Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10].
- maxRun stringDuration 
- Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit.
- runnables
RunnableResponse[] 
- The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures.
- volumes
VolumeResponse[] 
- Volumes to mount before running Tasks using this TaskSpec.
- compute_resource ComputeResource Response 
- ComputeResource requirements.
- environment
EnvironmentResponse 
- Environment variables to set before running the Task.
- environments Mapping[str, str]
- Deprecated: please use environment(non-plural) instead.
- lifecycle_policies Sequence[LifecyclePolicy Response] 
- Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
- max_retry_ intcount 
- Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10].
- max_run_ strduration 
- Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit.
- runnables
Sequence[RunnableResponse] 
- The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures.
- volumes
Sequence[VolumeResponse] 
- Volumes to mount before running Tasks using this TaskSpec.
- computeResource Property Map
- ComputeResource requirements.
- environment Property Map
- Environment variables to set before running the Task.
- environments Map<String>
- Deprecated: please use environment(non-plural) instead.
- lifecyclePolicies List<Property Map>
- Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
- maxRetry NumberCount 
- Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10].
- maxRun StringDuration 
- Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit.
- runnables List<Property Map>
- The sequence of scripts or containers to run for this Task. Each Task using this TaskSpec executes its list of runnables in order. The Task succeeds if all of its runnables either exit with a zero status or any that exit with a non-zero status have the ignore_exit_status flag. Background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as Task failures.
- volumes List<Property Map>
- Volumes to mount before running Tasks using this TaskSpec.
Volume, VolumeArgs  
- DeviceName string
- Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template.
- Gcs
Pulumi.Google Native. Batch. V1. Inputs. GCS 
- A Google Cloud Storage (GCS) volume.
- MountOptions List<string>
- For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). For existing persistent disks, mount options provided by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of multi-writer mode (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). For other attached disks and Network File System (NFS), mount options are these supported by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html).
- MountPath string
- The mount path for the volume, e.g. /mnt/disks/share.
- Nfs
Pulumi.Google Native. Batch. V1. Inputs. NFS 
- A Network File System (NFS) volume. For example, a Filestore file share.
- DeviceName string
- Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template.
- Gcs GCS
- A Google Cloud Storage (GCS) volume.
- MountOptions []string
- For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). For existing persistent disks, mount options provided by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of multi-writer mode (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). For other attached disks and Network File System (NFS), mount options are these supported by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html).
- MountPath string
- The mount path for the volume, e.g. /mnt/disks/share.
- Nfs NFS
- A Network File System (NFS) volume. For example, a Filestore file share.
- deviceName String
- Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template.
- gcs GCS
- A Google Cloud Storage (GCS) volume.
- mountOptions List<String>
- For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). For existing persistent disks, mount options provided by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of multi-writer mode (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). For other attached disks and Network File System (NFS), mount options are these supported by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html).
- mountPath String
- The mount path for the volume, e.g. /mnt/disks/share.
- nfs NFS
- A Network File System (NFS) volume. For example, a Filestore file share.
- deviceName string
- Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template.
- gcs GCS
- A Google Cloud Storage (GCS) volume.
- mountOptions string[]
- For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). For existing persistent disks, mount options provided by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of multi-writer mode (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). For other attached disks and Network File System (NFS), mount options are these supported by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html).
- mountPath string
- The mount path for the volume, e.g. /mnt/disks/share.
- nfs NFS
- A Network File System (NFS) volume. For example, a Filestore file share.
- device_name str
- Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template.
- gcs GCS
- A Google Cloud Storage (GCS) volume.
- mount_options Sequence[str]
- For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). For existing persistent disks, mount options provided by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of multi-writer mode (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). For other attached disks and Network File System (NFS), mount options are these supported by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html).
- mount_path str
- The mount path for the volume, e.g. /mnt/disks/share.
- nfs NFS
- A Network File System (NFS) volume. For example, a Filestore file share.
- deviceName String
- Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template.
- gcs Property Map
- A Google Cloud Storage (GCS) volume.
- mountOptions List<String>
- For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). For existing persistent disks, mount options provided by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of multi-writer mode (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). For other attached disks and Network File System (NFS), mount options are these supported by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html).
- mountPath String
- The mount path for the volume, e.g. /mnt/disks/share.
- nfs Property Map
- A Network File System (NFS) volume. For example, a Filestore file share.
VolumeResponse, VolumeResponseArgs    
- DeviceName string
- Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template.
- Gcs
Pulumi.Google Native. Batch. V1. Inputs. GCSResponse 
- A Google Cloud Storage (GCS) volume.
- MountOptions List<string>
- For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). For existing persistent disks, mount options provided by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of multi-writer mode (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). For other attached disks and Network File System (NFS), mount options are these supported by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html).
- MountPath string
- The mount path for the volume, e.g. /mnt/disks/share.
- Nfs
Pulumi.Google Native. Batch. V1. Inputs. NFSResponse 
- A Network File System (NFS) volume. For example, a Filestore file share.
- DeviceName string
- Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template.
- Gcs GCSResponse
- A Google Cloud Storage (GCS) volume.
- MountOptions []string
- For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). For existing persistent disks, mount options provided by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of multi-writer mode (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). For other attached disks and Network File System (NFS), mount options are these supported by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html).
- MountPath string
- The mount path for the volume, e.g. /mnt/disks/share.
- Nfs NFSResponse
- A Network File System (NFS) volume. For example, a Filestore file share.
- deviceName String
- Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template.
- gcs GCSResponse
- A Google Cloud Storage (GCS) volume.
- mountOptions List<String>
- For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). For existing persistent disks, mount options provided by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of multi-writer mode (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). For other attached disks and Network File System (NFS), mount options are these supported by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html).
- mountPath String
- The mount path for the volume, e.g. /mnt/disks/share.
- nfs NFSResponse
- A Network File System (NFS) volume. For example, a Filestore file share.
- deviceName string
- Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template.
- gcs GCSResponse
- A Google Cloud Storage (GCS) volume.
- mountOptions string[]
- For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). For existing persistent disks, mount options provided by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of multi-writer mode (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). For other attached disks and Network File System (NFS), mount options are these supported by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html).
- mountPath string
- The mount path for the volume, e.g. /mnt/disks/share.
- nfs NFSResponse
- A Network File System (NFS) volume. For example, a Filestore file share.
- device_name str
- Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template.
- gcs GCSResponse
- A Google Cloud Storage (GCS) volume.
- mount_options Sequence[str]
- For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). For existing persistent disks, mount options provided by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of multi-writer mode (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). For other attached disks and Network File System (NFS), mount options are these supported by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html).
- mount_path str
- The mount path for the volume, e.g. /mnt/disks/share.
- nfs NFSResponse
- A Network File System (NFS) volume. For example, a Filestore file share.
- deviceName String
- Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template.
- gcs Property Map
- A Google Cloud Storage (GCS) volume.
- mountOptions List<String>
- For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). For existing persistent disks, mount options provided by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of multi-writer mode (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). For other attached disks and Network File System (NFS), mount options are these supported by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html).
- mountPath String
- The mount path for the volume, e.g. /mnt/disks/share.
- nfs Property Map
- A Network File System (NFS) volume. For example, a Filestore file share.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.