Azure Classic v5.43.0, May 6 23
Azure Classic v5.43.0, May 6 23
azure.batch.Pool
Explore with Pulumi AI
Manages an Azure Batch pool.
Example Usage
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
private static string ReadFileBase64(string path) {
return Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(File.ReadAllText(path)));
}
return await Deployment.RunAsync(() =>
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
{
Location = "West Europe",
});
var exampleAccount = new Azure.Storage.Account("exampleAccount", new()
{
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
AccountTier = "Standard",
AccountReplicationType = "LRS",
});
var exampleBatch_accountAccount = new Azure.Batch.Account("exampleBatch/accountAccount", new()
{
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
PoolAllocationMode = "BatchService",
StorageAccountId = exampleAccount.Id,
Tags =
{
{ "env", "test" },
},
});
var exampleCertificate = new Azure.Batch.Certificate("exampleCertificate", new()
{
ResourceGroupName = exampleResourceGroup.Name,
AccountName = exampleBatch / accountAccount.Name,
BatchCertificate = ReadFileBase64("certificate.cer"),
Format = "Cer",
Thumbprint = "312d31a79fa0cef49c00f769afc2b73e9f4edf34",
ThumbprintAlgorithm = "SHA1",
});
var examplePool = new Azure.Batch.Pool("examplePool", new()
{
ResourceGroupName = exampleResourceGroup.Name,
AccountName = exampleBatch / accountAccount.Name,
DisplayName = "Test Acc Pool Auto",
VmSize = "Standard_A1",
NodeAgentSkuId = "batch.node.ubuntu 20.04",
AutoScale = new Azure.Batch.Inputs.PoolAutoScaleArgs
{
EvaluationInterval = "PT15M",
Formula = @" startingNumberOfVMs = 1;
maxNumberofVMs = 25;
pendingTaskSamplePercent = $PendingTasks.GetSamplePercent(180 * TimeInterval_Second);
pendingTaskSamples = pendingTaskSamplePercent < 70 ? startingNumberOfVMs : avg($PendingTasks.GetSample(180 * TimeInterval_Second));
$TargetDedicatedNodes=min(maxNumberofVMs, pendingTaskSamples);
",
},
StorageImageReference = new Azure.Batch.Inputs.PoolStorageImageReferenceArgs
{
Publisher = "microsoft-azure-batch",
Offer = "ubuntu-server-container",
Sku = "20-04-lts",
Version = "latest",
},
ContainerConfiguration = new Azure.Batch.Inputs.PoolContainerConfigurationArgs
{
Type = "DockerCompatible",
ContainerRegistries = new[]
{
new Azure.Batch.Inputs.PoolContainerConfigurationContainerRegistryArgs
{
RegistryServer = "docker.io",
UserName = "login",
Password = "apassword",
},
},
},
StartTask = new Azure.Batch.Inputs.PoolStartTaskArgs
{
CommandLine = "echo 'Hello World from $env'",
TaskRetryMaximum = 1,
WaitForSuccess = true,
CommonEnvironmentProperties =
{
{ "env", "TEST" },
},
UserIdentity = new Azure.Batch.Inputs.PoolStartTaskUserIdentityArgs
{
AutoUser = new Azure.Batch.Inputs.PoolStartTaskUserIdentityAutoUserArgs
{
ElevationLevel = "NonAdmin",
Scope = "Task",
},
},
},
Certificates = new[]
{
new Azure.Batch.Inputs.PoolCertificateArgs
{
Id = exampleCertificate.Id,
StoreLocation = "CurrentUser",
Visibilities = new[]
{
"StartTask",
},
},
},
});
});
package main
import (
"encoding/base64"
"os"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/batch"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func filebase64OrPanic(path string) pulumi.StringPtrInput {
if fileData, err := os.ReadFile(path); err == nil {
return pulumi.String(base64.StdEncoding.EncodeToString(fileData[:]))
} else {
panic(err.Error())
}
}
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
ResourceGroupName: exampleResourceGroup.Name,
Location: exampleResourceGroup.Location,
AccountTier: pulumi.String("Standard"),
AccountReplicationType: pulumi.String("LRS"),
})
if err != nil {
return err
}
_, err = batch.NewAccount(ctx, "exampleBatch/accountAccount", &batch.AccountArgs{
ResourceGroupName: exampleResourceGroup.Name,
Location: exampleResourceGroup.Location,
PoolAllocationMode: pulumi.String("BatchService"),
StorageAccountId: exampleAccount.ID(),
Tags: pulumi.StringMap{
"env": pulumi.String("test"),
},
})
if err != nil {
return err
}
exampleCertificate, err := batch.NewCertificate(ctx, "exampleCertificate", &batch.CertificateArgs{
ResourceGroupName: exampleResourceGroup.Name,
AccountName: exampleBatch / accountAccount.Name,
Certificate: filebase64OrPanic("certificate.cer"),
Format: pulumi.String("Cer"),
Thumbprint: pulumi.String("312d31a79fa0cef49c00f769afc2b73e9f4edf34"),
ThumbprintAlgorithm: pulumi.String("SHA1"),
})
if err != nil {
return err
}
_, err = batch.NewPool(ctx, "examplePool", &batch.PoolArgs{
ResourceGroupName: exampleResourceGroup.Name,
AccountName: exampleBatch / accountAccount.Name,
DisplayName: pulumi.String("Test Acc Pool Auto"),
VmSize: pulumi.String("Standard_A1"),
NodeAgentSkuId: pulumi.String("batch.node.ubuntu 20.04"),
AutoScale: &batch.PoolAutoScaleArgs{
EvaluationInterval: pulumi.String("PT15M"),
Formula: pulumi.String(" startingNumberOfVMs = 1;\n maxNumberofVMs = 25;\n pendingTaskSamplePercent = $PendingTasks.GetSamplePercent(180 * TimeInterval_Second);\n pendingTaskSamples = pendingTaskSamplePercent < 70 ? startingNumberOfVMs : avg($PendingTasks.GetSample(180 * TimeInterval_Second));\n $TargetDedicatedNodes=min(maxNumberofVMs, pendingTaskSamples);\n"),
},
StorageImageReference: &batch.PoolStorageImageReferenceArgs{
Publisher: pulumi.String("microsoft-azure-batch"),
Offer: pulumi.String("ubuntu-server-container"),
Sku: pulumi.String("20-04-lts"),
Version: pulumi.String("latest"),
},
ContainerConfiguration: &batch.PoolContainerConfigurationArgs{
Type: pulumi.String("DockerCompatible"),
ContainerRegistries: batch.PoolContainerConfigurationContainerRegistryArray{
&batch.PoolContainerConfigurationContainerRegistryArgs{
RegistryServer: pulumi.String("docker.io"),
UserName: pulumi.String("login"),
Password: pulumi.String("apassword"),
},
},
},
StartTask: &batch.PoolStartTaskArgs{
CommandLine: pulumi.String("echo 'Hello World from $env'"),
TaskRetryMaximum: pulumi.Int(1),
WaitForSuccess: pulumi.Bool(true),
CommonEnvironmentProperties: pulumi.StringMap{
"env": pulumi.String("TEST"),
},
UserIdentity: &batch.PoolStartTaskUserIdentityArgs{
AutoUser: &batch.PoolStartTaskUserIdentityAutoUserArgs{
ElevationLevel: pulumi.String("NonAdmin"),
Scope: pulumi.String("Task"),
},
},
},
Certificates: batch.PoolCertificateArray{
&batch.PoolCertificateArgs{
Id: exampleCertificate.ID(),
StoreLocation: pulumi.String("CurrentUser"),
Visibilities: pulumi.StringArray{
pulumi.String("StartTask"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.storage.Account;
import com.pulumi.azure.storage.AccountArgs;
import com.pulumi.azure.batch.Account;
import com.pulumi.azure.batch.AccountArgs;
import com.pulumi.azure.batch.Certificate;
import com.pulumi.azure.batch.CertificateArgs;
import com.pulumi.azure.batch.Pool;
import com.pulumi.azure.batch.PoolArgs;
import com.pulumi.azure.batch.inputs.PoolAutoScaleArgs;
import com.pulumi.azure.batch.inputs.PoolStorageImageReferenceArgs;
import com.pulumi.azure.batch.inputs.PoolContainerConfigurationArgs;
import com.pulumi.azure.batch.inputs.PoolStartTaskArgs;
import com.pulumi.azure.batch.inputs.PoolStartTaskUserIdentityArgs;
import com.pulumi.azure.batch.inputs.PoolStartTaskUserIdentityAutoUserArgs;
import com.pulumi.azure.batch.inputs.PoolCertificateArgs;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.accountTier("Standard")
.accountReplicationType("LRS")
.build());
var exampleBatch_accountAccount = new Account("exampleBatch/accountAccount", AccountArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.poolAllocationMode("BatchService")
.storageAccountId(exampleAccount.id())
.tags(Map.of("env", "test"))
.build());
var exampleCertificate = new Certificate("exampleCertificate", CertificateArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.accountName(exampleBatch / accountAccount.name())
.certificate(Base64.getEncoder().encodeToString(Files.readAllBytes(Paths.get("certificate.cer"))))
.format("Cer")
.thumbprint("312d31a79fa0cef49c00f769afc2b73e9f4edf34")
.thumbprintAlgorithm("SHA1")
.build());
var examplePool = new Pool("examplePool", PoolArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.accountName(exampleBatch / accountAccount.name())
.displayName("Test Acc Pool Auto")
.vmSize("Standard_A1")
.nodeAgentSkuId("batch.node.ubuntu 20.04")
.autoScale(PoolAutoScaleArgs.builder()
.evaluationInterval("PT15M")
.formula("""
startingNumberOfVMs = 1;
maxNumberofVMs = 25;
pendingTaskSamplePercent = $PendingTasks.GetSamplePercent(180 * TimeInterval_Second);
pendingTaskSamples = pendingTaskSamplePercent < 70 ? startingNumberOfVMs : avg($PendingTasks.GetSample(180 * TimeInterval_Second));
$TargetDedicatedNodes=min(maxNumberofVMs, pendingTaskSamples);
""")
.build())
.storageImageReference(PoolStorageImageReferenceArgs.builder()
.publisher("microsoft-azure-batch")
.offer("ubuntu-server-container")
.sku("20-04-lts")
.version("latest")
.build())
.containerConfiguration(PoolContainerConfigurationArgs.builder()
.type("DockerCompatible")
.containerRegistries(PoolContainerConfigurationContainerRegistryArgs.builder()
.registryServer("docker.io")
.userName("login")
.password("apassword")
.build())
.build())
.startTask(PoolStartTaskArgs.builder()
.commandLine("echo 'Hello World from $env'")
.taskRetryMaximum(1)
.waitForSuccess(true)
.commonEnvironmentProperties(Map.of("env", "TEST"))
.userIdentity(PoolStartTaskUserIdentityArgs.builder()
.autoUser(PoolStartTaskUserIdentityAutoUserArgs.builder()
.elevationLevel("NonAdmin")
.scope("Task")
.build())
.build())
.build())
.certificates(PoolCertificateArgs.builder()
.id(exampleCertificate.id())
.storeLocation("CurrentUser")
.visibilities("StartTask")
.build())
.build());
}
}
import pulumi
import base64
import pulumi_azure as azure
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_account = azure.storage.Account("exampleAccount",
resource_group_name=example_resource_group.name,
location=example_resource_group.location,
account_tier="Standard",
account_replication_type="LRS")
example_batch_account_account = azure.batch.Account("exampleBatch/accountAccount",
resource_group_name=example_resource_group.name,
location=example_resource_group.location,
pool_allocation_mode="BatchService",
storage_account_id=example_account.id,
tags={
"env": "test",
})
example_certificate = azure.batch.Certificate("exampleCertificate",
resource_group_name=example_resource_group.name,
account_name=example_batch / account_account["name"],
certificate=(lambda path: base64.b64encode(open(path).read().encode()).decode())("certificate.cer"),
format="Cer",
thumbprint="312d31a79fa0cef49c00f769afc2b73e9f4edf34",
thumbprint_algorithm="SHA1")
example_pool = azure.batch.Pool("examplePool",
resource_group_name=example_resource_group.name,
account_name=example_batch / account_account["name"],
display_name="Test Acc Pool Auto",
vm_size="Standard_A1",
node_agent_sku_id="batch.node.ubuntu 20.04",
auto_scale=azure.batch.PoolAutoScaleArgs(
evaluation_interval="PT15M",
formula=""" startingNumberOfVMs = 1;
maxNumberofVMs = 25;
pendingTaskSamplePercent = $PendingTasks.GetSamplePercent(180 * TimeInterval_Second);
pendingTaskSamples = pendingTaskSamplePercent < 70 ? startingNumberOfVMs : avg($PendingTasks.GetSample(180 * TimeInterval_Second));
$TargetDedicatedNodes=min(maxNumberofVMs, pendingTaskSamples);
""",
),
storage_image_reference=azure.batch.PoolStorageImageReferenceArgs(
publisher="microsoft-azure-batch",
offer="ubuntu-server-container",
sku="20-04-lts",
version="latest",
),
container_configuration=azure.batch.PoolContainerConfigurationArgs(
type="DockerCompatible",
container_registries=[azure.batch.PoolContainerConfigurationContainerRegistryArgs(
registry_server="docker.io",
user_name="login",
password="apassword",
)],
),
start_task=azure.batch.PoolStartTaskArgs(
command_line="echo 'Hello World from $env'",
task_retry_maximum=1,
wait_for_success=True,
common_environment_properties={
"env": "TEST",
},
user_identity=azure.batch.PoolStartTaskUserIdentityArgs(
auto_user=azure.batch.PoolStartTaskUserIdentityAutoUserArgs(
elevation_level="NonAdmin",
scope="Task",
),
),
),
certificates=[azure.batch.PoolCertificateArgs(
id=example_certificate.id,
store_location="CurrentUser",
visibilities=["StartTask"],
)])
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
import * as fs from "fs";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleAccount = new azure.storage.Account("exampleAccount", {
resourceGroupName: exampleResourceGroup.name,
location: exampleResourceGroup.location,
accountTier: "Standard",
accountReplicationType: "LRS",
});
const exampleBatch_accountAccount = new azure.batch.Account("exampleBatch/accountAccount", {
resourceGroupName: exampleResourceGroup.name,
location: exampleResourceGroup.location,
poolAllocationMode: "BatchService",
storageAccountId: exampleAccount.id,
tags: {
env: "test",
},
});
const exampleCertificate = new azure.batch.Certificate("exampleCertificate", {
resourceGroupName: exampleResourceGroup.name,
accountName: exampleBatch / accountAccount.name,
certificate: Buffer.from(fs.readFileSync("certificate.cer"), 'binary').toString('base64'),
format: "Cer",
thumbprint: "312d31a79fa0cef49c00f769afc2b73e9f4edf34",
thumbprintAlgorithm: "SHA1",
});
const examplePool = new azure.batch.Pool("examplePool", {
resourceGroupName: exampleResourceGroup.name,
accountName: exampleBatch / accountAccount.name,
displayName: "Test Acc Pool Auto",
vmSize: "Standard_A1",
nodeAgentSkuId: "batch.node.ubuntu 20.04",
autoScale: {
evaluationInterval: "PT15M",
formula: ` startingNumberOfVMs = 1;
maxNumberofVMs = 25;
pendingTaskSamplePercent = $PendingTasks.GetSamplePercent(180 * TimeInterval_Second);
pendingTaskSamples = pendingTaskSamplePercent < 70 ? startingNumberOfVMs : avg($PendingTasks.GetSample(180 * TimeInterval_Second));
$TargetDedicatedNodes=min(maxNumberofVMs, pendingTaskSamples);
`,
},
storageImageReference: {
publisher: "microsoft-azure-batch",
offer: "ubuntu-server-container",
sku: "20-04-lts",
version: "latest",
},
containerConfiguration: {
type: "DockerCompatible",
containerRegistries: [{
registryServer: "docker.io",
userName: "login",
password: "apassword",
}],
},
startTask: {
commandLine: "echo 'Hello World from $env'",
taskRetryMaximum: 1,
waitForSuccess: true,
commonEnvironmentProperties: {
env: "TEST",
},
userIdentity: {
autoUser: {
elevationLevel: "NonAdmin",
scope: "Task",
},
},
},
certificates: [{
id: exampleCertificate.id,
storeLocation: "CurrentUser",
visibilities: ["StartTask"],
}],
});
Coming soon!
Create Pool Resource
new Pool(name: string, args: PoolArgs, opts?: CustomResourceOptions);
@overload
def Pool(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_name: Optional[str] = None,
auto_scale: Optional[PoolAutoScaleArgs] = None,
certificates: Optional[Sequence[PoolCertificateArgs]] = None,
container_configuration: Optional[PoolContainerConfigurationArgs] = None,
data_disks: Optional[Sequence[PoolDataDiskArgs]] = None,
disk_encryptions: Optional[Sequence[PoolDiskEncryptionArgs]] = None,
display_name: Optional[str] = None,
extensions: Optional[Sequence[PoolExtensionArgs]] = None,
fixed_scale: Optional[PoolFixedScaleArgs] = None,
identity: Optional[PoolIdentityArgs] = None,
inter_node_communication: Optional[str] = None,
license_type: Optional[str] = None,
max_tasks_per_node: Optional[int] = None,
metadata: Optional[Mapping[str, str]] = None,
mounts: Optional[Sequence[PoolMountArgs]] = None,
name: Optional[str] = None,
network_configuration: Optional[PoolNetworkConfigurationArgs] = None,
node_agent_sku_id: Optional[str] = None,
node_placements: Optional[Sequence[PoolNodePlacementArgs]] = None,
os_disk_placement: Optional[str] = None,
resource_group_name: Optional[str] = None,
start_task: Optional[PoolStartTaskArgs] = None,
stop_pending_resize_operation: Optional[bool] = None,
storage_image_reference: Optional[PoolStorageImageReferenceArgs] = None,
task_scheduling_policies: Optional[Sequence[PoolTaskSchedulingPolicyArgs]] = None,
user_accounts: Optional[Sequence[PoolUserAccountArgs]] = None,
vm_size: Optional[str] = None,
windows: Optional[Sequence[PoolWindowArgs]] = None)
@overload
def Pool(resource_name: str,
args: PoolArgs,
opts: Optional[ResourceOptions] = None)
func NewPool(ctx *Context, name string, args PoolArgs, opts ...ResourceOption) (*Pool, error)
public Pool(string name, PoolArgs args, CustomResourceOptions? opts = null)
type: azure:batch:Pool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args PoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PoolArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
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
The Pool resource accepts the following input properties:
- Account
Name string Specifies the name of the Batch account in which the pool will be created. Changing this forces a new resource to be created.
- Node
Agent stringSku Id Specifies the SKU of the node agents that will be created in the Batch pool. Changing this forces a new resource to be created.
- Resource
Group stringName The name of the resource group in which to create the Batch pool. Changing this forces a new resource to be created.
- Storage
Image PoolReference Storage Image Reference Args A
storage_image_reference
for the virtual machines that will compose the Batch pool. Changing this forces a new resource to be created.- Vm
Size string Specifies the size of the VM created in the Batch pool. Changing this forces a new resource to be created.
- Auto
Scale PoolAuto Scale Args A
auto_scale
block that describes the scale settings when using auto scale as defined below.- Certificates
List<Pool
Certificate Args> One or more
certificate
blocks that describe the certificates to be installed on each compute node in the pool as defined below.- Container
Configuration PoolContainer Configuration Args The container configuration used in the pool's VMs.
- Data
Disks List<PoolData Disk Args> A
data_disks
block describes the data disk settings as defined below.- Disk
Encryptions List<PoolDisk Encryption Args> A
disk_encryption
block, as defined below, describes the disk encryption configuration applied on compute nodes in the pool. Disk encryption configuration is not supported on Linux pool created with Virtual Machine Image or Shared Image Gallery Image.- Display
Name string Specifies the display name of the Batch pool. Changing this forces a new resource to be created.
- Extensions
List<Pool
Extension Args> An
extensions
block as defined below.- Fixed
Scale PoolFixed Scale Args A
fixed_scale
block that describes the scale settings when using fixed scale as defined below.- Identity
Pool
Identity Args An
identity
block as defined below.- Inter
Node stringCommunication Whether the pool permits direct communication between nodes. 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
. Values allowed areDisabled
andEnabled
.- License
Type string The type of on-premises license to be used when deploying the operating system. 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.
- Max
Tasks intPer Node Specifies the maximum number of tasks that can run concurrently on a single compute node in the pool. Defaults to
1
. Changing this forces a new resource to be created.- Metadata Dictionary<string, string>
A map of custom batch pool metadata.
- Mounts
List<Pool
Mount Args> A
mount
block defined as below.- Name string
Specifies the name of the Batch pool. Changing this forces a new resource to be created.
- Network
Configuration PoolNetwork Configuration Args A
network_configuration
block that describes the network configurations for the Batch pool as defined below. Changing this forces a new resource to be created.- Node
Placements List<PoolNode Placement Args> A
node_placement
block that describes the placement policy for allocating nodes in the pool as defined below.- Os
Disk stringPlacement Specifies the ephemeral disk placement for operating system disk for all VMs in the pool. 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://docs.microsoft.com/en-us/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements. The only possible value is
CacheDisk
.- Start
Task PoolStart Task Args A
start_task
block that describes the start task settings for the Batch pool as defined below.- Stop
Pending boolResize Operation Whether to stop if there is a pending resize operation on this pool.
- Task
Scheduling List<PoolPolicies Task Scheduling Policy Args> A
task_scheduling_policy
block that describes how tasks are distributed across compute nodes in a pool. If not specified, the default is spread as defined below.- User
Accounts List<PoolUser Account Args> A
user_accounts
block that describes the list of user accounts to be created on each node in the pool as defined below.- Windows
List<Pool
Window Args> A
windows
block that describes the Windows configuration in the pool as defined below.
- Account
Name string Specifies the name of the Batch account in which the pool will be created. Changing this forces a new resource to be created.
- Node
Agent stringSku Id Specifies the SKU of the node agents that will be created in the Batch pool. Changing this forces a new resource to be created.
- Resource
Group stringName The name of the resource group in which to create the Batch pool. Changing this forces a new resource to be created.
- Storage
Image PoolReference Storage Image Reference Args A
storage_image_reference
for the virtual machines that will compose the Batch pool. Changing this forces a new resource to be created.- Vm
Size string Specifies the size of the VM created in the Batch pool. Changing this forces a new resource to be created.
- Auto
Scale PoolAuto Scale Args A
auto_scale
block that describes the scale settings when using auto scale as defined below.- Certificates
[]Pool
Certificate Args One or more
certificate
blocks that describe the certificates to be installed on each compute node in the pool as defined below.- Container
Configuration PoolContainer Configuration Args The container configuration used in the pool's VMs.
- Data
Disks []PoolData Disk Args A
data_disks
block describes the data disk settings as defined below.- Disk
Encryptions []PoolDisk Encryption Args A
disk_encryption
block, as defined below, describes the disk encryption configuration applied on compute nodes in the pool. Disk encryption configuration is not supported on Linux pool created with Virtual Machine Image or Shared Image Gallery Image.- Display
Name string Specifies the display name of the Batch pool. Changing this forces a new resource to be created.
- Extensions
[]Pool
Extension Args An
extensions
block as defined below.- Fixed
Scale PoolFixed Scale Args A
fixed_scale
block that describes the scale settings when using fixed scale as defined below.- Identity
Pool
Identity Args An
identity
block as defined below.- Inter
Node stringCommunication Whether the pool permits direct communication between nodes. 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
. Values allowed areDisabled
andEnabled
.- License
Type string The type of on-premises license to be used when deploying the operating system. 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.
- Max
Tasks intPer Node Specifies the maximum number of tasks that can run concurrently on a single compute node in the pool. Defaults to
1
. Changing this forces a new resource to be created.- Metadata map[string]string
A map of custom batch pool metadata.
- Mounts
[]Pool
Mount Args A
mount
block defined as below.- Name string
Specifies the name of the Batch pool. Changing this forces a new resource to be created.
- Network
Configuration PoolNetwork Configuration Args A
network_configuration
block that describes the network configurations for the Batch pool as defined below. Changing this forces a new resource to be created.- Node
Placements []PoolNode Placement Args A
node_placement
block that describes the placement policy for allocating nodes in the pool as defined below.- Os
Disk stringPlacement Specifies the ephemeral disk placement for operating system disk for all VMs in the pool. 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://docs.microsoft.com/en-us/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements. The only possible value is
CacheDisk
.- Start
Task PoolStart Task Args A
start_task
block that describes the start task settings for the Batch pool as defined below.- Stop
Pending boolResize Operation Whether to stop if there is a pending resize operation on this pool.
- Task
Scheduling []PoolPolicies Task Scheduling Policy Args A
task_scheduling_policy
block that describes how tasks are distributed across compute nodes in a pool. If not specified, the default is spread as defined below.- User
Accounts []PoolUser Account Args A
user_accounts
block that describes the list of user accounts to be created on each node in the pool as defined below.- Windows
[]Pool
Window Args A
windows
block that describes the Windows configuration in the pool as defined below.
- account
Name String Specifies the name of the Batch account in which the pool will be created. Changing this forces a new resource to be created.
- node
Agent StringSku Id Specifies the SKU of the node agents that will be created in the Batch pool. Changing this forces a new resource to be created.
- resource
Group StringName The name of the resource group in which to create the Batch pool. Changing this forces a new resource to be created.
- storage
Image PoolReference Storage Image Reference Args A
storage_image_reference
for the virtual machines that will compose the Batch pool. Changing this forces a new resource to be created.- vm
Size String Specifies the size of the VM created in the Batch pool. Changing this forces a new resource to be created.
- auto
Scale PoolAuto Scale Args A
auto_scale
block that describes the scale settings when using auto scale as defined below.- certificates
List<Pool
Certificate Args> One or more
certificate
blocks that describe the certificates to be installed on each compute node in the pool as defined below.- container
Configuration PoolContainer Configuration Args The container configuration used in the pool's VMs.
- data
Disks List<PoolData Disk Args> A
data_disks
block describes the data disk settings as defined below.- disk
Encryptions List<PoolDisk Encryption Args> A
disk_encryption
block, as defined below, describes the disk encryption configuration applied on compute nodes in the pool. Disk encryption configuration is not supported on Linux pool created with Virtual Machine Image or Shared Image Gallery Image.- display
Name String Specifies the display name of the Batch pool. Changing this forces a new resource to be created.
- extensions
List<Pool
Extension Args> An
extensions
block as defined below.- fixed
Scale PoolFixed Scale Args A
fixed_scale
block that describes the scale settings when using fixed scale as defined below.- identity
Pool
Identity Args An
identity
block as defined below.- inter
Node StringCommunication Whether the pool permits direct communication between nodes. 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
. Values allowed areDisabled
andEnabled
.- license
Type String The type of on-premises license to be used when deploying the operating system. 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.
- max
Tasks IntegerPer Node Specifies the maximum number of tasks that can run concurrently on a single compute node in the pool. Defaults to
1
. Changing this forces a new resource to be created.- metadata Map<String,String>
A map of custom batch pool metadata.
- mounts
List<Pool
Mount Args> A
mount
block defined as below.- name String
Specifies the name of the Batch pool. Changing this forces a new resource to be created.
- network
Configuration PoolNetwork Configuration Args A
network_configuration
block that describes the network configurations for the Batch pool as defined below. Changing this forces a new resource to be created.- node
Placements List<PoolNode Placement Args> A
node_placement
block that describes the placement policy for allocating nodes in the pool as defined below.- os
Disk StringPlacement Specifies the ephemeral disk placement for operating system disk for all VMs in the pool. 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://docs.microsoft.com/en-us/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements. The only possible value is
CacheDisk
.- start
Task PoolStart Task Args A
start_task
block that describes the start task settings for the Batch pool as defined below.- stop
Pending BooleanResize Operation Whether to stop if there is a pending resize operation on this pool.
- task
Scheduling List<PoolPolicies Task Scheduling Policy Args> A
task_scheduling_policy
block that describes how tasks are distributed across compute nodes in a pool. If not specified, the default is spread as defined below.- user
Accounts List<PoolUser Account Args> A
user_accounts
block that describes the list of user accounts to be created on each node in the pool as defined below.- windows
List<Pool
Window Args> A
windows
block that describes the Windows configuration in the pool as defined below.
- account
Name string Specifies the name of the Batch account in which the pool will be created. Changing this forces a new resource to be created.
- node
Agent stringSku Id Specifies the SKU of the node agents that will be created in the Batch pool. Changing this forces a new resource to be created.
- resource
Group stringName The name of the resource group in which to create the Batch pool. Changing this forces a new resource to be created.
- storage
Image PoolReference Storage Image Reference Args A
storage_image_reference
for the virtual machines that will compose the Batch pool. Changing this forces a new resource to be created.- vm
Size string Specifies the size of the VM created in the Batch pool. Changing this forces a new resource to be created.
- auto
Scale PoolAuto Scale Args A
auto_scale
block that describes the scale settings when using auto scale as defined below.- certificates
Pool
Certificate Args[] One or more
certificate
blocks that describe the certificates to be installed on each compute node in the pool as defined below.- container
Configuration PoolContainer Configuration Args The container configuration used in the pool's VMs.
- data
Disks PoolData Disk Args[] A
data_disks
block describes the data disk settings as defined below.- disk
Encryptions PoolDisk Encryption Args[] A
disk_encryption
block, as defined below, describes the disk encryption configuration applied on compute nodes in the pool. Disk encryption configuration is not supported on Linux pool created with Virtual Machine Image or Shared Image Gallery Image.- display
Name string Specifies the display name of the Batch pool. Changing this forces a new resource to be created.
- extensions
Pool
Extension Args[] An
extensions
block as defined below.- fixed
Scale PoolFixed Scale Args A
fixed_scale
block that describes the scale settings when using fixed scale as defined below.- identity
Pool
Identity Args An
identity
block as defined below.- inter
Node stringCommunication Whether the pool permits direct communication between nodes. 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
. Values allowed areDisabled
andEnabled
.- license
Type string The type of on-premises license to be used when deploying the operating system. 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.
- max
Tasks numberPer Node Specifies the maximum number of tasks that can run concurrently on a single compute node in the pool. Defaults to
1
. Changing this forces a new resource to be created.- metadata {[key: string]: string}
A map of custom batch pool metadata.
- mounts
Pool
Mount Args[] A
mount
block defined as below.- name string
Specifies the name of the Batch pool. Changing this forces a new resource to be created.
- network
Configuration PoolNetwork Configuration Args A
network_configuration
block that describes the network configurations for the Batch pool as defined below. Changing this forces a new resource to be created.- node
Placements PoolNode Placement Args[] A
node_placement
block that describes the placement policy for allocating nodes in the pool as defined below.- os
Disk stringPlacement Specifies the ephemeral disk placement for operating system disk for all VMs in the pool. 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://docs.microsoft.com/en-us/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements. The only possible value is
CacheDisk
.- start
Task PoolStart Task Args A
start_task
block that describes the start task settings for the Batch pool as defined below.- stop
Pending booleanResize Operation Whether to stop if there is a pending resize operation on this pool.
- task
Scheduling PoolPolicies Task Scheduling Policy Args[] A
task_scheduling_policy
block that describes how tasks are distributed across compute nodes in a pool. If not specified, the default is spread as defined below.- user
Accounts PoolUser Account Args[] A
user_accounts
block that describes the list of user accounts to be created on each node in the pool as defined below.- windows
Pool
Window Args[] A
windows
block that describes the Windows configuration in the pool as defined below.
- account_
name str Specifies the name of the Batch account in which the pool will be created. Changing this forces a new resource to be created.
- node_
agent_ strsku_ id Specifies the SKU of the node agents that will be created in the Batch pool. Changing this forces a new resource to be created.
- resource_
group_ strname The name of the resource group in which to create the Batch pool. Changing this forces a new resource to be created.
- storage_
image_ Poolreference Storage Image Reference Args A
storage_image_reference
for the virtual machines that will compose the Batch pool. Changing this forces a new resource to be created.- vm_
size str Specifies the size of the VM created in the Batch pool. Changing this forces a new resource to be created.
- auto_
scale PoolAuto Scale Args A
auto_scale
block that describes the scale settings when using auto scale as defined below.- certificates
Sequence[Pool
Certificate Args] One or more
certificate
blocks that describe the certificates to be installed on each compute node in the pool as defined below.- container_
configuration PoolContainer Configuration Args The container configuration used in the pool's VMs.
- data_
disks Sequence[PoolData Disk Args] A
data_disks
block describes the data disk settings as defined below.- disk_
encryptions Sequence[PoolDisk Encryption Args] A
disk_encryption
block, as defined below, describes the disk encryption configuration applied on compute nodes in the pool. Disk encryption configuration is not supported on Linux pool created with Virtual Machine Image or Shared Image Gallery Image.- display_
name str Specifies the display name of the Batch pool. Changing this forces a new resource to be created.
- extensions
Sequence[Pool
Extension Args] An
extensions
block as defined below.- fixed_
scale PoolFixed Scale Args A
fixed_scale
block that describes the scale settings when using fixed scale as defined below.- identity
Pool
Identity Args An
identity
block as defined below.- inter_
node_ strcommunication Whether the pool permits direct communication between nodes. 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
. Values allowed areDisabled
andEnabled
.- license_
type str The type of on-premises license to be used when deploying the operating system. 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.
- max_
tasks_ intper_ node Specifies the maximum number of tasks that can run concurrently on a single compute node in the pool. Defaults to
1
. Changing this forces a new resource to be created.- metadata Mapping[str, str]
A map of custom batch pool metadata.
- mounts
Sequence[Pool
Mount Args] A
mount
block defined as below.- name str
Specifies the name of the Batch pool. Changing this forces a new resource to be created.
- network_
configuration PoolNetwork Configuration Args A
network_configuration
block that describes the network configurations for the Batch pool as defined below. Changing this forces a new resource to be created.- node_
placements Sequence[PoolNode Placement Args] A
node_placement
block that describes the placement policy for allocating nodes in the pool as defined below.- os_
disk_ strplacement Specifies the ephemeral disk placement for operating system disk for all VMs in the pool. 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://docs.microsoft.com/en-us/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements. The only possible value is
CacheDisk
.- start_
task PoolStart Task Args A
start_task
block that describes the start task settings for the Batch pool as defined below.- stop_
pending_ boolresize_ operation Whether to stop if there is a pending resize operation on this pool.
- task_
scheduling_ Sequence[Poolpolicies Task Scheduling Policy Args] A
task_scheduling_policy
block that describes how tasks are distributed across compute nodes in a pool. If not specified, the default is spread as defined below.- user_
accounts Sequence[PoolUser Account Args] A
user_accounts
block that describes the list of user accounts to be created on each node in the pool as defined below.- windows
Sequence[Pool
Window Args] A
windows
block that describes the Windows configuration in the pool as defined below.
- account
Name String Specifies the name of the Batch account in which the pool will be created. Changing this forces a new resource to be created.
- node
Agent StringSku Id Specifies the SKU of the node agents that will be created in the Batch pool. Changing this forces a new resource to be created.
- resource
Group StringName The name of the resource group in which to create the Batch pool. Changing this forces a new resource to be created.
- storage
Image Property MapReference A
storage_image_reference
for the virtual machines that will compose the Batch pool. Changing this forces a new resource to be created.- vm
Size String Specifies the size of the VM created in the Batch pool. Changing this forces a new resource to be created.
- auto
Scale Property Map A
auto_scale
block that describes the scale settings when using auto scale as defined below.- certificates List<Property Map>
One or more
certificate
blocks that describe the certificates to be installed on each compute node in the pool as defined below.- container
Configuration Property Map The container configuration used in the pool's VMs.
- data
Disks List<Property Map> A
data_disks
block describes the data disk settings as defined below.- disk
Encryptions List<Property Map> A
disk_encryption
block, as defined below, describes the disk encryption configuration applied on compute nodes in the pool. Disk encryption configuration is not supported on Linux pool created with Virtual Machine Image or Shared Image Gallery Image.- display
Name String Specifies the display name of the Batch pool. Changing this forces a new resource to be created.
- extensions List<Property Map>
An
extensions
block as defined below.- fixed
Scale Property Map A
fixed_scale
block that describes the scale settings when using fixed scale as defined below.- identity Property Map
An
identity
block as defined below.- inter
Node StringCommunication Whether the pool permits direct communication between nodes. 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
. Values allowed areDisabled
andEnabled
.- license
Type String The type of on-premises license to be used when deploying the operating system. 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.
- max
Tasks NumberPer Node Specifies the maximum number of tasks that can run concurrently on a single compute node in the pool. Defaults to
1
. Changing this forces a new resource to be created.- metadata Map<String>
A map of custom batch pool metadata.
- mounts List<Property Map>
A
mount
block defined as below.- name String
Specifies the name of the Batch pool. Changing this forces a new resource to be created.
- network
Configuration Property Map A
network_configuration
block that describes the network configurations for the Batch pool as defined below. Changing this forces a new resource to be created.- node
Placements List<Property Map> A
node_placement
block that describes the placement policy for allocating nodes in the pool as defined below.- os
Disk StringPlacement Specifies the ephemeral disk placement for operating system disk for all VMs in the pool. 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://docs.microsoft.com/en-us/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements. The only possible value is
CacheDisk
.- start
Task Property Map A
start_task
block that describes the start task settings for the Batch pool as defined below.- stop
Pending BooleanResize Operation Whether to stop if there is a pending resize operation on this pool.
- task
Scheduling List<Property Map>Policies A
task_scheduling_policy
block that describes how tasks are distributed across compute nodes in a pool. If not specified, the default is spread as defined below.- user
Accounts List<Property Map> A
user_accounts
block that describes the list of user accounts to be created on each node in the pool as defined below.- windows List<Property Map>
A
windows
block that describes the Windows configuration in the pool as defined below.
Outputs
All input properties are implicitly available as output properties. Additionally, the Pool resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing Pool Resource
Get an existing Pool resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: PoolState, opts?: CustomResourceOptions): Pool
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_name: Optional[str] = None,
auto_scale: Optional[PoolAutoScaleArgs] = None,
certificates: Optional[Sequence[PoolCertificateArgs]] = None,
container_configuration: Optional[PoolContainerConfigurationArgs] = None,
data_disks: Optional[Sequence[PoolDataDiskArgs]] = None,
disk_encryptions: Optional[Sequence[PoolDiskEncryptionArgs]] = None,
display_name: Optional[str] = None,
extensions: Optional[Sequence[PoolExtensionArgs]] = None,
fixed_scale: Optional[PoolFixedScaleArgs] = None,
identity: Optional[PoolIdentityArgs] = None,
inter_node_communication: Optional[str] = None,
license_type: Optional[str] = None,
max_tasks_per_node: Optional[int] = None,
metadata: Optional[Mapping[str, str]] = None,
mounts: Optional[Sequence[PoolMountArgs]] = None,
name: Optional[str] = None,
network_configuration: Optional[PoolNetworkConfigurationArgs] = None,
node_agent_sku_id: Optional[str] = None,
node_placements: Optional[Sequence[PoolNodePlacementArgs]] = None,
os_disk_placement: Optional[str] = None,
resource_group_name: Optional[str] = None,
start_task: Optional[PoolStartTaskArgs] = None,
stop_pending_resize_operation: Optional[bool] = None,
storage_image_reference: Optional[PoolStorageImageReferenceArgs] = None,
task_scheduling_policies: Optional[Sequence[PoolTaskSchedulingPolicyArgs]] = None,
user_accounts: Optional[Sequence[PoolUserAccountArgs]] = None,
vm_size: Optional[str] = None,
windows: Optional[Sequence[PoolWindowArgs]] = None) -> Pool
func GetPool(ctx *Context, name string, id IDInput, state *PoolState, opts ...ResourceOption) (*Pool, error)
public static Pool Get(string name, Input<string> id, PoolState? state, CustomResourceOptions? opts = null)
public static Pool get(String name, Output<String> id, PoolState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Name string Specifies the name of the Batch account in which the pool will be created. Changing this forces a new resource to be created.
- Auto
Scale PoolAuto Scale Args A
auto_scale
block that describes the scale settings when using auto scale as defined below.- Certificates
List<Pool
Certificate Args> One or more
certificate
blocks that describe the certificates to be installed on each compute node in the pool as defined below.- Container
Configuration PoolContainer Configuration Args The container configuration used in the pool's VMs.
- Data
Disks List<PoolData Disk Args> A
data_disks
block describes the data disk settings as defined below.- Disk
Encryptions List<PoolDisk Encryption Args> A
disk_encryption
block, as defined below, describes the disk encryption configuration applied on compute nodes in the pool. Disk encryption configuration is not supported on Linux pool created with Virtual Machine Image or Shared Image Gallery Image.- Display
Name string Specifies the display name of the Batch pool. Changing this forces a new resource to be created.
- Extensions
List<Pool
Extension Args> An
extensions
block as defined below.- Fixed
Scale PoolFixed Scale Args A
fixed_scale
block that describes the scale settings when using fixed scale as defined below.- Identity
Pool
Identity Args An
identity
block as defined below.- Inter
Node stringCommunication Whether the pool permits direct communication between nodes. 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
. Values allowed areDisabled
andEnabled
.- License
Type string The type of on-premises license to be used when deploying the operating system. 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.
- Max
Tasks intPer Node Specifies the maximum number of tasks that can run concurrently on a single compute node in the pool. Defaults to
1
. Changing this forces a new resource to be created.- Metadata Dictionary<string, string>
A map of custom batch pool metadata.
- Mounts
List<Pool
Mount Args> A
mount
block defined as below.- Name string
Specifies the name of the Batch pool. Changing this forces a new resource to be created.
- Network
Configuration PoolNetwork Configuration Args A
network_configuration
block that describes the network configurations for the Batch pool as defined below. Changing this forces a new resource to be created.- Node
Agent stringSku Id Specifies the SKU of the node agents that will be created in the Batch pool. Changing this forces a new resource to be created.
- Node
Placements List<PoolNode Placement Args> A
node_placement
block that describes the placement policy for allocating nodes in the pool as defined below.- Os
Disk stringPlacement Specifies the ephemeral disk placement for operating system disk for all VMs in the pool. 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://docs.microsoft.com/en-us/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements. The only possible value is
CacheDisk
.- Resource
Group stringName The name of the resource group in which to create the Batch pool. Changing this forces a new resource to be created.
- Start
Task PoolStart Task Args A
start_task
block that describes the start task settings for the Batch pool as defined below.- Stop
Pending boolResize Operation Whether to stop if there is a pending resize operation on this pool.
- Storage
Image PoolReference Storage Image Reference Args A
storage_image_reference
for the virtual machines that will compose the Batch pool. Changing this forces a new resource to be created.- Task
Scheduling List<PoolPolicies Task Scheduling Policy Args> A
task_scheduling_policy
block that describes how tasks are distributed across compute nodes in a pool. If not specified, the default is spread as defined below.- User
Accounts List<PoolUser Account Args> A
user_accounts
block that describes the list of user accounts to be created on each node in the pool as defined below.- Vm
Size string Specifies the size of the VM created in the Batch pool. Changing this forces a new resource to be created.
- Windows
List<Pool
Window Args> A
windows
block that describes the Windows configuration in the pool as defined below.
- Account
Name string Specifies the name of the Batch account in which the pool will be created. Changing this forces a new resource to be created.
- Auto
Scale PoolAuto Scale Args A
auto_scale
block that describes the scale settings when using auto scale as defined below.- Certificates
[]Pool
Certificate Args One or more
certificate
blocks that describe the certificates to be installed on each compute node in the pool as defined below.- Container
Configuration PoolContainer Configuration Args The container configuration used in the pool's VMs.
- Data
Disks []PoolData Disk Args A
data_disks
block describes the data disk settings as defined below.- Disk
Encryptions []PoolDisk Encryption Args A
disk_encryption
block, as defined below, describes the disk encryption configuration applied on compute nodes in the pool. Disk encryption configuration is not supported on Linux pool created with Virtual Machine Image or Shared Image Gallery Image.- Display
Name string Specifies the display name of the Batch pool. Changing this forces a new resource to be created.
- Extensions
[]Pool
Extension Args An
extensions
block as defined below.- Fixed
Scale PoolFixed Scale Args A
fixed_scale
block that describes the scale settings when using fixed scale as defined below.- Identity
Pool
Identity Args An
identity
block as defined below.- Inter
Node stringCommunication Whether the pool permits direct communication between nodes. 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
. Values allowed areDisabled
andEnabled
.- License
Type string The type of on-premises license to be used when deploying the operating system. 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.
- Max
Tasks intPer Node Specifies the maximum number of tasks that can run concurrently on a single compute node in the pool. Defaults to
1
. Changing this forces a new resource to be created.- Metadata map[string]string
A map of custom batch pool metadata.
- Mounts
[]Pool
Mount Args A
mount
block defined as below.- Name string
Specifies the name of the Batch pool. Changing this forces a new resource to be created.
- Network
Configuration PoolNetwork Configuration Args A
network_configuration
block that describes the network configurations for the Batch pool as defined below. Changing this forces a new resource to be created.- Node
Agent stringSku Id Specifies the SKU of the node agents that will be created in the Batch pool. Changing this forces a new resource to be created.
- Node
Placements []PoolNode Placement Args A
node_placement
block that describes the placement policy for allocating nodes in the pool as defined below.- Os
Disk stringPlacement Specifies the ephemeral disk placement for operating system disk for all VMs in the pool. 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://docs.microsoft.com/en-us/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements. The only possible value is
CacheDisk
.- Resource
Group stringName The name of the resource group in which to create the Batch pool. Changing this forces a new resource to be created.
- Start
Task PoolStart Task Args A
start_task
block that describes the start task settings for the Batch pool as defined below.- Stop
Pending boolResize Operation Whether to stop if there is a pending resize operation on this pool.
- Storage
Image PoolReference Storage Image Reference Args A
storage_image_reference
for the virtual machines that will compose the Batch pool. Changing this forces a new resource to be created.- Task
Scheduling []PoolPolicies Task Scheduling Policy Args A
task_scheduling_policy
block that describes how tasks are distributed across compute nodes in a pool. If not specified, the default is spread as defined below.- User
Accounts []PoolUser Account Args A
user_accounts
block that describes the list of user accounts to be created on each node in the pool as defined below.- Vm
Size string Specifies the size of the VM created in the Batch pool. Changing this forces a new resource to be created.
- Windows
[]Pool
Window Args A
windows
block that describes the Windows configuration in the pool as defined below.
- account
Name String Specifies the name of the Batch account in which the pool will be created. Changing this forces a new resource to be created.
- auto
Scale PoolAuto Scale Args A
auto_scale
block that describes the scale settings when using auto scale as defined below.- certificates
List<Pool
Certificate Args> One or more
certificate
blocks that describe the certificates to be installed on each compute node in the pool as defined below.- container
Configuration PoolContainer Configuration Args The container configuration used in the pool's VMs.
- data
Disks List<PoolData Disk Args> A
data_disks
block describes the data disk settings as defined below.- disk
Encryptions List<PoolDisk Encryption Args> A
disk_encryption
block, as defined below, describes the disk encryption configuration applied on compute nodes in the pool. Disk encryption configuration is not supported on Linux pool created with Virtual Machine Image or Shared Image Gallery Image.- display
Name String Specifies the display name of the Batch pool. Changing this forces a new resource to be created.
- extensions
List<Pool
Extension Args> An
extensions
block as defined below.- fixed
Scale PoolFixed Scale Args A
fixed_scale
block that describes the scale settings when using fixed scale as defined below.- identity
Pool
Identity Args An
identity
block as defined below.- inter
Node StringCommunication Whether the pool permits direct communication between nodes. 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
. Values allowed areDisabled
andEnabled
.- license
Type String The type of on-premises license to be used when deploying the operating system. 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.
- max
Tasks IntegerPer Node Specifies the maximum number of tasks that can run concurrently on a single compute node in the pool. Defaults to
1
. Changing this forces a new resource to be created.- metadata Map<String,String>
A map of custom batch pool metadata.
- mounts
List<Pool
Mount Args> A
mount
block defined as below.- name String
Specifies the name of the Batch pool. Changing this forces a new resource to be created.
- network
Configuration PoolNetwork Configuration Args A
network_configuration
block that describes the network configurations for the Batch pool as defined below. Changing this forces a new resource to be created.- node
Agent StringSku Id Specifies the SKU of the node agents that will be created in the Batch pool. Changing this forces a new resource to be created.
- node
Placements List<PoolNode Placement Args> A
node_placement
block that describes the placement policy for allocating nodes in the pool as defined below.- os
Disk StringPlacement Specifies the ephemeral disk placement for operating system disk for all VMs in the pool. 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://docs.microsoft.com/en-us/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements. The only possible value is
CacheDisk
.- resource
Group StringName The name of the resource group in which to create the Batch pool. Changing this forces a new resource to be created.
- start
Task PoolStart Task Args A
start_task
block that describes the start task settings for the Batch pool as defined below.- stop
Pending BooleanResize Operation Whether to stop if there is a pending resize operation on this pool.
- storage
Image PoolReference Storage Image Reference Args A
storage_image_reference
for the virtual machines that will compose the Batch pool. Changing this forces a new resource to be created.- task
Scheduling List<PoolPolicies Task Scheduling Policy Args> A
task_scheduling_policy
block that describes how tasks are distributed across compute nodes in a pool. If not specified, the default is spread as defined below.- user
Accounts List<PoolUser Account Args> A
user_accounts
block that describes the list of user accounts to be created on each node in the pool as defined below.- vm
Size String Specifies the size of the VM created in the Batch pool. Changing this forces a new resource to be created.
- windows
List<Pool
Window Args> A
windows
block that describes the Windows configuration in the pool as defined below.
- account
Name string Specifies the name of the Batch account in which the pool will be created. Changing this forces a new resource to be created.
- auto
Scale PoolAuto Scale Args A
auto_scale
block that describes the scale settings when using auto scale as defined below.- certificates
Pool
Certificate Args[] One or more
certificate
blocks that describe the certificates to be installed on each compute node in the pool as defined below.- container
Configuration PoolContainer Configuration Args The container configuration used in the pool's VMs.
- data
Disks PoolData Disk Args[] A
data_disks
block describes the data disk settings as defined below.- disk
Encryptions PoolDisk Encryption Args[] A
disk_encryption
block, as defined below, describes the disk encryption configuration applied on compute nodes in the pool. Disk encryption configuration is not supported on Linux pool created with Virtual Machine Image or Shared Image Gallery Image.- display
Name string Specifies the display name of the Batch pool. Changing this forces a new resource to be created.
- extensions
Pool
Extension Args[] An
extensions
block as defined below.- fixed
Scale PoolFixed Scale Args A
fixed_scale
block that describes the scale settings when using fixed scale as defined below.- identity
Pool
Identity Args An
identity
block as defined below.- inter
Node stringCommunication Whether the pool permits direct communication between nodes. 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
. Values allowed areDisabled
andEnabled
.- license
Type string The type of on-premises license to be used when deploying the operating system. 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.
- max
Tasks numberPer Node Specifies the maximum number of tasks that can run concurrently on a single compute node in the pool. Defaults to
1
. Changing this forces a new resource to be created.- metadata {[key: string]: string}
A map of custom batch pool metadata.
- mounts
Pool
Mount Args[] A
mount
block defined as below.- name string
Specifies the name of the Batch pool. Changing this forces a new resource to be created.
- network
Configuration PoolNetwork Configuration Args A
network_configuration
block that describes the network configurations for the Batch pool as defined below. Changing this forces a new resource to be created.- node
Agent stringSku Id Specifies the SKU of the node agents that will be created in the Batch pool. Changing this forces a new resource to be created.
- node
Placements PoolNode Placement Args[] A
node_placement
block that describes the placement policy for allocating nodes in the pool as defined below.- os
Disk stringPlacement Specifies the ephemeral disk placement for operating system disk for all VMs in the pool. 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://docs.microsoft.com/en-us/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements. The only possible value is
CacheDisk
.- resource
Group stringName The name of the resource group in which to create the Batch pool. Changing this forces a new resource to be created.
- start
Task PoolStart Task Args A
start_task
block that describes the start task settings for the Batch pool as defined below.- stop
Pending booleanResize Operation Whether to stop if there is a pending resize operation on this pool.
- storage
Image PoolReference Storage Image Reference Args A
storage_image_reference
for the virtual machines that will compose the Batch pool. Changing this forces a new resource to be created.- task
Scheduling PoolPolicies Task Scheduling Policy Args[] A
task_scheduling_policy
block that describes how tasks are distributed across compute nodes in a pool. If not specified, the default is spread as defined below.- user
Accounts PoolUser Account Args[] A
user_accounts
block that describes the list of user accounts to be created on each node in the pool as defined below.- vm
Size string Specifies the size of the VM created in the Batch pool. Changing this forces a new resource to be created.
- windows
Pool
Window Args[] A
windows
block that describes the Windows configuration in the pool as defined below.
- account_
name str Specifies the name of the Batch account in which the pool will be created. Changing this forces a new resource to be created.
- auto_
scale PoolAuto Scale Args A
auto_scale
block that describes the scale settings when using auto scale as defined below.- certificates
Sequence[Pool
Certificate Args] One or more
certificate
blocks that describe the certificates to be installed on each compute node in the pool as defined below.- container_
configuration PoolContainer Configuration Args The container configuration used in the pool's VMs.
- data_
disks Sequence[PoolData Disk Args] A
data_disks
block describes the data disk settings as defined below.- disk_
encryptions Sequence[PoolDisk Encryption Args] A
disk_encryption
block, as defined below, describes the disk encryption configuration applied on compute nodes in the pool. Disk encryption configuration is not supported on Linux pool created with Virtual Machine Image or Shared Image Gallery Image.- display_
name str Specifies the display name of the Batch pool. Changing this forces a new resource to be created.
- extensions
Sequence[Pool
Extension Args] An
extensions
block as defined below.- fixed_
scale PoolFixed Scale Args A
fixed_scale
block that describes the scale settings when using fixed scale as defined below.- identity
Pool
Identity Args An
identity
block as defined below.- inter_
node_ strcommunication Whether the pool permits direct communication between nodes. 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
. Values allowed areDisabled
andEnabled
.- license_
type str The type of on-premises license to be used when deploying the operating system. 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.
- max_
tasks_ intper_ node Specifies the maximum number of tasks that can run concurrently on a single compute node in the pool. Defaults to
1
. Changing this forces a new resource to be created.- metadata Mapping[str, str]
A map of custom batch pool metadata.
- mounts
Sequence[Pool
Mount Args] A
mount
block defined as below.- name str
Specifies the name of the Batch pool. Changing this forces a new resource to be created.
- network_
configuration PoolNetwork Configuration Args A
network_configuration
block that describes the network configurations for the Batch pool as defined below. Changing this forces a new resource to be created.- node_
agent_ strsku_ id Specifies the SKU of the node agents that will be created in the Batch pool. Changing this forces a new resource to be created.
- node_
placements Sequence[PoolNode Placement Args] A
node_placement
block that describes the placement policy for allocating nodes in the pool as defined below.- os_
disk_ strplacement Specifies the ephemeral disk placement for operating system disk for all VMs in the pool. 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://docs.microsoft.com/en-us/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements. The only possible value is
CacheDisk
.- resource_
group_ strname The name of the resource group in which to create the Batch pool. Changing this forces a new resource to be created.
- start_
task PoolStart Task Args A
start_task
block that describes the start task settings for the Batch pool as defined below.- stop_
pending_ boolresize_ operation Whether to stop if there is a pending resize operation on this pool.
- storage_
image_ Poolreference Storage Image Reference Args A
storage_image_reference
for the virtual machines that will compose the Batch pool. Changing this forces a new resource to be created.- task_
scheduling_ Sequence[Poolpolicies Task Scheduling Policy Args] A
task_scheduling_policy
block that describes how tasks are distributed across compute nodes in a pool. If not specified, the default is spread as defined below.- user_
accounts Sequence[PoolUser Account Args] A
user_accounts
block that describes the list of user accounts to be created on each node in the pool as defined below.- vm_
size str Specifies the size of the VM created in the Batch pool. Changing this forces a new resource to be created.
- windows
Sequence[Pool
Window Args] A
windows
block that describes the Windows configuration in the pool as defined below.
- account
Name String Specifies the name of the Batch account in which the pool will be created. Changing this forces a new resource to be created.
- auto
Scale Property Map A
auto_scale
block that describes the scale settings when using auto scale as defined below.- certificates List<Property Map>
One or more
certificate
blocks that describe the certificates to be installed on each compute node in the pool as defined below.- container
Configuration Property Map The container configuration used in the pool's VMs.
- data
Disks List<Property Map> A
data_disks
block describes the data disk settings as defined below.- disk
Encryptions List<Property Map> A
disk_encryption
block, as defined below, describes the disk encryption configuration applied on compute nodes in the pool. Disk encryption configuration is not supported on Linux pool created with Virtual Machine Image or Shared Image Gallery Image.- display
Name String Specifies the display name of the Batch pool. Changing this forces a new resource to be created.
- extensions List<Property Map>
An
extensions
block as defined below.- fixed
Scale Property Map A
fixed_scale
block that describes the scale settings when using fixed scale as defined below.- identity Property Map
An
identity
block as defined below.- inter
Node StringCommunication Whether the pool permits direct communication between nodes. 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
. Values allowed areDisabled
andEnabled
.- license
Type String The type of on-premises license to be used when deploying the operating system. 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.
- max
Tasks NumberPer Node Specifies the maximum number of tasks that can run concurrently on a single compute node in the pool. Defaults to
1
. Changing this forces a new resource to be created.- metadata Map<String>
A map of custom batch pool metadata.
- mounts List<Property Map>
A
mount
block defined as below.- name String
Specifies the name of the Batch pool. Changing this forces a new resource to be created.
- network
Configuration Property Map A
network_configuration
block that describes the network configurations for the Batch pool as defined below. Changing this forces a new resource to be created.- node
Agent StringSku Id Specifies the SKU of the node agents that will be created in the Batch pool. Changing this forces a new resource to be created.
- node
Placements List<Property Map> A
node_placement
block that describes the placement policy for allocating nodes in the pool as defined below.- os
Disk StringPlacement Specifies the ephemeral disk placement for operating system disk for all VMs in the pool. 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://docs.microsoft.com/en-us/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements. The only possible value is
CacheDisk
.- resource
Group StringName The name of the resource group in which to create the Batch pool. Changing this forces a new resource to be created.
- start
Task Property Map A
start_task
block that describes the start task settings for the Batch pool as defined below.- stop
Pending BooleanResize Operation Whether to stop if there is a pending resize operation on this pool.
- storage
Image Property MapReference A
storage_image_reference
for the virtual machines that will compose the Batch pool. Changing this forces a new resource to be created.- task
Scheduling List<Property Map>Policies A
task_scheduling_policy
block that describes how tasks are distributed across compute nodes in a pool. If not specified, the default is spread as defined below.- user
Accounts List<Property Map> A
user_accounts
block that describes the list of user accounts to be created on each node in the pool as defined below.- vm
Size String Specifies the size of the VM created in the Batch pool. Changing this forces a new resource to be created.
- windows List<Property Map>
A
windows
block that describes the Windows configuration in the pool as defined below.
Supporting Types
PoolAutoScale
- Formula string
The autoscale formula that needs to be used for scaling the Batch pool.
- Evaluation
Interval string The interval to wait before evaluating if the pool needs to be scaled. Defaults to
PT15M
.
- Formula string
The autoscale formula that needs to be used for scaling the Batch pool.
- Evaluation
Interval string The interval to wait before evaluating if the pool needs to be scaled. Defaults to
PT15M
.
- formula String
The autoscale formula that needs to be used for scaling the Batch pool.
- evaluation
Interval String The interval to wait before evaluating if the pool needs to be scaled. Defaults to
PT15M
.
- formula string
The autoscale formula that needs to be used for scaling the Batch pool.
- evaluation
Interval string The interval to wait before evaluating if the pool needs to be scaled. Defaults to
PT15M
.
- formula str
The autoscale formula that needs to be used for scaling the Batch pool.
- evaluation_
interval str The interval to wait before evaluating if the pool needs to be scaled. Defaults to
PT15M
.
- formula String
The autoscale formula that needs to be used for scaling the Batch pool.
- evaluation
Interval String The interval to wait before evaluating if the pool needs to be scaled. Defaults to
PT15M
.
PoolCertificate
- Id string
The ID of the Batch Certificate to install on the Batch Pool, which must be inside the same Batch Account.
- Store
Location string The location of the certificate store on the compute node into which to install the certificate. Possible values are
CurrentUser
orLocalMachine
.- Store
Name string The name of the certificate store on the compute node into which to install the certificate. This property is applicable only for pools configured with Windows nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows image reference). 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 isMy
.- Visibilities List<string>
Which user accounts on the compute node should have access to the private data of the certificate. Possible values are
StartTask
,Task
andRemoteUser
.
- Id string
The ID of the Batch Certificate to install on the Batch Pool, which must be inside the same Batch Account.
- Store
Location string The location of the certificate store on the compute node into which to install the certificate. Possible values are
CurrentUser
orLocalMachine
.- Store
Name string The name of the certificate store on the compute node into which to install the certificate. This property is applicable only for pools configured with Windows nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows image reference). 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 isMy
.- Visibilities []string
Which user accounts on the compute node should have access to the private data of the certificate. Possible values are
StartTask
,Task
andRemoteUser
.
- id String
The ID of the Batch Certificate to install on the Batch Pool, which must be inside the same Batch Account.
- store
Location String The location of the certificate store on the compute node into which to install the certificate. Possible values are
CurrentUser
orLocalMachine
.- store
Name String The name of the certificate store on the compute node into which to install the certificate. This property is applicable only for pools configured with Windows nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows image reference). 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 isMy
.- visibilities List<String>
Which user accounts on the compute node should have access to the private data of the certificate. Possible values are
StartTask
,Task
andRemoteUser
.
- id string
The ID of the Batch Certificate to install on the Batch Pool, which must be inside the same Batch Account.
- store
Location string The location of the certificate store on the compute node into which to install the certificate. Possible values are
CurrentUser
orLocalMachine
.- store
Name string The name of the certificate store on the compute node into which to install the certificate. This property is applicable only for pools configured with Windows nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows image reference). 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 isMy
.- visibilities string[]
Which user accounts on the compute node should have access to the private data of the certificate. Possible values are
StartTask
,Task
andRemoteUser
.
- id str
The ID of the Batch Certificate to install on the Batch Pool, which must be inside the same Batch Account.
- store_
location str The location of the certificate store on the compute node into which to install the certificate. Possible values are
CurrentUser
orLocalMachine
.- store_
name str The name of the certificate store on the compute node into which to install the certificate. This property is applicable only for pools configured with Windows nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows image reference). 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 isMy
.- visibilities Sequence[str]
Which user accounts on the compute node should have access to the private data of the certificate. Possible values are
StartTask
,Task
andRemoteUser
.
- id String
The ID of the Batch Certificate to install on the Batch Pool, which must be inside the same Batch Account.
- store
Location String The location of the certificate store on the compute node into which to install the certificate. Possible values are
CurrentUser
orLocalMachine
.- store
Name String The name of the certificate store on the compute node into which to install the certificate. This property is applicable only for pools configured with Windows nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows image reference). 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 isMy
.- visibilities List<String>
Which user accounts on the compute node should have access to the private data of the certificate. Possible values are
StartTask
,Task
andRemoteUser
.
PoolContainerConfiguration
- Container
Image List<string>Names A list of container image names to use, as would be specified by
docker pull
. Changing this forces a new resource to be created.- Container
Registries List<PoolContainer Configuration Container Registry> One or more
container_registries
blocks as defined below. Additional container registries from which container images can be pulled by the pool's VMs. Changing this forces a new resource to be created.- Type string
The type of container configuration. Possible value is
DockerCompatible
.
- Container
Image []stringNames A list of container image names to use, as would be specified by
docker pull
. Changing this forces a new resource to be created.- Container
Registries []PoolContainer Configuration Container Registry One or more
container_registries
blocks as defined below. Additional container registries from which container images can be pulled by the pool's VMs. Changing this forces a new resource to be created.- Type string
The type of container configuration. Possible value is
DockerCompatible
.
- container
Image List<String>Names A list of container image names to use, as would be specified by
docker pull
. Changing this forces a new resource to be created.- container
Registries List<PoolContainer Configuration Container Registry> One or more
container_registries
blocks as defined below. Additional container registries from which container images can be pulled by the pool's VMs. Changing this forces a new resource to be created.- type String
The type of container configuration. Possible value is
DockerCompatible
.
- container
Image string[]Names A list of container image names to use, as would be specified by
docker pull
. Changing this forces a new resource to be created.- container
Registries PoolContainer Configuration Container Registry[] One or more
container_registries
blocks as defined below. Additional container registries from which container images can be pulled by the pool's VMs. Changing this forces a new resource to be created.- type string
The type of container configuration. Possible value is
DockerCompatible
.
- container_
image_ Sequence[str]names A list of container image names to use, as would be specified by
docker pull
. Changing this forces a new resource to be created.- container_
registries Sequence[PoolContainer Configuration Container Registry] One or more
container_registries
blocks as defined below. Additional container registries from which container images can be pulled by the pool's VMs. Changing this forces a new resource to be created.- type str
The type of container configuration. Possible value is
DockerCompatible
.
- container
Image List<String>Names A list of container image names to use, as would be specified by
docker pull
. Changing this forces a new resource to be created.- container
Registries List<Property Map> One or more
container_registries
blocks as defined below. Additional container registries from which container images can be pulled by the pool's VMs. Changing this forces a new resource to be created.- type String
The type of container configuration. Possible value is
DockerCompatible
.
PoolContainerConfigurationContainerRegistry
- Registry
Server string The container registry URL. The default is "docker.io". Changing this forces a new resource to be created.
- Password string
The password to log into the registry server. Changing this forces a new resource to be created.
- User
Assigned stringIdentity Id The reference to the user assigned identity to use to access an Azure Container Registry instead of username and password. Changing this forces a new resource to be created.
- User
Name string The user name to log into the registry server. Changing this forces a new resource to be created.
- Registry
Server string The container registry URL. The default is "docker.io". Changing this forces a new resource to be created.
- Password string
The password to log into the registry server. Changing this forces a new resource to be created.
- User
Assigned stringIdentity Id The reference to the user assigned identity to use to access an Azure Container Registry instead of username and password. Changing this forces a new resource to be created.
- User
Name string The user name to log into the registry server. Changing this forces a new resource to be created.
- registry
Server String The container registry URL. The default is "docker.io". Changing this forces a new resource to be created.
- password String
The password to log into the registry server. Changing this forces a new resource to be created.
- user
Assigned StringIdentity Id The reference to the user assigned identity to use to access an Azure Container Registry instead of username and password. Changing this forces a new resource to be created.
- user
Name String The user name to log into the registry server. Changing this forces a new resource to be created.
- registry
Server string The container registry URL. The default is "docker.io". Changing this forces a new resource to be created.
- password string
The password to log into the registry server. Changing this forces a new resource to be created.
- user
Assigned stringIdentity Id The reference to the user assigned identity to use to access an Azure Container Registry instead of username and password. Changing this forces a new resource to be created.
- user
Name string The user name to log into the registry server. Changing this forces a new resource to be created.
- registry_
server str The container registry URL. The default is "docker.io". Changing this forces a new resource to be created.
- password str
The password to log into the registry server. Changing this forces a new resource to be created.
- user_
assigned_ stridentity_ id The reference to the user assigned identity to use to access an Azure Container Registry instead of username and password. Changing this forces a new resource to be created.
- user_
name str The user name to log into the registry server. Changing this forces a new resource to be created.
- registry
Server String The container registry URL. The default is "docker.io". Changing this forces a new resource to be created.
- password String
The password to log into the registry server. Changing this forces a new resource to be created.
- user
Assigned StringIdentity Id The reference to the user assigned identity to use to access an Azure Container Registry instead of username and password. Changing this forces a new resource to be created.
- user
Name String The user name to log into the registry server. Changing this forces a new resource to be created.
PoolDataDisk
- Disk
Size intGb The initial disk size in GB when creating new data disk.
- Lun 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/. Possible values are
None
,ReadOnly
andReadWrite
.- Storage
Account stringType The storage account type to be used for the data disk. 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 intGb The initial disk size in GB when creating new data disk.
- Lun 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/. Possible values are
None
,ReadOnly
andReadWrite
.- Storage
Account stringType The storage account type to be used for the data disk. 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 IntegerGb The initial disk size in GB when creating new data disk.
- lun 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/. Possible values are
None
,ReadOnly
andReadWrite
.- storage
Account StringType The storage account type to be used for the data disk. 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 numberGb The initial disk size in GB when creating new data disk.
- lun 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/. Possible values are
None
,ReadOnly
andReadWrite
.- storage
Account stringType The storage account type to be used for the data disk. 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_ intgb The initial disk size in GB when creating new data disk.
- lun 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/. Possible values are
None
,ReadOnly
andReadWrite
.- storage_
account_ strtype The storage account type to be used for the data disk. 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 NumberGb The initial disk size in GB when creating new data disk.
- lun 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/. Possible values are
None
,ReadOnly
andReadWrite
.- storage
Account StringType The storage account type to be used for the data disk. 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.
PoolDiskEncryption
- Disk
Encryption stringTarget On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
- Disk
Encryption stringTarget On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
- disk
Encryption StringTarget On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
- disk
Encryption stringTarget On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
- disk_
encryption_ strtarget On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
- disk
Encryption StringTarget On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
PoolExtension
- Name string
The name of the virtual machine extension.
- Publisher string
The name of the extension handler publisher.The name of the extension handler publisher.
- Type string
The type of the extensions.
- Auto
Upgrade boolMinor Version 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.
- Protected
Settings string The extension can contain either
protected_settings
orprovision_after_extensions
or no protected settings at all.- Provision
After List<string>Extensions The collection of extension names. Collection of extension names after which this extension needs to be provisioned.
- Settings
Json string JSON formatted public settings for the extension.
- Type
Handler stringVersion The version of script handler.
- Name string
The name of the virtual machine extension.
- Publisher string
The name of the extension handler publisher.The name of the extension handler publisher.
- Type string
The type of the extensions.
- Auto
Upgrade boolMinor Version 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.
- Protected
Settings string The extension can contain either
protected_settings
orprovision_after_extensions
or no protected settings at all.- Provision
After []stringExtensions The collection of extension names. Collection of extension names after which this extension needs to be provisioned.
- Settings
Json string JSON formatted public settings for the extension.
- Type
Handler stringVersion The version of script handler.
- name String
The name of the virtual machine extension.
- publisher String
The name of the extension handler publisher.The name of the extension handler publisher.
- type String
The type of the extensions.
- auto
Upgrade BooleanMinor Version 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.
- protected
Settings String The extension can contain either
protected_settings
orprovision_after_extensions
or no protected settings at all.- provision
After List<String>Extensions The collection of extension names. Collection of extension names after which this extension needs to be provisioned.
- settings
Json String JSON formatted public settings for the extension.
- type
Handler StringVersion The version of script handler.
- name string
The name of the virtual machine extension.
- publisher string
The name of the extension handler publisher.The name of the extension handler publisher.
- type string
The type of the extensions.
- auto
Upgrade booleanMinor Version 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.
- protected
Settings string The extension can contain either
protected_settings
orprovision_after_extensions
or no protected settings at all.- provision
After string[]Extensions The collection of extension names. Collection of extension names after which this extension needs to be provisioned.
- settings
Json string JSON formatted public settings for the extension.
- type
Handler stringVersion The version of script handler.
- name str
The name of the virtual machine extension.
- publisher str
The name of the extension handler publisher.The name of the extension handler publisher.
- type str
The type of the extensions.
- auto_
upgrade_ boolminor_ version 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.
- protected_
settings str The extension can contain either
protected_settings
orprovision_after_extensions
or no protected settings at all.- provision_
after_ Sequence[str]extensions The collection of extension names. Collection of extension names after which this extension needs to be provisioned.
- settings_
json str JSON formatted public settings for the extension.
- type_
handler_ strversion The version of script handler.
- name String
The name of the virtual machine extension.
- publisher String
The name of the extension handler publisher.The name of the extension handler publisher.
- type String
The type of the extensions.
- auto
Upgrade BooleanMinor Version 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.
- protected
Settings String The extension can contain either
protected_settings
orprovision_after_extensions
or no protected settings at all.- provision
After List<String>Extensions The collection of extension names. Collection of extension names after which this extension needs to be provisioned.
- settings
Json String JSON formatted public settings for the extension.
- type
Handler StringVersion The version of script handler.
PoolFixedScale
- Node
Deallocation stringMethod It determines what to do with a node and its running task(s) if the pool size is decreasing. Values are
Requeue
,RetainedData
,TaskCompletion
andTerminate
.- Resize
Timeout string The timeout for resize operations. Defaults to
PT15M
.- Target
Dedicated intNodes The number of nodes in the Batch pool. Defaults to
1
.- Target
Low intPriority Nodes The number of low priority nodes in the Batch pool. Defaults to
0
.
- Node
Deallocation stringMethod It determines what to do with a node and its running task(s) if the pool size is decreasing. Values are
Requeue
,RetainedData
,TaskCompletion
andTerminate
.- Resize
Timeout string The timeout for resize operations. Defaults to
PT15M
.- Target
Dedicated intNodes The number of nodes in the Batch pool. Defaults to
1
.- Target
Low intPriority Nodes The number of low priority nodes in the Batch pool. Defaults to
0
.
- node
Deallocation StringMethod It determines what to do with a node and its running task(s) if the pool size is decreasing. Values are
Requeue
,RetainedData
,TaskCompletion
andTerminate
.- resize
Timeout String The timeout for resize operations. Defaults to
PT15M
.- target
Dedicated IntegerNodes The number of nodes in the Batch pool. Defaults to
1
.- target
Low IntegerPriority Nodes The number of low priority nodes in the Batch pool. Defaults to
0
.
- node
Deallocation stringMethod It determines what to do with a node and its running task(s) if the pool size is decreasing. Values are
Requeue
,RetainedData
,TaskCompletion
andTerminate
.- resize
Timeout string The timeout for resize operations. Defaults to
PT15M
.- target
Dedicated numberNodes The number of nodes in the Batch pool. Defaults to
1
.- target
Low numberPriority Nodes The number of low priority nodes in the Batch pool. Defaults to
0
.
- node_
deallocation_ strmethod It determines what to do with a node and its running task(s) if the pool size is decreasing. Values are
Requeue
,RetainedData
,TaskCompletion
andTerminate
.- resize_
timeout str The timeout for resize operations. Defaults to
PT15M
.- target_
dedicated_ intnodes The number of nodes in the Batch pool. Defaults to
1
.- target_
low_ intpriority_ nodes The number of low priority nodes in the Batch pool. Defaults to
0
.
- node
Deallocation StringMethod It determines what to do with a node and its running task(s) if the pool size is decreasing. Values are
Requeue
,RetainedData
,TaskCompletion
andTerminate
.- resize
Timeout String The timeout for resize operations. Defaults to
PT15M
.- target
Dedicated NumberNodes The number of nodes in the Batch pool. Defaults to
1
.- target
Low NumberPriority Nodes The number of low priority nodes in the Batch pool. Defaults to
0
.
PoolIdentity
- Identity
Ids List<string> Specifies a list of User Assigned Managed Identity IDs to be assigned to this Batch Account.
- Type string
Specifies the type of Managed Service Identity that should be configured on this Batch Account. Only possible value is
UserAssigned
.
- Identity
Ids []string Specifies a list of User Assigned Managed Identity IDs to be assigned to this Batch Account.
- Type string
Specifies the type of Managed Service Identity that should be configured on this Batch Account. Only possible value is
UserAssigned
.
- identity
Ids List<String> Specifies a list of User Assigned Managed Identity IDs to be assigned to this Batch Account.
- type String
Specifies the type of Managed Service Identity that should be configured on this Batch Account. Only possible value is
UserAssigned
.
- identity
Ids string[] Specifies a list of User Assigned Managed Identity IDs to be assigned to this Batch Account.
- type string
Specifies the type of Managed Service Identity that should be configured on this Batch Account. Only possible value is
UserAssigned
.
- identity_
ids Sequence[str] Specifies a list of User Assigned Managed Identity IDs to be assigned to this Batch Account.
- type str
Specifies the type of Managed Service Identity that should be configured on this Batch Account. Only possible value is
UserAssigned
.
- identity
Ids List<String> Specifies a list of User Assigned Managed Identity IDs to be assigned to this Batch Account.
- type String
Specifies the type of Managed Service Identity that should be configured on this Batch Account. Only possible value is
UserAssigned
.
PoolMount
- Azure
Blob PoolFile System Mount Azure Blob File System A
azure_blob_file_system
block defined as below.- List<Pool
Mount Azure File Share> A
azure_file_share
block defined as below.- Cifs
Mounts List<PoolMount Cifs Mount> A
cifs_mount
block defined as below.- Nfs
Mounts List<PoolMount Nfs Mount> A
nfs_mount
block defined as below.
- Azure
Blob PoolFile System Mount Azure Blob File System A
azure_blob_file_system
block defined as below.- []Pool
Mount Azure File Share A
azure_file_share
block defined as below.- Cifs
Mounts []PoolMount Cifs Mount A
cifs_mount
block defined as below.- Nfs
Mounts []PoolMount Nfs Mount A
nfs_mount
block defined as below.
- azure
Blob PoolFile System Mount Azure Blob File System A
azure_blob_file_system
block defined as below.- List<Pool
Mount Azure File Share> A
azure_file_share
block defined as below.- cifs
Mounts List<PoolMount Cifs Mount> A
cifs_mount
block defined as below.- nfs
Mounts List<PoolMount Nfs Mount> A
nfs_mount
block defined as below.
- azure
Blob PoolFile System Mount Azure Blob File System A
azure_blob_file_system
block defined as below.- Pool
Mount Azure File Share[] A
azure_file_share
block defined as below.- cifs
Mounts PoolMount Cifs Mount[] A
cifs_mount
block defined as below.- nfs
Mounts PoolMount Nfs Mount[] A
nfs_mount
block defined as below.
- azure_
blob_ Poolfile_ system Mount Azure Blob File System A
azure_blob_file_system
block defined as below.- Sequence[Pool
Mount Azure File Share] A
azure_file_share
block defined as below.- cifs_
mounts Sequence[PoolMount Cifs Mount] A
cifs_mount
block defined as below.- nfs_
mounts Sequence[PoolMount Nfs Mount] A
nfs_mount
block defined as below.
- azure
Blob Property MapFile System A
azure_blob_file_system
block defined as below.- List<Property Map>
A
azure_file_share
block defined as below.- cifs
Mounts List<Property Map> A
cifs_mount
block defined as below.- nfs
Mounts List<Property Map> A
nfs_mount
block defined as below.
PoolMountAzureBlobFileSystem
- Account
Name string The Azure Storage Account name.
- Container
Name string The Azure Blob Storage Container name.
- Relative
Mount stringPath The relative path on compute node where the file system will be mounted All file systems are mounted relative to the Batch mounts directory, accessible via the
AZ_BATCH_NODE_MOUNTS_DIR
environment variable.- Account
Key string The Azure Storage Account key. This property is mutually exclusive with both
sas_key
andidentity_id
; exactly one must be specified.- Blobfuse
Options string Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
- Identity
Id string The ARM resource id of the user assigned identity. This property is mutually exclusive with both
account_key
andsas_key
; exactly one must be specified.- Sas
Key string The Azure Storage SAS token. This property is mutually exclusive with both
account_key
andidentity_id
; exactly one must be specified.
- Account
Name string The Azure Storage Account name.
- Container
Name string The Azure Blob Storage Container name.
- Relative
Mount stringPath The relative path on compute node where the file system will be mounted All file systems are mounted relative to the Batch mounts directory, accessible via the
AZ_BATCH_NODE_MOUNTS_DIR
environment variable.- Account
Key string The Azure Storage Account key. This property is mutually exclusive with both
sas_key
andidentity_id
; exactly one must be specified.- Blobfuse
Options string Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
- Identity
Id string The ARM resource id of the user assigned identity. This property is mutually exclusive with both
account_key
andsas_key
; exactly one must be specified.- Sas
Key string The Azure Storage SAS token. This property is mutually exclusive with both
account_key
andidentity_id
; exactly one must be specified.
- account
Name String The Azure Storage Account name.
- container
Name String The Azure Blob Storage Container name.
- relative
Mount StringPath The relative path on compute node where the file system will be mounted All file systems are mounted relative to the Batch mounts directory, accessible via the
AZ_BATCH_NODE_MOUNTS_DIR
environment variable.- account
Key String The Azure Storage Account key. This property is mutually exclusive with both
sas_key
andidentity_id
; exactly one must be specified.- blobfuse
Options String Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
- identity
Id String The ARM resource id of the user assigned identity. This property is mutually exclusive with both
account_key
andsas_key
; exactly one must be specified.- sas
Key String The Azure Storage SAS token. This property is mutually exclusive with both
account_key
andidentity_id
; exactly one must be specified.
- account
Name string The Azure Storage Account name.
- container
Name string The Azure Blob Storage Container name.
- relative
Mount stringPath The relative path on compute node where the file system will be mounted All file systems are mounted relative to the Batch mounts directory, accessible via the
AZ_BATCH_NODE_MOUNTS_DIR
environment variable.- account
Key string The Azure Storage Account key. This property is mutually exclusive with both
sas_key
andidentity_id
; exactly one must be specified.- blobfuse
Options string Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
- identity
Id string The ARM resource id of the user assigned identity. This property is mutually exclusive with both
account_key
andsas_key
; exactly one must be specified.- sas
Key string The Azure Storage SAS token. This property is mutually exclusive with both
account_key
andidentity_id
; exactly one must be specified.
- account_
name str The Azure Storage Account name.
- container_
name str The Azure Blob Storage Container name.
- relative_
mount_ strpath The relative path on compute node where the file system will be mounted All file systems are mounted relative to the Batch mounts directory, accessible via the
AZ_BATCH_NODE_MOUNTS_DIR
environment variable.- account_
key str The Azure Storage Account key. This property is mutually exclusive with both
sas_key
andidentity_id
; exactly one must be specified.- blobfuse_
options str Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
- identity_
id str The ARM resource id of the user assigned identity. This property is mutually exclusive with both
account_key
andsas_key
; exactly one must be specified.- sas_
key str The Azure Storage SAS token. This property is mutually exclusive with both
account_key
andidentity_id
; exactly one must be specified.
- account
Name String The Azure Storage Account name.
- container
Name String The Azure Blob Storage Container name.
- relative
Mount StringPath The relative path on compute node where the file system will be mounted All file systems are mounted relative to the Batch mounts directory, accessible via the
AZ_BATCH_NODE_MOUNTS_DIR
environment variable.- account
Key String The Azure Storage Account key. This property is mutually exclusive with both
sas_key
andidentity_id
; exactly one must be specified.- blobfuse
Options String Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
- identity
Id String The ARM resource id of the user assigned identity. This property is mutually exclusive with both
account_key
andsas_key
; exactly one must be specified.- sas
Key String The Azure Storage SAS token. This property is mutually exclusive with both
account_key
andidentity_id
; exactly one must be specified.
PoolMountAzureFileShare
- Account
Key string The Azure Storage Account key.
- Account
Name string The Azure Storage Account name.
- Azure
File stringUrl The Azure Files URL. This is of the form 'https://{account}.file.core.windows.net/'.
- Relative
Mount stringPath The relative path on compute node where the file system will be mounted All file systems are mounted relative to the Batch mounts directory, accessible via the
AZ_BATCH_NODE_MOUNTS_DIR
environment variable.- Mount
Options string Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
- Account
Key string The Azure Storage Account key.
- Account
Name string The Azure Storage Account name.
- Azure
File stringUrl The Azure Files URL. This is of the form 'https://{account}.file.core.windows.net/'.
- Relative
Mount stringPath The relative path on compute node where the file system will be mounted All file systems are mounted relative to the Batch mounts directory, accessible via the
AZ_BATCH_NODE_MOUNTS_DIR
environment variable.- Mount
Options string Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
- account
Key String The Azure Storage Account key.
- account
Name String The Azure Storage Account name.
- azure
File StringUrl The Azure Files URL. This is of the form 'https://{account}.file.core.windows.net/'.
- relative
Mount StringPath The relative path on compute node where the file system will be mounted All file systems are mounted relative to the Batch mounts directory, accessible via the
AZ_BATCH_NODE_MOUNTS_DIR
environment variable.- mount
Options String Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
- account
Key string The Azure Storage Account key.
- account
Name string The Azure Storage Account name.
- azure
File stringUrl The Azure Files URL. This is of the form 'https://{account}.file.core.windows.net/'.
- relative
Mount stringPath The relative path on compute node where the file system will be mounted All file systems are mounted relative to the Batch mounts directory, accessible via the
AZ_BATCH_NODE_MOUNTS_DIR
environment variable.- mount
Options string Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
- account_
key str The Azure Storage Account key.
- account_
name str The Azure Storage Account name.
- azure_
file_ strurl The Azure Files URL. This is of the form 'https://{account}.file.core.windows.net/'.
- relative_
mount_ strpath The relative path on compute node where the file system will be mounted All file systems are mounted relative to the Batch mounts directory, accessible via the
AZ_BATCH_NODE_MOUNTS_DIR
environment variable.- mount_
options str Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
- account
Key String The Azure Storage Account key.
- account
Name String The Azure Storage Account name.
- azure
File StringUrl The Azure Files URL. This is of the form 'https://{account}.file.core.windows.net/'.
- relative
Mount StringPath The relative path on compute node where the file system will be mounted All file systems are mounted relative to the Batch mounts directory, accessible via the
AZ_BATCH_NODE_MOUNTS_DIR
environment variable.- mount
Options String Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
PoolMountCifsMount
- Password string
The password to use for authentication against the CIFS file system.
- Relative
Mount stringPath The relative path on compute node where the file system will be mounted All file systems are mounted relative to the Batch mounts directory, accessible via the
AZ_BATCH_NODE_MOUNTS_DIR
environment variable.- Source string
The URI of the file system to mount.
- User
Name string The user to use for authentication against the CIFS file system.
- Mount
Options string Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
- Password string
The password to use for authentication against the CIFS file system.
- Relative
Mount stringPath The relative path on compute node where the file system will be mounted All file systems are mounted relative to the Batch mounts directory, accessible via the
AZ_BATCH_NODE_MOUNTS_DIR
environment variable.- Source string
The URI of the file system to mount.
- User
Name string The user to use for authentication against the CIFS file system.
- Mount
Options string Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
- password String
The password to use for authentication against the CIFS file system.
- relative
Mount StringPath The relative path on compute node where the file system will be mounted All file systems are mounted relative to the Batch mounts directory, accessible via the
AZ_BATCH_NODE_MOUNTS_DIR
environment variable.- source String
The URI of the file system to mount.
- user
Name String The user to use for authentication against the CIFS file system.
- mount
Options String Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
- password string
The password to use for authentication against the CIFS file system.
- relative
Mount stringPath The relative path on compute node where the file system will be mounted All file systems are mounted relative to the Batch mounts directory, accessible via the
AZ_BATCH_NODE_MOUNTS_DIR
environment variable.- source string
The URI of the file system to mount.
- user
Name string The user to use for authentication against the CIFS file system.
- mount
Options string Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
- password str
The password to use for authentication against the CIFS file system.
- relative_
mount_ strpath The relative path on compute node where the file system will be mounted All file systems are mounted relative to the Batch mounts directory, accessible via the
AZ_BATCH_NODE_MOUNTS_DIR
environment variable.- source str
The URI of the file system to mount.
- user_
name str The user to use for authentication against the CIFS file system.
- mount_
options str Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
- password String
The password to use for authentication against the CIFS file system.
- relative
Mount StringPath The relative path on compute node where the file system will be mounted All file systems are mounted relative to the Batch mounts directory, accessible via the
AZ_BATCH_NODE_MOUNTS_DIR
environment variable.- source String
The URI of the file system to mount.
- user
Name String The user to use for authentication against the CIFS file system.
- mount
Options String Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
PoolMountNfsMount
- Relative
Mount stringPath The relative path on compute node where the file system will be mounted All file systems are mounted relative to the Batch mounts directory, accessible via the
AZ_BATCH_NODE_MOUNTS_DIR
environment variable.- Source string
The URI of the file system to mount.
- Mount
Options string Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
- Relative
Mount stringPath The relative path on compute node where the file system will be mounted All file systems are mounted relative to the Batch mounts directory, accessible via the
AZ_BATCH_NODE_MOUNTS_DIR
environment variable.- Source string
The URI of the file system to mount.
- Mount
Options string Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
- relative
Mount StringPath The relative path on compute node where the file system will be mounted All file systems are mounted relative to the Batch mounts directory, accessible via the
AZ_BATCH_NODE_MOUNTS_DIR
environment variable.- source String
The URI of the file system to mount.
- mount
Options String Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
- relative
Mount stringPath The relative path on compute node where the file system will be mounted All file systems are mounted relative to the Batch mounts directory, accessible via the
AZ_BATCH_NODE_MOUNTS_DIR
environment variable.- source string
The URI of the file system to mount.
- mount
Options string Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
- relative_
mount_ strpath The relative path on compute node where the file system will be mounted All file systems are mounted relative to the Batch mounts directory, accessible via the
AZ_BATCH_NODE_MOUNTS_DIR
environment variable.- source str
The URI of the file system to mount.
- mount_
options str Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
- relative
Mount StringPath The relative path on compute node where the file system will be mounted All file systems are mounted relative to the Batch mounts directory, accessible via the
AZ_BATCH_NODE_MOUNTS_DIR
environment variable.- source String
The URI of the file system to mount.
- mount
Options String Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
PoolNetworkConfiguration
- Subnet
Id string The ARM resource identifier of the virtual network subnet which the compute nodes of the pool will join. Changing this forces a new resource to be created.
- Dynamic
Vnet stringAssignment Scope The scope of dynamic vnet assignment. Allowed values:
none
,job
. Changing this forces a new resource to be created.- Endpoint
Configurations List<PoolNetwork Configuration Endpoint Configuration> A list of inbound NAT pools that can be used to address specific ports on an individual compute node externally. Set as documented in the inbound_nat_pools block below. Changing this forces a new resource to be created.
- Public
Address stringProvisioning Type Type of public IP address provisioning. Supported values are
BatchManaged
,UserManaged
andNoPublicIPAddresses
.- Public
Ips List<string> A list of public IP ids that will be allocated to nodes. Changing this forces a new resource to be created.
- Subnet
Id string The ARM resource identifier of the virtual network subnet which the compute nodes of the pool will join. Changing this forces a new resource to be created.
- Dynamic
Vnet stringAssignment Scope The scope of dynamic vnet assignment. Allowed values:
none
,job
. Changing this forces a new resource to be created.- Endpoint
Configurations []PoolNetwork Configuration Endpoint Configuration A list of inbound NAT pools that can be used to address specific ports on an individual compute node externally. Set as documented in the inbound_nat_pools block below. Changing this forces a new resource to be created.
- Public
Address stringProvisioning Type Type of public IP address provisioning. Supported values are
BatchManaged
,UserManaged
andNoPublicIPAddresses
.- Public
Ips []string A list of public IP ids that will be allocated to nodes. Changing this forces a new resource to be created.
- subnet
Id String The ARM resource identifier of the virtual network subnet which the compute nodes of the pool will join. Changing this forces a new resource to be created.
- dynamic
Vnet StringAssignment Scope The scope of dynamic vnet assignment. Allowed values:
none
,job
. Changing this forces a new resource to be created.- endpoint
Configurations List<PoolNetwork Configuration Endpoint Configuration> A list of inbound NAT pools that can be used to address specific ports on an individual compute node externally. Set as documented in the inbound_nat_pools block below. Changing this forces a new resource to be created.
- public
Address StringProvisioning Type Type of public IP address provisioning. Supported values are
BatchManaged
,UserManaged
andNoPublicIPAddresses
.- public
Ips List<String> A list of public IP ids that will be allocated to nodes. Changing this forces a new resource to be created.
- subnet
Id string The ARM resource identifier of the virtual network subnet which the compute nodes of the pool will join. Changing this forces a new resource to be created.
- dynamic
Vnet stringAssignment Scope The scope of dynamic vnet assignment. Allowed values:
none
,job
. Changing this forces a new resource to be created.- endpoint
Configurations PoolNetwork Configuration Endpoint Configuration[] A list of inbound NAT pools that can be used to address specific ports on an individual compute node externally. Set as documented in the inbound_nat_pools block below. Changing this forces a new resource to be created.
- public
Address stringProvisioning Type Type of public IP address provisioning. Supported values are
BatchManaged
,UserManaged
andNoPublicIPAddresses
.- public
Ips string[] A list of public IP ids that will be allocated to nodes. Changing this forces a new resource to be created.
- subnet_
id str The ARM resource identifier of the virtual network subnet which the compute nodes of the pool will join. Changing this forces a new resource to be created.
- dynamic_
vnet_ strassignment_ scope The scope of dynamic vnet assignment. Allowed values:
none
,job
. Changing this forces a new resource to be created.- endpoint_
configurations Sequence[PoolNetwork Configuration Endpoint Configuration] A list of inbound NAT pools that can be used to address specific ports on an individual compute node externally. Set as documented in the inbound_nat_pools block below. Changing this forces a new resource to be created.
- public_
address_ strprovisioning_ type Type of public IP address provisioning. Supported values are
BatchManaged
,UserManaged
andNoPublicIPAddresses
.- public_
ips Sequence[str] A list of public IP ids that will be allocated to nodes. Changing this forces a new resource to be created.
- subnet
Id String The ARM resource identifier of the virtual network subnet which the compute nodes of the pool will join. Changing this forces a new resource to be created.
- dynamic
Vnet StringAssignment Scope The scope of dynamic vnet assignment. Allowed values:
none
,job
. Changing this forces a new resource to be created.- endpoint
Configurations List<Property Map> A list of inbound NAT pools that can be used to address specific ports on an individual compute node externally. Set as documented in the inbound_nat_pools block below. Changing this forces a new resource to be created.
- public
Address StringProvisioning Type Type of public IP address provisioning. Supported values are
BatchManaged
,UserManaged
andNoPublicIPAddresses
.- public
Ips List<String> A list of public IP ids that will be allocated to nodes. Changing this forces a new resource to be created.
PoolNetworkConfigurationEndpointConfiguration
- Backend
Port int The port number on the compute node. Acceptable values are between
1
and65535
except for29876
,29877
as these are reserved. Changing this forces a new resource to be created.- Frontend
Port stringRange The range of external ports that will be used to provide inbound access to the backendPort on individual compute nodes in the format of
1000-1100
. Acceptable values range between1
and65534
except ports from50000
to55000
which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. Values must be a range of at least100
nodes. Changing this forces a new resource to be created.- Name string
The name of the endpoint. 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. Changing this forces a new resource to be created.
- Protocol string
The protocol of the endpoint. Acceptable values are
TCP
andUDP
. Changing this forces a new resource to be created.- Network
Security List<PoolGroup Rules Network Configuration Endpoint Configuration Network Security Group Rule> A list of
network_security_group_rules
blocks as defined below that will be applied to the endpoint. The maximum number of rules that can be specified across all the endpoints on a Batch pool is25
. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. Set as documented in the network_security_group_rules block below. Changing this forces a new resource to be created.
- Backend
Port int The port number on the compute node. Acceptable values are between
1
and65535
except for29876
,29877
as these are reserved. Changing this forces a new resource to be created.- Frontend
Port stringRange The range of external ports that will be used to provide inbound access to the backendPort on individual compute nodes in the format of
1000-1100
. Acceptable values range between1
and65534
except ports from50000
to55000
which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. Values must be a range of at least100
nodes. Changing this forces a new resource to be created.- Name string
The name of the endpoint. 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. Changing this forces a new resource to be created.
- Protocol string
The protocol of the endpoint. Acceptable values are
TCP
andUDP
. Changing this forces a new resource to be created.- Network
Security []PoolGroup Rules Network Configuration Endpoint Configuration Network Security Group Rule A list of
network_security_group_rules
blocks as defined below that will be applied to the endpoint. The maximum number of rules that can be specified across all the endpoints on a Batch pool is25
. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. Set as documented in the network_security_group_rules block below. Changing this forces a new resource to be created.
- backend
Port Integer The port number on the compute node. Acceptable values are between
1
and65535
except for29876
,29877
as these are reserved. Changing this forces a new resource to be created.- frontend
Port StringRange The range of external ports that will be used to provide inbound access to the backendPort on individual compute nodes in the format of
1000-1100
. Acceptable values range between1
and65534
except ports from50000
to55000
which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. Values must be a range of at least100
nodes. Changing this forces a new resource to be created.- name String
The name of the endpoint. 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. Changing this forces a new resource to be created.
- protocol String
The protocol of the endpoint. Acceptable values are
TCP
andUDP
. Changing this forces a new resource to be created.- network
Security List<PoolGroup Rules Network Configuration Endpoint Configuration Network Security Group Rule> A list of
network_security_group_rules
blocks as defined below that will be applied to the endpoint. The maximum number of rules that can be specified across all the endpoints on a Batch pool is25
. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. Set as documented in the network_security_group_rules block below. Changing this forces a new resource to be created.
- backend
Port number The port number on the compute node. Acceptable values are between
1
and65535
except for29876
,29877
as these are reserved. Changing this forces a new resource to be created.- frontend
Port stringRange The range of external ports that will be used to provide inbound access to the backendPort on individual compute nodes in the format of
1000-1100
. Acceptable values range between1
and65534
except ports from50000
to55000
which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. Values must be a range of at least100
nodes. Changing this forces a new resource to be created.- name string
The name of the endpoint. 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. Changing this forces a new resource to be created.
- protocol string
The protocol of the endpoint. Acceptable values are
TCP
andUDP
. Changing this forces a new resource to be created.- network
Security PoolGroup Rules Network Configuration Endpoint Configuration Network Security Group Rule[] A list of
network_security_group_rules
blocks as defined below that will be applied to the endpoint. The maximum number of rules that can be specified across all the endpoints on a Batch pool is25
. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. Set as documented in the network_security_group_rules block below. Changing this forces a new resource to be created.
- backend_
port int The port number on the compute node. Acceptable values are between
1
and65535
except for29876
,29877
as these are reserved. Changing this forces a new resource to be created.- frontend_
port_ strrange The range of external ports that will be used to provide inbound access to the backendPort on individual compute nodes in the format of
1000-1100
. Acceptable values range between1
and65534
except ports from50000
to55000
which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. Values must be a range of at least100
nodes. Changing this forces a new resource to be created.- name str
The name of the endpoint. 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. Changing this forces a new resource to be created.
- protocol str
The protocol of the endpoint. Acceptable values are
TCP
andUDP
. Changing this forces a new resource to be created.- network_
security_ Sequence[Poolgroup_ rules Network Configuration Endpoint Configuration Network Security Group Rule] A list of
network_security_group_rules
blocks as defined below that will be applied to the endpoint. The maximum number of rules that can be specified across all the endpoints on a Batch pool is25
. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. Set as documented in the network_security_group_rules block below. Changing this forces a new resource to be created.
- backend
Port Number The port number on the compute node. Acceptable values are between
1
and65535
except for29876
,29877
as these are reserved. Changing this forces a new resource to be created.- frontend
Port StringRange The range of external ports that will be used to provide inbound access to the backendPort on individual compute nodes in the format of
1000-1100
. Acceptable values range between1
and65534
except ports from50000
to55000
which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. Values must be a range of at least100
nodes. Changing this forces a new resource to be created.- name String
The name of the endpoint. 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. Changing this forces a new resource to be created.
- protocol String
The protocol of the endpoint. Acceptable values are
TCP
andUDP
. Changing this forces a new resource to be created.- network
Security List<Property Map>Group Rules A list of
network_security_group_rules
blocks as defined below that will be applied to the endpoint. The maximum number of rules that can be specified across all the endpoints on a Batch pool is25
. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. Set as documented in the network_security_group_rules block below. Changing this forces a new resource to be created.
PoolNetworkConfigurationEndpointConfigurationNetworkSecurityGroupRule
- Access string
The action that should be taken for a specified IP address, subnet range or tag. Acceptable values are
Allow
andDeny
. Changing this forces a new resource to be created.- Priority int
The priority for this rule. The value must be at least
150
. Changing this forces a new resource to be created.- Source
Address stringPrefix The source address prefix or tag to match for the rule. Changing this forces a new resource to be created.
- Source
Port List<string>Ranges The source port ranges to match for the rule. 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*
. Changing this forces a new resource to be created.
- Access string
The action that should be taken for a specified IP address, subnet range or tag. Acceptable values are
Allow
andDeny
. Changing this forces a new resource to be created.- Priority int
The priority for this rule. The value must be at least
150
. Changing this forces a new resource to be created.- Source
Address stringPrefix The source address prefix or tag to match for the rule. Changing this forces a new resource to be created.
- Source
Port []stringRanges The source port ranges to match for the rule. 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*
. Changing this forces a new resource to be created.
- access String
The action that should be taken for a specified IP address, subnet range or tag. Acceptable values are
Allow
andDeny
. Changing this forces a new resource to be created.- priority Integer
The priority for this rule. The value must be at least
150
. Changing this forces a new resource to be created.- source
Address StringPrefix The source address prefix or tag to match for the rule. Changing this forces a new resource to be created.
- source
Port List<String>Ranges The source port ranges to match for the rule. 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*
. Changing this forces a new resource to be created.
- access string
The action that should be taken for a specified IP address, subnet range or tag. Acceptable values are
Allow
andDeny
. Changing this forces a new resource to be created.- priority number
The priority for this rule. The value must be at least
150
. Changing this forces a new resource to be created.- source
Address stringPrefix The source address prefix or tag to match for the rule. Changing this forces a new resource to be created.
- source
Port string[]Ranges The source port ranges to match for the rule. 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*
. Changing this forces a new resource to be created.
- access str
The action that should be taken for a specified IP address, subnet range or tag. Acceptable values are
Allow
andDeny
. Changing this forces a new resource to be created.- priority int
The priority for this rule. The value must be at least
150
. Changing this forces a new resource to be created.- source_
address_ strprefix The source address prefix or tag to match for the rule. Changing this forces a new resource to be created.
- source_
port_ Sequence[str]ranges The source port ranges to match for the rule. 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*
. Changing this forces a new resource to be created.
- access String
The action that should be taken for a specified IP address, subnet range or tag. Acceptable values are
Allow
andDeny
. Changing this forces a new resource to be created.- priority Number
The priority for this rule. The value must be at least
150
. Changing this forces a new resource to be created.- source
Address StringPrefix The source address prefix or tag to match for the rule. Changing this forces a new resource to be created.
- source
Port List<String>Ranges The source port ranges to match for the rule. 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*
. Changing this forces a new resource to be created.
PoolNodePlacement
- Policy string
The placement policy for allocating nodes in the pool. Values are: "Regional": All nodes in the pool will be allocated in the same region; "Zonal": Nodes in the pool will be spread across different zones with the best effort balancing.
- Policy string
The placement policy for allocating nodes in the pool. Values are: "Regional": All nodes in the pool will be allocated in the same region; "Zonal": Nodes in the pool will be spread across different zones with the best effort balancing.
- policy String
The placement policy for allocating nodes in the pool. Values are: "Regional": All nodes in the pool will be allocated in the same region; "Zonal": Nodes in the pool will be spread across different zones with the best effort balancing.
- policy string
The placement policy for allocating nodes in the pool. Values are: "Regional": All nodes in the pool will be allocated in the same region; "Zonal": Nodes in the pool will be spread across different zones with the best effort balancing.
- policy str
The placement policy for allocating nodes in the pool. Values are: "Regional": All nodes in the pool will be allocated in the same region; "Zonal": Nodes in the pool will be spread across different zones with the best effort balancing.
- policy String
The placement policy for allocating nodes in the pool. Values are: "Regional": All nodes in the pool will be allocated in the same region; "Zonal": Nodes in the pool will be spread across different zones with the best effort balancing.
PoolStartTask
- Command
Line string The command line executed by the start task.
- User
Identity PoolStart Task User Identity A
user_identity
block that describes the user identity under which the start task runs as defined below.- Common
Environment Dictionary<string, string>Properties A map of strings (key,value) that represents the environment variables to set in the start task.
- Containers
List<Pool
Start Task Container> A
container
block is the settings for the container under which the start task runs. When this is specified, all directories recursively below theAZ_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.- Resource
Files List<PoolStart Task Resource File> One or more
resource_file
blocks that describe the files to be downloaded to a compute node as defined below.- Task
Retry intMaximum The number of retry count.
- Wait
For boolSuccess A flag that indicates if the Batch pool should wait for the start task to be completed. Default to
false
.
- Command
Line string The command line executed by the start task.
- User
Identity PoolStart Task User Identity A
user_identity
block that describes the user identity under which the start task runs as defined below.- Common
Environment map[string]stringProperties A map of strings (key,value) that represents the environment variables to set in the start task.
- Containers
[]Pool
Start Task Container A
container
block is the settings for the container under which the start task runs. When this is specified, all directories recursively below theAZ_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.- Resource
Files []PoolStart Task Resource File One or more
resource_file
blocks that describe the files to be downloaded to a compute node as defined below.- Task
Retry intMaximum The number of retry count.
- Wait
For boolSuccess A flag that indicates if the Batch pool should wait for the start task to be completed. Default to
false
.
- command
Line String The command line executed by the start task.
- user
Identity PoolStart Task User Identity A
user_identity
block that describes the user identity under which the start task runs as defined below.- common
Environment Map<String,String>Properties A map of strings (key,value) that represents the environment variables to set in the start task.
- containers
List<Pool
Start Task Container> A
container
block is the settings for the container under which the start task runs. When this is specified, all directories recursively below theAZ_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.- resource
Files List<PoolStart Task Resource File> One or more
resource_file
blocks that describe the files to be downloaded to a compute node as defined below.- task
Retry IntegerMaximum The number of retry count.
- wait
For BooleanSuccess A flag that indicates if the Batch pool should wait for the start task to be completed. Default to
false
.
- command
Line string The command line executed by the start task.
- user
Identity PoolStart Task User Identity A
user_identity
block that describes the user identity under which the start task runs as defined below.- common
Environment {[key: string]: string}Properties A map of strings (key,value) that represents the environment variables to set in the start task.
- containers
Pool
Start Task Container[] A
container
block is the settings for the container under which the start task runs. When this is specified, all directories recursively below theAZ_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.- resource
Files PoolStart Task Resource File[] One or more
resource_file
blocks that describe the files to be downloaded to a compute node as defined below.- task
Retry numberMaximum The number of retry count.
- wait
For booleanSuccess A flag that indicates if the Batch pool should wait for the start task to be completed. Default to
false
.
- command_
line str The command line executed by the start task.
- user_
identity PoolStart Task User Identity A
user_identity
block that describes the user identity under which the start task runs as defined below.- common_
environment_ Mapping[str, str]properties A map of strings (key,value) that represents the environment variables to set in the start task.
- containers
Sequence[Pool
Start Task Container] A
container
block is the settings for the container under which the start task runs. When this is specified, all directories recursively below theAZ_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.- resource_
files Sequence[PoolStart Task Resource File] One or more
resource_file
blocks that describe the files to be downloaded to a compute node as defined below.- task_
retry_ intmaximum The number of retry count.
- wait_
for_ boolsuccess A flag that indicates if the Batch pool should wait for the start task to be completed. Default to
false
.
- command
Line String The command line executed by the start task.
- user
Identity Property Map A
user_identity
block that describes the user identity under which the start task runs as defined below.- common
Environment Map<String>Properties A map of strings (key,value) that represents the environment variables to set in the start task.
- containers List<Property Map>
A
container
block is the settings for the container under which the start task runs. When this is specified, all directories recursively below theAZ_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.- resource
Files List<Property Map> One or more
resource_file
blocks that describe the files to be downloaded to a compute node as defined below.- task
Retry NumberMaximum The number of retry count.
- wait
For BooleanSuccess A flag that indicates if the Batch pool should wait for the start task to be completed. Default to
false
.
PoolStartTaskContainer
- Image
Name string The image to use to create the container in which the task will run. 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.
- Registries
List<Pool
Start Task Container Registry> The same reference as
container_registries
block defined as below.- Run
Options string Additional options to the container create command. These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
- Working
Directory string A flag to indicate where the container task working directory is. The default is
TaskWorkingDirectory
, an alternative value isContainerImageDefault
.
- Image
Name string The image to use to create the container in which the task will run. 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.
- Registries
[]Pool
Start Task Container Registry The same reference as
container_registries
block defined as below.- Run
Options string Additional options to the container create command. These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
- Working
Directory string A flag to indicate where the container task working directory is. The default is
TaskWorkingDirectory
, an alternative value isContainerImageDefault
.
- image
Name String The image to use to create the container in which the task will run. 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.
- registries
List<Pool
Start Task Container Registry> The same reference as
container_registries
block defined as below.- run
Options String Additional options to the container create command. These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
- working
Directory String A flag to indicate where the container task working directory is. The default is
TaskWorkingDirectory
, an alternative value isContainerImageDefault
.
- image
Name string The image to use to create the container in which the task will run. 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.
- registries
Pool
Start Task Container Registry[] The same reference as
container_registries
block defined as below.- run
Options string Additional options to the container create command. These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
- working
Directory string A flag to indicate where the container task working directory is. The default is
TaskWorkingDirectory
, an alternative value isContainerImageDefault
.
- image_
name str The image to use to create the container in which the task will run. 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.
- registries
Sequence[Pool
Start Task Container Registry] The same reference as
container_registries
block defined as below.- run_
options str Additional options to the container create command. These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
- working_
directory str A flag to indicate where the container task working directory is. The default is
TaskWorkingDirectory
, an alternative value isContainerImageDefault
.
- image
Name String The image to use to create the container in which the task will run. 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.
- registries List<Property Map>
The same reference as
container_registries
block defined as below.- run
Options String Additional options to the container create command. These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
- working
Directory String A flag to indicate where the container task working directory is. The default is
TaskWorkingDirectory
, an alternative value isContainerImageDefault
.
PoolStartTaskContainerRegistry
- Registry
Server string The container registry URL. The default is "docker.io". Changing this forces a new resource to be created.
- Password string
The password to log into the registry server. Changing this forces a new resource to be created.
- User
Assigned stringIdentity Id An identity reference from pool's user assigned managed identity list.
- User
Name string The username to be used by the Batch pool start task.
- Registry
Server string The container registry URL. The default is "docker.io". Changing this forces a new resource to be created.
- Password string
The password to log into the registry server. Changing this forces a new resource to be created.
- User
Assigned stringIdentity Id An identity reference from pool's user assigned managed identity list.
- User
Name string The username to be used by the Batch pool start task.
- registry
Server String The container registry URL. The default is "docker.io". Changing this forces a new resource to be created.
- password String
The password to log into the registry server. Changing this forces a new resource to be created.
- user
Assigned StringIdentity Id An identity reference from pool's user assigned managed identity list.
- user
Name String The username to be used by the Batch pool start task.
- registry
Server string The container registry URL. The default is "docker.io". Changing this forces a new resource to be created.
- password string
The password to log into the registry server. Changing this forces a new resource to be created.
- user
Assigned stringIdentity Id An identity reference from pool's user assigned managed identity list.
- user
Name string The username to be used by the Batch pool start task.
- registry_
server str The container registry URL. The default is "docker.io". Changing this forces a new resource to be created.
- password str
The password to log into the registry server. Changing this forces a new resource to be created.
- user_
assigned_ stridentity_ id An identity reference from pool's user assigned managed identity list.
- user_
name str The username to be used by the Batch pool start task.
- registry
Server String The container registry URL. The default is "docker.io". Changing this forces a new resource to be created.
- password String
The password to log into the registry server. Changing this forces a new resource to be created.
- user
Assigned StringIdentity Id An identity reference from pool's user assigned managed identity list.
- user
Name String The username to be used by the Batch pool start task.
PoolStartTaskResourceFile
- Auto
Storage stringContainer Name The storage container name in the auto storage account.
- Blob
Prefix string The blob prefix to use when downloading blobs from an Azure Storage container. Only the blobs whose names begin with the specified prefix will be downloaded. The property is valid only when
auto_storage_container_name
orstorage_container_url
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 string The file permission mode represented as a string in octal format (e.g.
"0644"
). This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for aresource_file
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 string The location on the compute node to which to download the file, relative to the task's working directory. If the
http_url
property is specified, thefile_path
is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if theauto_storage_container_name
orstorage_container_url
property is specified,file_path
is optional and is the directory to download the files to. In the case wherefile_path
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 string The URL of the file to download. If the URL is Azure Blob Storage, it must be readable using anonymous access; that is, the Batch service does not present any credentials when downloading the blob. There are two ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, or set the ACL for the blob or its container to allow public access.
- Storage
Container stringUrl The URL of the blob container within Azure Blob Storage. This URL must be readable and listable using anonymous access; that is, the Batch service does not present any credentials when downloading the blob. There are two ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the blob, or set the ACL for the blob or its container to allow public access.
- User
Assigned stringIdentity Id An identity reference from pool's user assigned managed identity list.
- Auto
Storage stringContainer Name The storage container name in the auto storage account.
- Blob
Prefix string The blob prefix to use when downloading blobs from an Azure Storage container. Only the blobs whose names begin with the specified prefix will be downloaded. The property is valid only when
auto_storage_container_name
orstorage_container_url
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 string The file permission mode represented as a string in octal format (e.g.
"0644"
). This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for aresource_file
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 string The location on the compute node to which to download the file, relative to the task's working directory. If the
http_url
property is specified, thefile_path
is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if theauto_storage_container_name
orstorage_container_url
property is specified,file_path
is optional and is the directory to download the files to. In the case wherefile_path
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 string The URL of the file to download. If the URL is Azure Blob Storage, it must be readable using anonymous access; that is, the Batch service does not present any credentials when downloading the blob. There are two ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, or set the ACL for the blob or its container to allow public access.
- Storage
Container stringUrl The URL of the blob container within Azure Blob Storage. This URL must be readable and listable using anonymous access; that is, the Batch service does not present any credentials when downloading the blob. There are two ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the blob, or set the ACL for the blob or its container to allow public access.
- User
Assigned stringIdentity Id An identity reference from pool's user assigned managed identity list.
- auto
Storage StringContainer Name The storage container name in the auto storage account.
- blob
Prefix String The blob prefix to use when downloading blobs from an Azure Storage container. Only the blobs whose names begin with the specified prefix will be downloaded. The property is valid only when
auto_storage_container_name
orstorage_container_url
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 String The file permission mode represented as a string in octal format (e.g.
"0644"
). This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for aresource_file
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 String The location on the compute node to which to download the file, relative to the task's working directory. If the
http_url
property is specified, thefile_path
is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if theauto_storage_container_name
orstorage_container_url
property is specified,file_path
is optional and is the directory to download the files to. In the case wherefile_path
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 String The URL of the file to download. If the URL is Azure Blob Storage, it must be readable using anonymous access; that is, the Batch service does not present any credentials when downloading the blob. There are two ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, or set the ACL for the blob or its container to allow public access.
- storage
Container StringUrl The URL of the blob container within Azure Blob Storage. This URL must be readable and listable using anonymous access; that is, the Batch service does not present any credentials when downloading the blob. There are two ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the blob, or set the ACL for the blob or its container to allow public access.
- user
Assigned StringIdentity Id An identity reference from pool's user assigned managed identity list.
- auto
Storage stringContainer Name The storage container name in the auto storage account.
- blob
Prefix string The blob prefix to use when downloading blobs from an Azure Storage container. Only the blobs whose names begin with the specified prefix will be downloaded. The property is valid only when
auto_storage_container_name
orstorage_container_url
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 string The file permission mode represented as a string in octal format (e.g.
"0644"
). This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for aresource_file
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 string The location on the compute node to which to download the file, relative to the task's working directory. If the
http_url
property is specified, thefile_path
is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if theauto_storage_container_name
orstorage_container_url
property is specified,file_path
is optional and is the directory to download the files to. In the case wherefile_path
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 string The URL of the file to download. If the URL is Azure Blob Storage, it must be readable using anonymous access; that is, the Batch service does not present any credentials when downloading the blob. There are two ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, or set the ACL for the blob or its container to allow public access.
- storage
Container stringUrl The URL of the blob container within Azure Blob Storage. This URL must be readable and listable using anonymous access; that is, the Batch service does not present any credentials when downloading the blob. There are two ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the blob, or set the ACL for the blob or its container to allow public access.
- user
Assigned stringIdentity Id An identity reference from pool's user assigned managed identity list.
- auto_
storage_ strcontainer_ name The storage container name in the auto storage account.
- blob_
prefix str The blob prefix to use when downloading blobs from an Azure Storage container. Only the blobs whose names begin with the specified prefix will be downloaded. The property is valid only when
auto_storage_container_name
orstorage_container_url
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 The file permission mode represented as a string in octal format (e.g.
"0644"
). This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for aresource_file
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 The location on the compute node to which to download the file, relative to the task's working directory. If the
http_url
property is specified, thefile_path
is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if theauto_storage_container_name
orstorage_container_url
property is specified,file_path
is optional and is the directory to download the files to. In the case wherefile_path
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 URL of the file to download. If the URL is Azure Blob Storage, it must be readable using anonymous access; that is, the Batch service does not present any credentials when downloading the blob. There are two ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, or set the ACL for the blob or its container to allow public access.
- storage_
container_ strurl The URL of the blob container within Azure Blob Storage. This URL must be readable and listable using anonymous access; that is, the Batch service does not present any credentials when downloading the blob. There are two ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the blob, or set the ACL for the blob or its container to allow public access.
- user_
assigned_ stridentity_ id An identity reference from pool's user assigned managed identity list.
- auto
Storage StringContainer Name The storage container name in the auto storage account.
- blob
Prefix String The blob prefix to use when downloading blobs from an Azure Storage container. Only the blobs whose names begin with the specified prefix will be downloaded. The property is valid only when
auto_storage_container_name
orstorage_container_url
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 String The file permission mode represented as a string in octal format (e.g.
"0644"
). This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for aresource_file
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 String The location on the compute node to which to download the file, relative to the task's working directory. If the
http_url
property is specified, thefile_path
is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if theauto_storage_container_name
orstorage_container_url
property is specified,file_path
is optional and is the directory to download the files to. In the case wherefile_path
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 String The URL of the file to download. If the URL is Azure Blob Storage, it must be readable using anonymous access; that is, the Batch service does not present any credentials when downloading the blob. There are two ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, or set the ACL for the blob or its container to allow public access.
- storage
Container StringUrl The URL of the blob container within Azure Blob Storage. This URL must be readable and listable using anonymous access; that is, the Batch service does not present any credentials when downloading the blob. There are two ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the blob, or set the ACL for the blob or its container to allow public access.
- user
Assigned StringIdentity Id An identity reference from pool's user assigned managed identity list.
PoolStartTaskUserIdentity
- Auto
User PoolStart Task User Identity Auto User A
auto_user
block that describes the user identity under which the start task runs as defined below.- User
Name string The username to be used by the Batch pool start task.
- Auto
User PoolStart Task User Identity Auto User A
auto_user
block that describes the user identity under which the start task runs as defined below.- User
Name string The username to be used by the Batch pool start task.
- auto
User PoolStart Task User Identity Auto User A
auto_user
block that describes the user identity under which the start task runs as defined below.- user
Name String The username to be used by the Batch pool start task.
- auto
User PoolStart Task User Identity Auto User A
auto_user
block that describes the user identity under which the start task runs as defined below.- user
Name string The username to be used by the Batch pool start task.
- auto_
user PoolStart Task User Identity Auto User A
auto_user
block that describes the user identity under which the start task runs as defined below.- user_
name str The username to be used by the Batch pool start task.
- auto
User Property Map A
auto_user
block that describes the user identity under which the start task runs as defined below.- user
Name String The username to be used by the Batch pool start task.
PoolStartTaskUserIdentityAutoUser
- Elevation
Level string The elevation level of the user identity under which the start task runs. Possible values are
Admin
orNonAdmin
. Defaults toNonAdmin
.- Scope string
The scope of the user identity under which the start task runs. Possible values are
Task
orPool
. Defaults toTask
.
- Elevation
Level string The elevation level of the user identity under which the start task runs. Possible values are
Admin
orNonAdmin
. Defaults toNonAdmin
.- Scope string
The scope of the user identity under which the start task runs. Possible values are
Task
orPool
. Defaults toTask
.
- elevation
Level String The elevation level of the user identity under which the start task runs. Possible values are
Admin
orNonAdmin
. Defaults toNonAdmin
.- scope String
The scope of the user identity under which the start task runs. Possible values are
Task
orPool
. Defaults toTask
.
- elevation
Level string The elevation level of the user identity under which the start task runs. Possible values are
Admin
orNonAdmin
. Defaults toNonAdmin
.- scope string
The scope of the user identity under which the start task runs. Possible values are
Task
orPool
. Defaults toTask
.
- elevation_
level str The elevation level of the user identity under which the start task runs. Possible values are
Admin
orNonAdmin
. Defaults toNonAdmin
.- scope str
The scope of the user identity under which the start task runs. Possible values are
Task
orPool
. Defaults toTask
.
- elevation
Level String The elevation level of the user identity under which the start task runs. Possible values are
Admin
orNonAdmin
. Defaults toNonAdmin
.- scope String
The scope of the user identity under which the start task runs. Possible values are
Task
orPool
. Defaults toTask
.
PoolStorageImageReference
- Id string
Specifies the ID of the Custom Image which the virtual machines should be created from. Changing this forces a new resource to be created. See official documentation for more details.
- Offer string
Specifies the offer of the image used to create the virtual machines. Changing this forces a new resource to be created.
- Publisher string
Specifies the publisher of the image used to create the virtual machines. Changing this forces a new resource to be created.
- Sku string
Specifies the SKU of the image used to create the virtual machines. Changing this forces a new resource to be created.
- Version string
Specifies the version of the image used to create the virtual machines. Changing this forces a new resource to be created.
- Id string
Specifies the ID of the Custom Image which the virtual machines should be created from. Changing this forces a new resource to be created. See official documentation for more details.
- Offer string
Specifies the offer of the image used to create the virtual machines. Changing this forces a new resource to be created.
- Publisher string
Specifies the publisher of the image used to create the virtual machines. Changing this forces a new resource to be created.
- Sku string
Specifies the SKU of the image used to create the virtual machines. Changing this forces a new resource to be created.
- Version string
Specifies the version of the image used to create the virtual machines. Changing this forces a new resource to be created.
- id String
Specifies the ID of the Custom Image which the virtual machines should be created from. Changing this forces a new resource to be created. See official documentation for more details.
- offer String
Specifies the offer of the image used to create the virtual machines. Changing this forces a new resource to be created.
- publisher String
Specifies the publisher of the image used to create the virtual machines. Changing this forces a new resource to be created.
- sku String
Specifies the SKU of the image used to create the virtual machines. Changing this forces a new resource to be created.
- version String
Specifies the version of the image used to create the virtual machines. Changing this forces a new resource to be created.
- id string
Specifies the ID of the Custom Image which the virtual machines should be created from. Changing this forces a new resource to be created. See official documentation for more details.
- offer string
Specifies the offer of the image used to create the virtual machines. Changing this forces a new resource to be created.
- publisher string
Specifies the publisher of the image used to create the virtual machines. Changing this forces a new resource to be created.
- sku string
Specifies the SKU of the image used to create the virtual machines. Changing this forces a new resource to be created.
- version string
Specifies the version of the image used to create the virtual machines. Changing this forces a new resource to be created.
- id str
Specifies the ID of the Custom Image which the virtual machines should be created from. Changing this forces a new resource to be created. See official documentation for more details.
- offer str
Specifies the offer of the image used to create the virtual machines. Changing this forces a new resource to be created.
- publisher str
Specifies the publisher of the image used to create the virtual machines. Changing this forces a new resource to be created.
- sku str
Specifies the SKU of the image used to create the virtual machines. Changing this forces a new resource to be created.
- version str
Specifies the version of the image used to create the virtual machines. Changing this forces a new resource to be created.
- id String
Specifies the ID of the Custom Image which the virtual machines should be created from. Changing this forces a new resource to be created. See official documentation for more details.
- offer String
Specifies the offer of the image used to create the virtual machines. Changing this forces a new resource to be created.
- publisher String
Specifies the publisher of the image used to create the virtual machines. Changing this forces a new resource to be created.
- sku String
Specifies the SKU of the image used to create the virtual machines. Changing this forces a new resource to be created.
- version String
Specifies the version of the image used to create the virtual machines. Changing this forces a new resource to be created.
PoolTaskSchedulingPolicy
- Node
Fill stringType Supported values are "Pack" and "Spread". "Pack" means as 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" means that tasks should be assigned evenly across all nodes in the pool.
- Node
Fill stringType Supported values are "Pack" and "Spread". "Pack" means as 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" means that tasks should be assigned evenly across all nodes in the pool.
- node
Fill StringType Supported values are "Pack" and "Spread". "Pack" means as 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" means that tasks should be assigned evenly across all nodes in the pool.
- node
Fill stringType Supported values are "Pack" and "Spread". "Pack" means as 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" means that tasks should be assigned evenly across all nodes in the pool.
- node_
fill_ strtype Supported values are "Pack" and "Spread". "Pack" means as 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" means that tasks should be assigned evenly across all nodes in the pool.
- node
Fill StringType Supported values are "Pack" and "Spread". "Pack" means as 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" means that tasks should be assigned evenly across all nodes in the pool.
PoolUserAccount
- Elevation
Level string The elevation level of the user account. "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.
- Name string
The name of the user account.
- Password string
The password for the user account.
- Linux
User List<PoolConfigurations User Account Linux User Configuration> The
linux_user_configuration
block defined below is a linux-specific user configuration for the user account. This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.- Windows
User List<PoolConfigurations User Account Windows User Configuration> The
windows_user_configuration
block defined below is a windows-specific user configuration for the user account. 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.
- Elevation
Level string The elevation level of the user account. "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.
- Name string
The name of the user account.
- Password string
The password for the user account.
- Linux
User []PoolConfigurations User Account Linux User Configuration The
linux_user_configuration
block defined below is a linux-specific user configuration for the user account. This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.- Windows
User []PoolConfigurations User Account Windows User Configuration The
windows_user_configuration
block defined below is a windows-specific user configuration for the user account. 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.
- elevation
Level String The elevation level of the user account. "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.
- name String
The name of the user account.
- password String
The password for the user account.
- linux
User List<PoolConfigurations User Account Linux User Configuration> The
linux_user_configuration
block defined below is a linux-specific user configuration for the user account. This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.- windows
User List<PoolConfigurations User Account Windows User Configuration> The
windows_user_configuration
block defined below is a windows-specific user configuration for the user account. 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.
- elevation
Level string The elevation level of the user account. "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.
- name string
The name of the user account.
- password string
The password for the user account.
- linux
User PoolConfigurations User Account Linux User Configuration[] The
linux_user_configuration
block defined below is a linux-specific user configuration for the user account. This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.- windows
User PoolConfigurations User Account Windows User Configuration[] The
windows_user_configuration
block defined below is a windows-specific user configuration for the user account. 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.
- elevation_
level str The elevation level of the user account. "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.
- name str
The name of the user account.
- password str
The password for the user account.
- linux_
user_ Sequence[Poolconfigurations User Account Linux User Configuration] The
linux_user_configuration
block defined below is a linux-specific user configuration for the user account. This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.- windows_
user_ Sequence[Poolconfigurations User Account Windows User Configuration] The
windows_user_configuration
block defined below is a windows-specific user configuration for the user account. 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.
- elevation
Level String The elevation level of the user account. "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.
- name String
The name of the user account.
- password String
The password for the user account.
- linux
User List<Property Map>Configurations The
linux_user_configuration
block defined below is a linux-specific user configuration for the user account. This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.- windows
User List<Property Map>Configurations The
windows_user_configuration
block defined below is a windows-specific user configuration for the user account. 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.
PoolUserAccountLinuxUserConfiguration
- Gid int
The user ID of the user account. The
uid
andgid
properties must be specified together or not at all. If not specified the underlying operating system picks the uid.- Ssh
Private stringKey The SSH private key for the user account. 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 group ID for the user account. The
uid
andgid
properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
- Gid int
The user ID of the user account. The
uid
andgid
properties must be specified together or not at all. If not specified the underlying operating system picks the uid.- Ssh
Private stringKey The SSH private key for the user account. 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 group ID for the user account. The
uid
andgid
properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
- gid Integer
The user ID of the user account. The
uid
andgid
properties must be specified together or not at all. If not specified the underlying operating system picks the uid.- ssh
Private StringKey The SSH private key for the user account. 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 group ID for the user account. The
uid
andgid
properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
- gid number
The user ID of the user account. The
uid
andgid
properties must be specified together or not at all. If not specified the underlying operating system picks the uid.- ssh
Private stringKey The SSH private key for the user account. 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 group ID for the user account. The
uid
andgid
properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
- gid int
The user ID of the user account. The
uid
andgid
properties must be specified together or not at all. If not specified the underlying operating system picks the uid.- ssh_
private_ strkey The SSH private key for the user account. 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 group ID for the user account. The
uid
andgid
properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
- gid Number
The user ID of the user account. The
uid
andgid
properties must be specified together or not at all. If not specified the underlying operating system picks the uid.- ssh
Private StringKey The SSH private key for the user account. 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 group ID for the user account. The
uid
andgid
properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
PoolUserAccountWindowsUserConfiguration
- Login
Mode string Specifies login mode for the user. The default value for VirtualMachineConfiguration pools is interactive mode and for CloudServiceConfiguration pools is batch mode. Values supported are "Batch" and "Interactive".
- Login
Mode string Specifies login mode for the user. The default value for VirtualMachineConfiguration pools is interactive mode and for CloudServiceConfiguration pools is batch mode. Values supported are "Batch" and "Interactive".
- login
Mode String Specifies login mode for the user. The default value for VirtualMachineConfiguration pools is interactive mode and for CloudServiceConfiguration pools is batch mode. Values supported are "Batch" and "Interactive".
- login
Mode string Specifies login mode for the user. The default value for VirtualMachineConfiguration pools is interactive mode and for CloudServiceConfiguration pools is batch mode. Values supported are "Batch" and "Interactive".
- login_
mode str Specifies login mode for the user. The default value for VirtualMachineConfiguration pools is interactive mode and for CloudServiceConfiguration pools is batch mode. Values supported are "Batch" and "Interactive".
- login
Mode String Specifies login mode for the user. The default value for VirtualMachineConfiguration pools is interactive mode and for CloudServiceConfiguration pools is batch mode. Values supported are "Batch" and "Interactive".
PoolWindow
- Enable
Automatic boolUpdates Whether automatic updates are enabled on the virtual machine. If omitted, the default value is true.
- Enable
Automatic boolUpdates Whether automatic updates are enabled on the virtual machine. If omitted, the default value is true.
- enable
Automatic BooleanUpdates Whether automatic updates are enabled on the virtual machine. If omitted, the default value is true.
- enable
Automatic booleanUpdates Whether automatic updates are enabled on the virtual machine. If omitted, the default value is true.
- enable_
automatic_ boolupdates Whether automatic updates are enabled on the virtual machine. If omitted, the default value is true.
- enable
Automatic BooleanUpdates Whether automatic updates are enabled on the virtual machine. If omitted, the default value is true.
Import
Batch Pools can be imported using the resource id
, e.g.
$ pulumi import azure:batch/pool:Pool example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup1/providers/Microsoft.Batch/batchAccounts/myBatchAccount1/pools/myBatchPool1
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azurerm
Terraform Provider.