1. Packages
  2. Azure Native
  3. API Docs
  4. batch
  5. Pool
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

azure-native.batch.Pool

Explore with Pulumi AI

Contains information about a pool.

Uses Azure REST API version 2024-07-01. In version 2.x of the Azure Native provider, it used API version 2023-05-01.

Other available API versions: 2023-05-01, 2023-11-01, 2024-02-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native batch [ApiVersion]. See the version guide for details.

Example Usage

CreatePool - Custom Image

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var pool = new AzureNative.Batch.Pool("pool", new()
    {
        AccountName = "sampleacct",
        DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
        {
            VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
            {
                ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
                {
                    Id = "/subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1",
                },
                NodeAgentSkuId = "batch.node.ubuntu 18.04",
            },
        },
        PoolName = "testpool",
        ResourceGroupName = "default-azurebatch-japaneast",
        VmSize = "STANDARD_D4",
    });

});
Copy
package main

import (
	batch "github.com/pulumi/pulumi-azure-native-sdk/batch/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.NewPool(ctx, "pool", &batch.PoolArgs{
			AccountName: pulumi.String("sampleacct"),
			DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
				VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
					ImageReference: &batch.ImageReferenceArgs{
						Id: pulumi.String("/subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1"),
					},
					NodeAgentSkuId: pulumi.String("batch.node.ubuntu 18.04"),
				},
			},
			PoolName:          pulumi.String("testpool"),
			ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
			VmSize:            pulumi.String("STANDARD_D4"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.batch.Pool;
import com.pulumi.azurenative.batch.PoolArgs;
import com.pulumi.azurenative.batch.inputs.DeploymentConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.VirtualMachineConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ImageReferenceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var pool = new Pool("pool", PoolArgs.builder()
            .accountName("sampleacct")
            .deploymentConfiguration(DeploymentConfigurationArgs.builder()
                .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .id("/subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1")
                        .build())
                    .nodeAgentSkuId("batch.node.ubuntu 18.04")
                    .build())
                .build())
            .poolName("testpool")
            .resourceGroupName("default-azurebatch-japaneast")
            .vmSize("STANDARD_D4")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const pool = new azure_native.batch.Pool("pool", {
    accountName: "sampleacct",
    deploymentConfiguration: {
        virtualMachineConfiguration: {
            imageReference: {
                id: "/subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1",
            },
            nodeAgentSkuId: "batch.node.ubuntu 18.04",
        },
    },
    poolName: "testpool",
    resourceGroupName: "default-azurebatch-japaneast",
    vmSize: "STANDARD_D4",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

pool = azure_native.batch.Pool("pool",
    account_name="sampleacct",
    deployment_configuration={
        "virtual_machine_configuration": {
            "image_reference": {
                "id": "/subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1",
            },
            "node_agent_sku_id": "batch.node.ubuntu 18.04",
        },
    },
    pool_name="testpool",
    resource_group_name="default-azurebatch-japaneast",
    vm_size="STANDARD_D4")
Copy
resources:
  pool:
    type: azure-native:batch:Pool
    properties:
      accountName: sampleacct
      deploymentConfiguration:
        virtualMachineConfiguration:
          imageReference:
            id: /subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1
          nodeAgentSkuId: batch.node.ubuntu 18.04
      poolName: testpool
      resourceGroupName: default-azurebatch-japaneast
      vmSize: STANDARD_D4
Copy

CreatePool - Full VirtualMachineConfiguration

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var pool = new AzureNative.Batch.Pool("pool", new()
    {
        AccountName = "sampleacct",
        DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
        {
            VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
            {
                DataDisks = new[]
                {
                    new AzureNative.Batch.Inputs.DataDiskArgs
                    {
                        Caching = AzureNative.Batch.CachingType.ReadWrite,
                        DiskSizeGB = 30,
                        Lun = 0,
                        StorageAccountType = AzureNative.Batch.StorageAccountType.Premium_LRS,
                    },
                    new AzureNative.Batch.Inputs.DataDiskArgs
                    {
                        Caching = AzureNative.Batch.CachingType.None,
                        DiskSizeGB = 200,
                        Lun = 1,
                        StorageAccountType = AzureNative.Batch.StorageAccountType.Standard_LRS,
                    },
                },
                DiskEncryptionConfiguration = new AzureNative.Batch.Inputs.DiskEncryptionConfigurationArgs
                {
                    Targets = new[]
                    {
                        AzureNative.Batch.DiskEncryptionTarget.OsDisk,
                        AzureNative.Batch.DiskEncryptionTarget.TemporaryDisk,
                    },
                },
                ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2016-Datacenter-SmallDisk",
                    Version = "latest",
                },
                LicenseType = "Windows_Server",
                NodeAgentSkuId = "batch.node.windows amd64",
                NodePlacementConfiguration = new AzureNative.Batch.Inputs.NodePlacementConfigurationArgs
                {
                    Policy = AzureNative.Batch.NodePlacementPolicyType.Zonal,
                },
                OsDisk = new AzureNative.Batch.Inputs.OSDiskArgs
                {
                    EphemeralOSDiskSettings = new AzureNative.Batch.Inputs.DiffDiskSettingsArgs
                    {
                        Placement = AzureNative.Batch.DiffDiskPlacement.CacheDisk,
                    },
                },
                WindowsConfiguration = new AzureNative.Batch.Inputs.WindowsConfigurationArgs
                {
                    EnableAutomaticUpdates = false,
                },
            },
        },
        NetworkConfiguration = new AzureNative.Batch.Inputs.NetworkConfigurationArgs
        {
            EndpointConfiguration = new AzureNative.Batch.Inputs.PoolEndpointConfigurationArgs
            {
                InboundNatPools = new[]
                {
                    new AzureNative.Batch.Inputs.InboundNatPoolArgs
                    {
                        BackendPort = 12001,
                        FrontendPortRangeEnd = 15100,
                        FrontendPortRangeStart = 15000,
                        Name = "testnat",
                        NetworkSecurityGroupRules = new[]
                        {
                            new AzureNative.Batch.Inputs.NetworkSecurityGroupRuleArgs
                            {
                                Access = AzureNative.Batch.NetworkSecurityGroupRuleAccess.Allow,
                                Priority = 150,
                                SourceAddressPrefix = "192.100.12.45",
                                SourcePortRanges = new[]
                                {
                                    "1",
                                    "2",
                                },
                            },
                            new AzureNative.Batch.Inputs.NetworkSecurityGroupRuleArgs
                            {
                                Access = AzureNative.Batch.NetworkSecurityGroupRuleAccess.Deny,
                                Priority = 3500,
                                SourceAddressPrefix = "*",
                                SourcePortRanges = new[]
                                {
                                    "*",
                                },
                            },
                        },
                        Protocol = AzureNative.Batch.InboundEndpointProtocol.TCP,
                    },
                },
            },
        },
        PoolName = "testpool",
        ResourceGroupName = "default-azurebatch-japaneast",
        ScaleSettings = new AzureNative.Batch.Inputs.ScaleSettingsArgs
        {
            AutoScale = new AzureNative.Batch.Inputs.AutoScaleSettingsArgs
            {
                EvaluationInterval = "PT5M",
                Formula = "$TargetDedicatedNodes=1",
            },
        },
        VmSize = "STANDARD_D4",
    });

});
Copy
package main

import (
	batch "github.com/pulumi/pulumi-azure-native-sdk/batch/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.NewPool(ctx, "pool", &batch.PoolArgs{
			AccountName: pulumi.String("sampleacct"),
			DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
				VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
					DataDisks: batch.DataDiskArray{
						&batch.DataDiskArgs{
							Caching:            batch.CachingTypeReadWrite,
							DiskSizeGB:         pulumi.Int(30),
							Lun:                pulumi.Int(0),
							StorageAccountType: batch.StorageAccountType_Premium_LRS,
						},
						&batch.DataDiskArgs{
							Caching:            batch.CachingTypeNone,
							DiskSizeGB:         pulumi.Int(200),
							Lun:                pulumi.Int(1),
							StorageAccountType: batch.StorageAccountType_Standard_LRS,
						},
					},
					DiskEncryptionConfiguration: &batch.DiskEncryptionConfigurationArgs{
						Targets: batch.DiskEncryptionTargetArray{
							batch.DiskEncryptionTargetOsDisk,
							batch.DiskEncryptionTargetTemporaryDisk,
						},
					},
					ImageReference: &batch.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2016-Datacenter-SmallDisk"),
						Version:   pulumi.String("latest"),
					},
					LicenseType:    pulumi.String("Windows_Server"),
					NodeAgentSkuId: pulumi.String("batch.node.windows amd64"),
					NodePlacementConfiguration: &batch.NodePlacementConfigurationArgs{
						Policy: batch.NodePlacementPolicyTypeZonal,
					},
					OsDisk: &batch.OSDiskArgs{
						EphemeralOSDiskSettings: &batch.DiffDiskSettingsArgs{
							Placement: batch.DiffDiskPlacementCacheDisk,
						},
					},
					WindowsConfiguration: &batch.WindowsConfigurationArgs{
						EnableAutomaticUpdates: pulumi.Bool(false),
					},
				},
			},
			NetworkConfiguration: &batch.NetworkConfigurationArgs{
				EndpointConfiguration: &batch.PoolEndpointConfigurationArgs{
					InboundNatPools: batch.InboundNatPoolArray{
						&batch.InboundNatPoolArgs{
							BackendPort:            pulumi.Int(12001),
							FrontendPortRangeEnd:   pulumi.Int(15100),
							FrontendPortRangeStart: pulumi.Int(15000),
							Name:                   pulumi.String("testnat"),
							NetworkSecurityGroupRules: batch.NetworkSecurityGroupRuleArray{
								&batch.NetworkSecurityGroupRuleArgs{
									Access:              batch.NetworkSecurityGroupRuleAccessAllow,
									Priority:            pulumi.Int(150),
									SourceAddressPrefix: pulumi.String("192.100.12.45"),
									SourcePortRanges: pulumi.StringArray{
										pulumi.String("1"),
										pulumi.String("2"),
									},
								},
								&batch.NetworkSecurityGroupRuleArgs{
									Access:              batch.NetworkSecurityGroupRuleAccessDeny,
									Priority:            pulumi.Int(3500),
									SourceAddressPrefix: pulumi.String("*"),
									SourcePortRanges: pulumi.StringArray{
										pulumi.String("*"),
									},
								},
							},
							Protocol: batch.InboundEndpointProtocolTCP,
						},
					},
				},
			},
			PoolName:          pulumi.String("testpool"),
			ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
			ScaleSettings: &batch.ScaleSettingsArgs{
				AutoScale: &batch.AutoScaleSettingsArgs{
					EvaluationInterval: pulumi.String("PT5M"),
					Formula:            pulumi.String("$TargetDedicatedNodes=1"),
				},
			},
			VmSize: pulumi.String("STANDARD_D4"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.batch.Pool;
import com.pulumi.azurenative.batch.PoolArgs;
import com.pulumi.azurenative.batch.inputs.DeploymentConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.VirtualMachineConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.DiskEncryptionConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.batch.inputs.NodePlacementConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.OSDiskArgs;
import com.pulumi.azurenative.batch.inputs.DiffDiskSettingsArgs;
import com.pulumi.azurenative.batch.inputs.WindowsConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.NetworkConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.PoolEndpointConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ScaleSettingsArgs;
import com.pulumi.azurenative.batch.inputs.AutoScaleSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var pool = new Pool("pool", PoolArgs.builder()
            .accountName("sampleacct")
            .deploymentConfiguration(DeploymentConfigurationArgs.builder()
                .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                    .dataDisks(                    
                        DataDiskArgs.builder()
                            .caching("ReadWrite")
                            .diskSizeGB(30)
                            .lun(0)
                            .storageAccountType("Premium_LRS")
                            .build(),
                        DataDiskArgs.builder()
                            .caching("None")
                            .diskSizeGB(200)
                            .lun(1)
                            .storageAccountType("Standard_LRS")
                            .build())
                    .diskEncryptionConfiguration(DiskEncryptionConfigurationArgs.builder()
                        .targets(                        
                            "OsDisk",
                            "TemporaryDisk")
                        .build())
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2016-Datacenter-SmallDisk")
                        .version("latest")
                        .build())
                    .licenseType("Windows_Server")
                    .nodeAgentSkuId("batch.node.windows amd64")
                    .nodePlacementConfiguration(NodePlacementConfigurationArgs.builder()
                        .policy("Zonal")
                        .build())
                    .osDisk(OSDiskArgs.builder()
                        .ephemeralOSDiskSettings(DiffDiskSettingsArgs.builder()
                            .placement("CacheDisk")
                            .build())
                        .build())
                    .windowsConfiguration(WindowsConfigurationArgs.builder()
                        .enableAutomaticUpdates(false)
                        .build())
                    .build())
                .build())
            .networkConfiguration(NetworkConfigurationArgs.builder()
                .endpointConfiguration(PoolEndpointConfigurationArgs.builder()
                    .inboundNatPools(InboundNatPoolArgs.builder()
                        .backendPort(12001)
                        .frontendPortRangeEnd(15100)
                        .frontendPortRangeStart(15000)
                        .name("testnat")
                        .networkSecurityGroupRules(                        
                            NetworkSecurityGroupRuleArgs.builder()
                                .access("Allow")
                                .priority(150)
                                .sourceAddressPrefix("192.100.12.45")
                                .sourcePortRanges(                                
                                    "1",
                                    "2")
                                .build(),
                            NetworkSecurityGroupRuleArgs.builder()
                                .access("Deny")
                                .priority(3500)
                                .sourceAddressPrefix("*")
                                .sourcePortRanges("*")
                                .build())
                        .protocol("TCP")
                        .build())
                    .build())
                .build())
            .poolName("testpool")
            .resourceGroupName("default-azurebatch-japaneast")
            .scaleSettings(ScaleSettingsArgs.builder()
                .autoScale(AutoScaleSettingsArgs.builder()
                    .evaluationInterval("PT5M")
                    .formula("$TargetDedicatedNodes=1")
                    .build())
                .build())
            .vmSize("STANDARD_D4")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const pool = new azure_native.batch.Pool("pool", {
    accountName: "sampleacct",
    deploymentConfiguration: {
        virtualMachineConfiguration: {
            dataDisks: [
                {
                    caching: azure_native.batch.CachingType.ReadWrite,
                    diskSizeGB: 30,
                    lun: 0,
                    storageAccountType: azure_native.batch.StorageAccountType.Premium_LRS,
                },
                {
                    caching: azure_native.batch.CachingType.None,
                    diskSizeGB: 200,
                    lun: 1,
                    storageAccountType: azure_native.batch.StorageAccountType.Standard_LRS,
                },
            ],
            diskEncryptionConfiguration: {
                targets: [
                    azure_native.batch.DiskEncryptionTarget.OsDisk,
                    azure_native.batch.DiskEncryptionTarget.TemporaryDisk,
                ],
            },
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2016-Datacenter-SmallDisk",
                version: "latest",
            },
            licenseType: "Windows_Server",
            nodeAgentSkuId: "batch.node.windows amd64",
            nodePlacementConfiguration: {
                policy: azure_native.batch.NodePlacementPolicyType.Zonal,
            },
            osDisk: {
                ephemeralOSDiskSettings: {
                    placement: azure_native.batch.DiffDiskPlacement.CacheDisk,
                },
            },
            windowsConfiguration: {
                enableAutomaticUpdates: false,
            },
        },
    },
    networkConfiguration: {
        endpointConfiguration: {
            inboundNatPools: [{
                backendPort: 12001,
                frontendPortRangeEnd: 15100,
                frontendPortRangeStart: 15000,
                name: "testnat",
                networkSecurityGroupRules: [
                    {
                        access: azure_native.batch.NetworkSecurityGroupRuleAccess.Allow,
                        priority: 150,
                        sourceAddressPrefix: "192.100.12.45",
                        sourcePortRanges: [
                            "1",
                            "2",
                        ],
                    },
                    {
                        access: azure_native.batch.NetworkSecurityGroupRuleAccess.Deny,
                        priority: 3500,
                        sourceAddressPrefix: "*",
                        sourcePortRanges: ["*"],
                    },
                ],
                protocol: azure_native.batch.InboundEndpointProtocol.TCP,
            }],
        },
    },
    poolName: "testpool",
    resourceGroupName: "default-azurebatch-japaneast",
    scaleSettings: {
        autoScale: {
            evaluationInterval: "PT5M",
            formula: "$TargetDedicatedNodes=1",
        },
    },
    vmSize: "STANDARD_D4",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

pool = azure_native.batch.Pool("pool",
    account_name="sampleacct",
    deployment_configuration={
        "virtual_machine_configuration": {
            "data_disks": [
                {
                    "caching": azure_native.batch.CachingType.READ_WRITE,
                    "disk_size_gb": 30,
                    "lun": 0,
                    "storage_account_type": azure_native.batch.StorageAccountType.PREMIUM_LRS,
                },
                {
                    "caching": azure_native.batch.CachingType.NONE,
                    "disk_size_gb": 200,
                    "lun": 1,
                    "storage_account_type": azure_native.batch.StorageAccountType.STANDARD_LRS,
                },
            ],
            "disk_encryption_configuration": {
                "targets": [
                    azure_native.batch.DiskEncryptionTarget.OS_DISK,
                    azure_native.batch.DiskEncryptionTarget.TEMPORARY_DISK,
                ],
            },
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2016-Datacenter-SmallDisk",
                "version": "latest",
            },
            "license_type": "Windows_Server",
            "node_agent_sku_id": "batch.node.windows amd64",
            "node_placement_configuration": {
                "policy": azure_native.batch.NodePlacementPolicyType.ZONAL,
            },
            "os_disk": {
                "ephemeral_os_disk_settings": {
                    "placement": azure_native.batch.DiffDiskPlacement.CACHE_DISK,
                },
            },
            "windows_configuration": {
                "enable_automatic_updates": False,
            },
        },
    },
    network_configuration={
        "endpoint_configuration": {
            "inbound_nat_pools": [{
                "backend_port": 12001,
                "frontend_port_range_end": 15100,
                "frontend_port_range_start": 15000,
                "name": "testnat",
                "network_security_group_rules": [
                    {
                        "access": azure_native.batch.NetworkSecurityGroupRuleAccess.ALLOW,
                        "priority": 150,
                        "source_address_prefix": "192.100.12.45",
                        "source_port_ranges": [
                            "1",
                            "2",
                        ],
                    },
                    {
                        "access": azure_native.batch.NetworkSecurityGroupRuleAccess.DENY,
                        "priority": 3500,
                        "source_address_prefix": "*",
                        "source_port_ranges": ["*"],
                    },
                ],
                "protocol": azure_native.batch.InboundEndpointProtocol.TCP,
            }],
        },
    },
    pool_name="testpool",
    resource_group_name="default-azurebatch-japaneast",
    scale_settings={
        "auto_scale": {
            "evaluation_interval": "PT5M",
            "formula": "$TargetDedicatedNodes=1",
        },
    },
    vm_size="STANDARD_D4")
Copy
resources:
  pool:
    type: azure-native:batch:Pool
    properties:
      accountName: sampleacct
      deploymentConfiguration:
        virtualMachineConfiguration:
          dataDisks:
            - caching: ReadWrite
              diskSizeGB: 30
              lun: 0
              storageAccountType: Premium_LRS
            - caching: None
              diskSizeGB: 200
              lun: 1
              storageAccountType: Standard_LRS
          diskEncryptionConfiguration:
            targets:
              - OsDisk
              - TemporaryDisk
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2016-Datacenter-SmallDisk
            version: latest
          licenseType: Windows_Server
          nodeAgentSkuId: batch.node.windows amd64
          nodePlacementConfiguration:
            policy: Zonal
          osDisk:
            ephemeralOSDiskSettings:
              placement: CacheDisk
          windowsConfiguration:
            enableAutomaticUpdates: false
      networkConfiguration:
        endpointConfiguration:
          inboundNatPools:
            - backendPort: 12001
              frontendPortRangeEnd: 15100
              frontendPortRangeStart: 15000
              name: testnat
              networkSecurityGroupRules:
                - access: Allow
                  priority: 150
                  sourceAddressPrefix: 192.100.12.45
                  sourcePortRanges:
                    - '1'
                    - '2'
                - access: Deny
                  priority: 3500
                  sourceAddressPrefix: '*'
                  sourcePortRanges:
                    - '*'
              protocol: TCP
      poolName: testpool
      resourceGroupName: default-azurebatch-japaneast
      scaleSettings:
        autoScale:
          evaluationInterval: PT5M
          formula: $TargetDedicatedNodes=1
      vmSize: STANDARD_D4
Copy

CreatePool - Minimal VirtualMachineConfiguration

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var pool = new AzureNative.Batch.Pool("pool", new()
    {
        AccountName = "sampleacct",
        DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
        {
            VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
            {
                ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
                {
                    Offer = "UbuntuServer",
                    Publisher = "Canonical",
                    Sku = "18.04-LTS",
                    Version = "latest",
                },
                NodeAgentSkuId = "batch.node.ubuntu 18.04",
            },
        },
        PoolName = "testpool",
        ResourceGroupName = "default-azurebatch-japaneast",
        ScaleSettings = new AzureNative.Batch.Inputs.ScaleSettingsArgs
        {
            AutoScale = new AzureNative.Batch.Inputs.AutoScaleSettingsArgs
            {
                EvaluationInterval = "PT5M",
                Formula = "$TargetDedicatedNodes=1",
            },
        },
        VmSize = "STANDARD_D4",
    });

});
Copy
package main

import (
	batch "github.com/pulumi/pulumi-azure-native-sdk/batch/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.NewPool(ctx, "pool", &batch.PoolArgs{
			AccountName: pulumi.String("sampleacct"),
			DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
				VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
					ImageReference: &batch.ImageReferenceArgs{
						Offer:     pulumi.String("UbuntuServer"),
						Publisher: pulumi.String("Canonical"),
						Sku:       pulumi.String("18.04-LTS"),
						Version:   pulumi.String("latest"),
					},
					NodeAgentSkuId: pulumi.String("batch.node.ubuntu 18.04"),
				},
			},
			PoolName:          pulumi.String("testpool"),
			ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
			ScaleSettings: &batch.ScaleSettingsArgs{
				AutoScale: &batch.AutoScaleSettingsArgs{
					EvaluationInterval: pulumi.String("PT5M"),
					Formula:            pulumi.String("$TargetDedicatedNodes=1"),
				},
			},
			VmSize: pulumi.String("STANDARD_D4"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.batch.Pool;
import com.pulumi.azurenative.batch.PoolArgs;
import com.pulumi.azurenative.batch.inputs.DeploymentConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.VirtualMachineConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.batch.inputs.ScaleSettingsArgs;
import com.pulumi.azurenative.batch.inputs.AutoScaleSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var pool = new Pool("pool", PoolArgs.builder()
            .accountName("sampleacct")
            .deploymentConfiguration(DeploymentConfigurationArgs.builder()
                .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("UbuntuServer")
                        .publisher("Canonical")
                        .sku("18.04-LTS")
                        .version("latest")
                        .build())
                    .nodeAgentSkuId("batch.node.ubuntu 18.04")
                    .build())
                .build())
            .poolName("testpool")
            .resourceGroupName("default-azurebatch-japaneast")
            .scaleSettings(ScaleSettingsArgs.builder()
                .autoScale(AutoScaleSettingsArgs.builder()
                    .evaluationInterval("PT5M")
                    .formula("$TargetDedicatedNodes=1")
                    .build())
                .build())
            .vmSize("STANDARD_D4")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const pool = new azure_native.batch.Pool("pool", {
    accountName: "sampleacct",
    deploymentConfiguration: {
        virtualMachineConfiguration: {
            imageReference: {
                offer: "UbuntuServer",
                publisher: "Canonical",
                sku: "18.04-LTS",
                version: "latest",
            },
            nodeAgentSkuId: "batch.node.ubuntu 18.04",
        },
    },
    poolName: "testpool",
    resourceGroupName: "default-azurebatch-japaneast",
    scaleSettings: {
        autoScale: {
            evaluationInterval: "PT5M",
            formula: "$TargetDedicatedNodes=1",
        },
    },
    vmSize: "STANDARD_D4",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

pool = azure_native.batch.Pool("pool",
    account_name="sampleacct",
    deployment_configuration={
        "virtual_machine_configuration": {
            "image_reference": {
                "offer": "UbuntuServer",
                "publisher": "Canonical",
                "sku": "18.04-LTS",
                "version": "latest",
            },
            "node_agent_sku_id": "batch.node.ubuntu 18.04",
        },
    },
    pool_name="testpool",
    resource_group_name="default-azurebatch-japaneast",
    scale_settings={
        "auto_scale": {
            "evaluation_interval": "PT5M",
            "formula": "$TargetDedicatedNodes=1",
        },
    },
    vm_size="STANDARD_D4")
Copy
resources:
  pool:
    type: azure-native:batch:Pool
    properties:
      accountName: sampleacct
      deploymentConfiguration:
        virtualMachineConfiguration:
          imageReference:
            offer: UbuntuServer
            publisher: Canonical
            sku: 18.04-LTS
            version: latest
          nodeAgentSkuId: batch.node.ubuntu 18.04
      poolName: testpool
      resourceGroupName: default-azurebatch-japaneast
      scaleSettings:
        autoScale:
          evaluationInterval: PT5M
          formula: $TargetDedicatedNodes=1
      vmSize: STANDARD_D4
Copy

CreatePool - No public IP

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var pool = new AzureNative.Batch.Pool("pool", new()
    {
        AccountName = "sampleacct",
        DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
        {
            VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
            {
                ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
                {
                    Id = "/subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1",
                },
                NodeAgentSkuId = "batch.node.ubuntu 18.04",
            },
        },
        NetworkConfiguration = new AzureNative.Batch.Inputs.NetworkConfigurationArgs
        {
            PublicIPAddressConfiguration = new AzureNative.Batch.Inputs.PublicIPAddressConfigurationArgs
            {
                Provision = AzureNative.Batch.IPAddressProvisioningType.NoPublicIPAddresses,
            },
            SubnetId = "/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123",
        },
        PoolName = "testpool",
        ResourceGroupName = "default-azurebatch-japaneast",
        VmSize = "STANDARD_D4",
    });

});
Copy
package main

import (
	batch "github.com/pulumi/pulumi-azure-native-sdk/batch/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.NewPool(ctx, "pool", &batch.PoolArgs{
			AccountName: pulumi.String("sampleacct"),
			DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
				VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
					ImageReference: &batch.ImageReferenceArgs{
						Id: pulumi.String("/subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1"),
					},
					NodeAgentSkuId: pulumi.String("batch.node.ubuntu 18.04"),
				},
			},
			NetworkConfiguration: &batch.NetworkConfigurationArgs{
				PublicIPAddressConfiguration: &batch.PublicIPAddressConfigurationArgs{
					Provision: batch.IPAddressProvisioningTypeNoPublicIPAddresses,
				},
				SubnetId: pulumi.String("/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123"),
			},
			PoolName:          pulumi.String("testpool"),
			ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
			VmSize:            pulumi.String("STANDARD_D4"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.batch.Pool;
import com.pulumi.azurenative.batch.PoolArgs;
import com.pulumi.azurenative.batch.inputs.DeploymentConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.VirtualMachineConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.batch.inputs.NetworkConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.PublicIPAddressConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var pool = new Pool("pool", PoolArgs.builder()
            .accountName("sampleacct")
            .deploymentConfiguration(DeploymentConfigurationArgs.builder()
                .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .id("/subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1")
                        .build())
                    .nodeAgentSkuId("batch.node.ubuntu 18.04")
                    .build())
                .build())
            .networkConfiguration(NetworkConfigurationArgs.builder()
                .publicIPAddressConfiguration(PublicIPAddressConfigurationArgs.builder()
                    .provision("NoPublicIPAddresses")
                    .build())
                .subnetId("/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123")
                .build())
            .poolName("testpool")
            .resourceGroupName("default-azurebatch-japaneast")
            .vmSize("STANDARD_D4")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const pool = new azure_native.batch.Pool("pool", {
    accountName: "sampleacct",
    deploymentConfiguration: {
        virtualMachineConfiguration: {
            imageReference: {
                id: "/subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1",
            },
            nodeAgentSkuId: "batch.node.ubuntu 18.04",
        },
    },
    networkConfiguration: {
        publicIPAddressConfiguration: {
            provision: azure_native.batch.IPAddressProvisioningType.NoPublicIPAddresses,
        },
        subnetId: "/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123",
    },
    poolName: "testpool",
    resourceGroupName: "default-azurebatch-japaneast",
    vmSize: "STANDARD_D4",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

pool = azure_native.batch.Pool("pool",
    account_name="sampleacct",
    deployment_configuration={
        "virtual_machine_configuration": {
            "image_reference": {
                "id": "/subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1",
            },
            "node_agent_sku_id": "batch.node.ubuntu 18.04",
        },
    },
    network_configuration={
        "public_ip_address_configuration": {
            "provision": azure_native.batch.IPAddressProvisioningType.NO_PUBLIC_IP_ADDRESSES,
        },
        "subnet_id": "/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123",
    },
    pool_name="testpool",
    resource_group_name="default-azurebatch-japaneast",
    vm_size="STANDARD_D4")
Copy
resources:
  pool:
    type: azure-native:batch:Pool
    properties:
      accountName: sampleacct
      deploymentConfiguration:
        virtualMachineConfiguration:
          imageReference:
            id: /subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1
          nodeAgentSkuId: batch.node.ubuntu 18.04
      networkConfiguration:
        publicIPAddressConfiguration:
          provision: NoPublicIPAddresses
        subnetId: /subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123
      poolName: testpool
      resourceGroupName: default-azurebatch-japaneast
      vmSize: STANDARD_D4
Copy

CreatePool - Public IPs

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var pool = new AzureNative.Batch.Pool("pool", new()
    {
        AccountName = "sampleacct",
        DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
        {
            VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
            {
                ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
                {
                    Id = "/subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1",
                },
                NodeAgentSkuId = "batch.node.ubuntu 18.04",
            },
        },
        NetworkConfiguration = new AzureNative.Batch.Inputs.NetworkConfigurationArgs
        {
            PublicIPAddressConfiguration = new AzureNative.Batch.Inputs.PublicIPAddressConfigurationArgs
            {
                IpAddressIds = new[]
                {
                    "/subscriptions/subid1/resourceGroups/rg13/providers/Microsoft.Network/publicIPAddresses/ip135",
                },
                Provision = AzureNative.Batch.IPAddressProvisioningType.UserManaged,
            },
            SubnetId = "/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123",
        },
        PoolName = "testpool",
        ResourceGroupName = "default-azurebatch-japaneast",
        VmSize = "STANDARD_D4",
    });

});
Copy
package main

import (
	batch "github.com/pulumi/pulumi-azure-native-sdk/batch/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.NewPool(ctx, "pool", &batch.PoolArgs{
			AccountName: pulumi.String("sampleacct"),
			DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
				VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
					ImageReference: &batch.ImageReferenceArgs{
						Id: pulumi.String("/subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1"),
					},
					NodeAgentSkuId: pulumi.String("batch.node.ubuntu 18.04"),
				},
			},
			NetworkConfiguration: &batch.NetworkConfigurationArgs{
				PublicIPAddressConfiguration: &batch.PublicIPAddressConfigurationArgs{
					IpAddressIds: pulumi.StringArray{
						pulumi.String("/subscriptions/subid1/resourceGroups/rg13/providers/Microsoft.Network/publicIPAddresses/ip135"),
					},
					Provision: batch.IPAddressProvisioningTypeUserManaged,
				},
				SubnetId: pulumi.String("/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123"),
			},
			PoolName:          pulumi.String("testpool"),
			ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
			VmSize:            pulumi.String("STANDARD_D4"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.batch.Pool;
import com.pulumi.azurenative.batch.PoolArgs;
import com.pulumi.azurenative.batch.inputs.DeploymentConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.VirtualMachineConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.batch.inputs.NetworkConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.PublicIPAddressConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var pool = new Pool("pool", PoolArgs.builder()
            .accountName("sampleacct")
            .deploymentConfiguration(DeploymentConfigurationArgs.builder()
                .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .id("/subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1")
                        .build())
                    .nodeAgentSkuId("batch.node.ubuntu 18.04")
                    .build())
                .build())
            .networkConfiguration(NetworkConfigurationArgs.builder()
                .publicIPAddressConfiguration(PublicIPAddressConfigurationArgs.builder()
                    .ipAddressIds("/subscriptions/subid1/resourceGroups/rg13/providers/Microsoft.Network/publicIPAddresses/ip135")
                    .provision("UserManaged")
                    .build())
                .subnetId("/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123")
                .build())
            .poolName("testpool")
            .resourceGroupName("default-azurebatch-japaneast")
            .vmSize("STANDARD_D4")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const pool = new azure_native.batch.Pool("pool", {
    accountName: "sampleacct",
    deploymentConfiguration: {
        virtualMachineConfiguration: {
            imageReference: {
                id: "/subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1",
            },
            nodeAgentSkuId: "batch.node.ubuntu 18.04",
        },
    },
    networkConfiguration: {
        publicIPAddressConfiguration: {
            ipAddressIds: ["/subscriptions/subid1/resourceGroups/rg13/providers/Microsoft.Network/publicIPAddresses/ip135"],
            provision: azure_native.batch.IPAddressProvisioningType.UserManaged,
        },
        subnetId: "/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123",
    },
    poolName: "testpool",
    resourceGroupName: "default-azurebatch-japaneast",
    vmSize: "STANDARD_D4",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

pool = azure_native.batch.Pool("pool",
    account_name="sampleacct",
    deployment_configuration={
        "virtual_machine_configuration": {
            "image_reference": {
                "id": "/subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1",
            },
            "node_agent_sku_id": "batch.node.ubuntu 18.04",
        },
    },
    network_configuration={
        "public_ip_address_configuration": {
            "ip_address_ids": ["/subscriptions/subid1/resourceGroups/rg13/providers/Microsoft.Network/publicIPAddresses/ip135"],
            "provision": azure_native.batch.IPAddressProvisioningType.USER_MANAGED,
        },
        "subnet_id": "/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123",
    },
    pool_name="testpool",
    resource_group_name="default-azurebatch-japaneast",
    vm_size="STANDARD_D4")
Copy
resources:
  pool:
    type: azure-native:batch:Pool
    properties:
      accountName: sampleacct
      deploymentConfiguration:
        virtualMachineConfiguration:
          imageReference:
            id: /subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1
          nodeAgentSkuId: batch.node.ubuntu 18.04
      networkConfiguration:
        publicIPAddressConfiguration:
          ipAddressIds:
            - /subscriptions/subid1/resourceGroups/rg13/providers/Microsoft.Network/publicIPAddresses/ip135
          provision: UserManaged
        subnetId: /subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123
      poolName: testpool
      resourceGroupName: default-azurebatch-japaneast
      vmSize: STANDARD_D4
Copy

CreatePool - ResourceTags

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var pool = new AzureNative.Batch.Pool("pool", new()
    {
        AccountName = "sampleacct",
        DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
        {
            VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
            {
                ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
                {
                    Offer = "UbuntuServer",
                    Publisher = "Canonical",
                    Sku = "18_04-lts-gen2",
                    Version = "latest",
                },
                NodeAgentSkuId = "batch.node.ubuntu 18.04",
            },
        },
        PoolName = "testpool",
        ResourceGroupName = "default-azurebatch-japaneast",
        ResourceTags = 
        {
            { "TagName1", "TagValue1" },
            { "TagName2", "TagValue2" },
        },
        ScaleSettings = new AzureNative.Batch.Inputs.ScaleSettingsArgs
        {
            FixedScale = new AzureNative.Batch.Inputs.FixedScaleSettingsArgs
            {
                TargetDedicatedNodes = 1,
                TargetLowPriorityNodes = 0,
            },
        },
        VmSize = "Standard_d4s_v3",
    });

});
Copy
package main

import (
	batch "github.com/pulumi/pulumi-azure-native-sdk/batch/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.NewPool(ctx, "pool", &batch.PoolArgs{
			AccountName: pulumi.String("sampleacct"),
			DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
				VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
					ImageReference: &batch.ImageReferenceArgs{
						Offer:     pulumi.String("UbuntuServer"),
						Publisher: pulumi.String("Canonical"),
						Sku:       pulumi.String("18_04-lts-gen2"),
						Version:   pulumi.String("latest"),
					},
					NodeAgentSkuId: pulumi.String("batch.node.ubuntu 18.04"),
				},
			},
			PoolName:          pulumi.String("testpool"),
			ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
			ResourceTags: pulumi.StringMap{
				"TagName1": pulumi.String("TagValue1"),
				"TagName2": pulumi.String("TagValue2"),
			},
			ScaleSettings: &batch.ScaleSettingsArgs{
				FixedScale: &batch.FixedScaleSettingsArgs{
					TargetDedicatedNodes:   pulumi.Int(1),
					TargetLowPriorityNodes: pulumi.Int(0),
				},
			},
			VmSize: pulumi.String("Standard_d4s_v3"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.batch.Pool;
import com.pulumi.azurenative.batch.PoolArgs;
import com.pulumi.azurenative.batch.inputs.DeploymentConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.VirtualMachineConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.batch.inputs.ScaleSettingsArgs;
import com.pulumi.azurenative.batch.inputs.FixedScaleSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var pool = new Pool("pool", PoolArgs.builder()
            .accountName("sampleacct")
            .deploymentConfiguration(DeploymentConfigurationArgs.builder()
                .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("UbuntuServer")
                        .publisher("Canonical")
                        .sku("18_04-lts-gen2")
                        .version("latest")
                        .build())
                    .nodeAgentSkuId("batch.node.ubuntu 18.04")
                    .build())
                .build())
            .poolName("testpool")
            .resourceGroupName("default-azurebatch-japaneast")
            .resourceTags(Map.ofEntries(
                Map.entry("TagName1", "TagValue1"),
                Map.entry("TagName2", "TagValue2")
            ))
            .scaleSettings(ScaleSettingsArgs.builder()
                .fixedScale(FixedScaleSettingsArgs.builder()
                    .targetDedicatedNodes(1)
                    .targetLowPriorityNodes(0)
                    .build())
                .build())
            .vmSize("Standard_d4s_v3")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const pool = new azure_native.batch.Pool("pool", {
    accountName: "sampleacct",
    deploymentConfiguration: {
        virtualMachineConfiguration: {
            imageReference: {
                offer: "UbuntuServer",
                publisher: "Canonical",
                sku: "18_04-lts-gen2",
                version: "latest",
            },
            nodeAgentSkuId: "batch.node.ubuntu 18.04",
        },
    },
    poolName: "testpool",
    resourceGroupName: "default-azurebatch-japaneast",
    resourceTags: {
        TagName1: "TagValue1",
        TagName2: "TagValue2",
    },
    scaleSettings: {
        fixedScale: {
            targetDedicatedNodes: 1,
            targetLowPriorityNodes: 0,
        },
    },
    vmSize: "Standard_d4s_v3",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

pool = azure_native.batch.Pool("pool",
    account_name="sampleacct",
    deployment_configuration={
        "virtual_machine_configuration": {
            "image_reference": {
                "offer": "UbuntuServer",
                "publisher": "Canonical",
                "sku": "18_04-lts-gen2",
                "version": "latest",
            },
            "node_agent_sku_id": "batch.node.ubuntu 18.04",
        },
    },
    pool_name="testpool",
    resource_group_name="default-azurebatch-japaneast",
    resource_tags={
        "TagName1": "TagValue1",
        "TagName2": "TagValue2",
    },
    scale_settings={
        "fixed_scale": {
            "target_dedicated_nodes": 1,
            "target_low_priority_nodes": 0,
        },
    },
    vm_size="Standard_d4s_v3")
Copy
resources:
  pool:
    type: azure-native:batch:Pool
    properties:
      accountName: sampleacct
      deploymentConfiguration:
        virtualMachineConfiguration:
          imageReference:
            offer: UbuntuServer
            publisher: Canonical
            sku: 18_04-lts-gen2
            version: latest
          nodeAgentSkuId: batch.node.ubuntu 18.04
      poolName: testpool
      resourceGroupName: default-azurebatch-japaneast
      resourceTags:
        TagName1: TagValue1
        TagName2: TagValue2
      scaleSettings:
        fixedScale:
          targetDedicatedNodes: 1
          targetLowPriorityNodes: 0
      vmSize: Standard_d4s_v3
Copy

CreatePool - SecurityProfile

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var pool = new AzureNative.Batch.Pool("pool", new()
    {
        AccountName = "sampleacct",
        DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
        {
            VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
            {
                ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
                {
                    Offer = "UbuntuServer",
                    Publisher = "Canonical",
                    Sku = "18_04-lts-gen2",
                    Version = "latest",
                },
                NodeAgentSkuId = "batch.node.ubuntu 18.04",
                SecurityProfile = new AzureNative.Batch.Inputs.SecurityProfileArgs
                {
                    EncryptionAtHost = true,
                    SecurityType = AzureNative.Batch.SecurityTypes.TrustedLaunch,
                    UefiSettings = new AzureNative.Batch.Inputs.UefiSettingsArgs
                    {
                        VTpmEnabled = false,
                    },
                },
            },
        },
        PoolName = "testpool",
        ResourceGroupName = "default-azurebatch-japaneast",
        ScaleSettings = new AzureNative.Batch.Inputs.ScaleSettingsArgs
        {
            FixedScale = new AzureNative.Batch.Inputs.FixedScaleSettingsArgs
            {
                TargetDedicatedNodes = 1,
                TargetLowPriorityNodes = 0,
            },
        },
        VmSize = "Standard_d4s_v3",
    });

});
Copy
package main

import (
	batch "github.com/pulumi/pulumi-azure-native-sdk/batch/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.NewPool(ctx, "pool", &batch.PoolArgs{
			AccountName: pulumi.String("sampleacct"),
			DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
				VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
					ImageReference: &batch.ImageReferenceArgs{
						Offer:     pulumi.String("UbuntuServer"),
						Publisher: pulumi.String("Canonical"),
						Sku:       pulumi.String("18_04-lts-gen2"),
						Version:   pulumi.String("latest"),
					},
					NodeAgentSkuId: pulumi.String("batch.node.ubuntu 18.04"),
					SecurityProfile: &batch.SecurityProfileArgs{
						EncryptionAtHost: pulumi.Bool(true),
						SecurityType:     batch.SecurityTypesTrustedLaunch,
						UefiSettings: &batch.UefiSettingsArgs{
							VTpmEnabled: pulumi.Bool(false),
						},
					},
				},
			},
			PoolName:          pulumi.String("testpool"),
			ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
			ScaleSettings: &batch.ScaleSettingsArgs{
				FixedScale: &batch.FixedScaleSettingsArgs{
					TargetDedicatedNodes:   pulumi.Int(1),
					TargetLowPriorityNodes: pulumi.Int(0),
				},
			},
			VmSize: pulumi.String("Standard_d4s_v3"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.batch.Pool;
import com.pulumi.azurenative.batch.PoolArgs;
import com.pulumi.azurenative.batch.inputs.DeploymentConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.VirtualMachineConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.batch.inputs.SecurityProfileArgs;
import com.pulumi.azurenative.batch.inputs.UefiSettingsArgs;
import com.pulumi.azurenative.batch.inputs.ScaleSettingsArgs;
import com.pulumi.azurenative.batch.inputs.FixedScaleSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var pool = new Pool("pool", PoolArgs.builder()
            .accountName("sampleacct")
            .deploymentConfiguration(DeploymentConfigurationArgs.builder()
                .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("UbuntuServer")
                        .publisher("Canonical")
                        .sku("18_04-lts-gen2")
                        .version("latest")
                        .build())
                    .nodeAgentSkuId("batch.node.ubuntu 18.04")
                    .securityProfile(SecurityProfileArgs.builder()
                        .encryptionAtHost(true)
                        .securityType("trustedLaunch")
                        .uefiSettings(UefiSettingsArgs.builder()
                            .vTpmEnabled(false)
                            .build())
                        .build())
                    .build())
                .build())
            .poolName("testpool")
            .resourceGroupName("default-azurebatch-japaneast")
            .scaleSettings(ScaleSettingsArgs.builder()
                .fixedScale(FixedScaleSettingsArgs.builder()
                    .targetDedicatedNodes(1)
                    .targetLowPriorityNodes(0)
                    .build())
                .build())
            .vmSize("Standard_d4s_v3")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const pool = new azure_native.batch.Pool("pool", {
    accountName: "sampleacct",
    deploymentConfiguration: {
        virtualMachineConfiguration: {
            imageReference: {
                offer: "UbuntuServer",
                publisher: "Canonical",
                sku: "18_04-lts-gen2",
                version: "latest",
            },
            nodeAgentSkuId: "batch.node.ubuntu 18.04",
            securityProfile: {
                encryptionAtHost: true,
                securityType: azure_native.batch.SecurityTypes.TrustedLaunch,
                uefiSettings: {
                    vTpmEnabled: false,
                },
            },
        },
    },
    poolName: "testpool",
    resourceGroupName: "default-azurebatch-japaneast",
    scaleSettings: {
        fixedScale: {
            targetDedicatedNodes: 1,
            targetLowPriorityNodes: 0,
        },
    },
    vmSize: "Standard_d4s_v3",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

pool = azure_native.batch.Pool("pool",
    account_name="sampleacct",
    deployment_configuration={
        "virtual_machine_configuration": {
            "image_reference": {
                "offer": "UbuntuServer",
                "publisher": "Canonical",
                "sku": "18_04-lts-gen2",
                "version": "latest",
            },
            "node_agent_sku_id": "batch.node.ubuntu 18.04",
            "security_profile": {
                "encryption_at_host": True,
                "security_type": azure_native.batch.SecurityTypes.TRUSTED_LAUNCH,
                "uefi_settings": {
                    "v_tpm_enabled": False,
                },
            },
        },
    },
    pool_name="testpool",
    resource_group_name="default-azurebatch-japaneast",
    scale_settings={
        "fixed_scale": {
            "target_dedicated_nodes": 1,
            "target_low_priority_nodes": 0,
        },
    },
    vm_size="Standard_d4s_v3")
Copy
resources:
  pool:
    type: azure-native:batch:Pool
    properties:
      accountName: sampleacct
      deploymentConfiguration:
        virtualMachineConfiguration:
          imageReference:
            offer: UbuntuServer
            publisher: Canonical
            sku: 18_04-lts-gen2
            version: latest
          nodeAgentSkuId: batch.node.ubuntu 18.04
          securityProfile:
            encryptionAtHost: true
            securityType: trustedLaunch
            uefiSettings:
              vTpmEnabled: false
      poolName: testpool
      resourceGroupName: default-azurebatch-japaneast
      scaleSettings:
        fixedScale:
          targetDedicatedNodes: 1
          targetLowPriorityNodes: 0
      vmSize: Standard_d4s_v3
Copy

CreatePool - Tags

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var pool = new AzureNative.Batch.Pool("pool", new()
    {
        AccountName = "sampleacct",
        DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
        {
            VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
            {
                ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
                {
                    Offer = "0001-com-ubuntu-server-jammy",
                    Publisher = "Canonical",
                    Sku = "22_04-lts",
                    Version = "latest",
                },
                NodeAgentSkuId = "batch.node.ubuntu 22.04",
            },
        },
        PoolName = "testpool",
        ResourceGroupName = "default-azurebatch-japaneast",
        ScaleSettings = new AzureNative.Batch.Inputs.ScaleSettingsArgs
        {
            FixedScale = new AzureNative.Batch.Inputs.FixedScaleSettingsArgs
            {
                TargetDedicatedNodes = 1,
                TargetLowPriorityNodes = 0,
            },
        },
        Tags = 
        {
            { "TagName1", "TagValue1" },
            { "TagName2", "TagValue2" },
        },
        VmSize = "Standard_d4s_v3",
    });

});
Copy
package main

import (
	batch "github.com/pulumi/pulumi-azure-native-sdk/batch/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.NewPool(ctx, "pool", &batch.PoolArgs{
			AccountName: pulumi.String("sampleacct"),
			DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
				VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
					ImageReference: &batch.ImageReferenceArgs{
						Offer:     pulumi.String("0001-com-ubuntu-server-jammy"),
						Publisher: pulumi.String("Canonical"),
						Sku:       pulumi.String("22_04-lts"),
						Version:   pulumi.String("latest"),
					},
					NodeAgentSkuId: pulumi.String("batch.node.ubuntu 22.04"),
				},
			},
			PoolName:          pulumi.String("testpool"),
			ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
			ScaleSettings: &batch.ScaleSettingsArgs{
				FixedScale: &batch.FixedScaleSettingsArgs{
					TargetDedicatedNodes:   pulumi.Int(1),
					TargetLowPriorityNodes: pulumi.Int(0),
				},
			},
			Tags: pulumi.StringMap{
				"TagName1": pulumi.String("TagValue1"),
				"TagName2": pulumi.String("TagValue2"),
			},
			VmSize: pulumi.String("Standard_d4s_v3"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.batch.Pool;
import com.pulumi.azurenative.batch.PoolArgs;
import com.pulumi.azurenative.batch.inputs.DeploymentConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.VirtualMachineConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.batch.inputs.ScaleSettingsArgs;
import com.pulumi.azurenative.batch.inputs.FixedScaleSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var pool = new Pool("pool", PoolArgs.builder()
            .accountName("sampleacct")
            .deploymentConfiguration(DeploymentConfigurationArgs.builder()
                .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("0001-com-ubuntu-server-jammy")
                        .publisher("Canonical")
                        .sku("22_04-lts")
                        .version("latest")
                        .build())
                    .nodeAgentSkuId("batch.node.ubuntu 22.04")
                    .build())
                .build())
            .poolName("testpool")
            .resourceGroupName("default-azurebatch-japaneast")
            .scaleSettings(ScaleSettingsArgs.builder()
                .fixedScale(FixedScaleSettingsArgs.builder()
                    .targetDedicatedNodes(1)
                    .targetLowPriorityNodes(0)
                    .build())
                .build())
            .tags(Map.ofEntries(
                Map.entry("TagName1", "TagValue1"),
                Map.entry("TagName2", "TagValue2")
            ))
            .vmSize("Standard_d4s_v3")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const pool = new azure_native.batch.Pool("pool", {
    accountName: "sampleacct",
    deploymentConfiguration: {
        virtualMachineConfiguration: {
            imageReference: {
                offer: "0001-com-ubuntu-server-jammy",
                publisher: "Canonical",
                sku: "22_04-lts",
                version: "latest",
            },
            nodeAgentSkuId: "batch.node.ubuntu 22.04",
        },
    },
    poolName: "testpool",
    resourceGroupName: "default-azurebatch-japaneast",
    scaleSettings: {
        fixedScale: {
            targetDedicatedNodes: 1,
            targetLowPriorityNodes: 0,
        },
    },
    tags: {
        TagName1: "TagValue1",
        TagName2: "TagValue2",
    },
    vmSize: "Standard_d4s_v3",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

pool = azure_native.batch.Pool("pool",
    account_name="sampleacct",
    deployment_configuration={
        "virtual_machine_configuration": {
            "image_reference": {
                "offer": "0001-com-ubuntu-server-jammy",
                "publisher": "Canonical",
                "sku": "22_04-lts",
                "version": "latest",
            },
            "node_agent_sku_id": "batch.node.ubuntu 22.04",
        },
    },
    pool_name="testpool",
    resource_group_name="default-azurebatch-japaneast",
    scale_settings={
        "fixed_scale": {
            "target_dedicated_nodes": 1,
            "target_low_priority_nodes": 0,
        },
    },
    tags={
        "TagName1": "TagValue1",
        "TagName2": "TagValue2",
    },
    vm_size="Standard_d4s_v3")
Copy
resources:
  pool:
    type: azure-native:batch:Pool
    properties:
      accountName: sampleacct
      deploymentConfiguration:
        virtualMachineConfiguration:
          imageReference:
            offer: 0001-com-ubuntu-server-jammy
            publisher: Canonical
            sku: 22_04-lts
            version: latest
          nodeAgentSkuId: batch.node.ubuntu 22.04
      poolName: testpool
      resourceGroupName: default-azurebatch-japaneast
      scaleSettings:
        fixedScale:
          targetDedicatedNodes: 1
          targetLowPriorityNodes: 0
      tags:
        TagName1: TagValue1
        TagName2: TagValue2
      vmSize: Standard_d4s_v3
Copy

CreatePool - UpgradePolicy

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var pool = new AzureNative.Batch.Pool("pool", new()
    {
        AccountName = "sampleacct",
        DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
        {
            VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
            {
                ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2019-datacenter-smalldisk",
                    Version = "latest",
                },
                NodeAgentSkuId = "batch.node.windows amd64",
                NodePlacementConfiguration = new AzureNative.Batch.Inputs.NodePlacementConfigurationArgs
                {
                    Policy = AzureNative.Batch.NodePlacementPolicyType.Zonal,
                },
                WindowsConfiguration = new AzureNative.Batch.Inputs.WindowsConfigurationArgs
                {
                    EnableAutomaticUpdates = false,
                },
            },
        },
        PoolName = "testpool",
        ResourceGroupName = "default-azurebatch-japaneast",
        ScaleSettings = new AzureNative.Batch.Inputs.ScaleSettingsArgs
        {
            FixedScale = new AzureNative.Batch.Inputs.FixedScaleSettingsArgs
            {
                TargetDedicatedNodes = 2,
                TargetLowPriorityNodes = 0,
            },
        },
        UpgradePolicy = new AzureNative.Batch.Inputs.UpgradePolicyArgs
        {
            AutomaticOSUpgradePolicy = new AzureNative.Batch.Inputs.AutomaticOSUpgradePolicyArgs
            {
                DisableAutomaticRollback = true,
                EnableAutomaticOSUpgrade = true,
                OsRollingUpgradeDeferral = true,
                UseRollingUpgradePolicy = true,
            },
            Mode = AzureNative.Batch.UpgradeMode.Automatic,
            RollingUpgradePolicy = new AzureNative.Batch.Inputs.RollingUpgradePolicyArgs
            {
                EnableCrossZoneUpgrade = true,
                MaxBatchInstancePercent = 20,
                MaxUnhealthyInstancePercent = 20,
                MaxUnhealthyUpgradedInstancePercent = 20,
                PauseTimeBetweenBatches = "PT0S",
                PrioritizeUnhealthyInstances = false,
                RollbackFailedInstancesOnPolicyBreach = false,
            },
        },
        VmSize = "Standard_d4s_v3",
    });

});
Copy
package main

import (
	batch "github.com/pulumi/pulumi-azure-native-sdk/batch/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.NewPool(ctx, "pool", &batch.PoolArgs{
			AccountName: pulumi.String("sampleacct"),
			DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
				VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
					ImageReference: &batch.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2019-datacenter-smalldisk"),
						Version:   pulumi.String("latest"),
					},
					NodeAgentSkuId: pulumi.String("batch.node.windows amd64"),
					NodePlacementConfiguration: &batch.NodePlacementConfigurationArgs{
						Policy: batch.NodePlacementPolicyTypeZonal,
					},
					WindowsConfiguration: &batch.WindowsConfigurationArgs{
						EnableAutomaticUpdates: pulumi.Bool(false),
					},
				},
			},
			PoolName:          pulumi.String("testpool"),
			ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
			ScaleSettings: &batch.ScaleSettingsArgs{
				FixedScale: &batch.FixedScaleSettingsArgs{
					TargetDedicatedNodes:   pulumi.Int(2),
					TargetLowPriorityNodes: pulumi.Int(0),
				},
			},
			UpgradePolicy: &batch.UpgradePolicyArgs{
				AutomaticOSUpgradePolicy: &batch.AutomaticOSUpgradePolicyArgs{
					DisableAutomaticRollback: pulumi.Bool(true),
					EnableAutomaticOSUpgrade: pulumi.Bool(true),
					OsRollingUpgradeDeferral: pulumi.Bool(true),
					UseRollingUpgradePolicy:  pulumi.Bool(true),
				},
				Mode: batch.UpgradeModeAutomatic,
				RollingUpgradePolicy: &batch.RollingUpgradePolicyArgs{
					EnableCrossZoneUpgrade:                pulumi.Bool(true),
					MaxBatchInstancePercent:               pulumi.Int(20),
					MaxUnhealthyInstancePercent:           pulumi.Int(20),
					MaxUnhealthyUpgradedInstancePercent:   pulumi.Int(20),
					PauseTimeBetweenBatches:               pulumi.String("PT0S"),
					PrioritizeUnhealthyInstances:          pulumi.Bool(false),
					RollbackFailedInstancesOnPolicyBreach: pulumi.Bool(false),
				},
			},
			VmSize: pulumi.String("Standard_d4s_v3"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.batch.Pool;
import com.pulumi.azurenative.batch.PoolArgs;
import com.pulumi.azurenative.batch.inputs.DeploymentConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.VirtualMachineConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.batch.inputs.NodePlacementConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.WindowsConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ScaleSettingsArgs;
import com.pulumi.azurenative.batch.inputs.FixedScaleSettingsArgs;
import com.pulumi.azurenative.batch.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.batch.inputs.AutomaticOSUpgradePolicyArgs;
import com.pulumi.azurenative.batch.inputs.RollingUpgradePolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var pool = new Pool("pool", PoolArgs.builder()
            .accountName("sampleacct")
            .deploymentConfiguration(DeploymentConfigurationArgs.builder()
                .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2019-datacenter-smalldisk")
                        .version("latest")
                        .build())
                    .nodeAgentSkuId("batch.node.windows amd64")
                    .nodePlacementConfiguration(NodePlacementConfigurationArgs.builder()
                        .policy("Zonal")
                        .build())
                    .windowsConfiguration(WindowsConfigurationArgs.builder()
                        .enableAutomaticUpdates(false)
                        .build())
                    .build())
                .build())
            .poolName("testpool")
            .resourceGroupName("default-azurebatch-japaneast")
            .scaleSettings(ScaleSettingsArgs.builder()
                .fixedScale(FixedScaleSettingsArgs.builder()
                    .targetDedicatedNodes(2)
                    .targetLowPriorityNodes(0)
                    .build())
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .automaticOSUpgradePolicy(AutomaticOSUpgradePolicyArgs.builder()
                    .disableAutomaticRollback(true)
                    .enableAutomaticOSUpgrade(true)
                    .osRollingUpgradeDeferral(true)
                    .useRollingUpgradePolicy(true)
                    .build())
                .mode("automatic")
                .rollingUpgradePolicy(RollingUpgradePolicyArgs.builder()
                    .enableCrossZoneUpgrade(true)
                    .maxBatchInstancePercent(20)
                    .maxUnhealthyInstancePercent(20)
                    .maxUnhealthyUpgradedInstancePercent(20)
                    .pauseTimeBetweenBatches("PT0S")
                    .prioritizeUnhealthyInstances(false)
                    .rollbackFailedInstancesOnPolicyBreach(false)
                    .build())
                .build())
            .vmSize("Standard_d4s_v3")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const pool = new azure_native.batch.Pool("pool", {
    accountName: "sampleacct",
    deploymentConfiguration: {
        virtualMachineConfiguration: {
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2019-datacenter-smalldisk",
                version: "latest",
            },
            nodeAgentSkuId: "batch.node.windows amd64",
            nodePlacementConfiguration: {
                policy: azure_native.batch.NodePlacementPolicyType.Zonal,
            },
            windowsConfiguration: {
                enableAutomaticUpdates: false,
            },
        },
    },
    poolName: "testpool",
    resourceGroupName: "default-azurebatch-japaneast",
    scaleSettings: {
        fixedScale: {
            targetDedicatedNodes: 2,
            targetLowPriorityNodes: 0,
        },
    },
    upgradePolicy: {
        automaticOSUpgradePolicy: {
            disableAutomaticRollback: true,
            enableAutomaticOSUpgrade: true,
            osRollingUpgradeDeferral: true,
            useRollingUpgradePolicy: true,
        },
        mode: azure_native.batch.UpgradeMode.Automatic,
        rollingUpgradePolicy: {
            enableCrossZoneUpgrade: true,
            maxBatchInstancePercent: 20,
            maxUnhealthyInstancePercent: 20,
            maxUnhealthyUpgradedInstancePercent: 20,
            pauseTimeBetweenBatches: "PT0S",
            prioritizeUnhealthyInstances: false,
            rollbackFailedInstancesOnPolicyBreach: false,
        },
    },
    vmSize: "Standard_d4s_v3",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

pool = azure_native.batch.Pool("pool",
    account_name="sampleacct",
    deployment_configuration={
        "virtual_machine_configuration": {
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2019-datacenter-smalldisk",
                "version": "latest",
            },
            "node_agent_sku_id": "batch.node.windows amd64",
            "node_placement_configuration": {
                "policy": azure_native.batch.NodePlacementPolicyType.ZONAL,
            },
            "windows_configuration": {
                "enable_automatic_updates": False,
            },
        },
    },
    pool_name="testpool",
    resource_group_name="default-azurebatch-japaneast",
    scale_settings={
        "fixed_scale": {
            "target_dedicated_nodes": 2,
            "target_low_priority_nodes": 0,
        },
    },
    upgrade_policy={
        "automatic_os_upgrade_policy": {
            "disable_automatic_rollback": True,
            "enable_automatic_os_upgrade": True,
            "os_rolling_upgrade_deferral": True,
            "use_rolling_upgrade_policy": True,
        },
        "mode": azure_native.batch.UpgradeMode.AUTOMATIC,
        "rolling_upgrade_policy": {
            "enable_cross_zone_upgrade": True,
            "max_batch_instance_percent": 20,
            "max_unhealthy_instance_percent": 20,
            "max_unhealthy_upgraded_instance_percent": 20,
            "pause_time_between_batches": "PT0S",
            "prioritize_unhealthy_instances": False,
            "rollback_failed_instances_on_policy_breach": False,
        },
    },
    vm_size="Standard_d4s_v3")
Copy
resources:
  pool:
    type: azure-native:batch:Pool
    properties:
      accountName: sampleacct
      deploymentConfiguration:
        virtualMachineConfiguration:
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2019-datacenter-smalldisk
            version: latest
          nodeAgentSkuId: batch.node.windows amd64
          nodePlacementConfiguration:
            policy: Zonal
          windowsConfiguration:
            enableAutomaticUpdates: false
      poolName: testpool
      resourceGroupName: default-azurebatch-japaneast
      scaleSettings:
        fixedScale:
          targetDedicatedNodes: 2
          targetLowPriorityNodes: 0
      upgradePolicy:
        automaticOSUpgradePolicy:
          disableAutomaticRollback: true
          enableAutomaticOSUpgrade: true
          osRollingUpgradeDeferral: true
          useRollingUpgradePolicy: true
        mode: automatic
        rollingUpgradePolicy:
          enableCrossZoneUpgrade: true
          maxBatchInstancePercent: 20
          maxUnhealthyInstancePercent: 20
          maxUnhealthyUpgradedInstancePercent: 20
          pauseTimeBetweenBatches: PT0S
          prioritizeUnhealthyInstances: false
          rollbackFailedInstancesOnPolicyBreach: false
      vmSize: Standard_d4s_v3
Copy

CreatePool - VirtualMachineConfiguration Extensions

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var pool = new AzureNative.Batch.Pool("pool", new()
    {
        AccountName = "sampleacct",
        DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
        {
            VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
            {
                Extensions = new[]
                {
                    new AzureNative.Batch.Inputs.VMExtensionArgs
                    {
                        AutoUpgradeMinorVersion = true,
                        EnableAutomaticUpgrade = true,
                        Name = "batchextension1",
                        Publisher = "Microsoft.Azure.KeyVault",
                        Settings = new Dictionary<string, object?>
                        {
                            ["authenticationSettingsKey"] = "authenticationSettingsValue",
                            ["secretsManagementSettingsKey"] = "secretsManagementSettingsValue",
                        },
                        Type = "KeyVaultForLinux",
                        TypeHandlerVersion = "2.0",
                    },
                },
                ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
                {
                    Offer = "0001-com-ubuntu-server-focal",
                    Publisher = "Canonical",
                    Sku = "20_04-lts",
                },
                NodeAgentSkuId = "batch.node.ubuntu 20.04",
            },
        },
        PoolName = "testpool",
        ResourceGroupName = "default-azurebatch-japaneast",
        ScaleSettings = new AzureNative.Batch.Inputs.ScaleSettingsArgs
        {
            AutoScale = new AzureNative.Batch.Inputs.AutoScaleSettingsArgs
            {
                EvaluationInterval = "PT5M",
                Formula = "$TargetDedicatedNodes=1",
            },
        },
        TargetNodeCommunicationMode = AzureNative.Batch.NodeCommunicationMode.Default,
        VmSize = "STANDARD_D4",
    });

});
Copy
package main

import (
	batch "github.com/pulumi/pulumi-azure-native-sdk/batch/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.NewPool(ctx, "pool", &batch.PoolArgs{
			AccountName: pulumi.String("sampleacct"),
			DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
				VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
					Extensions: batch.VMExtensionArray{
						&batch.VMExtensionArgs{
							AutoUpgradeMinorVersion: pulumi.Bool(true),
							EnableAutomaticUpgrade:  pulumi.Bool(true),
							Name:                    pulumi.String("batchextension1"),
							Publisher:               pulumi.String("Microsoft.Azure.KeyVault"),
							Settings: pulumi.Any(map[string]interface{}{
								"authenticationSettingsKey":    "authenticationSettingsValue",
								"secretsManagementSettingsKey": "secretsManagementSettingsValue",
							}),
							Type:               pulumi.String("KeyVaultForLinux"),
							TypeHandlerVersion: pulumi.String("2.0"),
						},
					},
					ImageReference: &batch.ImageReferenceArgs{
						Offer:     pulumi.String("0001-com-ubuntu-server-focal"),
						Publisher: pulumi.String("Canonical"),
						Sku:       pulumi.String("20_04-lts"),
					},
					NodeAgentSkuId: pulumi.String("batch.node.ubuntu 20.04"),
				},
			},
			PoolName:          pulumi.String("testpool"),
			ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
			ScaleSettings: &batch.ScaleSettingsArgs{
				AutoScale: &batch.AutoScaleSettingsArgs{
					EvaluationInterval: pulumi.String("PT5M"),
					Formula:            pulumi.String("$TargetDedicatedNodes=1"),
				},
			},
			TargetNodeCommunicationMode: batch.NodeCommunicationModeDefault,
			VmSize:                      pulumi.String("STANDARD_D4"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.batch.Pool;
import com.pulumi.azurenative.batch.PoolArgs;
import com.pulumi.azurenative.batch.inputs.DeploymentConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.VirtualMachineConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.batch.inputs.ScaleSettingsArgs;
import com.pulumi.azurenative.batch.inputs.AutoScaleSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var pool = new Pool("pool", PoolArgs.builder()
            .accountName("sampleacct")
            .deploymentConfiguration(DeploymentConfigurationArgs.builder()
                .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                    .extensions(VMExtensionArgs.builder()
                        .autoUpgradeMinorVersion(true)
                        .enableAutomaticUpgrade(true)
                        .name("batchextension1")
                        .publisher("Microsoft.Azure.KeyVault")
                        .settings(Map.ofEntries(
                            Map.entry("authenticationSettingsKey", "authenticationSettingsValue"),
                            Map.entry("secretsManagementSettingsKey", "secretsManagementSettingsValue")
                        ))
                        .type("KeyVaultForLinux")
                        .typeHandlerVersion("2.0")
                        .build())
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("0001-com-ubuntu-server-focal")
                        .publisher("Canonical")
                        .sku("20_04-lts")
                        .build())
                    .nodeAgentSkuId("batch.node.ubuntu 20.04")
                    .build())
                .build())
            .poolName("testpool")
            .resourceGroupName("default-azurebatch-japaneast")
            .scaleSettings(ScaleSettingsArgs.builder()
                .autoScale(AutoScaleSettingsArgs.builder()
                    .evaluationInterval("PT5M")
                    .formula("$TargetDedicatedNodes=1")
                    .build())
                .build())
            .targetNodeCommunicationMode("Default")
            .vmSize("STANDARD_D4")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const pool = new azure_native.batch.Pool("pool", {
    accountName: "sampleacct",
    deploymentConfiguration: {
        virtualMachineConfiguration: {
            extensions: [{
                autoUpgradeMinorVersion: true,
                enableAutomaticUpgrade: true,
                name: "batchextension1",
                publisher: "Microsoft.Azure.KeyVault",
                settings: {
                    authenticationSettingsKey: "authenticationSettingsValue",
                    secretsManagementSettingsKey: "secretsManagementSettingsValue",
                },
                type: "KeyVaultForLinux",
                typeHandlerVersion: "2.0",
            }],
            imageReference: {
                offer: "0001-com-ubuntu-server-focal",
                publisher: "Canonical",
                sku: "20_04-lts",
            },
            nodeAgentSkuId: "batch.node.ubuntu 20.04",
        },
    },
    poolName: "testpool",
    resourceGroupName: "default-azurebatch-japaneast",
    scaleSettings: {
        autoScale: {
            evaluationInterval: "PT5M",
            formula: "$TargetDedicatedNodes=1",
        },
    },
    targetNodeCommunicationMode: azure_native.batch.NodeCommunicationMode.Default,
    vmSize: "STANDARD_D4",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

pool = azure_native.batch.Pool("pool",
    account_name="sampleacct",
    deployment_configuration={
        "virtual_machine_configuration": {
            "extensions": [{
                "auto_upgrade_minor_version": True,
                "enable_automatic_upgrade": True,
                "name": "batchextension1",
                "publisher": "Microsoft.Azure.KeyVault",
                "settings": {
                    "authenticationSettingsKey": "authenticationSettingsValue",
                    "secretsManagementSettingsKey": "secretsManagementSettingsValue",
                },
                "type": "KeyVaultForLinux",
                "type_handler_version": "2.0",
            }],
            "image_reference": {
                "offer": "0001-com-ubuntu-server-focal",
                "publisher": "Canonical",
                "sku": "20_04-lts",
            },
            "node_agent_sku_id": "batch.node.ubuntu 20.04",
        },
    },
    pool_name="testpool",
    resource_group_name="default-azurebatch-japaneast",
    scale_settings={
        "auto_scale": {
            "evaluation_interval": "PT5M",
            "formula": "$TargetDedicatedNodes=1",
        },
    },
    target_node_communication_mode=azure_native.batch.NodeCommunicationMode.DEFAULT,
    vm_size="STANDARD_D4")
Copy
resources:
  pool:
    type: azure-native:batch:Pool
    properties:
      accountName: sampleacct
      deploymentConfiguration:
        virtualMachineConfiguration:
          extensions:
            - autoUpgradeMinorVersion: true
              enableAutomaticUpgrade: true
              name: batchextension1
              publisher: Microsoft.Azure.KeyVault
              settings:
                authenticationSettingsKey: authenticationSettingsValue
                secretsManagementSettingsKey: secretsManagementSettingsValue
              type: KeyVaultForLinux
              typeHandlerVersion: '2.0'
          imageReference:
            offer: 0001-com-ubuntu-server-focal
            publisher: Canonical
            sku: 20_04-lts
          nodeAgentSkuId: batch.node.ubuntu 20.04
      poolName: testpool
      resourceGroupName: default-azurebatch-japaneast
      scaleSettings:
        autoScale:
          evaluationInterval: PT5M
          formula: $TargetDedicatedNodes=1
      targetNodeCommunicationMode: Default
      vmSize: STANDARD_D4
Copy

CreatePool - VirtualMachineConfiguration OSDisk

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var pool = new AzureNative.Batch.Pool("pool", new()
    {
        AccountName = "sampleacct",
        DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
        {
            VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
            {
                ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
                {
                    Offer = "windowsserver",
                    Publisher = "microsoftwindowsserver",
                    Sku = "2022-datacenter-smalldisk",
                },
                NodeAgentSkuId = "batch.node.windows amd64",
                OsDisk = new AzureNative.Batch.Inputs.OSDiskArgs
                {
                    Caching = AzureNative.Batch.CachingType.ReadWrite,
                    DiskSizeGB = 100,
                    ManagedDisk = new AzureNative.Batch.Inputs.ManagedDiskArgs
                    {
                        StorageAccountType = AzureNative.Batch.StorageAccountType.StandardSSD_LRS,
                    },
                    WriteAcceleratorEnabled = false,
                },
            },
        },
        PoolName = "testpool",
        ResourceGroupName = "default-azurebatch-japaneast",
        ScaleSettings = new AzureNative.Batch.Inputs.ScaleSettingsArgs
        {
            FixedScale = new AzureNative.Batch.Inputs.FixedScaleSettingsArgs
            {
                TargetDedicatedNodes = 1,
                TargetLowPriorityNodes = 0,
            },
        },
        VmSize = "Standard_d2s_v3",
    });

});
Copy
package main

import (
	batch "github.com/pulumi/pulumi-azure-native-sdk/batch/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.NewPool(ctx, "pool", &batch.PoolArgs{
			AccountName: pulumi.String("sampleacct"),
			DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
				VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
					ImageReference: &batch.ImageReferenceArgs{
						Offer:     pulumi.String("windowsserver"),
						Publisher: pulumi.String("microsoftwindowsserver"),
						Sku:       pulumi.String("2022-datacenter-smalldisk"),
					},
					NodeAgentSkuId: pulumi.String("batch.node.windows amd64"),
					OsDisk: &batch.OSDiskArgs{
						Caching:    batch.CachingTypeReadWrite,
						DiskSizeGB: pulumi.Int(100),
						ManagedDisk: &batch.ManagedDiskArgs{
							StorageAccountType: batch.StorageAccountType_StandardSSD_LRS,
						},
						WriteAcceleratorEnabled: pulumi.Bool(false),
					},
				},
			},
			PoolName:          pulumi.String("testpool"),
			ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
			ScaleSettings: &batch.ScaleSettingsArgs{
				FixedScale: &batch.FixedScaleSettingsArgs{
					TargetDedicatedNodes:   pulumi.Int(1),
					TargetLowPriorityNodes: pulumi.Int(0),
				},
			},
			VmSize: pulumi.String("Standard_d2s_v3"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.batch.Pool;
import com.pulumi.azurenative.batch.PoolArgs;
import com.pulumi.azurenative.batch.inputs.DeploymentConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.VirtualMachineConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.batch.inputs.OSDiskArgs;
import com.pulumi.azurenative.batch.inputs.ManagedDiskArgs;
import com.pulumi.azurenative.batch.inputs.ScaleSettingsArgs;
import com.pulumi.azurenative.batch.inputs.FixedScaleSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var pool = new Pool("pool", PoolArgs.builder()
            .accountName("sampleacct")
            .deploymentConfiguration(DeploymentConfigurationArgs.builder()
                .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("windowsserver")
                        .publisher("microsoftwindowsserver")
                        .sku("2022-datacenter-smalldisk")
                        .build())
                    .nodeAgentSkuId("batch.node.windows amd64")
                    .osDisk(OSDiskArgs.builder()
                        .caching("ReadWrite")
                        .diskSizeGB(100)
                        .managedDisk(ManagedDiskArgs.builder()
                            .storageAccountType("StandardSSD_LRS")
                            .build())
                        .writeAcceleratorEnabled(false)
                        .build())
                    .build())
                .build())
            .poolName("testpool")
            .resourceGroupName("default-azurebatch-japaneast")
            .scaleSettings(ScaleSettingsArgs.builder()
                .fixedScale(FixedScaleSettingsArgs.builder()
                    .targetDedicatedNodes(1)
                    .targetLowPriorityNodes(0)
                    .build())
                .build())
            .vmSize("Standard_d2s_v3")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const pool = new azure_native.batch.Pool("pool", {
    accountName: "sampleacct",
    deploymentConfiguration: {
        virtualMachineConfiguration: {
            imageReference: {
                offer: "windowsserver",
                publisher: "microsoftwindowsserver",
                sku: "2022-datacenter-smalldisk",
            },
            nodeAgentSkuId: "batch.node.windows amd64",
            osDisk: {
                caching: azure_native.batch.CachingType.ReadWrite,
                diskSizeGB: 100,
                managedDisk: {
                    storageAccountType: azure_native.batch.StorageAccountType.StandardSSD_LRS,
                },
                writeAcceleratorEnabled: false,
            },
        },
    },
    poolName: "testpool",
    resourceGroupName: "default-azurebatch-japaneast",
    scaleSettings: {
        fixedScale: {
            targetDedicatedNodes: 1,
            targetLowPriorityNodes: 0,
        },
    },
    vmSize: "Standard_d2s_v3",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

pool = azure_native.batch.Pool("pool",
    account_name="sampleacct",
    deployment_configuration={
        "virtual_machine_configuration": {
            "image_reference": {
                "offer": "windowsserver",
                "publisher": "microsoftwindowsserver",
                "sku": "2022-datacenter-smalldisk",
            },
            "node_agent_sku_id": "batch.node.windows amd64",
            "os_disk": {
                "caching": azure_native.batch.CachingType.READ_WRITE,
                "disk_size_gb": 100,
                "managed_disk": {
                    "storage_account_type": azure_native.batch.StorageAccountType.STANDARD_SS_D_LRS,
                },
                "write_accelerator_enabled": False,
            },
        },
    },
    pool_name="testpool",
    resource_group_name="default-azurebatch-japaneast",
    scale_settings={
        "fixed_scale": {
            "target_dedicated_nodes": 1,
            "target_low_priority_nodes": 0,
        },
    },
    vm_size="Standard_d2s_v3")
Copy
resources:
  pool:
    type: azure-native:batch:Pool
    properties:
      accountName: sampleacct
      deploymentConfiguration:
        virtualMachineConfiguration:
          imageReference:
            offer: windowsserver
            publisher: microsoftwindowsserver
            sku: 2022-datacenter-smalldisk
          nodeAgentSkuId: batch.node.windows amd64
          osDisk:
            caching: ReadWrite
            diskSizeGB: 100
            managedDisk:
              storageAccountType: StandardSSD_LRS
            writeAcceleratorEnabled: false
      poolName: testpool
      resourceGroupName: default-azurebatch-japaneast
      scaleSettings:
        fixedScale:
          targetDedicatedNodes: 1
          targetLowPriorityNodes: 0
      vmSize: Standard_d2s_v3
Copy

CreatePool - VirtualMachineConfiguration ServiceArtifactReference

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var pool = new AzureNative.Batch.Pool("pool", new()
    {
        AccountName = "sampleacct",
        DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
        {
            VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
            {
                ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2019-datacenter-smalldisk",
                    Version = "latest",
                },
                NodeAgentSkuId = "batch.node.windows amd64",
                ServiceArtifactReference = new AzureNative.Batch.Inputs.ServiceArtifactReferenceArgs
                {
                    Id = "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Compute/galleries/myGallery/serviceArtifacts/myServiceArtifact/vmArtifactsProfiles/vmArtifactsProfile",
                },
                WindowsConfiguration = new AzureNative.Batch.Inputs.WindowsConfigurationArgs
                {
                    EnableAutomaticUpdates = false,
                },
            },
        },
        PoolName = "testpool",
        ResourceGroupName = "default-azurebatch-japaneast",
        ScaleSettings = new AzureNative.Batch.Inputs.ScaleSettingsArgs
        {
            FixedScale = new AzureNative.Batch.Inputs.FixedScaleSettingsArgs
            {
                TargetDedicatedNodes = 2,
                TargetLowPriorityNodes = 0,
            },
        },
        UpgradePolicy = new AzureNative.Batch.Inputs.UpgradePolicyArgs
        {
            AutomaticOSUpgradePolicy = new AzureNative.Batch.Inputs.AutomaticOSUpgradePolicyArgs
            {
                EnableAutomaticOSUpgrade = true,
            },
            Mode = AzureNative.Batch.UpgradeMode.Automatic,
        },
        VmSize = "Standard_d4s_v3",
    });

});
Copy
package main

import (
	batch "github.com/pulumi/pulumi-azure-native-sdk/batch/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.NewPool(ctx, "pool", &batch.PoolArgs{
			AccountName: pulumi.String("sampleacct"),
			DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
				VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
					ImageReference: &batch.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2019-datacenter-smalldisk"),
						Version:   pulumi.String("latest"),
					},
					NodeAgentSkuId: pulumi.String("batch.node.windows amd64"),
					ServiceArtifactReference: &batch.ServiceArtifactReferenceArgs{
						Id: pulumi.String("/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Compute/galleries/myGallery/serviceArtifacts/myServiceArtifact/vmArtifactsProfiles/vmArtifactsProfile"),
					},
					WindowsConfiguration: &batch.WindowsConfigurationArgs{
						EnableAutomaticUpdates: pulumi.Bool(false),
					},
				},
			},
			PoolName:          pulumi.String("testpool"),
			ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
			ScaleSettings: &batch.ScaleSettingsArgs{
				FixedScale: &batch.FixedScaleSettingsArgs{
					TargetDedicatedNodes:   pulumi.Int(2),
					TargetLowPriorityNodes: pulumi.Int(0),
				},
			},
			UpgradePolicy: &batch.UpgradePolicyArgs{
				AutomaticOSUpgradePolicy: &batch.AutomaticOSUpgradePolicyArgs{
					EnableAutomaticOSUpgrade: pulumi.Bool(true),
				},
				Mode: batch.UpgradeModeAutomatic,
			},
			VmSize: pulumi.String("Standard_d4s_v3"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.batch.Pool;
import com.pulumi.azurenative.batch.PoolArgs;
import com.pulumi.azurenative.batch.inputs.DeploymentConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.VirtualMachineConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.batch.inputs.ServiceArtifactReferenceArgs;
import com.pulumi.azurenative.batch.inputs.WindowsConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ScaleSettingsArgs;
import com.pulumi.azurenative.batch.inputs.FixedScaleSettingsArgs;
import com.pulumi.azurenative.batch.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.batch.inputs.AutomaticOSUpgradePolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var pool = new Pool("pool", PoolArgs.builder()
            .accountName("sampleacct")
            .deploymentConfiguration(DeploymentConfigurationArgs.builder()
                .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2019-datacenter-smalldisk")
                        .version("latest")
                        .build())
                    .nodeAgentSkuId("batch.node.windows amd64")
                    .serviceArtifactReference(ServiceArtifactReferenceArgs.builder()
                        .id("/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Compute/galleries/myGallery/serviceArtifacts/myServiceArtifact/vmArtifactsProfiles/vmArtifactsProfile")
                        .build())
                    .windowsConfiguration(WindowsConfigurationArgs.builder()
                        .enableAutomaticUpdates(false)
                        .build())
                    .build())
                .build())
            .poolName("testpool")
            .resourceGroupName("default-azurebatch-japaneast")
            .scaleSettings(ScaleSettingsArgs.builder()
                .fixedScale(FixedScaleSettingsArgs.builder()
                    .targetDedicatedNodes(2)
                    .targetLowPriorityNodes(0)
                    .build())
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .automaticOSUpgradePolicy(AutomaticOSUpgradePolicyArgs.builder()
                    .enableAutomaticOSUpgrade(true)
                    .build())
                .mode("automatic")
                .build())
            .vmSize("Standard_d4s_v3")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const pool = new azure_native.batch.Pool("pool", {
    accountName: "sampleacct",
    deploymentConfiguration: {
        virtualMachineConfiguration: {
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2019-datacenter-smalldisk",
                version: "latest",
            },
            nodeAgentSkuId: "batch.node.windows amd64",
            serviceArtifactReference: {
                id: "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Compute/galleries/myGallery/serviceArtifacts/myServiceArtifact/vmArtifactsProfiles/vmArtifactsProfile",
            },
            windowsConfiguration: {
                enableAutomaticUpdates: false,
            },
        },
    },
    poolName: "testpool",
    resourceGroupName: "default-azurebatch-japaneast",
    scaleSettings: {
        fixedScale: {
            targetDedicatedNodes: 2,
            targetLowPriorityNodes: 0,
        },
    },
    upgradePolicy: {
        automaticOSUpgradePolicy: {
            enableAutomaticOSUpgrade: true,
        },
        mode: azure_native.batch.UpgradeMode.Automatic,
    },
    vmSize: "Standard_d4s_v3",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

pool = azure_native.batch.Pool("pool",
    account_name="sampleacct",
    deployment_configuration={
        "virtual_machine_configuration": {
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2019-datacenter-smalldisk",
                "version": "latest",
            },
            "node_agent_sku_id": "batch.node.windows amd64",
            "service_artifact_reference": {
                "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Compute/galleries/myGallery/serviceArtifacts/myServiceArtifact/vmArtifactsProfiles/vmArtifactsProfile",
            },
            "windows_configuration": {
                "enable_automatic_updates": False,
            },
        },
    },
    pool_name="testpool",
    resource_group_name="default-azurebatch-japaneast",
    scale_settings={
        "fixed_scale": {
            "target_dedicated_nodes": 2,
            "target_low_priority_nodes": 0,
        },
    },
    upgrade_policy={
        "automatic_os_upgrade_policy": {
            "enable_automatic_os_upgrade": True,
        },
        "mode": azure_native.batch.UpgradeMode.AUTOMATIC,
    },
    vm_size="Standard_d4s_v3")
Copy
resources:
  pool:
    type: azure-native:batch:Pool
    properties:
      accountName: sampleacct
      deploymentConfiguration:
        virtualMachineConfiguration:
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2019-datacenter-smalldisk
            version: latest
          nodeAgentSkuId: batch.node.windows amd64
          serviceArtifactReference:
            id: /subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Compute/galleries/myGallery/serviceArtifacts/myServiceArtifact/vmArtifactsProfiles/vmArtifactsProfile
          windowsConfiguration:
            enableAutomaticUpdates: false
      poolName: testpool
      resourceGroupName: default-azurebatch-japaneast
      scaleSettings:
        fixedScale:
          targetDedicatedNodes: 2
          targetLowPriorityNodes: 0
      upgradePolicy:
        automaticOSUpgradePolicy:
          enableAutomaticOSUpgrade: true
        mode: automatic
      vmSize: Standard_d4s_v3
Copy

CreatePool - accelerated networking

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var pool = new AzureNative.Batch.Pool("pool", new()
    {
        AccountName = "sampleacct",
        DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
        {
            VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
            {
                ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2016-datacenter-smalldisk",
                    Version = "latest",
                },
                NodeAgentSkuId = "batch.node.windows amd64",
            },
        },
        NetworkConfiguration = new AzureNative.Batch.Inputs.NetworkConfigurationArgs
        {
            EnableAcceleratedNetworking = true,
            SubnetId = "/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123",
        },
        PoolName = "testpool",
        ResourceGroupName = "default-azurebatch-japaneast",
        ScaleSettings = new AzureNative.Batch.Inputs.ScaleSettingsArgs
        {
            FixedScale = new AzureNative.Batch.Inputs.FixedScaleSettingsArgs
            {
                TargetDedicatedNodes = 1,
                TargetLowPriorityNodes = 0,
            },
        },
        VmSize = "STANDARD_D1_V2",
    });

});
Copy
package main

import (
	batch "github.com/pulumi/pulumi-azure-native-sdk/batch/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.NewPool(ctx, "pool", &batch.PoolArgs{
			AccountName: pulumi.String("sampleacct"),
			DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
				VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
					ImageReference: &batch.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2016-datacenter-smalldisk"),
						Version:   pulumi.String("latest"),
					},
					NodeAgentSkuId: pulumi.String("batch.node.windows amd64"),
				},
			},
			NetworkConfiguration: &batch.NetworkConfigurationArgs{
				EnableAcceleratedNetworking: pulumi.Bool(true),
				SubnetId:                    pulumi.String("/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123"),
			},
			PoolName:          pulumi.String("testpool"),
			ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
			ScaleSettings: &batch.ScaleSettingsArgs{
				FixedScale: &batch.FixedScaleSettingsArgs{
					TargetDedicatedNodes:   pulumi.Int(1),
					TargetLowPriorityNodes: pulumi.Int(0),
				},
			},
			VmSize: pulumi.String("STANDARD_D1_V2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.batch.Pool;
import com.pulumi.azurenative.batch.PoolArgs;
import com.pulumi.azurenative.batch.inputs.DeploymentConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.VirtualMachineConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.batch.inputs.NetworkConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ScaleSettingsArgs;
import com.pulumi.azurenative.batch.inputs.FixedScaleSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var pool = new Pool("pool", PoolArgs.builder()
            .accountName("sampleacct")
            .deploymentConfiguration(DeploymentConfigurationArgs.builder()
                .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2016-datacenter-smalldisk")
                        .version("latest")
                        .build())
                    .nodeAgentSkuId("batch.node.windows amd64")
                    .build())
                .build())
            .networkConfiguration(NetworkConfigurationArgs.builder()
                .enableAcceleratedNetworking(true)
                .subnetId("/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123")
                .build())
            .poolName("testpool")
            .resourceGroupName("default-azurebatch-japaneast")
            .scaleSettings(ScaleSettingsArgs.builder()
                .fixedScale(FixedScaleSettingsArgs.builder()
                    .targetDedicatedNodes(1)
                    .targetLowPriorityNodes(0)
                    .build())
                .build())
            .vmSize("STANDARD_D1_V2")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const pool = new azure_native.batch.Pool("pool", {
    accountName: "sampleacct",
    deploymentConfiguration: {
        virtualMachineConfiguration: {
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2016-datacenter-smalldisk",
                version: "latest",
            },
            nodeAgentSkuId: "batch.node.windows amd64",
        },
    },
    networkConfiguration: {
        enableAcceleratedNetworking: true,
        subnetId: "/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123",
    },
    poolName: "testpool",
    resourceGroupName: "default-azurebatch-japaneast",
    scaleSettings: {
        fixedScale: {
            targetDedicatedNodes: 1,
            targetLowPriorityNodes: 0,
        },
    },
    vmSize: "STANDARD_D1_V2",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

pool = azure_native.batch.Pool("pool",
    account_name="sampleacct",
    deployment_configuration={
        "virtual_machine_configuration": {
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2016-datacenter-smalldisk",
                "version": "latest",
            },
            "node_agent_sku_id": "batch.node.windows amd64",
        },
    },
    network_configuration={
        "enable_accelerated_networking": True,
        "subnet_id": "/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123",
    },
    pool_name="testpool",
    resource_group_name="default-azurebatch-japaneast",
    scale_settings={
        "fixed_scale": {
            "target_dedicated_nodes": 1,
            "target_low_priority_nodes": 0,
        },
    },
    vm_size="STANDARD_D1_V2")
Copy
resources:
  pool:
    type: azure-native:batch:Pool
    properties:
      accountName: sampleacct
      deploymentConfiguration:
        virtualMachineConfiguration:
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2016-datacenter-smalldisk
            version: latest
          nodeAgentSkuId: batch.node.windows amd64
      networkConfiguration:
        enableAcceleratedNetworking: true
        subnetId: /subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123
      poolName: testpool
      resourceGroupName: default-azurebatch-japaneast
      scaleSettings:
        fixedScale:
          targetDedicatedNodes: 1
          targetLowPriorityNodes: 0
      vmSize: STANDARD_D1_V2
Copy

Create Pool Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Pool(name: string, args: PoolArgs, opts?: CustomResourceOptions);
@overload
def Pool(resource_name: str,
         args: PoolArgs,
         opts: Optional[ResourceOptions] = None)

@overload
def Pool(resource_name: str,
         opts: Optional[ResourceOptions] = None,
         account_name: Optional[str] = None,
         resource_group_name: Optional[str] = None,
         network_configuration: Optional[NetworkConfigurationArgs] = None,
         resource_tags: Optional[Mapping[str, str]] = None,
         deployment_configuration: Optional[DeploymentConfigurationArgs] = None,
         display_name: Optional[str] = None,
         identity: Optional[BatchPoolIdentityArgs] = None,
         inter_node_communication: Optional[InterNodeCommunicationState] = None,
         metadata: Optional[Sequence[MetadataItemArgs]] = None,
         mount_configuration: Optional[Sequence[MountConfigurationArgs]] = None,
         application_packages: Optional[Sequence[ApplicationPackageReferenceArgs]] = None,
         pool_name: Optional[str] = None,
         application_licenses: Optional[Sequence[str]] = None,
         certificates: Optional[Sequence[CertificateReferenceArgs]] = None,
         scale_settings: Optional[ScaleSettingsArgs] = None,
         start_task: Optional[StartTaskArgs] = None,
         tags: Optional[Mapping[str, str]] = None,
         target_node_communication_mode: Optional[NodeCommunicationMode] = None,
         task_scheduling_policy: Optional[TaskSchedulingPolicyArgs] = None,
         task_slots_per_node: Optional[int] = None,
         upgrade_policy: Optional[UpgradePolicyArgs] = None,
         user_accounts: Optional[Sequence[UserAccountArgs]] = None,
         vm_size: Optional[str] = None)
func NewPool(ctx *Context, name string, args PoolArgs, opts ...ResourceOption) (*Pool, error)
public Pool(string name, PoolArgs args, CustomResourceOptions? opts = null)
public Pool(String name, PoolArgs args)
public Pool(String name, PoolArgs args, CustomResourceOptions options)
type: azure-native:batch:Pool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. PoolArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. PoolArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. PoolArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. PoolArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. PoolArgs
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 poolResource = new AzureNative.Batch.Pool("poolResource", new()
{
    AccountName = "string",
    ResourceGroupName = "string",
    NetworkConfiguration = new AzureNative.Batch.Inputs.NetworkConfigurationArgs
    {
        DynamicVnetAssignmentScope = AzureNative.Batch.DynamicVNetAssignmentScope.None,
        EnableAcceleratedNetworking = false,
        EndpointConfiguration = new AzureNative.Batch.Inputs.PoolEndpointConfigurationArgs
        {
            InboundNatPools = new[]
            {
                new AzureNative.Batch.Inputs.InboundNatPoolArgs
                {
                    BackendPort = 0,
                    FrontendPortRangeEnd = 0,
                    FrontendPortRangeStart = 0,
                    Name = "string",
                    Protocol = AzureNative.Batch.InboundEndpointProtocol.TCP,
                    NetworkSecurityGroupRules = new[]
                    {
                        new AzureNative.Batch.Inputs.NetworkSecurityGroupRuleArgs
                        {
                            Access = AzureNative.Batch.NetworkSecurityGroupRuleAccess.Allow,
                            Priority = 0,
                            SourceAddressPrefix = "string",
                            SourcePortRanges = new[]
                            {
                                "string",
                            },
                        },
                    },
                },
            },
        },
        PublicIPAddressConfiguration = new AzureNative.Batch.Inputs.PublicIPAddressConfigurationArgs
        {
            IpAddressIds = new[]
            {
                "string",
            },
            Provision = AzureNative.Batch.IPAddressProvisioningType.BatchManaged,
        },
        SubnetId = "string",
    },
    ResourceTags = 
    {
        { "string", "string" },
    },
    DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
    {
        VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
        {
            ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
            {
                CommunityGalleryImageId = "string",
                Id = "string",
                Offer = "string",
                Publisher = "string",
                SharedGalleryImageId = "string",
                Sku = "string",
                Version = "string",
            },
            NodeAgentSkuId = "string",
            ContainerConfiguration = new AzureNative.Batch.Inputs.ContainerConfigurationArgs
            {
                Type = "string",
                ContainerImageNames = new[]
                {
                    "string",
                },
                ContainerRegistries = new[]
                {
                    new AzureNative.Batch.Inputs.ContainerRegistryArgs
                    {
                        IdentityReference = new AzureNative.Batch.Inputs.ComputeNodeIdentityReferenceArgs
                        {
                            ResourceId = "string",
                        },
                        Password = "string",
                        RegistryServer = "string",
                        UserName = "string",
                    },
                },
            },
            DataDisks = new[]
            {
                new AzureNative.Batch.Inputs.DataDiskArgs
                {
                    DiskSizeGB = 0,
                    Lun = 0,
                    Caching = AzureNative.Batch.CachingType.None,
                    StorageAccountType = AzureNative.Batch.StorageAccountType.Standard_LRS,
                },
            },
            DiskEncryptionConfiguration = new AzureNative.Batch.Inputs.DiskEncryptionConfigurationArgs
            {
                Targets = new[]
                {
                    AzureNative.Batch.DiskEncryptionTarget.OsDisk,
                },
            },
            Extensions = new[]
            {
                new AzureNative.Batch.Inputs.VMExtensionArgs
                {
                    Name = "string",
                    Publisher = "string",
                    Type = "string",
                    AutoUpgradeMinorVersion = false,
                    EnableAutomaticUpgrade = false,
                    ProtectedSettings = "any",
                    ProvisionAfterExtensions = new[]
                    {
                        "string",
                    },
                    Settings = "any",
                    TypeHandlerVersion = "string",
                },
            },
            LicenseType = "string",
            NodePlacementConfiguration = new AzureNative.Batch.Inputs.NodePlacementConfigurationArgs
            {
                Policy = AzureNative.Batch.NodePlacementPolicyType.Regional,
            },
            OsDisk = new AzureNative.Batch.Inputs.OSDiskArgs
            {
                Caching = AzureNative.Batch.CachingType.None,
                DiskSizeGB = 0,
                EphemeralOSDiskSettings = new AzureNative.Batch.Inputs.DiffDiskSettingsArgs
                {
                    Placement = AzureNative.Batch.DiffDiskPlacement.CacheDisk,
                },
                ManagedDisk = new AzureNative.Batch.Inputs.ManagedDiskArgs
                {
                    SecurityProfile = new AzureNative.Batch.Inputs.VMDiskSecurityProfileArgs
                    {
                        SecurityEncryptionType = "string",
                    },
                    StorageAccountType = AzureNative.Batch.StorageAccountType.Standard_LRS,
                },
                WriteAcceleratorEnabled = false,
            },
            SecurityProfile = new AzureNative.Batch.Inputs.SecurityProfileArgs
            {
                EncryptionAtHost = false,
                SecurityType = AzureNative.Batch.SecurityTypes.TrustedLaunch,
                UefiSettings = new AzureNative.Batch.Inputs.UefiSettingsArgs
                {
                    SecureBootEnabled = false,
                    VTpmEnabled = false,
                },
            },
            ServiceArtifactReference = new AzureNative.Batch.Inputs.ServiceArtifactReferenceArgs
            {
                Id = "string",
            },
            WindowsConfiguration = new AzureNative.Batch.Inputs.WindowsConfigurationArgs
            {
                EnableAutomaticUpdates = false,
            },
        },
    },
    DisplayName = "string",
    Identity = new AzureNative.Batch.Inputs.BatchPoolIdentityArgs
    {
        Type = AzureNative.Batch.PoolIdentityType.UserAssigned,
        UserAssignedIdentities = new[]
        {
            "string",
        },
    },
    InterNodeCommunication = AzureNative.Batch.InterNodeCommunicationState.Enabled,
    Metadata = new[]
    {
        new AzureNative.Batch.Inputs.MetadataItemArgs
        {
            Name = "string",
            Value = "string",
        },
    },
    MountConfiguration = new[]
    {
        new AzureNative.Batch.Inputs.MountConfigurationArgs
        {
            AzureBlobFileSystemConfiguration = new AzureNative.Batch.Inputs.AzureBlobFileSystemConfigurationArgs
            {
                AccountName = "string",
                ContainerName = "string",
                RelativeMountPath = "string",
                AccountKey = "string",
                BlobfuseOptions = "string",
                IdentityReference = new AzureNative.Batch.Inputs.ComputeNodeIdentityReferenceArgs
                {
                    ResourceId = "string",
                },
                SasKey = "string",
            },
            AzureFileShareConfiguration = new AzureNative.Batch.Inputs.AzureFileShareConfigurationArgs
            {
                AccountKey = "string",
                AccountName = "string",
                AzureFileUrl = "string",
                RelativeMountPath = "string",
                MountOptions = "string",
            },
            CifsMountConfiguration = new AzureNative.Batch.Inputs.CIFSMountConfigurationArgs
            {
                Password = "string",
                RelativeMountPath = "string",
                Source = "string",
                UserName = "string",
                MountOptions = "string",
            },
            NfsMountConfiguration = new AzureNative.Batch.Inputs.NFSMountConfigurationArgs
            {
                RelativeMountPath = "string",
                Source = "string",
                MountOptions = "string",
            },
        },
    },
    ApplicationPackages = new[]
    {
        new AzureNative.Batch.Inputs.ApplicationPackageReferenceArgs
        {
            Id = "string",
            Version = "string",
        },
    },
    PoolName = "string",
    ApplicationLicenses = new[]
    {
        "string",
    },
    Certificates = new[]
    {
        new AzureNative.Batch.Inputs.CertificateReferenceArgs
        {
            Id = "string",
            StoreLocation = AzureNative.Batch.CertificateStoreLocation.CurrentUser,
            StoreName = "string",
            Visibility = new[]
            {
                AzureNative.Batch.CertificateVisibility.StartTask,
            },
        },
    },
    ScaleSettings = new AzureNative.Batch.Inputs.ScaleSettingsArgs
    {
        AutoScale = new AzureNative.Batch.Inputs.AutoScaleSettingsArgs
        {
            Formula = "string",
            EvaluationInterval = "string",
        },
        FixedScale = new AzureNative.Batch.Inputs.FixedScaleSettingsArgs
        {
            NodeDeallocationOption = AzureNative.Batch.ComputeNodeDeallocationOption.Requeue,
            ResizeTimeout = "string",
            TargetDedicatedNodes = 0,
            TargetLowPriorityNodes = 0,
        },
    },
    StartTask = new AzureNative.Batch.Inputs.StartTaskArgs
    {
        CommandLine = "string",
        ContainerSettings = new AzureNative.Batch.Inputs.TaskContainerSettingsArgs
        {
            ImageName = "string",
            ContainerHostBatchBindMounts = new[]
            {
                new AzureNative.Batch.Inputs.ContainerHostBatchBindMountEntryArgs
                {
                    IsReadOnly = false,
                    Source = "string",
                },
            },
            ContainerRunOptions = "string",
            Registry = new AzureNative.Batch.Inputs.ContainerRegistryArgs
            {
                IdentityReference = new AzureNative.Batch.Inputs.ComputeNodeIdentityReferenceArgs
                {
                    ResourceId = "string",
                },
                Password = "string",
                RegistryServer = "string",
                UserName = "string",
            },
            WorkingDirectory = AzureNative.Batch.ContainerWorkingDirectory.TaskWorkingDirectory,
        },
        EnvironmentSettings = new[]
        {
            new AzureNative.Batch.Inputs.EnvironmentSettingArgs
            {
                Name = "string",
                Value = "string",
            },
        },
        MaxTaskRetryCount = 0,
        ResourceFiles = new[]
        {
            new AzureNative.Batch.Inputs.ResourceFileArgs
            {
                AutoStorageContainerName = "string",
                BlobPrefix = "string",
                FileMode = "string",
                FilePath = "string",
                HttpUrl = "string",
                IdentityReference = new AzureNative.Batch.Inputs.ComputeNodeIdentityReferenceArgs
                {
                    ResourceId = "string",
                },
                StorageContainerUrl = "string",
            },
        },
        UserIdentity = new AzureNative.Batch.Inputs.UserIdentityArgs
        {
            AutoUser = new AzureNative.Batch.Inputs.AutoUserSpecificationArgs
            {
                ElevationLevel = AzureNative.Batch.ElevationLevel.NonAdmin,
                Scope = AzureNative.Batch.AutoUserScope.Task,
            },
            UserName = "string",
        },
        WaitForSuccess = false,
    },
    Tags = 
    {
        { "string", "string" },
    },
    TargetNodeCommunicationMode = AzureNative.Batch.NodeCommunicationMode.Default,
    TaskSchedulingPolicy = new AzureNative.Batch.Inputs.TaskSchedulingPolicyArgs
    {
        NodeFillType = AzureNative.Batch.ComputeNodeFillType.Spread,
    },
    TaskSlotsPerNode = 0,
    UpgradePolicy = new AzureNative.Batch.Inputs.UpgradePolicyArgs
    {
        Mode = AzureNative.Batch.UpgradeMode.Automatic,
        AutomaticOSUpgradePolicy = new AzureNative.Batch.Inputs.AutomaticOSUpgradePolicyArgs
        {
            DisableAutomaticRollback = false,
            EnableAutomaticOSUpgrade = false,
            OsRollingUpgradeDeferral = false,
            UseRollingUpgradePolicy = false,
        },
        RollingUpgradePolicy = new AzureNative.Batch.Inputs.RollingUpgradePolicyArgs
        {
            EnableCrossZoneUpgrade = false,
            MaxBatchInstancePercent = 0,
            MaxUnhealthyInstancePercent = 0,
            MaxUnhealthyUpgradedInstancePercent = 0,
            PauseTimeBetweenBatches = "string",
            PrioritizeUnhealthyInstances = false,
            RollbackFailedInstancesOnPolicyBreach = false,
        },
    },
    UserAccounts = new[]
    {
        new AzureNative.Batch.Inputs.UserAccountArgs
        {
            Name = "string",
            Password = "string",
            ElevationLevel = AzureNative.Batch.ElevationLevel.NonAdmin,
            LinuxUserConfiguration = new AzureNative.Batch.Inputs.LinuxUserConfigurationArgs
            {
                Gid = 0,
                SshPrivateKey = "string",
                Uid = 0,
            },
            WindowsUserConfiguration = new AzureNative.Batch.Inputs.WindowsUserConfigurationArgs
            {
                LoginMode = AzureNative.Batch.LoginMode.Batch,
            },
        },
    },
    VmSize = "string",
});
Copy
example, err := batch.NewPool(ctx, "poolResource", &batch.PoolArgs{
	AccountName:       pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	NetworkConfiguration: &batch.NetworkConfigurationArgs{
		DynamicVnetAssignmentScope:  batch.DynamicVNetAssignmentScopeNone,
		EnableAcceleratedNetworking: pulumi.Bool(false),
		EndpointConfiguration: &batch.PoolEndpointConfigurationArgs{
			InboundNatPools: batch.InboundNatPoolArray{
				&batch.InboundNatPoolArgs{
					BackendPort:            pulumi.Int(0),
					FrontendPortRangeEnd:   pulumi.Int(0),
					FrontendPortRangeStart: pulumi.Int(0),
					Name:                   pulumi.String("string"),
					Protocol:               batch.InboundEndpointProtocolTCP,
					NetworkSecurityGroupRules: batch.NetworkSecurityGroupRuleArray{
						&batch.NetworkSecurityGroupRuleArgs{
							Access:              batch.NetworkSecurityGroupRuleAccessAllow,
							Priority:            pulumi.Int(0),
							SourceAddressPrefix: pulumi.String("string"),
							SourcePortRanges: pulumi.StringArray{
								pulumi.String("string"),
							},
						},
					},
				},
			},
		},
		PublicIPAddressConfiguration: &batch.PublicIPAddressConfigurationArgs{
			IpAddressIds: pulumi.StringArray{
				pulumi.String("string"),
			},
			Provision: batch.IPAddressProvisioningTypeBatchManaged,
		},
		SubnetId: pulumi.String("string"),
	},
	ResourceTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
		VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
			ImageReference: &batch.ImageReferenceArgs{
				CommunityGalleryImageId: pulumi.String("string"),
				Id:                      pulumi.String("string"),
				Offer:                   pulumi.String("string"),
				Publisher:               pulumi.String("string"),
				SharedGalleryImageId:    pulumi.String("string"),
				Sku:                     pulumi.String("string"),
				Version:                 pulumi.String("string"),
			},
			NodeAgentSkuId: pulumi.String("string"),
			ContainerConfiguration: &batch.ContainerConfigurationArgs{
				Type: pulumi.String("string"),
				ContainerImageNames: pulumi.StringArray{
					pulumi.String("string"),
				},
				ContainerRegistries: batch.ContainerRegistryArray{
					&batch.ContainerRegistryArgs{
						IdentityReference: &batch.ComputeNodeIdentityReferenceArgs{
							ResourceId: pulumi.String("string"),
						},
						Password:       pulumi.String("string"),
						RegistryServer: pulumi.String("string"),
						UserName:       pulumi.String("string"),
					},
				},
			},
			DataDisks: batch.DataDiskArray{
				&batch.DataDiskArgs{
					DiskSizeGB:         pulumi.Int(0),
					Lun:                pulumi.Int(0),
					Caching:            batch.CachingTypeNone,
					StorageAccountType: batch.StorageAccountType_Standard_LRS,
				},
			},
			DiskEncryptionConfiguration: &batch.DiskEncryptionConfigurationArgs{
				Targets: batch.DiskEncryptionTargetArray{
					batch.DiskEncryptionTargetOsDisk,
				},
			},
			Extensions: batch.VMExtensionArray{
				&batch.VMExtensionArgs{
					Name:                    pulumi.String("string"),
					Publisher:               pulumi.String("string"),
					Type:                    pulumi.String("string"),
					AutoUpgradeMinorVersion: pulumi.Bool(false),
					EnableAutomaticUpgrade:  pulumi.Bool(false),
					ProtectedSettings:       pulumi.Any("any"),
					ProvisionAfterExtensions: pulumi.StringArray{
						pulumi.String("string"),
					},
					Settings:           pulumi.Any("any"),
					TypeHandlerVersion: pulumi.String("string"),
				},
			},
			LicenseType: pulumi.String("string"),
			NodePlacementConfiguration: &batch.NodePlacementConfigurationArgs{
				Policy: batch.NodePlacementPolicyTypeRegional,
			},
			OsDisk: &batch.OSDiskArgs{
				Caching:    batch.CachingTypeNone,
				DiskSizeGB: pulumi.Int(0),
				EphemeralOSDiskSettings: &batch.DiffDiskSettingsArgs{
					Placement: batch.DiffDiskPlacementCacheDisk,
				},
				ManagedDisk: &batch.ManagedDiskArgs{
					SecurityProfile: &batch.VMDiskSecurityProfileArgs{
						SecurityEncryptionType: pulumi.String("string"),
					},
					StorageAccountType: batch.StorageAccountType_Standard_LRS,
				},
				WriteAcceleratorEnabled: pulumi.Bool(false),
			},
			SecurityProfile: &batch.SecurityProfileArgs{
				EncryptionAtHost: pulumi.Bool(false),
				SecurityType:     batch.SecurityTypesTrustedLaunch,
				UefiSettings: &batch.UefiSettingsArgs{
					SecureBootEnabled: pulumi.Bool(false),
					VTpmEnabled:       pulumi.Bool(false),
				},
			},
			ServiceArtifactReference: &batch.ServiceArtifactReferenceArgs{
				Id: pulumi.String("string"),
			},
			WindowsConfiguration: &batch.WindowsConfigurationArgs{
				EnableAutomaticUpdates: pulumi.Bool(false),
			},
		},
	},
	DisplayName: pulumi.String("string"),
	Identity: &batch.BatchPoolIdentityArgs{
		Type: batch.PoolIdentityTypeUserAssigned,
		UserAssignedIdentities: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	InterNodeCommunication: batch.InterNodeCommunicationStateEnabled,
	Metadata: batch.MetadataItemArray{
		&batch.MetadataItemArgs{
			Name:  pulumi.String("string"),
			Value: pulumi.String("string"),
		},
	},
	MountConfiguration: batch.MountConfigurationArray{
		&batch.MountConfigurationArgs{
			AzureBlobFileSystemConfiguration: &batch.AzureBlobFileSystemConfigurationArgs{
				AccountName:       pulumi.String("string"),
				ContainerName:     pulumi.String("string"),
				RelativeMountPath: pulumi.String("string"),
				AccountKey:        pulumi.String("string"),
				BlobfuseOptions:   pulumi.String("string"),
				IdentityReference: &batch.ComputeNodeIdentityReferenceArgs{
					ResourceId: pulumi.String("string"),
				},
				SasKey: pulumi.String("string"),
			},
			AzureFileShareConfiguration: &batch.AzureFileShareConfigurationArgs{
				AccountKey:        pulumi.String("string"),
				AccountName:       pulumi.String("string"),
				AzureFileUrl:      pulumi.String("string"),
				RelativeMountPath: pulumi.String("string"),
				MountOptions:      pulumi.String("string"),
			},
			CifsMountConfiguration: &batch.CIFSMountConfigurationArgs{
				Password:          pulumi.String("string"),
				RelativeMountPath: pulumi.String("string"),
				Source:            pulumi.String("string"),
				UserName:          pulumi.String("string"),
				MountOptions:      pulumi.String("string"),
			},
			NfsMountConfiguration: &batch.NFSMountConfigurationArgs{
				RelativeMountPath: pulumi.String("string"),
				Source:            pulumi.String("string"),
				MountOptions:      pulumi.String("string"),
			},
		},
	},
	ApplicationPackages: batch.ApplicationPackageReferenceArray{
		&batch.ApplicationPackageReferenceArgs{
			Id:      pulumi.String("string"),
			Version: pulumi.String("string"),
		},
	},
	PoolName: pulumi.String("string"),
	ApplicationLicenses: pulumi.StringArray{
		pulumi.String("string"),
	},
	Certificates: batch.CertificateReferenceArray{
		&batch.CertificateReferenceArgs{
			Id:            pulumi.String("string"),
			StoreLocation: batch.CertificateStoreLocationCurrentUser,
			StoreName:     pulumi.String("string"),
			Visibility: batch.CertificateVisibilityArray{
				batch.CertificateVisibilityStartTask,
			},
		},
	},
	ScaleSettings: &batch.ScaleSettingsArgs{
		AutoScale: &batch.AutoScaleSettingsArgs{
			Formula:            pulumi.String("string"),
			EvaluationInterval: pulumi.String("string"),
		},
		FixedScale: &batch.FixedScaleSettingsArgs{
			NodeDeallocationOption: batch.ComputeNodeDeallocationOptionRequeue,
			ResizeTimeout:          pulumi.String("string"),
			TargetDedicatedNodes:   pulumi.Int(0),
			TargetLowPriorityNodes: pulumi.Int(0),
		},
	},
	StartTask: &batch.StartTaskArgs{
		CommandLine: pulumi.String("string"),
		ContainerSettings: &batch.TaskContainerSettingsArgs{
			ImageName: pulumi.String("string"),
			ContainerHostBatchBindMounts: batch.ContainerHostBatchBindMountEntryArray{
				&batch.ContainerHostBatchBindMountEntryArgs{
					IsReadOnly: pulumi.Bool(false),
					Source:     pulumi.String("string"),
				},
			},
			ContainerRunOptions: pulumi.String("string"),
			Registry: &batch.ContainerRegistryArgs{
				IdentityReference: &batch.ComputeNodeIdentityReferenceArgs{
					ResourceId: pulumi.String("string"),
				},
				Password:       pulumi.String("string"),
				RegistryServer: pulumi.String("string"),
				UserName:       pulumi.String("string"),
			},
			WorkingDirectory: batch.ContainerWorkingDirectoryTaskWorkingDirectory,
		},
		EnvironmentSettings: batch.EnvironmentSettingArray{
			&batch.EnvironmentSettingArgs{
				Name:  pulumi.String("string"),
				Value: pulumi.String("string"),
			},
		},
		MaxTaskRetryCount: pulumi.Int(0),
		ResourceFiles: batch.ResourceFileArray{
			&batch.ResourceFileArgs{
				AutoStorageContainerName: pulumi.String("string"),
				BlobPrefix:               pulumi.String("string"),
				FileMode:                 pulumi.String("string"),
				FilePath:                 pulumi.String("string"),
				HttpUrl:                  pulumi.String("string"),
				IdentityReference: &batch.ComputeNodeIdentityReferenceArgs{
					ResourceId: pulumi.String("string"),
				},
				StorageContainerUrl: pulumi.String("string"),
			},
		},
		UserIdentity: &batch.UserIdentityArgs{
			AutoUser: &batch.AutoUserSpecificationArgs{
				ElevationLevel: batch.ElevationLevelNonAdmin,
				Scope:          batch.AutoUserScopeTask,
			},
			UserName: pulumi.String("string"),
		},
		WaitForSuccess: pulumi.Bool(false),
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	TargetNodeCommunicationMode: batch.NodeCommunicationModeDefault,
	TaskSchedulingPolicy: &batch.TaskSchedulingPolicyArgs{
		NodeFillType: batch.ComputeNodeFillTypeSpread,
	},
	TaskSlotsPerNode: pulumi.Int(0),
	UpgradePolicy: &batch.UpgradePolicyArgs{
		Mode: batch.UpgradeModeAutomatic,
		AutomaticOSUpgradePolicy: &batch.AutomaticOSUpgradePolicyArgs{
			DisableAutomaticRollback: pulumi.Bool(false),
			EnableAutomaticOSUpgrade: pulumi.Bool(false),
			OsRollingUpgradeDeferral: pulumi.Bool(false),
			UseRollingUpgradePolicy:  pulumi.Bool(false),
		},
		RollingUpgradePolicy: &batch.RollingUpgradePolicyArgs{
			EnableCrossZoneUpgrade:                pulumi.Bool(false),
			MaxBatchInstancePercent:               pulumi.Int(0),
			MaxUnhealthyInstancePercent:           pulumi.Int(0),
			MaxUnhealthyUpgradedInstancePercent:   pulumi.Int(0),
			PauseTimeBetweenBatches:               pulumi.String("string"),
			PrioritizeUnhealthyInstances:          pulumi.Bool(false),
			RollbackFailedInstancesOnPolicyBreach: pulumi.Bool(false),
		},
	},
	UserAccounts: batch.UserAccountArray{
		&batch.UserAccountArgs{
			Name:           pulumi.String("string"),
			Password:       pulumi.String("string"),
			ElevationLevel: batch.ElevationLevelNonAdmin,
			LinuxUserConfiguration: &batch.LinuxUserConfigurationArgs{
				Gid:           pulumi.Int(0),
				SshPrivateKey: pulumi.String("string"),
				Uid:           pulumi.Int(0),
			},
			WindowsUserConfiguration: &batch.WindowsUserConfigurationArgs{
				LoginMode: batch.LoginModeBatch,
			},
		},
	},
	VmSize: pulumi.String("string"),
})
Copy
var poolResource = new Pool("poolResource", PoolArgs.builder()
    .accountName("string")
    .resourceGroupName("string")
    .networkConfiguration(NetworkConfigurationArgs.builder()
        .dynamicVnetAssignmentScope("none")
        .enableAcceleratedNetworking(false)
        .endpointConfiguration(PoolEndpointConfigurationArgs.builder()
            .inboundNatPools(InboundNatPoolArgs.builder()
                .backendPort(0)
                .frontendPortRangeEnd(0)
                .frontendPortRangeStart(0)
                .name("string")
                .protocol("TCP")
                .networkSecurityGroupRules(NetworkSecurityGroupRuleArgs.builder()
                    .access("Allow")
                    .priority(0)
                    .sourceAddressPrefix("string")
                    .sourcePortRanges("string")
                    .build())
                .build())
            .build())
        .publicIPAddressConfiguration(PublicIPAddressConfigurationArgs.builder()
            .ipAddressIds("string")
            .provision("BatchManaged")
            .build())
        .subnetId("string")
        .build())
    .resourceTags(Map.of("string", "string"))
    .deploymentConfiguration(DeploymentConfigurationArgs.builder()
        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
            .imageReference(ImageReferenceArgs.builder()
                .communityGalleryImageId("string")
                .id("string")
                .offer("string")
                .publisher("string")
                .sharedGalleryImageId("string")
                .sku("string")
                .version("string")
                .build())
            .nodeAgentSkuId("string")
            .containerConfiguration(ContainerConfigurationArgs.builder()
                .type("string")
                .containerImageNames("string")
                .containerRegistries(ContainerRegistryArgs.builder()
                    .identityReference(ComputeNodeIdentityReferenceArgs.builder()
                        .resourceId("string")
                        .build())
                    .password("string")
                    .registryServer("string")
                    .userName("string")
                    .build())
                .build())
            .dataDisks(DataDiskArgs.builder()
                .diskSizeGB(0)
                .lun(0)
                .caching("None")
                .storageAccountType("Standard_LRS")
                .build())
            .diskEncryptionConfiguration(DiskEncryptionConfigurationArgs.builder()
                .targets("OsDisk")
                .build())
            .extensions(VMExtensionArgs.builder()
                .name("string")
                .publisher("string")
                .type("string")
                .autoUpgradeMinorVersion(false)
                .enableAutomaticUpgrade(false)
                .protectedSettings("any")
                .provisionAfterExtensions("string")
                .settings("any")
                .typeHandlerVersion("string")
                .build())
            .licenseType("string")
            .nodePlacementConfiguration(NodePlacementConfigurationArgs.builder()
                .policy("Regional")
                .build())
            .osDisk(OSDiskArgs.builder()
                .caching("None")
                .diskSizeGB(0)
                .ephemeralOSDiskSettings(DiffDiskSettingsArgs.builder()
                    .placement("CacheDisk")
                    .build())
                .managedDisk(ManagedDiskArgs.builder()
                    .securityProfile(VMDiskSecurityProfileArgs.builder()
                        .securityEncryptionType("string")
                        .build())
                    .storageAccountType("Standard_LRS")
                    .build())
                .writeAcceleratorEnabled(false)
                .build())
            .securityProfile(SecurityProfileArgs.builder()
                .encryptionAtHost(false)
                .securityType("trustedLaunch")
                .uefiSettings(UefiSettingsArgs.builder()
                    .secureBootEnabled(false)
                    .vTpmEnabled(false)
                    .build())
                .build())
            .serviceArtifactReference(ServiceArtifactReferenceArgs.builder()
                .id("string")
                .build())
            .windowsConfiguration(WindowsConfigurationArgs.builder()
                .enableAutomaticUpdates(false)
                .build())
            .build())
        .build())
    .displayName("string")
    .identity(BatchPoolIdentityArgs.builder()
        .type("UserAssigned")
        .userAssignedIdentities("string")
        .build())
    .interNodeCommunication("Enabled")
    .metadata(MetadataItemArgs.builder()
        .name("string")
        .value("string")
        .build())
    .mountConfiguration(MountConfigurationArgs.builder()
        .azureBlobFileSystemConfiguration(AzureBlobFileSystemConfigurationArgs.builder()
            .accountName("string")
            .containerName("string")
            .relativeMountPath("string")
            .accountKey("string")
            .blobfuseOptions("string")
            .identityReference(ComputeNodeIdentityReferenceArgs.builder()
                .resourceId("string")
                .build())
            .sasKey("string")
            .build())
        .azureFileShareConfiguration(AzureFileShareConfigurationArgs.builder()
            .accountKey("string")
            .accountName("string")
            .azureFileUrl("string")
            .relativeMountPath("string")
            .mountOptions("string")
            .build())
        .cifsMountConfiguration(CIFSMountConfigurationArgs.builder()
            .password("string")
            .relativeMountPath("string")
            .source("string")
            .userName("string")
            .mountOptions("string")
            .build())
        .nfsMountConfiguration(NFSMountConfigurationArgs.builder()
            .relativeMountPath("string")
            .source("string")
            .mountOptions("string")
            .build())
        .build())
    .applicationPackages(ApplicationPackageReferenceArgs.builder()
        .id("string")
        .version("string")
        .build())
    .poolName("string")
    .applicationLicenses("string")
    .certificates(CertificateReferenceArgs.builder()
        .id("string")
        .storeLocation("CurrentUser")
        .storeName("string")
        .visibility("StartTask")
        .build())
    .scaleSettings(ScaleSettingsArgs.builder()
        .autoScale(AutoScaleSettingsArgs.builder()
            .formula("string")
            .evaluationInterval("string")
            .build())
        .fixedScale(FixedScaleSettingsArgs.builder()
            .nodeDeallocationOption("Requeue")
            .resizeTimeout("string")
            .targetDedicatedNodes(0)
            .targetLowPriorityNodes(0)
            .build())
        .build())
    .startTask(StartTaskArgs.builder()
        .commandLine("string")
        .containerSettings(TaskContainerSettingsArgs.builder()
            .imageName("string")
            .containerHostBatchBindMounts(ContainerHostBatchBindMountEntryArgs.builder()
                .isReadOnly(false)
                .source("string")
                .build())
            .containerRunOptions("string")
            .registry(ContainerRegistryArgs.builder()
                .identityReference(ComputeNodeIdentityReferenceArgs.builder()
                    .resourceId("string")
                    .build())
                .password("string")
                .registryServer("string")
                .userName("string")
                .build())
            .workingDirectory("TaskWorkingDirectory")
            .build())
        .environmentSettings(EnvironmentSettingArgs.builder()
            .name("string")
            .value("string")
            .build())
        .maxTaskRetryCount(0)
        .resourceFiles(ResourceFileArgs.builder()
            .autoStorageContainerName("string")
            .blobPrefix("string")
            .fileMode("string")
            .filePath("string")
            .httpUrl("string")
            .identityReference(ComputeNodeIdentityReferenceArgs.builder()
                .resourceId("string")
                .build())
            .storageContainerUrl("string")
            .build())
        .userIdentity(UserIdentityArgs.builder()
            .autoUser(AutoUserSpecificationArgs.builder()
                .elevationLevel("NonAdmin")
                .scope("Task")
                .build())
            .userName("string")
            .build())
        .waitForSuccess(false)
        .build())
    .tags(Map.of("string", "string"))
    .targetNodeCommunicationMode("Default")
    .taskSchedulingPolicy(TaskSchedulingPolicyArgs.builder()
        .nodeFillType("Spread")
        .build())
    .taskSlotsPerNode(0)
    .upgradePolicy(UpgradePolicyArgs.builder()
        .mode("automatic")
        .automaticOSUpgradePolicy(AutomaticOSUpgradePolicyArgs.builder()
            .disableAutomaticRollback(false)
            .enableAutomaticOSUpgrade(false)
            .osRollingUpgradeDeferral(false)
            .useRollingUpgradePolicy(false)
            .build())
        .rollingUpgradePolicy(RollingUpgradePolicyArgs.builder()
            .enableCrossZoneUpgrade(false)
            .maxBatchInstancePercent(0)
            .maxUnhealthyInstancePercent(0)
            .maxUnhealthyUpgradedInstancePercent(0)
            .pauseTimeBetweenBatches("string")
            .prioritizeUnhealthyInstances(false)
            .rollbackFailedInstancesOnPolicyBreach(false)
            .build())
        .build())
    .userAccounts(UserAccountArgs.builder()
        .name("string")
        .password("string")
        .elevationLevel("NonAdmin")
        .linuxUserConfiguration(LinuxUserConfigurationArgs.builder()
            .gid(0)
            .sshPrivateKey("string")
            .uid(0)
            .build())
        .windowsUserConfiguration(WindowsUserConfigurationArgs.builder()
            .loginMode("Batch")
            .build())
        .build())
    .vmSize("string")
    .build());
Copy
pool_resource = azure_native.batch.Pool("poolResource",
    account_name="string",
    resource_group_name="string",
    network_configuration={
        "dynamic_vnet_assignment_scope": azure_native.batch.DynamicVNetAssignmentScope.NONE,
        "enable_accelerated_networking": False,
        "endpoint_configuration": {
            "inbound_nat_pools": [{
                "backend_port": 0,
                "frontend_port_range_end": 0,
                "frontend_port_range_start": 0,
                "name": "string",
                "protocol": azure_native.batch.InboundEndpointProtocol.TCP,
                "network_security_group_rules": [{
                    "access": azure_native.batch.NetworkSecurityGroupRuleAccess.ALLOW,
                    "priority": 0,
                    "source_address_prefix": "string",
                    "source_port_ranges": ["string"],
                }],
            }],
        },
        "public_ip_address_configuration": {
            "ip_address_ids": ["string"],
            "provision": azure_native.batch.IPAddressProvisioningType.BATCH_MANAGED,
        },
        "subnet_id": "string",
    },
    resource_tags={
        "string": "string",
    },
    deployment_configuration={
        "virtual_machine_configuration": {
            "image_reference": {
                "community_gallery_image_id": "string",
                "id": "string",
                "offer": "string",
                "publisher": "string",
                "shared_gallery_image_id": "string",
                "sku": "string",
                "version": "string",
            },
            "node_agent_sku_id": "string",
            "container_configuration": {
                "type": "string",
                "container_image_names": ["string"],
                "container_registries": [{
                    "identity_reference": {
                        "resource_id": "string",
                    },
                    "password": "string",
                    "registry_server": "string",
                    "user_name": "string",
                }],
            },
            "data_disks": [{
                "disk_size_gb": 0,
                "lun": 0,
                "caching": azure_native.batch.CachingType.NONE,
                "storage_account_type": azure_native.batch.StorageAccountType.STANDARD_LRS,
            }],
            "disk_encryption_configuration": {
                "targets": [azure_native.batch.DiskEncryptionTarget.OS_DISK],
            },
            "extensions": [{
                "name": "string",
                "publisher": "string",
                "type": "string",
                "auto_upgrade_minor_version": False,
                "enable_automatic_upgrade": False,
                "protected_settings": "any",
                "provision_after_extensions": ["string"],
                "settings": "any",
                "type_handler_version": "string",
            }],
            "license_type": "string",
            "node_placement_configuration": {
                "policy": azure_native.batch.NodePlacementPolicyType.REGIONAL,
            },
            "os_disk": {
                "caching": azure_native.batch.CachingType.NONE,
                "disk_size_gb": 0,
                "ephemeral_os_disk_settings": {
                    "placement": azure_native.batch.DiffDiskPlacement.CACHE_DISK,
                },
                "managed_disk": {
                    "security_profile": {
                        "security_encryption_type": "string",
                    },
                    "storage_account_type": azure_native.batch.StorageAccountType.STANDARD_LRS,
                },
                "write_accelerator_enabled": False,
            },
            "security_profile": {
                "encryption_at_host": False,
                "security_type": azure_native.batch.SecurityTypes.TRUSTED_LAUNCH,
                "uefi_settings": {
                    "secure_boot_enabled": False,
                    "v_tpm_enabled": False,
                },
            },
            "service_artifact_reference": {
                "id": "string",
            },
            "windows_configuration": {
                "enable_automatic_updates": False,
            },
        },
    },
    display_name="string",
    identity={
        "type": azure_native.batch.PoolIdentityType.USER_ASSIGNED,
        "user_assigned_identities": ["string"],
    },
    inter_node_communication=azure_native.batch.InterNodeCommunicationState.ENABLED,
    metadata=[{
        "name": "string",
        "value": "string",
    }],
    mount_configuration=[{
        "azure_blob_file_system_configuration": {
            "account_name": "string",
            "container_name": "string",
            "relative_mount_path": "string",
            "account_key": "string",
            "blobfuse_options": "string",
            "identity_reference": {
                "resource_id": "string",
            },
            "sas_key": "string",
        },
        "azure_file_share_configuration": {
            "account_key": "string",
            "account_name": "string",
            "azure_file_url": "string",
            "relative_mount_path": "string",
            "mount_options": "string",
        },
        "cifs_mount_configuration": {
            "password": "string",
            "relative_mount_path": "string",
            "source": "string",
            "user_name": "string",
            "mount_options": "string",
        },
        "nfs_mount_configuration": {
            "relative_mount_path": "string",
            "source": "string",
            "mount_options": "string",
        },
    }],
    application_packages=[{
        "id": "string",
        "version": "string",
    }],
    pool_name="string",
    application_licenses=["string"],
    certificates=[{
        "id": "string",
        "store_location": azure_native.batch.CertificateStoreLocation.CURRENT_USER,
        "store_name": "string",
        "visibility": [azure_native.batch.CertificateVisibility.START_TASK],
    }],
    scale_settings={
        "auto_scale": {
            "formula": "string",
            "evaluation_interval": "string",
        },
        "fixed_scale": {
            "node_deallocation_option": azure_native.batch.ComputeNodeDeallocationOption.REQUEUE,
            "resize_timeout": "string",
            "target_dedicated_nodes": 0,
            "target_low_priority_nodes": 0,
        },
    },
    start_task={
        "command_line": "string",
        "container_settings": {
            "image_name": "string",
            "container_host_batch_bind_mounts": [{
                "is_read_only": False,
                "source": "string",
            }],
            "container_run_options": "string",
            "registry": {
                "identity_reference": {
                    "resource_id": "string",
                },
                "password": "string",
                "registry_server": "string",
                "user_name": "string",
            },
            "working_directory": azure_native.batch.ContainerWorkingDirectory.TASK_WORKING_DIRECTORY,
        },
        "environment_settings": [{
            "name": "string",
            "value": "string",
        }],
        "max_task_retry_count": 0,
        "resource_files": [{
            "auto_storage_container_name": "string",
            "blob_prefix": "string",
            "file_mode": "string",
            "file_path": "string",
            "http_url": "string",
            "identity_reference": {
                "resource_id": "string",
            },
            "storage_container_url": "string",
        }],
        "user_identity": {
            "auto_user": {
                "elevation_level": azure_native.batch.ElevationLevel.NON_ADMIN,
                "scope": azure_native.batch.AutoUserScope.TASK,
            },
            "user_name": "string",
        },
        "wait_for_success": False,
    },
    tags={
        "string": "string",
    },
    target_node_communication_mode=azure_native.batch.NodeCommunicationMode.DEFAULT,
    task_scheduling_policy={
        "node_fill_type": azure_native.batch.ComputeNodeFillType.SPREAD,
    },
    task_slots_per_node=0,
    upgrade_policy={
        "mode": azure_native.batch.UpgradeMode.AUTOMATIC,
        "automatic_os_upgrade_policy": {
            "disable_automatic_rollback": False,
            "enable_automatic_os_upgrade": False,
            "os_rolling_upgrade_deferral": False,
            "use_rolling_upgrade_policy": False,
        },
        "rolling_upgrade_policy": {
            "enable_cross_zone_upgrade": False,
            "max_batch_instance_percent": 0,
            "max_unhealthy_instance_percent": 0,
            "max_unhealthy_upgraded_instance_percent": 0,
            "pause_time_between_batches": "string",
            "prioritize_unhealthy_instances": False,
            "rollback_failed_instances_on_policy_breach": False,
        },
    },
    user_accounts=[{
        "name": "string",
        "password": "string",
        "elevation_level": azure_native.batch.ElevationLevel.NON_ADMIN,
        "linux_user_configuration": {
            "gid": 0,
            "ssh_private_key": "string",
            "uid": 0,
        },
        "windows_user_configuration": {
            "login_mode": azure_native.batch.LoginMode.BATCH,
        },
    }],
    vm_size="string")
Copy
const poolResource = new azure_native.batch.Pool("poolResource", {
    accountName: "string",
    resourceGroupName: "string",
    networkConfiguration: {
        dynamicVnetAssignmentScope: azure_native.batch.DynamicVNetAssignmentScope.None,
        enableAcceleratedNetworking: false,
        endpointConfiguration: {
            inboundNatPools: [{
                backendPort: 0,
                frontendPortRangeEnd: 0,
                frontendPortRangeStart: 0,
                name: "string",
                protocol: azure_native.batch.InboundEndpointProtocol.TCP,
                networkSecurityGroupRules: [{
                    access: azure_native.batch.NetworkSecurityGroupRuleAccess.Allow,
                    priority: 0,
                    sourceAddressPrefix: "string",
                    sourcePortRanges: ["string"],
                }],
            }],
        },
        publicIPAddressConfiguration: {
            ipAddressIds: ["string"],
            provision: azure_native.batch.IPAddressProvisioningType.BatchManaged,
        },
        subnetId: "string",
    },
    resourceTags: {
        string: "string",
    },
    deploymentConfiguration: {
        virtualMachineConfiguration: {
            imageReference: {
                communityGalleryImageId: "string",
                id: "string",
                offer: "string",
                publisher: "string",
                sharedGalleryImageId: "string",
                sku: "string",
                version: "string",
            },
            nodeAgentSkuId: "string",
            containerConfiguration: {
                type: "string",
                containerImageNames: ["string"],
                containerRegistries: [{
                    identityReference: {
                        resourceId: "string",
                    },
                    password: "string",
                    registryServer: "string",
                    userName: "string",
                }],
            },
            dataDisks: [{
                diskSizeGB: 0,
                lun: 0,
                caching: azure_native.batch.CachingType.None,
                storageAccountType: azure_native.batch.StorageAccountType.Standard_LRS,
            }],
            diskEncryptionConfiguration: {
                targets: [azure_native.batch.DiskEncryptionTarget.OsDisk],
            },
            extensions: [{
                name: "string",
                publisher: "string",
                type: "string",
                autoUpgradeMinorVersion: false,
                enableAutomaticUpgrade: false,
                protectedSettings: "any",
                provisionAfterExtensions: ["string"],
                settings: "any",
                typeHandlerVersion: "string",
            }],
            licenseType: "string",
            nodePlacementConfiguration: {
                policy: azure_native.batch.NodePlacementPolicyType.Regional,
            },
            osDisk: {
                caching: azure_native.batch.CachingType.None,
                diskSizeGB: 0,
                ephemeralOSDiskSettings: {
                    placement: azure_native.batch.DiffDiskPlacement.CacheDisk,
                },
                managedDisk: {
                    securityProfile: {
                        securityEncryptionType: "string",
                    },
                    storageAccountType: azure_native.batch.StorageAccountType.Standard_LRS,
                },
                writeAcceleratorEnabled: false,
            },
            securityProfile: {
                encryptionAtHost: false,
                securityType: azure_native.batch.SecurityTypes.TrustedLaunch,
                uefiSettings: {
                    secureBootEnabled: false,
                    vTpmEnabled: false,
                },
            },
            serviceArtifactReference: {
                id: "string",
            },
            windowsConfiguration: {
                enableAutomaticUpdates: false,
            },
        },
    },
    displayName: "string",
    identity: {
        type: azure_native.batch.PoolIdentityType.UserAssigned,
        userAssignedIdentities: ["string"],
    },
    interNodeCommunication: azure_native.batch.InterNodeCommunicationState.Enabled,
    metadata: [{
        name: "string",
        value: "string",
    }],
    mountConfiguration: [{
        azureBlobFileSystemConfiguration: {
            accountName: "string",
            containerName: "string",
            relativeMountPath: "string",
            accountKey: "string",
            blobfuseOptions: "string",
            identityReference: {
                resourceId: "string",
            },
            sasKey: "string",
        },
        azureFileShareConfiguration: {
            accountKey: "string",
            accountName: "string",
            azureFileUrl: "string",
            relativeMountPath: "string",
            mountOptions: "string",
        },
        cifsMountConfiguration: {
            password: "string",
            relativeMountPath: "string",
            source: "string",
            userName: "string",
            mountOptions: "string",
        },
        nfsMountConfiguration: {
            relativeMountPath: "string",
            source: "string",
            mountOptions: "string",
        },
    }],
    applicationPackages: [{
        id: "string",
        version: "string",
    }],
    poolName: "string",
    applicationLicenses: ["string"],
    certificates: [{
        id: "string",
        storeLocation: azure_native.batch.CertificateStoreLocation.CurrentUser,
        storeName: "string",
        visibility: [azure_native.batch.CertificateVisibility.StartTask],
    }],
    scaleSettings: {
        autoScale: {
            formula: "string",
            evaluationInterval: "string",
        },
        fixedScale: {
            nodeDeallocationOption: azure_native.batch.ComputeNodeDeallocationOption.Requeue,
            resizeTimeout: "string",
            targetDedicatedNodes: 0,
            targetLowPriorityNodes: 0,
        },
    },
    startTask: {
        commandLine: "string",
        containerSettings: {
            imageName: "string",
            containerHostBatchBindMounts: [{
                isReadOnly: false,
                source: "string",
            }],
            containerRunOptions: "string",
            registry: {
                identityReference: {
                    resourceId: "string",
                },
                password: "string",
                registryServer: "string",
                userName: "string",
            },
            workingDirectory: azure_native.batch.ContainerWorkingDirectory.TaskWorkingDirectory,
        },
        environmentSettings: [{
            name: "string",
            value: "string",
        }],
        maxTaskRetryCount: 0,
        resourceFiles: [{
            autoStorageContainerName: "string",
            blobPrefix: "string",
            fileMode: "string",
            filePath: "string",
            httpUrl: "string",
            identityReference: {
                resourceId: "string",
            },
            storageContainerUrl: "string",
        }],
        userIdentity: {
            autoUser: {
                elevationLevel: azure_native.batch.ElevationLevel.NonAdmin,
                scope: azure_native.batch.AutoUserScope.Task,
            },
            userName: "string",
        },
        waitForSuccess: false,
    },
    tags: {
        string: "string",
    },
    targetNodeCommunicationMode: azure_native.batch.NodeCommunicationMode.Default,
    taskSchedulingPolicy: {
        nodeFillType: azure_native.batch.ComputeNodeFillType.Spread,
    },
    taskSlotsPerNode: 0,
    upgradePolicy: {
        mode: azure_native.batch.UpgradeMode.Automatic,
        automaticOSUpgradePolicy: {
            disableAutomaticRollback: false,
            enableAutomaticOSUpgrade: false,
            osRollingUpgradeDeferral: false,
            useRollingUpgradePolicy: false,
        },
        rollingUpgradePolicy: {
            enableCrossZoneUpgrade: false,
            maxBatchInstancePercent: 0,
            maxUnhealthyInstancePercent: 0,
            maxUnhealthyUpgradedInstancePercent: 0,
            pauseTimeBetweenBatches: "string",
            prioritizeUnhealthyInstances: false,
            rollbackFailedInstancesOnPolicyBreach: false,
        },
    },
    userAccounts: [{
        name: "string",
        password: "string",
        elevationLevel: azure_native.batch.ElevationLevel.NonAdmin,
        linuxUserConfiguration: {
            gid: 0,
            sshPrivateKey: "string",
            uid: 0,
        },
        windowsUserConfiguration: {
            loginMode: azure_native.batch.LoginMode.Batch,
        },
    }],
    vmSize: "string",
});
Copy
type: azure-native:batch:Pool
properties:
    accountName: string
    applicationLicenses:
        - string
    applicationPackages:
        - id: string
          version: string
    certificates:
        - id: string
          storeLocation: CurrentUser
          storeName: string
          visibility:
            - StartTask
    deploymentConfiguration:
        virtualMachineConfiguration:
            containerConfiguration:
                containerImageNames:
                    - string
                containerRegistries:
                    - identityReference:
                        resourceId: string
                      password: string
                      registryServer: string
                      userName: string
                type: string
            dataDisks:
                - caching: None
                  diskSizeGB: 0
                  lun: 0
                  storageAccountType: Standard_LRS
            diskEncryptionConfiguration:
                targets:
                    - OsDisk
            extensions:
                - autoUpgradeMinorVersion: false
                  enableAutomaticUpgrade: false
                  name: string
                  protectedSettings: any
                  provisionAfterExtensions:
                    - string
                  publisher: string
                  settings: any
                  type: string
                  typeHandlerVersion: string
            imageReference:
                communityGalleryImageId: string
                id: string
                offer: string
                publisher: string
                sharedGalleryImageId: string
                sku: string
                version: string
            licenseType: string
            nodeAgentSkuId: string
            nodePlacementConfiguration:
                policy: Regional
            osDisk:
                caching: None
                diskSizeGB: 0
                ephemeralOSDiskSettings:
                    placement: CacheDisk
                managedDisk:
                    securityProfile:
                        securityEncryptionType: string
                    storageAccountType: Standard_LRS
                writeAcceleratorEnabled: false
            securityProfile:
                encryptionAtHost: false
                securityType: trustedLaunch
                uefiSettings:
                    secureBootEnabled: false
                    vTpmEnabled: false
            serviceArtifactReference:
                id: string
            windowsConfiguration:
                enableAutomaticUpdates: false
    displayName: string
    identity:
        type: UserAssigned
        userAssignedIdentities:
            - string
    interNodeCommunication: Enabled
    metadata:
        - name: string
          value: string
    mountConfiguration:
        - azureBlobFileSystemConfiguration:
            accountKey: string
            accountName: string
            blobfuseOptions: string
            containerName: string
            identityReference:
                resourceId: string
            relativeMountPath: string
            sasKey: string
          azureFileShareConfiguration:
            accountKey: string
            accountName: string
            azureFileUrl: string
            mountOptions: string
            relativeMountPath: string
          cifsMountConfiguration:
            mountOptions: string
            password: string
            relativeMountPath: string
            source: string
            userName: string
          nfsMountConfiguration:
            mountOptions: string
            relativeMountPath: string
            source: string
    networkConfiguration:
        dynamicVnetAssignmentScope: none
        enableAcceleratedNetworking: false
        endpointConfiguration:
            inboundNatPools:
                - backendPort: 0
                  frontendPortRangeEnd: 0
                  frontendPortRangeStart: 0
                  name: string
                  networkSecurityGroupRules:
                    - access: Allow
                      priority: 0
                      sourceAddressPrefix: string
                      sourcePortRanges:
                        - string
                  protocol: TCP
        publicIPAddressConfiguration:
            ipAddressIds:
                - string
            provision: BatchManaged
        subnetId: string
    poolName: string
    resourceGroupName: string
    resourceTags:
        string: string
    scaleSettings:
        autoScale:
            evaluationInterval: string
            formula: string
        fixedScale:
            nodeDeallocationOption: Requeue
            resizeTimeout: string
            targetDedicatedNodes: 0
            targetLowPriorityNodes: 0
    startTask:
        commandLine: string
        containerSettings:
            containerHostBatchBindMounts:
                - isReadOnly: false
                  source: string
            containerRunOptions: string
            imageName: string
            registry:
                identityReference:
                    resourceId: string
                password: string
                registryServer: string
                userName: string
            workingDirectory: TaskWorkingDirectory
        environmentSettings:
            - name: string
              value: string
        maxTaskRetryCount: 0
        resourceFiles:
            - autoStorageContainerName: string
              blobPrefix: string
              fileMode: string
              filePath: string
              httpUrl: string
              identityReference:
                resourceId: string
              storageContainerUrl: string
        userIdentity:
            autoUser:
                elevationLevel: NonAdmin
                scope: Task
            userName: string
        waitForSuccess: false
    tags:
        string: string
    targetNodeCommunicationMode: Default
    taskSchedulingPolicy:
        nodeFillType: Spread
    taskSlotsPerNode: 0
    upgradePolicy:
        automaticOSUpgradePolicy:
            disableAutomaticRollback: false
            enableAutomaticOSUpgrade: false
            osRollingUpgradeDeferral: false
            useRollingUpgradePolicy: false
        mode: automatic
        rollingUpgradePolicy:
            enableCrossZoneUpgrade: false
            maxBatchInstancePercent: 0
            maxUnhealthyInstancePercent: 0
            maxUnhealthyUpgradedInstancePercent: 0
            pauseTimeBetweenBatches: string
            prioritizeUnhealthyInstances: false
            rollbackFailedInstancesOnPolicyBreach: false
    userAccounts:
        - elevationLevel: NonAdmin
          linuxUserConfiguration:
            gid: 0
            sshPrivateKey: string
            uid: 0
          name: string
          password: string
          windowsUserConfiguration:
            loginMode: Batch
    vmSize: string
Copy

Pool 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 Pool resource accepts the following input properties:

AccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Batch account.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the Batch account.
ApplicationLicenses List<string>
The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail.
ApplicationPackages List<Pulumi.AzureNative.Batch.Inputs.ApplicationPackageReference>
Changes to application package references affect all new compute nodes joining the pool, but do not affect compute nodes that are already in the pool until they are rebooted or reimaged. There is a maximum of 10 application package references on any given pool.
Certificates List<Pulumi.AzureNative.Batch.Inputs.CertificateReference>

For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.

Warning: This property is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.

DeploymentConfiguration Pulumi.AzureNative.Batch.Inputs.DeploymentConfiguration
DisplayName string
The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
Identity Pulumi.AzureNative.Batch.Inputs.BatchPoolIdentity
The type of identity used for the Batch Pool.
InterNodeCommunication Pulumi.AzureNative.Batch.InterNodeCommunicationState
This imposes restrictions on which nodes can be assigned to the pool. Enabling this value can reduce the chance of the requested number of nodes to be allocated in the pool. If not specified, this value defaults to 'Disabled'.
Metadata List<Pulumi.AzureNative.Batch.Inputs.MetadataItem>
The Batch service does not assign any meaning to metadata; it is solely for the use of user code.
MountConfiguration List<Pulumi.AzureNative.Batch.Inputs.MountConfiguration>
This supports Azure Files, NFS, CIFS/SMB, and Blobfuse.
NetworkConfiguration Pulumi.AzureNative.Batch.Inputs.NetworkConfiguration
The network configuration for a pool.
PoolName Changes to this property will trigger replacement. string
The pool name. This must be unique within the account.
ResourceTags Dictionary<string, string>
The user-defined tags to be associated with the Azure Batch Pool. When specified, these tags are propagated to the backing Azure resources associated with the pool. This property can only be specified when the Batch account was created with the poolAllocationMode property set to 'UserSubscription'.
ScaleSettings Pulumi.AzureNative.Batch.Inputs.ScaleSettings
Defines the desired size of the pool. This can either be 'fixedScale' where the requested targetDedicatedNodes is specified, or 'autoScale' which defines a formula which is periodically reevaluated. If this property is not specified, the pool will have a fixed scale with 0 targetDedicatedNodes.
StartTask Pulumi.AzureNative.Batch.Inputs.StartTask
In an PATCH (update) operation, this property can be set to an empty object to remove the start task from the pool.
Tags Dictionary<string, string>
The tags of the resource.
TargetNodeCommunicationMode Pulumi.AzureNative.Batch.NodeCommunicationMode
If omitted, the default value is Default.
TaskSchedulingPolicy Pulumi.AzureNative.Batch.Inputs.TaskSchedulingPolicy
If not specified, the default is spread.
TaskSlotsPerNode int
The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256.
UpgradePolicy Pulumi.AzureNative.Batch.Inputs.UpgradePolicy
Describes an upgrade policy - automatic, manual, or rolling.
UserAccounts List<Pulumi.AzureNative.Batch.Inputs.UserAccount>
VmSize string
For information about available VM sizes, see Sizes for Virtual Machines in Azure (https://learn.microsoft.com/azure/virtual-machines/sizes/overview). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series).
AccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Batch account.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the Batch account.
ApplicationLicenses []string
The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail.
ApplicationPackages []ApplicationPackageReferenceArgs
Changes to application package references affect all new compute nodes joining the pool, but do not affect compute nodes that are already in the pool until they are rebooted or reimaged. There is a maximum of 10 application package references on any given pool.
Certificates []CertificateReferenceArgs

For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.

Warning: This property is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.

DeploymentConfiguration DeploymentConfigurationArgs
DisplayName string
The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
Identity BatchPoolIdentityArgs
The type of identity used for the Batch Pool.
InterNodeCommunication InterNodeCommunicationState
This imposes restrictions on which nodes can be assigned to the pool. Enabling this value can reduce the chance of the requested number of nodes to be allocated in the pool. If not specified, this value defaults to 'Disabled'.
Metadata []MetadataItemArgs
The Batch service does not assign any meaning to metadata; it is solely for the use of user code.
MountConfiguration []MountConfigurationArgs
This supports Azure Files, NFS, CIFS/SMB, and Blobfuse.
NetworkConfiguration NetworkConfigurationArgs
The network configuration for a pool.
PoolName Changes to this property will trigger replacement. string
The pool name. This must be unique within the account.
ResourceTags map[string]string
The user-defined tags to be associated with the Azure Batch Pool. When specified, these tags are propagated to the backing Azure resources associated with the pool. This property can only be specified when the Batch account was created with the poolAllocationMode property set to 'UserSubscription'.
ScaleSettings ScaleSettingsArgs
Defines the desired size of the pool. This can either be 'fixedScale' where the requested targetDedicatedNodes is specified, or 'autoScale' which defines a formula which is periodically reevaluated. If this property is not specified, the pool will have a fixed scale with 0 targetDedicatedNodes.
StartTask StartTaskArgs
In an PATCH (update) operation, this property can be set to an empty object to remove the start task from the pool.
Tags map[string]string
The tags of the resource.
TargetNodeCommunicationMode NodeCommunicationMode
If omitted, the default value is Default.
TaskSchedulingPolicy TaskSchedulingPolicyArgs
If not specified, the default is spread.
TaskSlotsPerNode int
The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256.
UpgradePolicy UpgradePolicyArgs
Describes an upgrade policy - automatic, manual, or rolling.
UserAccounts []UserAccountArgs
VmSize string
For information about available VM sizes, see Sizes for Virtual Machines in Azure (https://learn.microsoft.com/azure/virtual-machines/sizes/overview). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series).
accountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Batch account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group that contains the Batch account.
applicationLicenses List<String>
The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail.
applicationPackages List<ApplicationPackageReference>
Changes to application package references affect all new compute nodes joining the pool, but do not affect compute nodes that are already in the pool until they are rebooted or reimaged. There is a maximum of 10 application package references on any given pool.
certificates List<CertificateReference>

For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.

Warning: This property is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.

deploymentConfiguration DeploymentConfiguration
displayName String
The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
identity BatchPoolIdentity
The type of identity used for the Batch Pool.
interNodeCommunication InterNodeCommunicationState
This imposes restrictions on which nodes can be assigned to the pool. Enabling this value can reduce the chance of the requested number of nodes to be allocated in the pool. If not specified, this value defaults to 'Disabled'.
metadata List<MetadataItem>
The Batch service does not assign any meaning to metadata; it is solely for the use of user code.
mountConfiguration List<MountConfiguration>
This supports Azure Files, NFS, CIFS/SMB, and Blobfuse.
networkConfiguration NetworkConfiguration
The network configuration for a pool.
poolName Changes to this property will trigger replacement. String
The pool name. This must be unique within the account.
resourceTags Map<String,String>
The user-defined tags to be associated with the Azure Batch Pool. When specified, these tags are propagated to the backing Azure resources associated with the pool. This property can only be specified when the Batch account was created with the poolAllocationMode property set to 'UserSubscription'.
scaleSettings ScaleSettings
Defines the desired size of the pool. This can either be 'fixedScale' where the requested targetDedicatedNodes is specified, or 'autoScale' which defines a formula which is periodically reevaluated. If this property is not specified, the pool will have a fixed scale with 0 targetDedicatedNodes.
startTask StartTask
In an PATCH (update) operation, this property can be set to an empty object to remove the start task from the pool.
tags Map<String,String>
The tags of the resource.
targetNodeCommunicationMode NodeCommunicationMode
If omitted, the default value is Default.
taskSchedulingPolicy TaskSchedulingPolicy
If not specified, the default is spread.
taskSlotsPerNode Integer
The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256.
upgradePolicy UpgradePolicy
Describes an upgrade policy - automatic, manual, or rolling.
userAccounts List<UserAccount>
vmSize String
For information about available VM sizes, see Sizes for Virtual Machines in Azure (https://learn.microsoft.com/azure/virtual-machines/sizes/overview). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series).
accountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Batch account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the Batch account.
applicationLicenses string[]
The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail.
applicationPackages ApplicationPackageReference[]
Changes to application package references affect all new compute nodes joining the pool, but do not affect compute nodes that are already in the pool until they are rebooted or reimaged. There is a maximum of 10 application package references on any given pool.
certificates CertificateReference[]

For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.

Warning: This property is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.

deploymentConfiguration DeploymentConfiguration
displayName string
The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
identity BatchPoolIdentity
The type of identity used for the Batch Pool.
interNodeCommunication InterNodeCommunicationState
This imposes restrictions on which nodes can be assigned to the pool. Enabling this value can reduce the chance of the requested number of nodes to be allocated in the pool. If not specified, this value defaults to 'Disabled'.
metadata MetadataItem[]
The Batch service does not assign any meaning to metadata; it is solely for the use of user code.
mountConfiguration MountConfiguration[]
This supports Azure Files, NFS, CIFS/SMB, and Blobfuse.
networkConfiguration NetworkConfiguration
The network configuration for a pool.
poolName Changes to this property will trigger replacement. string
The pool name. This must be unique within the account.
resourceTags {[key: string]: string}
The user-defined tags to be associated with the Azure Batch Pool. When specified, these tags are propagated to the backing Azure resources associated with the pool. This property can only be specified when the Batch account was created with the poolAllocationMode property set to 'UserSubscription'.
scaleSettings ScaleSettings
Defines the desired size of the pool. This can either be 'fixedScale' where the requested targetDedicatedNodes is specified, or 'autoScale' which defines a formula which is periodically reevaluated. If this property is not specified, the pool will have a fixed scale with 0 targetDedicatedNodes.
startTask StartTask
In an PATCH (update) operation, this property can be set to an empty object to remove the start task from the pool.
tags {[key: string]: string}
The tags of the resource.
targetNodeCommunicationMode NodeCommunicationMode
If omitted, the default value is Default.
taskSchedulingPolicy TaskSchedulingPolicy
If not specified, the default is spread.
taskSlotsPerNode number
The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256.
upgradePolicy UpgradePolicy
Describes an upgrade policy - automatic, manual, or rolling.
userAccounts UserAccount[]
vmSize string
For information about available VM sizes, see Sizes for Virtual Machines in Azure (https://learn.microsoft.com/azure/virtual-machines/sizes/overview). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series).
account_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Batch account.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group that contains the Batch account.
application_licenses Sequence[str]
The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail.
application_packages Sequence[ApplicationPackageReferenceArgs]
Changes to application package references affect all new compute nodes joining the pool, but do not affect compute nodes that are already in the pool until they are rebooted or reimaged. There is a maximum of 10 application package references on any given pool.
certificates Sequence[CertificateReferenceArgs]

For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.

Warning: This property is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.

deployment_configuration DeploymentConfigurationArgs
display_name str
The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
identity BatchPoolIdentityArgs
The type of identity used for the Batch Pool.
inter_node_communication InterNodeCommunicationState
This imposes restrictions on which nodes can be assigned to the pool. Enabling this value can reduce the chance of the requested number of nodes to be allocated in the pool. If not specified, this value defaults to 'Disabled'.
metadata Sequence[MetadataItemArgs]
The Batch service does not assign any meaning to metadata; it is solely for the use of user code.
mount_configuration Sequence[MountConfigurationArgs]
This supports Azure Files, NFS, CIFS/SMB, and Blobfuse.
network_configuration NetworkConfigurationArgs
The network configuration for a pool.
pool_name Changes to this property will trigger replacement. str
The pool name. This must be unique within the account.
resource_tags Mapping[str, str]
The user-defined tags to be associated with the Azure Batch Pool. When specified, these tags are propagated to the backing Azure resources associated with the pool. This property can only be specified when the Batch account was created with the poolAllocationMode property set to 'UserSubscription'.
scale_settings ScaleSettingsArgs
Defines the desired size of the pool. This can either be 'fixedScale' where the requested targetDedicatedNodes is specified, or 'autoScale' which defines a formula which is periodically reevaluated. If this property is not specified, the pool will have a fixed scale with 0 targetDedicatedNodes.
start_task StartTaskArgs
In an PATCH (update) operation, this property can be set to an empty object to remove the start task from the pool.
tags Mapping[str, str]
The tags of the resource.
target_node_communication_mode NodeCommunicationMode
If omitted, the default value is Default.
task_scheduling_policy TaskSchedulingPolicyArgs
If not specified, the default is spread.
task_slots_per_node int
The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256.
upgrade_policy UpgradePolicyArgs
Describes an upgrade policy - automatic, manual, or rolling.
user_accounts Sequence[UserAccountArgs]
vm_size str
For information about available VM sizes, see Sizes for Virtual Machines in Azure (https://learn.microsoft.com/azure/virtual-machines/sizes/overview). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series).
accountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Batch account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group that contains the Batch account.
applicationLicenses List<String>
The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail.
applicationPackages List<Property Map>
Changes to application package references affect all new compute nodes joining the pool, but do not affect compute nodes that are already in the pool until they are rebooted or reimaged. There is a maximum of 10 application package references on any given pool.
certificates List<Property Map>

For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.

Warning: This property is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.

deploymentConfiguration Property Map
displayName String
The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
identity Property Map
The type of identity used for the Batch Pool.
interNodeCommunication "Enabled" | "Disabled"
This imposes restrictions on which nodes can be assigned to the pool. Enabling this value can reduce the chance of the requested number of nodes to be allocated in the pool. If not specified, this value defaults to 'Disabled'.
metadata List<Property Map>
The Batch service does not assign any meaning to metadata; it is solely for the use of user code.
mountConfiguration List<Property Map>
This supports Azure Files, NFS, CIFS/SMB, and Blobfuse.
networkConfiguration Property Map
The network configuration for a pool.
poolName Changes to this property will trigger replacement. String
The pool name. This must be unique within the account.
resourceTags Map<String>
The user-defined tags to be associated with the Azure Batch Pool. When specified, these tags are propagated to the backing Azure resources associated with the pool. This property can only be specified when the Batch account was created with the poolAllocationMode property set to 'UserSubscription'.
scaleSettings Property Map
Defines the desired size of the pool. This can either be 'fixedScale' where the requested targetDedicatedNodes is specified, or 'autoScale' which defines a formula which is periodically reevaluated. If this property is not specified, the pool will have a fixed scale with 0 targetDedicatedNodes.
startTask Property Map
In an PATCH (update) operation, this property can be set to an empty object to remove the start task from the pool.
tags Map<String>
The tags of the resource.
targetNodeCommunicationMode "Default" | "Classic" | "Simplified"
If omitted, the default value is Default.
taskSchedulingPolicy Property Map
If not specified, the default is spread.
taskSlotsPerNode Number
The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256.
upgradePolicy Property Map
Describes an upgrade policy - automatic, manual, or rolling.
userAccounts List<Property Map>
vmSize String
For information about available VM sizes, see Sizes for Virtual Machines in Azure (https://learn.microsoft.com/azure/virtual-machines/sizes/overview). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series).

Outputs

All input properties are implicitly available as output properties. Additionally, the Pool resource produces the following output properties:

AllocationState string
AllocationStateTransitionTime string
AutoScaleRun Pulumi.AzureNative.Batch.Outputs.AutoScaleRunResponse
This property is set only if the pool automatically scales, i.e. autoScaleSettings are used.
AzureApiVersion string
The Azure API version of the resource.
CreationTime string
CurrentDedicatedNodes int
CurrentLowPriorityNodes int
CurrentNodeCommunicationMode string
Etag string
The ETag of the resource, used for concurrency statements.
Id string
The provider-assigned unique ID for this managed resource.
LastModified string
This is the last time at which the pool level data, such as the targetDedicatedNodes or autoScaleSettings, changed. It does not factor in node-level changes such as a compute node changing state.
Name string
The name of the resource.
ProvisioningState string
ProvisioningStateTransitionTime string
ResizeOperationStatus Pulumi.AzureNative.Batch.Outputs.ResizeOperationStatusResponse
Describes either the current operation (if the pool AllocationState is Resizing) or the previously completed operation (if the AllocationState is Steady).
Type string
The type of the resource.
AllocationState string
AllocationStateTransitionTime string
AutoScaleRun AutoScaleRunResponse
This property is set only if the pool automatically scales, i.e. autoScaleSettings are used.
AzureApiVersion string
The Azure API version of the resource.
CreationTime string
CurrentDedicatedNodes int
CurrentLowPriorityNodes int
CurrentNodeCommunicationMode string
Etag string
The ETag of the resource, used for concurrency statements.
Id string
The provider-assigned unique ID for this managed resource.
LastModified string
This is the last time at which the pool level data, such as the targetDedicatedNodes or autoScaleSettings, changed. It does not factor in node-level changes such as a compute node changing state.
Name string
The name of the resource.
ProvisioningState string
ProvisioningStateTransitionTime string
ResizeOperationStatus ResizeOperationStatusResponse
Describes either the current operation (if the pool AllocationState is Resizing) or the previously completed operation (if the AllocationState is Steady).
Type string
The type of the resource.
allocationState String
allocationStateTransitionTime String
autoScaleRun AutoScaleRunResponse
This property is set only if the pool automatically scales, i.e. autoScaleSettings are used.
azureApiVersion String
The Azure API version of the resource.
creationTime String
currentDedicatedNodes Integer
currentLowPriorityNodes Integer
currentNodeCommunicationMode String
etag String
The ETag of the resource, used for concurrency statements.
id String
The provider-assigned unique ID for this managed resource.
lastModified String
This is the last time at which the pool level data, such as the targetDedicatedNodes or autoScaleSettings, changed. It does not factor in node-level changes such as a compute node changing state.
name String
The name of the resource.
provisioningState String
provisioningStateTransitionTime String
resizeOperationStatus ResizeOperationStatusResponse
Describes either the current operation (if the pool AllocationState is Resizing) or the previously completed operation (if the AllocationState is Steady).
type String
The type of the resource.
allocationState string
allocationStateTransitionTime string
autoScaleRun AutoScaleRunResponse
This property is set only if the pool automatically scales, i.e. autoScaleSettings are used.
azureApiVersion string
The Azure API version of the resource.
creationTime string
currentDedicatedNodes number
currentLowPriorityNodes number
currentNodeCommunicationMode string
etag string
The ETag of the resource, used for concurrency statements.
id string
The provider-assigned unique ID for this managed resource.
lastModified string
This is the last time at which the pool level data, such as the targetDedicatedNodes or autoScaleSettings, changed. It does not factor in node-level changes such as a compute node changing state.
name string
The name of the resource.
provisioningState string
provisioningStateTransitionTime string
resizeOperationStatus ResizeOperationStatusResponse
Describes either the current operation (if the pool AllocationState is Resizing) or the previously completed operation (if the AllocationState is Steady).
type string
The type of the resource.
allocation_state str
allocation_state_transition_time str
auto_scale_run AutoScaleRunResponse
This property is set only if the pool automatically scales, i.e. autoScaleSettings are used.
azure_api_version str
The Azure API version of the resource.
creation_time str
current_dedicated_nodes int
current_low_priority_nodes int
current_node_communication_mode str
etag str
The ETag of the resource, used for concurrency statements.
id str
The provider-assigned unique ID for this managed resource.
last_modified str
This is the last time at which the pool level data, such as the targetDedicatedNodes or autoScaleSettings, changed. It does not factor in node-level changes such as a compute node changing state.
name str
The name of the resource.
provisioning_state str
provisioning_state_transition_time str
resize_operation_status ResizeOperationStatusResponse
Describes either the current operation (if the pool AllocationState is Resizing) or the previously completed operation (if the AllocationState is Steady).
type str
The type of the resource.
allocationState String
allocationStateTransitionTime String
autoScaleRun Property Map
This property is set only if the pool automatically scales, i.e. autoScaleSettings are used.
azureApiVersion String
The Azure API version of the resource.
creationTime String
currentDedicatedNodes Number
currentLowPriorityNodes Number
currentNodeCommunicationMode String
etag String
The ETag of the resource, used for concurrency statements.
id String
The provider-assigned unique ID for this managed resource.
lastModified String
This is the last time at which the pool level data, such as the targetDedicatedNodes or autoScaleSettings, changed. It does not factor in node-level changes such as a compute node changing state.
name String
The name of the resource.
provisioningState String
provisioningStateTransitionTime String
resizeOperationStatus Property Map
Describes either the current operation (if the pool AllocationState is Resizing) or the previously completed operation (if the AllocationState is Steady).
type String
The type of the resource.

Supporting Types

ApplicationPackageReference
, ApplicationPackageReferenceArgs

Id This property is required. string
Version string
If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
Id This property is required. string
Version string
If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
id This property is required. String
version String
If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
id This property is required. string
version string
If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
id This property is required. str
version str
If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
id This property is required. String
version String
If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.

ApplicationPackageReferenceResponse
, ApplicationPackageReferenceResponseArgs

Id This property is required. string
Version string
If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
Id This property is required. string
Version string
If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
id This property is required. String
version String
If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
id This property is required. string
version string
If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
id This property is required. str
version str
If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
id This property is required. String
version String
If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.

AutoScaleRunErrorResponse
, AutoScaleRunErrorResponseArgs

Code This property is required. string
An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
Message This property is required. string
A message describing the error, intended to be suitable for display in a user interface.
Details List<Pulumi.AzureNative.Batch.Inputs.AutoScaleRunErrorResponse>
Code This property is required. string
An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
Message This property is required. string
A message describing the error, intended to be suitable for display in a user interface.
Details []AutoScaleRunErrorResponse
code This property is required. String
An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
message This property is required. String
A message describing the error, intended to be suitable for display in a user interface.
details List<AutoScaleRunErrorResponse>
code This property is required. string
An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
message This property is required. string
A message describing the error, intended to be suitable for display in a user interface.
details AutoScaleRunErrorResponse[]
code This property is required. str
An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
message This property is required. str
A message describing the error, intended to be suitable for display in a user interface.
details Sequence[AutoScaleRunErrorResponse]
code This property is required. String
An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
message This property is required. String
A message describing the error, intended to be suitable for display in a user interface.
details List<Property Map>

AutoScaleRunResponse
, AutoScaleRunResponseArgs

EvaluationTime This property is required. string
Error Pulumi.AzureNative.Batch.Inputs.AutoScaleRunErrorResponse
Results string
Each variable value is returned in the form $variable=value, and variables are separated by semicolons.
EvaluationTime This property is required. string
Error AutoScaleRunErrorResponse
Results string
Each variable value is returned in the form $variable=value, and variables are separated by semicolons.
evaluationTime This property is required. String
error AutoScaleRunErrorResponse
results String
Each variable value is returned in the form $variable=value, and variables are separated by semicolons.
evaluationTime This property is required. string
error AutoScaleRunErrorResponse
results string
Each variable value is returned in the form $variable=value, and variables are separated by semicolons.
evaluation_time This property is required. str
error AutoScaleRunErrorResponse
results str
Each variable value is returned in the form $variable=value, and variables are separated by semicolons.
evaluationTime This property is required. String
error Property Map
results String
Each variable value is returned in the form $variable=value, and variables are separated by semicolons.

AutoScaleSettings
, AutoScaleSettingsArgs

Formula This property is required. string
EvaluationInterval string
If omitted, the default value is 15 minutes (PT15M).
Formula This property is required. string
EvaluationInterval string
If omitted, the default value is 15 minutes (PT15M).
formula This property is required. String
evaluationInterval String
If omitted, the default value is 15 minutes (PT15M).
formula This property is required. string
evaluationInterval string
If omitted, the default value is 15 minutes (PT15M).
formula This property is required. str
evaluation_interval str
If omitted, the default value is 15 minutes (PT15M).
formula This property is required. String
evaluationInterval String
If omitted, the default value is 15 minutes (PT15M).

AutoScaleSettingsResponse
, AutoScaleSettingsResponseArgs

Formula This property is required. string
EvaluationInterval string
If omitted, the default value is 15 minutes (PT15M).
Formula This property is required. string
EvaluationInterval string
If omitted, the default value is 15 minutes (PT15M).
formula This property is required. String
evaluationInterval String
If omitted, the default value is 15 minutes (PT15M).
formula This property is required. string
evaluationInterval string
If omitted, the default value is 15 minutes (PT15M).
formula This property is required. str
evaluation_interval str
If omitted, the default value is 15 minutes (PT15M).
formula This property is required. String
evaluationInterval String
If omitted, the default value is 15 minutes (PT15M).

AutoUserScope
, AutoUserScopeArgs

Task
TaskSpecifies that the service should create a new user for the task.
Pool
PoolSpecifies that the task runs as the common auto user account which is created on every node in a pool.
AutoUserScopeTask
TaskSpecifies that the service should create a new user for the task.
AutoUserScopePool
PoolSpecifies that the task runs as the common auto user account which is created on every node in a pool.
Task
TaskSpecifies that the service should create a new user for the task.
Pool
PoolSpecifies that the task runs as the common auto user account which is created on every node in a pool.
Task
TaskSpecifies that the service should create a new user for the task.
Pool
PoolSpecifies that the task runs as the common auto user account which is created on every node in a pool.
TASK
TaskSpecifies that the service should create a new user for the task.
POOL
PoolSpecifies that the task runs as the common auto user account which is created on every node in a pool.
"Task"
TaskSpecifies that the service should create a new user for the task.
"Pool"
PoolSpecifies that the task runs as the common auto user account which is created on every node in a pool.

AutoUserSpecification
, AutoUserSpecificationArgs

ElevationLevel Pulumi.AzureNative.Batch.ElevationLevel
The default value is nonAdmin.
Scope Pulumi.AzureNative.Batch.AutoUserScope
The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.
ElevationLevel ElevationLevel
The default value is nonAdmin.
Scope AutoUserScope
The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.
elevationLevel ElevationLevel
The default value is nonAdmin.
scope AutoUserScope
The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.
elevationLevel ElevationLevel
The default value is nonAdmin.
scope AutoUserScope
The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.
elevation_level ElevationLevel
The default value is nonAdmin.
scope AutoUserScope
The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.
elevationLevel "NonAdmin" | "Admin"
The default value is nonAdmin.
scope "Task" | "Pool"
The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.

AutoUserSpecificationResponse
, AutoUserSpecificationResponseArgs

ElevationLevel string
The default value is nonAdmin.
Scope string
The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.
ElevationLevel string
The default value is nonAdmin.
Scope string
The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.
elevationLevel String
The default value is nonAdmin.
scope String
The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.
elevationLevel string
The default value is nonAdmin.
scope string
The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.
elevation_level str
The default value is nonAdmin.
scope str
The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.
elevationLevel String
The default value is nonAdmin.
scope String
The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.

AutomaticOSUpgradePolicy
, AutomaticOSUpgradePolicyArgs

DisableAutomaticRollback bool
Whether OS image rollback feature should be disabled.
EnableAutomaticOSUpgrade bool
Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. If this is set to true for Windows based pools, WindowsConfiguration.enableAutomaticUpdates cannot be set to true.
OsRollingUpgradeDeferral bool
Defer OS upgrades on the TVMs if they are running tasks.
UseRollingUpgradePolicy bool
Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
DisableAutomaticRollback bool
Whether OS image rollback feature should be disabled.
EnableAutomaticOSUpgrade bool
Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. If this is set to true for Windows based pools, WindowsConfiguration.enableAutomaticUpdates cannot be set to true.
OsRollingUpgradeDeferral bool
Defer OS upgrades on the TVMs if they are running tasks.
UseRollingUpgradePolicy bool
Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
disableAutomaticRollback Boolean
Whether OS image rollback feature should be disabled.
enableAutomaticOSUpgrade Boolean
Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. If this is set to true for Windows based pools, WindowsConfiguration.enableAutomaticUpdates cannot be set to true.
osRollingUpgradeDeferral Boolean
Defer OS upgrades on the TVMs if they are running tasks.
useRollingUpgradePolicy Boolean
Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
disableAutomaticRollback boolean
Whether OS image rollback feature should be disabled.
enableAutomaticOSUpgrade boolean
Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. If this is set to true for Windows based pools, WindowsConfiguration.enableAutomaticUpdates cannot be set to true.
osRollingUpgradeDeferral boolean
Defer OS upgrades on the TVMs if they are running tasks.
useRollingUpgradePolicy boolean
Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
disable_automatic_rollback bool
Whether OS image rollback feature should be disabled.
enable_automatic_os_upgrade bool
Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. If this is set to true for Windows based pools, WindowsConfiguration.enableAutomaticUpdates cannot be set to true.
os_rolling_upgrade_deferral bool
Defer OS upgrades on the TVMs if they are running tasks.
use_rolling_upgrade_policy bool
Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
disableAutomaticRollback Boolean
Whether OS image rollback feature should be disabled.
enableAutomaticOSUpgrade Boolean
Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. If this is set to true for Windows based pools, WindowsConfiguration.enableAutomaticUpdates cannot be set to true.
osRollingUpgradeDeferral Boolean
Defer OS upgrades on the TVMs if they are running tasks.
useRollingUpgradePolicy Boolean
Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.

AutomaticOSUpgradePolicyResponse
, AutomaticOSUpgradePolicyResponseArgs

DisableAutomaticRollback bool
Whether OS image rollback feature should be disabled.
EnableAutomaticOSUpgrade bool
Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. If this is set to true for Windows based pools, WindowsConfiguration.enableAutomaticUpdates cannot be set to true.
OsRollingUpgradeDeferral bool
Defer OS upgrades on the TVMs if they are running tasks.
UseRollingUpgradePolicy bool
Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
DisableAutomaticRollback bool
Whether OS image rollback feature should be disabled.
EnableAutomaticOSUpgrade bool
Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. If this is set to true for Windows based pools, WindowsConfiguration.enableAutomaticUpdates cannot be set to true.
OsRollingUpgradeDeferral bool
Defer OS upgrades on the TVMs if they are running tasks.
UseRollingUpgradePolicy bool
Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
disableAutomaticRollback Boolean
Whether OS image rollback feature should be disabled.
enableAutomaticOSUpgrade Boolean
Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. If this is set to true for Windows based pools, WindowsConfiguration.enableAutomaticUpdates cannot be set to true.
osRollingUpgradeDeferral Boolean
Defer OS upgrades on the TVMs if they are running tasks.
useRollingUpgradePolicy Boolean
Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
disableAutomaticRollback boolean
Whether OS image rollback feature should be disabled.
enableAutomaticOSUpgrade boolean
Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. If this is set to true for Windows based pools, WindowsConfiguration.enableAutomaticUpdates cannot be set to true.
osRollingUpgradeDeferral boolean
Defer OS upgrades on the TVMs if they are running tasks.
useRollingUpgradePolicy boolean
Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
disable_automatic_rollback bool
Whether OS image rollback feature should be disabled.
enable_automatic_os_upgrade bool
Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. If this is set to true for Windows based pools, WindowsConfiguration.enableAutomaticUpdates cannot be set to true.
os_rolling_upgrade_deferral bool
Defer OS upgrades on the TVMs if they are running tasks.
use_rolling_upgrade_policy bool
Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
disableAutomaticRollback Boolean
Whether OS image rollback feature should be disabled.
enableAutomaticOSUpgrade Boolean
Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. If this is set to true for Windows based pools, WindowsConfiguration.enableAutomaticUpdates cannot be set to true.
osRollingUpgradeDeferral Boolean
Defer OS upgrades on the TVMs if they are running tasks.
useRollingUpgradePolicy Boolean
Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.

AzureBlobFileSystemConfiguration
, AzureBlobFileSystemConfigurationArgs

AccountName This property is required. string
ContainerName This property is required. string
RelativeMountPath This property is required. string
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
AccountKey string
This property is mutually exclusive with both sasKey and identity; exactly one must be specified.
BlobfuseOptions string
These are 'net use' options in Windows and 'mount' options in Linux.
IdentityReference Pulumi.AzureNative.Batch.Inputs.ComputeNodeIdentityReference
This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.
SasKey string
This property is mutually exclusive with both accountKey and identity; exactly one must be specified.
AccountName This property is required. string
ContainerName This property is required. string
RelativeMountPath This property is required. string
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
AccountKey string
This property is mutually exclusive with both sasKey and identity; exactly one must be specified.
BlobfuseOptions string
These are 'net use' options in Windows and 'mount' options in Linux.
IdentityReference ComputeNodeIdentityReference
This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.
SasKey string
This property is mutually exclusive with both accountKey and identity; exactly one must be specified.
accountName This property is required. String
containerName This property is required. String
relativeMountPath This property is required. String
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
accountKey String
This property is mutually exclusive with both sasKey and identity; exactly one must be specified.
blobfuseOptions String
These are 'net use' options in Windows and 'mount' options in Linux.
identityReference ComputeNodeIdentityReference
This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.
sasKey String
This property is mutually exclusive with both accountKey and identity; exactly one must be specified.
accountName This property is required. string
containerName This property is required. string
relativeMountPath This property is required. string
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
accountKey string
This property is mutually exclusive with both sasKey and identity; exactly one must be specified.
blobfuseOptions string
These are 'net use' options in Windows and 'mount' options in Linux.
identityReference ComputeNodeIdentityReference
This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.
sasKey string
This property is mutually exclusive with both accountKey and identity; exactly one must be specified.
account_name This property is required. str
container_name This property is required. str
relative_mount_path This property is required. str
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
account_key str
This property is mutually exclusive with both sasKey and identity; exactly one must be specified.
blobfuse_options str
These are 'net use' options in Windows and 'mount' options in Linux.
identity_reference ComputeNodeIdentityReference
This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.
sas_key str
This property is mutually exclusive with both accountKey and identity; exactly one must be specified.
accountName This property is required. String
containerName This property is required. String
relativeMountPath This property is required. String
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
accountKey String
This property is mutually exclusive with both sasKey and identity; exactly one must be specified.
blobfuseOptions String
These are 'net use' options in Windows and 'mount' options in Linux.
identityReference Property Map
This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.
sasKey String
This property is mutually exclusive with both accountKey and identity; exactly one must be specified.

AzureBlobFileSystemConfigurationResponse
, AzureBlobFileSystemConfigurationResponseArgs

AccountName This property is required. string
ContainerName This property is required. string
RelativeMountPath This property is required. string
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
AccountKey string
This property is mutually exclusive with both sasKey and identity; exactly one must be specified.
BlobfuseOptions string
These are 'net use' options in Windows and 'mount' options in Linux.
IdentityReference Pulumi.AzureNative.Batch.Inputs.ComputeNodeIdentityReferenceResponse
This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.
SasKey string
This property is mutually exclusive with both accountKey and identity; exactly one must be specified.
AccountName This property is required. string
ContainerName This property is required. string
RelativeMountPath This property is required. string
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
AccountKey string
This property is mutually exclusive with both sasKey and identity; exactly one must be specified.
BlobfuseOptions string
These are 'net use' options in Windows and 'mount' options in Linux.
IdentityReference ComputeNodeIdentityReferenceResponse
This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.
SasKey string
This property is mutually exclusive with both accountKey and identity; exactly one must be specified.
accountName This property is required. String
containerName This property is required. String
relativeMountPath This property is required. String
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
accountKey String
This property is mutually exclusive with both sasKey and identity; exactly one must be specified.
blobfuseOptions String
These are 'net use' options in Windows and 'mount' options in Linux.
identityReference ComputeNodeIdentityReferenceResponse
This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.
sasKey String
This property is mutually exclusive with both accountKey and identity; exactly one must be specified.
accountName This property is required. string
containerName This property is required. string
relativeMountPath This property is required. string
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
accountKey string
This property is mutually exclusive with both sasKey and identity; exactly one must be specified.
blobfuseOptions string
These are 'net use' options in Windows and 'mount' options in Linux.
identityReference ComputeNodeIdentityReferenceResponse
This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.
sasKey string
This property is mutually exclusive with both accountKey and identity; exactly one must be specified.
account_name This property is required. str
container_name This property is required. str
relative_mount_path This property is required. str
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
account_key str
This property is mutually exclusive with both sasKey and identity; exactly one must be specified.
blobfuse_options str
These are 'net use' options in Windows and 'mount' options in Linux.
identity_reference ComputeNodeIdentityReferenceResponse
This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.
sas_key str
This property is mutually exclusive with both accountKey and identity; exactly one must be specified.
accountName This property is required. String
containerName This property is required. String
relativeMountPath This property is required. String
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
accountKey String
This property is mutually exclusive with both sasKey and identity; exactly one must be specified.
blobfuseOptions String
These are 'net use' options in Windows and 'mount' options in Linux.
identityReference Property Map
This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.
sasKey String
This property is mutually exclusive with both accountKey and identity; exactly one must be specified.

AzureFileShareConfiguration
, AzureFileShareConfigurationArgs

AccountKey This property is required. string
AccountName This property is required. string
AzureFileUrl This property is required. string
This is of the form 'https://{account}.file.core.windows.net/'.
RelativeMountPath This property is required. string
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
MountOptions string
These are 'net use' options in Windows and 'mount' options in Linux.
AccountKey This property is required. string
AccountName This property is required. string
AzureFileUrl This property is required. string
This is of the form 'https://{account}.file.core.windows.net/'.
RelativeMountPath This property is required. string
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
MountOptions string
These are 'net use' options in Windows and 'mount' options in Linux.
accountKey This property is required. String
accountName This property is required. String
azureFileUrl This property is required. String
This is of the form 'https://{account}.file.core.windows.net/'.
relativeMountPath This property is required. String
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
mountOptions String
These are 'net use' options in Windows and 'mount' options in Linux.
accountKey This property is required. string
accountName This property is required. string
azureFileUrl This property is required. string
This is of the form 'https://{account}.file.core.windows.net/'.
relativeMountPath This property is required. string
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
mountOptions string
These are 'net use' options in Windows and 'mount' options in Linux.
account_key This property is required. str
account_name This property is required. str
azure_file_url This property is required. str
This is of the form 'https://{account}.file.core.windows.net/'.
relative_mount_path This property is required. str
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
mount_options str
These are 'net use' options in Windows and 'mount' options in Linux.
accountKey This property is required. String
accountName This property is required. String
azureFileUrl This property is required. String
This is of the form 'https://{account}.file.core.windows.net/'.
relativeMountPath This property is required. String
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
mountOptions String
These are 'net use' options in Windows and 'mount' options in Linux.

AzureFileShareConfigurationResponse
, AzureFileShareConfigurationResponseArgs

AccountKey This property is required. string
AccountName This property is required. string
AzureFileUrl This property is required. string
This is of the form 'https://{account}.file.core.windows.net/'.
RelativeMountPath This property is required. string
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
MountOptions string
These are 'net use' options in Windows and 'mount' options in Linux.
AccountKey This property is required. string
AccountName This property is required. string
AzureFileUrl This property is required. string
This is of the form 'https://{account}.file.core.windows.net/'.
RelativeMountPath This property is required. string
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
MountOptions string
These are 'net use' options in Windows and 'mount' options in Linux.
accountKey This property is required. String
accountName This property is required. String
azureFileUrl This property is required. String
This is of the form 'https://{account}.file.core.windows.net/'.
relativeMountPath This property is required. String
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
mountOptions String
These are 'net use' options in Windows and 'mount' options in Linux.
accountKey This property is required. string
accountName This property is required. string
azureFileUrl This property is required. string
This is of the form 'https://{account}.file.core.windows.net/'.
relativeMountPath This property is required. string
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
mountOptions string
These are 'net use' options in Windows and 'mount' options in Linux.
account_key This property is required. str
account_name This property is required. str
azure_file_url This property is required. str
This is of the form 'https://{account}.file.core.windows.net/'.
relative_mount_path This property is required. str
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
mount_options str
These are 'net use' options in Windows and 'mount' options in Linux.
accountKey This property is required. String
accountName This property is required. String
azureFileUrl This property is required. String
This is of the form 'https://{account}.file.core.windows.net/'.
relativeMountPath This property is required. String
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
mountOptions String
These are 'net use' options in Windows and 'mount' options in Linux.

BatchPoolIdentity
, BatchPoolIdentityArgs

Type This property is required. Pulumi.AzureNative.Batch.PoolIdentityType
The type of identity used for the Batch Pool.
UserAssignedIdentities List<string>
The list of user identities associated with the Batch pool.
Type This property is required. PoolIdentityType
The type of identity used for the Batch Pool.
UserAssignedIdentities []string
The list of user identities associated with the Batch pool.
type This property is required. PoolIdentityType
The type of identity used for the Batch Pool.
userAssignedIdentities List<String>
The list of user identities associated with the Batch pool.
type This property is required. PoolIdentityType
The type of identity used for the Batch Pool.
userAssignedIdentities string[]
The list of user identities associated with the Batch pool.
type This property is required. PoolIdentityType
The type of identity used for the Batch Pool.
user_assigned_identities Sequence[str]
The list of user identities associated with the Batch pool.
type This property is required. "UserAssigned" | "None"
The type of identity used for the Batch Pool.
userAssignedIdentities List<String>
The list of user identities associated with the Batch pool.

BatchPoolIdentityResponse
, BatchPoolIdentityResponseArgs

Type This property is required. string
The type of identity used for the Batch Pool.
UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.Batch.Inputs.UserAssignedIdentitiesResponse>
The list of user identities associated with the Batch pool.
Type This property is required. string
The type of identity used for the Batch Pool.
UserAssignedIdentities map[string]UserAssignedIdentitiesResponse
The list of user identities associated with the Batch pool.
type This property is required. String
The type of identity used for the Batch Pool.
userAssignedIdentities Map<String,UserAssignedIdentitiesResponse>
The list of user identities associated with the Batch pool.
type This property is required. string
The type of identity used for the Batch Pool.
userAssignedIdentities {[key: string]: UserAssignedIdentitiesResponse}
The list of user identities associated with the Batch pool.
type This property is required. str
The type of identity used for the Batch Pool.
user_assigned_identities Mapping[str, UserAssignedIdentitiesResponse]
The list of user identities associated with the Batch pool.
type This property is required. String
The type of identity used for the Batch Pool.
userAssignedIdentities Map<Property Map>
The list of user identities associated with the Batch pool.

CIFSMountConfiguration
, CIFSMountConfigurationArgs

Password This property is required. string
RelativeMountPath This property is required. string
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
Source This property is required. string
UserName This property is required. string
MountOptions string
These are 'net use' options in Windows and 'mount' options in Linux.
Password This property is required. string
RelativeMountPath This property is required. string
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
Source This property is required. string
UserName This property is required. string
MountOptions string
These are 'net use' options in Windows and 'mount' options in Linux.
password This property is required. String
relativeMountPath This property is required. String
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
source This property is required. String
userName This property is required. String
mountOptions String
These are 'net use' options in Windows and 'mount' options in Linux.
password This property is required. string
relativeMountPath This property is required. string
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
source This property is required. string
userName This property is required. string
mountOptions string
These are 'net use' options in Windows and 'mount' options in Linux.
password This property is required. str
relative_mount_path This property is required. str
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
source This property is required. str
user_name This property is required. str
mount_options str
These are 'net use' options in Windows and 'mount' options in Linux.
password This property is required. String
relativeMountPath This property is required. String
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
source This property is required. String
userName This property is required. String
mountOptions String
These are 'net use' options in Windows and 'mount' options in Linux.

CIFSMountConfigurationResponse
, CIFSMountConfigurationResponseArgs

Password This property is required. string
RelativeMountPath This property is required. string
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
Source This property is required. string
UserName This property is required. string
MountOptions string
These are 'net use' options in Windows and 'mount' options in Linux.
Password This property is required. string
RelativeMountPath This property is required. string
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
Source This property is required. string
UserName This property is required. string
MountOptions string
These are 'net use' options in Windows and 'mount' options in Linux.
password This property is required. String
relativeMountPath This property is required. String
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
source This property is required. String
userName This property is required. String
mountOptions String
These are 'net use' options in Windows and 'mount' options in Linux.
password This property is required. string
relativeMountPath This property is required. string
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
source This property is required. string
userName This property is required. string
mountOptions string
These are 'net use' options in Windows and 'mount' options in Linux.
password This property is required. str
relative_mount_path This property is required. str
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
source This property is required. str
user_name This property is required. str
mount_options str
These are 'net use' options in Windows and 'mount' options in Linux.
password This property is required. String
relativeMountPath This property is required. String
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
source This property is required. String
userName This property is required. String
mountOptions String
These are 'net use' options in Windows and 'mount' options in Linux.

CachingType
, CachingTypeArgs

None
NoneThe caching mode for the disk is not enabled.
ReadOnly
ReadOnlyThe caching mode for the disk is read only.
ReadWrite
ReadWriteThe caching mode for the disk is read and write.
CachingTypeNone
NoneThe caching mode for the disk is not enabled.
CachingTypeReadOnly
ReadOnlyThe caching mode for the disk is read only.
CachingTypeReadWrite
ReadWriteThe caching mode for the disk is read and write.
None
NoneThe caching mode for the disk is not enabled.
ReadOnly
ReadOnlyThe caching mode for the disk is read only.
ReadWrite
ReadWriteThe caching mode for the disk is read and write.
None
NoneThe caching mode for the disk is not enabled.
ReadOnly
ReadOnlyThe caching mode for the disk is read only.
ReadWrite
ReadWriteThe caching mode for the disk is read and write.
NONE
NoneThe caching mode for the disk is not enabled.
READ_ONLY
ReadOnlyThe caching mode for the disk is read only.
READ_WRITE
ReadWriteThe caching mode for the disk is read and write.
"None"
NoneThe caching mode for the disk is not enabled.
"ReadOnly"
ReadOnlyThe caching mode for the disk is read only.
"ReadWrite"
ReadWriteThe caching mode for the disk is read and write.

CertificateReference
, CertificateReferenceArgs

Id This property is required. string
StoreLocation Pulumi.AzureNative.Batch.CertificateStoreLocation
The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
StoreName string
This property is applicable only for pools configured with Windows compute nodes. Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My.
Visibility List<Pulumi.AzureNative.Batch.CertificateVisibility>
Id This property is required. string
StoreLocation CertificateStoreLocation
The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
StoreName string
This property is applicable only for pools configured with Windows compute nodes. Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My.
Visibility []CertificateVisibility
id This property is required. String
storeLocation CertificateStoreLocation
The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
storeName String
This property is applicable only for pools configured with Windows compute nodes. Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My.
visibility List<CertificateVisibility>
id This property is required. string
storeLocation CertificateStoreLocation
The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
storeName string
This property is applicable only for pools configured with Windows compute nodes. Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My.
visibility CertificateVisibility[]
id This property is required. str
store_location CertificateStoreLocation
The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
store_name str
This property is applicable only for pools configured with Windows compute nodes. Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My.
visibility Sequence[CertificateVisibility]
id This property is required. String
storeLocation "CurrentUser" | "LocalMachine"
The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
storeName String
This property is applicable only for pools configured with Windows compute nodes. Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My.
visibility List<"StartTask" | "Task" | "RemoteUser">

CertificateReferenceResponse
, CertificateReferenceResponseArgs

Id This property is required. string
StoreLocation string
The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
StoreName string
This property is applicable only for pools configured with Windows compute nodes. Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My.
Visibility List<string>
Id This property is required. string
StoreLocation string
The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
StoreName string
This property is applicable only for pools configured with Windows compute nodes. Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My.
Visibility []string
id This property is required. String
storeLocation String
The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
storeName String
This property is applicable only for pools configured with Windows compute nodes. Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My.
visibility List<String>
id This property is required. string
storeLocation string
The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
storeName string
This property is applicable only for pools configured with Windows compute nodes. Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My.
visibility string[]
id This property is required. str
store_location str
The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
store_name str
This property is applicable only for pools configured with Windows compute nodes. Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My.
visibility Sequence[str]
id This property is required. String
storeLocation String
The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
storeName String
This property is applicable only for pools configured with Windows compute nodes. Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My.
visibility List<String>

CertificateStoreLocation
, CertificateStoreLocationArgs

CurrentUser
CurrentUserCertificates should be installed to the CurrentUser certificate store.
LocalMachine
LocalMachineCertificates should be installed to the LocalMachine certificate store.
CertificateStoreLocationCurrentUser
CurrentUserCertificates should be installed to the CurrentUser certificate store.
CertificateStoreLocationLocalMachine
LocalMachineCertificates should be installed to the LocalMachine certificate store.
CurrentUser
CurrentUserCertificates should be installed to the CurrentUser certificate store.
LocalMachine
LocalMachineCertificates should be installed to the LocalMachine certificate store.
CurrentUser
CurrentUserCertificates should be installed to the CurrentUser certificate store.
LocalMachine
LocalMachineCertificates should be installed to the LocalMachine certificate store.
CURRENT_USER
CurrentUserCertificates should be installed to the CurrentUser certificate store.
LOCAL_MACHINE
LocalMachineCertificates should be installed to the LocalMachine certificate store.
"CurrentUser"
CurrentUserCertificates should be installed to the CurrentUser certificate store.
"LocalMachine"
LocalMachineCertificates should be installed to the LocalMachine certificate store.

CertificateVisibility
, CertificateVisibilityArgs

StartTask
StartTaskThe certificate should be visible to the user account under which the start task is run. Note that if AutoUser Scope is Pool for both the StartTask and a Task, this certificate will be visible to the Task as well.
Task
TaskThe certificate should be visible to the user accounts under which job tasks are run.
RemoteUser
RemoteUserThe certificate should be visible to the user accounts under which users remotely access the node.
CertificateVisibilityStartTask
StartTaskThe certificate should be visible to the user account under which the start task is run. Note that if AutoUser Scope is Pool for both the StartTask and a Task, this certificate will be visible to the Task as well.
CertificateVisibilityTask
TaskThe certificate should be visible to the user accounts under which job tasks are run.
CertificateVisibilityRemoteUser
RemoteUserThe certificate should be visible to the user accounts under which users remotely access the node.
StartTask
StartTaskThe certificate should be visible to the user account under which the start task is run. Note that if AutoUser Scope is Pool for both the StartTask and a Task, this certificate will be visible to the Task as well.
Task
TaskThe certificate should be visible to the user accounts under which job tasks are run.
RemoteUser
RemoteUserThe certificate should be visible to the user accounts under which users remotely access the node.
StartTask
StartTaskThe certificate should be visible to the user account under which the start task is run. Note that if AutoUser Scope is Pool for both the StartTask and a Task, this certificate will be visible to the Task as well.
Task
TaskThe certificate should be visible to the user accounts under which job tasks are run.
RemoteUser
RemoteUserThe certificate should be visible to the user accounts under which users remotely access the node.
START_TASK
StartTaskThe certificate should be visible to the user account under which the start task is run. Note that if AutoUser Scope is Pool for both the StartTask and a Task, this certificate will be visible to the Task as well.
TASK
TaskThe certificate should be visible to the user accounts under which job tasks are run.
REMOTE_USER
RemoteUserThe certificate should be visible to the user accounts under which users remotely access the node.
"StartTask"
StartTaskThe certificate should be visible to the user account under which the start task is run. Note that if AutoUser Scope is Pool for both the StartTask and a Task, this certificate will be visible to the Task as well.
"Task"
TaskThe certificate should be visible to the user accounts under which job tasks are run.
"RemoteUser"
RemoteUserThe certificate should be visible to the user accounts under which users remotely access the node.

ComputeNodeDeallocationOption
, ComputeNodeDeallocationOptionArgs

Requeue
RequeueTerminate running task processes and requeue the tasks. The tasks will run again when a node is available. Remove nodes as soon as tasks have been terminated.
Terminate
TerminateTerminate running tasks. The tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Remove nodes as soon as tasks have been terminated.
TaskCompletion
TaskCompletionAllow currently running tasks to complete. Schedule no new tasks while waiting. Remove nodes when all tasks have completed.
RetainedData
RetainedDataAllow currently running tasks to complete, then wait for all task data retention periods to expire. Schedule no new tasks while waiting. Remove nodes when all task retention periods have expired.
ComputeNodeDeallocationOptionRequeue
RequeueTerminate running task processes and requeue the tasks. The tasks will run again when a node is available. Remove nodes as soon as tasks have been terminated.
ComputeNodeDeallocationOptionTerminate
TerminateTerminate running tasks. The tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Remove nodes as soon as tasks have been terminated.
ComputeNodeDeallocationOptionTaskCompletion
TaskCompletionAllow currently running tasks to complete. Schedule no new tasks while waiting. Remove nodes when all tasks have completed.
ComputeNodeDeallocationOptionRetainedData
RetainedDataAllow currently running tasks to complete, then wait for all task data retention periods to expire. Schedule no new tasks while waiting. Remove nodes when all task retention periods have expired.
Requeue
RequeueTerminate running task processes and requeue the tasks. The tasks will run again when a node is available. Remove nodes as soon as tasks have been terminated.
Terminate
TerminateTerminate running tasks. The tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Remove nodes as soon as tasks have been terminated.
TaskCompletion
TaskCompletionAllow currently running tasks to complete. Schedule no new tasks while waiting. Remove nodes when all tasks have completed.
RetainedData
RetainedDataAllow currently running tasks to complete, then wait for all task data retention periods to expire. Schedule no new tasks while waiting. Remove nodes when all task retention periods have expired.
Requeue
RequeueTerminate running task processes and requeue the tasks. The tasks will run again when a node is available. Remove nodes as soon as tasks have been terminated.
Terminate
TerminateTerminate running tasks. The tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Remove nodes as soon as tasks have been terminated.
TaskCompletion
TaskCompletionAllow currently running tasks to complete. Schedule no new tasks while waiting. Remove nodes when all tasks have completed.
RetainedData
RetainedDataAllow currently running tasks to complete, then wait for all task data retention periods to expire. Schedule no new tasks while waiting. Remove nodes when all task retention periods have expired.
REQUEUE
RequeueTerminate running task processes and requeue the tasks. The tasks will run again when a node is available. Remove nodes as soon as tasks have been terminated.
TERMINATE
TerminateTerminate running tasks. The tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Remove nodes as soon as tasks have been terminated.
TASK_COMPLETION
TaskCompletionAllow currently running tasks to complete. Schedule no new tasks while waiting. Remove nodes when all tasks have completed.
RETAINED_DATA
RetainedDataAllow currently running tasks to complete, then wait for all task data retention periods to expire. Schedule no new tasks while waiting. Remove nodes when all task retention periods have expired.
"Requeue"
RequeueTerminate running task processes and requeue the tasks. The tasks will run again when a node is available. Remove nodes as soon as tasks have been terminated.
"Terminate"
TerminateTerminate running tasks. The tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Remove nodes as soon as tasks have been terminated.
"TaskCompletion"
TaskCompletionAllow currently running tasks to complete. Schedule no new tasks while waiting. Remove nodes when all tasks have completed.
"RetainedData"
RetainedDataAllow currently running tasks to complete, then wait for all task data retention periods to expire. Schedule no new tasks while waiting. Remove nodes when all task retention periods have expired.

ComputeNodeFillType
, ComputeNodeFillTypeArgs

Spread
SpreadTasks should be assigned evenly across all nodes in the pool.
Pack
PackAs many tasks as possible (taskSlotsPerNode) should be assigned to each node in the pool before any tasks are assigned to the next node in the pool.
ComputeNodeFillTypeSpread
SpreadTasks should be assigned evenly across all nodes in the pool.
ComputeNodeFillTypePack
PackAs many tasks as possible (taskSlotsPerNode) should be assigned to each node in the pool before any tasks are assigned to the next node in the pool.
Spread
SpreadTasks should be assigned evenly across all nodes in the pool.
Pack
PackAs many tasks as possible (taskSlotsPerNode) should be assigned to each node in the pool before any tasks are assigned to the next node in the pool.
Spread
SpreadTasks should be assigned evenly across all nodes in the pool.
Pack
PackAs many tasks as possible (taskSlotsPerNode) should be assigned to each node in the pool before any tasks are assigned to the next node in the pool.
SPREAD
SpreadTasks should be assigned evenly across all nodes in the pool.
PACK
PackAs many tasks as possible (taskSlotsPerNode) should be assigned to each node in the pool before any tasks are assigned to the next node in the pool.
"Spread"
SpreadTasks should be assigned evenly across all nodes in the pool.
"Pack"
PackAs many tasks as possible (taskSlotsPerNode) should be assigned to each node in the pool before any tasks are assigned to the next node in the pool.

ComputeNodeIdentityReference
, ComputeNodeIdentityReferenceArgs

ResourceId string
The ARM resource id of the user assigned identity.
ResourceId string
The ARM resource id of the user assigned identity.
resourceId String
The ARM resource id of the user assigned identity.
resourceId string
The ARM resource id of the user assigned identity.
resource_id str
The ARM resource id of the user assigned identity.
resourceId String
The ARM resource id of the user assigned identity.

ComputeNodeIdentityReferenceResponse
, ComputeNodeIdentityReferenceResponseArgs

ResourceId string
The ARM resource id of the user assigned identity.
ResourceId string
The ARM resource id of the user assigned identity.
resourceId String
The ARM resource id of the user assigned identity.
resourceId string
The ARM resource id of the user assigned identity.
resource_id str
The ARM resource id of the user assigned identity.
resourceId String
The ARM resource id of the user assigned identity.

ContainerConfiguration
, ContainerConfigurationArgs

Type This property is required. string | Pulumi.AzureNative.Batch.ContainerType
ContainerImageNames List<string>
This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
ContainerRegistries List<Pulumi.AzureNative.Batch.Inputs.ContainerRegistry>
If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.
Type This property is required. string | ContainerType
ContainerImageNames []string
This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
ContainerRegistries []ContainerRegistry
If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.
type This property is required. String | ContainerType
containerImageNames List<String>
This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
containerRegistries List<ContainerRegistry>
If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.
type This property is required. string | ContainerType
containerImageNames string[]
This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
containerRegistries ContainerRegistry[]
If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.
type This property is required. str | ContainerType
container_image_names Sequence[str]
This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
container_registries Sequence[ContainerRegistry]
If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.
type This property is required. String | "DockerCompatible" | "CriCompatible"
containerImageNames List<String>
This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
containerRegistries List<Property Map>
If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.

ContainerConfigurationResponse
, ContainerConfigurationResponseArgs

Type This property is required. string
ContainerImageNames List<string>
This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
ContainerRegistries List<Pulumi.AzureNative.Batch.Inputs.ContainerRegistryResponse>
If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.
Type This property is required. string
ContainerImageNames []string
This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
ContainerRegistries []ContainerRegistryResponse
If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.
type This property is required. String
containerImageNames List<String>
This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
containerRegistries List<ContainerRegistryResponse>
If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.
type This property is required. string
containerImageNames string[]
This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
containerRegistries ContainerRegistryResponse[]
If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.
type This property is required. str
container_image_names Sequence[str]
This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
container_registries Sequence[ContainerRegistryResponse]
If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.
type This property is required. String
containerImageNames List<String>
This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
containerRegistries List<Property Map>
If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.

ContainerHostBatchBindMountEntry
, ContainerHostBatchBindMountEntryArgs

IsReadOnly bool
For Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.
Source string | Pulumi.AzureNative.Batch.ContainerHostDataPath
IsReadOnly bool
For Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.
Source string | ContainerHostDataPath
isReadOnly Boolean
For Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.
source String | ContainerHostDataPath
isReadOnly boolean
For Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.
source string | ContainerHostDataPath
is_read_only bool
For Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.
source str | ContainerHostDataPath
isReadOnly Boolean
For Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.
source String | "Shared" | "Startup" | "VfsMounts" | "Task" | "JobPrep" | "Applications"

ContainerHostBatchBindMountEntryResponse
, ContainerHostBatchBindMountEntryResponseArgs

IsReadOnly bool
For Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.
Source string
IsReadOnly bool
For Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.
Source string
isReadOnly Boolean
For Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.
source String
isReadOnly boolean
For Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.
source string
is_read_only bool
For Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.
source str
isReadOnly Boolean
For Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.
source String

ContainerHostDataPath
, ContainerHostDataPathArgs

Shared
SharedThe path for multi-instances task to shared their files.
Startup
StartupThe path for start task.
VfsMounts
VfsMountsThe path contains all virtual file systems are mounted on this node.
Task
TaskThe task path.
JobPrep
JobPrepThe job-prep task path.
Applications
ApplicationsThe applications path.
ContainerHostDataPathShared
SharedThe path for multi-instances task to shared their files.
ContainerHostDataPathStartup
StartupThe path for start task.
ContainerHostDataPathVfsMounts
VfsMountsThe path contains all virtual file systems are mounted on this node.
ContainerHostDataPathTask
TaskThe task path.
ContainerHostDataPathJobPrep
JobPrepThe job-prep task path.
ContainerHostDataPathApplications
ApplicationsThe applications path.
Shared
SharedThe path for multi-instances task to shared their files.
Startup
StartupThe path for start task.
VfsMounts
VfsMountsThe path contains all virtual file systems are mounted on this node.
Task
TaskThe task path.
JobPrep
JobPrepThe job-prep task path.
Applications
ApplicationsThe applications path.
Shared
SharedThe path for multi-instances task to shared their files.
Startup
StartupThe path for start task.
VfsMounts
VfsMountsThe path contains all virtual file systems are mounted on this node.
Task
TaskThe task path.
JobPrep
JobPrepThe job-prep task path.
Applications
ApplicationsThe applications path.
SHARED
SharedThe path for multi-instances task to shared their files.
STARTUP
StartupThe path for start task.
VFS_MOUNTS
VfsMountsThe path contains all virtual file systems are mounted on this node.
TASK
TaskThe task path.
JOB_PREP
JobPrepThe job-prep task path.
APPLICATIONS
ApplicationsThe applications path.
"Shared"
SharedThe path for multi-instances task to shared their files.
"Startup"
StartupThe path for start task.
"VfsMounts"
VfsMountsThe path contains all virtual file systems are mounted on this node.
"Task"
TaskThe task path.
"JobPrep"
JobPrepThe job-prep task path.
"Applications"
ApplicationsThe applications path.

ContainerRegistry
, ContainerRegistryArgs

IdentityReference Pulumi.AzureNative.Batch.Inputs.ComputeNodeIdentityReference
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
Password string
RegistryServer string
If omitted, the default is "docker.io".
UserName string
IdentityReference ComputeNodeIdentityReference
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
Password string
RegistryServer string
If omitted, the default is "docker.io".
UserName string
identityReference ComputeNodeIdentityReference
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
password String
registryServer String
If omitted, the default is "docker.io".
userName String
identityReference ComputeNodeIdentityReference
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
password string
registryServer string
If omitted, the default is "docker.io".
userName string
identity_reference ComputeNodeIdentityReference
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
password str
registry_server str
If omitted, the default is "docker.io".
user_name str
identityReference Property Map
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
password String
registryServer String
If omitted, the default is "docker.io".
userName String

ContainerRegistryResponse
, ContainerRegistryResponseArgs

IdentityReference Pulumi.AzureNative.Batch.Inputs.ComputeNodeIdentityReferenceResponse
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
Password string
RegistryServer string
If omitted, the default is "docker.io".
UserName string
IdentityReference ComputeNodeIdentityReferenceResponse
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
Password string
RegistryServer string
If omitted, the default is "docker.io".
UserName string
identityReference ComputeNodeIdentityReferenceResponse
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
password String
registryServer String
If omitted, the default is "docker.io".
userName String
identityReference ComputeNodeIdentityReferenceResponse
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
password string
registryServer string
If omitted, the default is "docker.io".
userName string
identity_reference ComputeNodeIdentityReferenceResponse
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
password str
registry_server str
If omitted, the default is "docker.io".
user_name str
identityReference Property Map
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
password String
registryServer String
If omitted, the default is "docker.io".
userName String

ContainerType
, ContainerTypeArgs

DockerCompatible
DockerCompatibleA Docker compatible container technology will be used to launch the containers.
CriCompatible
CriCompatibleA CRI based technology will be used to launch the containers.
ContainerTypeDockerCompatible
DockerCompatibleA Docker compatible container technology will be used to launch the containers.
ContainerTypeCriCompatible
CriCompatibleA CRI based technology will be used to launch the containers.
DockerCompatible
DockerCompatibleA Docker compatible container technology will be used to launch the containers.
CriCompatible
CriCompatibleA CRI based technology will be used to launch the containers.
DockerCompatible
DockerCompatibleA Docker compatible container technology will be used to launch the containers.
CriCompatible
CriCompatibleA CRI based technology will be used to launch the containers.
DOCKER_COMPATIBLE
DockerCompatibleA Docker compatible container technology will be used to launch the containers.
CRI_COMPATIBLE
CriCompatibleA CRI based technology will be used to launch the containers.
"DockerCompatible"
DockerCompatibleA Docker compatible container technology will be used to launch the containers.
"CriCompatible"
CriCompatibleA CRI based technology will be used to launch the containers.

ContainerWorkingDirectory
, ContainerWorkingDirectoryArgs

TaskWorkingDirectory
TaskWorkingDirectoryUse the standard Batch service task working directory, which will contain the Task resource files populated by Batch.
ContainerImageDefault
ContainerImageDefaultUsing container image defined working directory. Beware that this directory will not contain the resource files downloaded by Batch.
ContainerWorkingDirectoryTaskWorkingDirectory
TaskWorkingDirectoryUse the standard Batch service task working directory, which will contain the Task resource files populated by Batch.
ContainerWorkingDirectoryContainerImageDefault
ContainerImageDefaultUsing container image defined working directory. Beware that this directory will not contain the resource files downloaded by Batch.
TaskWorkingDirectory
TaskWorkingDirectoryUse the standard Batch service task working directory, which will contain the Task resource files populated by Batch.
ContainerImageDefault
ContainerImageDefaultUsing container image defined working directory. Beware that this directory will not contain the resource files downloaded by Batch.
TaskWorkingDirectory
TaskWorkingDirectoryUse the standard Batch service task working directory, which will contain the Task resource files populated by Batch.
ContainerImageDefault
ContainerImageDefaultUsing container image defined working directory. Beware that this directory will not contain the resource files downloaded by Batch.
TASK_WORKING_DIRECTORY
TaskWorkingDirectoryUse the standard Batch service task working directory, which will contain the Task resource files populated by Batch.
CONTAINER_IMAGE_DEFAULT
ContainerImageDefaultUsing container image defined working directory. Beware that this directory will not contain the resource files downloaded by Batch.
"TaskWorkingDirectory"
TaskWorkingDirectoryUse the standard Batch service task working directory, which will contain the Task resource files populated by Batch.
"ContainerImageDefault"
ContainerImageDefaultUsing container image defined working directory. Beware that this directory will not contain the resource files downloaded by Batch.

DataDisk
, DataDiskArgs

DiskSizeGB This property is required. int
Lun This property is required. int
The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun. The value must be between 0 and 63, inclusive.
Caching Pulumi.AzureNative.Batch.CachingType

Values are:

none - The caching mode for the disk is not enabled. readOnly - The caching mode for the disk is read only. readWrite - The caching mode for the disk is read and write.

The default value for caching is none. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/.

StorageAccountType Pulumi.AzureNative.Batch.StorageAccountType

If omitted, the default is "Standard_LRS". Values are:

Standard_LRS - The data disk should use standard locally redundant storage. Premium_LRS - The data disk should use premium locally redundant storage.

DiskSizeGB This property is required. int
Lun This property is required. int
The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun. The value must be between 0 and 63, inclusive.
Caching CachingType

Values are:

none - The caching mode for the disk is not enabled. readOnly - The caching mode for the disk is read only. readWrite - The caching mode for the disk is read and write.

The default value for caching is none. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/.

StorageAccountType StorageAccountType

If omitted, the default is "Standard_LRS". Values are:

Standard_LRS - The data disk should use standard locally redundant storage. Premium_LRS - The data disk should use premium locally redundant storage.

diskSizeGB This property is required. Integer
lun This property is required. Integer
The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun. The value must be between 0 and 63, inclusive.
caching CachingType

Values are:

none - The caching mode for the disk is not enabled. readOnly - The caching mode for the disk is read only. readWrite - The caching mode for the disk is read and write.

The default value for caching is none. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/.

storageAccountType StorageAccountType

If omitted, the default is "Standard_LRS". Values are:

Standard_LRS - The data disk should use standard locally redundant storage. Premium_LRS - The data disk should use premium locally redundant storage.

diskSizeGB This property is required. number
lun This property is required. number
The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun. The value must be between 0 and 63, inclusive.
caching CachingType

Values are:

none - The caching mode for the disk is not enabled. readOnly - The caching mode for the disk is read only. readWrite - The caching mode for the disk is read and write.

The default value for caching is none. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/.

storageAccountType StorageAccountType

If omitted, the default is "Standard_LRS". Values are:

Standard_LRS - The data disk should use standard locally redundant storage. Premium_LRS - The data disk should use premium locally redundant storage.

disk_size_gb This property is required. int
lun This property is required. int
The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun. The value must be between 0 and 63, inclusive.
caching CachingType

Values are:

none - The caching mode for the disk is not enabled. readOnly - The caching mode for the disk is read only. readWrite - The caching mode for the disk is read and write.

The default value for caching is none. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/.

storage_account_type StorageAccountType

If omitted, the default is "Standard_LRS". Values are:

Standard_LRS - The data disk should use standard locally redundant storage. Premium_LRS - The data disk should use premium locally redundant storage.

diskSizeGB This property is required. Number
lun This property is required. Number
The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun. The value must be between 0 and 63, inclusive.
caching "None" | "ReadOnly" | "ReadWrite"

Values are:

none - The caching mode for the disk is not enabled. readOnly - The caching mode for the disk is read only. readWrite - The caching mode for the disk is read and write.

The default value for caching is none. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/.

storageAccountType "Standard_LRS" | "Premium_LRS" | "StandardSSD_LRS"

If omitted, the default is "Standard_LRS". Values are:

Standard_LRS - The data disk should use standard locally redundant storage. Premium_LRS - The data disk should use premium locally redundant storage.

DataDiskResponse
, DataDiskResponseArgs

DiskSizeGB This property is required. int
Lun This property is required. int
The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun. The value must be between 0 and 63, inclusive.
Caching string

Values are:

none - The caching mode for the disk is not enabled. readOnly - The caching mode for the disk is read only. readWrite - The caching mode for the disk is read and write.

The default value for caching is none. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/.

StorageAccountType string

If omitted, the default is "Standard_LRS". Values are:

Standard_LRS - The data disk should use standard locally redundant storage. Premium_LRS - The data disk should use premium locally redundant storage.

DiskSizeGB This property is required. int
Lun This property is required. int
The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun. The value must be between 0 and 63, inclusive.
Caching string

Values are:

none - The caching mode for the disk is not enabled. readOnly - The caching mode for the disk is read only. readWrite - The caching mode for the disk is read and write.

The default value for caching is none. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/.

StorageAccountType string

If omitted, the default is "Standard_LRS". Values are:

Standard_LRS - The data disk should use standard locally redundant storage. Premium_LRS - The data disk should use premium locally redundant storage.

diskSizeGB This property is required. Integer
lun This property is required. Integer
The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun. The value must be between 0 and 63, inclusive.
caching String

Values are:

none - The caching mode for the disk is not enabled. readOnly - The caching mode for the disk is read only. readWrite - The caching mode for the disk is read and write.

The default value for caching is none. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/.

storageAccountType String

If omitted, the default is "Standard_LRS". Values are:

Standard_LRS - The data disk should use standard locally redundant storage. Premium_LRS - The data disk should use premium locally redundant storage.

diskSizeGB This property is required. number
lun This property is required. number
The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun. The value must be between 0 and 63, inclusive.
caching string

Values are:

none - The caching mode for the disk is not enabled. readOnly - The caching mode for the disk is read only. readWrite - The caching mode for the disk is read and write.

The default value for caching is none. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/.

storageAccountType string

If omitted, the default is "Standard_LRS". Values are:

Standard_LRS - The data disk should use standard locally redundant storage. Premium_LRS - The data disk should use premium locally redundant storage.

disk_size_gb This property is required. int
lun This property is required. int
The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun. The value must be between 0 and 63, inclusive.
caching str

Values are:

none - The caching mode for the disk is not enabled. readOnly - The caching mode for the disk is read only. readWrite - The caching mode for the disk is read and write.

The default value for caching is none. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/.

storage_account_type str

If omitted, the default is "Standard_LRS". Values are:

Standard_LRS - The data disk should use standard locally redundant storage. Premium_LRS - The data disk should use premium locally redundant storage.

diskSizeGB This property is required. Number
lun This property is required. Number
The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun. The value must be between 0 and 63, inclusive.
caching String

Values are:

none - The caching mode for the disk is not enabled. readOnly - The caching mode for the disk is read only. readWrite - The caching mode for the disk is read and write.

The default value for caching is none. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/.

storageAccountType String

If omitted, the default is "Standard_LRS". Values are:

Standard_LRS - The data disk should use standard locally redundant storage. Premium_LRS - The data disk should use premium locally redundant storage.

DeploymentConfiguration
, DeploymentConfigurationArgs

DeploymentConfigurationResponse
, DeploymentConfigurationResponseArgs

DiffDiskPlacement
, DiffDiskPlacementArgs

CacheDisk
CacheDiskThe Ephemeral OS Disk is stored on the VM cache.
DiffDiskPlacementCacheDisk
CacheDiskThe Ephemeral OS Disk is stored on the VM cache.
CacheDisk
CacheDiskThe Ephemeral OS Disk is stored on the VM cache.
CacheDisk
CacheDiskThe Ephemeral OS Disk is stored on the VM cache.
CACHE_DISK
CacheDiskThe Ephemeral OS Disk is stored on the VM cache.
"CacheDisk"
CacheDiskThe Ephemeral OS Disk is stored on the VM cache.

DiffDiskSettings
, DiffDiskSettingsArgs

Placement Pulumi.AzureNative.Batch.DiffDiskPlacement
This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
Placement DiffDiskPlacement
This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
placement DiffDiskPlacement
This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
placement DiffDiskPlacement
This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
placement DiffDiskPlacement
This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
placement "CacheDisk"
This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.

DiffDiskSettingsResponse
, DiffDiskSettingsResponseArgs

Placement string
This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
Placement string
This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
placement String
This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
placement string
This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
placement str
This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
placement String
This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.

DiskEncryptionConfiguration
, DiskEncryptionConfigurationArgs

Targets List<Pulumi.AzureNative.Batch.DiskEncryptionTarget>
On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
Targets []DiskEncryptionTarget
On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
targets List<DiskEncryptionTarget>
On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
targets DiskEncryptionTarget[]
On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
targets Sequence[DiskEncryptionTarget]
On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
targets List<"OsDisk" | "TemporaryDisk">
On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.

DiskEncryptionConfigurationResponse
, DiskEncryptionConfigurationResponseArgs

Targets List<string>
On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
Targets []string
On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
targets List<String>
On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
targets string[]
On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
targets Sequence[str]
On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
targets List<String>
On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.

DiskEncryptionTarget
, DiskEncryptionTargetArgs

OsDisk
OsDiskThe OS Disk on the compute node is encrypted.
TemporaryDisk
TemporaryDiskThe temporary disk on the compute node is encrypted. On Linux this encryption applies to other partitions (such as those on mounted data disks) when encryption occurs at boot time.
DiskEncryptionTargetOsDisk
OsDiskThe OS Disk on the compute node is encrypted.
DiskEncryptionTargetTemporaryDisk
TemporaryDiskThe temporary disk on the compute node is encrypted. On Linux this encryption applies to other partitions (such as those on mounted data disks) when encryption occurs at boot time.
OsDisk
OsDiskThe OS Disk on the compute node is encrypted.
TemporaryDisk
TemporaryDiskThe temporary disk on the compute node is encrypted. On Linux this encryption applies to other partitions (such as those on mounted data disks) when encryption occurs at boot time.
OsDisk
OsDiskThe OS Disk on the compute node is encrypted.
TemporaryDisk
TemporaryDiskThe temporary disk on the compute node is encrypted. On Linux this encryption applies to other partitions (such as those on mounted data disks) when encryption occurs at boot time.
OS_DISK
OsDiskThe OS Disk on the compute node is encrypted.
TEMPORARY_DISK
TemporaryDiskThe temporary disk on the compute node is encrypted. On Linux this encryption applies to other partitions (such as those on mounted data disks) when encryption occurs at boot time.
"OsDisk"
OsDiskThe OS Disk on the compute node is encrypted.
"TemporaryDisk"
TemporaryDiskThe temporary disk on the compute node is encrypted. On Linux this encryption applies to other partitions (such as those on mounted data disks) when encryption occurs at boot time.

DynamicVNetAssignmentScope
, DynamicVNetAssignmentScopeArgs

None
noneNo dynamic VNet assignment is enabled.
Job
jobDynamic VNet assignment is done per-job. If this value is set, the network configuration subnet ID must also be set. This feature requires approval before use, please contact support
DynamicVNetAssignmentScopeNone
noneNo dynamic VNet assignment is enabled.
DynamicVNetAssignmentScopeJob
jobDynamic VNet assignment is done per-job. If this value is set, the network configuration subnet ID must also be set. This feature requires approval before use, please contact support
None
noneNo dynamic VNet assignment is enabled.
Job
jobDynamic VNet assignment is done per-job. If this value is set, the network configuration subnet ID must also be set. This feature requires approval before use, please contact support
None
noneNo dynamic VNet assignment is enabled.
Job
jobDynamic VNet assignment is done per-job. If this value is set, the network configuration subnet ID must also be set. This feature requires approval before use, please contact support
NONE
noneNo dynamic VNet assignment is enabled.
JOB
jobDynamic VNet assignment is done per-job. If this value is set, the network configuration subnet ID must also be set. This feature requires approval before use, please contact support
"none"
noneNo dynamic VNet assignment is enabled.
"job"
jobDynamic VNet assignment is done per-job. If this value is set, the network configuration subnet ID must also be set. This feature requires approval before use, please contact support

ElevationLevel
, ElevationLevelArgs

NonAdmin
NonAdminThe user is a standard user without elevated access.
Admin
AdminThe user is a user with elevated access and operates with full Administrator permissions.
ElevationLevelNonAdmin
NonAdminThe user is a standard user without elevated access.
ElevationLevelAdmin
AdminThe user is a user with elevated access and operates with full Administrator permissions.
NonAdmin
NonAdminThe user is a standard user without elevated access.
Admin
AdminThe user is a user with elevated access and operates with full Administrator permissions.
NonAdmin
NonAdminThe user is a standard user without elevated access.
Admin
AdminThe user is a user with elevated access and operates with full Administrator permissions.
NON_ADMIN
NonAdminThe user is a standard user without elevated access.
ADMIN
AdminThe user is a user with elevated access and operates with full Administrator permissions.
"NonAdmin"
NonAdminThe user is a standard user without elevated access.
"Admin"
AdminThe user is a user with elevated access and operates with full Administrator permissions.

EnvironmentSetting
, EnvironmentSettingArgs

Name This property is required. string
Value string
Name This property is required. string
Value string
name This property is required. String
value String
name This property is required. string
value string
name This property is required. str
value str
name This property is required. String
value String

EnvironmentSettingResponse
, EnvironmentSettingResponseArgs

Name This property is required. string
Value string
Name This property is required. string
Value string
name This property is required. String
value String
name This property is required. string
value string
name This property is required. str
value str
name This property is required. String
value String

FixedScaleSettings
, FixedScaleSettingsArgs

NodeDeallocationOption Pulumi.AzureNative.Batch.ComputeNodeDeallocationOption
If omitted, the default value is Requeue.
ResizeTimeout string
The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
TargetDedicatedNodes int
At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
TargetLowPriorityNodes int
At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
NodeDeallocationOption ComputeNodeDeallocationOption
If omitted, the default value is Requeue.
ResizeTimeout string
The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
TargetDedicatedNodes int
At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
TargetLowPriorityNodes int
At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
nodeDeallocationOption ComputeNodeDeallocationOption
If omitted, the default value is Requeue.
resizeTimeout String
The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
targetDedicatedNodes Integer
At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
targetLowPriorityNodes Integer
At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
nodeDeallocationOption ComputeNodeDeallocationOption
If omitted, the default value is Requeue.
resizeTimeout string
The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
targetDedicatedNodes number
At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
targetLowPriorityNodes number
At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
node_deallocation_option ComputeNodeDeallocationOption
If omitted, the default value is Requeue.
resize_timeout str
The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
target_dedicated_nodes int
At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
target_low_priority_nodes int
At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
nodeDeallocationOption "Requeue" | "Terminate" | "TaskCompletion" | "RetainedData"
If omitted, the default value is Requeue.
resizeTimeout String
The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
targetDedicatedNodes Number
At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
targetLowPriorityNodes Number
At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.

FixedScaleSettingsResponse
, FixedScaleSettingsResponseArgs

ResizeTimeout string
The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
TargetDedicatedNodes int
At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
TargetLowPriorityNodes int
At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
ResizeTimeout string
The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
TargetDedicatedNodes int
At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
TargetLowPriorityNodes int
At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
resizeTimeout String
The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
targetDedicatedNodes Integer
At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
targetLowPriorityNodes Integer
At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
resizeTimeout string
The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
targetDedicatedNodes number
At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
targetLowPriorityNodes number
At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
resize_timeout str
The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
target_dedicated_nodes int
At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
target_low_priority_nodes int
At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
resizeTimeout String
The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
targetDedicatedNodes Number
At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
targetLowPriorityNodes Number
At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.

IPAddressProvisioningType
, IPAddressProvisioningTypeArgs

BatchManaged
BatchManagedA public IP will be created and managed by Batch. There may be multiple public IPs depending on the size of the Pool.
UserManaged
UserManagedPublic IPs are provided by the user and will be used to provision the Compute Nodes.
NoPublicIPAddresses
NoPublicIPAddressesNo public IP Address will be created for the Compute Nodes in the Pool.
IPAddressProvisioningTypeBatchManaged
BatchManagedA public IP will be created and managed by Batch. There may be multiple public IPs depending on the size of the Pool.
IPAddressProvisioningTypeUserManaged
UserManagedPublic IPs are provided by the user and will be used to provision the Compute Nodes.
IPAddressProvisioningTypeNoPublicIPAddresses
NoPublicIPAddressesNo public IP Address will be created for the Compute Nodes in the Pool.
BatchManaged
BatchManagedA public IP will be created and managed by Batch. There may be multiple public IPs depending on the size of the Pool.
UserManaged
UserManagedPublic IPs are provided by the user and will be used to provision the Compute Nodes.
NoPublicIPAddresses
NoPublicIPAddressesNo public IP Address will be created for the Compute Nodes in the Pool.
BatchManaged
BatchManagedA public IP will be created and managed by Batch. There may be multiple public IPs depending on the size of the Pool.
UserManaged
UserManagedPublic IPs are provided by the user and will be used to provision the Compute Nodes.
NoPublicIPAddresses
NoPublicIPAddressesNo public IP Address will be created for the Compute Nodes in the Pool.
BATCH_MANAGED
BatchManagedA public IP will be created and managed by Batch. There may be multiple public IPs depending on the size of the Pool.
USER_MANAGED
UserManagedPublic IPs are provided by the user and will be used to provision the Compute Nodes.
NO_PUBLIC_IP_ADDRESSES
NoPublicIPAddressesNo public IP Address will be created for the Compute Nodes in the Pool.
"BatchManaged"
BatchManagedA public IP will be created and managed by Batch. There may be multiple public IPs depending on the size of the Pool.
"UserManaged"
UserManagedPublic IPs are provided by the user and will be used to provision the Compute Nodes.
"NoPublicIPAddresses"
NoPublicIPAddressesNo public IP Address will be created for the Compute Nodes in the Pool.

ImageReference
, ImageReferenceArgs

CommunityGalleryImageId string
This property is mutually exclusive with other properties and can be fetched from community gallery image GET call.
Id string
This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
Offer string
For example, UbuntuServer or WindowsServer.
Publisher string
For example, Canonical or MicrosoftWindowsServer.
SharedGalleryImageId string
This property is mutually exclusive with other properties and can be fetched from shared gallery image GET call.
Sku string
For example, 18.04-LTS or 2022-datacenter.
Version string
A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
CommunityGalleryImageId string
This property is mutually exclusive with other properties and can be fetched from community gallery image GET call.
Id string
This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
Offer string
For example, UbuntuServer or WindowsServer.
Publisher string
For example, Canonical or MicrosoftWindowsServer.
SharedGalleryImageId string
This property is mutually exclusive with other properties and can be fetched from shared gallery image GET call.
Sku string
For example, 18.04-LTS or 2022-datacenter.
Version string
A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
communityGalleryImageId String
This property is mutually exclusive with other properties and can be fetched from community gallery image GET call.
id String
This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
offer String
For example, UbuntuServer or WindowsServer.
publisher String
For example, Canonical or MicrosoftWindowsServer.
sharedGalleryImageId String
This property is mutually exclusive with other properties and can be fetched from shared gallery image GET call.
sku String
For example, 18.04-LTS or 2022-datacenter.
version String
A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
communityGalleryImageId string
This property is mutually exclusive with other properties and can be fetched from community gallery image GET call.
id string
This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
offer string
For example, UbuntuServer or WindowsServer.
publisher string
For example, Canonical or MicrosoftWindowsServer.
sharedGalleryImageId string
This property is mutually exclusive with other properties and can be fetched from shared gallery image GET call.
sku string
For example, 18.04-LTS or 2022-datacenter.
version string
A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
community_gallery_image_id str
This property is mutually exclusive with other properties and can be fetched from community gallery image GET call.
id str
This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
offer str
For example, UbuntuServer or WindowsServer.
publisher str
For example, Canonical or MicrosoftWindowsServer.
shared_gallery_image_id str
This property is mutually exclusive with other properties and can be fetched from shared gallery image GET call.
sku str
For example, 18.04-LTS or 2022-datacenter.
version str
A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
communityGalleryImageId String
This property is mutually exclusive with other properties and can be fetched from community gallery image GET call.
id String
This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
offer String
For example, UbuntuServer or WindowsServer.
publisher String
For example, Canonical or MicrosoftWindowsServer.
sharedGalleryImageId String
This property is mutually exclusive with other properties and can be fetched from shared gallery image GET call.
sku String
For example, 18.04-LTS or 2022-datacenter.
version String
A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.

ImageReferenceResponse
, ImageReferenceResponseArgs

CommunityGalleryImageId string
This property is mutually exclusive with other properties and can be fetched from community gallery image GET call.
Id string
This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
Offer string
For example, UbuntuServer or WindowsServer.
Publisher string
For example, Canonical or MicrosoftWindowsServer.
SharedGalleryImageId string
This property is mutually exclusive with other properties and can be fetched from shared gallery image GET call.
Sku string
For example, 18.04-LTS or 2022-datacenter.
Version string
A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
CommunityGalleryImageId string
This property is mutually exclusive with other properties and can be fetched from community gallery image GET call.
Id string
This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
Offer string
For example, UbuntuServer or WindowsServer.
Publisher string
For example, Canonical or MicrosoftWindowsServer.
SharedGalleryImageId string
This property is mutually exclusive with other properties and can be fetched from shared gallery image GET call.
Sku string
For example, 18.04-LTS or 2022-datacenter.
Version string
A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
communityGalleryImageId String
This property is mutually exclusive with other properties and can be fetched from community gallery image GET call.
id String
This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
offer String
For example, UbuntuServer or WindowsServer.
publisher String
For example, Canonical or MicrosoftWindowsServer.
sharedGalleryImageId String
This property is mutually exclusive with other properties and can be fetched from shared gallery image GET call.
sku String
For example, 18.04-LTS or 2022-datacenter.
version String
A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
communityGalleryImageId string
This property is mutually exclusive with other properties and can be fetched from community gallery image GET call.
id string
This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
offer string
For example, UbuntuServer or WindowsServer.
publisher string
For example, Canonical or MicrosoftWindowsServer.
sharedGalleryImageId string
This property is mutually exclusive with other properties and can be fetched from shared gallery image GET call.
sku string
For example, 18.04-LTS or 2022-datacenter.
version string
A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
community_gallery_image_id str
This property is mutually exclusive with other properties and can be fetched from community gallery image GET call.
id str
This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
offer str
For example, UbuntuServer or WindowsServer.
publisher str
For example, Canonical or MicrosoftWindowsServer.
shared_gallery_image_id str
This property is mutually exclusive with other properties and can be fetched from shared gallery image GET call.
sku str
For example, 18.04-LTS or 2022-datacenter.
version str
A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
communityGalleryImageId String
This property is mutually exclusive with other properties and can be fetched from community gallery image GET call.
id String
This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
offer String
For example, UbuntuServer or WindowsServer.
publisher String
For example, Canonical or MicrosoftWindowsServer.
sharedGalleryImageId String
This property is mutually exclusive with other properties and can be fetched from shared gallery image GET call.
sku String
For example, 18.04-LTS or 2022-datacenter.
version String
A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.

InboundEndpointProtocol
, InboundEndpointProtocolArgs

TCP
TCPUse TCP for the endpoint.
UDP
UDPUse UDP for the endpoint.
InboundEndpointProtocolTCP
TCPUse TCP for the endpoint.
InboundEndpointProtocolUDP
UDPUse UDP for the endpoint.
TCP
TCPUse TCP for the endpoint.
UDP
UDPUse UDP for the endpoint.
TCP
TCPUse TCP for the endpoint.
UDP
UDPUse UDP for the endpoint.
TCP
TCPUse TCP for the endpoint.
UDP
UDPUse UDP for the endpoint.
"TCP"
TCPUse TCP for the endpoint.
"UDP"
UDPUse UDP for the endpoint.

InboundNatPool
, InboundNatPoolArgs

BackendPort This property is required. int
This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400.
FrontendPortRangeEnd This property is required. int
Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
FrontendPortRangeStart This property is required. int
Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
Name This property is required. string
The name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400.
Protocol This property is required. Pulumi.AzureNative.Batch.InboundEndpointProtocol
NetworkSecurityGroupRules List<Pulumi.AzureNative.Batch.Inputs.NetworkSecurityGroupRule>
The maximum number of rules that can be specified across all the endpoints on a Batch pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.
BackendPort This property is required. int
This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400.
FrontendPortRangeEnd This property is required. int
Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
FrontendPortRangeStart This property is required. int
Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
Name This property is required. string
The name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400.
Protocol This property is required. InboundEndpointProtocol
NetworkSecurityGroupRules []NetworkSecurityGroupRule
The maximum number of rules that can be specified across all the endpoints on a Batch pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.
backendPort This property is required. Integer
This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400.
frontendPortRangeEnd This property is required. Integer
Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
frontendPortRangeStart This property is required. Integer
Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
name This property is required. String
The name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400.
protocol This property is required. InboundEndpointProtocol
networkSecurityGroupRules List<NetworkSecurityGroupRule>
The maximum number of rules that can be specified across all the endpoints on a Batch pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.
backendPort This property is required. number
This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400.
frontendPortRangeEnd This property is required. number
Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
frontendPortRangeStart This property is required. number
Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
name This property is required. string
The name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400.
protocol This property is required. InboundEndpointProtocol
networkSecurityGroupRules NetworkSecurityGroupRule[]
The maximum number of rules that can be specified across all the endpoints on a Batch pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.
backend_port This property is required. int
This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400.
frontend_port_range_end This property is required. int
Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
frontend_port_range_start This property is required. int
Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
name This property is required. str
The name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400.
protocol This property is required. InboundEndpointProtocol
network_security_group_rules Sequence[NetworkSecurityGroupRule]
The maximum number of rules that can be specified across all the endpoints on a Batch pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.
backendPort This property is required. Number
This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400.
frontendPortRangeEnd This property is required. Number
Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
frontendPortRangeStart This property is required. Number
Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
name This property is required. String
The name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400.
protocol This property is required. "TCP" | "UDP"
networkSecurityGroupRules List<Property Map>
The maximum number of rules that can be specified across all the endpoints on a Batch pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.

InboundNatPoolResponse
, InboundNatPoolResponseArgs

BackendPort This property is required. int
This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400.
FrontendPortRangeEnd This property is required. int
Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
FrontendPortRangeStart This property is required. int
Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
Name This property is required. string
The name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400.
Protocol This property is required. string
NetworkSecurityGroupRules List<Pulumi.AzureNative.Batch.Inputs.NetworkSecurityGroupRuleResponse>
The maximum number of rules that can be specified across all the endpoints on a Batch pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.
BackendPort This property is required. int
This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400.
FrontendPortRangeEnd This property is required. int
Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
FrontendPortRangeStart This property is required. int
Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
Name This property is required. string
The name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400.
Protocol This property is required. string
NetworkSecurityGroupRules []NetworkSecurityGroupRuleResponse
The maximum number of rules that can be specified across all the endpoints on a Batch pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.
backendPort This property is required. Integer
This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400.
frontendPortRangeEnd This property is required. Integer
Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
frontendPortRangeStart This property is required. Integer
Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
name This property is required. String
The name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400.
protocol This property is required. String
networkSecurityGroupRules List<NetworkSecurityGroupRuleResponse>
The maximum number of rules that can be specified across all the endpoints on a Batch pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.
backendPort This property is required. number
This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400.
frontendPortRangeEnd This property is required. number
Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
frontendPortRangeStart This property is required. number
Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
name This property is required. string
The name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400.
protocol This property is required. string
networkSecurityGroupRules NetworkSecurityGroupRuleResponse[]
The maximum number of rules that can be specified across all the endpoints on a Batch pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.
backend_port This property is required. int
This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400.
frontend_port_range_end This property is required. int
Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
frontend_port_range_start This property is required. int
Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
name This property is required. str
The name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400.
protocol This property is required. str
network_security_group_rules Sequence[NetworkSecurityGroupRuleResponse]
The maximum number of rules that can be specified across all the endpoints on a Batch pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.
backendPort This property is required. Number
This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400.
frontendPortRangeEnd This property is required. Number
Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
frontendPortRangeStart This property is required. Number
Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
name This property is required. String
The name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400.
protocol This property is required. String
networkSecurityGroupRules List<Property Map>
The maximum number of rules that can be specified across all the endpoints on a Batch pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.

InterNodeCommunicationState
, InterNodeCommunicationStateArgs

Enabled
EnabledEnable network communication between virtual machines.
Disabled
DisabledDisable network communication between virtual machines.
InterNodeCommunicationStateEnabled
EnabledEnable network communication between virtual machines.
InterNodeCommunicationStateDisabled
DisabledDisable network communication between virtual machines.
Enabled
EnabledEnable network communication between virtual machines.
Disabled
DisabledDisable network communication between virtual machines.
Enabled
EnabledEnable network communication between virtual machines.
Disabled
DisabledDisable network communication between virtual machines.
ENABLED
EnabledEnable network communication between virtual machines.
DISABLED
DisabledDisable network communication between virtual machines.
"Enabled"
EnabledEnable network communication between virtual machines.
"Disabled"
DisabledDisable network communication between virtual machines.

LinuxUserConfiguration
, LinuxUserConfigurationArgs

Gid int
The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
SshPrivateKey string
The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
Uid int
The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
Gid int
The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
SshPrivateKey string
The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
Uid int
The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
gid Integer
The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
sshPrivateKey String
The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
uid Integer
The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
gid number
The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
sshPrivateKey string
The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
uid number
The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
gid int
The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
ssh_private_key str
The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
uid int
The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
gid Number
The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
sshPrivateKey String
The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
uid Number
The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.

LinuxUserConfigurationResponse
, LinuxUserConfigurationResponseArgs

Gid int
The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
SshPrivateKey string
The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
Uid int
The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
Gid int
The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
SshPrivateKey string
The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
Uid int
The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
gid Integer
The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
sshPrivateKey String
The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
uid Integer
The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
gid number
The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
sshPrivateKey string
The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
uid number
The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
gid int
The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
ssh_private_key str
The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
uid int
The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
gid Number
The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
sshPrivateKey String
The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
uid Number
The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.

LoginMode
, LoginModeArgs

Batch
BatchThe LOGON32_LOGON_BATCH Win32 login mode. The batch login mode is recommended for long running parallel processes.
Interactive
InteractiveThe LOGON32_LOGON_INTERACTIVE Win32 login mode. Some applications require having permissions associated with the interactive login mode. If this is the case for an application used in your task, then this option is recommended.
LoginModeBatch
BatchThe LOGON32_LOGON_BATCH Win32 login mode. The batch login mode is recommended for long running parallel processes.
LoginModeInteractive
InteractiveThe LOGON32_LOGON_INTERACTIVE Win32 login mode. Some applications require having permissions associated with the interactive login mode. If this is the case for an application used in your task, then this option is recommended.
Batch
BatchThe LOGON32_LOGON_BATCH Win32 login mode. The batch login mode is recommended for long running parallel processes.
Interactive
InteractiveThe LOGON32_LOGON_INTERACTIVE Win32 login mode. Some applications require having permissions associated with the interactive login mode. If this is the case for an application used in your task, then this option is recommended.
Batch
BatchThe LOGON32_LOGON_BATCH Win32 login mode. The batch login mode is recommended for long running parallel processes.
Interactive
InteractiveThe LOGON32_LOGON_INTERACTIVE Win32 login mode. Some applications require having permissions associated with the interactive login mode. If this is the case for an application used in your task, then this option is recommended.
BATCH
BatchThe LOGON32_LOGON_BATCH Win32 login mode. The batch login mode is recommended for long running parallel processes.
INTERACTIVE
InteractiveThe LOGON32_LOGON_INTERACTIVE Win32 login mode. Some applications require having permissions associated with the interactive login mode. If this is the case for an application used in your task, then this option is recommended.
"Batch"
BatchThe LOGON32_LOGON_BATCH Win32 login mode. The batch login mode is recommended for long running parallel processes.
"Interactive"
InteractiveThe LOGON32_LOGON_INTERACTIVE Win32 login mode. Some applications require having permissions associated with the interactive login mode. If this is the case for an application used in your task, then this option is recommended.

ManagedDisk
, ManagedDiskArgs

SecurityProfile Pulumi.AzureNative.Batch.Inputs.VMDiskSecurityProfile
Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.
StorageAccountType Pulumi.AzureNative.Batch.StorageAccountType
SecurityProfile VMDiskSecurityProfile
Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.
StorageAccountType StorageAccountType
securityProfile VMDiskSecurityProfile
Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.
storageAccountType StorageAccountType
securityProfile VMDiskSecurityProfile
Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.
storageAccountType StorageAccountType
security_profile VMDiskSecurityProfile
Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.
storage_account_type StorageAccountType
securityProfile Property Map
Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.
storageAccountType "Standard_LRS" | "Premium_LRS" | "StandardSSD_LRS"

ManagedDiskResponse
, ManagedDiskResponseArgs

SecurityProfile Pulumi.AzureNative.Batch.Inputs.VMDiskSecurityProfileResponse
Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.
StorageAccountType string
SecurityProfile VMDiskSecurityProfileResponse
Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.
StorageAccountType string
securityProfile VMDiskSecurityProfileResponse
Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.
storageAccountType String
securityProfile VMDiskSecurityProfileResponse
Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.
storageAccountType string
security_profile VMDiskSecurityProfileResponse
Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.
storage_account_type str
securityProfile Property Map
Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.
storageAccountType String

MetadataItem
, MetadataItemArgs

Name This property is required. string
Value This property is required. string
Name This property is required. string
Value This property is required. string
name This property is required. String
value This property is required. String
name This property is required. string
value This property is required. string
name This property is required. str
value This property is required. str
name This property is required. String
value This property is required. String

MetadataItemResponse
, MetadataItemResponseArgs

Name This property is required. string
Value This property is required. string
Name This property is required. string
Value This property is required. string
name This property is required. String
value This property is required. String
name This property is required. string
value This property is required. string
name This property is required. str
value This property is required. str
name This property is required. String
value This property is required. String

MountConfiguration
, MountConfigurationArgs

AzureBlobFileSystemConfiguration Pulumi.AzureNative.Batch.Inputs.AzureBlobFileSystemConfiguration
This property is mutually exclusive with all other properties.
AzureFileShareConfiguration Pulumi.AzureNative.Batch.Inputs.AzureFileShareConfiguration
This property is mutually exclusive with all other properties.
CifsMountConfiguration Pulumi.AzureNative.Batch.Inputs.CIFSMountConfiguration
This property is mutually exclusive with all other properties.
NfsMountConfiguration Pulumi.AzureNative.Batch.Inputs.NFSMountConfiguration
This property is mutually exclusive with all other properties.
AzureBlobFileSystemConfiguration AzureBlobFileSystemConfiguration
This property is mutually exclusive with all other properties.
AzureFileShareConfiguration AzureFileShareConfiguration
This property is mutually exclusive with all other properties.
CifsMountConfiguration CIFSMountConfiguration
This property is mutually exclusive with all other properties.
NfsMountConfiguration NFSMountConfiguration
This property is mutually exclusive with all other properties.
azureBlobFileSystemConfiguration AzureBlobFileSystemConfiguration
This property is mutually exclusive with all other properties.
azureFileShareConfiguration AzureFileShareConfiguration
This property is mutually exclusive with all other properties.
cifsMountConfiguration CIFSMountConfiguration
This property is mutually exclusive with all other properties.
nfsMountConfiguration NFSMountConfiguration
This property is mutually exclusive with all other properties.
azureBlobFileSystemConfiguration AzureBlobFileSystemConfiguration
This property is mutually exclusive with all other properties.
azureFileShareConfiguration AzureFileShareConfiguration
This property is mutually exclusive with all other properties.
cifsMountConfiguration CIFSMountConfiguration
This property is mutually exclusive with all other properties.
nfsMountConfiguration NFSMountConfiguration
This property is mutually exclusive with all other properties.
azure_blob_file_system_configuration AzureBlobFileSystemConfiguration
This property is mutually exclusive with all other properties.
azure_file_share_configuration AzureFileShareConfiguration
This property is mutually exclusive with all other properties.
cifs_mount_configuration CIFSMountConfiguration
This property is mutually exclusive with all other properties.
nfs_mount_configuration NFSMountConfiguration
This property is mutually exclusive with all other properties.
azureBlobFileSystemConfiguration Property Map
This property is mutually exclusive with all other properties.
azureFileShareConfiguration Property Map
This property is mutually exclusive with all other properties.
cifsMountConfiguration Property Map
This property is mutually exclusive with all other properties.
nfsMountConfiguration Property Map
This property is mutually exclusive with all other properties.

MountConfigurationResponse
, MountConfigurationResponseArgs

AzureBlobFileSystemConfiguration Pulumi.AzureNative.Batch.Inputs.AzureBlobFileSystemConfigurationResponse
This property is mutually exclusive with all other properties.
AzureFileShareConfiguration Pulumi.AzureNative.Batch.Inputs.AzureFileShareConfigurationResponse
This property is mutually exclusive with all other properties.
CifsMountConfiguration Pulumi.AzureNative.Batch.Inputs.CIFSMountConfigurationResponse
This property is mutually exclusive with all other properties.
NfsMountConfiguration Pulumi.AzureNative.Batch.Inputs.NFSMountConfigurationResponse
This property is mutually exclusive with all other properties.
AzureBlobFileSystemConfiguration AzureBlobFileSystemConfigurationResponse
This property is mutually exclusive with all other properties.
AzureFileShareConfiguration AzureFileShareConfigurationResponse
This property is mutually exclusive with all other properties.
CifsMountConfiguration CIFSMountConfigurationResponse
This property is mutually exclusive with all other properties.
NfsMountConfiguration NFSMountConfigurationResponse
This property is mutually exclusive with all other properties.
azureBlobFileSystemConfiguration AzureBlobFileSystemConfigurationResponse
This property is mutually exclusive with all other properties.
azureFileShareConfiguration AzureFileShareConfigurationResponse
This property is mutually exclusive with all other properties.
cifsMountConfiguration CIFSMountConfigurationResponse
This property is mutually exclusive with all other properties.
nfsMountConfiguration NFSMountConfigurationResponse
This property is mutually exclusive with all other properties.
azureBlobFileSystemConfiguration AzureBlobFileSystemConfigurationResponse
This property is mutually exclusive with all other properties.
azureFileShareConfiguration AzureFileShareConfigurationResponse
This property is mutually exclusive with all other properties.
cifsMountConfiguration CIFSMountConfigurationResponse
This property is mutually exclusive with all other properties.
nfsMountConfiguration NFSMountConfigurationResponse
This property is mutually exclusive with all other properties.
azure_blob_file_system_configuration AzureBlobFileSystemConfigurationResponse
This property is mutually exclusive with all other properties.
azure_file_share_configuration AzureFileShareConfigurationResponse
This property is mutually exclusive with all other properties.
cifs_mount_configuration CIFSMountConfigurationResponse
This property is mutually exclusive with all other properties.
nfs_mount_configuration NFSMountConfigurationResponse
This property is mutually exclusive with all other properties.
azureBlobFileSystemConfiguration Property Map
This property is mutually exclusive with all other properties.
azureFileShareConfiguration Property Map
This property is mutually exclusive with all other properties.
cifsMountConfiguration Property Map
This property is mutually exclusive with all other properties.
nfsMountConfiguration Property Map
This property is mutually exclusive with all other properties.

NFSMountConfiguration
, NFSMountConfigurationArgs

RelativeMountPath This property is required. string
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
Source This property is required. string
MountOptions string
These are 'net use' options in Windows and 'mount' options in Linux.
RelativeMountPath This property is required. string
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
Source This property is required. string
MountOptions string
These are 'net use' options in Windows and 'mount' options in Linux.
relativeMountPath This property is required. String
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
source This property is required. String
mountOptions String
These are 'net use' options in Windows and 'mount' options in Linux.
relativeMountPath This property is required. string
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
source This property is required. string
mountOptions string
These are 'net use' options in Windows and 'mount' options in Linux.
relative_mount_path This property is required. str
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
source This property is required. str
mount_options str
These are 'net use' options in Windows and 'mount' options in Linux.
relativeMountPath This property is required. String
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
source This property is required. String
mountOptions String
These are 'net use' options in Windows and 'mount' options in Linux.

NFSMountConfigurationResponse
, NFSMountConfigurationResponseArgs

RelativeMountPath This property is required. string
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
Source This property is required. string
MountOptions string
These are 'net use' options in Windows and 'mount' options in Linux.
RelativeMountPath This property is required. string
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
Source This property is required. string
MountOptions string
These are 'net use' options in Windows and 'mount' options in Linux.
relativeMountPath This property is required. String
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
source This property is required. String
mountOptions String
These are 'net use' options in Windows and 'mount' options in Linux.
relativeMountPath This property is required. string
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
source This property is required. string
mountOptions string
These are 'net use' options in Windows and 'mount' options in Linux.
relative_mount_path This property is required. str
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
source This property is required. str
mount_options str
These are 'net use' options in Windows and 'mount' options in Linux.
relativeMountPath This property is required. String
All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
source This property is required. String
mountOptions String
These are 'net use' options in Windows and 'mount' options in Linux.

NetworkConfiguration
, NetworkConfigurationArgs

DynamicVnetAssignmentScope Pulumi.AzureNative.Batch.DynamicVNetAssignmentScope
EnableAcceleratedNetworking bool
Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, which may lead to improved networking performance. For more details, see: https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview.
EndpointConfiguration Pulumi.AzureNative.Batch.Inputs.PoolEndpointConfiguration
PublicIPAddressConfiguration Pulumi.AzureNative.Batch.Inputs.PublicIPAddressConfiguration
The public IP Address configuration of the networking configuration of a Pool.
SubnetId string
The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration
DynamicVnetAssignmentScope DynamicVNetAssignmentScope
EnableAcceleratedNetworking bool
Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, which may lead to improved networking performance. For more details, see: https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview.
EndpointConfiguration PoolEndpointConfiguration
PublicIPAddressConfiguration PublicIPAddressConfiguration
The public IP Address configuration of the networking configuration of a Pool.
SubnetId string
The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration
dynamicVnetAssignmentScope DynamicVNetAssignmentScope
enableAcceleratedNetworking Boolean
Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, which may lead to improved networking performance. For more details, see: https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview.
endpointConfiguration PoolEndpointConfiguration
publicIPAddressConfiguration PublicIPAddressConfiguration
The public IP Address configuration of the networking configuration of a Pool.
subnetId String
The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration
dynamicVnetAssignmentScope DynamicVNetAssignmentScope
enableAcceleratedNetworking boolean
Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, which may lead to improved networking performance. For more details, see: https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview.
endpointConfiguration PoolEndpointConfiguration
publicIPAddressConfiguration PublicIPAddressConfiguration
The public IP Address configuration of the networking configuration of a Pool.
subnetId string
The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration
dynamic_vnet_assignment_scope DynamicVNetAssignmentScope
enable_accelerated_networking bool
Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, which may lead to improved networking performance. For more details, see: https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview.
endpoint_configuration PoolEndpointConfiguration
public_ip_address_configuration PublicIPAddressConfiguration
The public IP Address configuration of the networking configuration of a Pool.
subnet_id str
The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration
dynamicVnetAssignmentScope "none" | "job"
enableAcceleratedNetworking Boolean
Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, which may lead to improved networking performance. For more details, see: https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview.
endpointConfiguration Property Map
publicIPAddressConfiguration Property Map
The public IP Address configuration of the networking configuration of a Pool.
subnetId String
The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration

NetworkConfigurationResponse
, NetworkConfigurationResponseArgs

DynamicVnetAssignmentScope string
EnableAcceleratedNetworking bool
Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, which may lead to improved networking performance. For more details, see: https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview.
EndpointConfiguration Pulumi.AzureNative.Batch.Inputs.PoolEndpointConfigurationResponse
PublicIPAddressConfiguration Pulumi.AzureNative.Batch.Inputs.PublicIPAddressConfigurationResponse
The public IP Address configuration of the networking configuration of a Pool.
SubnetId string
The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration
DynamicVnetAssignmentScope string
EnableAcceleratedNetworking bool
Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, which may lead to improved networking performance. For more details, see: https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview.
EndpointConfiguration PoolEndpointConfigurationResponse
PublicIPAddressConfiguration PublicIPAddressConfigurationResponse
The public IP Address configuration of the networking configuration of a Pool.
SubnetId string
The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration
dynamicVnetAssignmentScope String
enableAcceleratedNetworking Boolean
Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, which may lead to improved networking performance. For more details, see: https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview.
endpointConfiguration PoolEndpointConfigurationResponse
publicIPAddressConfiguration PublicIPAddressConfigurationResponse
The public IP Address configuration of the networking configuration of a Pool.
subnetId String
The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration
dynamicVnetAssignmentScope string
enableAcceleratedNetworking boolean
Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, which may lead to improved networking performance. For more details, see: https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview.
endpointConfiguration PoolEndpointConfigurationResponse
publicIPAddressConfiguration PublicIPAddressConfigurationResponse
The public IP Address configuration of the networking configuration of a Pool.
subnetId string
The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration
dynamic_vnet_assignment_scope str
enable_accelerated_networking bool
Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, which may lead to improved networking performance. For more details, see: https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview.
endpoint_configuration PoolEndpointConfigurationResponse
public_ip_address_configuration PublicIPAddressConfigurationResponse
The public IP Address configuration of the networking configuration of a Pool.
subnet_id str
The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration
dynamicVnetAssignmentScope String
enableAcceleratedNetworking Boolean
Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, which may lead to improved networking performance. For more details, see: https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview.
endpointConfiguration Property Map
publicIPAddressConfiguration Property Map
The public IP Address configuration of the networking configuration of a Pool.
subnetId String
The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration

NetworkSecurityGroupRule
, NetworkSecurityGroupRuleArgs

Access This property is required. Pulumi.AzureNative.Batch.NetworkSecurityGroupRuleAccess
Priority This property is required. int
Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400.
SourceAddressPrefix This property is required. string
Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400.
SourcePortRanges List<string>
Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.
Access This property is required. NetworkSecurityGroupRuleAccess
Priority This property is required. int
Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400.
SourceAddressPrefix This property is required. string
Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400.
SourcePortRanges []string
Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.
access This property is required. NetworkSecurityGroupRuleAccess
priority This property is required. Integer
Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400.
sourceAddressPrefix This property is required. String
Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400.
sourcePortRanges List<String>
Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.
access This property is required. NetworkSecurityGroupRuleAccess
priority This property is required. number
Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400.
sourceAddressPrefix This property is required. string
Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400.
sourcePortRanges string[]
Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.
access This property is required. NetworkSecurityGroupRuleAccess
priority This property is required. int
Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400.
source_address_prefix This property is required. str
Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400.
source_port_ranges Sequence[str]
Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.
access This property is required. "Allow" | "Deny"
priority This property is required. Number
Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400.
sourceAddressPrefix This property is required. String
Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400.
sourcePortRanges List<String>
Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.

NetworkSecurityGroupRuleAccess
, NetworkSecurityGroupRuleAccessArgs

Allow
AllowAllow access.
Deny
DenyDeny access.
NetworkSecurityGroupRuleAccessAllow
AllowAllow access.
NetworkSecurityGroupRuleAccessDeny
DenyDeny access.
Allow
AllowAllow access.
Deny
DenyDeny access.
Allow
AllowAllow access.
Deny
DenyDeny access.
ALLOW
AllowAllow access.
DENY
DenyDeny access.
"Allow"
AllowAllow access.
"Deny"
DenyDeny access.

NetworkSecurityGroupRuleResponse
, NetworkSecurityGroupRuleResponseArgs

Access This property is required. string
Priority This property is required. int
Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400.
SourceAddressPrefix This property is required. string
Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400.
SourcePortRanges List<string>
Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.
Access This property is required. string
Priority This property is required. int
Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400.
SourceAddressPrefix This property is required. string
Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400.
SourcePortRanges []string
Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.
access This property is required. String
priority This property is required. Integer
Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400.
sourceAddressPrefix This property is required. String
Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400.
sourcePortRanges List<String>
Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.
access This property is required. string
priority This property is required. number
Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400.
sourceAddressPrefix This property is required. string
Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400.
sourcePortRanges string[]
Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.
access This property is required. str
priority This property is required. int
Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400.
source_address_prefix This property is required. str
Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400.
source_port_ranges Sequence[str]
Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.
access This property is required. String
priority This property is required. Number
Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400.
sourceAddressPrefix This property is required. String
Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400.
sourcePortRanges List<String>
Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.

NodeCommunicationMode
, NodeCommunicationModeArgs

Default
DefaultThe node communication mode is automatically set by the Batch service.
Classic
ClassicNodes using the Classic communication mode require inbound TCP communication on ports 29876 and 29877 from the "BatchNodeManagement.{region}" service tag and outbound TCP communication on port 443 to the "Storage.region" and "BatchNodeManagement.{region}" service tags.
Simplified
SimplifiedNodes using the Simplified communication mode require outbound TCP communication on port 443 to the "BatchNodeManagement.{region}" service tag. No open inbound ports are required.
NodeCommunicationModeDefault
DefaultThe node communication mode is automatically set by the Batch service.
NodeCommunicationModeClassic
ClassicNodes using the Classic communication mode require inbound TCP communication on ports 29876 and 29877 from the "BatchNodeManagement.{region}" service tag and outbound TCP communication on port 443 to the "Storage.region" and "BatchNodeManagement.{region}" service tags.
NodeCommunicationModeSimplified
SimplifiedNodes using the Simplified communication mode require outbound TCP communication on port 443 to the "BatchNodeManagement.{region}" service tag. No open inbound ports are required.
Default
DefaultThe node communication mode is automatically set by the Batch service.
Classic
ClassicNodes using the Classic communication mode require inbound TCP communication on ports 29876 and 29877 from the "BatchNodeManagement.{region}" service tag and outbound TCP communication on port 443 to the "Storage.region" and "BatchNodeManagement.{region}" service tags.
Simplified
SimplifiedNodes using the Simplified communication mode require outbound TCP communication on port 443 to the "BatchNodeManagement.{region}" service tag. No open inbound ports are required.
Default
DefaultThe node communication mode is automatically set by the Batch service.
Classic
ClassicNodes using the Classic communication mode require inbound TCP communication on ports 29876 and 29877 from the "BatchNodeManagement.{region}" service tag and outbound TCP communication on port 443 to the "Storage.region" and "BatchNodeManagement.{region}" service tags.
Simplified
SimplifiedNodes using the Simplified communication mode require outbound TCP communication on port 443 to the "BatchNodeManagement.{region}" service tag. No open inbound ports are required.
DEFAULT
DefaultThe node communication mode is automatically set by the Batch service.
CLASSIC
ClassicNodes using the Classic communication mode require inbound TCP communication on ports 29876 and 29877 from the "BatchNodeManagement.{region}" service tag and outbound TCP communication on port 443 to the "Storage.region" and "BatchNodeManagement.{region}" service tags.
SIMPLIFIED
SimplifiedNodes using the Simplified communication mode require outbound TCP communication on port 443 to the "BatchNodeManagement.{region}" service tag. No open inbound ports are required.
"Default"
DefaultThe node communication mode is automatically set by the Batch service.
"Classic"
ClassicNodes using the Classic communication mode require inbound TCP communication on ports 29876 and 29877 from the "BatchNodeManagement.{region}" service tag and outbound TCP communication on port 443 to the "Storage.region" and "BatchNodeManagement.{region}" service tags.
"Simplified"
SimplifiedNodes using the Simplified communication mode require outbound TCP communication on port 443 to the "BatchNodeManagement.{region}" service tag. No open inbound ports are required.

NodePlacementConfiguration
, NodePlacementConfigurationArgs

Policy Pulumi.AzureNative.Batch.NodePlacementPolicyType
Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.
Policy NodePlacementPolicyType
Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.
policy NodePlacementPolicyType
Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.
policy NodePlacementPolicyType
Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.
policy NodePlacementPolicyType
Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.
policy "Regional" | "Zonal"
Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.

NodePlacementConfigurationResponse
, NodePlacementConfigurationResponseArgs

Policy string
Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.
Policy string
Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.
policy String
Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.
policy string
Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.
policy str
Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.
policy String
Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.

NodePlacementPolicyType
, NodePlacementPolicyTypeArgs

Regional
RegionalAll nodes in the pool will be allocated in the same region.
Zonal
ZonalNodes in the pool will be spread across different zones with best effort balancing.
NodePlacementPolicyTypeRegional
RegionalAll nodes in the pool will be allocated in the same region.
NodePlacementPolicyTypeZonal
ZonalNodes in the pool will be spread across different zones with best effort balancing.
Regional
RegionalAll nodes in the pool will be allocated in the same region.
Zonal
ZonalNodes in the pool will be spread across different zones with best effort balancing.
Regional
RegionalAll nodes in the pool will be allocated in the same region.
Zonal
ZonalNodes in the pool will be spread across different zones with best effort balancing.
REGIONAL
RegionalAll nodes in the pool will be allocated in the same region.
ZONAL
ZonalNodes in the pool will be spread across different zones with best effort balancing.
"Regional"
RegionalAll nodes in the pool will be allocated in the same region.
"Zonal"
ZonalNodes in the pool will be spread across different zones with best effort balancing.

OSDisk
, OSDiskArgs

OSDiskResponse
, OSDiskResponseArgs

PoolEndpointConfiguration
, PoolEndpointConfigurationArgs

InboundNatPools This property is required. List<Pulumi.AzureNative.Batch.Inputs.InboundNatPool>
The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400. This cannot be specified if the IPAddressProvisioningType is NoPublicIPAddresses.
InboundNatPools This property is required. []InboundNatPool
The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400. This cannot be specified if the IPAddressProvisioningType is NoPublicIPAddresses.
inboundNatPools This property is required. List<InboundNatPool>
The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400. This cannot be specified if the IPAddressProvisioningType is NoPublicIPAddresses.
inboundNatPools This property is required. InboundNatPool[]
The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400. This cannot be specified if the IPAddressProvisioningType is NoPublicIPAddresses.
inbound_nat_pools This property is required. Sequence[InboundNatPool]
The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400. This cannot be specified if the IPAddressProvisioningType is NoPublicIPAddresses.
inboundNatPools This property is required. List<Property Map>
The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400. This cannot be specified if the IPAddressProvisioningType is NoPublicIPAddresses.

PoolEndpointConfigurationResponse
, PoolEndpointConfigurationResponseArgs

InboundNatPools This property is required. List<Pulumi.AzureNative.Batch.Inputs.InboundNatPoolResponse>
The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400. This cannot be specified if the IPAddressProvisioningType is NoPublicIPAddresses.
InboundNatPools This property is required. []InboundNatPoolResponse
The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400. This cannot be specified if the IPAddressProvisioningType is NoPublicIPAddresses.
inboundNatPools This property is required. List<InboundNatPoolResponse>
The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400. This cannot be specified if the IPAddressProvisioningType is NoPublicIPAddresses.
inboundNatPools This property is required. InboundNatPoolResponse[]
The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400. This cannot be specified if the IPAddressProvisioningType is NoPublicIPAddresses.
inbound_nat_pools This property is required. Sequence[InboundNatPoolResponse]
The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400. This cannot be specified if the IPAddressProvisioningType is NoPublicIPAddresses.
inboundNatPools This property is required. List<Property Map>
The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400. This cannot be specified if the IPAddressProvisioningType is NoPublicIPAddresses.

PoolIdentityType
, PoolIdentityTypeArgs

UserAssigned
UserAssignedBatch pool has user assigned identities with it.
None
NoneBatch pool has no identity associated with it. Setting None in update pool will remove existing identities.
PoolIdentityTypeUserAssigned
UserAssignedBatch pool has user assigned identities with it.
PoolIdentityTypeNone
NoneBatch pool has no identity associated with it. Setting None in update pool will remove existing identities.
UserAssigned
UserAssignedBatch pool has user assigned identities with it.
None
NoneBatch pool has no identity associated with it. Setting None in update pool will remove existing identities.
UserAssigned
UserAssignedBatch pool has user assigned identities with it.
None
NoneBatch pool has no identity associated with it. Setting None in update pool will remove existing identities.
USER_ASSIGNED
UserAssignedBatch pool has user assigned identities with it.
NONE
NoneBatch pool has no identity associated with it. Setting None in update pool will remove existing identities.
"UserAssigned"
UserAssignedBatch pool has user assigned identities with it.
"None"
NoneBatch pool has no identity associated with it. Setting None in update pool will remove existing identities.

PublicIPAddressConfiguration
, PublicIPAddressConfigurationArgs

IpAddressIds List<string>
The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
Provision Pulumi.AzureNative.Batch.IPAddressProvisioningType
The default value is BatchManaged
IpAddressIds []string
The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
Provision IPAddressProvisioningType
The default value is BatchManaged
ipAddressIds List<String>
The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
provision IPAddressProvisioningType
The default value is BatchManaged
ipAddressIds string[]
The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
provision IPAddressProvisioningType
The default value is BatchManaged
ip_address_ids Sequence[str]
The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
provision IPAddressProvisioningType
The default value is BatchManaged
ipAddressIds List<String>
The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
provision "BatchManaged" | "UserManaged" | "NoPublicIPAddresses"
The default value is BatchManaged

PublicIPAddressConfigurationResponse
, PublicIPAddressConfigurationResponseArgs

IpAddressIds List<string>
The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
Provision string
The default value is BatchManaged
IpAddressIds []string
The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
Provision string
The default value is BatchManaged
ipAddressIds List<String>
The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
provision String
The default value is BatchManaged
ipAddressIds string[]
The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
provision string
The default value is BatchManaged
ip_address_ids Sequence[str]
The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
provision str
The default value is BatchManaged
ipAddressIds List<String>
The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
provision String
The default value is BatchManaged

ResizeErrorResponse
, ResizeErrorResponseArgs

Code This property is required. string
An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
Message This property is required. string
A message describing the error, intended to be suitable for display in a user interface.
Details List<Pulumi.AzureNative.Batch.Inputs.ResizeErrorResponse>
Code This property is required. string
An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
Message This property is required. string
A message describing the error, intended to be suitable for display in a user interface.
Details []ResizeErrorResponse
code This property is required. String
An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
message This property is required. String
A message describing the error, intended to be suitable for display in a user interface.
details List<ResizeErrorResponse>
code This property is required. string
An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
message This property is required. string
A message describing the error, intended to be suitable for display in a user interface.
details ResizeErrorResponse[]
code This property is required. str
An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
message This property is required. str
A message describing the error, intended to be suitable for display in a user interface.
details Sequence[ResizeErrorResponse]
code This property is required. String
An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
message This property is required. String
A message describing the error, intended to be suitable for display in a user interface.
details List<Property Map>

ResizeOperationStatusResponse
, ResizeOperationStatusResponseArgs

Errors List<Pulumi.AzureNative.Batch.Inputs.ResizeErrorResponse>
This property is set only if an error occurred during the last pool resize, and only when the pool allocationState is Steady.
NodeDeallocationOption string
The default value is requeue.
ResizeTimeout string
The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
StartTime string
TargetDedicatedNodes int
TargetLowPriorityNodes int
Errors []ResizeErrorResponse
This property is set only if an error occurred during the last pool resize, and only when the pool allocationState is Steady.
NodeDeallocationOption string
The default value is requeue.
ResizeTimeout string
The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
StartTime string
TargetDedicatedNodes int
TargetLowPriorityNodes int
errors List<ResizeErrorResponse>
This property is set only if an error occurred during the last pool resize, and only when the pool allocationState is Steady.
nodeDeallocationOption String
The default value is requeue.
resizeTimeout String
The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
startTime String
targetDedicatedNodes Integer
targetLowPriorityNodes Integer
errors ResizeErrorResponse[]
This property is set only if an error occurred during the last pool resize, and only when the pool allocationState is Steady.
nodeDeallocationOption string
The default value is requeue.
resizeTimeout string
The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
startTime string
targetDedicatedNodes number
targetLowPriorityNodes number
errors Sequence[ResizeErrorResponse]
This property is set only if an error occurred during the last pool resize, and only when the pool allocationState is Steady.
node_deallocation_option str
The default value is requeue.
resize_timeout str
The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
start_time str
target_dedicated_nodes int
target_low_priority_nodes int
errors List<Property Map>
This property is set only if an error occurred during the last pool resize, and only when the pool allocationState is Steady.
nodeDeallocationOption String
The default value is requeue.
resizeTimeout String
The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
startTime String
targetDedicatedNodes Number
targetLowPriorityNodes Number

ResourceFile
, ResourceFileArgs

AutoStorageContainerName string
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified.
BlobPrefix string
The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.
FileMode string
This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file.
FilePath string
If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').
HttpUrl string
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable from compute nodes. There are three ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, use a managed identity with read permission, or set the ACL for the blob or its container to allow public access.
IdentityReference Pulumi.AzureNative.Batch.Inputs.ComputeNodeIdentityReference
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
StorageContainerUrl string
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable from compute nodes. There are three ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, use a managed identity with read and list permissions, or set the ACL for the container to allow public access.
AutoStorageContainerName string
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified.
BlobPrefix string
The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.
FileMode string
This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file.
FilePath string
If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').
HttpUrl string
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable from compute nodes. There are three ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, use a managed identity with read permission, or set the ACL for the blob or its container to allow public access.
IdentityReference ComputeNodeIdentityReference
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
StorageContainerUrl string
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable from compute nodes. There are three ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, use a managed identity with read and list permissions, or set the ACL for the container to allow public access.
autoStorageContainerName String
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified.
blobPrefix String
The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.
fileMode String
This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file.
filePath String
If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').
httpUrl String
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable from compute nodes. There are three ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, use a managed identity with read permission, or set the ACL for the blob or its container to allow public access.
identityReference ComputeNodeIdentityReference
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
storageContainerUrl String
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable from compute nodes. There are three ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, use a managed identity with read and list permissions, or set the ACL for the container to allow public access.
autoStorageContainerName string
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified.
blobPrefix string
The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.
fileMode string
This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file.
filePath string
If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').
httpUrl string
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable from compute nodes. There are three ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, use a managed identity with read permission, or set the ACL for the blob or its container to allow public access.
identityReference ComputeNodeIdentityReference
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
storageContainerUrl string
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable from compute nodes. There are three ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, use a managed identity with read and list permissions, or set the ACL for the container to allow public access.
auto_storage_container_name str
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified.
blob_prefix str
The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.
file_mode str
This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file.
file_path str
If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').
http_url str
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable from compute nodes. There are three ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, use a managed identity with read permission, or set the ACL for the blob or its container to allow public access.
identity_reference ComputeNodeIdentityReference
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
storage_container_url str
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable from compute nodes. There are three ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, use a managed identity with read and list permissions, or set the ACL for the container to allow public access.
autoStorageContainerName String
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified.
blobPrefix String
The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.
fileMode String
This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file.
filePath String
If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').
httpUrl String
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable from compute nodes. There are three ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, use a managed identity with read permission, or set the ACL for the blob or its container to allow public access.
identityReference Property Map
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
storageContainerUrl String
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable from compute nodes. There are three ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, use a managed identity with read and list permissions, or set the ACL for the container to allow public access.

ResourceFileResponse
, ResourceFileResponseArgs

AutoStorageContainerName string
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified.
BlobPrefix string
The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.
FileMode string
This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file.
FilePath string
If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').
HttpUrl string
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable from compute nodes. There are three ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, use a managed identity with read permission, or set the ACL for the blob or its container to allow public access.
IdentityReference Pulumi.AzureNative.Batch.Inputs.ComputeNodeIdentityReferenceResponse
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
StorageContainerUrl string
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable from compute nodes. There are three ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, use a managed identity with read and list permissions, or set the ACL for the container to allow public access.
AutoStorageContainerName string
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified.
BlobPrefix string
The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.
FileMode string
This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file.
FilePath string
If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').
HttpUrl string
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable from compute nodes. There are three ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, use a managed identity with read permission, or set the ACL for the blob or its container to allow public access.
IdentityReference ComputeNodeIdentityReferenceResponse
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
StorageContainerUrl string
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable from compute nodes. There are three ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, use a managed identity with read and list permissions, or set the ACL for the container to allow public access.
autoStorageContainerName String
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified.
blobPrefix String
The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.
fileMode String
This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file.
filePath String
If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').
httpUrl String
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable from compute nodes. There are three ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, use a managed identity with read permission, or set the ACL for the blob or its container to allow public access.
identityReference ComputeNodeIdentityReferenceResponse
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
storageContainerUrl String
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable from compute nodes. There are three ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, use a managed identity with read and list permissions, or set the ACL for the container to allow public access.
autoStorageContainerName string
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified.
blobPrefix string
The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.
fileMode string
This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file.
filePath string
If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').
httpUrl string
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable from compute nodes. There are three ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, use a managed identity with read permission, or set the ACL for the blob or its container to allow public access.
identityReference ComputeNodeIdentityReferenceResponse
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
storageContainerUrl string
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable from compute nodes. There are three ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, use a managed identity with read and list permissions, or set the ACL for the container to allow public access.
auto_storage_container_name str
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified.
blob_prefix str
The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.
file_mode str
This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file.
file_path str
If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').
http_url str
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable from compute nodes. There are three ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, use a managed identity with read permission, or set the ACL for the blob or its container to allow public access.
identity_reference ComputeNodeIdentityReferenceResponse
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
storage_container_url str
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable from compute nodes. There are three ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, use a managed identity with read and list permissions, or set the ACL for the container to allow public access.
autoStorageContainerName String
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified.
blobPrefix String
The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.
fileMode String
This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file.
filePath String
If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').
httpUrl String
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable from compute nodes. There are three ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, use a managed identity with read permission, or set the ACL for the blob or its container to allow public access.
identityReference Property Map
The reference to a user assigned identity associated with the Batch pool which a compute node will use.
storageContainerUrl String
The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable from compute nodes. There are three ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, use a managed identity with read and list permissions, or set the ACL for the container to allow public access.

RollingUpgradePolicy
, RollingUpgradePolicyArgs

EnableCrossZoneUpgrade bool
Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. If this field is not set, Azure Azure Batch will not set its default value. The value of enableCrossZoneUpgrade on the created VirtualMachineScaleSet will be decided by the default configurations on VirtualMachineScaleSet. This field is able to be set to true or false only when using NodePlacementConfiguration as Zonal.
MaxBatchInstancePercent int
The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
MaxUnhealthyInstancePercent int
The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
MaxUnhealthyUpgradedInstancePercent int
The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The value of this field should be between 0 and 100, inclusive.
PauseTimeBetweenBatches string
The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format.
PrioritizeUnhealthyInstances bool
Upgrade all unhealthy instances in a scale set before any healthy instances.
RollbackFailedInstancesOnPolicyBreach bool
Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
EnableCrossZoneUpgrade bool
Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. If this field is not set, Azure Azure Batch will not set its default value. The value of enableCrossZoneUpgrade on the created VirtualMachineScaleSet will be decided by the default configurations on VirtualMachineScaleSet. This field is able to be set to true or false only when using NodePlacementConfiguration as Zonal.
MaxBatchInstancePercent int
The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
MaxUnhealthyInstancePercent int
The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
MaxUnhealthyUpgradedInstancePercent int
The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The value of this field should be between 0 and 100, inclusive.
PauseTimeBetweenBatches string
The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format.
PrioritizeUnhealthyInstances bool
Upgrade all unhealthy instances in a scale set before any healthy instances.
RollbackFailedInstancesOnPolicyBreach bool
Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
enableCrossZoneUpgrade Boolean
Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. If this field is not set, Azure Azure Batch will not set its default value. The value of enableCrossZoneUpgrade on the created VirtualMachineScaleSet will be decided by the default configurations on VirtualMachineScaleSet. This field is able to be set to true or false only when using NodePlacementConfiguration as Zonal.
maxBatchInstancePercent Integer
The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
maxUnhealthyInstancePercent Integer
The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
maxUnhealthyUpgradedInstancePercent Integer
The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The value of this field should be between 0 and 100, inclusive.
pauseTimeBetweenBatches String
The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format.
prioritizeUnhealthyInstances Boolean
Upgrade all unhealthy instances in a scale set before any healthy instances.
rollbackFailedInstancesOnPolicyBreach Boolean
Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
enableCrossZoneUpgrade boolean
Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. If this field is not set, Azure Azure Batch will not set its default value. The value of enableCrossZoneUpgrade on the created VirtualMachineScaleSet will be decided by the default configurations on VirtualMachineScaleSet. This field is able to be set to true or false only when using NodePlacementConfiguration as Zonal.
maxBatchInstancePercent number
The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
maxUnhealthyInstancePercent number
The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
maxUnhealthyUpgradedInstancePercent number
The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The value of this field should be between 0 and 100, inclusive.
pauseTimeBetweenBatches string
The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format.
prioritizeUnhealthyInstances boolean
Upgrade all unhealthy instances in a scale set before any healthy instances.
rollbackFailedInstancesOnPolicyBreach boolean
Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
enable_cross_zone_upgrade bool
Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. If this field is not set, Azure Azure Batch will not set its default value. The value of enableCrossZoneUpgrade on the created VirtualMachineScaleSet will be decided by the default configurations on VirtualMachineScaleSet. This field is able to be set to true or false only when using NodePlacementConfiguration as Zonal.
max_batch_instance_percent int
The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
max_unhealthy_instance_percent int
The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
max_unhealthy_upgraded_instance_percent int
The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The value of this field should be between 0 and 100, inclusive.
pause_time_between_batches str
The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format.
prioritize_unhealthy_instances bool
Upgrade all unhealthy instances in a scale set before any healthy instances.
rollback_failed_instances_on_policy_breach bool
Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
enableCrossZoneUpgrade Boolean
Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. If this field is not set, Azure Azure Batch will not set its default value. The value of enableCrossZoneUpgrade on the created VirtualMachineScaleSet will be decided by the default configurations on VirtualMachineScaleSet. This field is able to be set to true or false only when using NodePlacementConfiguration as Zonal.
maxBatchInstancePercent Number
The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
maxUnhealthyInstancePercent Number
The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
maxUnhealthyUpgradedInstancePercent Number
The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The value of this field should be between 0 and 100, inclusive.
pauseTimeBetweenBatches String
The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format.
prioritizeUnhealthyInstances Boolean
Upgrade all unhealthy instances in a scale set before any healthy instances.
rollbackFailedInstancesOnPolicyBreach Boolean
Rollback failed instances to previous model if the Rolling Upgrade policy is violated.

RollingUpgradePolicyResponse
, RollingUpgradePolicyResponseArgs

EnableCrossZoneUpgrade bool
Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. If this field is not set, Azure Azure Batch will not set its default value. The value of enableCrossZoneUpgrade on the created VirtualMachineScaleSet will be decided by the default configurations on VirtualMachineScaleSet. This field is able to be set to true or false only when using NodePlacementConfiguration as Zonal.
MaxBatchInstancePercent int
The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
MaxUnhealthyInstancePercent int
The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
MaxUnhealthyUpgradedInstancePercent int
The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The value of this field should be between 0 and 100, inclusive.
PauseTimeBetweenBatches string
The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format.
PrioritizeUnhealthyInstances bool
Upgrade all unhealthy instances in a scale set before any healthy instances.
RollbackFailedInstancesOnPolicyBreach bool
Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
EnableCrossZoneUpgrade bool
Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. If this field is not set, Azure Azure Batch will not set its default value. The value of enableCrossZoneUpgrade on the created VirtualMachineScaleSet will be decided by the default configurations on VirtualMachineScaleSet. This field is able to be set to true or false only when using NodePlacementConfiguration as Zonal.
MaxBatchInstancePercent int
The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
MaxUnhealthyInstancePercent int
The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
MaxUnhealthyUpgradedInstancePercent int
The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The value of this field should be between 0 and 100, inclusive.
PauseTimeBetweenBatches string
The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format.
PrioritizeUnhealthyInstances bool
Upgrade all unhealthy instances in a scale set before any healthy instances.
RollbackFailedInstancesOnPolicyBreach bool
Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
enableCrossZoneUpgrade Boolean
Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. If this field is not set, Azure Azure Batch will not set its default value. The value of enableCrossZoneUpgrade on the created VirtualMachineScaleSet will be decided by the default configurations on VirtualMachineScaleSet. This field is able to be set to true or false only when using NodePlacementConfiguration as Zonal.
maxBatchInstancePercent Integer
The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
maxUnhealthyInstancePercent Integer
The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
maxUnhealthyUpgradedInstancePercent Integer
The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The value of this field should be between 0 and 100, inclusive.
pauseTimeBetweenBatches String
The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format.
prioritizeUnhealthyInstances Boolean
Upgrade all unhealthy instances in a scale set before any healthy instances.
rollbackFailedInstancesOnPolicyBreach Boolean
Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
enableCrossZoneUpgrade boolean
Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. If this field is not set, Azure Azure Batch will not set its default value. The value of enableCrossZoneUpgrade on the created VirtualMachineScaleSet will be decided by the default configurations on VirtualMachineScaleSet. This field is able to be set to true or false only when using NodePlacementConfiguration as Zonal.
maxBatchInstancePercent number
The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
maxUnhealthyInstancePercent number
The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
maxUnhealthyUpgradedInstancePercent number
The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The value of this field should be between 0 and 100, inclusive.
pauseTimeBetweenBatches string
The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format.
prioritizeUnhealthyInstances boolean
Upgrade all unhealthy instances in a scale set before any healthy instances.
rollbackFailedInstancesOnPolicyBreach boolean
Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
enable_cross_zone_upgrade bool
Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. If this field is not set, Azure Azure Batch will not set its default value. The value of enableCrossZoneUpgrade on the created VirtualMachineScaleSet will be decided by the default configurations on VirtualMachineScaleSet. This field is able to be set to true or false only when using NodePlacementConfiguration as Zonal.
max_batch_instance_percent int
The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
max_unhealthy_instance_percent int
The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
max_unhealthy_upgraded_instance_percent int
The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The value of this field should be between 0 and 100, inclusive.
pause_time_between_batches str
The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format.
prioritize_unhealthy_instances bool
Upgrade all unhealthy instances in a scale set before any healthy instances.
rollback_failed_instances_on_policy_breach bool
Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
enableCrossZoneUpgrade Boolean
Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. If this field is not set, Azure Azure Batch will not set its default value. The value of enableCrossZoneUpgrade on the created VirtualMachineScaleSet will be decided by the default configurations on VirtualMachineScaleSet. This field is able to be set to true or false only when using NodePlacementConfiguration as Zonal.
maxBatchInstancePercent Number
The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
maxUnhealthyInstancePercent Number
The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
maxUnhealthyUpgradedInstancePercent Number
The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The value of this field should be between 0 and 100, inclusive.
pauseTimeBetweenBatches String
The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format.
prioritizeUnhealthyInstances Boolean
Upgrade all unhealthy instances in a scale set before any healthy instances.
rollbackFailedInstancesOnPolicyBreach Boolean
Rollback failed instances to previous model if the Rolling Upgrade policy is violated.

ScaleSettings
, ScaleSettingsArgs

AutoScale Pulumi.AzureNative.Batch.Inputs.AutoScaleSettings
This property and fixedScale are mutually exclusive and one of the properties must be specified.
FixedScale Pulumi.AzureNative.Batch.Inputs.FixedScaleSettings
This property and autoScale are mutually exclusive and one of the properties must be specified.
AutoScale AutoScaleSettings
This property and fixedScale are mutually exclusive and one of the properties must be specified.
FixedScale FixedScaleSettings
This property and autoScale are mutually exclusive and one of the properties must be specified.
autoScale AutoScaleSettings
This property and fixedScale are mutually exclusive and one of the properties must be specified.
fixedScale FixedScaleSettings
This property and autoScale are mutually exclusive and one of the properties must be specified.
autoScale AutoScaleSettings
This property and fixedScale are mutually exclusive and one of the properties must be specified.
fixedScale FixedScaleSettings
This property and autoScale are mutually exclusive and one of the properties must be specified.
auto_scale AutoScaleSettings
This property and fixedScale are mutually exclusive and one of the properties must be specified.
fixed_scale FixedScaleSettings
This property and autoScale are mutually exclusive and one of the properties must be specified.
autoScale Property Map
This property and fixedScale are mutually exclusive and one of the properties must be specified.
fixedScale Property Map
This property and autoScale are mutually exclusive and one of the properties must be specified.

ScaleSettingsResponse
, ScaleSettingsResponseArgs

AutoScale Pulumi.AzureNative.Batch.Inputs.AutoScaleSettingsResponse
This property and fixedScale are mutually exclusive and one of the properties must be specified.
FixedScale Pulumi.AzureNative.Batch.Inputs.FixedScaleSettingsResponse
This property and autoScale are mutually exclusive and one of the properties must be specified.
AutoScale AutoScaleSettingsResponse
This property and fixedScale are mutually exclusive and one of the properties must be specified.
FixedScale FixedScaleSettingsResponse
This property and autoScale are mutually exclusive and one of the properties must be specified.
autoScale AutoScaleSettingsResponse
This property and fixedScale are mutually exclusive and one of the properties must be specified.
fixedScale FixedScaleSettingsResponse
This property and autoScale are mutually exclusive and one of the properties must be specified.
autoScale AutoScaleSettingsResponse
This property and fixedScale are mutually exclusive and one of the properties must be specified.
fixedScale FixedScaleSettingsResponse
This property and autoScale are mutually exclusive and one of the properties must be specified.
auto_scale AutoScaleSettingsResponse
This property and fixedScale are mutually exclusive and one of the properties must be specified.
fixed_scale FixedScaleSettingsResponse
This property and autoScale are mutually exclusive and one of the properties must be specified.
autoScale Property Map
This property and fixedScale are mutually exclusive and one of the properties must be specified.
fixedScale Property Map
This property and autoScale are mutually exclusive and one of the properties must be specified.

SecurityEncryptionTypes
, SecurityEncryptionTypesArgs

NonPersistedTPM
NonPersistedTPM
VMGuestStateOnly
VMGuestStateOnly
SecurityEncryptionTypesNonPersistedTPM
NonPersistedTPM
SecurityEncryptionTypesVMGuestStateOnly
VMGuestStateOnly
NonPersistedTPM
NonPersistedTPM
VMGuestStateOnly
VMGuestStateOnly
NonPersistedTPM
NonPersistedTPM
VMGuestStateOnly
VMGuestStateOnly
NON_PERSISTED_TPM
NonPersistedTPM
VM_GUEST_STATE_ONLY
VMGuestStateOnly
"NonPersistedTPM"
NonPersistedTPM
"VMGuestStateOnly"
VMGuestStateOnly

SecurityProfile
, SecurityProfileArgs

EncryptionAtHost bool
This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
SecurityType Pulumi.AzureNative.Batch.SecurityTypes
UefiSettings Pulumi.AzureNative.Batch.Inputs.UefiSettings
Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
EncryptionAtHost bool
This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
SecurityType SecurityTypes
UefiSettings UefiSettings
Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
encryptionAtHost Boolean
This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
securityType SecurityTypes
uefiSettings UefiSettings
Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
encryptionAtHost boolean
This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
securityType SecurityTypes
uefiSettings UefiSettings
Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
encryption_at_host bool
This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
security_type SecurityTypes
uefi_settings UefiSettings
Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
encryptionAtHost Boolean
This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
securityType "trustedLaunch" | "confidentialVM"
uefiSettings Property Map
Specifies the security settings like secure boot and vTPM used while creating the virtual machine.

SecurityProfileResponse
, SecurityProfileResponseArgs

EncryptionAtHost bool
This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
SecurityType string
UefiSettings Pulumi.AzureNative.Batch.Inputs.UefiSettingsResponse
Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
EncryptionAtHost bool
This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
SecurityType string
UefiSettings UefiSettingsResponse
Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
encryptionAtHost Boolean
This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
securityType String
uefiSettings UefiSettingsResponse
Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
encryptionAtHost boolean
This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
securityType string
uefiSettings UefiSettingsResponse
Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
encryption_at_host bool
This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
security_type str
uefi_settings UefiSettingsResponse
Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
encryptionAtHost Boolean
This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
securityType String
uefiSettings Property Map
Specifies the security settings like secure boot and vTPM used while creating the virtual machine.

SecurityTypes
, SecurityTypesArgs

TrustedLaunch
trustedLaunchTrusted launch protects against advanced and persistent attack techniques.
ConfidentialVM
confidentialVMAzure confidential computing offers confidential VMs are for tenants with high security and confidentiality requirements. These VMs provide a strong, hardware-enforced boundary to help meet your security needs. You can use confidential VMs for migrations without making changes to your code, with the platform protecting your VM's state from being read or modified.
SecurityTypesTrustedLaunch
trustedLaunchTrusted launch protects against advanced and persistent attack techniques.
SecurityTypesConfidentialVM
confidentialVMAzure confidential computing offers confidential VMs are for tenants with high security and confidentiality requirements. These VMs provide a strong, hardware-enforced boundary to help meet your security needs. You can use confidential VMs for migrations without making changes to your code, with the platform protecting your VM's state from being read or modified.
TrustedLaunch
trustedLaunchTrusted launch protects against advanced and persistent attack techniques.
ConfidentialVM
confidentialVMAzure confidential computing offers confidential VMs are for tenants with high security and confidentiality requirements. These VMs provide a strong, hardware-enforced boundary to help meet your security needs. You can use confidential VMs for migrations without making changes to your code, with the platform protecting your VM's state from being read or modified.
TrustedLaunch
trustedLaunchTrusted launch protects against advanced and persistent attack techniques.
ConfidentialVM
confidentialVMAzure confidential computing offers confidential VMs are for tenants with high security and confidentiality requirements. These VMs provide a strong, hardware-enforced boundary to help meet your security needs. You can use confidential VMs for migrations without making changes to your code, with the platform protecting your VM's state from being read or modified.
TRUSTED_LAUNCH
trustedLaunchTrusted launch protects against advanced and persistent attack techniques.
CONFIDENTIAL_VM
confidentialVMAzure confidential computing offers confidential VMs are for tenants with high security and confidentiality requirements. These VMs provide a strong, hardware-enforced boundary to help meet your security needs. You can use confidential VMs for migrations without making changes to your code, with the platform protecting your VM's state from being read or modified.
"trustedLaunch"
trustedLaunchTrusted launch protects against advanced and persistent attack techniques.
"confidentialVM"
confidentialVMAzure confidential computing offers confidential VMs are for tenants with high security and confidentiality requirements. These VMs provide a strong, hardware-enforced boundary to help meet your security needs. You can use confidential VMs for migrations without making changes to your code, with the platform protecting your VM's state from being read or modified.

ServiceArtifactReference
, ServiceArtifactReferenceArgs

Id This property is required. string
The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
Id This property is required. string
The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
id This property is required. String
The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
id This property is required. string
The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
id This property is required. str
The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
id This property is required. String
The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}

ServiceArtifactReferenceResponse
, ServiceArtifactReferenceResponseArgs

Id This property is required. string
The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
Id This property is required. string
The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
id This property is required. String
The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
id This property is required. string
The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
id This property is required. str
The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
id This property is required. String
The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}

StartTask
, StartTaskArgs

CommandLine string
The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified.
ContainerSettings Pulumi.AzureNative.Batch.Inputs.TaskContainerSettings
When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
EnvironmentSettings List<Pulumi.AzureNative.Batch.Inputs.EnvironmentSetting>
MaxTaskRetryCount int
The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0
ResourceFiles List<Pulumi.AzureNative.Batch.Inputs.ResourceFile>
UserIdentity Pulumi.AzureNative.Batch.Inputs.UserIdentity
If omitted, the task runs as a non-administrative user unique to the task.
WaitForSuccess bool
If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true.
CommandLine string
The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified.
ContainerSettings TaskContainerSettings
When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
EnvironmentSettings []EnvironmentSetting
MaxTaskRetryCount int
The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0
ResourceFiles []ResourceFile
UserIdentity UserIdentity
If omitted, the task runs as a non-administrative user unique to the task.
WaitForSuccess bool
If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true.
commandLine String
The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified.
containerSettings TaskContainerSettings
When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
environmentSettings List<EnvironmentSetting>
maxTaskRetryCount Integer
The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0
resourceFiles List<ResourceFile>
userIdentity UserIdentity
If omitted, the task runs as a non-administrative user unique to the task.
waitForSuccess Boolean
If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true.
commandLine string
The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified.
containerSettings TaskContainerSettings
When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
environmentSettings EnvironmentSetting[]
maxTaskRetryCount number
The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0
resourceFiles ResourceFile[]
userIdentity UserIdentity
If omitted, the task runs as a non-administrative user unique to the task.
waitForSuccess boolean
If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true.
command_line str
The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified.
container_settings TaskContainerSettings
When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
environment_settings Sequence[EnvironmentSetting]
max_task_retry_count int
The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0
resource_files Sequence[ResourceFile]
user_identity UserIdentity
If omitted, the task runs as a non-administrative user unique to the task.
wait_for_success bool
If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true.
commandLine String
The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified.
containerSettings Property Map
When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
environmentSettings List<Property Map>
maxTaskRetryCount Number
The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0
resourceFiles List<Property Map>
userIdentity Property Map
If omitted, the task runs as a non-administrative user unique to the task.
waitForSuccess Boolean
If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true.

StartTaskResponse
, StartTaskResponseArgs

CommandLine string
The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified.
ContainerSettings Pulumi.AzureNative.Batch.Inputs.TaskContainerSettingsResponse
When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
EnvironmentSettings List<Pulumi.AzureNative.Batch.Inputs.EnvironmentSettingResponse>
MaxTaskRetryCount int
The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0
ResourceFiles List<Pulumi.AzureNative.Batch.Inputs.ResourceFileResponse>
UserIdentity Pulumi.AzureNative.Batch.Inputs.UserIdentityResponse
If omitted, the task runs as a non-administrative user unique to the task.
WaitForSuccess bool
If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true.
CommandLine string
The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified.
ContainerSettings TaskContainerSettingsResponse
When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
EnvironmentSettings []EnvironmentSettingResponse
MaxTaskRetryCount int
The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0
ResourceFiles []ResourceFileResponse
UserIdentity UserIdentityResponse
If omitted, the task runs as a non-administrative user unique to the task.
WaitForSuccess bool
If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true.
commandLine String
The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified.
containerSettings TaskContainerSettingsResponse
When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
environmentSettings List<EnvironmentSettingResponse>
maxTaskRetryCount Integer
The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0
resourceFiles List<ResourceFileResponse>
userIdentity UserIdentityResponse
If omitted, the task runs as a non-administrative user unique to the task.
waitForSuccess Boolean
If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true.
commandLine string
The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified.
containerSettings TaskContainerSettingsResponse
When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
environmentSettings EnvironmentSettingResponse[]
maxTaskRetryCount number
The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0
resourceFiles ResourceFileResponse[]
userIdentity UserIdentityResponse
If omitted, the task runs as a non-administrative user unique to the task.
waitForSuccess boolean
If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true.
command_line str
The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified.
container_settings TaskContainerSettingsResponse
When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
environment_settings Sequence[EnvironmentSettingResponse]
max_task_retry_count int
The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0
resource_files Sequence[ResourceFileResponse]
user_identity UserIdentityResponse
If omitted, the task runs as a non-administrative user unique to the task.
wait_for_success bool
If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true.
commandLine String
The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified.
containerSettings Property Map
When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
environmentSettings List<Property Map>
maxTaskRetryCount Number
The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0
resourceFiles List<Property Map>
userIdentity Property Map
If omitted, the task runs as a non-administrative user unique to the task.
waitForSuccess Boolean
If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true.

StorageAccountType
, StorageAccountTypeArgs

Standard_LRS
Standard_LRSThe data disk / OS disk should use standard locally redundant storage.
Premium_LRS
Premium_LRSThe data disk / OS disk should use premium locally redundant storage.
StandardSSD_LRS
StandardSSD_LRSThe data disk / OS disk should use standard SSD locally redundant storage.
StorageAccountType_Standard_LRS
Standard_LRSThe data disk / OS disk should use standard locally redundant storage.
StorageAccountType_Premium_LRS
Premium_LRSThe data disk / OS disk should use premium locally redundant storage.
StorageAccountType_StandardSSD_LRS
StandardSSD_LRSThe data disk / OS disk should use standard SSD locally redundant storage.
Standard_LRS
Standard_LRSThe data disk / OS disk should use standard locally redundant storage.
Premium_LRS
Premium_LRSThe data disk / OS disk should use premium locally redundant storage.
StandardSSD_LRS
StandardSSD_LRSThe data disk / OS disk should use standard SSD locally redundant storage.
Standard_LRS
Standard_LRSThe data disk / OS disk should use standard locally redundant storage.
Premium_LRS
Premium_LRSThe data disk / OS disk should use premium locally redundant storage.
StandardSSD_LRS
StandardSSD_LRSThe data disk / OS disk should use standard SSD locally redundant storage.
STANDARD_LRS
Standard_LRSThe data disk / OS disk should use standard locally redundant storage.
PREMIUM_LRS
Premium_LRSThe data disk / OS disk should use premium locally redundant storage.
STANDARD_SS_D_LRS
StandardSSD_LRSThe data disk / OS disk should use standard SSD locally redundant storage.
"Standard_LRS"
Standard_LRSThe data disk / OS disk should use standard locally redundant storage.
"Premium_LRS"
Premium_LRSThe data disk / OS disk should use premium locally redundant storage.
"StandardSSD_LRS"
StandardSSD_LRSThe data disk / OS disk should use standard SSD locally redundant storage.

TaskContainerSettings
, TaskContainerSettingsArgs

ImageName This property is required. string
This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.
ContainerHostBatchBindMounts List<Pulumi.AzureNative.Batch.Inputs.ContainerHostBatchBindMountEntry>
If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty.
ContainerRunOptions string
These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
Registry Pulumi.AzureNative.Batch.Inputs.ContainerRegistry
This setting can be omitted if was already provided at pool creation.
WorkingDirectory Pulumi.AzureNative.Batch.ContainerWorkingDirectory
ImageName This property is required. string
This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.
ContainerHostBatchBindMounts []ContainerHostBatchBindMountEntry
If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty.
ContainerRunOptions string
These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
Registry ContainerRegistry
This setting can be omitted if was already provided at pool creation.
WorkingDirectory ContainerWorkingDirectory
imageName This property is required. String
This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.
containerHostBatchBindMounts List<ContainerHostBatchBindMountEntry>
If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty.
containerRunOptions String
These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
registry ContainerRegistry
This setting can be omitted if was already provided at pool creation.
workingDirectory ContainerWorkingDirectory
imageName This property is required. string
This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.
containerHostBatchBindMounts ContainerHostBatchBindMountEntry[]
If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty.
containerRunOptions string
These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
registry ContainerRegistry
This setting can be omitted if was already provided at pool creation.
workingDirectory ContainerWorkingDirectory
image_name This property is required. str
This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.
container_host_batch_bind_mounts Sequence[ContainerHostBatchBindMountEntry]
If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty.
container_run_options str
These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
registry ContainerRegistry
This setting can be omitted if was already provided at pool creation.
working_directory ContainerWorkingDirectory
imageName This property is required. String
This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.
containerHostBatchBindMounts List<Property Map>
If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty.
containerRunOptions String
These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
registry Property Map
This setting can be omitted if was already provided at pool creation.
workingDirectory "TaskWorkingDirectory" | "ContainerImageDefault"

TaskContainerSettingsResponse
, TaskContainerSettingsResponseArgs

ImageName This property is required. string
This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.
ContainerHostBatchBindMounts List<Pulumi.AzureNative.Batch.Inputs.ContainerHostBatchBindMountEntryResponse>
If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty.
ContainerRunOptions string
These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
Registry Pulumi.AzureNative.Batch.Inputs.ContainerRegistryResponse
This setting can be omitted if was already provided at pool creation.
WorkingDirectory string
ImageName This property is required. string
This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.
ContainerHostBatchBindMounts []ContainerHostBatchBindMountEntryResponse
If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty.
ContainerRunOptions string
These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
Registry ContainerRegistryResponse
This setting can be omitted if was already provided at pool creation.
WorkingDirectory string
imageName This property is required. String
This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.
containerHostBatchBindMounts List<ContainerHostBatchBindMountEntryResponse>
If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty.
containerRunOptions String
These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
registry ContainerRegistryResponse
This setting can be omitted if was already provided at pool creation.
workingDirectory String
imageName This property is required. string
This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.
containerHostBatchBindMounts ContainerHostBatchBindMountEntryResponse[]
If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty.
containerRunOptions string
These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
registry ContainerRegistryResponse
This setting can be omitted if was already provided at pool creation.
workingDirectory string
image_name This property is required. str
This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.
container_host_batch_bind_mounts Sequence[ContainerHostBatchBindMountEntryResponse]
If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty.
container_run_options str
These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
registry ContainerRegistryResponse
This setting can be omitted if was already provided at pool creation.
working_directory str
imageName This property is required. String
This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.
containerHostBatchBindMounts List<Property Map>
If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty.
containerRunOptions String
These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
registry Property Map
This setting can be omitted if was already provided at pool creation.
workingDirectory String

TaskSchedulingPolicy
, TaskSchedulingPolicyArgs

NodeFillType This property is required. ComputeNodeFillType
nodeFillType This property is required. ComputeNodeFillType
nodeFillType This property is required. ComputeNodeFillType
node_fill_type This property is required. ComputeNodeFillType
nodeFillType This property is required. "Spread" | "Pack"

TaskSchedulingPolicyResponse
, TaskSchedulingPolicyResponseArgs

NodeFillType This property is required. string
NodeFillType This property is required. string
nodeFillType This property is required. String
nodeFillType This property is required. string
node_fill_type This property is required. str
nodeFillType This property is required. String

UefiSettings
, UefiSettingsArgs

SecureBootEnabled bool
Specifies whether secure boot should be enabled on the virtual machine.
VTpmEnabled bool
Specifies whether vTPM should be enabled on the virtual machine.
SecureBootEnabled bool
Specifies whether secure boot should be enabled on the virtual machine.
VTpmEnabled bool
Specifies whether vTPM should be enabled on the virtual machine.
secureBootEnabled Boolean
Specifies whether secure boot should be enabled on the virtual machine.
vTpmEnabled Boolean
Specifies whether vTPM should be enabled on the virtual machine.
secureBootEnabled boolean
Specifies whether secure boot should be enabled on the virtual machine.
vTpmEnabled boolean
Specifies whether vTPM should be enabled on the virtual machine.
secure_boot_enabled bool
Specifies whether secure boot should be enabled on the virtual machine.
v_tpm_enabled bool
Specifies whether vTPM should be enabled on the virtual machine.
secureBootEnabled Boolean
Specifies whether secure boot should be enabled on the virtual machine.
vTpmEnabled Boolean
Specifies whether vTPM should be enabled on the virtual machine.

UefiSettingsResponse
, UefiSettingsResponseArgs

SecureBootEnabled bool
Specifies whether secure boot should be enabled on the virtual machine.
VTpmEnabled bool
Specifies whether vTPM should be enabled on the virtual machine.
SecureBootEnabled bool
Specifies whether secure boot should be enabled on the virtual machine.
VTpmEnabled bool
Specifies whether vTPM should be enabled on the virtual machine.
secureBootEnabled Boolean
Specifies whether secure boot should be enabled on the virtual machine.
vTpmEnabled Boolean
Specifies whether vTPM should be enabled on the virtual machine.
secureBootEnabled boolean
Specifies whether secure boot should be enabled on the virtual machine.
vTpmEnabled boolean
Specifies whether vTPM should be enabled on the virtual machine.
secure_boot_enabled bool
Specifies whether secure boot should be enabled on the virtual machine.
v_tpm_enabled bool
Specifies whether vTPM should be enabled on the virtual machine.
secureBootEnabled Boolean
Specifies whether secure boot should be enabled on the virtual machine.
vTpmEnabled Boolean
Specifies whether vTPM should be enabled on the virtual machine.

UpgradeMode
, UpgradeModeArgs

Automatic
automaticAll virtual machines in the scale set are automatically updated at the same time.
Manual
manualYou control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
Rolling
rollingThe existing instances in a scale set are brought down in batches to be upgraded. Once the upgraded batch is complete, the instances will begin taking traffic again and the next batch will begin. This continues until all instances brought up-to-date.
UpgradeModeAutomatic
automaticAll virtual machines in the scale set are automatically updated at the same time.
UpgradeModeManual
manualYou control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
UpgradeModeRolling
rollingThe existing instances in a scale set are brought down in batches to be upgraded. Once the upgraded batch is complete, the instances will begin taking traffic again and the next batch will begin. This continues until all instances brought up-to-date.
Automatic
automaticAll virtual machines in the scale set are automatically updated at the same time.
Manual
manualYou control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
Rolling
rollingThe existing instances in a scale set are brought down in batches to be upgraded. Once the upgraded batch is complete, the instances will begin taking traffic again and the next batch will begin. This continues until all instances brought up-to-date.
Automatic
automaticAll virtual machines in the scale set are automatically updated at the same time.
Manual
manualYou control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
Rolling
rollingThe existing instances in a scale set are brought down in batches to be upgraded. Once the upgraded batch is complete, the instances will begin taking traffic again and the next batch will begin. This continues until all instances brought up-to-date.
AUTOMATIC
automaticAll virtual machines in the scale set are automatically updated at the same time.
MANUAL
manualYou control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
ROLLING
rollingThe existing instances in a scale set are brought down in batches to be upgraded. Once the upgraded batch is complete, the instances will begin taking traffic again and the next batch will begin. This continues until all instances brought up-to-date.
"automatic"
automaticAll virtual machines in the scale set are automatically updated at the same time.
"manual"
manualYou control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
"rolling"
rollingThe existing instances in a scale set are brought down in batches to be upgraded. Once the upgraded batch is complete, the instances will begin taking traffic again and the next batch will begin. This continues until all instances brought up-to-date.

UpgradePolicy
, UpgradePolicyArgs

Mode This property is required. Pulumi.AzureNative.Batch.UpgradeMode
AutomaticOSUpgradePolicy Pulumi.AzureNative.Batch.Inputs.AutomaticOSUpgradePolicy
The configuration parameters used for performing automatic OS upgrade.
RollingUpgradePolicy Pulumi.AzureNative.Batch.Inputs.RollingUpgradePolicy
The configuration parameters used while performing a rolling upgrade.
Mode This property is required. UpgradeMode
AutomaticOSUpgradePolicy AutomaticOSUpgradePolicy
The configuration parameters used for performing automatic OS upgrade.
RollingUpgradePolicy RollingUpgradePolicy
The configuration parameters used while performing a rolling upgrade.
mode This property is required. UpgradeMode
automaticOSUpgradePolicy AutomaticOSUpgradePolicy
The configuration parameters used for performing automatic OS upgrade.
rollingUpgradePolicy RollingUpgradePolicy
The configuration parameters used while performing a rolling upgrade.
mode This property is required. UpgradeMode
automaticOSUpgradePolicy AutomaticOSUpgradePolicy
The configuration parameters used for performing automatic OS upgrade.
rollingUpgradePolicy RollingUpgradePolicy
The configuration parameters used while performing a rolling upgrade.
mode This property is required. UpgradeMode
automatic_os_upgrade_policy AutomaticOSUpgradePolicy
The configuration parameters used for performing automatic OS upgrade.
rolling_upgrade_policy RollingUpgradePolicy
The configuration parameters used while performing a rolling upgrade.
mode This property is required. "automatic" | "manual" | "rolling"
automaticOSUpgradePolicy Property Map
The configuration parameters used for performing automatic OS upgrade.
rollingUpgradePolicy Property Map
The configuration parameters used while performing a rolling upgrade.

UpgradePolicyResponse
, UpgradePolicyResponseArgs

Mode This property is required. string
AutomaticOSUpgradePolicy Pulumi.AzureNative.Batch.Inputs.AutomaticOSUpgradePolicyResponse
The configuration parameters used for performing automatic OS upgrade.
RollingUpgradePolicy Pulumi.AzureNative.Batch.Inputs.RollingUpgradePolicyResponse
The configuration parameters used while performing a rolling upgrade.
Mode This property is required. string
AutomaticOSUpgradePolicy AutomaticOSUpgradePolicyResponse
The configuration parameters used for performing automatic OS upgrade.
RollingUpgradePolicy RollingUpgradePolicyResponse
The configuration parameters used while performing a rolling upgrade.
mode This property is required. String
automaticOSUpgradePolicy AutomaticOSUpgradePolicyResponse
The configuration parameters used for performing automatic OS upgrade.
rollingUpgradePolicy RollingUpgradePolicyResponse
The configuration parameters used while performing a rolling upgrade.
mode This property is required. string
automaticOSUpgradePolicy AutomaticOSUpgradePolicyResponse
The configuration parameters used for performing automatic OS upgrade.
rollingUpgradePolicy RollingUpgradePolicyResponse
The configuration parameters used while performing a rolling upgrade.
mode This property is required. str
automatic_os_upgrade_policy AutomaticOSUpgradePolicyResponse
The configuration parameters used for performing automatic OS upgrade.
rolling_upgrade_policy RollingUpgradePolicyResponse
The configuration parameters used while performing a rolling upgrade.
mode This property is required. String
automaticOSUpgradePolicy Property Map
The configuration parameters used for performing automatic OS upgrade.
rollingUpgradePolicy Property Map
The configuration parameters used while performing a rolling upgrade.

UserAccount
, UserAccountArgs

Name This property is required. string
Password This property is required. string
ElevationLevel Pulumi.AzureNative.Batch.ElevationLevel
nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
LinuxUserConfiguration Pulumi.AzureNative.Batch.Inputs.LinuxUserConfiguration
This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.
WindowsUserConfiguration Pulumi.AzureNative.Batch.Inputs.WindowsUserConfiguration
This property can only be specified if the user is on a Windows pool. If not specified and on a Windows pool, the user is created with the default options.
Name This property is required. string
Password This property is required. string
ElevationLevel ElevationLevel
nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
LinuxUserConfiguration LinuxUserConfiguration
This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.
WindowsUserConfiguration WindowsUserConfiguration
This property can only be specified if the user is on a Windows pool. If not specified and on a Windows pool, the user is created with the default options.
name This property is required. String
password This property is required. String
elevationLevel ElevationLevel
nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
linuxUserConfiguration LinuxUserConfiguration
This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.
windowsUserConfiguration WindowsUserConfiguration
This property can only be specified if the user is on a Windows pool. If not specified and on a Windows pool, the user is created with the default options.
name This property is required. string
password This property is required. string
elevationLevel ElevationLevel
nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
linuxUserConfiguration LinuxUserConfiguration
This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.
windowsUserConfiguration WindowsUserConfiguration
This property can only be specified if the user is on a Windows pool. If not specified and on a Windows pool, the user is created with the default options.
name This property is required. str
password This property is required. str
elevation_level ElevationLevel
nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
linux_user_configuration LinuxUserConfiguration
This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.
windows_user_configuration WindowsUserConfiguration
This property can only be specified if the user is on a Windows pool. If not specified and on a Windows pool, the user is created with the default options.
name This property is required. String
password This property is required. String
elevationLevel "NonAdmin" | "Admin"
nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
linuxUserConfiguration Property Map
This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.
windowsUserConfiguration Property Map
This property can only be specified if the user is on a Windows pool. If not specified and on a Windows pool, the user is created with the default options.

UserAccountResponse
, UserAccountResponseArgs

Name This property is required. string
Password This property is required. string
ElevationLevel string
nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
LinuxUserConfiguration Pulumi.AzureNative.Batch.Inputs.LinuxUserConfigurationResponse
This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.
WindowsUserConfiguration Pulumi.AzureNative.Batch.Inputs.WindowsUserConfigurationResponse
This property can only be specified if the user is on a Windows pool. If not specified and on a Windows pool, the user is created with the default options.
Name This property is required. string
Password This property is required. string
ElevationLevel string
nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
LinuxUserConfiguration LinuxUserConfigurationResponse
This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.
WindowsUserConfiguration WindowsUserConfigurationResponse
This property can only be specified if the user is on a Windows pool. If not specified and on a Windows pool, the user is created with the default options.
name This property is required. String
password This property is required. String
elevationLevel String
nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
linuxUserConfiguration LinuxUserConfigurationResponse
This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.
windowsUserConfiguration WindowsUserConfigurationResponse
This property can only be specified if the user is on a Windows pool. If not specified and on a Windows pool, the user is created with the default options.
name This property is required. string
password This property is required. string
elevationLevel string
nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
linuxUserConfiguration LinuxUserConfigurationResponse
This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.
windowsUserConfiguration WindowsUserConfigurationResponse
This property can only be specified if the user is on a Windows pool. If not specified and on a Windows pool, the user is created with the default options.
name This property is required. str
password This property is required. str
elevation_level str
nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
linux_user_configuration LinuxUserConfigurationResponse
This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.
windows_user_configuration WindowsUserConfigurationResponse
This property can only be specified if the user is on a Windows pool. If not specified and on a Windows pool, the user is created with the default options.
name This property is required. String
password This property is required. String
elevationLevel String
nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
linuxUserConfiguration Property Map
This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.
windowsUserConfiguration Property Map
This property can only be specified if the user is on a Windows pool. If not specified and on a Windows pool, the user is created with the default options.

UserAssignedIdentitiesResponse
, UserAssignedIdentitiesResponseArgs

ClientId This property is required. string
The client id of user assigned identity.
PrincipalId This property is required. string
The principal id of user assigned identity.
ClientId This property is required. string
The client id of user assigned identity.
PrincipalId This property is required. string
The principal id of user assigned identity.
clientId This property is required. String
The client id of user assigned identity.
principalId This property is required. String
The principal id of user assigned identity.
clientId This property is required. string
The client id of user assigned identity.
principalId This property is required. string
The principal id of user assigned identity.
client_id This property is required. str
The client id of user assigned identity.
principal_id This property is required. str
The principal id of user assigned identity.
clientId This property is required. String
The client id of user assigned identity.
principalId This property is required. String
The principal id of user assigned identity.

UserIdentity
, UserIdentityArgs

AutoUser Pulumi.AzureNative.Batch.Inputs.AutoUserSpecification
The userName and autoUser properties are mutually exclusive; you must specify one but not both.
UserName string
The userName and autoUser properties are mutually exclusive; you must specify one but not both.
AutoUser AutoUserSpecification
The userName and autoUser properties are mutually exclusive; you must specify one but not both.
UserName string
The userName and autoUser properties are mutually exclusive; you must specify one but not both.
autoUser AutoUserSpecification
The userName and autoUser properties are mutually exclusive; you must specify one but not both.
userName String
The userName and autoUser properties are mutually exclusive; you must specify one but not both.
autoUser AutoUserSpecification
The userName and autoUser properties are mutually exclusive; you must specify one but not both.
userName string
The userName and autoUser properties are mutually exclusive; you must specify one but not both.
auto_user AutoUserSpecification
The userName and autoUser properties are mutually exclusive; you must specify one but not both.
user_name str
The userName and autoUser properties are mutually exclusive; you must specify one but not both.
autoUser Property Map
The userName and autoUser properties are mutually exclusive; you must specify one but not both.
userName String
The userName and autoUser properties are mutually exclusive; you must specify one but not both.

UserIdentityResponse
, UserIdentityResponseArgs

AutoUser Pulumi.AzureNative.Batch.Inputs.AutoUserSpecificationResponse
The userName and autoUser properties are mutually exclusive; you must specify one but not both.
UserName string
The userName and autoUser properties are mutually exclusive; you must specify one but not both.
AutoUser AutoUserSpecificationResponse
The userName and autoUser properties are mutually exclusive; you must specify one but not both.
UserName string
The userName and autoUser properties are mutually exclusive; you must specify one but not both.
autoUser AutoUserSpecificationResponse
The userName and autoUser properties are mutually exclusive; you must specify one but not both.
userName String
The userName and autoUser properties are mutually exclusive; you must specify one but not both.
autoUser AutoUserSpecificationResponse
The userName and autoUser properties are mutually exclusive; you must specify one but not both.
userName string
The userName and autoUser properties are mutually exclusive; you must specify one but not both.
auto_user AutoUserSpecificationResponse
The userName and autoUser properties are mutually exclusive; you must specify one but not both.
user_name str
The userName and autoUser properties are mutually exclusive; you must specify one but not both.
autoUser Property Map
The userName and autoUser properties are mutually exclusive; you must specify one but not both.
userName String
The userName and autoUser properties are mutually exclusive; you must specify one but not both.

VMDiskSecurityProfile
, VMDiskSecurityProfileArgs

VMDiskSecurityProfileResponse
, VMDiskSecurityProfileResponseArgs

VMExtension
, VMExtensionArgs

Name This property is required. string
Publisher This property is required. string
Type This property is required. string
AutoUpgradeMinorVersion bool
Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
EnableAutomaticUpgrade bool
Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
ProtectedSettings object
The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
ProvisionAfterExtensions List<string>
Collection of extension names after which this extension needs to be provisioned.
Settings object
TypeHandlerVersion string
Name This property is required. string
Publisher This property is required. string
Type This property is required. string
AutoUpgradeMinorVersion bool
Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
EnableAutomaticUpgrade bool
Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
ProtectedSettings interface{}
The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
ProvisionAfterExtensions []string
Collection of extension names after which this extension needs to be provisioned.
Settings interface{}
TypeHandlerVersion string
name This property is required. String
publisher This property is required. String
type This property is required. String
autoUpgradeMinorVersion Boolean
Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
enableAutomaticUpgrade Boolean
Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
protectedSettings Object
The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
provisionAfterExtensions List<String>
Collection of extension names after which this extension needs to be provisioned.
settings Object
typeHandlerVersion String
name This property is required. string
publisher This property is required. string
type This property is required. string
autoUpgradeMinorVersion boolean
Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
enableAutomaticUpgrade boolean
Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
protectedSettings any
The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
provisionAfterExtensions string[]
Collection of extension names after which this extension needs to be provisioned.
settings any
typeHandlerVersion string
name This property is required. str
publisher This property is required. str
type This property is required. str
auto_upgrade_minor_version bool
Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
enable_automatic_upgrade bool
Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
protected_settings Any
The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
provision_after_extensions Sequence[str]
Collection of extension names after which this extension needs to be provisioned.
settings Any
type_handler_version str
name This property is required. String
publisher This property is required. String
type This property is required. String
autoUpgradeMinorVersion Boolean
Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
enableAutomaticUpgrade Boolean
Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
protectedSettings Any
The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
provisionAfterExtensions List<String>
Collection of extension names after which this extension needs to be provisioned.
settings Any
typeHandlerVersion String

VMExtensionResponse
, VMExtensionResponseArgs

Name This property is required. string
Publisher This property is required. string
Type This property is required. string
AutoUpgradeMinorVersion bool
Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
EnableAutomaticUpgrade bool
Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
ProtectedSettings object
The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
ProvisionAfterExtensions List<string>
Collection of extension names after which this extension needs to be provisioned.
Settings object
TypeHandlerVersion string
Name This property is required. string
Publisher This property is required. string
Type This property is required. string
AutoUpgradeMinorVersion bool
Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
EnableAutomaticUpgrade bool
Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
ProtectedSettings interface{}
The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
ProvisionAfterExtensions []string
Collection of extension names after which this extension needs to be provisioned.
Settings interface{}
TypeHandlerVersion string
name This property is required. String
publisher This property is required. String
type This property is required. String
autoUpgradeMinorVersion Boolean
Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
enableAutomaticUpgrade Boolean
Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
protectedSettings Object
The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
provisionAfterExtensions List<String>
Collection of extension names after which this extension needs to be provisioned.
settings Object
typeHandlerVersion String
name This property is required. string
publisher This property is required. string
type This property is required. string
autoUpgradeMinorVersion boolean
Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
enableAutomaticUpgrade boolean
Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
protectedSettings any
The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
provisionAfterExtensions string[]
Collection of extension names after which this extension needs to be provisioned.
settings any
typeHandlerVersion string
name This property is required. str
publisher This property is required. str
type This property is required. str
auto_upgrade_minor_version bool
Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
enable_automatic_upgrade bool
Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
protected_settings Any
The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
provision_after_extensions Sequence[str]
Collection of extension names after which this extension needs to be provisioned.
settings Any
type_handler_version str
name This property is required. String
publisher This property is required. String
type This property is required. String
autoUpgradeMinorVersion Boolean
Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
enableAutomaticUpgrade Boolean
Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
protectedSettings Any
The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
provisionAfterExtensions List<String>
Collection of extension names after which this extension needs to be provisioned.
settings Any
typeHandlerVersion String

VirtualMachineConfiguration
, VirtualMachineConfigurationArgs

ImageReference This property is required. Pulumi.AzureNative.Batch.Inputs.ImageReference
NodeAgentSkuId This property is required. string
The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.
ContainerConfiguration Pulumi.AzureNative.Batch.Inputs.ContainerConfiguration
If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it.
DataDisks List<Pulumi.AzureNative.Batch.Inputs.DataDisk>
This property must be specified if the compute nodes in the pool need to have empty data disks attached to them.
DiskEncryptionConfiguration Pulumi.AzureNative.Batch.Inputs.DiskEncryptionConfiguration
If specified, encryption is performed on each node in the pool during node provisioning.
Extensions List<Pulumi.AzureNative.Batch.Inputs.VMExtension>
If specified, the extensions mentioned in this configuration will be installed on each node.
LicenseType string

This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:

Windows_Server - The on-premises license is for Windows Server. Windows_Client - The on-premises license is for Windows Client.

NodePlacementConfiguration Pulumi.AzureNative.Batch.Inputs.NodePlacementConfiguration
This configuration will specify rules on how nodes in the pool will be physically allocated.
OsDisk Pulumi.AzureNative.Batch.Inputs.OSDisk
Contains configuration for ephemeral OSDisk settings.
SecurityProfile Pulumi.AzureNative.Batch.Inputs.SecurityProfile
Specifies the security profile settings for the virtual machine or virtual machine scale set.
ServiceArtifactReference Pulumi.AzureNative.Batch.Inputs.ServiceArtifactReference
The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
WindowsConfiguration Pulumi.AzureNative.Batch.Inputs.WindowsConfiguration
This property must not be specified if the imageReference specifies a Linux OS image.
ImageReference This property is required. ImageReference
NodeAgentSkuId This property is required. string
The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.
ContainerConfiguration ContainerConfiguration
If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it.
DataDisks []DataDisk
This property must be specified if the compute nodes in the pool need to have empty data disks attached to them.
DiskEncryptionConfiguration DiskEncryptionConfiguration
If specified, encryption is performed on each node in the pool during node provisioning.
Extensions []VMExtension
If specified, the extensions mentioned in this configuration will be installed on each node.
LicenseType string

This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:

Windows_Server - The on-premises license is for Windows Server. Windows_Client - The on-premises license is for Windows Client.

NodePlacementConfiguration NodePlacementConfiguration
This configuration will specify rules on how nodes in the pool will be physically allocated.
OsDisk OSDisk
Contains configuration for ephemeral OSDisk settings.
SecurityProfile SecurityProfile
Specifies the security profile settings for the virtual machine or virtual machine scale set.
ServiceArtifactReference ServiceArtifactReference
The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
WindowsConfiguration WindowsConfiguration
This property must not be specified if the imageReference specifies a Linux OS image.
imageReference This property is required. ImageReference
nodeAgentSkuId This property is required. String
The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.
containerConfiguration ContainerConfiguration
If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it.
dataDisks List<DataDisk>
This property must be specified if the compute nodes in the pool need to have empty data disks attached to them.
diskEncryptionConfiguration DiskEncryptionConfiguration
If specified, encryption is performed on each node in the pool during node provisioning.
extensions List<VMExtension>
If specified, the extensions mentioned in this configuration will be installed on each node.
licenseType String

This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:

Windows_Server - The on-premises license is for Windows Server. Windows_Client - The on-premises license is for Windows Client.

nodePlacementConfiguration NodePlacementConfiguration
This configuration will specify rules on how nodes in the pool will be physically allocated.
osDisk OSDisk
Contains configuration for ephemeral OSDisk settings.
securityProfile SecurityProfile
Specifies the security profile settings for the virtual machine or virtual machine scale set.
serviceArtifactReference ServiceArtifactReference
The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
windowsConfiguration WindowsConfiguration
This property must not be specified if the imageReference specifies a Linux OS image.
imageReference This property is required. ImageReference
nodeAgentSkuId This property is required. string
The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.
containerConfiguration ContainerConfiguration
If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it.
dataDisks DataDisk[]
This property must be specified if the compute nodes in the pool need to have empty data disks attached to them.
diskEncryptionConfiguration DiskEncryptionConfiguration
If specified, encryption is performed on each node in the pool during node provisioning.
extensions VMExtension[]
If specified, the extensions mentioned in this configuration will be installed on each node.
licenseType string

This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:

Windows_Server - The on-premises license is for Windows Server. Windows_Client - The on-premises license is for Windows Client.

nodePlacementConfiguration NodePlacementConfiguration
This configuration will specify rules on how nodes in the pool will be physically allocated.
osDisk OSDisk
Contains configuration for ephemeral OSDisk settings.
securityProfile SecurityProfile
Specifies the security profile settings for the virtual machine or virtual machine scale set.
serviceArtifactReference ServiceArtifactReference
The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
windowsConfiguration WindowsConfiguration
This property must not be specified if the imageReference specifies a Linux OS image.
image_reference This property is required. ImageReference
node_agent_sku_id This property is required. str
The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.
container_configuration ContainerConfiguration
If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it.
data_disks Sequence[DataDisk]
This property must be specified if the compute nodes in the pool need to have empty data disks attached to them.
disk_encryption_configuration DiskEncryptionConfiguration
If specified, encryption is performed on each node in the pool during node provisioning.
extensions Sequence[VMExtension]
If specified, the extensions mentioned in this configuration will be installed on each node.
license_type str

This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:

Windows_Server - The on-premises license is for Windows Server. Windows_Client - The on-premises license is for Windows Client.

node_placement_configuration NodePlacementConfiguration
This configuration will specify rules on how nodes in the pool will be physically allocated.
os_disk OSDisk
Contains configuration for ephemeral OSDisk settings.
security_profile SecurityProfile
Specifies the security profile settings for the virtual machine or virtual machine scale set.
service_artifact_reference ServiceArtifactReference
The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
windows_configuration WindowsConfiguration
This property must not be specified if the imageReference specifies a Linux OS image.
imageReference This property is required. Property Map
nodeAgentSkuId This property is required. String
The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.
containerConfiguration Property Map
If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it.
dataDisks List<Property Map>
This property must be specified if the compute nodes in the pool need to have empty data disks attached to them.
diskEncryptionConfiguration Property Map
If specified, encryption is performed on each node in the pool during node provisioning.
extensions List<Property Map>
If specified, the extensions mentioned in this configuration will be installed on each node.
licenseType String

This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:

Windows_Server - The on-premises license is for Windows Server. Windows_Client - The on-premises license is for Windows Client.

nodePlacementConfiguration Property Map
This configuration will specify rules on how nodes in the pool will be physically allocated.
osDisk Property Map
Contains configuration for ephemeral OSDisk settings.
securityProfile Property Map
Specifies the security profile settings for the virtual machine or virtual machine scale set.
serviceArtifactReference Property Map
The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
windowsConfiguration Property Map
This property must not be specified if the imageReference specifies a Linux OS image.

VirtualMachineConfigurationResponse
, VirtualMachineConfigurationResponseArgs

ImageReference This property is required. Pulumi.AzureNative.Batch.Inputs.ImageReferenceResponse
NodeAgentSkuId This property is required. string
The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.
ContainerConfiguration Pulumi.AzureNative.Batch.Inputs.ContainerConfigurationResponse
If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it.
DataDisks List<Pulumi.AzureNative.Batch.Inputs.DataDiskResponse>
This property must be specified if the compute nodes in the pool need to have empty data disks attached to them.
DiskEncryptionConfiguration Pulumi.AzureNative.Batch.Inputs.DiskEncryptionConfigurationResponse
If specified, encryption is performed on each node in the pool during node provisioning.
Extensions List<Pulumi.AzureNative.Batch.Inputs.VMExtensionResponse>
If specified, the extensions mentioned in this configuration will be installed on each node.
LicenseType string

This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:

Windows_Server - The on-premises license is for Windows Server. Windows_Client - The on-premises license is for Windows Client.

NodePlacementConfiguration Pulumi.AzureNative.Batch.Inputs.NodePlacementConfigurationResponse
This configuration will specify rules on how nodes in the pool will be physically allocated.
OsDisk Pulumi.AzureNative.Batch.Inputs.OSDiskResponse
Contains configuration for ephemeral OSDisk settings.
SecurityProfile Pulumi.AzureNative.Batch.Inputs.SecurityProfileResponse
Specifies the security profile settings for the virtual machine or virtual machine scale set.
ServiceArtifactReference Pulumi.AzureNative.Batch.Inputs.ServiceArtifactReferenceResponse
The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
WindowsConfiguration Pulumi.AzureNative.Batch.Inputs.WindowsConfigurationResponse
This property must not be specified if the imageReference specifies a Linux OS image.
ImageReference This property is required. ImageReferenceResponse
NodeAgentSkuId This property is required. string
The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.
ContainerConfiguration ContainerConfigurationResponse
If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it.
DataDisks []DataDiskResponse
This property must be specified if the compute nodes in the pool need to have empty data disks attached to them.
DiskEncryptionConfiguration DiskEncryptionConfigurationResponse
If specified, encryption is performed on each node in the pool during node provisioning.
Extensions []VMExtensionResponse
If specified, the extensions mentioned in this configuration will be installed on each node.
LicenseType string

This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:

Windows_Server - The on-premises license is for Windows Server. Windows_Client - The on-premises license is for Windows Client.

NodePlacementConfiguration NodePlacementConfigurationResponse
This configuration will specify rules on how nodes in the pool will be physically allocated.
OsDisk OSDiskResponse
Contains configuration for ephemeral OSDisk settings.
SecurityProfile SecurityProfileResponse
Specifies the security profile settings for the virtual machine or virtual machine scale set.
ServiceArtifactReference ServiceArtifactReferenceResponse
The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
WindowsConfiguration WindowsConfigurationResponse
This property must not be specified if the imageReference specifies a Linux OS image.
imageReference This property is required. ImageReferenceResponse
nodeAgentSkuId This property is required. String
The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.
containerConfiguration ContainerConfigurationResponse
If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it.
dataDisks List<DataDiskResponse>
This property must be specified if the compute nodes in the pool need to have empty data disks attached to them.
diskEncryptionConfiguration DiskEncryptionConfigurationResponse
If specified, encryption is performed on each node in the pool during node provisioning.
extensions List<VMExtensionResponse>
If specified, the extensions mentioned in this configuration will be installed on each node.
licenseType String

This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:

Windows_Server - The on-premises license is for Windows Server. Windows_Client - The on-premises license is for Windows Client.

nodePlacementConfiguration NodePlacementConfigurationResponse
This configuration will specify rules on how nodes in the pool will be physically allocated.
osDisk OSDiskResponse
Contains configuration for ephemeral OSDisk settings.
securityProfile SecurityProfileResponse
Specifies the security profile settings for the virtual machine or virtual machine scale set.
serviceArtifactReference ServiceArtifactReferenceResponse
The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
windowsConfiguration WindowsConfigurationResponse
This property must not be specified if the imageReference specifies a Linux OS image.
imageReference This property is required. ImageReferenceResponse
nodeAgentSkuId This property is required. string
The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.
containerConfiguration ContainerConfigurationResponse
If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it.
dataDisks DataDiskResponse[]
This property must be specified if the compute nodes in the pool need to have empty data disks attached to them.
diskEncryptionConfiguration DiskEncryptionConfigurationResponse
If specified, encryption is performed on each node in the pool during node provisioning.
extensions VMExtensionResponse[]
If specified, the extensions mentioned in this configuration will be installed on each node.
licenseType string

This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:

Windows_Server - The on-premises license is for Windows Server. Windows_Client - The on-premises license is for Windows Client.

nodePlacementConfiguration NodePlacementConfigurationResponse
This configuration will specify rules on how nodes in the pool will be physically allocated.
osDisk OSDiskResponse
Contains configuration for ephemeral OSDisk settings.
securityProfile SecurityProfileResponse
Specifies the security profile settings for the virtual machine or virtual machine scale set.
serviceArtifactReference ServiceArtifactReferenceResponse
The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
windowsConfiguration WindowsConfigurationResponse
This property must not be specified if the imageReference specifies a Linux OS image.
image_reference This property is required. ImageReferenceResponse
node_agent_sku_id This property is required. str
The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.
container_configuration ContainerConfigurationResponse
If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it.
data_disks Sequence[DataDiskResponse]
This property must be specified if the compute nodes in the pool need to have empty data disks attached to them.
disk_encryption_configuration DiskEncryptionConfigurationResponse
If specified, encryption is performed on each node in the pool during node provisioning.
extensions Sequence[VMExtensionResponse]
If specified, the extensions mentioned in this configuration will be installed on each node.
license_type str

This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:

Windows_Server - The on-premises license is for Windows Server. Windows_Client - The on-premises license is for Windows Client.

node_placement_configuration NodePlacementConfigurationResponse
This configuration will specify rules on how nodes in the pool will be physically allocated.
os_disk OSDiskResponse
Contains configuration for ephemeral OSDisk settings.
security_profile SecurityProfileResponse
Specifies the security profile settings for the virtual machine or virtual machine scale set.
service_artifact_reference ServiceArtifactReferenceResponse
The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
windows_configuration WindowsConfigurationResponse
This property must not be specified if the imageReference specifies a Linux OS image.
imageReference This property is required. Property Map
nodeAgentSkuId This property is required. String
The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.
containerConfiguration Property Map
If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it.
dataDisks List<Property Map>
This property must be specified if the compute nodes in the pool need to have empty data disks attached to them.
diskEncryptionConfiguration Property Map
If specified, encryption is performed on each node in the pool during node provisioning.
extensions List<Property Map>
If specified, the extensions mentioned in this configuration will be installed on each node.
licenseType String

This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:

Windows_Server - The on-premises license is for Windows Server. Windows_Client - The on-premises license is for Windows Client.

nodePlacementConfiguration Property Map
This configuration will specify rules on how nodes in the pool will be physically allocated.
osDisk Property Map
Contains configuration for ephemeral OSDisk settings.
securityProfile Property Map
Specifies the security profile settings for the virtual machine or virtual machine scale set.
serviceArtifactReference Property Map
The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
windowsConfiguration Property Map
This property must not be specified if the imageReference specifies a Linux OS image.

WindowsConfiguration
, WindowsConfigurationArgs

EnableAutomaticUpdates bool
If omitted, the default value is true.
EnableAutomaticUpdates bool
If omitted, the default value is true.
enableAutomaticUpdates Boolean
If omitted, the default value is true.
enableAutomaticUpdates boolean
If omitted, the default value is true.
enable_automatic_updates bool
If omitted, the default value is true.
enableAutomaticUpdates Boolean
If omitted, the default value is true.

WindowsConfigurationResponse
, WindowsConfigurationResponseArgs

EnableAutomaticUpdates bool
If omitted, the default value is true.
EnableAutomaticUpdates bool
If omitted, the default value is true.
enableAutomaticUpdates Boolean
If omitted, the default value is true.
enableAutomaticUpdates boolean
If omitted, the default value is true.
enable_automatic_updates bool
If omitted, the default value is true.
enableAutomaticUpdates Boolean
If omitted, the default value is true.

WindowsUserConfiguration
, WindowsUserConfigurationArgs

LoginMode Pulumi.AzureNative.Batch.LoginMode
Specifies login mode for the user. The default value is Interactive.
LoginMode LoginMode
Specifies login mode for the user. The default value is Interactive.
loginMode LoginMode
Specifies login mode for the user. The default value is Interactive.
loginMode LoginMode
Specifies login mode for the user. The default value is Interactive.
login_mode LoginMode
Specifies login mode for the user. The default value is Interactive.
loginMode "Batch" | "Interactive"
Specifies login mode for the user. The default value is Interactive.

WindowsUserConfigurationResponse
, WindowsUserConfigurationResponseArgs

LoginMode string
Specifies login mode for the user. The default value is Interactive.
LoginMode string
Specifies login mode for the user. The default value is Interactive.
loginMode String
Specifies login mode for the user. The default value is Interactive.
loginMode string
Specifies login mode for the user. The default value is Interactive.
login_mode str
Specifies login mode for the user. The default value is Interactive.
loginMode String
Specifies login mode for the user. The default value is Interactive.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:batch:Pool testpool /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0