Contains information about a pool.
Uses Azure REST API version 2024-07-01. In version 2.x of the Azure Native provider, it used API version 2023-05-01.
Other available API versions: 2023-05-01, 2023-11-01, 2024-02-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native batch [ApiVersion]. See the version guide for details.
Example Usage
CreatePool - Custom Image
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var pool = new AzureNative.Batch.Pool("pool", new()
{
AccountName = "sampleacct",
DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
{
VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
{
ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
{
Id = "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1",
},
NodeAgentSkuId = "batch.node.ubuntu 18.04",
},
},
PoolName = "testpool",
ResourceGroupName = "default-azurebatch-japaneast",
VmSize = "STANDARD_D4",
});
});
package main
import (
batch "github.com/pulumi/pulumi-azure-native-sdk/batch/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := batch.NewPool(ctx, "pool", &batch.PoolArgs{
AccountName: pulumi.String("sampleacct"),
DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
ImageReference: &batch.ImageReferenceArgs{
Id: pulumi.String("/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1"),
},
NodeAgentSkuId: pulumi.String("batch.node.ubuntu 18.04"),
},
},
PoolName: pulumi.String("testpool"),
ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
VmSize: pulumi.String("STANDARD_D4"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.batch.Pool;
import com.pulumi.azurenative.batch.PoolArgs;
import com.pulumi.azurenative.batch.inputs.DeploymentConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.VirtualMachineConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ImageReferenceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var pool = new Pool("pool", PoolArgs.builder()
.accountName("sampleacct")
.deploymentConfiguration(DeploymentConfigurationArgs.builder()
.virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
.imageReference(ImageReferenceArgs.builder()
.id("/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1")
.build())
.nodeAgentSkuId("batch.node.ubuntu 18.04")
.build())
.build())
.poolName("testpool")
.resourceGroupName("default-azurebatch-japaneast")
.vmSize("STANDARD_D4")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const pool = new azure_native.batch.Pool("pool", {
accountName: "sampleacct",
deploymentConfiguration: {
virtualMachineConfiguration: {
imageReference: {
id: "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1",
},
nodeAgentSkuId: "batch.node.ubuntu 18.04",
},
},
poolName: "testpool",
resourceGroupName: "default-azurebatch-japaneast",
vmSize: "STANDARD_D4",
});
import pulumi
import pulumi_azure_native as azure_native
pool = azure_native.batch.Pool("pool",
account_name="sampleacct",
deployment_configuration={
"virtual_machine_configuration": {
"image_reference": {
"id": "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1",
},
"node_agent_sku_id": "batch.node.ubuntu 18.04",
},
},
pool_name="testpool",
resource_group_name="default-azurebatch-japaneast",
vm_size="STANDARD_D4")
resources:
pool:
type: azure-native:batch:Pool
properties:
accountName: sampleacct
deploymentConfiguration:
virtualMachineConfiguration:
imageReference:
id: /subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1
nodeAgentSkuId: batch.node.ubuntu 18.04
poolName: testpool
resourceGroupName: default-azurebatch-japaneast
vmSize: STANDARD_D4
CreatePool - Full VirtualMachineConfiguration
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var pool = new AzureNative.Batch.Pool("pool", new()
{
AccountName = "sampleacct",
DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
{
VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
{
DataDisks = new[]
{
new AzureNative.Batch.Inputs.DataDiskArgs
{
Caching = AzureNative.Batch.CachingType.ReadWrite,
DiskSizeGB = 30,
Lun = 0,
StorageAccountType = AzureNative.Batch.StorageAccountType.Premium_LRS,
},
new AzureNative.Batch.Inputs.DataDiskArgs
{
Caching = AzureNative.Batch.CachingType.None,
DiskSizeGB = 200,
Lun = 1,
StorageAccountType = AzureNative.Batch.StorageAccountType.Standard_LRS,
},
},
DiskEncryptionConfiguration = new AzureNative.Batch.Inputs.DiskEncryptionConfigurationArgs
{
Targets = new[]
{
AzureNative.Batch.DiskEncryptionTarget.OsDisk,
AzureNative.Batch.DiskEncryptionTarget.TemporaryDisk,
},
},
ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
{
Offer = "WindowsServer",
Publisher = "MicrosoftWindowsServer",
Sku = "2016-Datacenter-SmallDisk",
Version = "latest",
},
LicenseType = "Windows_Server",
NodeAgentSkuId = "batch.node.windows amd64",
NodePlacementConfiguration = new AzureNative.Batch.Inputs.NodePlacementConfigurationArgs
{
Policy = AzureNative.Batch.NodePlacementPolicyType.Zonal,
},
OsDisk = new AzureNative.Batch.Inputs.OSDiskArgs
{
EphemeralOSDiskSettings = new AzureNative.Batch.Inputs.DiffDiskSettingsArgs
{
Placement = AzureNative.Batch.DiffDiskPlacement.CacheDisk,
},
},
WindowsConfiguration = new AzureNative.Batch.Inputs.WindowsConfigurationArgs
{
EnableAutomaticUpdates = false,
},
},
},
NetworkConfiguration = new AzureNative.Batch.Inputs.NetworkConfigurationArgs
{
EndpointConfiguration = new AzureNative.Batch.Inputs.PoolEndpointConfigurationArgs
{
InboundNatPools = new[]
{
new AzureNative.Batch.Inputs.InboundNatPoolArgs
{
BackendPort = 12001,
FrontendPortRangeEnd = 15100,
FrontendPortRangeStart = 15000,
Name = "testnat",
NetworkSecurityGroupRules = new[]
{
new AzureNative.Batch.Inputs.NetworkSecurityGroupRuleArgs
{
Access = AzureNative.Batch.NetworkSecurityGroupRuleAccess.Allow,
Priority = 150,
SourceAddressPrefix = "192.100.12.45",
SourcePortRanges = new[]
{
"1",
"2",
},
},
new AzureNative.Batch.Inputs.NetworkSecurityGroupRuleArgs
{
Access = AzureNative.Batch.NetworkSecurityGroupRuleAccess.Deny,
Priority = 3500,
SourceAddressPrefix = "*",
SourcePortRanges = new[]
{
"*",
},
},
},
Protocol = AzureNative.Batch.InboundEndpointProtocol.TCP,
},
},
},
},
PoolName = "testpool",
ResourceGroupName = "default-azurebatch-japaneast",
ScaleSettings = new AzureNative.Batch.Inputs.ScaleSettingsArgs
{
AutoScale = new AzureNative.Batch.Inputs.AutoScaleSettingsArgs
{
EvaluationInterval = "PT5M",
Formula = "$TargetDedicatedNodes=1",
},
},
VmSize = "STANDARD_D4",
});
});
package main
import (
batch "github.com/pulumi/pulumi-azure-native-sdk/batch/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := batch.NewPool(ctx, "pool", &batch.PoolArgs{
AccountName: pulumi.String("sampleacct"),
DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
DataDisks: batch.DataDiskArray{
&batch.DataDiskArgs{
Caching: batch.CachingTypeReadWrite,
DiskSizeGB: pulumi.Int(30),
Lun: pulumi.Int(0),
StorageAccountType: batch.StorageAccountType_Premium_LRS,
},
&batch.DataDiskArgs{
Caching: batch.CachingTypeNone,
DiskSizeGB: pulumi.Int(200),
Lun: pulumi.Int(1),
StorageAccountType: batch.StorageAccountType_Standard_LRS,
},
},
DiskEncryptionConfiguration: &batch.DiskEncryptionConfigurationArgs{
Targets: batch.DiskEncryptionTargetArray{
batch.DiskEncryptionTargetOsDisk,
batch.DiskEncryptionTargetTemporaryDisk,
},
},
ImageReference: &batch.ImageReferenceArgs{
Offer: pulumi.String("WindowsServer"),
Publisher: pulumi.String("MicrosoftWindowsServer"),
Sku: pulumi.String("2016-Datacenter-SmallDisk"),
Version: pulumi.String("latest"),
},
LicenseType: pulumi.String("Windows_Server"),
NodeAgentSkuId: pulumi.String("batch.node.windows amd64"),
NodePlacementConfiguration: &batch.NodePlacementConfigurationArgs{
Policy: batch.NodePlacementPolicyTypeZonal,
},
OsDisk: &batch.OSDiskArgs{
EphemeralOSDiskSettings: &batch.DiffDiskSettingsArgs{
Placement: batch.DiffDiskPlacementCacheDisk,
},
},
WindowsConfiguration: &batch.WindowsConfigurationArgs{
EnableAutomaticUpdates: pulumi.Bool(false),
},
},
},
NetworkConfiguration: &batch.NetworkConfigurationArgs{
EndpointConfiguration: &batch.PoolEndpointConfigurationArgs{
InboundNatPools: batch.InboundNatPoolArray{
&batch.InboundNatPoolArgs{
BackendPort: pulumi.Int(12001),
FrontendPortRangeEnd: pulumi.Int(15100),
FrontendPortRangeStart: pulumi.Int(15000),
Name: pulumi.String("testnat"),
NetworkSecurityGroupRules: batch.NetworkSecurityGroupRuleArray{
&batch.NetworkSecurityGroupRuleArgs{
Access: batch.NetworkSecurityGroupRuleAccessAllow,
Priority: pulumi.Int(150),
SourceAddressPrefix: pulumi.String("192.100.12.45"),
SourcePortRanges: pulumi.StringArray{
pulumi.String("1"),
pulumi.String("2"),
},
},
&batch.NetworkSecurityGroupRuleArgs{
Access: batch.NetworkSecurityGroupRuleAccessDeny,
Priority: pulumi.Int(3500),
SourceAddressPrefix: pulumi.String("*"),
SourcePortRanges: pulumi.StringArray{
pulumi.String("*"),
},
},
},
Protocol: batch.InboundEndpointProtocolTCP,
},
},
},
},
PoolName: pulumi.String("testpool"),
ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
ScaleSettings: &batch.ScaleSettingsArgs{
AutoScale: &batch.AutoScaleSettingsArgs{
EvaluationInterval: pulumi.String("PT5M"),
Formula: pulumi.String("$TargetDedicatedNodes=1"),
},
},
VmSize: pulumi.String("STANDARD_D4"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.batch.Pool;
import com.pulumi.azurenative.batch.PoolArgs;
import com.pulumi.azurenative.batch.inputs.DeploymentConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.VirtualMachineConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.DiskEncryptionConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.batch.inputs.NodePlacementConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.OSDiskArgs;
import com.pulumi.azurenative.batch.inputs.DiffDiskSettingsArgs;
import com.pulumi.azurenative.batch.inputs.WindowsConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.NetworkConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.PoolEndpointConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ScaleSettingsArgs;
import com.pulumi.azurenative.batch.inputs.AutoScaleSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var pool = new Pool("pool", PoolArgs.builder()
.accountName("sampleacct")
.deploymentConfiguration(DeploymentConfigurationArgs.builder()
.virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
.dataDisks(
DataDiskArgs.builder()
.caching("ReadWrite")
.diskSizeGB(30)
.lun(0)
.storageAccountType("Premium_LRS")
.build(),
DataDiskArgs.builder()
.caching("None")
.diskSizeGB(200)
.lun(1)
.storageAccountType("Standard_LRS")
.build())
.diskEncryptionConfiguration(DiskEncryptionConfigurationArgs.builder()
.targets(
"OsDisk",
"TemporaryDisk")
.build())
.imageReference(ImageReferenceArgs.builder()
.offer("WindowsServer")
.publisher("MicrosoftWindowsServer")
.sku("2016-Datacenter-SmallDisk")
.version("latest")
.build())
.licenseType("Windows_Server")
.nodeAgentSkuId("batch.node.windows amd64")
.nodePlacementConfiguration(NodePlacementConfigurationArgs.builder()
.policy("Zonal")
.build())
.osDisk(OSDiskArgs.builder()
.ephemeralOSDiskSettings(DiffDiskSettingsArgs.builder()
.placement("CacheDisk")
.build())
.build())
.windowsConfiguration(WindowsConfigurationArgs.builder()
.enableAutomaticUpdates(false)
.build())
.build())
.build())
.networkConfiguration(NetworkConfigurationArgs.builder()
.endpointConfiguration(PoolEndpointConfigurationArgs.builder()
.inboundNatPools(InboundNatPoolArgs.builder()
.backendPort(12001)
.frontendPortRangeEnd(15100)
.frontendPortRangeStart(15000)
.name("testnat")
.networkSecurityGroupRules(
NetworkSecurityGroupRuleArgs.builder()
.access("Allow")
.priority(150)
.sourceAddressPrefix("192.100.12.45")
.sourcePortRanges(
"1",
"2")
.build(),
NetworkSecurityGroupRuleArgs.builder()
.access("Deny")
.priority(3500)
.sourceAddressPrefix("*")
.sourcePortRanges("*")
.build())
.protocol("TCP")
.build())
.build())
.build())
.poolName("testpool")
.resourceGroupName("default-azurebatch-japaneast")
.scaleSettings(ScaleSettingsArgs.builder()
.autoScale(AutoScaleSettingsArgs.builder()
.evaluationInterval("PT5M")
.formula("$TargetDedicatedNodes=1")
.build())
.build())
.vmSize("STANDARD_D4")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const pool = new azure_native.batch.Pool("pool", {
accountName: "sampleacct",
deploymentConfiguration: {
virtualMachineConfiguration: {
dataDisks: [
{
caching: azure_native.batch.CachingType.ReadWrite,
diskSizeGB: 30,
lun: 0,
storageAccountType: azure_native.batch.StorageAccountType.Premium_LRS,
},
{
caching: azure_native.batch.CachingType.None,
diskSizeGB: 200,
lun: 1,
storageAccountType: azure_native.batch.StorageAccountType.Standard_LRS,
},
],
diskEncryptionConfiguration: {
targets: [
azure_native.batch.DiskEncryptionTarget.OsDisk,
azure_native.batch.DiskEncryptionTarget.TemporaryDisk,
],
},
imageReference: {
offer: "WindowsServer",
publisher: "MicrosoftWindowsServer",
sku: "2016-Datacenter-SmallDisk",
version: "latest",
},
licenseType: "Windows_Server",
nodeAgentSkuId: "batch.node.windows amd64",
nodePlacementConfiguration: {
policy: azure_native.batch.NodePlacementPolicyType.Zonal,
},
osDisk: {
ephemeralOSDiskSettings: {
placement: azure_native.batch.DiffDiskPlacement.CacheDisk,
},
},
windowsConfiguration: {
enableAutomaticUpdates: false,
},
},
},
networkConfiguration: {
endpointConfiguration: {
inboundNatPools: [{
backendPort: 12001,
frontendPortRangeEnd: 15100,
frontendPortRangeStart: 15000,
name: "testnat",
networkSecurityGroupRules: [
{
access: azure_native.batch.NetworkSecurityGroupRuleAccess.Allow,
priority: 150,
sourceAddressPrefix: "192.100.12.45",
sourcePortRanges: [
"1",
"2",
],
},
{
access: azure_native.batch.NetworkSecurityGroupRuleAccess.Deny,
priority: 3500,
sourceAddressPrefix: "*",
sourcePortRanges: ["*"],
},
],
protocol: azure_native.batch.InboundEndpointProtocol.TCP,
}],
},
},
poolName: "testpool",
resourceGroupName: "default-azurebatch-japaneast",
scaleSettings: {
autoScale: {
evaluationInterval: "PT5M",
formula: "$TargetDedicatedNodes=1",
},
},
vmSize: "STANDARD_D4",
});
import pulumi
import pulumi_azure_native as azure_native
pool = azure_native.batch.Pool("pool",
account_name="sampleacct",
deployment_configuration={
"virtual_machine_configuration": {
"data_disks": [
{
"caching": azure_native.batch.CachingType.READ_WRITE,
"disk_size_gb": 30,
"lun": 0,
"storage_account_type": azure_native.batch.StorageAccountType.PREMIUM_LRS,
},
{
"caching": azure_native.batch.CachingType.NONE,
"disk_size_gb": 200,
"lun": 1,
"storage_account_type": azure_native.batch.StorageAccountType.STANDARD_LRS,
},
],
"disk_encryption_configuration": {
"targets": [
azure_native.batch.DiskEncryptionTarget.OS_DISK,
azure_native.batch.DiskEncryptionTarget.TEMPORARY_DISK,
],
},
"image_reference": {
"offer": "WindowsServer",
"publisher": "MicrosoftWindowsServer",
"sku": "2016-Datacenter-SmallDisk",
"version": "latest",
},
"license_type": "Windows_Server",
"node_agent_sku_id": "batch.node.windows amd64",
"node_placement_configuration": {
"policy": azure_native.batch.NodePlacementPolicyType.ZONAL,
},
"os_disk": {
"ephemeral_os_disk_settings": {
"placement": azure_native.batch.DiffDiskPlacement.CACHE_DISK,
},
},
"windows_configuration": {
"enable_automatic_updates": False,
},
},
},
network_configuration={
"endpoint_configuration": {
"inbound_nat_pools": [{
"backend_port": 12001,
"frontend_port_range_end": 15100,
"frontend_port_range_start": 15000,
"name": "testnat",
"network_security_group_rules": [
{
"access": azure_native.batch.NetworkSecurityGroupRuleAccess.ALLOW,
"priority": 150,
"source_address_prefix": "192.100.12.45",
"source_port_ranges": [
"1",
"2",
],
},
{
"access": azure_native.batch.NetworkSecurityGroupRuleAccess.DENY,
"priority": 3500,
"source_address_prefix": "*",
"source_port_ranges": ["*"],
},
],
"protocol": azure_native.batch.InboundEndpointProtocol.TCP,
}],
},
},
pool_name="testpool",
resource_group_name="default-azurebatch-japaneast",
scale_settings={
"auto_scale": {
"evaluation_interval": "PT5M",
"formula": "$TargetDedicatedNodes=1",
},
},
vm_size="STANDARD_D4")
resources:
pool:
type: azure-native:batch:Pool
properties:
accountName: sampleacct
deploymentConfiguration:
virtualMachineConfiguration:
dataDisks:
- caching: ReadWrite
diskSizeGB: 30
lun: 0
storageAccountType: Premium_LRS
- caching: None
diskSizeGB: 200
lun: 1
storageAccountType: Standard_LRS
diskEncryptionConfiguration:
targets:
- OsDisk
- TemporaryDisk
imageReference:
offer: WindowsServer
publisher: MicrosoftWindowsServer
sku: 2016-Datacenter-SmallDisk
version: latest
licenseType: Windows_Server
nodeAgentSkuId: batch.node.windows amd64
nodePlacementConfiguration:
policy: Zonal
osDisk:
ephemeralOSDiskSettings:
placement: CacheDisk
windowsConfiguration:
enableAutomaticUpdates: false
networkConfiguration:
endpointConfiguration:
inboundNatPools:
- backendPort: 12001
frontendPortRangeEnd: 15100
frontendPortRangeStart: 15000
name: testnat
networkSecurityGroupRules:
- access: Allow
priority: 150
sourceAddressPrefix: 192.100.12.45
sourcePortRanges:
- '1'
- '2'
- access: Deny
priority: 3500
sourceAddressPrefix: '*'
sourcePortRanges:
- '*'
protocol: TCP
poolName: testpool
resourceGroupName: default-azurebatch-japaneast
scaleSettings:
autoScale:
evaluationInterval: PT5M
formula: $TargetDedicatedNodes=1
vmSize: STANDARD_D4
CreatePool - Minimal VirtualMachineConfiguration
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var pool = new AzureNative.Batch.Pool("pool", new()
{
AccountName = "sampleacct",
DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
{
VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
{
ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
{
Offer = "UbuntuServer",
Publisher = "Canonical",
Sku = "18.04-LTS",
Version = "latest",
},
NodeAgentSkuId = "batch.node.ubuntu 18.04",
},
},
PoolName = "testpool",
ResourceGroupName = "default-azurebatch-japaneast",
ScaleSettings = new AzureNative.Batch.Inputs.ScaleSettingsArgs
{
AutoScale = new AzureNative.Batch.Inputs.AutoScaleSettingsArgs
{
EvaluationInterval = "PT5M",
Formula = "$TargetDedicatedNodes=1",
},
},
VmSize = "STANDARD_D4",
});
});
package main
import (
batch "github.com/pulumi/pulumi-azure-native-sdk/batch/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := batch.NewPool(ctx, "pool", &batch.PoolArgs{
AccountName: pulumi.String("sampleacct"),
DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
ImageReference: &batch.ImageReferenceArgs{
Offer: pulumi.String("UbuntuServer"),
Publisher: pulumi.String("Canonical"),
Sku: pulumi.String("18.04-LTS"),
Version: pulumi.String("latest"),
},
NodeAgentSkuId: pulumi.String("batch.node.ubuntu 18.04"),
},
},
PoolName: pulumi.String("testpool"),
ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
ScaleSettings: &batch.ScaleSettingsArgs{
AutoScale: &batch.AutoScaleSettingsArgs{
EvaluationInterval: pulumi.String("PT5M"),
Formula: pulumi.String("$TargetDedicatedNodes=1"),
},
},
VmSize: pulumi.String("STANDARD_D4"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.batch.Pool;
import com.pulumi.azurenative.batch.PoolArgs;
import com.pulumi.azurenative.batch.inputs.DeploymentConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.VirtualMachineConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.batch.inputs.ScaleSettingsArgs;
import com.pulumi.azurenative.batch.inputs.AutoScaleSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var pool = new Pool("pool", PoolArgs.builder()
.accountName("sampleacct")
.deploymentConfiguration(DeploymentConfigurationArgs.builder()
.virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
.imageReference(ImageReferenceArgs.builder()
.offer("UbuntuServer")
.publisher("Canonical")
.sku("18.04-LTS")
.version("latest")
.build())
.nodeAgentSkuId("batch.node.ubuntu 18.04")
.build())
.build())
.poolName("testpool")
.resourceGroupName("default-azurebatch-japaneast")
.scaleSettings(ScaleSettingsArgs.builder()
.autoScale(AutoScaleSettingsArgs.builder()
.evaluationInterval("PT5M")
.formula("$TargetDedicatedNodes=1")
.build())
.build())
.vmSize("STANDARD_D4")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const pool = new azure_native.batch.Pool("pool", {
accountName: "sampleacct",
deploymentConfiguration: {
virtualMachineConfiguration: {
imageReference: {
offer: "UbuntuServer",
publisher: "Canonical",
sku: "18.04-LTS",
version: "latest",
},
nodeAgentSkuId: "batch.node.ubuntu 18.04",
},
},
poolName: "testpool",
resourceGroupName: "default-azurebatch-japaneast",
scaleSettings: {
autoScale: {
evaluationInterval: "PT5M",
formula: "$TargetDedicatedNodes=1",
},
},
vmSize: "STANDARD_D4",
});
import pulumi
import pulumi_azure_native as azure_native
pool = azure_native.batch.Pool("pool",
account_name="sampleacct",
deployment_configuration={
"virtual_machine_configuration": {
"image_reference": {
"offer": "UbuntuServer",
"publisher": "Canonical",
"sku": "18.04-LTS",
"version": "latest",
},
"node_agent_sku_id": "batch.node.ubuntu 18.04",
},
},
pool_name="testpool",
resource_group_name="default-azurebatch-japaneast",
scale_settings={
"auto_scale": {
"evaluation_interval": "PT5M",
"formula": "$TargetDedicatedNodes=1",
},
},
vm_size="STANDARD_D4")
resources:
pool:
type: azure-native:batch:Pool
properties:
accountName: sampleacct
deploymentConfiguration:
virtualMachineConfiguration:
imageReference:
offer: UbuntuServer
publisher: Canonical
sku: 18.04-LTS
version: latest
nodeAgentSkuId: batch.node.ubuntu 18.04
poolName: testpool
resourceGroupName: default-azurebatch-japaneast
scaleSettings:
autoScale:
evaluationInterval: PT5M
formula: $TargetDedicatedNodes=1
vmSize: STANDARD_D4
CreatePool - No public IP
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var pool = new AzureNative.Batch.Pool("pool", new()
{
AccountName = "sampleacct",
DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
{
VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
{
ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
{
Id = "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1",
},
NodeAgentSkuId = "batch.node.ubuntu 18.04",
},
},
NetworkConfiguration = new AzureNative.Batch.Inputs.NetworkConfigurationArgs
{
PublicIPAddressConfiguration = new AzureNative.Batch.Inputs.PublicIPAddressConfigurationArgs
{
Provision = AzureNative.Batch.IPAddressProvisioningType.NoPublicIPAddresses,
},
SubnetId = "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123",
},
PoolName = "testpool",
ResourceGroupName = "default-azurebatch-japaneast",
VmSize = "STANDARD_D4",
});
});
package main
import (
batch "github.com/pulumi/pulumi-azure-native-sdk/batch/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := batch.NewPool(ctx, "pool", &batch.PoolArgs{
AccountName: pulumi.String("sampleacct"),
DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
ImageReference: &batch.ImageReferenceArgs{
Id: pulumi.String("/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1"),
},
NodeAgentSkuId: pulumi.String("batch.node.ubuntu 18.04"),
},
},
NetworkConfiguration: &batch.NetworkConfigurationArgs{
PublicIPAddressConfiguration: &batch.PublicIPAddressConfigurationArgs{
Provision: batch.IPAddressProvisioningTypeNoPublicIPAddresses,
},
SubnetId: pulumi.String("/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123"),
},
PoolName: pulumi.String("testpool"),
ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
VmSize: pulumi.String("STANDARD_D4"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.batch.Pool;
import com.pulumi.azurenative.batch.PoolArgs;
import com.pulumi.azurenative.batch.inputs.DeploymentConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.VirtualMachineConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.batch.inputs.NetworkConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.PublicIPAddressConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var pool = new Pool("pool", PoolArgs.builder()
.accountName("sampleacct")
.deploymentConfiguration(DeploymentConfigurationArgs.builder()
.virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
.imageReference(ImageReferenceArgs.builder()
.id("/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1")
.build())
.nodeAgentSkuId("batch.node.ubuntu 18.04")
.build())
.build())
.networkConfiguration(NetworkConfigurationArgs.builder()
.publicIPAddressConfiguration(PublicIPAddressConfigurationArgs.builder()
.provision("NoPublicIPAddresses")
.build())
.subnetId("/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123")
.build())
.poolName("testpool")
.resourceGroupName("default-azurebatch-japaneast")
.vmSize("STANDARD_D4")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const pool = new azure_native.batch.Pool("pool", {
accountName: "sampleacct",
deploymentConfiguration: {
virtualMachineConfiguration: {
imageReference: {
id: "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1",
},
nodeAgentSkuId: "batch.node.ubuntu 18.04",
},
},
networkConfiguration: {
publicIPAddressConfiguration: {
provision: azure_native.batch.IPAddressProvisioningType.NoPublicIPAddresses,
},
subnetId: "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123",
},
poolName: "testpool",
resourceGroupName: "default-azurebatch-japaneast",
vmSize: "STANDARD_D4",
});
import pulumi
import pulumi_azure_native as azure_native
pool = azure_native.batch.Pool("pool",
account_name="sampleacct",
deployment_configuration={
"virtual_machine_configuration": {
"image_reference": {
"id": "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1",
},
"node_agent_sku_id": "batch.node.ubuntu 18.04",
},
},
network_configuration={
"public_ip_address_configuration": {
"provision": azure_native.batch.IPAddressProvisioningType.NO_PUBLIC_IP_ADDRESSES,
},
"subnet_id": "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123",
},
pool_name="testpool",
resource_group_name="default-azurebatch-japaneast",
vm_size="STANDARD_D4")
resources:
pool:
type: azure-native:batch:Pool
properties:
accountName: sampleacct
deploymentConfiguration:
virtualMachineConfiguration:
imageReference:
id: /subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1
nodeAgentSkuId: batch.node.ubuntu 18.04
networkConfiguration:
publicIPAddressConfiguration:
provision: NoPublicIPAddresses
subnetId: /subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123
poolName: testpool
resourceGroupName: default-azurebatch-japaneast
vmSize: STANDARD_D4
CreatePool - Public IPs
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var pool = new AzureNative.Batch.Pool("pool", new()
{
AccountName = "sampleacct",
DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
{
VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
{
ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
{
Id = "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1",
},
NodeAgentSkuId = "batch.node.ubuntu 18.04",
},
},
NetworkConfiguration = new AzureNative.Batch.Inputs.NetworkConfigurationArgs
{
PublicIPAddressConfiguration = new AzureNative.Batch.Inputs.PublicIPAddressConfigurationArgs
{
IpAddressIds = new[]
{
"/subscriptions/12345678-1234-1234-1234-1234567890121/resourceGroups/rg13/providers/Microsoft.Network/publicIPAddresses/ip135",
},
Provision = AzureNative.Batch.IPAddressProvisioningType.UserManaged,
},
SubnetId = "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123",
},
PoolName = "testpool",
ResourceGroupName = "default-azurebatch-japaneast",
VmSize = "STANDARD_D4",
});
});
package main
import (
batch "github.com/pulumi/pulumi-azure-native-sdk/batch/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := batch.NewPool(ctx, "pool", &batch.PoolArgs{
AccountName: pulumi.String("sampleacct"),
DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
ImageReference: &batch.ImageReferenceArgs{
Id: pulumi.String("/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1"),
},
NodeAgentSkuId: pulumi.String("batch.node.ubuntu 18.04"),
},
},
NetworkConfiguration: &batch.NetworkConfigurationArgs{
PublicIPAddressConfiguration: &batch.PublicIPAddressConfigurationArgs{
IpAddressIds: pulumi.StringArray{
pulumi.String("/subscriptions/12345678-1234-1234-1234-1234567890121/resourceGroups/rg13/providers/Microsoft.Network/publicIPAddresses/ip135"),
},
Provision: batch.IPAddressProvisioningTypeUserManaged,
},
SubnetId: pulumi.String("/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123"),
},
PoolName: pulumi.String("testpool"),
ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
VmSize: pulumi.String("STANDARD_D4"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.batch.Pool;
import com.pulumi.azurenative.batch.PoolArgs;
import com.pulumi.azurenative.batch.inputs.DeploymentConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.VirtualMachineConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.batch.inputs.NetworkConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.PublicIPAddressConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var pool = new Pool("pool", PoolArgs.builder()
.accountName("sampleacct")
.deploymentConfiguration(DeploymentConfigurationArgs.builder()
.virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
.imageReference(ImageReferenceArgs.builder()
.id("/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1")
.build())
.nodeAgentSkuId("batch.node.ubuntu 18.04")
.build())
.build())
.networkConfiguration(NetworkConfigurationArgs.builder()
.publicIPAddressConfiguration(PublicIPAddressConfigurationArgs.builder()
.ipAddressIds("/subscriptions/12345678-1234-1234-1234-1234567890121/resourceGroups/rg13/providers/Microsoft.Network/publicIPAddresses/ip135")
.provision("UserManaged")
.build())
.subnetId("/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123")
.build())
.poolName("testpool")
.resourceGroupName("default-azurebatch-japaneast")
.vmSize("STANDARD_D4")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const pool = new azure_native.batch.Pool("pool", {
accountName: "sampleacct",
deploymentConfiguration: {
virtualMachineConfiguration: {
imageReference: {
id: "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1",
},
nodeAgentSkuId: "batch.node.ubuntu 18.04",
},
},
networkConfiguration: {
publicIPAddressConfiguration: {
ipAddressIds: ["/subscriptions/12345678-1234-1234-1234-1234567890121/resourceGroups/rg13/providers/Microsoft.Network/publicIPAddresses/ip135"],
provision: azure_native.batch.IPAddressProvisioningType.UserManaged,
},
subnetId: "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123",
},
poolName: "testpool",
resourceGroupName: "default-azurebatch-japaneast",
vmSize: "STANDARD_D4",
});
import pulumi
import pulumi_azure_native as azure_native
pool = azure_native.batch.Pool("pool",
account_name="sampleacct",
deployment_configuration={
"virtual_machine_configuration": {
"image_reference": {
"id": "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1",
},
"node_agent_sku_id": "batch.node.ubuntu 18.04",
},
},
network_configuration={
"public_ip_address_configuration": {
"ip_address_ids": ["/subscriptions/12345678-1234-1234-1234-1234567890121/resourceGroups/rg13/providers/Microsoft.Network/publicIPAddresses/ip135"],
"provision": azure_native.batch.IPAddressProvisioningType.USER_MANAGED,
},
"subnet_id": "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123",
},
pool_name="testpool",
resource_group_name="default-azurebatch-japaneast",
vm_size="STANDARD_D4")
resources:
pool:
type: azure-native:batch:Pool
properties:
accountName: sampleacct
deploymentConfiguration:
virtualMachineConfiguration:
imageReference:
id: /subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/networking-group/providers/Microsoft.Compute/galleries/testgallery/images/testimagedef/versions/0.0.1
nodeAgentSkuId: batch.node.ubuntu 18.04
networkConfiguration:
publicIPAddressConfiguration:
ipAddressIds:
- /subscriptions/12345678-1234-1234-1234-1234567890121/resourceGroups/rg13/providers/Microsoft.Network/publicIPAddresses/ip135
provision: UserManaged
subnetId: /subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123
poolName: testpool
resourceGroupName: default-azurebatch-japaneast
vmSize: STANDARD_D4
CreatePool - ResourceTags
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var pool = new AzureNative.Batch.Pool("pool", new()
{
AccountName = "sampleacct",
DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
{
VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
{
ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
{
Offer = "UbuntuServer",
Publisher = "Canonical",
Sku = "18_04-lts-gen2",
Version = "latest",
},
NodeAgentSkuId = "batch.node.ubuntu 18.04",
},
},
PoolName = "testpool",
ResourceGroupName = "default-azurebatch-japaneast",
ResourceTags =
{
{ "TagName1", "TagValue1" },
{ "TagName2", "TagValue2" },
},
ScaleSettings = new AzureNative.Batch.Inputs.ScaleSettingsArgs
{
FixedScale = new AzureNative.Batch.Inputs.FixedScaleSettingsArgs
{
TargetDedicatedNodes = 1,
TargetLowPriorityNodes = 0,
},
},
VmSize = "Standard_d4s_v3",
});
});
package main
import (
batch "github.com/pulumi/pulumi-azure-native-sdk/batch/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := batch.NewPool(ctx, "pool", &batch.PoolArgs{
AccountName: pulumi.String("sampleacct"),
DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
ImageReference: &batch.ImageReferenceArgs{
Offer: pulumi.String("UbuntuServer"),
Publisher: pulumi.String("Canonical"),
Sku: pulumi.String("18_04-lts-gen2"),
Version: pulumi.String("latest"),
},
NodeAgentSkuId: pulumi.String("batch.node.ubuntu 18.04"),
},
},
PoolName: pulumi.String("testpool"),
ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
ResourceTags: pulumi.StringMap{
"TagName1": pulumi.String("TagValue1"),
"TagName2": pulumi.String("TagValue2"),
},
ScaleSettings: &batch.ScaleSettingsArgs{
FixedScale: &batch.FixedScaleSettingsArgs{
TargetDedicatedNodes: pulumi.Int(1),
TargetLowPriorityNodes: pulumi.Int(0),
},
},
VmSize: pulumi.String("Standard_d4s_v3"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.batch.Pool;
import com.pulumi.azurenative.batch.PoolArgs;
import com.pulumi.azurenative.batch.inputs.DeploymentConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.VirtualMachineConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.batch.inputs.ScaleSettingsArgs;
import com.pulumi.azurenative.batch.inputs.FixedScaleSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var pool = new Pool("pool", PoolArgs.builder()
.accountName("sampleacct")
.deploymentConfiguration(DeploymentConfigurationArgs.builder()
.virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
.imageReference(ImageReferenceArgs.builder()
.offer("UbuntuServer")
.publisher("Canonical")
.sku("18_04-lts-gen2")
.version("latest")
.build())
.nodeAgentSkuId("batch.node.ubuntu 18.04")
.build())
.build())
.poolName("testpool")
.resourceGroupName("default-azurebatch-japaneast")
.resourceTags(Map.ofEntries(
Map.entry("TagName1", "TagValue1"),
Map.entry("TagName2", "TagValue2")
))
.scaleSettings(ScaleSettingsArgs.builder()
.fixedScale(FixedScaleSettingsArgs.builder()
.targetDedicatedNodes(1)
.targetLowPriorityNodes(0)
.build())
.build())
.vmSize("Standard_d4s_v3")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const pool = new azure_native.batch.Pool("pool", {
accountName: "sampleacct",
deploymentConfiguration: {
virtualMachineConfiguration: {
imageReference: {
offer: "UbuntuServer",
publisher: "Canonical",
sku: "18_04-lts-gen2",
version: "latest",
},
nodeAgentSkuId: "batch.node.ubuntu 18.04",
},
},
poolName: "testpool",
resourceGroupName: "default-azurebatch-japaneast",
resourceTags: {
TagName1: "TagValue1",
TagName2: "TagValue2",
},
scaleSettings: {
fixedScale: {
targetDedicatedNodes: 1,
targetLowPriorityNodes: 0,
},
},
vmSize: "Standard_d4s_v3",
});
import pulumi
import pulumi_azure_native as azure_native
pool = azure_native.batch.Pool("pool",
account_name="sampleacct",
deployment_configuration={
"virtual_machine_configuration": {
"image_reference": {
"offer": "UbuntuServer",
"publisher": "Canonical",
"sku": "18_04-lts-gen2",
"version": "latest",
},
"node_agent_sku_id": "batch.node.ubuntu 18.04",
},
},
pool_name="testpool",
resource_group_name="default-azurebatch-japaneast",
resource_tags={
"TagName1": "TagValue1",
"TagName2": "TagValue2",
},
scale_settings={
"fixed_scale": {
"target_dedicated_nodes": 1,
"target_low_priority_nodes": 0,
},
},
vm_size="Standard_d4s_v3")
resources:
pool:
type: azure-native:batch:Pool
properties:
accountName: sampleacct
deploymentConfiguration:
virtualMachineConfiguration:
imageReference:
offer: UbuntuServer
publisher: Canonical
sku: 18_04-lts-gen2
version: latest
nodeAgentSkuId: batch.node.ubuntu 18.04
poolName: testpool
resourceGroupName: default-azurebatch-japaneast
resourceTags:
TagName1: TagValue1
TagName2: TagValue2
scaleSettings:
fixedScale:
targetDedicatedNodes: 1
targetLowPriorityNodes: 0
vmSize: Standard_d4s_v3
CreatePool - SecurityProfile
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var pool = new AzureNative.Batch.Pool("pool", new()
{
AccountName = "sampleacct",
DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
{
VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
{
ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
{
Offer = "UbuntuServer",
Publisher = "Canonical",
Sku = "18_04-lts-gen2",
Version = "latest",
},
NodeAgentSkuId = "batch.node.ubuntu 18.04",
SecurityProfile = new AzureNative.Batch.Inputs.SecurityProfileArgs
{
EncryptionAtHost = true,
SecurityType = AzureNative.Batch.SecurityTypes.TrustedLaunch,
UefiSettings = new AzureNative.Batch.Inputs.UefiSettingsArgs
{
VTpmEnabled = false,
},
},
},
},
PoolName = "testpool",
ResourceGroupName = "default-azurebatch-japaneast",
ScaleSettings = new AzureNative.Batch.Inputs.ScaleSettingsArgs
{
FixedScale = new AzureNative.Batch.Inputs.FixedScaleSettingsArgs
{
TargetDedicatedNodes = 1,
TargetLowPriorityNodes = 0,
},
},
VmSize = "Standard_d4s_v3",
});
});
package main
import (
batch "github.com/pulumi/pulumi-azure-native-sdk/batch/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := batch.NewPool(ctx, "pool", &batch.PoolArgs{
AccountName: pulumi.String("sampleacct"),
DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
ImageReference: &batch.ImageReferenceArgs{
Offer: pulumi.String("UbuntuServer"),
Publisher: pulumi.String("Canonical"),
Sku: pulumi.String("18_04-lts-gen2"),
Version: pulumi.String("latest"),
},
NodeAgentSkuId: pulumi.String("batch.node.ubuntu 18.04"),
SecurityProfile: &batch.SecurityProfileArgs{
EncryptionAtHost: pulumi.Bool(true),
SecurityType: batch.SecurityTypesTrustedLaunch,
UefiSettings: &batch.UefiSettingsArgs{
VTpmEnabled: pulumi.Bool(false),
},
},
},
},
PoolName: pulumi.String("testpool"),
ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
ScaleSettings: &batch.ScaleSettingsArgs{
FixedScale: &batch.FixedScaleSettingsArgs{
TargetDedicatedNodes: pulumi.Int(1),
TargetLowPriorityNodes: pulumi.Int(0),
},
},
VmSize: pulumi.String("Standard_d4s_v3"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.batch.Pool;
import com.pulumi.azurenative.batch.PoolArgs;
import com.pulumi.azurenative.batch.inputs.DeploymentConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.VirtualMachineConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.batch.inputs.SecurityProfileArgs;
import com.pulumi.azurenative.batch.inputs.UefiSettingsArgs;
import com.pulumi.azurenative.batch.inputs.ScaleSettingsArgs;
import com.pulumi.azurenative.batch.inputs.FixedScaleSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var pool = new Pool("pool", PoolArgs.builder()
.accountName("sampleacct")
.deploymentConfiguration(DeploymentConfigurationArgs.builder()
.virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
.imageReference(ImageReferenceArgs.builder()
.offer("UbuntuServer")
.publisher("Canonical")
.sku("18_04-lts-gen2")
.version("latest")
.build())
.nodeAgentSkuId("batch.node.ubuntu 18.04")
.securityProfile(SecurityProfileArgs.builder()
.encryptionAtHost(true)
.securityType("trustedLaunch")
.uefiSettings(UefiSettingsArgs.builder()
.vTpmEnabled(false)
.build())
.build())
.build())
.build())
.poolName("testpool")
.resourceGroupName("default-azurebatch-japaneast")
.scaleSettings(ScaleSettingsArgs.builder()
.fixedScale(FixedScaleSettingsArgs.builder()
.targetDedicatedNodes(1)
.targetLowPriorityNodes(0)
.build())
.build())
.vmSize("Standard_d4s_v3")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const pool = new azure_native.batch.Pool("pool", {
accountName: "sampleacct",
deploymentConfiguration: {
virtualMachineConfiguration: {
imageReference: {
offer: "UbuntuServer",
publisher: "Canonical",
sku: "18_04-lts-gen2",
version: "latest",
},
nodeAgentSkuId: "batch.node.ubuntu 18.04",
securityProfile: {
encryptionAtHost: true,
securityType: azure_native.batch.SecurityTypes.TrustedLaunch,
uefiSettings: {
vTpmEnabled: false,
},
},
},
},
poolName: "testpool",
resourceGroupName: "default-azurebatch-japaneast",
scaleSettings: {
fixedScale: {
targetDedicatedNodes: 1,
targetLowPriorityNodes: 0,
},
},
vmSize: "Standard_d4s_v3",
});
import pulumi
import pulumi_azure_native as azure_native
pool = azure_native.batch.Pool("pool",
account_name="sampleacct",
deployment_configuration={
"virtual_machine_configuration": {
"image_reference": {
"offer": "UbuntuServer",
"publisher": "Canonical",
"sku": "18_04-lts-gen2",
"version": "latest",
},
"node_agent_sku_id": "batch.node.ubuntu 18.04",
"security_profile": {
"encryption_at_host": True,
"security_type": azure_native.batch.SecurityTypes.TRUSTED_LAUNCH,
"uefi_settings": {
"v_tpm_enabled": False,
},
},
},
},
pool_name="testpool",
resource_group_name="default-azurebatch-japaneast",
scale_settings={
"fixed_scale": {
"target_dedicated_nodes": 1,
"target_low_priority_nodes": 0,
},
},
vm_size="Standard_d4s_v3")
resources:
pool:
type: azure-native:batch:Pool
properties:
accountName: sampleacct
deploymentConfiguration:
virtualMachineConfiguration:
imageReference:
offer: UbuntuServer
publisher: Canonical
sku: 18_04-lts-gen2
version: latest
nodeAgentSkuId: batch.node.ubuntu 18.04
securityProfile:
encryptionAtHost: true
securityType: trustedLaunch
uefiSettings:
vTpmEnabled: false
poolName: testpool
resourceGroupName: default-azurebatch-japaneast
scaleSettings:
fixedScale:
targetDedicatedNodes: 1
targetLowPriorityNodes: 0
vmSize: Standard_d4s_v3
CreatePool - Tags
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var pool = new AzureNative.Batch.Pool("pool", new()
{
AccountName = "sampleacct",
DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
{
VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
{
ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
{
Offer = "0001-com-ubuntu-server-jammy",
Publisher = "Canonical",
Sku = "22_04-lts",
Version = "latest",
},
NodeAgentSkuId = "batch.node.ubuntu 22.04",
},
},
PoolName = "testpool",
ResourceGroupName = "default-azurebatch-japaneast",
ScaleSettings = new AzureNative.Batch.Inputs.ScaleSettingsArgs
{
FixedScale = new AzureNative.Batch.Inputs.FixedScaleSettingsArgs
{
TargetDedicatedNodes = 1,
TargetLowPriorityNodes = 0,
},
},
VmSize = "Standard_d4s_v3",
});
});
package main
import (
batch "github.com/pulumi/pulumi-azure-native-sdk/batch/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := batch.NewPool(ctx, "pool", &batch.PoolArgs{
AccountName: pulumi.String("sampleacct"),
DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
ImageReference: &batch.ImageReferenceArgs{
Offer: pulumi.String("0001-com-ubuntu-server-jammy"),
Publisher: pulumi.String("Canonical"),
Sku: pulumi.String("22_04-lts"),
Version: pulumi.String("latest"),
},
NodeAgentSkuId: pulumi.String("batch.node.ubuntu 22.04"),
},
},
PoolName: pulumi.String("testpool"),
ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
ScaleSettings: &batch.ScaleSettingsArgs{
FixedScale: &batch.FixedScaleSettingsArgs{
TargetDedicatedNodes: pulumi.Int(1),
TargetLowPriorityNodes: pulumi.Int(0),
},
},
VmSize: pulumi.String("Standard_d4s_v3"),
})
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.azurenative.batch.Pool;
import com.pulumi.azurenative.batch.PoolArgs;
import com.pulumi.azurenative.batch.inputs.DeploymentConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.VirtualMachineConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.batch.inputs.ScaleSettingsArgs;
import com.pulumi.azurenative.batch.inputs.FixedScaleSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var pool = new Pool("pool", PoolArgs.builder()
.accountName("sampleacct")
.deploymentConfiguration(DeploymentConfigurationArgs.builder()
.virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
.imageReference(ImageReferenceArgs.builder()
.offer("0001-com-ubuntu-server-jammy")
.publisher("Canonical")
.sku("22_04-lts")
.version("latest")
.build())
.nodeAgentSkuId("batch.node.ubuntu 22.04")
.build())
.build())
.poolName("testpool")
.resourceGroupName("default-azurebatch-japaneast")
.scaleSettings(ScaleSettingsArgs.builder()
.fixedScale(FixedScaleSettingsArgs.builder()
.targetDedicatedNodes(1)
.targetLowPriorityNodes(0)
.build())
.build())
.vmSize("Standard_d4s_v3")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const pool = new azure_native.batch.Pool("pool", {
accountName: "sampleacct",
deploymentConfiguration: {
virtualMachineConfiguration: {
imageReference: {
offer: "0001-com-ubuntu-server-jammy",
publisher: "Canonical",
sku: "22_04-lts",
version: "latest",
},
nodeAgentSkuId: "batch.node.ubuntu 22.04",
},
},
poolName: "testpool",
resourceGroupName: "default-azurebatch-japaneast",
scaleSettings: {
fixedScale: {
targetDedicatedNodes: 1,
targetLowPriorityNodes: 0,
},
},
vmSize: "Standard_d4s_v3",
});
import pulumi
import pulumi_azure_native as azure_native
pool = azure_native.batch.Pool("pool",
account_name="sampleacct",
deployment_configuration={
"virtual_machine_configuration": {
"image_reference": {
"offer": "0001-com-ubuntu-server-jammy",
"publisher": "Canonical",
"sku": "22_04-lts",
"version": "latest",
},
"node_agent_sku_id": "batch.node.ubuntu 22.04",
},
},
pool_name="testpool",
resource_group_name="default-azurebatch-japaneast",
scale_settings={
"fixed_scale": {
"target_dedicated_nodes": 1,
"target_low_priority_nodes": 0,
},
},
vm_size="Standard_d4s_v3")
resources:
pool:
type: azure-native:batch:Pool
properties:
accountName: sampleacct
deploymentConfiguration:
virtualMachineConfiguration:
imageReference:
offer: 0001-com-ubuntu-server-jammy
publisher: Canonical
sku: 22_04-lts
version: latest
nodeAgentSkuId: batch.node.ubuntu 22.04
poolName: testpool
resourceGroupName: default-azurebatch-japaneast
scaleSettings:
fixedScale:
targetDedicatedNodes: 1
targetLowPriorityNodes: 0
vmSize: Standard_d4s_v3
CreatePool - UpgradePolicy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var pool = new AzureNative.Batch.Pool("pool", new()
{
AccountName = "sampleacct",
DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
{
VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
{
ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
{
Offer = "WindowsServer",
Publisher = "MicrosoftWindowsServer",
Sku = "2019-datacenter-smalldisk",
Version = "latest",
},
NodeAgentSkuId = "batch.node.windows amd64",
NodePlacementConfiguration = new AzureNative.Batch.Inputs.NodePlacementConfigurationArgs
{
Policy = AzureNative.Batch.NodePlacementPolicyType.Zonal,
},
WindowsConfiguration = new AzureNative.Batch.Inputs.WindowsConfigurationArgs
{
EnableAutomaticUpdates = false,
},
},
},
PoolName = "testpool",
ResourceGroupName = "default-azurebatch-japaneast",
ScaleSettings = new AzureNative.Batch.Inputs.ScaleSettingsArgs
{
FixedScale = new AzureNative.Batch.Inputs.FixedScaleSettingsArgs
{
TargetDedicatedNodes = 2,
TargetLowPriorityNodes = 0,
},
},
UpgradePolicy = new AzureNative.Batch.Inputs.UpgradePolicyArgs
{
AutomaticOSUpgradePolicy = new AzureNative.Batch.Inputs.AutomaticOSUpgradePolicyArgs
{
DisableAutomaticRollback = true,
EnableAutomaticOSUpgrade = true,
OsRollingUpgradeDeferral = true,
UseRollingUpgradePolicy = true,
},
Mode = AzureNative.Batch.UpgradeMode.Automatic,
RollingUpgradePolicy = new AzureNative.Batch.Inputs.RollingUpgradePolicyArgs
{
EnableCrossZoneUpgrade = true,
MaxBatchInstancePercent = 20,
MaxUnhealthyInstancePercent = 20,
MaxUnhealthyUpgradedInstancePercent = 20,
PauseTimeBetweenBatches = "PT0S",
PrioritizeUnhealthyInstances = false,
RollbackFailedInstancesOnPolicyBreach = false,
},
},
VmSize = "Standard_d4s_v3",
});
});
package main
import (
batch "github.com/pulumi/pulumi-azure-native-sdk/batch/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := batch.NewPool(ctx, "pool", &batch.PoolArgs{
AccountName: pulumi.String("sampleacct"),
DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
ImageReference: &batch.ImageReferenceArgs{
Offer: pulumi.String("WindowsServer"),
Publisher: pulumi.String("MicrosoftWindowsServer"),
Sku: pulumi.String("2019-datacenter-smalldisk"),
Version: pulumi.String("latest"),
},
NodeAgentSkuId: pulumi.String("batch.node.windows amd64"),
NodePlacementConfiguration: &batch.NodePlacementConfigurationArgs{
Policy: batch.NodePlacementPolicyTypeZonal,
},
WindowsConfiguration: &batch.WindowsConfigurationArgs{
EnableAutomaticUpdates: pulumi.Bool(false),
},
},
},
PoolName: pulumi.String("testpool"),
ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
ScaleSettings: &batch.ScaleSettingsArgs{
FixedScale: &batch.FixedScaleSettingsArgs{
TargetDedicatedNodes: pulumi.Int(2),
TargetLowPriorityNodes: pulumi.Int(0),
},
},
UpgradePolicy: &batch.UpgradePolicyArgs{
AutomaticOSUpgradePolicy: &batch.AutomaticOSUpgradePolicyArgs{
DisableAutomaticRollback: pulumi.Bool(true),
EnableAutomaticOSUpgrade: pulumi.Bool(true),
OsRollingUpgradeDeferral: pulumi.Bool(true),
UseRollingUpgradePolicy: pulumi.Bool(true),
},
Mode: batch.UpgradeModeAutomatic,
RollingUpgradePolicy: &batch.RollingUpgradePolicyArgs{
EnableCrossZoneUpgrade: pulumi.Bool(true),
MaxBatchInstancePercent: pulumi.Int(20),
MaxUnhealthyInstancePercent: pulumi.Int(20),
MaxUnhealthyUpgradedInstancePercent: pulumi.Int(20),
PauseTimeBetweenBatches: pulumi.String("PT0S"),
PrioritizeUnhealthyInstances: pulumi.Bool(false),
RollbackFailedInstancesOnPolicyBreach: pulumi.Bool(false),
},
},
VmSize: pulumi.String("Standard_d4s_v3"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.batch.Pool;
import com.pulumi.azurenative.batch.PoolArgs;
import com.pulumi.azurenative.batch.inputs.DeploymentConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.VirtualMachineConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.batch.inputs.NodePlacementConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.WindowsConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ScaleSettingsArgs;
import com.pulumi.azurenative.batch.inputs.FixedScaleSettingsArgs;
import com.pulumi.azurenative.batch.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.batch.inputs.AutomaticOSUpgradePolicyArgs;
import com.pulumi.azurenative.batch.inputs.RollingUpgradePolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var pool = new Pool("pool", PoolArgs.builder()
.accountName("sampleacct")
.deploymentConfiguration(DeploymentConfigurationArgs.builder()
.virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
.imageReference(ImageReferenceArgs.builder()
.offer("WindowsServer")
.publisher("MicrosoftWindowsServer")
.sku("2019-datacenter-smalldisk")
.version("latest")
.build())
.nodeAgentSkuId("batch.node.windows amd64")
.nodePlacementConfiguration(NodePlacementConfigurationArgs.builder()
.policy("Zonal")
.build())
.windowsConfiguration(WindowsConfigurationArgs.builder()
.enableAutomaticUpdates(false)
.build())
.build())
.build())
.poolName("testpool")
.resourceGroupName("default-azurebatch-japaneast")
.scaleSettings(ScaleSettingsArgs.builder()
.fixedScale(FixedScaleSettingsArgs.builder()
.targetDedicatedNodes(2)
.targetLowPriorityNodes(0)
.build())
.build())
.upgradePolicy(UpgradePolicyArgs.builder()
.automaticOSUpgradePolicy(AutomaticOSUpgradePolicyArgs.builder()
.disableAutomaticRollback(true)
.enableAutomaticOSUpgrade(true)
.osRollingUpgradeDeferral(true)
.useRollingUpgradePolicy(true)
.build())
.mode("automatic")
.rollingUpgradePolicy(RollingUpgradePolicyArgs.builder()
.enableCrossZoneUpgrade(true)
.maxBatchInstancePercent(20)
.maxUnhealthyInstancePercent(20)
.maxUnhealthyUpgradedInstancePercent(20)
.pauseTimeBetweenBatches("PT0S")
.prioritizeUnhealthyInstances(false)
.rollbackFailedInstancesOnPolicyBreach(false)
.build())
.build())
.vmSize("Standard_d4s_v3")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const pool = new azure_native.batch.Pool("pool", {
accountName: "sampleacct",
deploymentConfiguration: {
virtualMachineConfiguration: {
imageReference: {
offer: "WindowsServer",
publisher: "MicrosoftWindowsServer",
sku: "2019-datacenter-smalldisk",
version: "latest",
},
nodeAgentSkuId: "batch.node.windows amd64",
nodePlacementConfiguration: {
policy: azure_native.batch.NodePlacementPolicyType.Zonal,
},
windowsConfiguration: {
enableAutomaticUpdates: false,
},
},
},
poolName: "testpool",
resourceGroupName: "default-azurebatch-japaneast",
scaleSettings: {
fixedScale: {
targetDedicatedNodes: 2,
targetLowPriorityNodes: 0,
},
},
upgradePolicy: {
automaticOSUpgradePolicy: {
disableAutomaticRollback: true,
enableAutomaticOSUpgrade: true,
osRollingUpgradeDeferral: true,
useRollingUpgradePolicy: true,
},
mode: azure_native.batch.UpgradeMode.Automatic,
rollingUpgradePolicy: {
enableCrossZoneUpgrade: true,
maxBatchInstancePercent: 20,
maxUnhealthyInstancePercent: 20,
maxUnhealthyUpgradedInstancePercent: 20,
pauseTimeBetweenBatches: "PT0S",
prioritizeUnhealthyInstances: false,
rollbackFailedInstancesOnPolicyBreach: false,
},
},
vmSize: "Standard_d4s_v3",
});
import pulumi
import pulumi_azure_native as azure_native
pool = azure_native.batch.Pool("pool",
account_name="sampleacct",
deployment_configuration={
"virtual_machine_configuration": {
"image_reference": {
"offer": "WindowsServer",
"publisher": "MicrosoftWindowsServer",
"sku": "2019-datacenter-smalldisk",
"version": "latest",
},
"node_agent_sku_id": "batch.node.windows amd64",
"node_placement_configuration": {
"policy": azure_native.batch.NodePlacementPolicyType.ZONAL,
},
"windows_configuration": {
"enable_automatic_updates": False,
},
},
},
pool_name="testpool",
resource_group_name="default-azurebatch-japaneast",
scale_settings={
"fixed_scale": {
"target_dedicated_nodes": 2,
"target_low_priority_nodes": 0,
},
},
upgrade_policy={
"automatic_os_upgrade_policy": {
"disable_automatic_rollback": True,
"enable_automatic_os_upgrade": True,
"os_rolling_upgrade_deferral": True,
"use_rolling_upgrade_policy": True,
},
"mode": azure_native.batch.UpgradeMode.AUTOMATIC,
"rolling_upgrade_policy": {
"enable_cross_zone_upgrade": True,
"max_batch_instance_percent": 20,
"max_unhealthy_instance_percent": 20,
"max_unhealthy_upgraded_instance_percent": 20,
"pause_time_between_batches": "PT0S",
"prioritize_unhealthy_instances": False,
"rollback_failed_instances_on_policy_breach": False,
},
},
vm_size="Standard_d4s_v3")
resources:
pool:
type: azure-native:batch:Pool
properties:
accountName: sampleacct
deploymentConfiguration:
virtualMachineConfiguration:
imageReference:
offer: WindowsServer
publisher: MicrosoftWindowsServer
sku: 2019-datacenter-smalldisk
version: latest
nodeAgentSkuId: batch.node.windows amd64
nodePlacementConfiguration:
policy: Zonal
windowsConfiguration:
enableAutomaticUpdates: false
poolName: testpool
resourceGroupName: default-azurebatch-japaneast
scaleSettings:
fixedScale:
targetDedicatedNodes: 2
targetLowPriorityNodes: 0
upgradePolicy:
automaticOSUpgradePolicy:
disableAutomaticRollback: true
enableAutomaticOSUpgrade: true
osRollingUpgradeDeferral: true
useRollingUpgradePolicy: true
mode: automatic
rollingUpgradePolicy:
enableCrossZoneUpgrade: true
maxBatchInstancePercent: 20
maxUnhealthyInstancePercent: 20
maxUnhealthyUpgradedInstancePercent: 20
pauseTimeBetweenBatches: PT0S
prioritizeUnhealthyInstances: false
rollbackFailedInstancesOnPolicyBreach: false
vmSize: Standard_d4s_v3
CreatePool - VirtualMachineConfiguration Extensions
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var pool = new AzureNative.Batch.Pool("pool", new()
{
AccountName = "sampleacct",
DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
{
VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
{
Extensions = new[]
{
new AzureNative.Batch.Inputs.VMExtensionArgs
{
AutoUpgradeMinorVersion = true,
EnableAutomaticUpgrade = true,
Name = "batchextension1",
Publisher = "Microsoft.Azure.KeyVault",
Settings = new Dictionary<string, object?>
{
["authenticationSettingsKey"] = "authenticationSettingsValue",
["secretsManagementSettingsKey"] = "secretsManagementSettingsValue",
},
Type = "KeyVaultForLinux",
TypeHandlerVersion = "2.0",
},
},
ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
{
Offer = "0001-com-ubuntu-server-focal",
Publisher = "Canonical",
Sku = "20_04-lts",
},
NodeAgentSkuId = "batch.node.ubuntu 20.04",
},
},
PoolName = "testpool",
ResourceGroupName = "default-azurebatch-japaneast",
ScaleSettings = new AzureNative.Batch.Inputs.ScaleSettingsArgs
{
AutoScale = new AzureNative.Batch.Inputs.AutoScaleSettingsArgs
{
EvaluationInterval = "PT5M",
Formula = "$TargetDedicatedNodes=1",
},
},
TargetNodeCommunicationMode = AzureNative.Batch.NodeCommunicationMode.Default,
VmSize = "STANDARD_D4",
});
});
package main
import (
batch "github.com/pulumi/pulumi-azure-native-sdk/batch/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := batch.NewPool(ctx, "pool", &batch.PoolArgs{
AccountName: pulumi.String("sampleacct"),
DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
Extensions: batch.VMExtensionArray{
&batch.VMExtensionArgs{
AutoUpgradeMinorVersion: pulumi.Bool(true),
EnableAutomaticUpgrade: pulumi.Bool(true),
Name: pulumi.String("batchextension1"),
Publisher: pulumi.String("Microsoft.Azure.KeyVault"),
Settings: pulumi.Any(map[string]interface{}{
"authenticationSettingsKey": "authenticationSettingsValue",
"secretsManagementSettingsKey": "secretsManagementSettingsValue",
}),
Type: pulumi.String("KeyVaultForLinux"),
TypeHandlerVersion: pulumi.String("2.0"),
},
},
ImageReference: &batch.ImageReferenceArgs{
Offer: pulumi.String("0001-com-ubuntu-server-focal"),
Publisher: pulumi.String("Canonical"),
Sku: pulumi.String("20_04-lts"),
},
NodeAgentSkuId: pulumi.String("batch.node.ubuntu 20.04"),
},
},
PoolName: pulumi.String("testpool"),
ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
ScaleSettings: &batch.ScaleSettingsArgs{
AutoScale: &batch.AutoScaleSettingsArgs{
EvaluationInterval: pulumi.String("PT5M"),
Formula: pulumi.String("$TargetDedicatedNodes=1"),
},
},
TargetNodeCommunicationMode: batch.NodeCommunicationModeDefault,
VmSize: pulumi.String("STANDARD_D4"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.batch.Pool;
import com.pulumi.azurenative.batch.PoolArgs;
import com.pulumi.azurenative.batch.inputs.DeploymentConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.VirtualMachineConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.batch.inputs.ScaleSettingsArgs;
import com.pulumi.azurenative.batch.inputs.AutoScaleSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var pool = new Pool("pool", PoolArgs.builder()
.accountName("sampleacct")
.deploymentConfiguration(DeploymentConfigurationArgs.builder()
.virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
.extensions(VMExtensionArgs.builder()
.autoUpgradeMinorVersion(true)
.enableAutomaticUpgrade(true)
.name("batchextension1")
.publisher("Microsoft.Azure.KeyVault")
.settings(Map.ofEntries(
Map.entry("authenticationSettingsKey", "authenticationSettingsValue"),
Map.entry("secretsManagementSettingsKey", "secretsManagementSettingsValue")
))
.type("KeyVaultForLinux")
.typeHandlerVersion("2.0")
.build())
.imageReference(ImageReferenceArgs.builder()
.offer("0001-com-ubuntu-server-focal")
.publisher("Canonical")
.sku("20_04-lts")
.build())
.nodeAgentSkuId("batch.node.ubuntu 20.04")
.build())
.build())
.poolName("testpool")
.resourceGroupName("default-azurebatch-japaneast")
.scaleSettings(ScaleSettingsArgs.builder()
.autoScale(AutoScaleSettingsArgs.builder()
.evaluationInterval("PT5M")
.formula("$TargetDedicatedNodes=1")
.build())
.build())
.targetNodeCommunicationMode("Default")
.vmSize("STANDARD_D4")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const pool = new azure_native.batch.Pool("pool", {
accountName: "sampleacct",
deploymentConfiguration: {
virtualMachineConfiguration: {
extensions: [{
autoUpgradeMinorVersion: true,
enableAutomaticUpgrade: true,
name: "batchextension1",
publisher: "Microsoft.Azure.KeyVault",
settings: {
authenticationSettingsKey: "authenticationSettingsValue",
secretsManagementSettingsKey: "secretsManagementSettingsValue",
},
type: "KeyVaultForLinux",
typeHandlerVersion: "2.0",
}],
imageReference: {
offer: "0001-com-ubuntu-server-focal",
publisher: "Canonical",
sku: "20_04-lts",
},
nodeAgentSkuId: "batch.node.ubuntu 20.04",
},
},
poolName: "testpool",
resourceGroupName: "default-azurebatch-japaneast",
scaleSettings: {
autoScale: {
evaluationInterval: "PT5M",
formula: "$TargetDedicatedNodes=1",
},
},
targetNodeCommunicationMode: azure_native.batch.NodeCommunicationMode.Default,
vmSize: "STANDARD_D4",
});
import pulumi
import pulumi_azure_native as azure_native
pool = azure_native.batch.Pool("pool",
account_name="sampleacct",
deployment_configuration={
"virtual_machine_configuration": {
"extensions": [{
"auto_upgrade_minor_version": True,
"enable_automatic_upgrade": True,
"name": "batchextension1",
"publisher": "Microsoft.Azure.KeyVault",
"settings": {
"authenticationSettingsKey": "authenticationSettingsValue",
"secretsManagementSettingsKey": "secretsManagementSettingsValue",
},
"type": "KeyVaultForLinux",
"type_handler_version": "2.0",
}],
"image_reference": {
"offer": "0001-com-ubuntu-server-focal",
"publisher": "Canonical",
"sku": "20_04-lts",
},
"node_agent_sku_id": "batch.node.ubuntu 20.04",
},
},
pool_name="testpool",
resource_group_name="default-azurebatch-japaneast",
scale_settings={
"auto_scale": {
"evaluation_interval": "PT5M",
"formula": "$TargetDedicatedNodes=1",
},
},
target_node_communication_mode=azure_native.batch.NodeCommunicationMode.DEFAULT,
vm_size="STANDARD_D4")
resources:
pool:
type: azure-native:batch:Pool
properties:
accountName: sampleacct
deploymentConfiguration:
virtualMachineConfiguration:
extensions:
- autoUpgradeMinorVersion: true
enableAutomaticUpgrade: true
name: batchextension1
publisher: Microsoft.Azure.KeyVault
settings:
authenticationSettingsKey: authenticationSettingsValue
secretsManagementSettingsKey: secretsManagementSettingsValue
type: KeyVaultForLinux
typeHandlerVersion: '2.0'
imageReference:
offer: 0001-com-ubuntu-server-focal
publisher: Canonical
sku: 20_04-lts
nodeAgentSkuId: batch.node.ubuntu 20.04
poolName: testpool
resourceGroupName: default-azurebatch-japaneast
scaleSettings:
autoScale:
evaluationInterval: PT5M
formula: $TargetDedicatedNodes=1
targetNodeCommunicationMode: Default
vmSize: STANDARD_D4
CreatePool - VirtualMachineConfiguration OSDisk
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var pool = new AzureNative.Batch.Pool("pool", new()
{
AccountName = "sampleacct",
DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
{
VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
{
ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
{
Offer = "windowsserver",
Publisher = "microsoftwindowsserver",
Sku = "2022-datacenter-smalldisk",
},
NodeAgentSkuId = "batch.node.windows amd64",
OsDisk = new AzureNative.Batch.Inputs.OSDiskArgs
{
Caching = AzureNative.Batch.CachingType.ReadWrite,
DiskSizeGB = 100,
ManagedDisk = new AzureNative.Batch.Inputs.ManagedDiskArgs
{
StorageAccountType = AzureNative.Batch.StorageAccountType.StandardSSD_LRS,
},
WriteAcceleratorEnabled = false,
},
},
},
PoolName = "testpool",
ResourceGroupName = "default-azurebatch-japaneast",
ScaleSettings = new AzureNative.Batch.Inputs.ScaleSettingsArgs
{
FixedScale = new AzureNative.Batch.Inputs.FixedScaleSettingsArgs
{
TargetDedicatedNodes = 1,
TargetLowPriorityNodes = 0,
},
},
VmSize = "Standard_d2s_v3",
});
});
package main
import (
batch "github.com/pulumi/pulumi-azure-native-sdk/batch/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := batch.NewPool(ctx, "pool", &batch.PoolArgs{
AccountName: pulumi.String("sampleacct"),
DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
ImageReference: &batch.ImageReferenceArgs{
Offer: pulumi.String("windowsserver"),
Publisher: pulumi.String("microsoftwindowsserver"),
Sku: pulumi.String("2022-datacenter-smalldisk"),
},
NodeAgentSkuId: pulumi.String("batch.node.windows amd64"),
OsDisk: &batch.OSDiskArgs{
Caching: batch.CachingTypeReadWrite,
DiskSizeGB: pulumi.Int(100),
ManagedDisk: &batch.ManagedDiskArgs{
StorageAccountType: batch.StorageAccountType_StandardSSD_LRS,
},
WriteAcceleratorEnabled: pulumi.Bool(false),
},
},
},
PoolName: pulumi.String("testpool"),
ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
ScaleSettings: &batch.ScaleSettingsArgs{
FixedScale: &batch.FixedScaleSettingsArgs{
TargetDedicatedNodes: pulumi.Int(1),
TargetLowPriorityNodes: pulumi.Int(0),
},
},
VmSize: pulumi.String("Standard_d2s_v3"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.batch.Pool;
import com.pulumi.azurenative.batch.PoolArgs;
import com.pulumi.azurenative.batch.inputs.DeploymentConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.VirtualMachineConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.batch.inputs.OSDiskArgs;
import com.pulumi.azurenative.batch.inputs.ManagedDiskArgs;
import com.pulumi.azurenative.batch.inputs.ScaleSettingsArgs;
import com.pulumi.azurenative.batch.inputs.FixedScaleSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var pool = new Pool("pool", PoolArgs.builder()
.accountName("sampleacct")
.deploymentConfiguration(DeploymentConfigurationArgs.builder()
.virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
.imageReference(ImageReferenceArgs.builder()
.offer("windowsserver")
.publisher("microsoftwindowsserver")
.sku("2022-datacenter-smalldisk")
.build())
.nodeAgentSkuId("batch.node.windows amd64")
.osDisk(OSDiskArgs.builder()
.caching("ReadWrite")
.diskSizeGB(100)
.managedDisk(ManagedDiskArgs.builder()
.storageAccountType("StandardSSD_LRS")
.build())
.writeAcceleratorEnabled(false)
.build())
.build())
.build())
.poolName("testpool")
.resourceGroupName("default-azurebatch-japaneast")
.scaleSettings(ScaleSettingsArgs.builder()
.fixedScale(FixedScaleSettingsArgs.builder()
.targetDedicatedNodes(1)
.targetLowPriorityNodes(0)
.build())
.build())
.vmSize("Standard_d2s_v3")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const pool = new azure_native.batch.Pool("pool", {
accountName: "sampleacct",
deploymentConfiguration: {
virtualMachineConfiguration: {
imageReference: {
offer: "windowsserver",
publisher: "microsoftwindowsserver",
sku: "2022-datacenter-smalldisk",
},
nodeAgentSkuId: "batch.node.windows amd64",
osDisk: {
caching: azure_native.batch.CachingType.ReadWrite,
diskSizeGB: 100,
managedDisk: {
storageAccountType: azure_native.batch.StorageAccountType.StandardSSD_LRS,
},
writeAcceleratorEnabled: false,
},
},
},
poolName: "testpool",
resourceGroupName: "default-azurebatch-japaneast",
scaleSettings: {
fixedScale: {
targetDedicatedNodes: 1,
targetLowPriorityNodes: 0,
},
},
vmSize: "Standard_d2s_v3",
});
import pulumi
import pulumi_azure_native as azure_native
pool = azure_native.batch.Pool("pool",
account_name="sampleacct",
deployment_configuration={
"virtual_machine_configuration": {
"image_reference": {
"offer": "windowsserver",
"publisher": "microsoftwindowsserver",
"sku": "2022-datacenter-smalldisk",
},
"node_agent_sku_id": "batch.node.windows amd64",
"os_disk": {
"caching": azure_native.batch.CachingType.READ_WRITE,
"disk_size_gb": 100,
"managed_disk": {
"storage_account_type": azure_native.batch.StorageAccountType.STANDARD_SS_D_LRS,
},
"write_accelerator_enabled": False,
},
},
},
pool_name="testpool",
resource_group_name="default-azurebatch-japaneast",
scale_settings={
"fixed_scale": {
"target_dedicated_nodes": 1,
"target_low_priority_nodes": 0,
},
},
vm_size="Standard_d2s_v3")
resources:
pool:
type: azure-native:batch:Pool
properties:
accountName: sampleacct
deploymentConfiguration:
virtualMachineConfiguration:
imageReference:
offer: windowsserver
publisher: microsoftwindowsserver
sku: 2022-datacenter-smalldisk
nodeAgentSkuId: batch.node.windows amd64
osDisk:
caching: ReadWrite
diskSizeGB: 100
managedDisk:
storageAccountType: StandardSSD_LRS
writeAcceleratorEnabled: false
poolName: testpool
resourceGroupName: default-azurebatch-japaneast
scaleSettings:
fixedScale:
targetDedicatedNodes: 1
targetLowPriorityNodes: 0
vmSize: Standard_d2s_v3
CreatePool - VirtualMachineConfiguration ServiceArtifactReference
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var pool = new AzureNative.Batch.Pool("pool", new()
{
AccountName = "sampleacct",
DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
{
VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
{
ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
{
Offer = "WindowsServer",
Publisher = "MicrosoftWindowsServer",
Sku = "2019-datacenter-smalldisk",
Version = "latest",
},
NodeAgentSkuId = "batch.node.windows amd64",
ServiceArtifactReference = new AzureNative.Batch.Inputs.ServiceArtifactReferenceArgs
{
Id = "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Compute/galleries/myGallery/serviceArtifacts/myServiceArtifact/vmArtifactsProfiles/vmArtifactsProfile",
},
WindowsConfiguration = new AzureNative.Batch.Inputs.WindowsConfigurationArgs
{
EnableAutomaticUpdates = false,
},
},
},
PoolName = "testpool",
ResourceGroupName = "default-azurebatch-japaneast",
ScaleSettings = new AzureNative.Batch.Inputs.ScaleSettingsArgs
{
FixedScale = new AzureNative.Batch.Inputs.FixedScaleSettingsArgs
{
TargetDedicatedNodes = 2,
TargetLowPriorityNodes = 0,
},
},
UpgradePolicy = new AzureNative.Batch.Inputs.UpgradePolicyArgs
{
AutomaticOSUpgradePolicy = new AzureNative.Batch.Inputs.AutomaticOSUpgradePolicyArgs
{
EnableAutomaticOSUpgrade = true,
},
Mode = AzureNative.Batch.UpgradeMode.Automatic,
},
VmSize = "Standard_d4s_v3",
});
});
package main
import (
batch "github.com/pulumi/pulumi-azure-native-sdk/batch/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := batch.NewPool(ctx, "pool", &batch.PoolArgs{
AccountName: pulumi.String("sampleacct"),
DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
ImageReference: &batch.ImageReferenceArgs{
Offer: pulumi.String("WindowsServer"),
Publisher: pulumi.String("MicrosoftWindowsServer"),
Sku: pulumi.String("2019-datacenter-smalldisk"),
Version: pulumi.String("latest"),
},
NodeAgentSkuId: pulumi.String("batch.node.windows amd64"),
ServiceArtifactReference: &batch.ServiceArtifactReferenceArgs{
Id: pulumi.String("/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Compute/galleries/myGallery/serviceArtifacts/myServiceArtifact/vmArtifactsProfiles/vmArtifactsProfile"),
},
WindowsConfiguration: &batch.WindowsConfigurationArgs{
EnableAutomaticUpdates: pulumi.Bool(false),
},
},
},
PoolName: pulumi.String("testpool"),
ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
ScaleSettings: &batch.ScaleSettingsArgs{
FixedScale: &batch.FixedScaleSettingsArgs{
TargetDedicatedNodes: pulumi.Int(2),
TargetLowPriorityNodes: pulumi.Int(0),
},
},
UpgradePolicy: &batch.UpgradePolicyArgs{
AutomaticOSUpgradePolicy: &batch.AutomaticOSUpgradePolicyArgs{
EnableAutomaticOSUpgrade: pulumi.Bool(true),
},
Mode: batch.UpgradeModeAutomatic,
},
VmSize: pulumi.String("Standard_d4s_v3"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.batch.Pool;
import com.pulumi.azurenative.batch.PoolArgs;
import com.pulumi.azurenative.batch.inputs.DeploymentConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.VirtualMachineConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.batch.inputs.ServiceArtifactReferenceArgs;
import com.pulumi.azurenative.batch.inputs.WindowsConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ScaleSettingsArgs;
import com.pulumi.azurenative.batch.inputs.FixedScaleSettingsArgs;
import com.pulumi.azurenative.batch.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.batch.inputs.AutomaticOSUpgradePolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var pool = new Pool("pool", PoolArgs.builder()
.accountName("sampleacct")
.deploymentConfiguration(DeploymentConfigurationArgs.builder()
.virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
.imageReference(ImageReferenceArgs.builder()
.offer("WindowsServer")
.publisher("MicrosoftWindowsServer")
.sku("2019-datacenter-smalldisk")
.version("latest")
.build())
.nodeAgentSkuId("batch.node.windows amd64")
.serviceArtifactReference(ServiceArtifactReferenceArgs.builder()
.id("/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Compute/galleries/myGallery/serviceArtifacts/myServiceArtifact/vmArtifactsProfiles/vmArtifactsProfile")
.build())
.windowsConfiguration(WindowsConfigurationArgs.builder()
.enableAutomaticUpdates(false)
.build())
.build())
.build())
.poolName("testpool")
.resourceGroupName("default-azurebatch-japaneast")
.scaleSettings(ScaleSettingsArgs.builder()
.fixedScale(FixedScaleSettingsArgs.builder()
.targetDedicatedNodes(2)
.targetLowPriorityNodes(0)
.build())
.build())
.upgradePolicy(UpgradePolicyArgs.builder()
.automaticOSUpgradePolicy(AutomaticOSUpgradePolicyArgs.builder()
.enableAutomaticOSUpgrade(true)
.build())
.mode("automatic")
.build())
.vmSize("Standard_d4s_v3")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const pool = new azure_native.batch.Pool("pool", {
accountName: "sampleacct",
deploymentConfiguration: {
virtualMachineConfiguration: {
imageReference: {
offer: "WindowsServer",
publisher: "MicrosoftWindowsServer",
sku: "2019-datacenter-smalldisk",
version: "latest",
},
nodeAgentSkuId: "batch.node.windows amd64",
serviceArtifactReference: {
id: "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Compute/galleries/myGallery/serviceArtifacts/myServiceArtifact/vmArtifactsProfiles/vmArtifactsProfile",
},
windowsConfiguration: {
enableAutomaticUpdates: false,
},
},
},
poolName: "testpool",
resourceGroupName: "default-azurebatch-japaneast",
scaleSettings: {
fixedScale: {
targetDedicatedNodes: 2,
targetLowPriorityNodes: 0,
},
},
upgradePolicy: {
automaticOSUpgradePolicy: {
enableAutomaticOSUpgrade: true,
},
mode: azure_native.batch.UpgradeMode.Automatic,
},
vmSize: "Standard_d4s_v3",
});
import pulumi
import pulumi_azure_native as azure_native
pool = azure_native.batch.Pool("pool",
account_name="sampleacct",
deployment_configuration={
"virtual_machine_configuration": {
"image_reference": {
"offer": "WindowsServer",
"publisher": "MicrosoftWindowsServer",
"sku": "2019-datacenter-smalldisk",
"version": "latest",
},
"node_agent_sku_id": "batch.node.windows amd64",
"service_artifact_reference": {
"id": "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Compute/galleries/myGallery/serviceArtifacts/myServiceArtifact/vmArtifactsProfiles/vmArtifactsProfile",
},
"windows_configuration": {
"enable_automatic_updates": False,
},
},
},
pool_name="testpool",
resource_group_name="default-azurebatch-japaneast",
scale_settings={
"fixed_scale": {
"target_dedicated_nodes": 2,
"target_low_priority_nodes": 0,
},
},
upgrade_policy={
"automatic_os_upgrade_policy": {
"enable_automatic_os_upgrade": True,
},
"mode": azure_native.batch.UpgradeMode.AUTOMATIC,
},
vm_size="Standard_d4s_v3")
resources:
pool:
type: azure-native:batch:Pool
properties:
accountName: sampleacct
deploymentConfiguration:
virtualMachineConfiguration:
imageReference:
offer: WindowsServer
publisher: MicrosoftWindowsServer
sku: 2019-datacenter-smalldisk
version: latest
nodeAgentSkuId: batch.node.windows amd64
serviceArtifactReference:
id: /subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Compute/galleries/myGallery/serviceArtifacts/myServiceArtifact/vmArtifactsProfiles/vmArtifactsProfile
windowsConfiguration:
enableAutomaticUpdates: false
poolName: testpool
resourceGroupName: default-azurebatch-japaneast
scaleSettings:
fixedScale:
targetDedicatedNodes: 2
targetLowPriorityNodes: 0
upgradePolicy:
automaticOSUpgradePolicy:
enableAutomaticOSUpgrade: true
mode: automatic
vmSize: Standard_d4s_v3
CreatePool - accelerated networking
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var pool = new AzureNative.Batch.Pool("pool", new()
{
AccountName = "sampleacct",
DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
{
VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
{
ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
{
Offer = "WindowsServer",
Publisher = "MicrosoftWindowsServer",
Sku = "2016-datacenter-smalldisk",
Version = "latest",
},
NodeAgentSkuId = "batch.node.windows amd64",
},
},
NetworkConfiguration = new AzureNative.Batch.Inputs.NetworkConfigurationArgs
{
EnableAcceleratedNetworking = true,
SubnetId = "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123",
},
PoolName = "testpool",
ResourceGroupName = "default-azurebatch-japaneast",
ScaleSettings = new AzureNative.Batch.Inputs.ScaleSettingsArgs
{
FixedScale = new AzureNative.Batch.Inputs.FixedScaleSettingsArgs
{
TargetDedicatedNodes = 1,
TargetLowPriorityNodes = 0,
},
},
VmSize = "STANDARD_D1_V2",
});
});
package main
import (
batch "github.com/pulumi/pulumi-azure-native-sdk/batch/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := batch.NewPool(ctx, "pool", &batch.PoolArgs{
AccountName: pulumi.String("sampleacct"),
DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
ImageReference: &batch.ImageReferenceArgs{
Offer: pulumi.String("WindowsServer"),
Publisher: pulumi.String("MicrosoftWindowsServer"),
Sku: pulumi.String("2016-datacenter-smalldisk"),
Version: pulumi.String("latest"),
},
NodeAgentSkuId: pulumi.String("batch.node.windows amd64"),
},
},
NetworkConfiguration: &batch.NetworkConfigurationArgs{
EnableAcceleratedNetworking: pulumi.Bool(true),
SubnetId: pulumi.String("/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123"),
},
PoolName: pulumi.String("testpool"),
ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
ScaleSettings: &batch.ScaleSettingsArgs{
FixedScale: &batch.FixedScaleSettingsArgs{
TargetDedicatedNodes: pulumi.Int(1),
TargetLowPriorityNodes: pulumi.Int(0),
},
},
VmSize: pulumi.String("STANDARD_D1_V2"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.batch.Pool;
import com.pulumi.azurenative.batch.PoolArgs;
import com.pulumi.azurenative.batch.inputs.DeploymentConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.VirtualMachineConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.batch.inputs.NetworkConfigurationArgs;
import com.pulumi.azurenative.batch.inputs.ScaleSettingsArgs;
import com.pulumi.azurenative.batch.inputs.FixedScaleSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var pool = new Pool("pool", PoolArgs.builder()
.accountName("sampleacct")
.deploymentConfiguration(DeploymentConfigurationArgs.builder()
.virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
.imageReference(ImageReferenceArgs.builder()
.offer("WindowsServer")
.publisher("MicrosoftWindowsServer")
.sku("2016-datacenter-smalldisk")
.version("latest")
.build())
.nodeAgentSkuId("batch.node.windows amd64")
.build())
.build())
.networkConfiguration(NetworkConfigurationArgs.builder()
.enableAcceleratedNetworking(true)
.subnetId("/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123")
.build())
.poolName("testpool")
.resourceGroupName("default-azurebatch-japaneast")
.scaleSettings(ScaleSettingsArgs.builder()
.fixedScale(FixedScaleSettingsArgs.builder()
.targetDedicatedNodes(1)
.targetLowPriorityNodes(0)
.build())
.build())
.vmSize("STANDARD_D1_V2")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const pool = new azure_native.batch.Pool("pool", {
accountName: "sampleacct",
deploymentConfiguration: {
virtualMachineConfiguration: {
imageReference: {
offer: "WindowsServer",
publisher: "MicrosoftWindowsServer",
sku: "2016-datacenter-smalldisk",
version: "latest",
},
nodeAgentSkuId: "batch.node.windows amd64",
},
},
networkConfiguration: {
enableAcceleratedNetworking: true,
subnetId: "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123",
},
poolName: "testpool",
resourceGroupName: "default-azurebatch-japaneast",
scaleSettings: {
fixedScale: {
targetDedicatedNodes: 1,
targetLowPriorityNodes: 0,
},
},
vmSize: "STANDARD_D1_V2",
});
import pulumi
import pulumi_azure_native as azure_native
pool = azure_native.batch.Pool("pool",
account_name="sampleacct",
deployment_configuration={
"virtual_machine_configuration": {
"image_reference": {
"offer": "WindowsServer",
"publisher": "MicrosoftWindowsServer",
"sku": "2016-datacenter-smalldisk",
"version": "latest",
},
"node_agent_sku_id": "batch.node.windows amd64",
},
},
network_configuration={
"enable_accelerated_networking": True,
"subnet_id": "/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123",
},
pool_name="testpool",
resource_group_name="default-azurebatch-japaneast",
scale_settings={
"fixed_scale": {
"target_dedicated_nodes": 1,
"target_low_priority_nodes": 0,
},
},
vm_size="STANDARD_D1_V2")
resources:
pool:
type: azure-native:batch:Pool
properties:
accountName: sampleacct
deploymentConfiguration:
virtualMachineConfiguration:
imageReference:
offer: WindowsServer
publisher: MicrosoftWindowsServer
sku: 2016-datacenter-smalldisk
version: latest
nodeAgentSkuId: batch.node.windows amd64
networkConfiguration:
enableAcceleratedNetworking: true
subnetId: /subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123
poolName: testpool
resourceGroupName: default-azurebatch-japaneast
scaleSettings:
fixedScale:
targetDedicatedNodes: 1
targetLowPriorityNodes: 0
vmSize: STANDARD_D1_V2
Create Pool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Pool(name: string, args: PoolArgs, opts?: CustomResourceOptions);@overload
def Pool(resource_name: str,
args: PoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Pool(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
network_configuration: Optional[NetworkConfigurationArgs] = None,
resource_tags: Optional[Mapping[str, str]] = None,
deployment_configuration: Optional[DeploymentConfigurationArgs] = None,
display_name: Optional[str] = None,
identity: Optional[BatchPoolIdentityArgs] = None,
inter_node_communication: Optional[InterNodeCommunicationState] = None,
metadata: Optional[Sequence[MetadataItemArgs]] = None,
mount_configuration: Optional[Sequence[MountConfigurationArgs]] = None,
application_packages: Optional[Sequence[ApplicationPackageReferenceArgs]] = None,
pool_name: Optional[str] = None,
application_licenses: Optional[Sequence[str]] = None,
certificates: Optional[Sequence[CertificateReferenceArgs]] = None,
scale_settings: Optional[ScaleSettingsArgs] = None,
start_task: Optional[StartTaskArgs] = None,
tags: Optional[Mapping[str, str]] = None,
target_node_communication_mode: Optional[NodeCommunicationMode] = None,
task_scheduling_policy: Optional[TaskSchedulingPolicyArgs] = None,
task_slots_per_node: Optional[int] = None,
upgrade_policy: Optional[UpgradePolicyArgs] = None,
user_accounts: Optional[Sequence[UserAccountArgs]] = None,
vm_size: Optional[str] = None)func NewPool(ctx *Context, name string, args PoolArgs, opts ...ResourceOption) (*Pool, error)public Pool(string name, PoolArgs args, CustomResourceOptions? opts = null)type: azure-native:batch:Pool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var poolResource = new AzureNative.Batch.Pool("poolResource", new()
{
AccountName = "string",
ResourceGroupName = "string",
NetworkConfiguration = new AzureNative.Batch.Inputs.NetworkConfigurationArgs
{
DynamicVnetAssignmentScope = AzureNative.Batch.DynamicVNetAssignmentScope.None,
EnableAcceleratedNetworking = false,
EndpointConfiguration = new AzureNative.Batch.Inputs.PoolEndpointConfigurationArgs
{
InboundNatPools = new[]
{
new AzureNative.Batch.Inputs.InboundNatPoolArgs
{
BackendPort = 0,
FrontendPortRangeEnd = 0,
FrontendPortRangeStart = 0,
Name = "string",
Protocol = AzureNative.Batch.InboundEndpointProtocol.TCP,
NetworkSecurityGroupRules = new[]
{
new AzureNative.Batch.Inputs.NetworkSecurityGroupRuleArgs
{
Access = AzureNative.Batch.NetworkSecurityGroupRuleAccess.Allow,
Priority = 0,
SourceAddressPrefix = "string",
SourcePortRanges = new[]
{
"string",
},
},
},
},
},
},
PublicIPAddressConfiguration = new AzureNative.Batch.Inputs.PublicIPAddressConfigurationArgs
{
IpAddressIds = new[]
{
"string",
},
Provision = AzureNative.Batch.IPAddressProvisioningType.BatchManaged,
},
SubnetId = "string",
},
ResourceTags =
{
{ "string", "string" },
},
DeploymentConfiguration = new AzureNative.Batch.Inputs.DeploymentConfigurationArgs
{
VirtualMachineConfiguration = new AzureNative.Batch.Inputs.VirtualMachineConfigurationArgs
{
ImageReference = new AzureNative.Batch.Inputs.ImageReferenceArgs
{
CommunityGalleryImageId = "string",
Id = "string",
Offer = "string",
Publisher = "string",
SharedGalleryImageId = "string",
Sku = "string",
Version = "string",
},
NodeAgentSkuId = "string",
ContainerConfiguration = new AzureNative.Batch.Inputs.ContainerConfigurationArgs
{
Type = "string",
ContainerImageNames = new[]
{
"string",
},
ContainerRegistries = new[]
{
new AzureNative.Batch.Inputs.ContainerRegistryArgs
{
IdentityReference = new AzureNative.Batch.Inputs.ComputeNodeIdentityReferenceArgs
{
ResourceId = "string",
},
Password = "string",
RegistryServer = "string",
UserName = "string",
},
},
},
DataDisks = new[]
{
new AzureNative.Batch.Inputs.DataDiskArgs
{
DiskSizeGB = 0,
Lun = 0,
Caching = AzureNative.Batch.CachingType.None,
StorageAccountType = AzureNative.Batch.StorageAccountType.Standard_LRS,
},
},
DiskEncryptionConfiguration = new AzureNative.Batch.Inputs.DiskEncryptionConfigurationArgs
{
Targets = new[]
{
AzureNative.Batch.DiskEncryptionTarget.OsDisk,
},
},
Extensions = new[]
{
new AzureNative.Batch.Inputs.VMExtensionArgs
{
Name = "string",
Publisher = "string",
Type = "string",
AutoUpgradeMinorVersion = false,
EnableAutomaticUpgrade = false,
ProtectedSettings = "any",
ProvisionAfterExtensions = new[]
{
"string",
},
Settings = "any",
TypeHandlerVersion = "string",
},
},
LicenseType = "string",
NodePlacementConfiguration = new AzureNative.Batch.Inputs.NodePlacementConfigurationArgs
{
Policy = AzureNative.Batch.NodePlacementPolicyType.Regional,
},
OsDisk = new AzureNative.Batch.Inputs.OSDiskArgs
{
Caching = AzureNative.Batch.CachingType.None,
DiskSizeGB = 0,
EphemeralOSDiskSettings = new AzureNative.Batch.Inputs.DiffDiskSettingsArgs
{
Placement = AzureNative.Batch.DiffDiskPlacement.CacheDisk,
},
ManagedDisk = new AzureNative.Batch.Inputs.ManagedDiskArgs
{
SecurityProfile = new AzureNative.Batch.Inputs.VMDiskSecurityProfileArgs
{
SecurityEncryptionType = "string",
},
StorageAccountType = AzureNative.Batch.StorageAccountType.Standard_LRS,
},
WriteAcceleratorEnabled = false,
},
SecurityProfile = new AzureNative.Batch.Inputs.SecurityProfileArgs
{
EncryptionAtHost = false,
SecurityType = AzureNative.Batch.SecurityTypes.TrustedLaunch,
UefiSettings = new AzureNative.Batch.Inputs.UefiSettingsArgs
{
SecureBootEnabled = false,
VTpmEnabled = false,
},
},
ServiceArtifactReference = new AzureNative.Batch.Inputs.ServiceArtifactReferenceArgs
{
Id = "string",
},
WindowsConfiguration = new AzureNative.Batch.Inputs.WindowsConfigurationArgs
{
EnableAutomaticUpdates = false,
},
},
},
DisplayName = "string",
Identity = new AzureNative.Batch.Inputs.BatchPoolIdentityArgs
{
Type = AzureNative.Batch.PoolIdentityType.UserAssigned,
UserAssignedIdentities = new[]
{
"string",
},
},
InterNodeCommunication = AzureNative.Batch.InterNodeCommunicationState.Enabled,
Metadata = new[]
{
new AzureNative.Batch.Inputs.MetadataItemArgs
{
Name = "string",
Value = "string",
},
},
MountConfiguration = new[]
{
new AzureNative.Batch.Inputs.MountConfigurationArgs
{
AzureBlobFileSystemConfiguration = new AzureNative.Batch.Inputs.AzureBlobFileSystemConfigurationArgs
{
AccountName = "string",
ContainerName = "string",
RelativeMountPath = "string",
AccountKey = "string",
BlobfuseOptions = "string",
IdentityReference = new AzureNative.Batch.Inputs.ComputeNodeIdentityReferenceArgs
{
ResourceId = "string",
},
SasKey = "string",
},
AzureFileShareConfiguration = new AzureNative.Batch.Inputs.AzureFileShareConfigurationArgs
{
AccountKey = "string",
AccountName = "string",
AzureFileUrl = "string",
RelativeMountPath = "string",
MountOptions = "string",
},
CifsMountConfiguration = new AzureNative.Batch.Inputs.CIFSMountConfigurationArgs
{
Password = "string",
RelativeMountPath = "string",
Source = "string",
UserName = "string",
MountOptions = "string",
},
NfsMountConfiguration = new AzureNative.Batch.Inputs.NFSMountConfigurationArgs
{
RelativeMountPath = "string",
Source = "string",
MountOptions = "string",
},
},
},
ApplicationPackages = new[]
{
new AzureNative.Batch.Inputs.ApplicationPackageReferenceArgs
{
Id = "string",
Version = "string",
},
},
PoolName = "string",
ApplicationLicenses = new[]
{
"string",
},
Certificates = new[]
{
new AzureNative.Batch.Inputs.CertificateReferenceArgs
{
Id = "string",
StoreLocation = AzureNative.Batch.CertificateStoreLocation.CurrentUser,
StoreName = "string",
Visibility = new[]
{
AzureNative.Batch.CertificateVisibility.StartTask,
},
},
},
ScaleSettings = new AzureNative.Batch.Inputs.ScaleSettingsArgs
{
AutoScale = new AzureNative.Batch.Inputs.AutoScaleSettingsArgs
{
Formula = "string",
EvaluationInterval = "string",
},
FixedScale = new AzureNative.Batch.Inputs.FixedScaleSettingsArgs
{
NodeDeallocationOption = AzureNative.Batch.ComputeNodeDeallocationOption.Requeue,
ResizeTimeout = "string",
TargetDedicatedNodes = 0,
TargetLowPriorityNodes = 0,
},
},
StartTask = new AzureNative.Batch.Inputs.StartTaskArgs
{
CommandLine = "string",
ContainerSettings = new AzureNative.Batch.Inputs.TaskContainerSettingsArgs
{
ImageName = "string",
ContainerHostBatchBindMounts = new[]
{
new AzureNative.Batch.Inputs.ContainerHostBatchBindMountEntryArgs
{
IsReadOnly = false,
Source = "string",
},
},
ContainerRunOptions = "string",
Registry = new AzureNative.Batch.Inputs.ContainerRegistryArgs
{
IdentityReference = new AzureNative.Batch.Inputs.ComputeNodeIdentityReferenceArgs
{
ResourceId = "string",
},
Password = "string",
RegistryServer = "string",
UserName = "string",
},
WorkingDirectory = AzureNative.Batch.ContainerWorkingDirectory.TaskWorkingDirectory,
},
EnvironmentSettings = new[]
{
new AzureNative.Batch.Inputs.EnvironmentSettingArgs
{
Name = "string",
Value = "string",
},
},
MaxTaskRetryCount = 0,
ResourceFiles = new[]
{
new AzureNative.Batch.Inputs.ResourceFileArgs
{
AutoStorageContainerName = "string",
BlobPrefix = "string",
FileMode = "string",
FilePath = "string",
HttpUrl = "string",
IdentityReference = new AzureNative.Batch.Inputs.ComputeNodeIdentityReferenceArgs
{
ResourceId = "string",
},
StorageContainerUrl = "string",
},
},
UserIdentity = new AzureNative.Batch.Inputs.UserIdentityArgs
{
AutoUser = new AzureNative.Batch.Inputs.AutoUserSpecificationArgs
{
ElevationLevel = AzureNative.Batch.ElevationLevel.NonAdmin,
Scope = AzureNative.Batch.AutoUserScope.Task,
},
UserName = "string",
},
WaitForSuccess = false,
},
Tags =
{
{ "string", "string" },
},
TargetNodeCommunicationMode = AzureNative.Batch.NodeCommunicationMode.Default,
TaskSchedulingPolicy = new AzureNative.Batch.Inputs.TaskSchedulingPolicyArgs
{
NodeFillType = AzureNative.Batch.ComputeNodeFillType.Spread,
},
TaskSlotsPerNode = 0,
UpgradePolicy = new AzureNative.Batch.Inputs.UpgradePolicyArgs
{
Mode = AzureNative.Batch.UpgradeMode.Automatic,
AutomaticOSUpgradePolicy = new AzureNative.Batch.Inputs.AutomaticOSUpgradePolicyArgs
{
DisableAutomaticRollback = false,
EnableAutomaticOSUpgrade = false,
OsRollingUpgradeDeferral = false,
UseRollingUpgradePolicy = false,
},
RollingUpgradePolicy = new AzureNative.Batch.Inputs.RollingUpgradePolicyArgs
{
EnableCrossZoneUpgrade = false,
MaxBatchInstancePercent = 0,
MaxUnhealthyInstancePercent = 0,
MaxUnhealthyUpgradedInstancePercent = 0,
PauseTimeBetweenBatches = "string",
PrioritizeUnhealthyInstances = false,
RollbackFailedInstancesOnPolicyBreach = false,
},
},
UserAccounts = new[]
{
new AzureNative.Batch.Inputs.UserAccountArgs
{
Name = "string",
Password = "string",
ElevationLevel = AzureNative.Batch.ElevationLevel.NonAdmin,
LinuxUserConfiguration = new AzureNative.Batch.Inputs.LinuxUserConfigurationArgs
{
Gid = 0,
SshPrivateKey = "string",
Uid = 0,
},
WindowsUserConfiguration = new AzureNative.Batch.Inputs.WindowsUserConfigurationArgs
{
LoginMode = AzureNative.Batch.LoginMode.Batch,
},
},
},
VmSize = "string",
});
example, err := batch.NewPool(ctx, "poolResource", &batch.PoolArgs{
AccountName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
NetworkConfiguration: &batch.NetworkConfigurationArgs{
DynamicVnetAssignmentScope: batch.DynamicVNetAssignmentScopeNone,
EnableAcceleratedNetworking: pulumi.Bool(false),
EndpointConfiguration: &batch.PoolEndpointConfigurationArgs{
InboundNatPools: batch.InboundNatPoolArray{
&batch.InboundNatPoolArgs{
BackendPort: pulumi.Int(0),
FrontendPortRangeEnd: pulumi.Int(0),
FrontendPortRangeStart: pulumi.Int(0),
Name: pulumi.String("string"),
Protocol: batch.InboundEndpointProtocolTCP,
NetworkSecurityGroupRules: batch.NetworkSecurityGroupRuleArray{
&batch.NetworkSecurityGroupRuleArgs{
Access: batch.NetworkSecurityGroupRuleAccessAllow,
Priority: pulumi.Int(0),
SourceAddressPrefix: pulumi.String("string"),
SourcePortRanges: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
},
},
PublicIPAddressConfiguration: &batch.PublicIPAddressConfigurationArgs{
IpAddressIds: pulumi.StringArray{
pulumi.String("string"),
},
Provision: batch.IPAddressProvisioningTypeBatchManaged,
},
SubnetId: pulumi.String("string"),
},
ResourceTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DeploymentConfiguration: &batch.DeploymentConfigurationArgs{
VirtualMachineConfiguration: &batch.VirtualMachineConfigurationArgs{
ImageReference: &batch.ImageReferenceArgs{
CommunityGalleryImageId: pulumi.String("string"),
Id: pulumi.String("string"),
Offer: pulumi.String("string"),
Publisher: pulumi.String("string"),
SharedGalleryImageId: pulumi.String("string"),
Sku: pulumi.String("string"),
Version: pulumi.String("string"),
},
NodeAgentSkuId: pulumi.String("string"),
ContainerConfiguration: &batch.ContainerConfigurationArgs{
Type: pulumi.String("string"),
ContainerImageNames: pulumi.StringArray{
pulumi.String("string"),
},
ContainerRegistries: batch.ContainerRegistryArray{
&batch.ContainerRegistryArgs{
IdentityReference: &batch.ComputeNodeIdentityReferenceArgs{
ResourceId: pulumi.String("string"),
},
Password: pulumi.String("string"),
RegistryServer: pulumi.String("string"),
UserName: pulumi.String("string"),
},
},
},
DataDisks: batch.DataDiskArray{
&batch.DataDiskArgs{
DiskSizeGB: pulumi.Int(0),
Lun: pulumi.Int(0),
Caching: batch.CachingTypeNone,
StorageAccountType: batch.StorageAccountType_Standard_LRS,
},
},
DiskEncryptionConfiguration: &batch.DiskEncryptionConfigurationArgs{
Targets: batch.DiskEncryptionTargetArray{
batch.DiskEncryptionTargetOsDisk,
},
},
Extensions: batch.VMExtensionArray{
&batch.VMExtensionArgs{
Name: pulumi.String("string"),
Publisher: pulumi.String("string"),
Type: pulumi.String("string"),
AutoUpgradeMinorVersion: pulumi.Bool(false),
EnableAutomaticUpgrade: pulumi.Bool(false),
ProtectedSettings: pulumi.Any("any"),
ProvisionAfterExtensions: pulumi.StringArray{
pulumi.String("string"),
},
Settings: pulumi.Any("any"),
TypeHandlerVersion: pulumi.String("string"),
},
},
LicenseType: pulumi.String("string"),
NodePlacementConfiguration: &batch.NodePlacementConfigurationArgs{
Policy: batch.NodePlacementPolicyTypeRegional,
},
OsDisk: &batch.OSDiskArgs{
Caching: batch.CachingTypeNone,
DiskSizeGB: pulumi.Int(0),
EphemeralOSDiskSettings: &batch.DiffDiskSettingsArgs{
Placement: batch.DiffDiskPlacementCacheDisk,
},
ManagedDisk: &batch.ManagedDiskArgs{
SecurityProfile: &batch.VMDiskSecurityProfileArgs{
SecurityEncryptionType: pulumi.String("string"),
},
StorageAccountType: batch.StorageAccountType_Standard_LRS,
},
WriteAcceleratorEnabled: pulumi.Bool(false),
},
SecurityProfile: &batch.SecurityProfileArgs{
EncryptionAtHost: pulumi.Bool(false),
SecurityType: batch.SecurityTypesTrustedLaunch,
UefiSettings: &batch.UefiSettingsArgs{
SecureBootEnabled: pulumi.Bool(false),
VTpmEnabled: pulumi.Bool(false),
},
},
ServiceArtifactReference: &batch.ServiceArtifactReferenceArgs{
Id: pulumi.String("string"),
},
WindowsConfiguration: &batch.WindowsConfigurationArgs{
EnableAutomaticUpdates: pulumi.Bool(false),
},
},
},
DisplayName: pulumi.String("string"),
Identity: &batch.BatchPoolIdentityArgs{
Type: batch.PoolIdentityTypeUserAssigned,
UserAssignedIdentities: pulumi.StringArray{
pulumi.String("string"),
},
},
InterNodeCommunication: batch.InterNodeCommunicationStateEnabled,
Metadata: batch.MetadataItemArray{
&batch.MetadataItemArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
MountConfiguration: batch.MountConfigurationArray{
&batch.MountConfigurationArgs{
AzureBlobFileSystemConfiguration: &batch.AzureBlobFileSystemConfigurationArgs{
AccountName: pulumi.String("string"),
ContainerName: pulumi.String("string"),
RelativeMountPath: pulumi.String("string"),
AccountKey: pulumi.String("string"),
BlobfuseOptions: pulumi.String("string"),
IdentityReference: &batch.ComputeNodeIdentityReferenceArgs{
ResourceId: pulumi.String("string"),
},
SasKey: pulumi.String("string"),
},
AzureFileShareConfiguration: &batch.AzureFileShareConfigurationArgs{
AccountKey: pulumi.String("string"),
AccountName: pulumi.String("string"),
AzureFileUrl: pulumi.String("string"),
RelativeMountPath: pulumi.String("string"),
MountOptions: pulumi.String("string"),
},
CifsMountConfiguration: &batch.CIFSMountConfigurationArgs{
Password: pulumi.String("string"),
RelativeMountPath: pulumi.String("string"),
Source: pulumi.String("string"),
UserName: pulumi.String("string"),
MountOptions: pulumi.String("string"),
},
NfsMountConfiguration: &batch.NFSMountConfigurationArgs{
RelativeMountPath: pulumi.String("string"),
Source: pulumi.String("string"),
MountOptions: pulumi.String("string"),
},
},
},
ApplicationPackages: batch.ApplicationPackageReferenceArray{
&batch.ApplicationPackageReferenceArgs{
Id: pulumi.String("string"),
Version: pulumi.String("string"),
},
},
PoolName: pulumi.String("string"),
ApplicationLicenses: pulumi.StringArray{
pulumi.String("string"),
},
Certificates: batch.CertificateReferenceArray{
&batch.CertificateReferenceArgs{
Id: pulumi.String("string"),
StoreLocation: batch.CertificateStoreLocationCurrentUser,
StoreName: pulumi.String("string"),
Visibility: batch.CertificateVisibilityArray{
batch.CertificateVisibilityStartTask,
},
},
},
ScaleSettings: &batch.ScaleSettingsArgs{
AutoScale: &batch.AutoScaleSettingsArgs{
Formula: pulumi.String("string"),
EvaluationInterval: pulumi.String("string"),
},
FixedScale: &batch.FixedScaleSettingsArgs{
NodeDeallocationOption: batch.ComputeNodeDeallocationOptionRequeue,
ResizeTimeout: pulumi.String("string"),
TargetDedicatedNodes: pulumi.Int(0),
TargetLowPriorityNodes: pulumi.Int(0),
},
},
StartTask: &batch.StartTaskArgs{
CommandLine: pulumi.String("string"),
ContainerSettings: &batch.TaskContainerSettingsArgs{
ImageName: pulumi.String("string"),
ContainerHostBatchBindMounts: batch.ContainerHostBatchBindMountEntryArray{
&batch.ContainerHostBatchBindMountEntryArgs{
IsReadOnly: pulumi.Bool(false),
Source: pulumi.String("string"),
},
},
ContainerRunOptions: pulumi.String("string"),
Registry: &batch.ContainerRegistryArgs{
IdentityReference: &batch.ComputeNodeIdentityReferenceArgs{
ResourceId: pulumi.String("string"),
},
Password: pulumi.String("string"),
RegistryServer: pulumi.String("string"),
UserName: pulumi.String("string"),
},
WorkingDirectory: batch.ContainerWorkingDirectoryTaskWorkingDirectory,
},
EnvironmentSettings: batch.EnvironmentSettingArray{
&batch.EnvironmentSettingArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
MaxTaskRetryCount: pulumi.Int(0),
ResourceFiles: batch.ResourceFileArray{
&batch.ResourceFileArgs{
AutoStorageContainerName: pulumi.String("string"),
BlobPrefix: pulumi.String("string"),
FileMode: pulumi.String("string"),
FilePath: pulumi.String("string"),
HttpUrl: pulumi.String("string"),
IdentityReference: &batch.ComputeNodeIdentityReferenceArgs{
ResourceId: pulumi.String("string"),
},
StorageContainerUrl: pulumi.String("string"),
},
},
UserIdentity: &batch.UserIdentityArgs{
AutoUser: &batch.AutoUserSpecificationArgs{
ElevationLevel: batch.ElevationLevelNonAdmin,
Scope: batch.AutoUserScopeTask,
},
UserName: pulumi.String("string"),
},
WaitForSuccess: pulumi.Bool(false),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TargetNodeCommunicationMode: batch.NodeCommunicationModeDefault,
TaskSchedulingPolicy: &batch.TaskSchedulingPolicyArgs{
NodeFillType: batch.ComputeNodeFillTypeSpread,
},
TaskSlotsPerNode: pulumi.Int(0),
UpgradePolicy: &batch.UpgradePolicyArgs{
Mode: batch.UpgradeModeAutomatic,
AutomaticOSUpgradePolicy: &batch.AutomaticOSUpgradePolicyArgs{
DisableAutomaticRollback: pulumi.Bool(false),
EnableAutomaticOSUpgrade: pulumi.Bool(false),
OsRollingUpgradeDeferral: pulumi.Bool(false),
UseRollingUpgradePolicy: pulumi.Bool(false),
},
RollingUpgradePolicy: &batch.RollingUpgradePolicyArgs{
EnableCrossZoneUpgrade: pulumi.Bool(false),
MaxBatchInstancePercent: pulumi.Int(0),
MaxUnhealthyInstancePercent: pulumi.Int(0),
MaxUnhealthyUpgradedInstancePercent: pulumi.Int(0),
PauseTimeBetweenBatches: pulumi.String("string"),
PrioritizeUnhealthyInstances: pulumi.Bool(false),
RollbackFailedInstancesOnPolicyBreach: pulumi.Bool(false),
},
},
UserAccounts: batch.UserAccountArray{
&batch.UserAccountArgs{
Name: pulumi.String("string"),
Password: pulumi.String("string"),
ElevationLevel: batch.ElevationLevelNonAdmin,
LinuxUserConfiguration: &batch.LinuxUserConfigurationArgs{
Gid: pulumi.Int(0),
SshPrivateKey: pulumi.String("string"),
Uid: pulumi.Int(0),
},
WindowsUserConfiguration: &batch.WindowsUserConfigurationArgs{
LoginMode: batch.LoginModeBatch,
},
},
},
VmSize: pulumi.String("string"),
})
var poolResource = new com.pulumi.azurenative.batch.Pool("poolResource", com.pulumi.azurenative.batch.PoolArgs.builder()
.accountName("string")
.resourceGroupName("string")
.networkConfiguration(NetworkConfigurationArgs.builder()
.dynamicVnetAssignmentScope("none")
.enableAcceleratedNetworking(false)
.endpointConfiguration(PoolEndpointConfigurationArgs.builder()
.inboundNatPools(InboundNatPoolArgs.builder()
.backendPort(0)
.frontendPortRangeEnd(0)
.frontendPortRangeStart(0)
.name("string")
.protocol("TCP")
.networkSecurityGroupRules(NetworkSecurityGroupRuleArgs.builder()
.access("Allow")
.priority(0)
.sourceAddressPrefix("string")
.sourcePortRanges("string")
.build())
.build())
.build())
.publicIPAddressConfiguration(PublicIPAddressConfigurationArgs.builder()
.ipAddressIds("string")
.provision("BatchManaged")
.build())
.subnetId("string")
.build())
.resourceTags(Map.of("string", "string"))
.deploymentConfiguration(DeploymentConfigurationArgs.builder()
.virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
.imageReference(ImageReferenceArgs.builder()
.communityGalleryImageId("string")
.id("string")
.offer("string")
.publisher("string")
.sharedGalleryImageId("string")
.sku("string")
.version("string")
.build())
.nodeAgentSkuId("string")
.containerConfiguration(ContainerConfigurationArgs.builder()
.type("string")
.containerImageNames("string")
.containerRegistries(ContainerRegistryArgs.builder()
.identityReference(ComputeNodeIdentityReferenceArgs.builder()
.resourceId("string")
.build())
.password("string")
.registryServer("string")
.userName("string")
.build())
.build())
.dataDisks(DataDiskArgs.builder()
.diskSizeGB(0)
.lun(0)
.caching("None")
.storageAccountType("Standard_LRS")
.build())
.diskEncryptionConfiguration(DiskEncryptionConfigurationArgs.builder()
.targets("OsDisk")
.build())
.extensions(VMExtensionArgs.builder()
.name("string")
.publisher("string")
.type("string")
.autoUpgradeMinorVersion(false)
.enableAutomaticUpgrade(false)
.protectedSettings("any")
.provisionAfterExtensions("string")
.settings("any")
.typeHandlerVersion("string")
.build())
.licenseType("string")
.nodePlacementConfiguration(NodePlacementConfigurationArgs.builder()
.policy("Regional")
.build())
.osDisk(OSDiskArgs.builder()
.caching("None")
.diskSizeGB(0)
.ephemeralOSDiskSettings(DiffDiskSettingsArgs.builder()
.placement("CacheDisk")
.build())
.managedDisk(ManagedDiskArgs.builder()
.securityProfile(VMDiskSecurityProfileArgs.builder()
.securityEncryptionType("string")
.build())
.storageAccountType("Standard_LRS")
.build())
.writeAcceleratorEnabled(false)
.build())
.securityProfile(SecurityProfileArgs.builder()
.encryptionAtHost(false)
.securityType("trustedLaunch")
.uefiSettings(UefiSettingsArgs.builder()
.secureBootEnabled(false)
.vTpmEnabled(false)
.build())
.build())
.serviceArtifactReference(ServiceArtifactReferenceArgs.builder()
.id("string")
.build())
.windowsConfiguration(WindowsConfigurationArgs.builder()
.enableAutomaticUpdates(false)
.build())
.build())
.build())
.displayName("string")
.identity(BatchPoolIdentityArgs.builder()
.type("UserAssigned")
.userAssignedIdentities("string")
.build())
.interNodeCommunication("Enabled")
.metadata(MetadataItemArgs.builder()
.name("string")
.value("string")
.build())
.mountConfiguration(MountConfigurationArgs.builder()
.azureBlobFileSystemConfiguration(AzureBlobFileSystemConfigurationArgs.builder()
.accountName("string")
.containerName("string")
.relativeMountPath("string")
.accountKey("string")
.blobfuseOptions("string")
.identityReference(ComputeNodeIdentityReferenceArgs.builder()
.resourceId("string")
.build())
.sasKey("string")
.build())
.azureFileShareConfiguration(AzureFileShareConfigurationArgs.builder()
.accountKey("string")
.accountName("string")
.azureFileUrl("string")
.relativeMountPath("string")
.mountOptions("string")
.build())
.cifsMountConfiguration(CIFSMountConfigurationArgs.builder()
.password("string")
.relativeMountPath("string")
.source("string")
.userName("string")
.mountOptions("string")
.build())
.nfsMountConfiguration(NFSMountConfigurationArgs.builder()
.relativeMountPath("string")
.source("string")
.mountOptions("string")
.build())
.build())
.applicationPackages(ApplicationPackageReferenceArgs.builder()
.id("string")
.version("string")
.build())
.poolName("string")
.applicationLicenses("string")
.certificates(CertificateReferenceArgs.builder()
.id("string")
.storeLocation("CurrentUser")
.storeName("string")
.visibility("StartTask")
.build())
.scaleSettings(ScaleSettingsArgs.builder()
.autoScale(AutoScaleSettingsArgs.builder()
.formula("string")
.evaluationInterval("string")
.build())
.fixedScale(FixedScaleSettingsArgs.builder()
.nodeDeallocationOption("Requeue")
.resizeTimeout("string")
.targetDedicatedNodes(0)
.targetLowPriorityNodes(0)
.build())
.build())
.startTask(StartTaskArgs.builder()
.commandLine("string")
.containerSettings(TaskContainerSettingsArgs.builder()
.imageName("string")
.containerHostBatchBindMounts(ContainerHostBatchBindMountEntryArgs.builder()
.isReadOnly(false)
.source("string")
.build())
.containerRunOptions("string")
.registry(ContainerRegistryArgs.builder()
.identityReference(ComputeNodeIdentityReferenceArgs.builder()
.resourceId("string")
.build())
.password("string")
.registryServer("string")
.userName("string")
.build())
.workingDirectory("TaskWorkingDirectory")
.build())
.environmentSettings(EnvironmentSettingArgs.builder()
.name("string")
.value("string")
.build())
.maxTaskRetryCount(0)
.resourceFiles(ResourceFileArgs.builder()
.autoStorageContainerName("string")
.blobPrefix("string")
.fileMode("string")
.filePath("string")
.httpUrl("string")
.identityReference(ComputeNodeIdentityReferenceArgs.builder()
.resourceId("string")
.build())
.storageContainerUrl("string")
.build())
.userIdentity(UserIdentityArgs.builder()
.autoUser(AutoUserSpecificationArgs.builder()
.elevationLevel("NonAdmin")
.scope("Task")
.build())
.userName("string")
.build())
.waitForSuccess(false)
.build())
.tags(Map.of("string", "string"))
.targetNodeCommunicationMode("Default")
.taskSchedulingPolicy(TaskSchedulingPolicyArgs.builder()
.nodeFillType("Spread")
.build())
.taskSlotsPerNode(0)
.upgradePolicy(UpgradePolicyArgs.builder()
.mode("automatic")
.automaticOSUpgradePolicy(AutomaticOSUpgradePolicyArgs.builder()
.disableAutomaticRollback(false)
.enableAutomaticOSUpgrade(false)
.osRollingUpgradeDeferral(false)
.useRollingUpgradePolicy(false)
.build())
.rollingUpgradePolicy(RollingUpgradePolicyArgs.builder()
.enableCrossZoneUpgrade(false)
.maxBatchInstancePercent(0)
.maxUnhealthyInstancePercent(0)
.maxUnhealthyUpgradedInstancePercent(0)
.pauseTimeBetweenBatches("string")
.prioritizeUnhealthyInstances(false)
.rollbackFailedInstancesOnPolicyBreach(false)
.build())
.build())
.userAccounts(UserAccountArgs.builder()
.name("string")
.password("string")
.elevationLevel("NonAdmin")
.linuxUserConfiguration(LinuxUserConfigurationArgs.builder()
.gid(0)
.sshPrivateKey("string")
.uid(0)
.build())
.windowsUserConfiguration(WindowsUserConfigurationArgs.builder()
.loginMode("Batch")
.build())
.build())
.vmSize("string")
.build());
pool_resource = azure_native.batch.Pool("poolResource",
account_name="string",
resource_group_name="string",
network_configuration={
"dynamic_vnet_assignment_scope": azure_native.batch.DynamicVNetAssignmentScope.NONE,
"enable_accelerated_networking": False,
"endpoint_configuration": {
"inbound_nat_pools": [{
"backend_port": 0,
"frontend_port_range_end": 0,
"frontend_port_range_start": 0,
"name": "string",
"protocol": azure_native.batch.InboundEndpointProtocol.TCP,
"network_security_group_rules": [{
"access": azure_native.batch.NetworkSecurityGroupRuleAccess.ALLOW,
"priority": 0,
"source_address_prefix": "string",
"source_port_ranges": ["string"],
}],
}],
},
"public_ip_address_configuration": {
"ip_address_ids": ["string"],
"provision": azure_native.batch.IPAddressProvisioningType.BATCH_MANAGED,
},
"subnet_id": "string",
},
resource_tags={
"string": "string",
},
deployment_configuration={
"virtual_machine_configuration": {
"image_reference": {
"community_gallery_image_id": "string",
"id": "string",
"offer": "string",
"publisher": "string",
"shared_gallery_image_id": "string",
"sku": "string",
"version": "string",
},
"node_agent_sku_id": "string",
"container_configuration": {
"type": "string",
"container_image_names": ["string"],
"container_registries": [{
"identity_reference": {
"resource_id": "string",
},
"password": "string",
"registry_server": "string",
"user_name": "string",
}],
},
"data_disks": [{
"disk_size_gb": 0,
"lun": 0,
"caching": azure_native.batch.CachingType.NONE,
"storage_account_type": azure_native.batch.StorageAccountType.STANDARD_LRS,
}],
"disk_encryption_configuration": {
"targets": [azure_native.batch.DiskEncryptionTarget.OS_DISK],
},
"extensions": [{
"name": "string",
"publisher": "string",
"type": "string",
"auto_upgrade_minor_version": False,
"enable_automatic_upgrade": False,
"protected_settings": "any",
"provision_after_extensions": ["string"],
"settings": "any",
"type_handler_version": "string",
}],
"license_type": "string",
"node_placement_configuration": {
"policy": azure_native.batch.NodePlacementPolicyType.REGIONAL,
},
"os_disk": {
"caching": azure_native.batch.CachingType.NONE,
"disk_size_gb": 0,
"ephemeral_os_disk_settings": {
"placement": azure_native.batch.DiffDiskPlacement.CACHE_DISK,
},
"managed_disk": {
"security_profile": {
"security_encryption_type": "string",
},
"storage_account_type": azure_native.batch.StorageAccountType.STANDARD_LRS,
},
"write_accelerator_enabled": False,
},
"security_profile": {
"encryption_at_host": False,
"security_type": azure_native.batch.SecurityTypes.TRUSTED_LAUNCH,
"uefi_settings": {
"secure_boot_enabled": False,
"v_tpm_enabled": False,
},
},
"service_artifact_reference": {
"id": "string",
},
"windows_configuration": {
"enable_automatic_updates": False,
},
},
},
display_name="string",
identity={
"type": azure_native.batch.PoolIdentityType.USER_ASSIGNED,
"user_assigned_identities": ["string"],
},
inter_node_communication=azure_native.batch.InterNodeCommunicationState.ENABLED,
metadata=[{
"name": "string",
"value": "string",
}],
mount_configuration=[{
"azure_blob_file_system_configuration": {
"account_name": "string",
"container_name": "string",
"relative_mount_path": "string",
"account_key": "string",
"blobfuse_options": "string",
"identity_reference": {
"resource_id": "string",
},
"sas_key": "string",
},
"azure_file_share_configuration": {
"account_key": "string",
"account_name": "string",
"azure_file_url": "string",
"relative_mount_path": "string",
"mount_options": "string",
},
"cifs_mount_configuration": {
"password": "string",
"relative_mount_path": "string",
"source": "string",
"user_name": "string",
"mount_options": "string",
},
"nfs_mount_configuration": {
"relative_mount_path": "string",
"source": "string",
"mount_options": "string",
},
}],
application_packages=[{
"id": "string",
"version": "string",
}],
pool_name="string",
application_licenses=["string"],
certificates=[{
"id": "string",
"store_location": azure_native.batch.CertificateStoreLocation.CURRENT_USER,
"store_name": "string",
"visibility": [azure_native.batch.CertificateVisibility.START_TASK],
}],
scale_settings={
"auto_scale": {
"formula": "string",
"evaluation_interval": "string",
},
"fixed_scale": {
"node_deallocation_option": azure_native.batch.ComputeNodeDeallocationOption.REQUEUE,
"resize_timeout": "string",
"target_dedicated_nodes": 0,
"target_low_priority_nodes": 0,
},
},
start_task={
"command_line": "string",
"container_settings": {
"image_name": "string",
"container_host_batch_bind_mounts": [{
"is_read_only": False,
"source": "string",
}],
"container_run_options": "string",
"registry": {
"identity_reference": {
"resource_id": "string",
},
"password": "string",
"registry_server": "string",
"user_name": "string",
},
"working_directory": azure_native.batch.ContainerWorkingDirectory.TASK_WORKING_DIRECTORY,
},
"environment_settings": [{
"name": "string",
"value": "string",
}],
"max_task_retry_count": 0,
"resource_files": [{
"auto_storage_container_name": "string",
"blob_prefix": "string",
"file_mode": "string",
"file_path": "string",
"http_url": "string",
"identity_reference": {
"resource_id": "string",
},
"storage_container_url": "string",
}],
"user_identity": {
"auto_user": {
"elevation_level": azure_native.batch.ElevationLevel.NON_ADMIN,
"scope": azure_native.batch.AutoUserScope.TASK,
},
"user_name": "string",
},
"wait_for_success": False,
},
tags={
"string": "string",
},
target_node_communication_mode=azure_native.batch.NodeCommunicationMode.DEFAULT,
task_scheduling_policy={
"node_fill_type": azure_native.batch.ComputeNodeFillType.SPREAD,
},
task_slots_per_node=0,
upgrade_policy={
"mode": azure_native.batch.UpgradeMode.AUTOMATIC,
"automatic_os_upgrade_policy": {
"disable_automatic_rollback": False,
"enable_automatic_os_upgrade": False,
"os_rolling_upgrade_deferral": False,
"use_rolling_upgrade_policy": False,
},
"rolling_upgrade_policy": {
"enable_cross_zone_upgrade": False,
"max_batch_instance_percent": 0,
"max_unhealthy_instance_percent": 0,
"max_unhealthy_upgraded_instance_percent": 0,
"pause_time_between_batches": "string",
"prioritize_unhealthy_instances": False,
"rollback_failed_instances_on_policy_breach": False,
},
},
user_accounts=[{
"name": "string",
"password": "string",
"elevation_level": azure_native.batch.ElevationLevel.NON_ADMIN,
"linux_user_configuration": {
"gid": 0,
"ssh_private_key": "string",
"uid": 0,
},
"windows_user_configuration": {
"login_mode": azure_native.batch.LoginMode.BATCH,
},
}],
vm_size="string")
const poolResource = new azure_native.batch.Pool("poolResource", {
accountName: "string",
resourceGroupName: "string",
networkConfiguration: {
dynamicVnetAssignmentScope: azure_native.batch.DynamicVNetAssignmentScope.None,
enableAcceleratedNetworking: false,
endpointConfiguration: {
inboundNatPools: [{
backendPort: 0,
frontendPortRangeEnd: 0,
frontendPortRangeStart: 0,
name: "string",
protocol: azure_native.batch.InboundEndpointProtocol.TCP,
networkSecurityGroupRules: [{
access: azure_native.batch.NetworkSecurityGroupRuleAccess.Allow,
priority: 0,
sourceAddressPrefix: "string",
sourcePortRanges: ["string"],
}],
}],
},
publicIPAddressConfiguration: {
ipAddressIds: ["string"],
provision: azure_native.batch.IPAddressProvisioningType.BatchManaged,
},
subnetId: "string",
},
resourceTags: {
string: "string",
},
deploymentConfiguration: {
virtualMachineConfiguration: {
imageReference: {
communityGalleryImageId: "string",
id: "string",
offer: "string",
publisher: "string",
sharedGalleryImageId: "string",
sku: "string",
version: "string",
},
nodeAgentSkuId: "string",
containerConfiguration: {
type: "string",
containerImageNames: ["string"],
containerRegistries: [{
identityReference: {
resourceId: "string",
},
password: "string",
registryServer: "string",
userName: "string",
}],
},
dataDisks: [{
diskSizeGB: 0,
lun: 0,
caching: azure_native.batch.CachingType.None,
storageAccountType: azure_native.batch.StorageAccountType.Standard_LRS,
}],
diskEncryptionConfiguration: {
targets: [azure_native.batch.DiskEncryptionTarget.OsDisk],
},
extensions: [{
name: "string",
publisher: "string",
type: "string",
autoUpgradeMinorVersion: false,
enableAutomaticUpgrade: false,
protectedSettings: "any",
provisionAfterExtensions: ["string"],
settings: "any",
typeHandlerVersion: "string",
}],
licenseType: "string",
nodePlacementConfiguration: {
policy: azure_native.batch.NodePlacementPolicyType.Regional,
},
osDisk: {
caching: azure_native.batch.CachingType.None,
diskSizeGB: 0,
ephemeralOSDiskSettings: {
placement: azure_native.batch.DiffDiskPlacement.CacheDisk,
},
managedDisk: {
securityProfile: {
securityEncryptionType: "string",
},
storageAccountType: azure_native.batch.StorageAccountType.Standard_LRS,
},
writeAcceleratorEnabled: false,
},
securityProfile: {
encryptionAtHost: false,
securityType: azure_native.batch.SecurityTypes.TrustedLaunch,
uefiSettings: {
secureBootEnabled: false,
vTpmEnabled: false,
},
},
serviceArtifactReference: {
id: "string",
},
windowsConfiguration: {
enableAutomaticUpdates: false,
},
},
},
displayName: "string",
identity: {
type: azure_native.batch.PoolIdentityType.UserAssigned,
userAssignedIdentities: ["string"],
},
interNodeCommunication: azure_native.batch.InterNodeCommunicationState.Enabled,
metadata: [{
name: "string",
value: "string",
}],
mountConfiguration: [{
azureBlobFileSystemConfiguration: {
accountName: "string",
containerName: "string",
relativeMountPath: "string",
accountKey: "string",
blobfuseOptions: "string",
identityReference: {
resourceId: "string",
},
sasKey: "string",
},
azureFileShareConfiguration: {
accountKey: "string",
accountName: "string",
azureFileUrl: "string",
relativeMountPath: "string",
mountOptions: "string",
},
cifsMountConfiguration: {
password: "string",
relativeMountPath: "string",
source: "string",
userName: "string",
mountOptions: "string",
},
nfsMountConfiguration: {
relativeMountPath: "string",
source: "string",
mountOptions: "string",
},
}],
applicationPackages: [{
id: "string",
version: "string",
}],
poolName: "string",
applicationLicenses: ["string"],
certificates: [{
id: "string",
storeLocation: azure_native.batch.CertificateStoreLocation.CurrentUser,
storeName: "string",
visibility: [azure_native.batch.CertificateVisibility.StartTask],
}],
scaleSettings: {
autoScale: {
formula: "string",
evaluationInterval: "string",
},
fixedScale: {
nodeDeallocationOption: azure_native.batch.ComputeNodeDeallocationOption.Requeue,
resizeTimeout: "string",
targetDedicatedNodes: 0,
targetLowPriorityNodes: 0,
},
},
startTask: {
commandLine: "string",
containerSettings: {
imageName: "string",
containerHostBatchBindMounts: [{
isReadOnly: false,
source: "string",
}],
containerRunOptions: "string",
registry: {
identityReference: {
resourceId: "string",
},
password: "string",
registryServer: "string",
userName: "string",
},
workingDirectory: azure_native.batch.ContainerWorkingDirectory.TaskWorkingDirectory,
},
environmentSettings: [{
name: "string",
value: "string",
}],
maxTaskRetryCount: 0,
resourceFiles: [{
autoStorageContainerName: "string",
blobPrefix: "string",
fileMode: "string",
filePath: "string",
httpUrl: "string",
identityReference: {
resourceId: "string",
},
storageContainerUrl: "string",
}],
userIdentity: {
autoUser: {
elevationLevel: azure_native.batch.ElevationLevel.NonAdmin,
scope: azure_native.batch.AutoUserScope.Task,
},
userName: "string",
},
waitForSuccess: false,
},
tags: {
string: "string",
},
targetNodeCommunicationMode: azure_native.batch.NodeCommunicationMode.Default,
taskSchedulingPolicy: {
nodeFillType: azure_native.batch.ComputeNodeFillType.Spread,
},
taskSlotsPerNode: 0,
upgradePolicy: {
mode: azure_native.batch.UpgradeMode.Automatic,
automaticOSUpgradePolicy: {
disableAutomaticRollback: false,
enableAutomaticOSUpgrade: false,
osRollingUpgradeDeferral: false,
useRollingUpgradePolicy: false,
},
rollingUpgradePolicy: {
enableCrossZoneUpgrade: false,
maxBatchInstancePercent: 0,
maxUnhealthyInstancePercent: 0,
maxUnhealthyUpgradedInstancePercent: 0,
pauseTimeBetweenBatches: "string",
prioritizeUnhealthyInstances: false,
rollbackFailedInstancesOnPolicyBreach: false,
},
},
userAccounts: [{
name: "string",
password: "string",
elevationLevel: azure_native.batch.ElevationLevel.NonAdmin,
linuxUserConfiguration: {
gid: 0,
sshPrivateKey: "string",
uid: 0,
},
windowsUserConfiguration: {
loginMode: azure_native.batch.LoginMode.Batch,
},
}],
vmSize: "string",
});
type: azure-native:batch:Pool
properties:
accountName: string
applicationLicenses:
- string
applicationPackages:
- id: string
version: string
certificates:
- id: string
storeLocation: CurrentUser
storeName: string
visibility:
- StartTask
deploymentConfiguration:
virtualMachineConfiguration:
containerConfiguration:
containerImageNames:
- string
containerRegistries:
- identityReference:
resourceId: string
password: string
registryServer: string
userName: string
type: string
dataDisks:
- caching: None
diskSizeGB: 0
lun: 0
storageAccountType: Standard_LRS
diskEncryptionConfiguration:
targets:
- OsDisk
extensions:
- autoUpgradeMinorVersion: false
enableAutomaticUpgrade: false
name: string
protectedSettings: any
provisionAfterExtensions:
- string
publisher: string
settings: any
type: string
typeHandlerVersion: string
imageReference:
communityGalleryImageId: string
id: string
offer: string
publisher: string
sharedGalleryImageId: string
sku: string
version: string
licenseType: string
nodeAgentSkuId: string
nodePlacementConfiguration:
policy: Regional
osDisk:
caching: None
diskSizeGB: 0
ephemeralOSDiskSettings:
placement: CacheDisk
managedDisk:
securityProfile:
securityEncryptionType: string
storageAccountType: Standard_LRS
writeAcceleratorEnabled: false
securityProfile:
encryptionAtHost: false
securityType: trustedLaunch
uefiSettings:
secureBootEnabled: false
vTpmEnabled: false
serviceArtifactReference:
id: string
windowsConfiguration:
enableAutomaticUpdates: false
displayName: string
identity:
type: UserAssigned
userAssignedIdentities:
- string
interNodeCommunication: Enabled
metadata:
- name: string
value: string
mountConfiguration:
- azureBlobFileSystemConfiguration:
accountKey: string
accountName: string
blobfuseOptions: string
containerName: string
identityReference:
resourceId: string
relativeMountPath: string
sasKey: string
azureFileShareConfiguration:
accountKey: string
accountName: string
azureFileUrl: string
mountOptions: string
relativeMountPath: string
cifsMountConfiguration:
mountOptions: string
password: string
relativeMountPath: string
source: string
userName: string
nfsMountConfiguration:
mountOptions: string
relativeMountPath: string
source: string
networkConfiguration:
dynamicVnetAssignmentScope: none
enableAcceleratedNetworking: false
endpointConfiguration:
inboundNatPools:
- backendPort: 0
frontendPortRangeEnd: 0
frontendPortRangeStart: 0
name: string
networkSecurityGroupRules:
- access: Allow
priority: 0
sourceAddressPrefix: string
sourcePortRanges:
- string
protocol: TCP
publicIPAddressConfiguration:
ipAddressIds:
- string
provision: BatchManaged
subnetId: string
poolName: string
resourceGroupName: string
resourceTags:
string: string
scaleSettings:
autoScale:
evaluationInterval: string
formula: string
fixedScale:
nodeDeallocationOption: Requeue
resizeTimeout: string
targetDedicatedNodes: 0
targetLowPriorityNodes: 0
startTask:
commandLine: string
containerSettings:
containerHostBatchBindMounts:
- isReadOnly: false
source: string
containerRunOptions: string
imageName: string
registry:
identityReference:
resourceId: string
password: string
registryServer: string
userName: string
workingDirectory: TaskWorkingDirectory
environmentSettings:
- name: string
value: string
maxTaskRetryCount: 0
resourceFiles:
- autoStorageContainerName: string
blobPrefix: string
fileMode: string
filePath: string
httpUrl: string
identityReference:
resourceId: string
storageContainerUrl: string
userIdentity:
autoUser:
elevationLevel: NonAdmin
scope: Task
userName: string
waitForSuccess: false
tags:
string: string
targetNodeCommunicationMode: Default
taskSchedulingPolicy:
nodeFillType: Spread
taskSlotsPerNode: 0
upgradePolicy:
automaticOSUpgradePolicy:
disableAutomaticRollback: false
enableAutomaticOSUpgrade: false
osRollingUpgradeDeferral: false
useRollingUpgradePolicy: false
mode: automatic
rollingUpgradePolicy:
enableCrossZoneUpgrade: false
maxBatchInstancePercent: 0
maxUnhealthyInstancePercent: 0
maxUnhealthyUpgradedInstancePercent: 0
pauseTimeBetweenBatches: string
prioritizeUnhealthyInstances: false
rollbackFailedInstancesOnPolicyBreach: false
userAccounts:
- elevationLevel: NonAdmin
linuxUserConfiguration:
gid: 0
sshPrivateKey: string
uid: 0
name: string
password: string
windowsUserConfiguration:
loginMode: Batch
vmSize: string
Pool Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Pool resource accepts the following input properties:
- Account
Name string - A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Application
Licenses List<string> - The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail.
- Application
Packages List<Pulumi.Azure Native. Batch. Inputs. Application Package Reference> - Changes to application package references affect all new compute nodes joining the pool, but do not affect compute nodes that are already in the pool until they are rebooted or reimaged. There is a maximum of 10 application package references on any given pool.
- Certificates
List<Pulumi.
Azure Native. Batch. Inputs. Certificate Reference> For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
Warning: This property is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.
- Deployment
Configuration Pulumi.Azure Native. Batch. Inputs. Deployment Configuration - Deployment configuration properties.
- Display
Name string - The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
- Identity
Pulumi.
Azure Native. Batch. Inputs. Batch Pool Identity - The type of identity used for the Batch Pool.
- Inter
Node Pulumi.Communication Azure Native. Batch. Inter Node Communication State - This imposes restrictions on which nodes can be assigned to the pool. Enabling this value can reduce the chance of the requested number of nodes to be allocated in the pool. If not specified, this value defaults to 'Disabled'.
- Metadata
List<Pulumi.
Azure Native. Batch. Inputs. Metadata Item> - The Batch service does not assign any meaning to metadata; it is solely for the use of user code.
- Mount
Configuration List<Pulumi.Azure Native. Batch. Inputs. Mount Configuration> - This supports Azure Files, NFS, CIFS/SMB, and Blobfuse.
- Network
Configuration Pulumi.Azure Native. Batch. Inputs. Network Configuration - The network configuration for a pool.
- Pool
Name string - The pool name. This must be unique within the account.
- Dictionary<string, string>
- The user-defined tags to be associated with the Azure Batch Pool. When specified, these tags are propagated to the backing Azure resources associated with the pool. This property can only be specified when the Batch account was created with the poolAllocationMode property set to 'UserSubscription'.
- Scale
Settings Pulumi.Azure Native. Batch. Inputs. Scale Settings - Defines the desired size of the pool. This can either be 'fixedScale' where the requested targetDedicatedNodes is specified, or 'autoScale' which defines a formula which is periodically reevaluated. If this property is not specified, the pool will have a fixed scale with 0 targetDedicatedNodes.
- Start
Task Pulumi.Azure Native. Batch. Inputs. Start Task - In an PATCH (update) operation, this property can be set to an empty object to remove the start task from the pool.
- Dictionary<string, string>
- The tags of the resource.
- Target
Node Pulumi.Communication Mode Azure Native. Batch. Node Communication Mode - If omitted, the default value is Default.
- Task
Scheduling Pulumi.Policy Azure Native. Batch. Inputs. Task Scheduling Policy - If not specified, the default is spread.
- Task
Slots intPer Node - The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256.
- Upgrade
Policy Pulumi.Azure Native. Batch. Inputs. Upgrade Policy - Describes an upgrade policy - automatic, manual, or rolling.
- User
Accounts List<Pulumi.Azure Native. Batch. Inputs. User Account> - The list of user accounts to be created on each node in the pool.
- Vm
Size string - For information about available VM sizes, see Sizes for Virtual Machines in Azure (https://learn.microsoft.com/azure/virtual-machines/sizes/overview). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series).
- Account
Name string - A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Application
Licenses []string - The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail.
- Application
Packages []ApplicationPackage Reference Args - Changes to application package references affect all new compute nodes joining the pool, but do not affect compute nodes that are already in the pool until they are rebooted or reimaged. There is a maximum of 10 application package references on any given pool.
- Certificates
[]Certificate
Reference Args For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
Warning: This property is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.
- Deployment
Configuration DeploymentConfiguration Args - Deployment configuration properties.
- Display
Name string - The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
- Identity
Batch
Pool Identity Args - The type of identity used for the Batch Pool.
- Inter
Node InterCommunication Node Communication State - This imposes restrictions on which nodes can be assigned to the pool. Enabling this value can reduce the chance of the requested number of nodes to be allocated in the pool. If not specified, this value defaults to 'Disabled'.
- Metadata
[]Metadata
Item Args - The Batch service does not assign any meaning to metadata; it is solely for the use of user code.
- Mount
Configuration []MountConfiguration Args - This supports Azure Files, NFS, CIFS/SMB, and Blobfuse.
- Network
Configuration NetworkConfiguration Args - The network configuration for a pool.
- Pool
Name string - The pool name. This must be unique within the account.
- map[string]string
- The user-defined tags to be associated with the Azure Batch Pool. When specified, these tags are propagated to the backing Azure resources associated with the pool. This property can only be specified when the Batch account was created with the poolAllocationMode property set to 'UserSubscription'.
- Scale
Settings ScaleSettings Args - Defines the desired size of the pool. This can either be 'fixedScale' where the requested targetDedicatedNodes is specified, or 'autoScale' which defines a formula which is periodically reevaluated. If this property is not specified, the pool will have a fixed scale with 0 targetDedicatedNodes.
- Start
Task StartTask Args - In an PATCH (update) operation, this property can be set to an empty object to remove the start task from the pool.
- map[string]string
- The tags of the resource.
- Target
Node NodeCommunication Mode Communication Mode - If omitted, the default value is Default.
- Task
Scheduling TaskPolicy Scheduling Policy Args - If not specified, the default is spread.
- Task
Slots intPer Node - The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256.
- Upgrade
Policy UpgradePolicy Args - Describes an upgrade policy - automatic, manual, or rolling.
- User
Accounts []UserAccount Args - The list of user accounts to be created on each node in the pool.
- Vm
Size string - For information about available VM sizes, see Sizes for Virtual Machines in Azure (https://learn.microsoft.com/azure/virtual-machines/sizes/overview). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series).
- account
Name String - A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- application
Licenses List<String> - The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail.
- application
Packages List<ApplicationPackage Reference> - Changes to application package references affect all new compute nodes joining the pool, but do not affect compute nodes that are already in the pool until they are rebooted or reimaged. There is a maximum of 10 application package references on any given pool.
- certificates
List<Certificate
Reference> For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
Warning: This property is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.
- deployment
Configuration DeploymentConfiguration - Deployment configuration properties.
- display
Name String - The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
- identity
Batch
Pool Identity - The type of identity used for the Batch Pool.
- inter
Node InterCommunication Node Communication State - This imposes restrictions on which nodes can be assigned to the pool. Enabling this value can reduce the chance of the requested number of nodes to be allocated in the pool. If not specified, this value defaults to 'Disabled'.
- metadata
List<Metadata
Item> - The Batch service does not assign any meaning to metadata; it is solely for the use of user code.
- mount
Configuration List<MountConfiguration> - This supports Azure Files, NFS, CIFS/SMB, and Blobfuse.
- network
Configuration NetworkConfiguration - The network configuration for a pool.
- pool
Name String - The pool name. This must be unique within the account.
- Map<String,String>
- The user-defined tags to be associated with the Azure Batch Pool. When specified, these tags are propagated to the backing Azure resources associated with the pool. This property can only be specified when the Batch account was created with the poolAllocationMode property set to 'UserSubscription'.
- scale
Settings ScaleSettings - Defines the desired size of the pool. This can either be 'fixedScale' where the requested targetDedicatedNodes is specified, or 'autoScale' which defines a formula which is periodically reevaluated. If this property is not specified, the pool will have a fixed scale with 0 targetDedicatedNodes.
- start
Task StartTask - In an PATCH (update) operation, this property can be set to an empty object to remove the start task from the pool.
- Map<String,String>
- The tags of the resource.
- target
Node NodeCommunication Mode Communication Mode - If omitted, the default value is Default.
- task
Scheduling TaskPolicy Scheduling Policy - If not specified, the default is spread.
- task
Slots IntegerPer Node - The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256.
- upgrade
Policy UpgradePolicy - Describes an upgrade policy - automatic, manual, or rolling.
- user
Accounts List<UserAccount> - The list of user accounts to be created on each node in the pool.
- vm
Size String - For information about available VM sizes, see Sizes for Virtual Machines in Azure (https://learn.microsoft.com/azure/virtual-machines/sizes/overview). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series).
- account
Name string - A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- application
Licenses string[] - The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail.
- application
Packages ApplicationPackage Reference[] - Changes to application package references affect all new compute nodes joining the pool, but do not affect compute nodes that are already in the pool until they are rebooted or reimaged. There is a maximum of 10 application package references on any given pool.
- certificates
Certificate
Reference[] For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
Warning: This property is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.
- deployment
Configuration DeploymentConfiguration - Deployment configuration properties.
- display
Name string - The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
- identity
Batch
Pool Identity - The type of identity used for the Batch Pool.
- inter
Node InterCommunication Node Communication State - This imposes restrictions on which nodes can be assigned to the pool. Enabling this value can reduce the chance of the requested number of nodes to be allocated in the pool. If not specified, this value defaults to 'Disabled'.
- metadata
Metadata
Item[] - The Batch service does not assign any meaning to metadata; it is solely for the use of user code.
- mount
Configuration MountConfiguration[] - This supports Azure Files, NFS, CIFS/SMB, and Blobfuse.
- network
Configuration NetworkConfiguration - The network configuration for a pool.
- pool
Name string - The pool name. This must be unique within the account.
- {[key: string]: string}
- The user-defined tags to be associated with the Azure Batch Pool. When specified, these tags are propagated to the backing Azure resources associated with the pool. This property can only be specified when the Batch account was created with the poolAllocationMode property set to 'UserSubscription'.
- scale
Settings ScaleSettings - Defines the desired size of the pool. This can either be 'fixedScale' where the requested targetDedicatedNodes is specified, or 'autoScale' which defines a formula which is periodically reevaluated. If this property is not specified, the pool will have a fixed scale with 0 targetDedicatedNodes.
- start
Task StartTask - In an PATCH (update) operation, this property can be set to an empty object to remove the start task from the pool.
- {[key: string]: string}
- The tags of the resource.
- target
Node NodeCommunication Mode Communication Mode - If omitted, the default value is Default.
- task
Scheduling TaskPolicy Scheduling Policy - If not specified, the default is spread.
- task
Slots numberPer Node - The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256.
- upgrade
Policy UpgradePolicy - Describes an upgrade policy - automatic, manual, or rolling.
- user
Accounts UserAccount[] - The list of user accounts to be created on each node in the pool.
- vm
Size string - For information about available VM sizes, see Sizes for Virtual Machines in Azure (https://learn.microsoft.com/azure/virtual-machines/sizes/overview). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series).
- account_
name str - A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- application_
licenses Sequence[str] - The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail.
- application_
packages Sequence[ApplicationPackage Reference Args] - Changes to application package references affect all new compute nodes joining the pool, but do not affect compute nodes that are already in the pool until they are rebooted or reimaged. There is a maximum of 10 application package references on any given pool.
- certificates
Sequence[Certificate
Reference Args] For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
Warning: This property is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.
- deployment_
configuration DeploymentConfiguration Args - Deployment configuration properties.
- display_
name str - The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
- identity
Batch
Pool Identity Args - The type of identity used for the Batch Pool.
- inter_
node_ Intercommunication Node Communication State - This imposes restrictions on which nodes can be assigned to the pool. Enabling this value can reduce the chance of the requested number of nodes to be allocated in the pool. If not specified, this value defaults to 'Disabled'.
- metadata
Sequence[Metadata
Item Args] - The Batch service does not assign any meaning to metadata; it is solely for the use of user code.
- mount_
configuration Sequence[MountConfiguration Args] - This supports Azure Files, NFS, CIFS/SMB, and Blobfuse.
- network_
configuration NetworkConfiguration Args - The network configuration for a pool.
- pool_
name str - The pool name. This must be unique within the account.
- Mapping[str, str]
- The user-defined tags to be associated with the Azure Batch Pool. When specified, these tags are propagated to the backing Azure resources associated with the pool. This property can only be specified when the Batch account was created with the poolAllocationMode property set to 'UserSubscription'.
- scale_
settings ScaleSettings Args - Defines the desired size of the pool. This can either be 'fixedScale' where the requested targetDedicatedNodes is specified, or 'autoScale' which defines a formula which is periodically reevaluated. If this property is not specified, the pool will have a fixed scale with 0 targetDedicatedNodes.
- start_
task StartTask Args - In an PATCH (update) operation, this property can be set to an empty object to remove the start task from the pool.
- Mapping[str, str]
- The tags of the resource.
- target_
node_ Nodecommunication_ mode Communication Mode - If omitted, the default value is Default.
- task_
scheduling_ Taskpolicy Scheduling Policy Args - If not specified, the default is spread.
- task_
slots_ intper_ node - The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256.
- upgrade_
policy UpgradePolicy Args - Describes an upgrade policy - automatic, manual, or rolling.
- user_
accounts Sequence[UserAccount Args] - The list of user accounts to be created on each node in the pool.
- vm_
size str - For information about available VM sizes, see Sizes for Virtual Machines in Azure (https://learn.microsoft.com/azure/virtual-machines/sizes/overview). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series).
- account
Name String - A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- application
Licenses List<String> - The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail.
- application
Packages List<Property Map> - Changes to application package references affect all new compute nodes joining the pool, but do not affect compute nodes that are already in the pool until they are rebooted or reimaged. There is a maximum of 10 application package references on any given pool.
- certificates List<Property Map>
For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
Warning: This property is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.
- deployment
Configuration Property Map - Deployment configuration properties.
- display
Name String - The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
- identity Property Map
- The type of identity used for the Batch Pool.
- inter
Node "Enabled" | "Disabled"Communication - This imposes restrictions on which nodes can be assigned to the pool. Enabling this value can reduce the chance of the requested number of nodes to be allocated in the pool. If not specified, this value defaults to 'Disabled'.
- metadata List<Property Map>
- The Batch service does not assign any meaning to metadata; it is solely for the use of user code.
- mount
Configuration List<Property Map> - This supports Azure Files, NFS, CIFS/SMB, and Blobfuse.
- network
Configuration Property Map - The network configuration for a pool.
- pool
Name String - The pool name. This must be unique within the account.
- Map<String>
- The user-defined tags to be associated with the Azure Batch Pool. When specified, these tags are propagated to the backing Azure resources associated with the pool. This property can only be specified when the Batch account was created with the poolAllocationMode property set to 'UserSubscription'.
- scale
Settings Property Map - Defines the desired size of the pool. This can either be 'fixedScale' where the requested targetDedicatedNodes is specified, or 'autoScale' which defines a formula which is periodically reevaluated. If this property is not specified, the pool will have a fixed scale with 0 targetDedicatedNodes.
- start
Task Property Map - In an PATCH (update) operation, this property can be set to an empty object to remove the start task from the pool.
- Map<String>
- The tags of the resource.
- target
Node "Default" | "Classic" | "Simplified"Communication Mode - If omitted, the default value is Default.
- task
Scheduling Property MapPolicy - If not specified, the default is spread.
- task
Slots NumberPer Node - The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256.
- upgrade
Policy Property Map - Describes an upgrade policy - automatic, manual, or rolling.
- user
Accounts List<Property Map> - The list of user accounts to be created on each node in the pool.
- vm
Size String - For information about available VM sizes, see Sizes for Virtual Machines in Azure (https://learn.microsoft.com/azure/virtual-machines/sizes/overview). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series).
Outputs
All input properties are implicitly available as output properties. Additionally, the Pool resource produces the following output properties:
- Allocation
State string - Whether the pool is resizing.
- Allocation
State stringTransition Time - The time at which the pool entered its current allocation state.
- Auto
Scale Pulumi.Run Azure Native. Batch. Outputs. Auto Scale Run Response - This property is set only if the pool automatically scales, i.e. autoScaleSettings are used.
- Azure
Api stringVersion - The Azure API version of the resource.
- Creation
Time string - The creation time of the pool.
- Current
Dedicated intNodes - The number of dedicated compute nodes currently in the pool.
- Current
Low intPriority Nodes - The number of Spot/low-priority compute nodes currently in the pool.
- Current
Node stringCommunication Mode - Determines how a pool communicates with the Batch service.
- Etag string
- The ETag of the resource, used for concurrency statements.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified string - This is the last time at which the pool level data, such as the targetDedicatedNodes or autoScaleSettings, changed. It does not factor in node-level changes such as a compute node changing state.
- Name string
- The name of the resource
- Provisioning
State string - The current state of the pool.
- Provisioning
State stringTransition Time - The time at which the pool entered its current state.
- Resize
Operation Pulumi.Status Azure Native. Batch. Outputs. Resize Operation Status Response - Describes either the current operation (if the pool AllocationState is Resizing) or the previously completed operation (if the AllocationState is Steady).
- System
Data Pulumi.Azure Native. Batch. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Allocation
State string - Whether the pool is resizing.
- Allocation
State stringTransition Time - The time at which the pool entered its current allocation state.
- Auto
Scale AutoRun Scale Run Response - This property is set only if the pool automatically scales, i.e. autoScaleSettings are used.
- Azure
Api stringVersion - The Azure API version of the resource.
- Creation
Time string - The creation time of the pool.
- Current
Dedicated intNodes - The number of dedicated compute nodes currently in the pool.
- Current
Low intPriority Nodes - The number of Spot/low-priority compute nodes currently in the pool.
- Current
Node stringCommunication Mode - Determines how a pool communicates with the Batch service.
- Etag string
- The ETag of the resource, used for concurrency statements.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified string - This is the last time at which the pool level data, such as the targetDedicatedNodes or autoScaleSettings, changed. It does not factor in node-level changes such as a compute node changing state.
- Name string
- The name of the resource
- Provisioning
State string - The current state of the pool.
- Provisioning
State stringTransition Time - The time at which the pool entered its current state.
- Resize
Operation ResizeStatus Operation Status Response - Describes either the current operation (if the pool AllocationState is Resizing) or the previously completed operation (if the AllocationState is Steady).
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- allocation
State String - Whether the pool is resizing.
- allocation
State StringTransition Time - The time at which the pool entered its current allocation state.
- auto
Scale AutoRun Scale Run Response - This property is set only if the pool automatically scales, i.e. autoScaleSettings are used.
- azure
Api StringVersion - The Azure API version of the resource.
- creation
Time String - The creation time of the pool.
- current
Dedicated IntegerNodes - The number of dedicated compute nodes currently in the pool.
- current
Low IntegerPriority Nodes - The number of Spot/low-priority compute nodes currently in the pool.
- current
Node StringCommunication Mode - Determines how a pool communicates with the Batch service.
- etag String
- The ETag of the resource, used for concurrency statements.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified String - This is the last time at which the pool level data, such as the targetDedicatedNodes or autoScaleSettings, changed. It does not factor in node-level changes such as a compute node changing state.
- name String
- The name of the resource
- provisioning
State String - The current state of the pool.
- provisioning
State StringTransition Time - The time at which the pool entered its current state.
- resize
Operation ResizeStatus Operation Status Response - Describes either the current operation (if the pool AllocationState is Resizing) or the previously completed operation (if the AllocationState is Steady).
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- allocation
State string - Whether the pool is resizing.
- allocation
State stringTransition Time - The time at which the pool entered its current allocation state.
- auto
Scale AutoRun Scale Run Response - This property is set only if the pool automatically scales, i.e. autoScaleSettings are used.
- azure
Api stringVersion - The Azure API version of the resource.
- creation
Time string - The creation time of the pool.
- current
Dedicated numberNodes - The number of dedicated compute nodes currently in the pool.
- current
Low numberPriority Nodes - The number of Spot/low-priority compute nodes currently in the pool.
- current
Node stringCommunication Mode - Determines how a pool communicates with the Batch service.
- etag string
- The ETag of the resource, used for concurrency statements.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Modified string - This is the last time at which the pool level data, such as the targetDedicatedNodes or autoScaleSettings, changed. It does not factor in node-level changes such as a compute node changing state.
- name string
- The name of the resource
- provisioning
State string - The current state of the pool.
- provisioning
State stringTransition Time - The time at which the pool entered its current state.
- resize
Operation ResizeStatus Operation Status Response - Describes either the current operation (if the pool AllocationState is Resizing) or the previously completed operation (if the AllocationState is Steady).
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- allocation_
state str - Whether the pool is resizing.
- allocation_
state_ strtransition_ time - The time at which the pool entered its current allocation state.
- auto_
scale_ Autorun Scale Run Response - This property is set only if the pool automatically scales, i.e. autoScaleSettings are used.
- azure_
api_ strversion - The Azure API version of the resource.
- creation_
time str - The creation time of the pool.
- current_
dedicated_ intnodes - The number of dedicated compute nodes currently in the pool.
- current_
low_ intpriority_ nodes - The number of Spot/low-priority compute nodes currently in the pool.
- current_
node_ strcommunication_ mode - Determines how a pool communicates with the Batch service.
- etag str
- The ETag of the resource, used for concurrency statements.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
modified str - This is the last time at which the pool level data, such as the targetDedicatedNodes or autoScaleSettings, changed. It does not factor in node-level changes such as a compute node changing state.
- name str
- The name of the resource
- provisioning_
state str - The current state of the pool.
- provisioning_
state_ strtransition_ time - The time at which the pool entered its current state.
- resize_
operation_ Resizestatus Operation Status Response - Describes either the current operation (if the pool AllocationState is Resizing) or the previously completed operation (if the AllocationState is Steady).
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- allocation
State String - Whether the pool is resizing.
- allocation
State StringTransition Time - The time at which the pool entered its current allocation state.
- auto
Scale Property MapRun - This property is set only if the pool automatically scales, i.e. autoScaleSettings are used.
- azure
Api StringVersion - The Azure API version of the resource.
- creation
Time String - The creation time of the pool.
- current
Dedicated NumberNodes - The number of dedicated compute nodes currently in the pool.
- current
Low NumberPriority Nodes - The number of Spot/low-priority compute nodes currently in the pool.
- current
Node StringCommunication Mode - Determines how a pool communicates with the Batch service.
- etag String
- The ETag of the resource, used for concurrency statements.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified String - This is the last time at which the pool level data, such as the targetDedicatedNodes or autoScaleSettings, changed. It does not factor in node-level changes such as a compute node changing state.
- name String
- The name of the resource
- provisioning
State String - The current state of the pool.
- provisioning
State StringTransition Time - The time at which the pool entered its current state.
- resize
Operation Property MapStatus - Describes either the current operation (if the pool AllocationState is Resizing) or the previously completed operation (if the AllocationState is Steady).
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
ApplicationPackageReference, ApplicationPackageReferenceArgs
Link to an application package inside the batch account- Id string
- The ID of the application package to install. This must be inside the same batch account as the pool. This can either be a reference to a specific version or the default version if one exists.
- Version string
- If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
- Id string
- The ID of the application package to install. This must be inside the same batch account as the pool. This can either be a reference to a specific version or the default version if one exists.
- Version string
- If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
- id String
- The ID of the application package to install. This must be inside the same batch account as the pool. This can either be a reference to a specific version or the default version if one exists.
- version String
- If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
- id string
- The ID of the application package to install. This must be inside the same batch account as the pool. This can either be a reference to a specific version or the default version if one exists.
- version string
- If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
- id str
- The ID of the application package to install. This must be inside the same batch account as the pool. This can either be a reference to a specific version or the default version if one exists.
- version str
- If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
- id String
- The ID of the application package to install. This must be inside the same batch account as the pool. This can either be a reference to a specific version or the default version if one exists.
- version String
- If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
ApplicationPackageReferenceResponse, ApplicationPackageReferenceResponseArgs
Link to an application package inside the batch account- Id string
- The ID of the application package to install. This must be inside the same batch account as the pool. This can either be a reference to a specific version or the default version if one exists.
- Version string
- If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
- Id string
- The ID of the application package to install. This must be inside the same batch account as the pool. This can either be a reference to a specific version or the default version if one exists.
- Version string
- If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
- id String
- The ID of the application package to install. This must be inside the same batch account as the pool. This can either be a reference to a specific version or the default version if one exists.
- version String
- If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
- id string
- The ID of the application package to install. This must be inside the same batch account as the pool. This can either be a reference to a specific version or the default version if one exists.
- version string
- If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
- id str
- The ID of the application package to install. This must be inside the same batch account as the pool. This can either be a reference to a specific version or the default version if one exists.
- version str
- If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
- id String
- The ID of the application package to install. This must be inside the same batch account as the pool. This can either be a reference to a specific version or the default version if one exists.
- version String
- If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
AutoScaleRunErrorResponse, AutoScaleRunErrorResponseArgs
An error that occurred when autoscaling a pool.- Code string
- An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
- Message string
- A message describing the error, intended to be suitable for display in a user interface.
- Details
List<Pulumi.
Azure Native. Batch. Inputs. Auto Scale Run Error Response> - Additional details about the error.
- Code string
- An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
- Message string
- A message describing the error, intended to be suitable for display in a user interface.
- Details
[]Auto
Scale Run Error Response - Additional details about the error.
- code String
- An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
- message String
- A message describing the error, intended to be suitable for display in a user interface.
- details
List<Auto
Scale Run Error Response> - Additional details about the error.
- code string
- An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
- message string
- A message describing the error, intended to be suitable for display in a user interface.
- details
Auto
Scale Run Error Response[] - Additional details about the error.
- code str
- An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
- message str
- A message describing the error, intended to be suitable for display in a user interface.
- details
Sequence[Auto
Scale Run Error Response] - Additional details about the error.
- code String
- An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
- message String
- A message describing the error, intended to be suitable for display in a user interface.
- details List<Property Map>
- Additional details about the error.
AutoScaleRunResponse, AutoScaleRunResponseArgs
The results and errors from an execution of a pool autoscale formula.- Evaluation
Time string - The time at which the autoscale formula was last evaluated.
- Error
Pulumi.
Azure Native. Batch. Inputs. Auto Scale Run Error Response - An error that occurred when autoscaling a pool.
- Results string
- Each variable value is returned in the form $variable=value, and variables are separated by semicolons.
- Evaluation
Time string - The time at which the autoscale formula was last evaluated.
- Error
Auto
Scale Run Error Response - An error that occurred when autoscaling a pool.
- Results string
- Each variable value is returned in the form $variable=value, and variables are separated by semicolons.
- evaluation
Time String - The time at which the autoscale formula was last evaluated.
- error
Auto
Scale Run Error Response - An error that occurred when autoscaling a pool.
- results String
- Each variable value is returned in the form $variable=value, and variables are separated by semicolons.
- evaluation
Time string - The time at which the autoscale formula was last evaluated.
- error
Auto
Scale Run Error Response - An error that occurred when autoscaling a pool.
- results string
- Each variable value is returned in the form $variable=value, and variables are separated by semicolons.
- evaluation_
time str - The time at which the autoscale formula was last evaluated.
- error
Auto
Scale Run Error Response - An error that occurred when autoscaling a pool.
- results str
- Each variable value is returned in the form $variable=value, and variables are separated by semicolons.
- evaluation
Time String - The time at which the autoscale formula was last evaluated.
- error Property Map
- An error that occurred when autoscaling a pool.
- results String
- Each variable value is returned in the form $variable=value, and variables are separated by semicolons.
AutoScaleSettings, AutoScaleSettingsArgs
AutoScale settings for the pool.- Formula string
- A formula for the desired number of compute nodes in the pool.
- Evaluation
Interval string - If omitted, the default value is 15 minutes (PT15M).
- Formula string
- A formula for the desired number of compute nodes in the pool.
- Evaluation
Interval string - If omitted, the default value is 15 minutes (PT15M).
- formula String
- A formula for the desired number of compute nodes in the pool.
- evaluation
Interval String - If omitted, the default value is 15 minutes (PT15M).
- formula string
- A formula for the desired number of compute nodes in the pool.
- evaluation
Interval string - If omitted, the default value is 15 minutes (PT15M).
- formula str
- A formula for the desired number of compute nodes in the pool.
- evaluation_
interval str - If omitted, the default value is 15 minutes (PT15M).
- formula String
- A formula for the desired number of compute nodes in the pool.
- evaluation
Interval String - If omitted, the default value is 15 minutes (PT15M).
AutoScaleSettingsResponse, AutoScaleSettingsResponseArgs
AutoScale settings for the pool.- Formula string
- A formula for the desired number of compute nodes in the pool.
- Evaluation
Interval string - If omitted, the default value is 15 minutes (PT15M).
- Formula string
- A formula for the desired number of compute nodes in the pool.
- Evaluation
Interval string - If omitted, the default value is 15 minutes (PT15M).
- formula String
- A formula for the desired number of compute nodes in the pool.
- evaluation
Interval String - If omitted, the default value is 15 minutes (PT15M).
- formula string
- A formula for the desired number of compute nodes in the pool.
- evaluation
Interval string - If omitted, the default value is 15 minutes (PT15M).
- formula str
- A formula for the desired number of compute nodes in the pool.
- evaluation_
interval str - If omitted, the default value is 15 minutes (PT15M).
- formula String
- A formula for the desired number of compute nodes in the pool.
- evaluation
Interval String - If omitted, the default value is 15 minutes (PT15M).
AutoUserScope, AutoUserScopeArgs
- Task
TaskSpecifies that the service should create a new user for the task.- Pool
PoolSpecifies that the task runs as the common auto user account which is created on every node in a pool.
- Auto
User Scope Task TaskSpecifies that the service should create a new user for the task.- Auto
User Scope Pool PoolSpecifies that the task runs as the common auto user account which is created on every node in a pool.
- Task
TaskSpecifies that the service should create a new user for the task.- Pool
PoolSpecifies that the task runs as the common auto user account which is created on every node in a pool.
- Task
TaskSpecifies that the service should create a new user for the task.- Pool
PoolSpecifies that the task runs as the common auto user account which is created on every node in a pool.
- TASK
TaskSpecifies that the service should create a new user for the task.- POOL
PoolSpecifies that the task runs as the common auto user account which is created on every node in a pool.
- "Task"
TaskSpecifies that the service should create a new user for the task.- "Pool"
PoolSpecifies that the task runs as the common auto user account which is created on every node in a pool.
AutoUserSpecification, AutoUserSpecificationArgs
Specifies the parameters for the auto user that runs a task on the Batch service.- Elevation
Level Pulumi.Azure Native. Batch. Elevation Level - The default value is nonAdmin.
- Scope
Pulumi.
Azure Native. Batch. Auto User Scope - The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.
- Elevation
Level ElevationLevel - The default value is nonAdmin.
- Scope
Auto
User Scope - The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.
- elevation
Level ElevationLevel - The default value is nonAdmin.
- scope
Auto
User Scope - The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.
- elevation
Level ElevationLevel - The default value is nonAdmin.
- scope
Auto
User Scope - The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.
- elevation_
level ElevationLevel - The default value is nonAdmin.
- scope
Auto
User Scope - The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.
- elevation
Level "NonAdmin" | "Admin" - The default value is nonAdmin.
- scope "Task" | "Pool"
- The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.
AutoUserSpecificationResponse, AutoUserSpecificationResponseArgs
Specifies the parameters for the auto user that runs a task on the Batch service.- Elevation
Level string - The default value is nonAdmin.
- Scope string
- The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.
- Elevation
Level string - The default value is nonAdmin.
- Scope string
- The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.
- elevation
Level String - The default value is nonAdmin.
- scope String
- The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.
- elevation
Level string - The default value is nonAdmin.
- scope string
- The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.
- elevation_
level str - The default value is nonAdmin.
- scope str
- The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.
- elevation
Level String - The default value is nonAdmin.
- scope String
- The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.
AutomaticOSUpgradePolicy, AutomaticOSUpgradePolicyArgs
The configuration parameters used for performing automatic OS upgrade.- Disable
Automatic boolRollback - Whether OS image rollback feature should be disabled.
- Enable
Automatic boolOSUpgrade - Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. If this is set to true for Windows based pools, WindowsConfiguration.enableAutomaticUpdates cannot be set to true.
- Os
Rolling boolUpgrade Deferral - Defer OS upgrades on the TVMs if they are running tasks.
- Use
Rolling boolUpgrade Policy - Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
- Disable
Automatic boolRollback - Whether OS image rollback feature should be disabled.
- Enable
Automatic boolOSUpgrade - Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. If this is set to true for Windows based pools, WindowsConfiguration.enableAutomaticUpdates cannot be set to true.
- Os
Rolling boolUpgrade Deferral - Defer OS upgrades on the TVMs if they are running tasks.
- Use
Rolling boolUpgrade Policy - Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
- disable
Automatic BooleanRollback - Whether OS image rollback feature should be disabled.
- enable
Automatic BooleanOSUpgrade - Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. If this is set to true for Windows based pools, WindowsConfiguration.enableAutomaticUpdates cannot be set to true.
- os
Rolling BooleanUpgrade Deferral - Defer OS upgrades on the TVMs if they are running tasks.
- use
Rolling BooleanUpgrade Policy - Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
- disable
Automatic booleanRollback - Whether OS image rollback feature should be disabled.
- enable
Automatic booleanOSUpgrade - Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. If this is set to true for Windows based pools, WindowsConfiguration.enableAutomaticUpdates cannot be set to true.
- os
Rolling booleanUpgrade Deferral - Defer OS upgrades on the TVMs if they are running tasks.
- use
Rolling booleanUpgrade Policy - Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
- disable_
automatic_ boolrollback - Whether OS image rollback feature should be disabled.
- enable_
automatic_ boolos_ upgrade - Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. If this is set to true for Windows based pools, WindowsConfiguration.enableAutomaticUpdates cannot be set to true.
- os_
rolling_ boolupgrade_ deferral - Defer OS upgrades on the TVMs if they are running tasks.
- use_
rolling_ boolupgrade_ policy - Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
- disable
Automatic BooleanRollback - Whether OS image rollback feature should be disabled.
- enable
Automatic BooleanOSUpgrade - Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. If this is set to true for Windows based pools, WindowsConfiguration.enableAutomaticUpdates cannot be set to true.
- os
Rolling BooleanUpgrade Deferral - Defer OS upgrades on the TVMs if they are running tasks.
- use
Rolling BooleanUpgrade Policy - Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
AutomaticOSUpgradePolicyResponse, AutomaticOSUpgradePolicyResponseArgs
The configuration parameters used for performing automatic OS upgrade.- Disable
Automatic boolRollback - Whether OS image rollback feature should be disabled.
- Enable
Automatic boolOSUpgrade - Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. If this is set to true for Windows based pools, WindowsConfiguration.enableAutomaticUpdates cannot be set to true.
- Os
Rolling boolUpgrade Deferral - Defer OS upgrades on the TVMs if they are running tasks.
- Use
Rolling boolUpgrade Policy - Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
- Disable
Automatic boolRollback - Whether OS image rollback feature should be disabled.
- Enable
Automatic boolOSUpgrade - Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. If this is set to true for Windows based pools, WindowsConfiguration.enableAutomaticUpdates cannot be set to true.
- Os
Rolling boolUpgrade Deferral - Defer OS upgrades on the TVMs if they are running tasks.
- Use
Rolling boolUpgrade Policy - Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
- disable
Automatic BooleanRollback - Whether OS image rollback feature should be disabled.
- enable
Automatic BooleanOSUpgrade - Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. If this is set to true for Windows based pools, WindowsConfiguration.enableAutomaticUpdates cannot be set to true.
- os
Rolling BooleanUpgrade Deferral - Defer OS upgrades on the TVMs if they are running tasks.
- use
Rolling BooleanUpgrade Policy - Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
- disable
Automatic booleanRollback - Whether OS image rollback feature should be disabled.
- enable
Automatic booleanOSUpgrade - Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. If this is set to true for Windows based pools, WindowsConfiguration.enableAutomaticUpdates cannot be set to true.
- os
Rolling booleanUpgrade Deferral - Defer OS upgrades on the TVMs if they are running tasks.
- use
Rolling booleanUpgrade Policy - Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
- disable_
automatic_ boolrollback - Whether OS image rollback feature should be disabled.
- enable_
automatic_ boolos_ upgrade - Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. If this is set to true for Windows based pools, WindowsConfiguration.enableAutomaticUpdates cannot be set to true.
- os_
rolling_ boolupgrade_ deferral - Defer OS upgrades on the TVMs if they are running tasks.
- use_
rolling_ boolupgrade_ policy - Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
- disable
Automatic BooleanRollback - Whether OS image rollback feature should be disabled.
- enable
Automatic BooleanOSUpgrade - Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. If this is set to true for Windows based pools, WindowsConfiguration.enableAutomaticUpdates cannot be set to true.
- os
Rolling BooleanUpgrade Deferral - Defer OS upgrades on the TVMs if they are running tasks.
- use
Rolling BooleanUpgrade Policy - Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
AzureBlobFileSystemConfiguration, AzureBlobFileSystemConfigurationArgs
Information used to connect to an Azure Storage Container using Blobfuse.- Account
Name string - The Azure Storage Account name.
- Container
Name string - The Azure Blob Storage Container name.
- Relative
Mount stringPath - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
- Account
Key string - This property is mutually exclusive with both sasKey and identity; exactly one must be specified.
- Blobfuse
Options string - These are 'net use' options in Windows and 'mount' options in Linux.
- Identity
Reference Pulumi.Azure Native. Batch. Inputs. Compute Node Identity Reference - This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.
- Sas
Key string - This property is mutually exclusive with both accountKey and identity; 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 - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
- Account
Key string - This property is mutually exclusive with both sasKey and identity; exactly one must be specified.
- Blobfuse
Options string - These are 'net use' options in Windows and 'mount' options in Linux.
- Identity
Reference ComputeNode Identity Reference - This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.
- Sas
Key string - This property is mutually exclusive with both accountKey and identity; 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 - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
- account
Key String - This property is mutually exclusive with both sasKey and identity; exactly one must be specified.
- blobfuse
Options String - These are 'net use' options in Windows and 'mount' options in Linux.
- identity
Reference ComputeNode Identity Reference - This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.
- sas
Key String - This property is mutually exclusive with both accountKey and identity; 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 - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
- account
Key string - This property is mutually exclusive with both sasKey and identity; exactly one must be specified.
- blobfuse
Options string - These are 'net use' options in Windows and 'mount' options in Linux.
- identity
Reference ComputeNode Identity Reference - This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.
- sas
Key string - This property is mutually exclusive with both accountKey and identity; 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 - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
- account_
key str - This property is mutually exclusive with both sasKey and identity; exactly one must be specified.
- blobfuse_
options str - These are 'net use' options in Windows and 'mount' options in Linux.
- identity_
reference ComputeNode Identity Reference - This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.
- sas_
key str - This property is mutually exclusive with both accountKey and identity; exactly one must be specified.
- account
Name String - The Azure Storage Account name.
- container
Name String - The Azure Blob Storage Container name.
- relative
Mount StringPath - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
- account
Key String - This property is mutually exclusive with both sasKey and identity; exactly one must be specified.
- blobfuse
Options String - These are 'net use' options in Windows and 'mount' options in Linux.
- identity
Reference Property Map - This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.
- sas
Key String - This property is mutually exclusive with both accountKey and identity; exactly one must be specified.
AzureBlobFileSystemConfigurationResponse, AzureBlobFileSystemConfigurationResponseArgs
Information used to connect to an Azure Storage Container using Blobfuse.- Account
Name string - The Azure Storage Account name.
- Container
Name string - The Azure Blob Storage Container name.
- Relative
Mount stringPath - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
- Account
Key string - This property is mutually exclusive with both sasKey and identity; exactly one must be specified.
- Blobfuse
Options string - These are 'net use' options in Windows and 'mount' options in Linux.
- Identity
Reference Pulumi.Azure Native. Batch. Inputs. Compute Node Identity Reference Response - This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.
- Sas
Key string - This property is mutually exclusive with both accountKey and identity; 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 - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
- Account
Key string - This property is mutually exclusive with both sasKey and identity; exactly one must be specified.
- Blobfuse
Options string - These are 'net use' options in Windows and 'mount' options in Linux.
- Identity
Reference ComputeNode Identity Reference Response - This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.
- Sas
Key string - This property is mutually exclusive with both accountKey and identity; 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 - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
- account
Key String - This property is mutually exclusive with both sasKey and identity; exactly one must be specified.
- blobfuse
Options String - These are 'net use' options in Windows and 'mount' options in Linux.
- identity
Reference ComputeNode Identity Reference Response - This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.
- sas
Key String - This property is mutually exclusive with both accountKey and identity; 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 - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
- account
Key string - This property is mutually exclusive with both sasKey and identity; exactly one must be specified.
- blobfuse
Options string - These are 'net use' options in Windows and 'mount' options in Linux.
- identity
Reference ComputeNode Identity Reference Response - This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.
- sas
Key string - This property is mutually exclusive with both accountKey and identity; 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 - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
- account_
key str - This property is mutually exclusive with both sasKey and identity; exactly one must be specified.
- blobfuse_
options str - These are 'net use' options in Windows and 'mount' options in Linux.
- identity_
reference ComputeNode Identity Reference Response - This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.
- sas_
key str - This property is mutually exclusive with both accountKey and identity; exactly one must be specified.
- account
Name String - The Azure Storage Account name.
- container
Name String - The Azure Blob Storage Container name.
- relative
Mount StringPath - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
- account
Key String - This property is mutually exclusive with both sasKey and identity; exactly one must be specified.
- blobfuse
Options String - These are 'net use' options in Windows and 'mount' options in Linux.
- identity
Reference Property Map - This property is mutually exclusive with both accountKey and sasKey; exactly one must be specified.
- sas
Key String - This property is mutually exclusive with both accountKey and identity; exactly one must be specified.
AzureFileShareConfiguration, AzureFileShareConfigurationArgs
Information used to connect to an Azure Fileshare.- Account
Key string - The Azure Storage account key.
- Account
Name string - The Azure Storage account name.
- Azure
File stringUrl - This is of the form 'https://{account}.file.core.windows.net/'.
- Relative
Mount stringPath - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
- Mount
Options string - 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 - This is of the form 'https://{account}.file.core.windows.net/'.
- Relative
Mount stringPath - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
- Mount
Options string - 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 - This is of the form 'https://{account}.file.core.windows.net/'.
- relative
Mount StringPath - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
- mount
Options String - 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 - This is of the form 'https://{account}.file.core.windows.net/'.
- relative
Mount stringPath - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
- mount
Options string - 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 - This is of the form 'https://{account}.file.core.windows.net/'.
- relative_
mount_ strpath - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
- mount_
options str - These are 'net use' options in Windows and 'mount' options in Linux.
- account
Key String - The Azure Storage account key.
- account
Name String - The Azure Storage account name.
- azure
File StringUrl - This is of the form 'https://{account}.file.core.windows.net/'.
- relative
Mount StringPath - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
- mount
Options String - These are 'net use' options in Windows and 'mount' options in Linux.
AzureFileShareConfigurationResponse, AzureFileShareConfigurationResponseArgs
Information used to connect to an Azure Fileshare.- Account
Key string - The Azure Storage account key.
- Account
Name string - The Azure Storage account name.
- Azure
File stringUrl - This is of the form 'https://{account}.file.core.windows.net/'.
- Relative
Mount stringPath - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
- Mount
Options string - 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 - This is of the form 'https://{account}.file.core.windows.net/'.
- Relative
Mount stringPath - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
- Mount
Options string - 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 - This is of the form 'https://{account}.file.core.windows.net/'.
- relative
Mount StringPath - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
- mount
Options String - 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 - This is of the form 'https://{account}.file.core.windows.net/'.
- relative
Mount stringPath - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
- mount
Options string - 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 - This is of the form 'https://{account}.file.core.windows.net/'.
- relative_
mount_ strpath - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
- mount_
options str - These are 'net use' options in Windows and 'mount' options in Linux.
- account
Key String - The Azure Storage account key.
- account
Name String - The Azure Storage account name.
- azure
File StringUrl - This is of the form 'https://{account}.file.core.windows.net/'.
- relative
Mount StringPath - All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
- mount
Options String - These are 'net use' options in Windows and 'mount' options in Linux.
BatchPoolIdentity, BatchPoolIdentityArgs
The identity of the Batch pool, if configured. If the pool identity is updated during update an existing pool, only the new vms which are created after the pool shrinks to 0 will have the updated identities- Type
Pulumi.
Azure Native. Batch. Pool Identity Type - The type of identity used for the Batch Pool.
- User
Assigned List<string>Identities - The list of user identities associated with the Batch pool.
- Type
Pool
Identity Type - The type of identity used for the Batch Pool.
- User
Assigned []stringIdentities - The list of user identities associated with the Batch pool.
- type
Pool
Identity Type - The type of identity used for the Batch Pool.
- user
Assigned List<String>Identities - The list of user identities associated with the Batch pool.
- type
Pool
Identity Type - The type of identity used for the Batch Pool.
- user
Assigned string[]Identities - The list of user identities associated with the Batch pool.
- type
Pool
Identity Type - The type of identity used for the Batch Pool.
- user_
assigned_ Sequence[str]identities - The list of user identities associated with the Batch pool.
- type
"User
Assigned" | "None" - The type of identity used for the Batch Pool.
- user
Assigned List<String>Identities - The list of user identities associated with the Batch pool.
BatchPoolIdentityResponse, BatchPoolIdentityResponseArgs
The identity of the Batch pool, if configured. If the pool identity is updated during update an existing pool, only the new vms which are created after the pool shrinks to 0 will have the updated identities- Type string
- The type of identity used for the Batch Pool.
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Batch. Inputs. User Assigned Identities Response> - The list of user identities associated with the Batch pool.
- Type string
- The type of identity used for the Batch Pool.
- User
Assigned map[string]UserIdentities Assigned Identities Response - The list of user identities associated with the Batch pool.
- type String
- The type of identity used for the Batch Pool.
- user
Assigned Map<String,UserIdentities Assigned Identities Response> - The list of user identities associated with the Batch pool.
- type string
- The type of identity used for the Batch Pool.
- user
Assigned {[key: string]: UserIdentities Assigned Identities Response} - The list of user identities associated with the Batch pool.
- type str
- The type of identity used for the Batch Pool.
- user_
assigned_ Mapping[str, Useridentities Assigned Identities Response] - The list of user identities associated with the Batch pool.
- type String
- The type of identity used for the Batch Pool.
- user
Assigned Map<Property Map>Identities - The list of user identities associated with the Batch pool.
CIFSMountConfiguration, CIFSMountConfigurationArgs
Information used to connect to a CIFS file system.- Password string
- The password to use for authentication against the CIFS file system.
- Relative
Mount stringPath - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - These are 'net use' options in Windows and 'mount' options in Linux.
CIFSMountConfigurationResponse, CIFSMountConfigurationResponseArgs
Information used to connect to a CIFS file system.- Password string
- The password to use for authentication against the CIFS file system.
- Relative
Mount stringPath - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - These are 'net use' options in Windows and 'mount' options in Linux.
CachingType, CachingTypeArgs
- None
NoneThe caching mode for the disk is not enabled.- Read
Only ReadOnlyThe caching mode for the disk is read only.- Read
Write ReadWriteThe caching mode for the disk is read and write.
- Caching
Type None NoneThe caching mode for the disk is not enabled.- Caching
Type Read Only ReadOnlyThe caching mode for the disk is read only.- Caching
Type Read Write ReadWriteThe caching mode for the disk is read and write.
- None
NoneThe caching mode for the disk is not enabled.- Read
Only ReadOnlyThe caching mode for the disk is read only.- Read
Write ReadWriteThe caching mode for the disk is read and write.
- None
NoneThe caching mode for the disk is not enabled.- Read
Only ReadOnlyThe caching mode for the disk is read only.- Read
Write ReadWriteThe caching mode for the disk is read and write.
- NONE
NoneThe caching mode for the disk is not enabled.- READ_ONLY
ReadOnlyThe caching mode for the disk is read only.- READ_WRITE
ReadWriteThe caching mode for the disk is read and write.
- "None"
NoneThe caching mode for the disk is not enabled.- "Read
Only" ReadOnlyThe caching mode for the disk is read only.- "Read
Write" ReadWriteThe caching mode for the disk is read and write.
CertificateReference, CertificateReferenceArgs
Warning: This object is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.- Id string
- The fully qualified ID of the certificate to install on the pool. This must be inside the same batch account as the pool.
- Store
Location Pulumi.Azure Native. Batch. Certificate Store Location - The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
- Store
Name string - This property is applicable only for pools configured with Windows compute nodes. Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My.
- Visibility
List<Pulumi.
Azure Native. Batch. Certificate Visibility> - Which user accounts on the compute node should have access to the private data of the certificate.
- Id string
- The fully qualified ID of the certificate to install on the pool. This must be inside the same batch account as the pool.
- Store
Location CertificateStore Location - The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
- Store
Name string - This property is applicable only for pools configured with Windows compute nodes. Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My.
- Visibility
[]Certificate
Visibility - Which user accounts on the compute node should have access to the private data of the certificate.
- id String
- The fully qualified ID of the certificate to install on the pool. This must be inside the same batch account as the pool.
- store
Location CertificateStore Location - The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
- store
Name String - This property is applicable only for pools configured with Windows compute nodes. Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My.
- visibility
List<Certificate
Visibility> - Which user accounts on the compute node should have access to the private data of the certificate.
- id string
- The fully qualified ID of the certificate to install on the pool. This must be inside the same batch account as the pool.
- store
Location CertificateStore Location - The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
- store
Name string - This property is applicable only for pools configured with Windows compute nodes. Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My.
- visibility
Certificate
Visibility[] - Which user accounts on the compute node should have access to the private data of the certificate.
- id str
- The fully qualified ID of the certificate to install on the pool. This must be inside the same batch account as the pool.
- store_
location CertificateStore Location - The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
- store_
name str - This property is applicable only for pools configured with Windows compute nodes. Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My.
- visibility
Sequence[Certificate
Visibility] - Which user accounts on the compute node should have access to the private data of the certificate.
- id String
- The fully qualified ID of the certificate to install on the pool. This must be inside the same batch account as the pool.
- store
Location "CurrentUser" | "Local Machine" - The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
- store
Name String - This property is applicable only for pools configured with Windows compute nodes. Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My.
- visibility
List<"Start
Task" | "Task" | "Remote User"> - Which user accounts on the compute node should have access to the private data of the certificate.
CertificateReferenceResponse, CertificateReferenceResponseArgs
Warning: This object is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.- Id string
- The fully qualified ID of the certificate to install on the pool. This must be inside the same batch account as the pool.
- Store
Location string - The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
- Store
Name string - This property is applicable only for pools configured with Windows compute nodes. Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My.
- Visibility List<string>
- Which user accounts on the compute node should have access to the private data of the certificate.
- Id string
- The fully qualified ID of the certificate to install on the pool. This must be inside the same batch account as the pool.
- Store
Location string - The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
- Store
Name string - This property is applicable only for pools configured with Windows compute nodes. Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My.
- Visibility []string
- Which user accounts on the compute node should have access to the private data of the certificate.
- id String
- The fully qualified ID of the certificate to install on the pool. This must be inside the same batch account as the pool.
- store
Location String - The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
- store
Name String - This property is applicable only for pools configured with Windows compute nodes. Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My.
- visibility List<String>
- Which user accounts on the compute node should have access to the private data of the certificate.
- id string
- The fully qualified ID of the certificate to install on the pool. This must be inside the same batch account as the pool.
- store
Location string - The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
- store
Name string - This property is applicable only for pools configured with Windows compute nodes. Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My.
- visibility string[]
- Which user accounts on the compute node should have access to the private data of the certificate.
- id str
- The fully qualified ID of the certificate to install on the pool. This must be inside the same batch account as the pool.
- store_
location str - The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
- store_
name str - This property is applicable only for pools configured with Windows compute nodes. Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My.
- visibility Sequence[str]
- Which user accounts on the compute node should have access to the private data of the certificate.
- id String
- The fully qualified ID of the certificate to install on the pool. This must be inside the same batch account as the pool.
- store
Location String - The default value is currentUser. This property is applicable only for pools configured with Windows compute nodes. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.
- store
Name String - This property is applicable only for pools configured with Windows compute nodes. Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My.
- visibility List<String>
- Which user accounts on the compute node should have access to the private data of the certificate.
CertificateStoreLocation, CertificateStoreLocationArgs
- Current
User CurrentUserCertificates should be installed to the CurrentUser certificate store.- Local
Machine LocalMachineCertificates should be installed to the LocalMachine certificate store.
- Certificate
Store Location Current User CurrentUserCertificates should be installed to the CurrentUser certificate store.- Certificate
Store Location Local Machine LocalMachineCertificates should be installed to the LocalMachine certificate store.
- Current
User CurrentUserCertificates should be installed to the CurrentUser certificate store.- Local
Machine LocalMachineCertificates should be installed to the LocalMachine certificate store.
- Current
User CurrentUserCertificates should be installed to the CurrentUser certificate store.- Local
Machine LocalMachineCertificates should be installed to the LocalMachine certificate store.
- CURRENT_USER
CurrentUserCertificates should be installed to the CurrentUser certificate store.- LOCAL_MACHINE
LocalMachineCertificates should be installed to the LocalMachine certificate store.
- "Current
User" CurrentUserCertificates should be installed to the CurrentUser certificate store.- "Local
Machine" LocalMachineCertificates should be installed to the LocalMachine certificate store.
CertificateVisibility, CertificateVisibilityArgs
- Start
Task StartTaskThe certificate should be visible to the user account under which the start task is run. Note that if AutoUser Scope is Pool for both the StartTask and a Task, this certificate will be visible to the Task as well.- Task
TaskThe certificate should be visible to the user accounts under which job tasks are run.- Remote
User RemoteUserThe certificate should be visible to the user accounts under which users remotely access the node.
- Certificate
Visibility Start Task StartTaskThe certificate should be visible to the user account under which the start task is run. Note that if AutoUser Scope is Pool for both the StartTask and a Task, this certificate will be visible to the Task as well.- Certificate
Visibility Task TaskThe certificate should be visible to the user accounts under which job tasks are run.- Certificate
Visibility Remote User RemoteUserThe certificate should be visible to the user accounts under which users remotely access the node.
- Start
Task StartTaskThe certificate should be visible to the user account under which the start task is run. Note that if AutoUser Scope is Pool for both the StartTask and a Task, this certificate will be visible to the Task as well.- Task
TaskThe certificate should be visible to the user accounts under which job tasks are run.- Remote
User RemoteUserThe certificate should be visible to the user accounts under which users remotely access the node.
- Start
Task StartTaskThe certificate should be visible to the user account under which the start task is run. Note that if AutoUser Scope is Pool for both the StartTask and a Task, this certificate will be visible to the Task as well.- Task
TaskThe certificate should be visible to the user accounts under which job tasks are run.- Remote
User RemoteUserThe certificate should be visible to the user accounts under which users remotely access the node.
- START_TASK
StartTaskThe certificate should be visible to the user account under which the start task is run. Note that if AutoUser Scope is Pool for both the StartTask and a Task, this certificate will be visible to the Task as well.- TASK
TaskThe certificate should be visible to the user accounts under which job tasks are run.- REMOTE_USER
RemoteUserThe certificate should be visible to the user accounts under which users remotely access the node.
- "Start
Task" StartTaskThe certificate should be visible to the user account under which the start task is run. Note that if AutoUser Scope is Pool for both the StartTask and a Task, this certificate will be visible to the Task as well.- "Task"
TaskThe certificate should be visible to the user accounts under which job tasks are run.- "Remote
User" RemoteUserThe certificate should be visible to the user accounts under which users remotely access the node.
ComputeNodeDeallocationOption, ComputeNodeDeallocationOptionArgs
- Requeue
RequeueTerminate running task processes and requeue the tasks. The tasks will run again when a node is available. Remove nodes as soon as tasks have been terminated.- Terminate
TerminateTerminate running tasks. The tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Remove nodes as soon as tasks have been terminated.- Task
Completion TaskCompletionAllow currently running tasks to complete. Schedule no new tasks while waiting. Remove nodes when all tasks have completed.- Retained
Data RetainedDataDeprecated, we encourage you to upload task data to Azure Storage in your task and useTaskCompletioninstead. Allow currently running tasks to complete, then wait for all task data retention periods to expire. Schedule no new tasks while waiting. Remove nodes when all task retention periods have expired.
- Compute
Node Deallocation Option Requeue RequeueTerminate running task processes and requeue the tasks. The tasks will run again when a node is available. Remove nodes as soon as tasks have been terminated.- Compute
Node Deallocation Option Terminate TerminateTerminate running tasks. The tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Remove nodes as soon as tasks have been terminated.- Compute
Node Deallocation Option Task Completion TaskCompletionAllow currently running tasks to complete. Schedule no new tasks while waiting. Remove nodes when all tasks have completed.- Compute
Node Deallocation Option Retained Data RetainedDataDeprecated, we encourage you to upload task data to Azure Storage in your task and useTaskCompletioninstead. Allow currently running tasks to complete, then wait for all task data retention periods to expire. Schedule no new tasks while waiting. Remove nodes when all task retention periods have expired.
- Requeue
RequeueTerminate running task processes and requeue the tasks. The tasks will run again when a node is available. Remove nodes as soon as tasks have been terminated.- Terminate
TerminateTerminate running tasks. The tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Remove nodes as soon as tasks have been terminated.- Task
Completion TaskCompletionAllow currently running tasks to complete. Schedule no new tasks while waiting. Remove nodes when all tasks have completed.- Retained
Data RetainedDataDeprecated, we encourage you to upload task data to Azure Storage in your task and useTaskCompletioninstead. Allow currently running tasks to complete, then wait for all task data retention periods to expire. Schedule no new tasks while waiting. Remove nodes when all task retention periods have expired.
- Requeue
RequeueTerminate running task processes and requeue the tasks. The tasks will run again when a node is available. Remove nodes as soon as tasks have been terminated.- Terminate
TerminateTerminate running tasks. The tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Remove nodes as soon as tasks have been terminated.- Task
Completion TaskCompletionAllow currently running tasks to complete. Schedule no new tasks while waiting. Remove nodes when all tasks have completed.- Retained
Data RetainedDataDeprecated, we encourage you to upload task data to Azure Storage in your task and useTaskCompletioninstead. Allow currently running tasks to complete, then wait for all task data retention periods to expire. Schedule no new tasks while waiting. Remove nodes when all task retention periods have expired.
- REQUEUE
RequeueTerminate running task processes and requeue the tasks. The tasks will run again when a node is available. Remove nodes as soon as tasks have been terminated.- TERMINATE
TerminateTerminate running tasks. The tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Remove nodes as soon as tasks have been terminated.- TASK_COMPLETION
TaskCompletionAllow currently running tasks to complete. Schedule no new tasks while waiting. Remove nodes when all tasks have completed.- RETAINED_DATA
RetainedDataDeprecated, we encourage you to upload task data to Azure Storage in your task and useTaskCompletioninstead. Allow currently running tasks to complete, then wait for all task data retention periods to expire. Schedule no new tasks while waiting. Remove nodes when all task retention periods have expired.
- "Requeue"
RequeueTerminate running task processes and requeue the tasks. The tasks will run again when a node is available. Remove nodes as soon as tasks have been terminated.- "Terminate"
TerminateTerminate running tasks. The tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Remove nodes as soon as tasks have been terminated.- "Task
Completion" TaskCompletionAllow currently running tasks to complete. Schedule no new tasks while waiting. Remove nodes when all tasks have completed.- "Retained
Data" RetainedDataDeprecated, we encourage you to upload task data to Azure Storage in your task and useTaskCompletioninstead. Allow currently running tasks to complete, then wait for all task data retention periods to expire. Schedule no new tasks while waiting. Remove nodes when all task retention periods have expired.
ComputeNodeFillType, ComputeNodeFillTypeArgs
- Spread
SpreadTasks should be assigned evenly across all nodes in the pool.- Pack
PackAs many tasks as possible (taskSlotsPerNode) should be assigned to each node in the pool before any tasks are assigned to the next node in the pool.
- Compute
Node Fill Type Spread SpreadTasks should be assigned evenly across all nodes in the pool.- Compute
Node Fill Type Pack PackAs many tasks as possible (taskSlotsPerNode) should be assigned to each node in the pool before any tasks are assigned to the next node in the pool.
- Spread
SpreadTasks should be assigned evenly across all nodes in the pool.- Pack
PackAs many tasks as possible (taskSlotsPerNode) should be assigned to each node in the pool before any tasks are assigned to the next node in the pool.
- Spread
SpreadTasks should be assigned evenly across all nodes in the pool.- Pack
PackAs many tasks as possible (taskSlotsPerNode) should be assigned to each node in the pool before any tasks are assigned to the next node in the pool.
- SPREAD
SpreadTasks should be assigned evenly across all nodes in the pool.- PACK
PackAs many tasks as possible (taskSlotsPerNode) should be assigned to each node in the pool before any tasks are assigned to the next node in the pool.
- "Spread"
SpreadTasks should be assigned evenly across all nodes in the pool.- "Pack"
PackAs many tasks as possible (taskSlotsPerNode) should be assigned to each node in the pool before any tasks are assigned to the next node in the pool.
ComputeNodeIdentityReference, ComputeNodeIdentityReferenceArgs
The reference to a user assigned identity associated with the Batch pool which a compute node will use.- Resource
Id string - The ARM resource id of the user assigned identity.
- Resource
Id string - The ARM resource id of the user assigned identity.
- resource
Id String - The ARM resource id of the user assigned identity.
- resource
Id string - The ARM resource id of the user assigned identity.
- resource_
id str - The ARM resource id of the user assigned identity.
- resource
Id String - The ARM resource id of the user assigned identity.
ComputeNodeIdentityReferenceResponse, ComputeNodeIdentityReferenceResponseArgs
The reference to a user assigned identity associated with the Batch pool which a compute node will use.- Resource
Id string - The ARM resource id of the user assigned identity.
- Resource
Id string - The ARM resource id of the user assigned identity.
- resource
Id String - The ARM resource id of the user assigned identity.
- resource
Id string - The ARM resource id of the user assigned identity.
- resource_
id str - The ARM resource id of the user assigned identity.
- resource
Id String - The ARM resource id of the user assigned identity.
ContainerConfiguration, ContainerConfigurationArgs
The configuration for container-enabled pools.- Type
string | Pulumi.
Azure Native. Batch. Container Type - The container technology to be used.
- Container
Image List<string>Names - This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
- Container
Registries List<Pulumi.Azure Native. Batch. Inputs. Container Registry> - If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.
- Type
string | Container
Type - The container technology to be used.
- Container
Image []stringNames - This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
- Container
Registries []ContainerRegistry - If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.
- type
String | Container
Type - The container technology to be used.
- container
Image List<String>Names - This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
- container
Registries List<ContainerRegistry> - If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.
- type
string | Container
Type - The container technology to be used.
- container
Image string[]Names - This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
- container
Registries ContainerRegistry[] - If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.
- type
str | Container
Type - The container technology to be used.
- container_
image_ Sequence[str]names - This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
- container_
registries Sequence[ContainerRegistry] - If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.
- type
String | "Docker
Compatible" | "Cri Compatible" - The container technology to be used.
- container
Image List<String>Names - This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
- container
Registries List<Property Map> - If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.
ContainerConfigurationResponse, ContainerConfigurationResponseArgs
The configuration for container-enabled pools.- Type string
- The container technology to be used.
- Container
Image List<string>Names - This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
- Container
Registries List<Pulumi.Azure Native. Batch. Inputs. Container Registry Response> - If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.
- Type string
- The container technology to be used.
- Container
Image []stringNames - This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
- Container
Registries []ContainerRegistry Response - If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.
- type String
- The container technology to be used.
- container
Image List<String>Names - This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
- container
Registries List<ContainerRegistry Response> - If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.
- type string
- The container technology to be used.
- container
Image string[]Names - This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
- container
Registries ContainerRegistry Response[] - If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.
- type str
- The container technology to be used.
- container_
image_ Sequence[str]names - This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
- container_
registries Sequence[ContainerRegistry Response] - If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.
- type String
- The container technology to be used.
- container
Image List<String>Names - This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.
- container
Registries List<Property Map> - If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.
ContainerHostBatchBindMountEntry, ContainerHostBatchBindMountEntryArgs
The entry of path and mount mode you want to mount into task container.- Is
Read boolOnly - For Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.
- Source
string | Pulumi.
Azure Native. Batch. Container Host Data Path - The paths which will be mounted to container task's container.
- Is
Read boolOnly - For Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.
- Source
string | Container
Host Data Path - The paths which will be mounted to container task's container.
- is
Read BooleanOnly - For Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.
- source
String | Container
Host Data Path - The paths which will be mounted to container task's container.
- is
Read booleanOnly - For Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.
- source
string | Container
Host Data Path - The paths which will be mounted to container task's container.
- is_
read_ boolonly - For Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.
- source
str | Container
Host Data Path - The paths which will be mounted to container task's container.
- is
Read BooleanOnly - For Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.
- source
String | "Shared" | "Startup" | "Vfs
Mounts" | "Task" | "Job Prep" | "Applications" - The paths which will be mounted to container task's container.
ContainerHostBatchBindMountEntryResponse, ContainerHostBatchBindMountEntryResponseArgs
The entry of path and mount mode you want to mount into task container.- Is
Read boolOnly - For Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.
- Source string
- The paths which will be mounted to container task's container.
- Is
Read boolOnly - For Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.
- Source string
- The paths which will be mounted to container task's container.
- is
Read BooleanOnly - For Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.
- source String
- The paths which will be mounted to container task's container.
- is
Read booleanOnly - For Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.
- source string
- The paths which will be mounted to container task's container.
- is_
read_ boolonly - For Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.
- source str
- The paths which will be mounted to container task's container.
- is
Read BooleanOnly - For Linux, if you mount this path as a read/write mode, this does not mean that all users in container have the read/write access for the path, it depends on the access in host VM. If this path is mounted read-only, all users within the container will not be able to modify the path.
- source String
- The paths which will be mounted to container task's container.
ContainerHostDataPath, ContainerHostDataPathArgs
- Shared
SharedThe path for multi-instances task to shared their files.- Startup
StartupThe path for start task.- Vfs
Mounts VfsMountsThe path contains all virtual file systems are mounted on this node.- Task
TaskThe task path.- Job
Prep JobPrepThe job-prep task path.- Applications
ApplicationsThe applications path.
- Container
Host Data Path Shared SharedThe path for multi-instances task to shared their files.- Container
Host Data Path Startup StartupThe path for start task.- Container
Host Data Path Vfs Mounts VfsMountsThe path contains all virtual file systems are mounted on this node.- Container
Host Data Path Task TaskThe task path.- Container
Host Data Path Job Prep JobPrepThe job-prep task path.- Container
Host Data Path Applications ApplicationsThe applications path.
- Shared
SharedThe path for multi-instances task to shared their files.- Startup
StartupThe path for start task.- Vfs
Mounts VfsMountsThe path contains all virtual file systems are mounted on this node.- Task
TaskThe task path.- Job
Prep JobPrepThe job-prep task path.- Applications
ApplicationsThe applications path.
- Shared
SharedThe path for multi-instances task to shared their files.- Startup
StartupThe path for start task.- Vfs
Mounts VfsMountsThe path contains all virtual file systems are mounted on this node.- Task
TaskThe task path.- Job
Prep JobPrepThe job-prep task path.- Applications
ApplicationsThe applications path.
- SHARED
SharedThe path for multi-instances task to shared their files.- STARTUP
StartupThe path for start task.- VFS_MOUNTS
VfsMountsThe path contains all virtual file systems are mounted on this node.- TASK
TaskThe task path.- JOB_PREP
JobPrepThe job-prep task path.- APPLICATIONS
ApplicationsThe applications path.
- "Shared"
SharedThe path for multi-instances task to shared their files.- "Startup"
StartupThe path for start task.- "Vfs
Mounts" VfsMountsThe path contains all virtual file systems are mounted on this node.- "Task"
TaskThe task path.- "Job
Prep" JobPrepThe job-prep task path.- "Applications"
ApplicationsThe applications path.
ContainerRegistry, ContainerRegistryArgs
A private container registry.- Identity
Reference Pulumi.Azure Native. Batch. Inputs. Compute Node Identity Reference - The reference to a user assigned identity associated with the Batch pool which a compute node will use.
- Password string
- The password to log into the registry server.
- Registry
Server string - If omitted, the default is "docker.io".
- User
Name string - The user name to log into the registry server.
- Identity
Reference ComputeNode Identity Reference - The reference to a user assigned identity associated with the Batch pool which a compute node will use.
- Password string
- The password to log into the registry server.
- Registry
Server string - If omitted, the default is "docker.io".
- User
Name string - The user name to log into the registry server.
- identity
Reference ComputeNode Identity Reference - The reference to a user assigned identity associated with the Batch pool which a compute node will use.
- password String
- The password to log into the registry server.
- registry
Server String - If omitted, the default is "docker.io".
- user
Name String - The user name to log into the registry server.
- identity
Reference ComputeNode Identity Reference - The reference to a user assigned identity associated with the Batch pool which a compute node will use.
- password string
- The password to log into the registry server.
- registry
Server string - If omitted, the default is "docker.io".
- user
Name string - The user name to log into the registry server.
- identity_
reference ComputeNode Identity Reference - The reference to a user assigned identity associated with the Batch pool which a compute node will use.
- password str
- The password to log into the registry server.
- registry_
server str - If omitted, the default is "docker.io".
- user_
name str - The user name to log into the registry server.
- identity
Reference Property Map - The reference to a user assigned identity associated with the Batch pool which a compute node will use.
- password String
- The password to log into the registry server.
- registry
Server String - If omitted, the default is "docker.io".
- user
Name String - The user name to log into the registry server.
ContainerRegistryResponse, ContainerRegistryResponseArgs
A private container registry.- Identity
Reference Pulumi.Azure Native. Batch. Inputs. Compute Node Identity Reference Response - The reference to a user assigned identity associated with the Batch pool which a compute node will use.
- Password string
- The password to log into the registry server.
- Registry
Server string - If omitted, the default is "docker.io".
- User
Name string - The user name to log into the registry server.
- Identity
Reference ComputeNode Identity Reference Response - The reference to a user assigned identity associated with the Batch pool which a compute node will use.
- Password string
- The password to log into the registry server.
- Registry
Server string - If omitted, the default is "docker.io".
- User
Name string - The user name to log into the registry server.
- identity
Reference ComputeNode Identity Reference Response - The reference to a user assigned identity associated with the Batch pool which a compute node will use.
- password String
- The password to log into the registry server.
- registry
Server String - If omitted, the default is "docker.io".
- user
Name String - The user name to log into the registry server.
- identity
Reference ComputeNode Identity Reference Response - The reference to a user assigned identity associated with the Batch pool which a compute node will use.
- password string
- The password to log into the registry server.
- registry
Server string - If omitted, the default is "docker.io".
- user
Name string - The user name to log into the registry server.
- identity_
reference ComputeNode Identity Reference Response - The reference to a user assigned identity associated with the Batch pool which a compute node will use.
- password str
- The password to log into the registry server.
- registry_
server str - If omitted, the default is "docker.io".
- user_
name str - The user name to log into the registry server.
- identity
Reference Property Map - The reference to a user assigned identity associated with the Batch pool which a compute node will use.
- password String
- The password to log into the registry server.
- registry
Server String - If omitted, the default is "docker.io".
- user
Name String - The user name to log into the registry server.
ContainerType, ContainerTypeArgs
- Docker
Compatible DockerCompatibleA Docker compatible container technology will be used to launch the containers.- Cri
Compatible CriCompatibleA CRI based technology will be used to launch the containers.
- Container
Type Docker Compatible DockerCompatibleA Docker compatible container technology will be used to launch the containers.- Container
Type Cri Compatible CriCompatibleA CRI based technology will be used to launch the containers.
- Docker
Compatible DockerCompatibleA Docker compatible container technology will be used to launch the containers.- Cri
Compatible CriCompatibleA CRI based technology will be used to launch the containers.
- Docker
Compatible DockerCompatibleA Docker compatible container technology will be used to launch the containers.- Cri
Compatible CriCompatibleA CRI based technology will be used to launch the containers.
- DOCKER_COMPATIBLE
DockerCompatibleA Docker compatible container technology will be used to launch the containers.- CRI_COMPATIBLE
CriCompatibleA CRI based technology will be used to launch the containers.
- "Docker
Compatible" DockerCompatibleA Docker compatible container technology will be used to launch the containers.- "Cri
Compatible" CriCompatibleA CRI based technology will be used to launch the containers.
ContainerWorkingDirectory, ContainerWorkingDirectoryArgs
- Task
Working Directory TaskWorkingDirectoryUse the standard Batch service task working directory, which will contain the Task resource files populated by Batch.- Container
Image Default ContainerImageDefaultUsing container image defined working directory. Beware that this directory will not contain the resource files downloaded by Batch.
- Container
Working Directory Task Working Directory TaskWorkingDirectoryUse the standard Batch service task working directory, which will contain the Task resource files populated by Batch.- Container
Working Directory Container Image Default ContainerImageDefaultUsing container image defined working directory. Beware that this directory will not contain the resource files downloaded by Batch.
- Task
Working Directory TaskWorkingDirectoryUse the standard Batch service task working directory, which will contain the Task resource files populated by Batch.- Container
Image Default ContainerImageDefaultUsing container image defined working directory. Beware that this directory will not contain the resource files downloaded by Batch.
- Task
Working Directory TaskWorkingDirectoryUse the standard Batch service task working directory, which will contain the Task resource files populated by Batch.- Container
Image Default ContainerImageDefaultUsing container image defined working directory. Beware that this directory will not contain the resource files downloaded by Batch.
- TASK_WORKING_DIRECTORY
TaskWorkingDirectoryUse the standard Batch service task working directory, which will contain the Task resource files populated by Batch.- CONTAINER_IMAGE_DEFAULT
ContainerImageDefaultUsing container image defined working directory. Beware that this directory will not contain the resource files downloaded by Batch.
- "Task
Working Directory" TaskWorkingDirectoryUse the standard Batch service task working directory, which will contain the Task resource files populated by Batch.- "Container
Image Default" ContainerImageDefaultUsing container image defined working directory. Beware that this directory will not contain the resource files downloaded by Batch.
DataDisk, DataDiskArgs
Settings which will be used by the data disks associated to Compute Nodes in the Pool. When using attached data disks, you need to mount and format the disks from within a VM to use them.- 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
Pulumi.
Azure Native. Batch. Caching Type Values are:
none - The caching mode for the disk is not enabled. readOnly - The caching mode for the disk is read only. readWrite - The caching mode for the disk is read and write.
The default value for caching is none. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/.
- Storage
Account Pulumi.Type Azure Native. Batch. Storage Account Type 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
Caching
Type Values are:
none - The caching mode for the disk is not enabled. readOnly - The caching mode for the disk is read only. readWrite - The caching mode for the disk is read and write.
The default value for caching is none. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/.
- Storage
Account StorageType Account Type 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
Caching
Type Values are:
none - The caching mode for the disk is not enabled. readOnly - The caching mode for the disk is read only. readWrite - The caching mode for the disk is read and write.
The default value for caching is none. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/.
- storage
Account StorageType Account Type 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
Caching
Type Values are:
none - The caching mode for the disk is not enabled. readOnly - The caching mode for the disk is read only. readWrite - The caching mode for the disk is read and write.
The default value for caching is none. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/.
- storage
Account StorageType Account Type 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
Caching
Type Values are:
none - The caching mode for the disk is not enabled. readOnly - The caching mode for the disk is read only. readWrite - The caching mode for the disk is read and write.
The default value for caching is none. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/.
- storage_
account_ Storagetype Account Type 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
"None" | "Read
Only" | "Read Write" Values are:
none - The caching mode for the disk is not enabled. readOnly - The caching mode for the disk is read only. readWrite - The caching mode for the disk is read and write.
The default value for caching is none. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/.
- storage
Account "Standard_LRS" | "Premium_LRS" | "StandardType SSD_LRS" If omitted, the default is "Standard_LRS". Values are:
Standard_LRS - The data disk should use standard locally redundant storage. Premium_LRS - The data disk should use premium locally redundant storage.
DataDiskResponse, DataDiskResponseArgs
Settings which will be used by the data disks associated to Compute Nodes in the Pool. When using attached data disks, you need to mount and format the disks from within a VM to use them.- 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/.
- Storage
Account stringType 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/.
- Storage
Account stringType 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/.
- storage
Account StringType 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/.
- storage
Account stringType 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/.
- storage_
account_ strtype 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/.
- storage
Account StringType If omitted, the default is "Standard_LRS". Values are:
Standard_LRS - The data disk should use standard locally redundant storage. Premium_LRS - The data disk should use premium locally redundant storage.
DeploymentConfiguration, DeploymentConfigurationArgs
Deployment configuration properties.- Virtual
Machine Pulumi.Configuration Azure Native. Batch. Inputs. Virtual Machine Configuration - The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure.
- Virtual
Machine VirtualConfiguration Machine Configuration - The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure.
- virtual
Machine VirtualConfiguration Machine Configuration - The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure.
- virtual
Machine VirtualConfiguration Machine Configuration - The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure.
- virtual_
machine_ Virtualconfiguration Machine Configuration - The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure.
- virtual
Machine Property MapConfiguration - The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure.
DeploymentConfigurationResponse, DeploymentConfigurationResponseArgs
Deployment configuration properties.- Virtual
Machine Pulumi.Configuration Azure Native. Batch. Inputs. Virtual Machine Configuration Response - The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure.
- Virtual
Machine VirtualConfiguration Machine Configuration Response - The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure.
- virtual
Machine VirtualConfiguration Machine Configuration Response - The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure.
- virtual
Machine VirtualConfiguration Machine Configuration Response - The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure.
- virtual_
machine_ Virtualconfiguration Machine Configuration Response - The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure.
- virtual
Machine Property MapConfiguration - The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure.
DiffDiskPlacement, DiffDiskPlacementArgs
- Cache
Disk CacheDiskThe OS disk will be placed on the cache disk of the VM.
- Diff
Disk Placement Cache Disk CacheDiskThe OS disk will be placed on the cache disk of the VM.
- Cache
Disk CacheDiskThe OS disk will be placed on the cache disk of the VM.
- Cache
Disk CacheDiskThe OS disk will be placed on the cache disk of the VM.
- CACHE_DISK
CacheDiskThe OS disk will be placed on the cache disk of the VM.
- "Cache
Disk" CacheDiskThe OS disk will be placed on the cache disk of the VM.
DiffDiskSettings, DiffDiskSettingsArgs
Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.- Placement
Pulumi.
Azure Native. Batch. Diff Disk Placement - This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
- Placement
Diff
Disk Placement - This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
- placement
Diff
Disk Placement - This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
- placement
Diff
Disk Placement - This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
- placement
Diff
Disk Placement - This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
- placement
"Cache
Disk" - This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
DiffDiskSettingsResponse, DiffDiskSettingsResponseArgs
Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.- Placement string
- This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
- Placement string
- This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
- placement String
- This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
- placement string
- This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
- placement str
- This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
- placement String
- This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
DiskEncryptionConfiguration, DiskEncryptionConfigurationArgs
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 Azure Compute Gallery Image.- Targets
List<Pulumi.
Azure Native. Batch. Disk Encryption Target> - On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
- Targets
[]Disk
Encryption Target - On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
- targets
List<Disk
Encryption Target> - On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
- targets
Disk
Encryption Target[] - On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
- targets
Sequence[Disk
Encryption Target] - On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
- targets
List<"Os
Disk" | "Temporary Disk"> - On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
DiskEncryptionConfigurationResponse, DiskEncryptionConfigurationResponseArgs
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 Azure Compute Gallery Image.- Targets List<string>
- On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
- Targets []string
- On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
- targets List<String>
- On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
- targets string[]
- On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
- targets Sequence[str]
- On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
- targets List<String>
- On Linux pool, only "TemporaryDisk" is supported; on Windows pool, "OsDisk" and "TemporaryDisk" must be specified.
DiskEncryptionTarget, DiskEncryptionTargetArgs
- Os
Disk OsDiskThe OS Disk on the compute node is encrypted.- Temporary
Disk TemporaryDiskThe temporary disk on the compute node is encrypted. On Linux this encryption applies to other partitions (such as those on mounted data disks) when encryption occurs at boot time.
- Disk
Encryption Target Os Disk OsDiskThe OS Disk on the compute node is encrypted.- Disk
Encryption Target Temporary Disk TemporaryDiskThe temporary disk on the compute node is encrypted. On Linux this encryption applies to other partitions (such as those on mounted data disks) when encryption occurs at boot time.
- Os
Disk OsDiskThe OS Disk on the compute node is encrypted.- Temporary
Disk TemporaryDiskThe temporary disk on the compute node is encrypted. On Linux this encryption applies to other partitions (such as those on mounted data disks) when encryption occurs at boot time.
- Os
Disk OsDiskThe OS Disk on the compute node is encrypted.- Temporary
Disk TemporaryDiskThe temporary disk on the compute node is encrypted. On Linux this encryption applies to other partitions (such as those on mounted data disks) when encryption occurs at boot time.
- OS_DISK
OsDiskThe OS Disk on the compute node is encrypted.- TEMPORARY_DISK
TemporaryDiskThe temporary disk on the compute node is encrypted. On Linux this encryption applies to other partitions (such as those on mounted data disks) when encryption occurs at boot time.
- "Os
Disk" OsDiskThe OS Disk on the compute node is encrypted.- "Temporary
Disk" TemporaryDiskThe temporary disk on the compute node is encrypted. On Linux this encryption applies to other partitions (such as those on mounted data disks) when encryption occurs at boot time.
DynamicVNetAssignmentScope, DynamicVNetAssignmentScopeArgs
- None
noneNo dynamic VNet assignment is enabled.- Job
jobDynamic VNet assignment is done per-job. If this value is set, the network configuration subnet ID must also be set. This feature requires approval before use, please contact support
- Dynamic
VNet Assignment Scope None noneNo dynamic VNet assignment is enabled.- Dynamic
VNet Assignment Scope Job jobDynamic VNet assignment is done per-job. If this value is set, the network configuration subnet ID must also be set. This feature requires approval before use, please contact support
- None
noneNo dynamic VNet assignment is enabled.- Job
jobDynamic VNet assignment is done per-job. If this value is set, the network configuration subnet ID must also be set. This feature requires approval before use, please contact support
- None
noneNo dynamic VNet assignment is enabled.- Job
jobDynamic VNet assignment is done per-job. If this value is set, the network configuration subnet ID must also be set. This feature requires approval before use, please contact support
- NONE
noneNo dynamic VNet assignment is enabled.- JOB
jobDynamic VNet assignment is done per-job. If this value is set, the network configuration subnet ID must also be set. This feature requires approval before use, please contact support
- "none"
noneNo dynamic VNet assignment is enabled.- "job"
jobDynamic VNet assignment is done per-job. If this value is set, the network configuration subnet ID must also be set. This feature requires approval before use, please contact support
ElevationLevel, ElevationLevelArgs
- Non
Admin NonAdminThe user is a standard user without elevated access.- Admin
AdminThe user is a user with elevated access and operates with full Administrator permissions.
- Elevation
Level Non Admin NonAdminThe user is a standard user without elevated access.- Elevation
Level Admin AdminThe user is a user with elevated access and operates with full Administrator permissions.
- Non
Admin NonAdminThe user is a standard user without elevated access.- Admin
AdminThe user is a user with elevated access and operates with full Administrator permissions.
- Non
Admin NonAdminThe user is a standard user without elevated access.- Admin
AdminThe user is a user with elevated access and operates with full Administrator permissions.
- NON_ADMIN
NonAdminThe user is a standard user without elevated access.- ADMIN
AdminThe user is a user with elevated access and operates with full Administrator permissions.
- "Non
Admin" NonAdminThe user is a standard user without elevated access.- "Admin"
AdminThe user is a user with elevated access and operates with full Administrator permissions.
EnvironmentSetting, EnvironmentSettingArgs
An environment variable to be set on a task process.EnvironmentSettingResponse, EnvironmentSettingResponseArgs
An environment variable to be set on a task process.FixedScaleSettings, FixedScaleSettingsArgs
Fixed scale settings for the pool.- Node
Deallocation Pulumi.Option Azure Native. Batch. Compute Node Deallocation Option - If omitted, the default value is Requeue.
- Resize
Timeout string - The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
- Target
Dedicated intNodes - At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
- Target
Low intPriority Nodes - At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
- Node
Deallocation ComputeOption Node Deallocation Option - If omitted, the default value is Requeue.
- Resize
Timeout string - The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
- Target
Dedicated intNodes - At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
- Target
Low intPriority Nodes - At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
- node
Deallocation ComputeOption Node Deallocation Option - If omitted, the default value is Requeue.
- resize
Timeout String - The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
- target
Dedicated IntegerNodes - At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
- target
Low IntegerPriority Nodes - At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
- node
Deallocation ComputeOption Node Deallocation Option - If omitted, the default value is Requeue.
- resize
Timeout string - The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
- target
Dedicated numberNodes - At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
- target
Low numberPriority Nodes - At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
- node_
deallocation_ Computeoption Node Deallocation Option - If omitted, the default value is Requeue.
- resize_
timeout str - The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
- target_
dedicated_ intnodes - At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
- target_
low_ intpriority_ nodes - At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
- node
Deallocation "Requeue" | "Terminate" | "TaskOption Completion" | "Retained Data" - If omitted, the default value is Requeue.
- resize
Timeout String - The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
- target
Dedicated NumberNodes - At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
- target
Low NumberPriority Nodes - At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
FixedScaleSettingsResponse, FixedScaleSettingsResponseArgs
Fixed scale settings for the pool.- Resize
Timeout string - The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
- Target
Dedicated intNodes - At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
- Target
Low intPriority Nodes - At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
- Resize
Timeout string - The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
- Target
Dedicated intNodes - At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
- Target
Low intPriority Nodes - At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
- resize
Timeout String - The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
- target
Dedicated IntegerNodes - At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
- target
Low IntegerPriority Nodes - At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
- resize
Timeout string - The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
- target
Dedicated numberNodes - At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
- target
Low numberPriority Nodes - At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
- resize_
timeout str - The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
- target_
dedicated_ intnodes - At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
- target_
low_ intpriority_ nodes - At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
- resize
Timeout String - The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
- target
Dedicated NumberNodes - At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
- target
Low NumberPriority Nodes - At least one of targetDedicatedNodes, targetLowPriorityNodes must be set.
IPAddressProvisioningType, IPAddressProvisioningTypeArgs
- Batch
Managed BatchManagedA public IP will be created and managed by Batch. There may be multiple public IPs depending on the size of the Pool.- User
Managed UserManagedPublic IPs are provided by the user and will be used to provision the Compute Nodes.- No
Public IPAddresses NoPublicIPAddressesNo public IP Address will be created for the Compute Nodes in the Pool.
- IPAddress
Provisioning Type Batch Managed BatchManagedA public IP will be created and managed by Batch. There may be multiple public IPs depending on the size of the Pool.- IPAddress
Provisioning Type User Managed UserManagedPublic IPs are provided by the user and will be used to provision the Compute Nodes.- IPAddress
Provisioning Type No Public IPAddresses NoPublicIPAddressesNo public IP Address will be created for the Compute Nodes in the Pool.
- Batch
Managed BatchManagedA public IP will be created and managed by Batch. There may be multiple public IPs depending on the size of the Pool.- User
Managed UserManagedPublic IPs are provided by the user and will be used to provision the Compute Nodes.- No
Public IPAddresses NoPublicIPAddressesNo public IP Address will be created for the Compute Nodes in the Pool.
- Batch
Managed BatchManagedA public IP will be created and managed by Batch. There may be multiple public IPs depending on the size of the Pool.- User
Managed UserManagedPublic IPs are provided by the user and will be used to provision the Compute Nodes.- No
Public IPAddresses NoPublicIPAddressesNo public IP Address will be created for the Compute Nodes in the Pool.
- BATCH_MANAGED
BatchManagedA public IP will be created and managed by Batch. There may be multiple public IPs depending on the size of the Pool.- USER_MANAGED
UserManagedPublic IPs are provided by the user and will be used to provision the Compute Nodes.- NO_PUBLIC_IP_ADDRESSES
NoPublicIPAddressesNo public IP Address will be created for the Compute Nodes in the Pool.
- "Batch
Managed" BatchManagedA public IP will be created and managed by Batch. There may be multiple public IPs depending on the size of the Pool.- "User
Managed" UserManagedPublic IPs are provided by the user and will be used to provision the Compute Nodes.- "No
Public IPAddresses" NoPublicIPAddressesNo public IP Address will be created for the Compute Nodes in the Pool.
ImageReference, ImageReferenceArgs
A reference to an Azure Virtual Machines Marketplace image or the Azure Image resource of a custom Virtual Machine. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation.- Community
Gallery stringImage Id - This property is mutually exclusive with other properties and can be fetched from community gallery image GET call.
- Id string
- This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
- Offer string
- For example, UbuntuServer or WindowsServer.
- Publisher string
- For example, Canonical or MicrosoftWindowsServer.
- string
- This property is mutually exclusive with other properties and can be fetched from shared gallery image GET call.
- Sku string
- For example, 18.04-LTS or 2022-datacenter.
- Version string
- A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
- Community
Gallery stringImage Id - This property is mutually exclusive with other properties and can be fetched from community gallery image GET call.
- Id string
- This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
- Offer string
- For example, UbuntuServer or WindowsServer.
- Publisher string
- For example, Canonical or MicrosoftWindowsServer.
- string
- This property is mutually exclusive with other properties and can be fetched from shared gallery image GET call.
- Sku string
- For example, 18.04-LTS or 2022-datacenter.
- Version string
- A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
- community
Gallery StringImage Id - This property is mutually exclusive with other properties and can be fetched from community gallery image GET call.
- id String
- This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
- offer String
- For example, UbuntuServer or WindowsServer.
- publisher String
- For example, Canonical or MicrosoftWindowsServer.
- String
- This property is mutually exclusive with other properties and can be fetched from shared gallery image GET call.
- sku String
- For example, 18.04-LTS or 2022-datacenter.
- version String
- A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
- community
Gallery stringImage Id - This property is mutually exclusive with other properties and can be fetched from community gallery image GET call.
- id string
- This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
- offer string
- For example, UbuntuServer or WindowsServer.
- publisher string
- For example, Canonical or MicrosoftWindowsServer.
- string
- This property is mutually exclusive with other properties and can be fetched from shared gallery image GET call.
- sku string
- For example, 18.04-LTS or 2022-datacenter.
- version string
- A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
- community_
gallery_ strimage_ id - This property is mutually exclusive with other properties and can be fetched from community gallery image GET call.
- id str
- This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
- offer str
- For example, UbuntuServer or WindowsServer.
- publisher str
- For example, Canonical or MicrosoftWindowsServer.
- str
- This property is mutually exclusive with other properties and can be fetched from shared gallery image GET call.
- sku str
- For example, 18.04-LTS or 2022-datacenter.
- version str
- A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
- community
Gallery StringImage Id - This property is mutually exclusive with other properties and can be fetched from community gallery image GET call.
- id String
- This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
- offer String
- For example, UbuntuServer or WindowsServer.
- publisher String
- For example, Canonical or MicrosoftWindowsServer.
- String
- This property is mutually exclusive with other properties and can be fetched from shared gallery image GET call.
- sku String
- For example, 18.04-LTS or 2022-datacenter.
- version String
- A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
ImageReferenceResponse, ImageReferenceResponseArgs
A reference to an Azure Virtual Machines Marketplace image or the Azure Image resource of a custom Virtual Machine. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation.- Community
Gallery stringImage Id - This property is mutually exclusive with other properties and can be fetched from community gallery image GET call.
- Id string
- This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
- Offer string
- For example, UbuntuServer or WindowsServer.
- Publisher string
- For example, Canonical or MicrosoftWindowsServer.
- string
- This property is mutually exclusive with other properties and can be fetched from shared gallery image GET call.
- Sku string
- For example, 18.04-LTS or 2022-datacenter.
- Version string
- A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
- Community
Gallery stringImage Id - This property is mutually exclusive with other properties and can be fetched from community gallery image GET call.
- Id string
- This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
- Offer string
- For example, UbuntuServer or WindowsServer.
- Publisher string
- For example, Canonical or MicrosoftWindowsServer.
- string
- This property is mutually exclusive with other properties and can be fetched from shared gallery image GET call.
- Sku string
- For example, 18.04-LTS or 2022-datacenter.
- Version string
- A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
- community
Gallery StringImage Id - This property is mutually exclusive with other properties and can be fetched from community gallery image GET call.
- id String
- This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
- offer String
- For example, UbuntuServer or WindowsServer.
- publisher String
- For example, Canonical or MicrosoftWindowsServer.
- String
- This property is mutually exclusive with other properties and can be fetched from shared gallery image GET call.
- sku String
- For example, 18.04-LTS or 2022-datacenter.
- version String
- A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
- community
Gallery stringImage Id - This property is mutually exclusive with other properties and can be fetched from community gallery image GET call.
- id string
- This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
- offer string
- For example, UbuntuServer or WindowsServer.
- publisher string
- For example, Canonical or MicrosoftWindowsServer.
- string
- This property is mutually exclusive with other properties and can be fetched from shared gallery image GET call.
- sku string
- For example, 18.04-LTS or 2022-datacenter.
- version string
- A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
- community_
gallery_ strimage_ id - This property is mutually exclusive with other properties and can be fetched from community gallery image GET call.
- id str
- This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
- offer str
- For example, UbuntuServer or WindowsServer.
- publisher str
- For example, Canonical or MicrosoftWindowsServer.
- str
- This property is mutually exclusive with other properties and can be fetched from shared gallery image GET call.
- sku str
- For example, 18.04-LTS or 2022-datacenter.
- version str
- A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
- community
Gallery StringImage Id - This property is mutually exclusive with other properties and can be fetched from community gallery image GET call.
- id String
- This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
- offer String
- For example, UbuntuServer or WindowsServer.
- publisher String
- For example, Canonical or MicrosoftWindowsServer.
- String
- This property is mutually exclusive with other properties and can be fetched from shared gallery image GET call.
- sku String
- For example, 18.04-LTS or 2022-datacenter.
- version String
- A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
InboundEndpointProtocol, InboundEndpointProtocolArgs
- TCP
TCPUse TCP for the endpoint.- UDP
UDPUse UDP for the endpoint.
- Inbound
Endpoint Protocol TCP TCPUse TCP for the endpoint.- Inbound
Endpoint Protocol UDP UDPUse UDP for the endpoint.
- TCP
TCPUse TCP for the endpoint.- UDP
UDPUse UDP for the endpoint.
- TCP
TCPUse TCP for the endpoint.- UDP
UDPUse UDP for the endpoint.
- TCP
TCPUse TCP for the endpoint.- UDP
UDPUse UDP for the endpoint.
- "TCP"
TCPUse TCP for the endpoint.- "UDP"
UDPUse UDP for the endpoint.
InboundNatPool, InboundNatPoolArgs
A inbound NAT pool that can be used to address specific ports on compute nodes in a Batch pool externally.- Backend
Port int - This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400.
- Frontend
Port intRange End - Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
- Frontend
Port intRange Start - Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
- Name string
- The name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400.
- Protocol
Pulumi.
Azure Native. Batch. Inbound Endpoint Protocol - The protocol of the endpoint.
- Network
Security List<Pulumi.Group Rules Azure Native. Batch. Inputs. Network Security Group Rule> - The maximum number of rules that can be specified across all the endpoints on a Batch pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.
- Backend
Port int - This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400.
- Frontend
Port intRange End - Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
- Frontend
Port intRange Start - Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
- Name string
- The name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400.
- Protocol
Inbound
Endpoint Protocol - The protocol of the endpoint.
- Network
Security []NetworkGroup Rules Security Group Rule - The maximum number of rules that can be specified across all the endpoints on a Batch pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.
- backend
Port Integer - This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400.
- frontend
Port IntegerRange End - Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
- frontend
Port IntegerRange Start - Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
- name String
- The name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400.
- protocol
Inbound
Endpoint Protocol - The protocol of the endpoint.
- network
Security List<NetworkGroup Rules Security Group Rule> - The maximum number of rules that can be specified across all the endpoints on a Batch pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.
- backend
Port number - This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400.
- frontend
Port numberRange End - Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
- frontend
Port numberRange Start - Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
- name string
- The name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400.
- protocol
Inbound
Endpoint Protocol - The protocol of the endpoint.
- network
Security NetworkGroup Rules Security Group Rule[] - The maximum number of rules that can be specified across all the endpoints on a Batch pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.
- backend_
port int - This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400.
- frontend_
port_ intrange_ end - Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
- frontend_
port_ intrange_ start - Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
- name str
- The name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400.
- protocol
Inbound
Endpoint Protocol - The protocol of the endpoint.
- network_
security_ Sequence[Networkgroup_ rules Security Group Rule] - The maximum number of rules that can be specified across all the endpoints on a Batch pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.
- backend
Port Number - This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400.
- frontend
Port NumberRange End - Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
- frontend
Port NumberRange Start - Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
- name String
- The name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400.
- protocol "TCP" | "UDP"
- The protocol of the endpoint.
- network
Security List<Property Map>Group Rules - The maximum number of rules that can be specified across all the endpoints on a Batch pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.
InboundNatPoolResponse, InboundNatPoolResponseArgs
A inbound NAT pool that can be used to address specific ports on compute nodes in a Batch pool externally.- Backend
Port int - This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400.
- Frontend
Port intRange End - Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
- Frontend
Port intRange Start - Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
- Name string
- The name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400.
- Protocol string
- The protocol of the endpoint.
- Network
Security List<Pulumi.Group Rules Azure Native. Batch. Inputs. Network Security Group Rule Response> - The maximum number of rules that can be specified across all the endpoints on a Batch pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.
- Backend
Port int - This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400.
- Frontend
Port intRange End - Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
- Frontend
Port intRange Start - Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
- Name string
- The name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400.
- Protocol string
- The protocol of the endpoint.
- Network
Security []NetworkGroup Rules Security Group Rule Response - The maximum number of rules that can be specified across all the endpoints on a Batch pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.
- backend
Port Integer - This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400.
- frontend
Port IntegerRange End - Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
- frontend
Port IntegerRange Start - Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
- name String
- The name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400.
- protocol String
- The protocol of the endpoint.
- network
Security List<NetworkGroup Rules Security Group Rule Response> - The maximum number of rules that can be specified across all the endpoints on a Batch pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.
- backend
Port number - This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400.
- frontend
Port numberRange End - Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
- frontend
Port numberRange Start - Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
- name string
- The name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400.
- protocol string
- The protocol of the endpoint.
- network
Security NetworkGroup Rules Security Group Rule Response[] - The maximum number of rules that can be specified across all the endpoints on a Batch pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.
- backend_
port int - This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400.
- frontend_
port_ intrange_ end - Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
- frontend_
port_ intrange_ start - Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
- name str
- The name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400.
- protocol str
- The protocol of the endpoint.
- network_
security_ Sequence[Networkgroup_ rules Security Group Rule Response] - The maximum number of rules that can be specified across all the endpoints on a Batch pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.
- backend
Port Number - This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400.
- frontend
Port NumberRange End - Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
- frontend
Port NumberRange Start - Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400.
- name String
- The name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400.
- protocol String
- The protocol of the endpoint.
- network
Security List<Property Map>Group Rules - The maximum number of rules that can be specified across all the endpoints on a Batch pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.
InterNodeCommunicationState, InterNodeCommunicationStateArgs
- Enabled
EnabledEnable network communication between virtual machines.- Disabled
DisabledDisable network communication between virtual machines.
- Inter
Node Communication State Enabled EnabledEnable network communication between virtual machines.- Inter
Node Communication State Disabled DisabledDisable network communication between virtual machines.
- Enabled
EnabledEnable network communication between virtual machines.- Disabled
DisabledDisable network communication between virtual machines.
- Enabled
EnabledEnable network communication between virtual machines.- Disabled
DisabledDisable network communication between virtual machines.
- ENABLED
EnabledEnable network communication between virtual machines.- DISABLED
DisabledDisable network communication between virtual machines.
- "Enabled"
EnabledEnable network communication between virtual machines.- "Disabled"
DisabledDisable network communication between virtual machines.
LinuxUserConfiguration, LinuxUserConfigurationArgs
Properties used to create a user account on a Linux node.- Gid int
- The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
- Ssh
Private stringKey - The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
- Uid int
- The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
- Gid int
- The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
- Ssh
Private stringKey - The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
- Uid int
- The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
- gid Integer
- The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
- ssh
Private StringKey - The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
- uid Integer
- The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
- gid number
- The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
- ssh
Private stringKey - The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
- uid number
- The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
- gid int
- The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
- ssh_
private_ strkey - The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
- uid int
- The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
- gid Number
- The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
- ssh
Private StringKey - The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
- uid Number
- The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
LinuxUserConfigurationResponse, LinuxUserConfigurationResponseArgs
Properties used to create a user account on a Linux node.- Gid int
- The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
- Ssh
Private stringKey - The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
- Uid int
- The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
- Gid int
- The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
- Ssh
Private stringKey - The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
- Uid int
- The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
- gid Integer
- The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
- ssh
Private StringKey - The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
- uid Integer
- The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
- gid number
- The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
- ssh
Private stringKey - The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
- uid number
- The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
- gid int
- The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
- ssh_
private_ strkey - The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
- uid int
- The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
- gid Number
- The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid.
- ssh
Private StringKey - The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done).
- uid Number
- The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
LoginMode, LoginModeArgs
- Batch
BatchThe LOGON32_LOGON_BATCH Win32 login mode. The batch login mode is recommended for long running parallel processes.- Interactive
InteractiveThe LOGON32_LOGON_INTERACTIVE Win32 login mode. Some applications require having permissions associated with the interactive login mode. If this is the case for an application used in your task, then this option is recommended.
- Login
Mode Batch BatchThe LOGON32_LOGON_BATCH Win32 login mode. The batch login mode is recommended for long running parallel processes.- Login
Mode Interactive InteractiveThe LOGON32_LOGON_INTERACTIVE Win32 login mode. Some applications require having permissions associated with the interactive login mode. If this is the case for an application used in your task, then this option is recommended.
- Batch
BatchThe LOGON32_LOGON_BATCH Win32 login mode. The batch login mode is recommended for long running parallel processes.- Interactive
InteractiveThe LOGON32_LOGON_INTERACTIVE Win32 login mode. Some applications require having permissions associated with the interactive login mode. If this is the case for an application used in your task, then this option is recommended.
- Batch
BatchThe LOGON32_LOGON_BATCH Win32 login mode. The batch login mode is recommended for long running parallel processes.- Interactive
InteractiveThe LOGON32_LOGON_INTERACTIVE Win32 login mode. Some applications require having permissions associated with the interactive login mode. If this is the case for an application used in your task, then this option is recommended.
- BATCH
BatchThe LOGON32_LOGON_BATCH Win32 login mode. The batch login mode is recommended for long running parallel processes.- INTERACTIVE
InteractiveThe LOGON32_LOGON_INTERACTIVE Win32 login mode. Some applications require having permissions associated with the interactive login mode. If this is the case for an application used in your task, then this option is recommended.
- "Batch"
BatchThe LOGON32_LOGON_BATCH Win32 login mode. The batch login mode is recommended for long running parallel processes.- "Interactive"
InteractiveThe LOGON32_LOGON_INTERACTIVE Win32 login mode. Some applications require having permissions associated with the interactive login mode. If this is the case for an application used in your task, then this option is recommended.
ManagedDisk, ManagedDiskArgs
- Security
Profile Pulumi.Azure Native. Batch. Inputs. VMDisk Security Profile - Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.
- Storage
Account Pulumi.Type Azure Native. Batch. Storage Account Type - The storage account type for use in creating data disks or OS disk.
- Security
Profile VMDiskSecurity Profile - Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.
- Storage
Account StorageType Account Type - The storage account type for use in creating data disks or OS disk.
- security
Profile VMDiskSecurity Profile - Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.
- storage
Account StorageType Account Type - The storage account type for use in creating data disks or OS disk.
- security
Profile VMDiskSecurity Profile - Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.
- storage
Account StorageType Account Type - The storage account type for use in creating data disks or OS disk.
- security_
profile VMDiskSecurity Profile - Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.
- storage_
account_ Storagetype Account Type - The storage account type for use in creating data disks or OS disk.
- security
Profile Property Map - Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.
- storage
Account "Standard_LRS" | "Premium_LRS" | "StandardType SSD_LRS" - The storage account type for use in creating data disks or OS disk.
ManagedDiskResponse, ManagedDiskResponseArgs
- Security
Profile Pulumi.Azure Native. Batch. Inputs. VMDisk Security Profile Response - Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.
- Storage
Account stringType - The storage account type for use in creating data disks or OS disk.
- Security
Profile VMDiskSecurity Profile Response - Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.
- Storage
Account stringType - The storage account type for use in creating data disks or OS disk.
- security
Profile VMDiskSecurity Profile Response - Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.
- storage
Account StringType - The storage account type for use in creating data disks or OS disk.
- security
Profile VMDiskSecurity Profile Response - Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.
- storage
Account stringType - The storage account type for use in creating data disks or OS disk.
- security_
profile VMDiskSecurity Profile Response - Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.
- storage_
account_ strtype - The storage account type for use in creating data disks or OS disk.
- security
Profile Property Map - Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.
- storage
Account StringType - The storage account type for use in creating data disks or OS disk.
MetadataItem, MetadataItemArgs
The Batch service does not assign any meaning to this metadata; it is solely for the use of user code.MetadataItemResponse, MetadataItemResponseArgs
The Batch service does not assign any meaning to this metadata; it is solely for the use of user code.MountConfiguration, MountConfigurationArgs
The file system to mount on each node.- Azure
Blob Pulumi.File System Configuration Azure Native. Batch. Inputs. Azure Blob File System Configuration - This property is mutually exclusive with all other properties.
-
Pulumi.
Azure Native. Batch. Inputs. Azure File Share Configuration - This property is mutually exclusive with all other properties.
- Cifs
Mount Pulumi.Configuration Azure Native. Batch. Inputs. CIFSMount Configuration - This property is mutually exclusive with all other properties.
- Nfs
Mount Pulumi.Configuration Azure Native. Batch. Inputs. NFSMount Configuration - This property is mutually exclusive with all other properties.
- Azure
Blob AzureFile System Configuration Blob File System Configuration - This property is mutually exclusive with all other properties.
-
Azure
File Share Configuration - This property is mutually exclusive with all other properties.
- Cifs
Mount CIFSMountConfiguration Configuration - This property is mutually exclusive with all other properties.
- Nfs
Mount NFSMountConfiguration Configuration - This property is mutually exclusive with all other properties.
- azure
Blob AzureFile System Configuration Blob File System Configuration - This property is mutually exclusive with all other properties.
-
Azure
File Share Configuration - This property is mutually exclusive with all other properties.
- cifs
Mount CIFSMountConfiguration Configuration - This property is mutually exclusive with all other properties.
- nfs
Mount NFSMountConfiguration Configuration - This property is mutually exclusive with all other properties.
- azure
Blob AzureFile System Configuration Blob File System Configuration - This property is mutually exclusive with all other properties.
-
Azure
File Share Configuration - This property is mutually exclusive with all other properties.
- cifs
Mount CIFSMountConfiguration Configuration - This property is mutually exclusive with all other properties.
- nfs
Mount NFSMountConfiguration Configuration - This property is mutually exclusive with all other properties.
- azure_
blob_ Azurefile_ system_ configuration Blob File System Configuration - This property is mutually exclusive with all other properties.
-
Azure
File Share Configuration - This property is mutually exclusive with all other properties.
- cifs_
mount_ CIFSMountconfiguration Configuration - This property is mutually exclusive with all other properties.
- nfs_
mount_ NFSMountconfiguration Configuration - This property is mutually exclusive with all other properties.
- azure
Blob Property MapFile System Configuration - This property is mutually exclusive with all other properties.
- Property Map
- This property is mutually exclusive with all other properties.
- cifs
Mount Property MapConfiguration - This property is mutually exclusive with all other properties.
- nfs
Mount Property MapConfiguration - This property is mutually exclusive with all other properties.
MountConfigurationResponse, MountConfigurationResponseArgs
The file system to mount on each node.- Azure
Blob Pulumi.File System Configuration Azure Native. Batch. Inputs. Azure Blob File System Configuration Response - This property is mutually exclusive with all other properties.
-
Pulumi.
Azure Native. Batch. Inputs. Azure File Share Configuration Response - This property is mutually exclusive with all other properties.
- Cifs
Mount Pulumi.Configuration Azure Native. Batch. Inputs. CIFSMount Configuration Response - This property is mutually exclusive with all other properties.
- Nfs
Mount Pulumi.Configuration Azure Native. Batch. Inputs. NFSMount Configuration Response - This property is mutually exclusive with all other properties.
- Azure
Blob AzureFile System Configuration Blob File System Configuration Response - This property is mutually exclusive with all other properties.
-
Azure
File Share Configuration Response - This property is mutually exclusive with all other properties.
- Cifs
Mount CIFSMountConfiguration Configuration Response - This property is mutually exclusive with all other properties.
- Nfs
Mount NFSMountConfiguration Configuration Response - This property is mutually exclusive with all other properties.
- azure
Blob AzureFile System Configuration Blob File System Configuration Response - This property is mutually exclusive with all other properties.
-
Azure
File Share Configuration Response - This property is mutually exclusive with all other properties.
- cifs
Mount CIFSMountConfiguration Configuration Response - This property is mutually exclusive with all other properties.
- nfs
Mount NFSMountConfiguration Configuration Response - This property is mutually exclusive with all other properties.
- azure
Blob AzureFile System Configuration Blob File System Configuration Response - This property is mutually exclusive with all other properties.
-
Azure
File Share Configuration Response - This property is mutually exclusive with all other properties.
- cifs
Mount CIFSMountConfiguration Configuration Response - This property is mutually exclusive with all other properties.
- nfs
Mount NFSMountConfiguration Configuration Response - This property is mutually exclusive with all other properties.
- azure_
blob_ Azurefile_ system_ configuration Blob File System Configuration Response - This property is mutually exclusive with all other properties.
-
Azure
File Share Configuration Response - This property is mutually exclusive with all other properties.
- cifs_
mount_ CIFSMountconfiguration Configuration Response - This property is mutually exclusive with all other properties.
- nfs_
mount_ NFSMountconfiguration Configuration Response - This property is mutually exclusive with all other properties.
- azure
Blob Property MapFile System Configuration - This property is mutually exclusive with all other properties.
- Property Map
- This property is mutually exclusive with all other properties.
- cifs
Mount Property MapConfiguration - This property is mutually exclusive with all other properties.
- nfs
Mount Property MapConfiguration - This property is mutually exclusive with all other properties.
NFSMountConfiguration, NFSMountConfigurationArgs
Information used to connect to an NFS file system.- Relative
Mount stringPath - 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 - These are 'net use' options in Windows and 'mount' options in Linux.
- Relative
Mount stringPath - 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 - These are 'net use' options in Windows and 'mount' options in Linux.
- relative
Mount StringPath - 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 - These are 'net use' options in Windows and 'mount' options in Linux.
- relative
Mount stringPath - 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 - These are 'net use' options in Windows and 'mount' options in Linux.
- relative_
mount_ strpath - 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 - These are 'net use' options in Windows and 'mount' options in Linux.
- relative
Mount StringPath - 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 - These are 'net use' options in Windows and 'mount' options in Linux.
NFSMountConfigurationResponse, NFSMountConfigurationResponseArgs
Information used to connect to an NFS file system.- Relative
Mount stringPath - 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 - These are 'net use' options in Windows and 'mount' options in Linux.
- Relative
Mount stringPath - 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 - These are 'net use' options in Windows and 'mount' options in Linux.
- relative
Mount StringPath - 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 - These are 'net use' options in Windows and 'mount' options in Linux.
- relative
Mount stringPath - 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 - These are 'net use' options in Windows and 'mount' options in Linux.
- relative_
mount_ strpath - 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 - These are 'net use' options in Windows and 'mount' options in Linux.
- relative
Mount StringPath - 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 - These are 'net use' options in Windows and 'mount' options in Linux.
NetworkConfiguration, NetworkConfigurationArgs
The network configuration for a pool.- Dynamic
Vnet Pulumi.Assignment Scope Azure Native. Batch. Dynamic VNet Assignment Scope - The scope of dynamic vnet assignment.
- Enable
Accelerated boolNetworking - Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, which may lead to improved networking performance. For more details, see: https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview.
- Endpoint
Configuration Pulumi.Azure Native. Batch. Inputs. Pool Endpoint Configuration - The endpoint configuration for a pool.
- Public
IPAddress Pulumi.Configuration Azure Native. Batch. Inputs. Public IPAddress Configuration - The public IP Address configuration of the networking configuration of a Pool.
- Subnet
Id string - The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration
- Dynamic
Vnet DynamicAssignment Scope VNet Assignment Scope - The scope of dynamic vnet assignment.
- Enable
Accelerated boolNetworking - Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, which may lead to improved networking performance. For more details, see: https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview.
- Endpoint
Configuration PoolEndpoint Configuration - The endpoint configuration for a pool.
- Public
IPAddress PublicConfiguration IPAddress Configuration - The public IP Address configuration of the networking configuration of a Pool.
- Subnet
Id string - The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration
- dynamic
Vnet DynamicAssignment Scope VNet Assignment Scope - The scope of dynamic vnet assignment.
- enable
Accelerated BooleanNetworking - Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, which may lead to improved networking performance. For more details, see: https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview.
- endpoint
Configuration PoolEndpoint Configuration - The endpoint configuration for a pool.
- public
IPAddress PublicConfiguration IPAddress Configuration - The public IP Address configuration of the networking configuration of a Pool.
- subnet
Id String - The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration
- dynamic
Vnet DynamicAssignment Scope VNet Assignment Scope - The scope of dynamic vnet assignment.
- enable
Accelerated booleanNetworking - Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, which may lead to improved networking performance. For more details, see: https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview.
- endpoint
Configuration PoolEndpoint Configuration - The endpoint configuration for a pool.
- public
IPAddress PublicConfiguration IPAddress Configuration - The public IP Address configuration of the networking configuration of a Pool.
- subnet
Id string - The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration
- dynamic_
vnet_ Dynamicassignment_ scope VNet Assignment Scope - The scope of dynamic vnet assignment.
- enable_
accelerated_ boolnetworking - Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, which may lead to improved networking performance. For more details, see: https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview.
- endpoint_
configuration PoolEndpoint Configuration - The endpoint configuration for a pool.
- public_
ip_ Publicaddress_ configuration IPAddress Configuration - The public IP Address configuration of the networking configuration of a Pool.
- subnet_
id str - The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration
- dynamic
Vnet "none" | "job"Assignment Scope - The scope of dynamic vnet assignment.
- enable
Accelerated BooleanNetworking - Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, which may lead to improved networking performance. For more details, see: https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview.
- endpoint
Configuration Property Map - The endpoint configuration for a pool.
- public
IPAddress Property MapConfiguration - The public IP Address configuration of the networking configuration of a Pool.
- subnet
Id String - The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration
NetworkConfigurationResponse, NetworkConfigurationResponseArgs
The network configuration for a pool.- Dynamic
Vnet stringAssignment Scope - The scope of dynamic vnet assignment.
- Enable
Accelerated boolNetworking - Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, which may lead to improved networking performance. For more details, see: https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview.
- Endpoint
Configuration Pulumi.Azure Native. Batch. Inputs. Pool Endpoint Configuration Response - The endpoint configuration for a pool.
- Public
IPAddress Pulumi.Configuration Azure Native. Batch. Inputs. Public IPAddress Configuration Response - The public IP Address configuration of the networking configuration of a Pool.
- Subnet
Id string - The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration
- Dynamic
Vnet stringAssignment Scope - The scope of dynamic vnet assignment.
- Enable
Accelerated boolNetworking - Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, which may lead to improved networking performance. For more details, see: https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview.
- Endpoint
Configuration PoolEndpoint Configuration Response - The endpoint configuration for a pool.
- Public
IPAddress PublicConfiguration IPAddress Configuration Response - The public IP Address configuration of the networking configuration of a Pool.
- Subnet
Id string - The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration
- dynamic
Vnet StringAssignment Scope - The scope of dynamic vnet assignment.
- enable
Accelerated BooleanNetworking - Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, which may lead to improved networking performance. For more details, see: https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview.
- endpoint
Configuration PoolEndpoint Configuration Response - The endpoint configuration for a pool.
- public
IPAddress PublicConfiguration IPAddress Configuration Response - The public IP Address configuration of the networking configuration of a Pool.
- subnet
Id String - The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration
- dynamic
Vnet stringAssignment Scope - The scope of dynamic vnet assignment.
- enable
Accelerated booleanNetworking - Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, which may lead to improved networking performance. For more details, see: https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview.
- endpoint
Configuration PoolEndpoint Configuration Response - The endpoint configuration for a pool.
- public
IPAddress PublicConfiguration IPAddress Configuration Response - The public IP Address configuration of the networking configuration of a Pool.
- subnet
Id string - The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration
- dynamic_
vnet_ strassignment_ scope - The scope of dynamic vnet assignment.
- enable_
accelerated_ boolnetworking - Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, which may lead to improved networking performance. For more details, see: https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview.
- endpoint_
configuration PoolEndpoint Configuration Response - The endpoint configuration for a pool.
- public_
ip_ Publicaddress_ configuration IPAddress Configuration Response - The public IP Address configuration of the networking configuration of a Pool.
- subnet_
id str - The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration
- dynamic
Vnet StringAssignment Scope - The scope of dynamic vnet assignment.
- enable
Accelerated BooleanNetworking - Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, which may lead to improved networking performance. For more details, see: https://learn.microsoft.com/azure/virtual-network/accelerated-networking-overview.
- endpoint
Configuration Property Map - The endpoint configuration for a pool.
- public
IPAddress Property MapConfiguration - The public IP Address configuration of the networking configuration of a Pool.
- subnet
Id String - The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration
NetworkSecurityGroupRule, NetworkSecurityGroupRuleArgs
A network security group rule to apply to an inbound endpoint.- Access
Pulumi.
Azure Native. Batch. Network Security Group Rule Access - The action that should be taken for a specified IP address, subnet range or tag.
- Priority int
- Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400.
- Source
Address stringPrefix - Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400.
- Source
Port List<string>Ranges - Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.
- Access
Network
Security Group Rule Access - The action that should be taken for a specified IP address, subnet range or tag.
- Priority int
- Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400.
- Source
Address stringPrefix - Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400.
- Source
Port []stringRanges - Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.
- access
Network
Security Group Rule Access - The action that should be taken for a specified IP address, subnet range or tag.
- priority Integer
- Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400.
- source
Address StringPrefix - Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400.
- source
Port List<String>Ranges - Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.
- access
Network
Security Group Rule Access - The action that should be taken for a specified IP address, subnet range or tag.
- priority number
- Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400.
- source
Address stringPrefix - Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400.
- source
Port string[]Ranges - Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.
- access
Network
Security Group Rule Access - The action that should be taken for a specified IP address, subnet range or tag.
- priority int
- Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400.
- source_
address_ strprefix - Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400.
- source_
port_ Sequence[str]ranges - Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.
- access "Allow" | "Deny"
- The action that should be taken for a specified IP address, subnet range or tag.
- priority Number
- Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400.
- source
Address StringPrefix - Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400.
- source
Port List<String>Ranges - Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.
NetworkSecurityGroupRuleAccess, NetworkSecurityGroupRuleAccessArgs
- Allow
AllowAllow access.- Deny
DenyDeny access.
- Network
Security Group Rule Access Allow AllowAllow access.- Network
Security Group Rule Access Deny DenyDeny access.
- Allow
AllowAllow access.- Deny
DenyDeny access.
- Allow
AllowAllow access.- Deny
DenyDeny access.
- ALLOW
AllowAllow access.- DENY
DenyDeny access.
- "Allow"
AllowAllow access.- "Deny"
DenyDeny access.
NetworkSecurityGroupRuleResponse, NetworkSecurityGroupRuleResponseArgs
A network security group rule to apply to an inbound endpoint.- Access string
- The action that should be taken for a specified IP address, subnet range or tag.
- Priority int
- Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400.
- Source
Address stringPrefix - Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400.
- Source
Port List<string>Ranges - Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.
- Access string
- The action that should be taken for a specified IP address, subnet range or tag.
- Priority int
- Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400.
- Source
Address stringPrefix - Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400.
- Source
Port []stringRanges - Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.
- access String
- The action that should be taken for a specified IP address, subnet range or tag.
- priority Integer
- Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400.
- source
Address StringPrefix - Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400.
- source
Port List<String>Ranges - Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.
- access string
- The action that should be taken for a specified IP address, subnet range or tag.
- priority number
- Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400.
- source
Address stringPrefix - Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400.
- source
Port string[]Ranges - Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.
- access str
- The action that should be taken for a specified IP address, subnet range or tag.
- priority int
- Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400.
- source_
address_ strprefix - Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400.
- source_
port_ Sequence[str]ranges - Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.
- access String
- The action that should be taken for a specified IP address, subnet range or tag.
- priority Number
- Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400.
- source
Address StringPrefix - Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400.
- source
Port List<String>Ranges - Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.
NodeCommunicationMode, NodeCommunicationModeArgs
- Default
DefaultThe node communication mode is automatically set by the Batch service.- Classic
ClassicNodes using the Classic communication mode require inbound TCP communication on ports 29876 and 29877 from the "BatchNodeManagement.{region}" service tag and outbound TCP communication on port 443 to the "Storage.region" and "BatchNodeManagement.{region}" service tags.- Simplified
SimplifiedNodes using the Simplified communication mode require outbound TCP communication on port 443 to the "BatchNodeManagement.{region}" service tag. No open inbound ports are required.
- Node
Communication Mode Default DefaultThe node communication mode is automatically set by the Batch service.- Node
Communication Mode Classic ClassicNodes using the Classic communication mode require inbound TCP communication on ports 29876 and 29877 from the "BatchNodeManagement.{region}" service tag and outbound TCP communication on port 443 to the "Storage.region" and "BatchNodeManagement.{region}" service tags.- Node
Communication Mode Simplified SimplifiedNodes using the Simplified communication mode require outbound TCP communication on port 443 to the "BatchNodeManagement.{region}" service tag. No open inbound ports are required.
- Default
DefaultThe node communication mode is automatically set by the Batch service.- Classic
ClassicNodes using the Classic communication mode require inbound TCP communication on ports 29876 and 29877 from the "BatchNodeManagement.{region}" service tag and outbound TCP communication on port 443 to the "Storage.region" and "BatchNodeManagement.{region}" service tags.- Simplified
SimplifiedNodes using the Simplified communication mode require outbound TCP communication on port 443 to the "BatchNodeManagement.{region}" service tag. No open inbound ports are required.
- Default
DefaultThe node communication mode is automatically set by the Batch service.- Classic
ClassicNodes using the Classic communication mode require inbound TCP communication on ports 29876 and 29877 from the "BatchNodeManagement.{region}" service tag and outbound TCP communication on port 443 to the "Storage.region" and "BatchNodeManagement.{region}" service tags.- Simplified
SimplifiedNodes using the Simplified communication mode require outbound TCP communication on port 443 to the "BatchNodeManagement.{region}" service tag. No open inbound ports are required.
- DEFAULT
DefaultThe node communication mode is automatically set by the Batch service.- CLASSIC
ClassicNodes using the Classic communication mode require inbound TCP communication on ports 29876 and 29877 from the "BatchNodeManagement.{region}" service tag and outbound TCP communication on port 443 to the "Storage.region" and "BatchNodeManagement.{region}" service tags.- SIMPLIFIED
SimplifiedNodes using the Simplified communication mode require outbound TCP communication on port 443 to the "BatchNodeManagement.{region}" service tag. No open inbound ports are required.
- "Default"
DefaultThe node communication mode is automatically set by the Batch service.- "Classic"
ClassicNodes using the Classic communication mode require inbound TCP communication on ports 29876 and 29877 from the "BatchNodeManagement.{region}" service tag and outbound TCP communication on port 443 to the "Storage.region" and "BatchNodeManagement.{region}" service tags.- "Simplified"
SimplifiedNodes using the Simplified communication mode require outbound TCP communication on port 443 to the "BatchNodeManagement.{region}" service tag. No open inbound ports are required.
NodePlacementConfiguration, NodePlacementConfigurationArgs
Allocation configuration used by Batch Service to provision the nodes.- Policy
Pulumi.
Azure Native. Batch. Node Placement Policy Type - Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.
- Policy
Node
Placement Policy Type - Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.
- policy
Node
Placement Policy Type - Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.
- policy
Node
Placement Policy Type - Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.
- policy
Node
Placement Policy Type - Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.
- policy "Regional" | "Zonal"
- Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.
NodePlacementConfigurationResponse, NodePlacementConfigurationResponseArgs
Allocation configuration used by Batch Service to provision the nodes.- Policy string
- Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.
- Policy string
- Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.
- policy String
- Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.
- policy string
- Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.
- policy str
- Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.
- policy String
- Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.
NodePlacementPolicyType, NodePlacementPolicyTypeArgs
- Regional
RegionalAll nodes in the pool will be allocated in the same region.- Zonal
ZonalNodes in the pool will be spread across different zones with best effort balancing.
- Node
Placement Policy Type Regional RegionalAll nodes in the pool will be allocated in the same region.- Node
Placement Policy Type Zonal ZonalNodes in the pool will be spread across different zones with best effort balancing.
- Regional
RegionalAll nodes in the pool will be allocated in the same region.- Zonal
ZonalNodes in the pool will be spread across different zones with best effort balancing.
- Regional
RegionalAll nodes in the pool will be allocated in the same region.- Zonal
ZonalNodes in the pool will be spread across different zones with best effort balancing.
- REGIONAL
RegionalAll nodes in the pool will be allocated in the same region.- ZONAL
ZonalNodes in the pool will be spread across different zones with best effort balancing.
- "Regional"
RegionalAll nodes in the pool will be allocated in the same region.- "Zonal"
ZonalNodes in the pool will be spread across different zones with best effort balancing.
OSDisk, OSDiskArgs
Settings for the operating system disk of the virtual machine.- Caching
Pulumi.
Azure Native. Batch. Caching Type - The type of caching to enable for the disk.
- Disk
Size intGB - The initial disk size in GB when creating new OS disk.
- Ephemeral
OSDisk Pulumi.Settings Azure Native. Batch. Inputs. Diff Disk Settings - Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.
- Managed
Disk Pulumi.Azure Native. Batch. Inputs. Managed Disk - Write
Accelerator boolEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
- Caching
Caching
Type - The type of caching to enable for the disk.
- Disk
Size intGB - The initial disk size in GB when creating new OS disk.
- Ephemeral
OSDisk DiffSettings Disk Settings - Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.
- Managed
Disk ManagedDisk - Write
Accelerator boolEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
- caching
Caching
Type - The type of caching to enable for the disk.
- disk
Size IntegerGB - The initial disk size in GB when creating new OS disk.
- ephemeral
OSDisk DiffSettings Disk Settings - Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.
- managed
Disk ManagedDisk - write
Accelerator BooleanEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
- caching
Caching
Type - The type of caching to enable for the disk.
- disk
Size numberGB - The initial disk size in GB when creating new OS disk.
- ephemeral
OSDisk DiffSettings Disk Settings - Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.
- managed
Disk ManagedDisk - write
Accelerator booleanEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
- caching
Caching
Type - The type of caching to enable for the disk.
- disk_
size_ intgb - The initial disk size in GB when creating new OS disk.
- ephemeral_
os_ Diffdisk_ settings Disk Settings - Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.
- managed_
disk ManagedDisk - write_
accelerator_ boolenabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
- caching
"None" | "Read
Only" | "Read Write" - The type of caching to enable for the disk.
- disk
Size NumberGB - The initial disk size in GB when creating new OS disk.
- ephemeral
OSDisk Property MapSettings - Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.
- managed
Disk Property Map - write
Accelerator BooleanEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
OSDiskResponse, OSDiskResponseArgs
Settings for the operating system disk of the virtual machine.- Caching string
- The type of caching to enable for the disk.
- Disk
Size intGB - The initial disk size in GB when creating new OS disk.
- Ephemeral
OSDisk Pulumi.Settings Azure Native. Batch. Inputs. Diff Disk Settings Response - Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.
- Managed
Disk Pulumi.Azure Native. Batch. Inputs. Managed Disk Response - Write
Accelerator boolEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
- Caching string
- The type of caching to enable for the disk.
- Disk
Size intGB - The initial disk size in GB when creating new OS disk.
- Ephemeral
OSDisk DiffSettings Disk Settings Response - Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.
- Managed
Disk ManagedDisk Response - Write
Accelerator boolEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
- caching String
- The type of caching to enable for the disk.
- disk
Size IntegerGB - The initial disk size in GB when creating new OS disk.
- ephemeral
OSDisk DiffSettings Disk Settings Response - Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.
- managed
Disk ManagedDisk Response - write
Accelerator BooleanEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
- caching string
- The type of caching to enable for the disk.
- disk
Size numberGB - The initial disk size in GB when creating new OS disk.
- ephemeral
OSDisk DiffSettings Disk Settings Response - Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.
- managed
Disk ManagedDisk Response - write
Accelerator booleanEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
- caching str
- The type of caching to enable for the disk.
- disk_
size_ intgb - The initial disk size in GB when creating new OS disk.
- ephemeral_
os_ Diffdisk_ settings Disk Settings Response - Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.
- managed_
disk ManagedDisk Response - write_
accelerator_ boolenabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
- caching String
- The type of caching to enable for the disk.
- disk
Size NumberGB - The initial disk size in GB when creating new OS disk.
- ephemeral
OSDisk Property MapSettings - Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.
- managed
Disk Property Map - write
Accelerator BooleanEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
PoolEndpointConfiguration, PoolEndpointConfigurationArgs
The endpoint configuration for a pool.- Inbound
Nat List<Pulumi.Pools Azure Native. Batch. Inputs. Inbound Nat Pool> - The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400. This cannot be specified if the IPAddressProvisioningType is NoPublicIPAddresses.
- Inbound
Nat []InboundPools Nat Pool - The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400. This cannot be specified if the IPAddressProvisioningType is NoPublicIPAddresses.
- inbound
Nat List<InboundPools Nat Pool> - The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400. This cannot be specified if the IPAddressProvisioningType is NoPublicIPAddresses.
- inbound
Nat InboundPools Nat Pool[] - The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400. This cannot be specified if the IPAddressProvisioningType is NoPublicIPAddresses.
- inbound_
nat_ Sequence[Inboundpools Nat Pool] - The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400. This cannot be specified if the IPAddressProvisioningType is NoPublicIPAddresses.
- inbound
Nat List<Property Map>Pools - The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400. This cannot be specified if the IPAddressProvisioningType is NoPublicIPAddresses.
PoolEndpointConfigurationResponse, PoolEndpointConfigurationResponseArgs
The endpoint configuration for a pool.- Inbound
Nat List<Pulumi.Pools Azure Native. Batch. Inputs. Inbound Nat Pool Response> - The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400. This cannot be specified if the IPAddressProvisioningType is NoPublicIPAddresses.
- Inbound
Nat []InboundPools Nat Pool Response - The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400. This cannot be specified if the IPAddressProvisioningType is NoPublicIPAddresses.
- inbound
Nat List<InboundPools Nat Pool Response> - The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400. This cannot be specified if the IPAddressProvisioningType is NoPublicIPAddresses.
- inbound
Nat InboundPools Nat Pool Response[] - The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400. This cannot be specified if the IPAddressProvisioningType is NoPublicIPAddresses.
- inbound_
nat_ Sequence[Inboundpools Nat Pool Response] - The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400. This cannot be specified if the IPAddressProvisioningType is NoPublicIPAddresses.
- inbound
Nat List<Property Map>Pools - The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400. This cannot be specified if the IPAddressProvisioningType is NoPublicIPAddresses.
PoolIdentityType, PoolIdentityTypeArgs
- User
Assigned UserAssignedBatch pool has user assigned identities with it.- None
NoneBatch pool has no identity associated with it. SettingNonein update pool will remove existing identities.
- Pool
Identity Type User Assigned UserAssignedBatch pool has user assigned identities with it.- Pool
Identity Type None NoneBatch pool has no identity associated with it. SettingNonein update pool will remove existing identities.
- User
Assigned UserAssignedBatch pool has user assigned identities with it.- None
NoneBatch pool has no identity associated with it. SettingNonein update pool will remove existing identities.
- User
Assigned UserAssignedBatch pool has user assigned identities with it.- None
NoneBatch pool has no identity associated with it. SettingNonein update pool will remove existing identities.
- USER_ASSIGNED
UserAssignedBatch pool has user assigned identities with it.- NONE
NoneBatch pool has no identity associated with it. SettingNonein update pool will remove existing identities.
- "User
Assigned" UserAssignedBatch pool has user assigned identities with it.- "None"
NoneBatch pool has no identity associated with it. SettingNonein update pool will remove existing identities.
PublicIPAddressConfiguration, PublicIPAddressConfigurationArgs
The public IP Address configuration of the networking configuration of a Pool.- Ip
Address List<string>Ids - The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
- Provision
Pulumi.
Azure Native. Batch. IPAddress Provisioning Type - The default value is BatchManaged
- Ip
Address []stringIds - The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
- Provision
IPAddress
Provisioning Type - The default value is BatchManaged
- ip
Address List<String>Ids - The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
- provision
IPAddress
Provisioning Type - The default value is BatchManaged
- ip
Address string[]Ids - The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
- provision
IPAddress
Provisioning Type - The default value is BatchManaged
- ip_
address_ Sequence[str]ids - The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
- provision
IPAddress
Provisioning Type - The default value is BatchManaged
- ip
Address List<String>Ids - The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
- provision
"Batch
Managed" | "User Managed" | "No Public IPAddresses" - The default value is BatchManaged
PublicIPAddressConfigurationResponse, PublicIPAddressConfigurationResponseArgs
The public IP Address configuration of the networking configuration of a Pool.- Ip
Address List<string>Ids - The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
- Provision string
- The default value is BatchManaged
- Ip
Address []stringIds - The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
- Provision string
- The default value is BatchManaged
- ip
Address List<String>Ids - The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
- provision String
- The default value is BatchManaged
- ip
Address string[]Ids - The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
- provision string
- The default value is BatchManaged
- ip_
address_ Sequence[str]ids - The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
- provision str
- The default value is BatchManaged
- ip
Address List<String>Ids - The number of IPs specified here limits the maximum size of the Pool - 100 dedicated nodes or 100 Spot/low-priority nodes can be allocated for each public IP. For example, a pool needing 250 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.
- provision String
- The default value is BatchManaged
ResizeErrorResponse, ResizeErrorResponseArgs
An error that occurred when resizing a pool.- Code string
- An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
- Message string
- A message describing the error, intended to be suitable for display in a user interface.
- Details
List<Pulumi.
Azure Native. Batch. Inputs. Resize Error Response> - Additional details about the error.
- Code string
- An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
- Message string
- A message describing the error, intended to be suitable for display in a user interface.
- Details
[]Resize
Error Response - Additional details about the error.
- code String
- An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
- message String
- A message describing the error, intended to be suitable for display in a user interface.
- details
List<Resize
Error Response> - Additional details about the error.
- code string
- An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
- message string
- A message describing the error, intended to be suitable for display in a user interface.
- details
Resize
Error Response[] - Additional details about the error.
- code str
- An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
- message str
- A message describing the error, intended to be suitable for display in a user interface.
- details
Sequence[Resize
Error Response] - Additional details about the error.
- code String
- An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
- message String
- A message describing the error, intended to be suitable for display in a user interface.
- details List<Property Map>
- Additional details about the error.
ResizeOperationStatusResponse, ResizeOperationStatusResponseArgs
Describes either the current operation (if the pool AllocationState is Resizing) or the previously completed operation (if the AllocationState is Steady).- Errors
List<Pulumi.
Azure Native. Batch. Inputs. Resize Error Response> - This property is set only if an error occurred during the last pool resize, and only when the pool allocationState is Steady.
- Node
Deallocation stringOption - The default value is requeue.
- Resize
Timeout string - The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
- Start
Time string - The time when this resize operation was started.
- Target
Dedicated intNodes - The desired number of dedicated compute nodes in the pool.
- Target
Low intPriority Nodes - The desired number of Spot/low-priority compute nodes in the pool.
- Errors
[]Resize
Error Response - This property is set only if an error occurred during the last pool resize, and only when the pool allocationState is Steady.
- Node
Deallocation stringOption - The default value is requeue.
- Resize
Timeout string - The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
- Start
Time string - The time when this resize operation was started.
- Target
Dedicated intNodes - The desired number of dedicated compute nodes in the pool.
- Target
Low intPriority Nodes - The desired number of Spot/low-priority compute nodes in the pool.
- errors
List<Resize
Error Response> - This property is set only if an error occurred during the last pool resize, and only when the pool allocationState is Steady.
- node
Deallocation StringOption - The default value is requeue.
- resize
Timeout String - The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
- start
Time String - The time when this resize operation was started.
- target
Dedicated IntegerNodes - The desired number of dedicated compute nodes in the pool.
- target
Low IntegerPriority Nodes - The desired number of Spot/low-priority compute nodes in the pool.
- errors
Resize
Error Response[] - This property is set only if an error occurred during the last pool resize, and only when the pool allocationState is Steady.
- node
Deallocation stringOption - The default value is requeue.
- resize
Timeout string - The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
- start
Time string - The time when this resize operation was started.
- target
Dedicated numberNodes - The desired number of dedicated compute nodes in the pool.
- target
Low numberPriority Nodes - The desired number of Spot/low-priority compute nodes in the pool.
- errors
Sequence[Resize
Error Response] - This property is set only if an error occurred during the last pool resize, and only when the pool allocationState is Steady.
- node_
deallocation_ stroption - The default value is requeue.
- resize_
timeout str - The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
- start_
time str - The time when this resize operation was started.
- target_
dedicated_ intnodes - The desired number of dedicated compute nodes in the pool.
- target_
low_ intpriority_ nodes - The desired number of Spot/low-priority compute nodes in the pool.
- errors List<Property Map>
- This property is set only if an error occurred during the last pool resize, and only when the pool allocationState is Steady.
- node
Deallocation StringOption - The default value is requeue.
- resize
Timeout String - The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).
- start
Time String - The time when this resize operation was started.
- target
Dedicated NumberNodes - The desired number of dedicated compute nodes in the pool.
- target
Low NumberPriority Nodes - The desired number of Spot/low-priority compute nodes in the pool.
ResourceFile, ResourceFileArgs
A single file or multiple files to be downloaded to a compute node.- Auto
Storage stringContainer Name - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified.
- Blob
Prefix string - The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.
- File
Mode string - This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file.
- File
Path string - If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').
- Http
Url string - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable from compute nodes. There are three ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, use a managed identity with read permission, or set the ACL for the blob or its container to allow public access.
- Identity
Reference Pulumi.Azure Native. Batch. Inputs. Compute Node Identity Reference - The reference to a user assigned identity associated with the Batch pool which a compute node will use.
- Storage
Container stringUrl - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable from compute nodes. There are three ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, use a managed identity with read and list permissions, or set the ACL for the container to allow public access.
- Auto
Storage stringContainer Name - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified.
- Blob
Prefix string - The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.
- File
Mode string - This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file.
- File
Path string - If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').
- Http
Url string - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable from compute nodes. There are three ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, use a managed identity with read permission, or set the ACL for the blob or its container to allow public access.
- Identity
Reference ComputeNode Identity Reference - The reference to a user assigned identity associated with the Batch pool which a compute node will use.
- Storage
Container stringUrl - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable from compute nodes. There are three ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, use a managed identity with read and list permissions, or set the ACL for the container to allow public access.
- auto
Storage StringContainer Name - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified.
- blob
Prefix String - The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.
- file
Mode String - This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file.
- file
Path String - If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').
- http
Url String - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable from compute nodes. There are three ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, use a managed identity with read permission, or set the ACL for the blob or its container to allow public access.
- identity
Reference ComputeNode Identity Reference - The reference to a user assigned identity associated with the Batch pool which a compute node will use.
- storage
Container StringUrl - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable from compute nodes. There are three ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, use a managed identity with read and list permissions, or set the ACL for the container to allow public access.
- auto
Storage stringContainer Name - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified.
- blob
Prefix string - The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.
- file
Mode string - This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file.
- file
Path string - If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').
- http
Url string - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable from compute nodes. There are three ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, use a managed identity with read permission, or set the ACL for the blob or its container to allow public access.
- identity
Reference ComputeNode Identity Reference - The reference to a user assigned identity associated with the Batch pool which a compute node will use.
- storage
Container stringUrl - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable from compute nodes. There are three ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, use a managed identity with read and list permissions, or set the ACL for the container to allow public access.
- auto_
storage_ strcontainer_ name - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified.
- blob_
prefix str - The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.
- file_
mode str - This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file.
- file_
path str - If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').
- http_
url str - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable from compute nodes. There are three ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, use a managed identity with read permission, or set the ACL for the blob or its container to allow public access.
- identity_
reference ComputeNode Identity Reference - The reference to a user assigned identity associated with the Batch pool which a compute node will use.
- storage_
container_ strurl - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable from compute nodes. There are three ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, use a managed identity with read and list permissions, or set the ACL for the container to allow public access.
- auto
Storage StringContainer Name - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified.
- blob
Prefix String - The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.
- file
Mode String - This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file.
- file
Path String - If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').
- http
Url String - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable from compute nodes. There are three ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, use a managed identity with read permission, or set the ACL for the blob or its container to allow public access.
- identity
Reference Property Map - The reference to a user assigned identity associated with the Batch pool which a compute node will use.
- storage
Container StringUrl - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable from compute nodes. There are three ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, use a managed identity with read and list permissions, or set the ACL for the container to allow public access.
ResourceFileResponse, ResourceFileResponseArgs
A single file or multiple files to be downloaded to a compute node.- Auto
Storage stringContainer Name - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified.
- Blob
Prefix string - The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.
- File
Mode string - This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file.
- File
Path string - If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').
- Http
Url string - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable from compute nodes. There are three ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, use a managed identity with read permission, or set the ACL for the blob or its container to allow public access.
- Identity
Reference Pulumi.Azure Native. Batch. Inputs. Compute Node Identity Reference Response - The reference to a user assigned identity associated with the Batch pool which a compute node will use.
- Storage
Container stringUrl - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable from compute nodes. There are three ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, use a managed identity with read and list permissions, or set the ACL for the container to allow public access.
- Auto
Storage stringContainer Name - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified.
- Blob
Prefix string - The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.
- File
Mode string - This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file.
- File
Path string - If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').
- Http
Url string - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable from compute nodes. There are three ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, use a managed identity with read permission, or set the ACL for the blob or its container to allow public access.
- Identity
Reference ComputeNode Identity Reference Response - The reference to a user assigned identity associated with the Batch pool which a compute node will use.
- Storage
Container stringUrl - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable from compute nodes. There are three ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, use a managed identity with read and list permissions, or set the ACL for the container to allow public access.
- auto
Storage StringContainer Name - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified.
- blob
Prefix String - The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.
- file
Mode String - This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file.
- file
Path String - If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').
- http
Url String - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable from compute nodes. There are three ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, use a managed identity with read permission, or set the ACL for the blob or its container to allow public access.
- identity
Reference ComputeNode Identity Reference Response - The reference to a user assigned identity associated with the Batch pool which a compute node will use.
- storage
Container StringUrl - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable from compute nodes. There are three ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, use a managed identity with read and list permissions, or set the ACL for the container to allow public access.
- auto
Storage stringContainer Name - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified.
- blob
Prefix string - The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.
- file
Mode string - This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file.
- file
Path string - If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').
- http
Url string - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable from compute nodes. There are three ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, use a managed identity with read permission, or set the ACL for the blob or its container to allow public access.
- identity
Reference ComputeNode Identity Reference Response - The reference to a user assigned identity associated with the Batch pool which a compute node will use.
- storage
Container stringUrl - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable from compute nodes. There are three ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, use a managed identity with read and list permissions, or set the ACL for the container to allow public access.
- auto_
storage_ strcontainer_ name - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified.
- blob_
prefix str - The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.
- file_
mode str - This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file.
- file_
path str - If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').
- http_
url str - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable from compute nodes. There are three ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, use a managed identity with read permission, or set the ACL for the blob or its container to allow public access.
- identity_
reference ComputeNode Identity Reference Response - The reference to a user assigned identity associated with the Batch pool which a compute node will use.
- storage_
container_ strurl - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable from compute nodes. There are three ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, use a managed identity with read and list permissions, or set the ACL for the container to allow public access.
- auto
Storage StringContainer Name - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified.
- blob
Prefix String - The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.
- file
Mode String - This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file.
- file
Path String - If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').
- http
Url String - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable from compute nodes. There are three ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, use a managed identity with read permission, or set the ACL for the blob or its container to allow public access.
- identity
Reference Property Map - The reference to a user assigned identity associated with the Batch pool which a compute node will use.
- storage
Container StringUrl - The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable from compute nodes. There are three ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, use a managed identity with read and list permissions, or set the ACL for the container to allow public access.
RollingUpgradePolicy, RollingUpgradePolicyArgs
The configuration parameters used while performing a rolling upgrade.- Enable
Cross boolZone Upgrade - Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. If this field is not set, Azure Azure Batch will not set its default value. The value of enableCrossZoneUpgrade on the created VirtualMachineScaleSet will be decided by the default configurations on VirtualMachineScaleSet. This field is able to be set to true or false only when using NodePlacementConfiguration as Zonal.
- Max
Batch intInstance Percent - The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
- Max
Unhealthy intInstance Percent - The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
- Max
Unhealthy intUpgraded Instance Percent - The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The value of this field should be between 0 and 100, inclusive.
- Pause
Time stringBetween Batches - The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format.
- Prioritize
Unhealthy boolInstances - Upgrade all unhealthy instances in a scale set before any healthy instances.
- Rollback
Failed boolInstances On Policy Breach - Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
- Enable
Cross boolZone Upgrade - Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. If this field is not set, Azure Azure Batch will not set its default value. The value of enableCrossZoneUpgrade on the created VirtualMachineScaleSet will be decided by the default configurations on VirtualMachineScaleSet. This field is able to be set to true or false only when using NodePlacementConfiguration as Zonal.
- Max
Batch intInstance Percent - The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
- Max
Unhealthy intInstance Percent - The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
- Max
Unhealthy intUpgraded Instance Percent - The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The value of this field should be between 0 and 100, inclusive.
- Pause
Time stringBetween Batches - The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format.
- Prioritize
Unhealthy boolInstances - Upgrade all unhealthy instances in a scale set before any healthy instances.
- Rollback
Failed boolInstances On Policy Breach - Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
- enable
Cross BooleanZone Upgrade - Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. If this field is not set, Azure Azure Batch will not set its default value. The value of enableCrossZoneUpgrade on the created VirtualMachineScaleSet will be decided by the default configurations on VirtualMachineScaleSet. This field is able to be set to true or false only when using NodePlacementConfiguration as Zonal.
- max
Batch IntegerInstance Percent - The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
- max
Unhealthy IntegerInstance Percent - The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
- max
Unhealthy IntegerUpgraded Instance Percent - The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The value of this field should be between 0 and 100, inclusive.
- pause
Time StringBetween Batches - The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format.
- prioritize
Unhealthy BooleanInstances - Upgrade all unhealthy instances in a scale set before any healthy instances.
- rollback
Failed BooleanInstances On Policy Breach - Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
- enable
Cross booleanZone Upgrade - Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. If this field is not set, Azure Azure Batch will not set its default value. The value of enableCrossZoneUpgrade on the created VirtualMachineScaleSet will be decided by the default configurations on VirtualMachineScaleSet. This field is able to be set to true or false only when using NodePlacementConfiguration as Zonal.
- max
Batch numberInstance Percent - The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
- max
Unhealthy numberInstance Percent - The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
- max
Unhealthy numberUpgraded Instance Percent - The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The value of this field should be between 0 and 100, inclusive.
- pause
Time stringBetween Batches - The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format.
- prioritize
Unhealthy booleanInstances - Upgrade all unhealthy instances in a scale set before any healthy instances.
- rollback
Failed booleanInstances On Policy Breach - Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
- enable_
cross_ boolzone_ upgrade - Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. If this field is not set, Azure Azure Batch will not set its default value. The value of enableCrossZoneUpgrade on the created VirtualMachineScaleSet will be decided by the default configurations on VirtualMachineScaleSet. This field is able to be set to true or false only when using NodePlacementConfiguration as Zonal.
- max_
batch_ intinstance_ percent - The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
- max_
unhealthy_ intinstance_ percent - The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
- max_
unhealthy_ intupgraded_ instance_ percent - The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The value of this field should be between 0 and 100, inclusive.
- pause_
time_ strbetween_ batches - The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format.
- prioritize_
unhealthy_ boolinstances - Upgrade all unhealthy instances in a scale set before any healthy instances.
- rollback_
failed_ boolinstances_ on_ policy_ breach - Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
- enable
Cross BooleanZone Upgrade - Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. If this field is not set, Azure Azure Batch will not set its default value. The value of enableCrossZoneUpgrade on the created VirtualMachineScaleSet will be decided by the default configurations on VirtualMachineScaleSet. This field is able to be set to true or false only when using NodePlacementConfiguration as Zonal.
- max
Batch NumberInstance Percent - The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
- max
Unhealthy NumberInstance Percent - The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
- max
Unhealthy NumberUpgraded Instance Percent - The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The value of this field should be between 0 and 100, inclusive.
- pause
Time StringBetween Batches - The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format.
- prioritize
Unhealthy BooleanInstances - Upgrade all unhealthy instances in a scale set before any healthy instances.
- rollback
Failed BooleanInstances On Policy Breach - Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
RollingUpgradePolicyResponse, RollingUpgradePolicyResponseArgs
The configuration parameters used while performing a rolling upgrade.- Enable
Cross boolZone Upgrade - Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. If this field is not set, Azure Azure Batch will not set its default value. The value of enableCrossZoneUpgrade on the created VirtualMachineScaleSet will be decided by the default configurations on VirtualMachineScaleSet. This field is able to be set to true or false only when using NodePlacementConfiguration as Zonal.
- Max
Batch intInstance Percent - The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
- Max
Unhealthy intInstance Percent - The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
- Max
Unhealthy intUpgraded Instance Percent - The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The value of this field should be between 0 and 100, inclusive.
- Pause
Time stringBetween Batches - The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format.
- Prioritize
Unhealthy boolInstances - Upgrade all unhealthy instances in a scale set before any healthy instances.
- Rollback
Failed boolInstances On Policy Breach - Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
- Enable
Cross boolZone Upgrade - Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. If this field is not set, Azure Azure Batch will not set its default value. The value of enableCrossZoneUpgrade on the created VirtualMachineScaleSet will be decided by the default configurations on VirtualMachineScaleSet. This field is able to be set to true or false only when using NodePlacementConfiguration as Zonal.
- Max
Batch intInstance Percent - The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
- Max
Unhealthy intInstance Percent - The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
- Max
Unhealthy intUpgraded Instance Percent - The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The value of this field should be between 0 and 100, inclusive.
- Pause
Time stringBetween Batches - The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format.
- Prioritize
Unhealthy boolInstances - Upgrade all unhealthy instances in a scale set before any healthy instances.
- Rollback
Failed boolInstances On Policy Breach - Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
- enable
Cross BooleanZone Upgrade - Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. If this field is not set, Azure Azure Batch will not set its default value. The value of enableCrossZoneUpgrade on the created VirtualMachineScaleSet will be decided by the default configurations on VirtualMachineScaleSet. This field is able to be set to true or false only when using NodePlacementConfiguration as Zonal.
- max
Batch IntegerInstance Percent - The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
- max
Unhealthy IntegerInstance Percent - The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
- max
Unhealthy IntegerUpgraded Instance Percent - The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The value of this field should be between 0 and 100, inclusive.
- pause
Time StringBetween Batches - The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format.
- prioritize
Unhealthy BooleanInstances - Upgrade all unhealthy instances in a scale set before any healthy instances.
- rollback
Failed BooleanInstances On Policy Breach - Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
- enable
Cross booleanZone Upgrade - Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. If this field is not set, Azure Azure Batch will not set its default value. The value of enableCrossZoneUpgrade on the created VirtualMachineScaleSet will be decided by the default configurations on VirtualMachineScaleSet. This field is able to be set to true or false only when using NodePlacementConfiguration as Zonal.
- max
Batch numberInstance Percent - The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
- max
Unhealthy numberInstance Percent - The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
- max
Unhealthy numberUpgraded Instance Percent - The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The value of this field should be between 0 and 100, inclusive.
- pause
Time stringBetween Batches - The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format.
- prioritize
Unhealthy booleanInstances - Upgrade all unhealthy instances in a scale set before any healthy instances.
- rollback
Failed booleanInstances On Policy Breach - Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
- enable_
cross_ boolzone_ upgrade - Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. If this field is not set, Azure Azure Batch will not set its default value. The value of enableCrossZoneUpgrade on the created VirtualMachineScaleSet will be decided by the default configurations on VirtualMachineScaleSet. This field is able to be set to true or false only when using NodePlacementConfiguration as Zonal.
- max_
batch_ intinstance_ percent - The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
- max_
unhealthy_ intinstance_ percent - The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
- max_
unhealthy_ intupgraded_ instance_ percent - The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The value of this field should be between 0 and 100, inclusive.
- pause_
time_ strbetween_ batches - The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format.
- prioritize_
unhealthy_ boolinstances - Upgrade all unhealthy instances in a scale set before any healthy instances.
- rollback_
failed_ boolinstances_ on_ policy_ breach - Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
- enable
Cross BooleanZone Upgrade - Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. If this field is not set, Azure Azure Batch will not set its default value. The value of enableCrossZoneUpgrade on the created VirtualMachineScaleSet will be decided by the default configurations on VirtualMachineScaleSet. This field is able to be set to true or false only when using NodePlacementConfiguration as Zonal.
- max
Batch NumberInstance Percent - The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
- max
Unhealthy NumberInstance Percent - The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The value of this field should be between 5 and 100, inclusive. If both maxBatchInstancePercent and maxUnhealthyInstancePercent are assigned with value, the value of maxBatchInstancePercent should not be more than maxUnhealthyInstancePercent.
- max
Unhealthy NumberUpgraded Instance Percent - The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The value of this field should be between 0 and 100, inclusive.
- pause
Time StringBetween Batches - The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format.
- prioritize
Unhealthy BooleanInstances - Upgrade all unhealthy instances in a scale set before any healthy instances.
- rollback
Failed BooleanInstances On Policy Breach - Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
ScaleSettings, ScaleSettingsArgs
Defines the desired size of the pool. This can either be 'fixedScale' where the requested targetDedicatedNodes is specified, or 'autoScale' which defines a formula which is periodically reevaluated. If this property is not specified, the pool will have a fixed scale with 0 targetDedicatedNodes.- Auto
Scale Pulumi.Azure Native. Batch. Inputs. Auto Scale Settings - This property and fixedScale are mutually exclusive and one of the properties must be specified.
- Fixed
Scale Pulumi.Azure Native. Batch. Inputs. Fixed Scale Settings - This property and autoScale are mutually exclusive and one of the properties must be specified.
- Auto
Scale AutoScale Settings - This property and fixedScale are mutually exclusive and one of the properties must be specified.
- Fixed
Scale FixedScale Settings - This property and autoScale are mutually exclusive and one of the properties must be specified.
- auto
Scale AutoScale Settings - This property and fixedScale are mutually exclusive and one of the properties must be specified.
- fixed
Scale FixedScale Settings - This property and autoScale are mutually exclusive and one of the properties must be specified.
- auto
Scale AutoScale Settings - This property and fixedScale are mutually exclusive and one of the properties must be specified.
- fixed
Scale FixedScale Settings - This property and autoScale are mutually exclusive and one of the properties must be specified.
- auto_
scale AutoScale Settings - This property and fixedScale are mutually exclusive and one of the properties must be specified.
- fixed_
scale FixedScale Settings - This property and autoScale are mutually exclusive and one of the properties must be specified.
- auto
Scale Property Map - This property and fixedScale are mutually exclusive and one of the properties must be specified.
- fixed
Scale Property Map - This property and autoScale are mutually exclusive and one of the properties must be specified.
ScaleSettingsResponse, ScaleSettingsResponseArgs
Defines the desired size of the pool. This can either be 'fixedScale' where the requested targetDedicatedNodes is specified, or 'autoScale' which defines a formula which is periodically reevaluated. If this property is not specified, the pool will have a fixed scale with 0 targetDedicatedNodes.- Auto
Scale Pulumi.Azure Native. Batch. Inputs. Auto Scale Settings Response - This property and fixedScale are mutually exclusive and one of the properties must be specified.
- Fixed
Scale Pulumi.Azure Native. Batch. Inputs. Fixed Scale Settings Response - This property and autoScale are mutually exclusive and one of the properties must be specified.
- Auto
Scale AutoScale Settings Response - This property and fixedScale are mutually exclusive and one of the properties must be specified.
- Fixed
Scale FixedScale Settings Response - This property and autoScale are mutually exclusive and one of the properties must be specified.
- auto
Scale AutoScale Settings Response - This property and fixedScale are mutually exclusive and one of the properties must be specified.
- fixed
Scale FixedScale Settings Response - This property and autoScale are mutually exclusive and one of the properties must be specified.
- auto
Scale AutoScale Settings Response - This property and fixedScale are mutually exclusive and one of the properties must be specified.
- fixed
Scale FixedScale Settings Response - This property and autoScale are mutually exclusive and one of the properties must be specified.
- auto_
scale AutoScale Settings Response - This property and fixedScale are mutually exclusive and one of the properties must be specified.
- fixed_
scale FixedScale Settings Response - This property and autoScale are mutually exclusive and one of the properties must be specified.
- auto
Scale Property Map - This property and fixedScale are mutually exclusive and one of the properties must be specified.
- fixed
Scale Property Map - This property and autoScale are mutually exclusive and one of the properties must be specified.
SecurityEncryptionTypes, SecurityEncryptionTypesArgs
- Non
Persisted TPM NonPersistedTPM- VMGuest
State Only VMGuestStateOnly
- Security
Encryption Types Non Persisted TPM NonPersistedTPM- Security
Encryption Types VMGuest State Only VMGuestStateOnly
- Non
Persisted TPM NonPersistedTPM- VMGuest
State Only VMGuestStateOnly
- Non
Persisted TPM NonPersistedTPM- VMGuest
State Only VMGuestStateOnly
- NON_PERSISTED_TPM
NonPersistedTPM- VM_GUEST_STATE_ONLY
VMGuestStateOnly
- "Non
Persisted TPM" NonPersistedTPM- "VMGuest
State Only" VMGuestStateOnly
SecurityProfile, SecurityProfileArgs
Specifies the security profile settings for the virtual machine or virtual machine scale set.- Encryption
At boolHost - This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
- Security
Type Pulumi.Azure Native. Batch. Security Types - Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings.
- Uefi
Settings Pulumi.Azure Native. Batch. Inputs. Uefi Settings - Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
- Encryption
At boolHost - This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
- Security
Type SecurityTypes - Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings.
- Uefi
Settings UefiSettings - Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
- encryption
At BooleanHost - This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
- security
Type SecurityTypes - Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings.
- uefi
Settings UefiSettings - Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
- encryption
At booleanHost - This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
- security
Type SecurityTypes - Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings.
- uefi
Settings UefiSettings - Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
- encryption_
at_ boolhost - This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
- security_
type SecurityTypes - Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings.
- uefi_
settings UefiSettings - Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
- encryption
At BooleanHost - This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
- security
Type "trustedLaunch" | "confidential VM" - Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings.
- uefi
Settings Property Map - Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
SecurityProfileResponse, SecurityProfileResponseArgs
Specifies the security profile settings for the virtual machine or virtual machine scale set.- Encryption
At boolHost - This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
- Security
Type string - Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings.
- Uefi
Settings Pulumi.Azure Native. Batch. Inputs. Uefi Settings Response - Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
- Encryption
At boolHost - This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
- Security
Type string - Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings.
- Uefi
Settings UefiSettings Response - Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
- encryption
At BooleanHost - This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
- security
Type String - Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings.
- uefi
Settings UefiSettings Response - Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
- encryption
At booleanHost - This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
- security
Type string - Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings.
- uefi
Settings UefiSettings Response - Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
- encryption_
at_ boolhost - This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
- security_
type str - Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings.
- uefi_
settings UefiSettings Response - Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
- encryption
At BooleanHost - This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.
- security
Type String - Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings.
- uefi
Settings Property Map - Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
SecurityTypes, SecurityTypesArgs
- Trusted
Launch trustedLaunchTrusted launch protects against advanced and persistent attack techniques.- Confidential
VM confidentialVMAzure confidential computing offers confidential VMs are for tenants with high security and confidentiality requirements. These VMs provide a strong, hardware-enforced boundary to help meet your security needs. You can use confidential VMs for migrations without making changes to your code, with the platform protecting your VM's state from being read or modified.
- Security
Types Trusted Launch trustedLaunchTrusted launch protects against advanced and persistent attack techniques.- Security
Types Confidential VM confidentialVMAzure confidential computing offers confidential VMs are for tenants with high security and confidentiality requirements. These VMs provide a strong, hardware-enforced boundary to help meet your security needs. You can use confidential VMs for migrations without making changes to your code, with the platform protecting your VM's state from being read or modified.
- Trusted
Launch trustedLaunchTrusted launch protects against advanced and persistent attack techniques.- Confidential
VM confidentialVMAzure confidential computing offers confidential VMs are for tenants with high security and confidentiality requirements. These VMs provide a strong, hardware-enforced boundary to help meet your security needs. You can use confidential VMs for migrations without making changes to your code, with the platform protecting your VM's state from being read or modified.
- Trusted
Launch trustedLaunchTrusted launch protects against advanced and persistent attack techniques.- Confidential
VM confidentialVMAzure confidential computing offers confidential VMs are for tenants with high security and confidentiality requirements. These VMs provide a strong, hardware-enforced boundary to help meet your security needs. You can use confidential VMs for migrations without making changes to your code, with the platform protecting your VM's state from being read or modified.
- TRUSTED_LAUNCH
trustedLaunchTrusted launch protects against advanced and persistent attack techniques.- CONFIDENTIAL_VM
confidentialVMAzure confidential computing offers confidential VMs are for tenants with high security and confidentiality requirements. These VMs provide a strong, hardware-enforced boundary to help meet your security needs. You can use confidential VMs for migrations without making changes to your code, with the platform protecting your VM's state from being read or modified.
- "trusted
Launch" trustedLaunchTrusted launch protects against advanced and persistent attack techniques.- "confidential
VM" confidentialVMAzure confidential computing offers confidential VMs are for tenants with high security and confidentiality requirements. These VMs provide a strong, hardware-enforced boundary to help meet your security needs. You can use confidential VMs for migrations without making changes to your code, with the platform protecting your VM's state from being read or modified.
ServiceArtifactReference, ServiceArtifactReferenceArgs
Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version.- Id string
- The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- Id string
- The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- id String
- The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- id string
- The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- id str
- The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- id String
- The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
ServiceArtifactReferenceResponse, ServiceArtifactReferenceResponseArgs
Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version.- Id string
- The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- Id string
- The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- id String
- The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- id string
- The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- id str
- The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- id String
- The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
StartTask, StartTaskArgs
In some cases the start task may be re-run even though the node was not rebooted. Due to this, start tasks should be idempotent and exit gracefully if the setup they're performing has already been done. Special care should be taken to avoid start tasks which create breakaway process or install/launch services from the start task working directory, as this will block Batch from being able to re-run the start task.- Command
Line string - The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified.
- Container
Settings Pulumi.Azure Native. Batch. Inputs. Task Container Settings - When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
- Environment
Settings List<Pulumi.Azure Native. Batch. Inputs. Environment Setting> - A list of environment variable settings for the start task.
- Max
Task intRetry Count - The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0
- Resource
Files List<Pulumi.Azure Native. Batch. Inputs. Resource File> - A list of files that the Batch service will download to the compute node before running the command line.
- User
Identity Pulumi.Azure Native. Batch. Inputs. User Identity - If omitted, the task runs as a non-administrative user unique to the task.
- Wait
For boolSuccess - If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true.
- Command
Line string - The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified.
- Container
Settings TaskContainer Settings - When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
- Environment
Settings []EnvironmentSetting - A list of environment variable settings for the start task.
- Max
Task intRetry Count - The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0
- Resource
Files []ResourceFile - A list of files that the Batch service will download to the compute node before running the command line.
- User
Identity UserIdentity - If omitted, the task runs as a non-administrative user unique to the task.
- Wait
For boolSuccess - If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true.
- command
Line String - The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified.
- container
Settings TaskContainer Settings - When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
- environment
Settings List<EnvironmentSetting> - A list of environment variable settings for the start task.
- max
Task IntegerRetry Count - The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0
- resource
Files List<ResourceFile> - A list of files that the Batch service will download to the compute node before running the command line.
- user
Identity UserIdentity - If omitted, the task runs as a non-administrative user unique to the task.
- wait
For BooleanSuccess - If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true.
- command
Line string - The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified.
- container
Settings TaskContainer Settings - When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
- environment
Settings EnvironmentSetting[] - A list of environment variable settings for the start task.
- max
Task numberRetry Count - The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0
- resource
Files ResourceFile[] - A list of files that the Batch service will download to the compute node before running the command line.
- user
Identity UserIdentity - If omitted, the task runs as a non-administrative user unique to the task.
- wait
For booleanSuccess - If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true.
- command_
line str - The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified.
- container_
settings TaskContainer Settings - When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
- environment_
settings Sequence[EnvironmentSetting] - A list of environment variable settings for the start task.
- max_
task_ intretry_ count - The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0
- resource_
files Sequence[ResourceFile] - A list of files that the Batch service will download to the compute node before running the command line.
- user_
identity UserIdentity - If omitted, the task runs as a non-administrative user unique to the task.
- wait_
for_ boolsuccess - If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true.
- command
Line String - The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified.
- container
Settings Property Map - When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
- environment
Settings List<Property Map> - A list of environment variable settings for the start task.
- max
Task NumberRetry Count - The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0
- resource
Files List<Property Map> - A list of files that the Batch service will download to the compute node before running the command line.
- user
Identity Property Map - If omitted, the task runs as a non-administrative user unique to the task.
- wait
For BooleanSuccess - If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true.
StartTaskResponse, StartTaskResponseArgs
In some cases the start task may be re-run even though the node was not rebooted. Due to this, start tasks should be idempotent and exit gracefully if the setup they're performing has already been done. Special care should be taken to avoid start tasks which create breakaway process or install/launch services from the start task working directory, as this will block Batch from being able to re-run the start task.- Command
Line string - The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified.
- Container
Settings Pulumi.Azure Native. Batch. Inputs. Task Container Settings Response - When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
- Environment
Settings List<Pulumi.Azure Native. Batch. Inputs. Environment Setting Response> - A list of environment variable settings for the start task.
- Max
Task intRetry Count - The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0
- Resource
Files List<Pulumi.Azure Native. Batch. Inputs. Resource File Response> - A list of files that the Batch service will download to the compute node before running the command line.
- User
Identity Pulumi.Azure Native. Batch. Inputs. User Identity Response - If omitted, the task runs as a non-administrative user unique to the task.
- Wait
For boolSuccess - If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true.
- Command
Line string - The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified.
- Container
Settings TaskContainer Settings Response - When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
- Environment
Settings []EnvironmentSetting Response - A list of environment variable settings for the start task.
- Max
Task intRetry Count - The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0
- Resource
Files []ResourceFile Response - A list of files that the Batch service will download to the compute node before running the command line.
- User
Identity UserIdentity Response - If omitted, the task runs as a non-administrative user unique to the task.
- Wait
For boolSuccess - If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true.
- command
Line String - The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified.
- container
Settings TaskContainer Settings Response - When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
- environment
Settings List<EnvironmentSetting Response> - A list of environment variable settings for the start task.
- max
Task IntegerRetry Count - The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0
- resource
Files List<ResourceFile Response> - A list of files that the Batch service will download to the compute node before running the command line.
- user
Identity UserIdentity Response - If omitted, the task runs as a non-administrative user unique to the task.
- wait
For BooleanSuccess - If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true.
- command
Line string - The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified.
- container
Settings TaskContainer Settings Response - When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
- environment
Settings EnvironmentSetting Response[] - A list of environment variable settings for the start task.
- max
Task numberRetry Count - The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0
- resource
Files ResourceFile Response[] - A list of files that the Batch service will download to the compute node before running the command line.
- user
Identity UserIdentity Response - If omitted, the task runs as a non-administrative user unique to the task.
- wait
For booleanSuccess - If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true.
- command_
line str - The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified.
- container_
settings TaskContainer Settings Response - When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
- environment_
settings Sequence[EnvironmentSetting Response] - A list of environment variable settings for the start task.
- max_
task_ intretry_ count - The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0
- resource_
files Sequence[ResourceFile Response] - A list of files that the Batch service will download to the compute node before running the command line.
- user_
identity UserIdentity Response - If omitted, the task runs as a non-administrative user unique to the task.
- wait_
for_ boolsuccess - If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true.
- command
Line String - The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified.
- container
Settings Property Map - When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.
- environment
Settings List<Property Map> - A list of environment variable settings for the start task.
- max
Task NumberRetry Count - The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0
- resource
Files List<Property Map> - A list of files that the Batch service will download to the compute node before running the command line.
- user
Identity Property Map - If omitted, the task runs as a non-administrative user unique to the task.
- wait
For BooleanSuccess - If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true.
StorageAccountType, StorageAccountTypeArgs
- Standard_LRS
Standard_LRSThe data disk / OS disk should use standard locally redundant storage.- Premium_LRS
Premium_LRSThe data disk / OS disk should use premium locally redundant storage.- Standard
SSD_LRS StandardSSD_LRSThe data disk / OS disk should use standard SSD locally redundant storage.
- Storage
Account Type_Standard_LRS Standard_LRSThe data disk / OS disk should use standard locally redundant storage.- Storage
Account Type_Premium_LRS Premium_LRSThe data disk / OS disk should use premium locally redundant storage.- Storage
Account Type_Standard SSD_LRS StandardSSD_LRSThe data disk / OS disk should use standard SSD locally redundant storage.
- Standard_LRS
Standard_LRSThe data disk / OS disk should use standard locally redundant storage.- Premium_LRS
Premium_LRSThe data disk / OS disk should use premium locally redundant storage.- Standard
SSD_LRS StandardSSD_LRSThe data disk / OS disk should use standard SSD locally redundant storage.
- Standard_LRS
Standard_LRSThe data disk / OS disk should use standard locally redundant storage.- Premium_LRS
Premium_LRSThe data disk / OS disk should use premium locally redundant storage.- Standard
SSD_LRS StandardSSD_LRSThe data disk / OS disk should use standard SSD locally redundant storage.
- STANDARD_LRS
Standard_LRSThe data disk / OS disk should use standard locally redundant storage.- PREMIUM_LRS
Premium_LRSThe data disk / OS disk should use premium locally redundant storage.- STANDARD_SS_D_LRS
StandardSSD_LRSThe data disk / OS disk should use standard SSD locally redundant storage.
- "Standard_LRS"
Standard_LRSThe data disk / OS disk should use standard locally redundant storage.- "Premium_LRS"
Premium_LRSThe data disk / OS disk should use premium locally redundant storage.- "Standard
SSD_LRS" StandardSSD_LRSThe data disk / OS disk should use standard SSD locally redundant storage.
SystemDataResponse, SystemDataResponseArgs
Metadata pertaining to creation and last modification of the resource.- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
TaskContainerSettings, TaskContainerSettingsArgs
The container settings for a task.- Image
Name string - This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.
- Container
Host List<Pulumi.Batch Bind Mounts Azure Native. Batch. Inputs. Container Host Batch Bind Mount Entry> - If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty.
- Container
Run stringOptions - These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
- Registry
Pulumi.
Azure Native. Batch. Inputs. Container Registry - This setting can be omitted if was already provided at pool creation.
- Working
Directory Pulumi.Azure Native. Batch. Container Working Directory - A flag to indicate where the container task working directory is. The default is 'taskWorkingDirectory'.
- Image
Name string - This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.
- Container
Host []ContainerBatch Bind Mounts Host Batch Bind Mount Entry - If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty.
- Container
Run stringOptions - These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
- Registry
Container
Registry - This setting can be omitted if was already provided at pool creation.
- Working
Directory ContainerWorking Directory - A flag to indicate where the container task working directory is. The default is 'taskWorkingDirectory'.
- image
Name String - This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.
- container
Host List<ContainerBatch Bind Mounts Host Batch Bind Mount Entry> - If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty.
- container
Run StringOptions - These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
- registry
Container
Registry - This setting can be omitted if was already provided at pool creation.
- working
Directory ContainerWorking Directory - A flag to indicate where the container task working directory is. The default is 'taskWorkingDirectory'.
- image
Name string - This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.
- container
Host ContainerBatch Bind Mounts Host Batch Bind Mount Entry[] - If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty.
- container
Run stringOptions - These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
- registry
Container
Registry - This setting can be omitted if was already provided at pool creation.
- working
Directory ContainerWorking Directory - A flag to indicate where the container task working directory is. The default is 'taskWorkingDirectory'.
- image_
name str - This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.
- container_
host_ Sequence[Containerbatch_ bind_ mounts Host Batch Bind Mount Entry] - If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty.
- container_
run_ stroptions - These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
- registry
Container
Registry - This setting can be omitted if was already provided at pool creation.
- working_
directory ContainerWorking Directory - A flag to indicate where the container task working directory is. The default is 'taskWorkingDirectory'.
- image
Name String - This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.
- container
Host List<Property Map>Batch Bind Mounts - If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty.
- container
Run StringOptions - These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
- registry Property Map
- This setting can be omitted if was already provided at pool creation.
- working
Directory "TaskWorking Directory" | "Container Image Default" - A flag to indicate where the container task working directory is. The default is 'taskWorkingDirectory'.
TaskContainerSettingsResponse, TaskContainerSettingsResponseArgs
The container settings for a task.- Image
Name string - This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.
- Container
Host List<Pulumi.Batch Bind Mounts Azure Native. Batch. Inputs. Container Host Batch Bind Mount Entry Response> - If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty.
- Container
Run stringOptions - These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
- Registry
Pulumi.
Azure Native. Batch. Inputs. Container Registry Response - This setting can be omitted if was already provided at pool creation.
- Working
Directory string - A flag to indicate where the container task working directory is. The default is 'taskWorkingDirectory'.
- Image
Name string - This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.
- Container
Host []ContainerBatch Bind Mounts Host Batch Bind Mount Entry Response - If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty.
- Container
Run stringOptions - These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
- Registry
Container
Registry Response - This setting can be omitted if was already provided at pool creation.
- Working
Directory string - A flag to indicate where the container task working directory is. The default is 'taskWorkingDirectory'.
- image
Name String - This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.
- container
Host List<ContainerBatch Bind Mounts Host Batch Bind Mount Entry Response> - If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty.
- container
Run StringOptions - These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
- registry
Container
Registry Response - This setting can be omitted if was already provided at pool creation.
- working
Directory String - A flag to indicate where the container task working directory is. The default is 'taskWorkingDirectory'.
- image
Name string - This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.
- container
Host ContainerBatch Bind Mounts Host Batch Bind Mount Entry Response[] - If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty.
- container
Run stringOptions - These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
- registry
Container
Registry Response - This setting can be omitted if was already provided at pool creation.
- working
Directory string - A flag to indicate where the container task working directory is. The default is 'taskWorkingDirectory'.
- image_
name str - This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.
- container_
host_ Sequence[Containerbatch_ bind_ mounts Host Batch Bind Mount Entry Response] - If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty.
- container_
run_ stroptions - These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
- registry
Container
Registry Response - This setting can be omitted if was already provided at pool creation.
- working_
directory str - A flag to indicate where the container task working directory is. The default is 'taskWorkingDirectory'.
- image
Name String - This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.
- container
Host List<Property Map>Batch Bind Mounts - If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty.
- container
Run StringOptions - These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.
- registry Property Map
- This setting can be omitted if was already provided at pool creation.
- working
Directory String - A flag to indicate where the container task working directory is. The default is 'taskWorkingDirectory'.
TaskSchedulingPolicy, TaskSchedulingPolicyArgs
Specifies how tasks should be distributed across compute nodes.- Node
Fill Pulumi.Type Azure Native. Batch. Compute Node Fill Type - How tasks should be distributed across compute nodes.
- Node
Fill ComputeType Node Fill Type - How tasks should be distributed across compute nodes.
- node
Fill ComputeType Node Fill Type - How tasks should be distributed across compute nodes.
- node
Fill ComputeType Node Fill Type - How tasks should be distributed across compute nodes.
- node_
fill_ Computetype Node Fill Type - How tasks should be distributed across compute nodes.
- node
Fill "Spread" | "Pack"Type - How tasks should be distributed across compute nodes.
TaskSchedulingPolicyResponse, TaskSchedulingPolicyResponseArgs
Specifies how tasks should be distributed across compute nodes.- Node
Fill stringType - How tasks should be distributed across compute nodes.
- Node
Fill stringType - How tasks should be distributed across compute nodes.
- node
Fill StringType - How tasks should be distributed across compute nodes.
- node
Fill stringType - How tasks should be distributed across compute nodes.
- node_
fill_ strtype - How tasks should be distributed across compute nodes.
- node
Fill StringType - How tasks should be distributed across compute nodes.
UefiSettings, UefiSettingsArgs
Specifies the security settings like secure boot and vTPM used while creating the virtual machine.- Secure
Boot boolEnabled - Specifies whether secure boot should be enabled on the virtual machine.
- VTpm
Enabled bool - Specifies whether vTPM should be enabled on the virtual machine.
- Secure
Boot boolEnabled - Specifies whether secure boot should be enabled on the virtual machine.
- VTpm
Enabled bool - Specifies whether vTPM should be enabled on the virtual machine.
- secure
Boot BooleanEnabled - Specifies whether secure boot should be enabled on the virtual machine.
- v
Tpm BooleanEnabled - Specifies whether vTPM should be enabled on the virtual machine.
- secure
Boot booleanEnabled - Specifies whether secure boot should be enabled on the virtual machine.
- v
Tpm booleanEnabled - Specifies whether vTPM should be enabled on the virtual machine.
- secure_
boot_ boolenabled - Specifies whether secure boot should be enabled on the virtual machine.
- v_
tpm_ boolenabled - Specifies whether vTPM should be enabled on the virtual machine.
- secure
Boot BooleanEnabled - Specifies whether secure boot should be enabled on the virtual machine.
- v
Tpm BooleanEnabled - Specifies whether vTPM should be enabled on the virtual machine.
UefiSettingsResponse, UefiSettingsResponseArgs
Specifies the security settings like secure boot and vTPM used while creating the virtual machine.- Secure
Boot boolEnabled - Specifies whether secure boot should be enabled on the virtual machine.
- VTpm
Enabled bool - Specifies whether vTPM should be enabled on the virtual machine.
- Secure
Boot boolEnabled - Specifies whether secure boot should be enabled on the virtual machine.
- VTpm
Enabled bool - Specifies whether vTPM should be enabled on the virtual machine.
- secure
Boot BooleanEnabled - Specifies whether secure boot should be enabled on the virtual machine.
- v
Tpm BooleanEnabled - Specifies whether vTPM should be enabled on the virtual machine.
- secure
Boot booleanEnabled - Specifies whether secure boot should be enabled on the virtual machine.
- v
Tpm booleanEnabled - Specifies whether vTPM should be enabled on the virtual machine.
- secure_
boot_ boolenabled - Specifies whether secure boot should be enabled on the virtual machine.
- v_
tpm_ boolenabled - Specifies whether vTPM should be enabled on the virtual machine.
- secure
Boot BooleanEnabled - Specifies whether secure boot should be enabled on the virtual machine.
- v
Tpm BooleanEnabled - Specifies whether vTPM should be enabled on the virtual machine.
UpgradeMode, UpgradeModeArgs
- Automatic
automaticAll virtual machines in the scale set are automatically updated at the same time.- Manual
manualYou control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.- Rolling
rollingThe existing instances in a scale set are brought down in batches to be upgraded. Once the upgraded batch is complete, the instances will begin taking traffic again and the next batch will begin. This continues until all instances brought up-to-date.
- Upgrade
Mode Automatic automaticAll virtual machines in the scale set are automatically updated at the same time.- Upgrade
Mode Manual manualYou control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.- Upgrade
Mode Rolling rollingThe existing instances in a scale set are brought down in batches to be upgraded. Once the upgraded batch is complete, the instances will begin taking traffic again and the next batch will begin. This continues until all instances brought up-to-date.
- Automatic
automaticAll virtual machines in the scale set are automatically updated at the same time.- Manual
manualYou control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.- Rolling
rollingThe existing instances in a scale set are brought down in batches to be upgraded. Once the upgraded batch is complete, the instances will begin taking traffic again and the next batch will begin. This continues until all instances brought up-to-date.
- Automatic
automaticAll virtual machines in the scale set are automatically updated at the same time.- Manual
manualYou control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.- Rolling
rollingThe existing instances in a scale set are brought down in batches to be upgraded. Once the upgraded batch is complete, the instances will begin taking traffic again and the next batch will begin. This continues until all instances brought up-to-date.
- AUTOMATIC
automaticAll virtual machines in the scale set are automatically updated at the same time.- MANUAL
manualYou control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.- ROLLING
rollingThe existing instances in a scale set are brought down in batches to be upgraded. Once the upgraded batch is complete, the instances will begin taking traffic again and the next batch will begin. This continues until all instances brought up-to-date.
- "automatic"
automaticAll virtual machines in the scale set are automatically updated at the same time.- "manual"
manualYou control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.- "rolling"
rollingThe existing instances in a scale set are brought down in batches to be upgraded. Once the upgraded batch is complete, the instances will begin taking traffic again and the next batch will begin. This continues until all instances brought up-to-date.
UpgradePolicy, UpgradePolicyArgs
Describes an upgrade policy - automatic, manual, or rolling.- Mode
Pulumi.
Azure Native. Batch. Upgrade Mode - Specifies the mode of an upgrade to virtual machines in the scale set. Possible values are: Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action. Automatic - All virtual machines in the scale set are automatically updated at the same time. Rolling - Scale set performs updates in batches with an optional pause time in between.
- Automatic
OSUpgrade Pulumi.Policy Azure Native. Batch. Inputs. Automatic OSUpgrade Policy - The configuration parameters used for performing automatic OS upgrade.
- Rolling
Upgrade Pulumi.Policy Azure Native. Batch. Inputs. Rolling Upgrade Policy - The configuration parameters used while performing a rolling upgrade.
- Mode
Upgrade
Mode - Specifies the mode of an upgrade to virtual machines in the scale set. Possible values are: Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action. Automatic - All virtual machines in the scale set are automatically updated at the same time. Rolling - Scale set performs updates in batches with an optional pause time in between.
- Automatic
OSUpgrade AutomaticPolicy OSUpgrade Policy - The configuration parameters used for performing automatic OS upgrade.
- Rolling
Upgrade RollingPolicy Upgrade Policy - The configuration parameters used while performing a rolling upgrade.
- mode
Upgrade
Mode - Specifies the mode of an upgrade to virtual machines in the scale set. Possible values are: Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action. Automatic - All virtual machines in the scale set are automatically updated at the same time. Rolling - Scale set performs updates in batches with an optional pause time in between.
- automatic
OSUpgrade AutomaticPolicy OSUpgrade Policy - The configuration parameters used for performing automatic OS upgrade.
- rolling
Upgrade RollingPolicy Upgrade Policy - The configuration parameters used while performing a rolling upgrade.
- mode
Upgrade
Mode - Specifies the mode of an upgrade to virtual machines in the scale set. Possible values are: Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action. Automatic - All virtual machines in the scale set are automatically updated at the same time. Rolling - Scale set performs updates in batches with an optional pause time in between.
- automatic
OSUpgrade AutomaticPolicy OSUpgrade Policy - The configuration parameters used for performing automatic OS upgrade.
- rolling
Upgrade RollingPolicy Upgrade Policy - The configuration parameters used while performing a rolling upgrade.
- mode
Upgrade
Mode - Specifies the mode of an upgrade to virtual machines in the scale set. Possible values are: Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action. Automatic - All virtual machines in the scale set are automatically updated at the same time. Rolling - Scale set performs updates in batches with an optional pause time in between.
- automatic_
os_ Automaticupgrade_ policy OSUpgrade Policy - The configuration parameters used for performing automatic OS upgrade.
- rolling_
upgrade_ Rollingpolicy Upgrade Policy - The configuration parameters used while performing a rolling upgrade.
- mode "automatic" | "manual" | "rolling"
- Specifies the mode of an upgrade to virtual machines in the scale set. Possible values are: Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action. Automatic - All virtual machines in the scale set are automatically updated at the same time. Rolling - Scale set performs updates in batches with an optional pause time in between.
- automatic
OSUpgrade Property MapPolicy - The configuration parameters used for performing automatic OS upgrade.
- rolling
Upgrade Property MapPolicy - The configuration parameters used while performing a rolling upgrade.
UpgradePolicyResponse, UpgradePolicyResponseArgs
Describes an upgrade policy - automatic, manual, or rolling.- Mode string
- Specifies the mode of an upgrade to virtual machines in the scale set. Possible values are: Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action. Automatic - All virtual machines in the scale set are automatically updated at the same time. Rolling - Scale set performs updates in batches with an optional pause time in between.
- Automatic
OSUpgrade Pulumi.Policy Azure Native. Batch. Inputs. Automatic OSUpgrade Policy Response - The configuration parameters used for performing automatic OS upgrade.
- Rolling
Upgrade Pulumi.Policy Azure Native. Batch. Inputs. Rolling Upgrade Policy Response - The configuration parameters used while performing a rolling upgrade.
- Mode string
- Specifies the mode of an upgrade to virtual machines in the scale set. Possible values are: Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action. Automatic - All virtual machines in the scale set are automatically updated at the same time. Rolling - Scale set performs updates in batches with an optional pause time in between.
- Automatic
OSUpgrade AutomaticPolicy OSUpgrade Policy Response - The configuration parameters used for performing automatic OS upgrade.
- Rolling
Upgrade RollingPolicy Upgrade Policy Response - The configuration parameters used while performing a rolling upgrade.
- mode String
- Specifies the mode of an upgrade to virtual machines in the scale set. Possible values are: Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action. Automatic - All virtual machines in the scale set are automatically updated at the same time. Rolling - Scale set performs updates in batches with an optional pause time in between.
- automatic
OSUpgrade AutomaticPolicy OSUpgrade Policy Response - The configuration parameters used for performing automatic OS upgrade.
- rolling
Upgrade RollingPolicy Upgrade Policy Response - The configuration parameters used while performing a rolling upgrade.
- mode string
- Specifies the mode of an upgrade to virtual machines in the scale set. Possible values are: Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action. Automatic - All virtual machines in the scale set are automatically updated at the same time. Rolling - Scale set performs updates in batches with an optional pause time in between.
- automatic
OSUpgrade AutomaticPolicy OSUpgrade Policy Response - The configuration parameters used for performing automatic OS upgrade.
- rolling
Upgrade RollingPolicy Upgrade Policy Response - The configuration parameters used while performing a rolling upgrade.
- mode str
- Specifies the mode of an upgrade to virtual machines in the scale set. Possible values are: Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action. Automatic - All virtual machines in the scale set are automatically updated at the same time. Rolling - Scale set performs updates in batches with an optional pause time in between.
- automatic_
os_ Automaticupgrade_ policy OSUpgrade Policy Response - The configuration parameters used for performing automatic OS upgrade.
- rolling_
upgrade_ Rollingpolicy Upgrade Policy Response - The configuration parameters used while performing a rolling upgrade.
- mode String
- Specifies the mode of an upgrade to virtual machines in the scale set. Possible values are: Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action. Automatic - All virtual machines in the scale set are automatically updated at the same time. Rolling - Scale set performs updates in batches with an optional pause time in between.
- automatic
OSUpgrade Property MapPolicy - The configuration parameters used for performing automatic OS upgrade.
- rolling
Upgrade Property MapPolicy - The configuration parameters used while performing a rolling upgrade.
UserAccount, UserAccountArgs
Properties used to create a user on an Azure Batch node.- Name string
- The name of the user account. Names can contain any Unicode characters up to a maximum length of 20.
- Password string
- The password for the user account.
- Elevation
Level Pulumi.Azure Native. Batch. Elevation Level - nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
- Linux
User Pulumi.Configuration Azure Native. Batch. Inputs. Linux User Configuration - This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.
- Windows
User Pulumi.Configuration Azure Native. Batch. Inputs. Windows User Configuration - This property can only be specified if the user is on a Windows pool. If not specified and on a Windows pool, the user is created with the default options.
- Name string
- The name of the user account. Names can contain any Unicode characters up to a maximum length of 20.
- Password string
- The password for the user account.
- Elevation
Level ElevationLevel - nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
- Linux
User LinuxConfiguration User Configuration - This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.
- Windows
User WindowsConfiguration User Configuration - This property can only be specified if the user is on a Windows pool. If not specified and on a Windows pool, the user is created with the default options.
- name String
- The name of the user account. Names can contain any Unicode characters up to a maximum length of 20.
- password String
- The password for the user account.
- elevation
Level ElevationLevel - nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
- linux
User LinuxConfiguration User Configuration - This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.
- windows
User WindowsConfiguration User Configuration - This property can only be specified if the user is on a Windows pool. If not specified and on a Windows pool, the user is created with the default options.
- name string
- The name of the user account. Names can contain any Unicode characters up to a maximum length of 20.
- password string
- The password for the user account.
- elevation
Level ElevationLevel - nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
- linux
User LinuxConfiguration User Configuration - This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.
- windows
User WindowsConfiguration User Configuration - This property can only be specified if the user is on a Windows pool. If not specified and on a Windows pool, the user is created with the default options.
- name str
- The name of the user account. Names can contain any Unicode characters up to a maximum length of 20.
- password str
- The password for the user account.
- elevation_
level ElevationLevel - nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
- linux_
user_ Linuxconfiguration User Configuration - This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.
- windows_
user_ Windowsconfiguration User Configuration - This property can only be specified if the user is on a Windows pool. If not specified and on a Windows pool, the user is created with the default options.
- name String
- The name of the user account. Names can contain any Unicode characters up to a maximum length of 20.
- password String
- The password for the user account.
- elevation
Level "NonAdmin" | "Admin" - nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
- linux
User Property MapConfiguration - This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.
- windows
User Property MapConfiguration - This property can only be specified if the user is on a Windows pool. If not specified and on a Windows pool, the user is created with the default options.
UserAccountResponse, UserAccountResponseArgs
Properties used to create a user on an Azure Batch node.- Name string
- The name of the user account. Names can contain any Unicode characters up to a maximum length of 20.
- Password string
- The password for the user account.
- Elevation
Level string - nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
- Linux
User Pulumi.Configuration Azure Native. Batch. Inputs. Linux User Configuration Response - This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.
- Windows
User Pulumi.Configuration Azure Native. Batch. Inputs. Windows User Configuration Response - This property can only be specified if the user is on a Windows pool. If not specified and on a Windows pool, the user is created with the default options.
- Name string
- The name of the user account. Names can contain any Unicode characters up to a maximum length of 20.
- Password string
- The password for the user account.
- Elevation
Level string - nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
- Linux
User LinuxConfiguration User Configuration Response - This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.
- Windows
User WindowsConfiguration User Configuration Response - This property can only be specified if the user is on a Windows pool. If not specified and on a Windows pool, the user is created with the default options.
- name String
- The name of the user account. Names can contain any Unicode characters up to a maximum length of 20.
- password String
- The password for the user account.
- elevation
Level String - nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
- linux
User LinuxConfiguration User Configuration Response - This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.
- windows
User WindowsConfiguration User Configuration Response - This property can only be specified if the user is on a Windows pool. If not specified and on a Windows pool, the user is created with the default options.
- name string
- The name of the user account. Names can contain any Unicode characters up to a maximum length of 20.
- password string
- The password for the user account.
- elevation
Level string - nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
- linux
User LinuxConfiguration User Configuration Response - This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.
- windows
User WindowsConfiguration User Configuration Response - This property can only be specified if the user is on a Windows pool. If not specified and on a Windows pool, the user is created with the default options.
- name str
- The name of the user account. Names can contain any Unicode characters up to a maximum length of 20.
- password str
- The password for the user account.
- elevation_
level str - nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
- linux_
user_ Linuxconfiguration User Configuration Response - This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.
- windows_
user_ Windowsconfiguration User Configuration Response - This property can only be specified if the user is on a Windows pool. If not specified and on a Windows pool, the user is created with the default options.
- name String
- The name of the user account. Names can contain any Unicode characters up to a maximum length of 20.
- password String
- The password for the user account.
- elevation
Level String - nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.
- linux
User Property MapConfiguration - This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.
- windows
User Property MapConfiguration - This property can only be specified if the user is on a Windows pool. If not specified and on a Windows pool, the user is created with the default options.
UserAssignedIdentitiesResponse, UserAssignedIdentitiesResponseArgs
The list of associated user identities.- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
- client
Id string - The client id of user assigned identity.
- principal
Id string - The principal id of user assigned identity.
- client_
id str - The client id of user assigned identity.
- principal_
id str - The principal id of user assigned identity.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
UserIdentity, UserIdentityArgs
Specify either the userName or autoUser property, but not both.- Auto
User Pulumi.Azure Native. Batch. Inputs. Auto User Specification - The userName and autoUser properties are mutually exclusive; you must specify one but not both.
- User
Name string - The userName and autoUser properties are mutually exclusive; you must specify one but not both.
- Auto
User AutoUser Specification - The userName and autoUser properties are mutually exclusive; you must specify one but not both.
- User
Name string - The userName and autoUser properties are mutually exclusive; you must specify one but not both.
- auto
User AutoUser Specification - The userName and autoUser properties are mutually exclusive; you must specify one but not both.
- user
Name String - The userName and autoUser properties are mutually exclusive; you must specify one but not both.
- auto
User AutoUser Specification - The userName and autoUser properties are mutually exclusive; you must specify one but not both.
- user
Name string - The userName and autoUser properties are mutually exclusive; you must specify one but not both.
- auto_
user AutoUser Specification - The userName and autoUser properties are mutually exclusive; you must specify one but not both.
- user_
name str - The userName and autoUser properties are mutually exclusive; you must specify one but not both.
- auto
User Property Map - The userName and autoUser properties are mutually exclusive; you must specify one but not both.
- user
Name String - The userName and autoUser properties are mutually exclusive; you must specify one but not both.
UserIdentityResponse, UserIdentityResponseArgs
Specify either the userName or autoUser property, but not both.- Auto
User Pulumi.Azure Native. Batch. Inputs. Auto User Specification Response - The userName and autoUser properties are mutually exclusive; you must specify one but not both.
- User
Name string - The userName and autoUser properties are mutually exclusive; you must specify one but not both.
- Auto
User AutoUser Specification Response - The userName and autoUser properties are mutually exclusive; you must specify one but not both.
- User
Name string - The userName and autoUser properties are mutually exclusive; you must specify one but not both.
- auto
User AutoUser Specification Response - The userName and autoUser properties are mutually exclusive; you must specify one but not both.
- user
Name String - The userName and autoUser properties are mutually exclusive; you must specify one but not both.
- auto
User AutoUser Specification Response - The userName and autoUser properties are mutually exclusive; you must specify one but not both.
- user
Name string - The userName and autoUser properties are mutually exclusive; you must specify one but not both.
- auto_
user AutoUser Specification Response - The userName and autoUser properties are mutually exclusive; you must specify one but not both.
- user_
name str - The userName and autoUser properties are mutually exclusive; you must specify one but not both.
- auto
User Property Map - The userName and autoUser properties are mutually exclusive; you must specify one but not both.
- user
Name String - The userName and autoUser properties are mutually exclusive; you must specify one but not both.
VMDiskSecurityProfile, VMDiskSecurityProfileArgs
Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.- Security
Encryption string | Pulumi.Type Azure Native. Batch. Security Encryption Types - Specifies the EncryptionType of the managed disk. It is set to VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob. Note: It can be set for only Confidential VMs and required when using Confidential VMs.
- Security
Encryption string | SecurityType Encryption Types - Specifies the EncryptionType of the managed disk. It is set to VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob. Note: It can be set for only Confidential VMs and required when using Confidential VMs.
- security
Encryption String | SecurityType Encryption Types - Specifies the EncryptionType of the managed disk. It is set to VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob. Note: It can be set for only Confidential VMs and required when using Confidential VMs.
- security
Encryption string | SecurityType Encryption Types - Specifies the EncryptionType of the managed disk. It is set to VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob. Note: It can be set for only Confidential VMs and required when using Confidential VMs.
- security_
encryption_ str | Securitytype Encryption Types - Specifies the EncryptionType of the managed disk. It is set to VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob. Note: It can be set for only Confidential VMs and required when using Confidential VMs.
- security
Encryption String | "NonType Persisted TPM" | "VMGuest State Only" - Specifies the EncryptionType of the managed disk. It is set to VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob. Note: It can be set for only Confidential VMs and required when using Confidential VMs.
VMDiskSecurityProfileResponse, VMDiskSecurityProfileResponseArgs
Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.- Security
Encryption stringType - Specifies the EncryptionType of the managed disk. It is set to VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob. Note: It can be set for only Confidential VMs and required when using Confidential VMs.
- Security
Encryption stringType - Specifies the EncryptionType of the managed disk. It is set to VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob. Note: It can be set for only Confidential VMs and required when using Confidential VMs.
- security
Encryption StringType - Specifies the EncryptionType of the managed disk. It is set to VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob. Note: It can be set for only Confidential VMs and required when using Confidential VMs.
- security
Encryption stringType - Specifies the EncryptionType of the managed disk. It is set to VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob. Note: It can be set for only Confidential VMs and required when using Confidential VMs.
- security_
encryption_ strtype - Specifies the EncryptionType of the managed disk. It is set to VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob. Note: It can be set for only Confidential VMs and required when using Confidential VMs.
- security
Encryption StringType - Specifies the EncryptionType of the managed disk. It is set to VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob. Note: It can be set for only Confidential VMs and required when using Confidential VMs.
VMExtension, VMExtensionArgs
The configuration for virtual machine extensions.- Name string
- The name of the virtual machine extension.
- Publisher string
- 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.
- Enable
Automatic boolUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- Protected
Settings object - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- Provision
After List<string>Extensions - Collection of extension names after which this extension needs to be provisioned.
- Settings object
- 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.
- 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.
- Enable
Automatic boolUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- Protected
Settings interface{} - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- Provision
After []stringExtensions - Collection of extension names after which this extension needs to be provisioned.
- Settings interface{}
- 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.
- 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.
- enable
Automatic BooleanUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- protected
Settings Object - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- provision
After List<String>Extensions - Collection of extension names after which this extension needs to be provisioned.
- settings Object
- 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.
- 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.
- enable
Automatic booleanUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- protected
Settings any - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- provision
After string[]Extensions - Collection of extension names after which this extension needs to be provisioned.
- settings any
- 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.
- 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.
- enable_
automatic_ boolupgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- protected_
settings Any - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- provision_
after_ Sequence[str]extensions - Collection of extension names after which this extension needs to be provisioned.
- settings Any
- 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.
- 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.
- enable
Automatic BooleanUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- protected
Settings Any - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- provision
After List<String>Extensions - Collection of extension names after which this extension needs to be provisioned.
- settings Any
- JSON formatted public settings for the extension.
- type
Handler StringVersion - The version of script handler.
VMExtensionResponse, VMExtensionResponseArgs
The configuration for virtual machine extensions.- Name string
- The name of the virtual machine extension.
- Publisher string
- 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.
- Enable
Automatic boolUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- Protected
Settings object - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- Provision
After List<string>Extensions - Collection of extension names after which this extension needs to be provisioned.
- Settings object
- 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.
- 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.
- Enable
Automatic boolUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- Protected
Settings interface{} - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- Provision
After []stringExtensions - Collection of extension names after which this extension needs to be provisioned.
- Settings interface{}
- 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.
- 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.
- enable
Automatic BooleanUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- protected
Settings Object - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- provision
After List<String>Extensions - Collection of extension names after which this extension needs to be provisioned.
- settings Object
- 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.
- 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.
- enable
Automatic booleanUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- protected
Settings any - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- provision
After string[]Extensions - Collection of extension names after which this extension needs to be provisioned.
- settings any
- 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.
- 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.
- enable_
automatic_ boolupgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- protected_
settings Any - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- provision_
after_ Sequence[str]extensions - Collection of extension names after which this extension needs to be provisioned.
- settings Any
- 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.
- 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.
- enable
Automatic BooleanUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- protected
Settings Any - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- provision
After List<String>Extensions - Collection of extension names after which this extension needs to be provisioned.
- settings Any
- JSON formatted public settings for the extension.
- type
Handler StringVersion - The version of script handler.
VirtualMachineConfiguration, VirtualMachineConfigurationArgs
The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure.- Image
Reference Pulumi.Azure Native. Batch. Inputs. Image Reference - A reference to an Azure Virtual Machines Marketplace image or the Azure Image resource of a custom Virtual Machine. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation.
- Node
Agent stringSku Id - The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.
- Container
Configuration Pulumi.Azure Native. Batch. Inputs. Container Configuration - If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it.
- Data
Disks List<Pulumi.Azure Native. Batch. Inputs. Data Disk> - This property must be specified if the compute nodes in the pool need to have empty data disks attached to them.
- Disk
Encryption Pulumi.Configuration Azure Native. Batch. Inputs. Disk Encryption Configuration - If specified, encryption is performed on each node in the pool during node provisioning.
- Extensions
List<Pulumi.
Azure Native. Batch. Inputs. VMExtension> - If specified, the extensions mentioned in this configuration will be installed on each node.
- License
Type string This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:
Windows_Server - The on-premises license is for Windows Server. Windows_Client - The on-premises license is for Windows Client.
- Node
Placement Pulumi.Configuration Azure Native. Batch. Inputs. Node Placement Configuration - This configuration will specify rules on how nodes in the pool will be physically allocated.
- Os
Disk Pulumi.Azure Native. Batch. Inputs. OSDisk - Contains configuration for ephemeral OSDisk settings.
- Security
Profile Pulumi.Azure Native. Batch. Inputs. Security Profile - Specifies the security profile settings for the virtual machine or virtual machine scale set.
- Service
Artifact Pulumi.Reference Azure Native. Batch. Inputs. Service Artifact Reference - The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- Windows
Configuration Pulumi.Azure Native. Batch. Inputs. Windows Configuration - This property must not be specified if the imageReference specifies a Linux OS image.
- Image
Reference ImageReference - A reference to an Azure Virtual Machines Marketplace image or the Azure Image resource of a custom Virtual Machine. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation.
- Node
Agent stringSku Id - The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.
- Container
Configuration ContainerConfiguration - If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it.
- Data
Disks []DataDisk - This property must be specified if the compute nodes in the pool need to have empty data disks attached to them.
- Disk
Encryption DiskConfiguration Encryption Configuration - If specified, encryption is performed on each node in the pool during node provisioning.
- Extensions []VMExtension
- If specified, the extensions mentioned in this configuration will be installed on each node.
- License
Type string This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:
Windows_Server - The on-premises license is for Windows Server. Windows_Client - The on-premises license is for Windows Client.
- Node
Placement NodeConfiguration Placement Configuration - This configuration will specify rules on how nodes in the pool will be physically allocated.
- Os
Disk OSDisk - Contains configuration for ephemeral OSDisk settings.
- Security
Profile SecurityProfile - Specifies the security profile settings for the virtual machine or virtual machine scale set.
- Service
Artifact ServiceReference Artifact Reference - The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- Windows
Configuration WindowsConfiguration - This property must not be specified if the imageReference specifies a Linux OS image.
- image
Reference ImageReference - A reference to an Azure Virtual Machines Marketplace image or the Azure Image resource of a custom Virtual Machine. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation.
- node
Agent StringSku Id - The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.
- container
Configuration ContainerConfiguration - If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it.
- data
Disks List<DataDisk> - This property must be specified if the compute nodes in the pool need to have empty data disks attached to them.
- disk
Encryption DiskConfiguration Encryption Configuration - If specified, encryption is performed on each node in the pool during node provisioning.
- extensions List<VMExtension>
- If specified, the extensions mentioned in this configuration will be installed on each node.
- license
Type String This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:
Windows_Server - The on-premises license is for Windows Server. Windows_Client - The on-premises license is for Windows Client.
- node
Placement NodeConfiguration Placement Configuration - This configuration will specify rules on how nodes in the pool will be physically allocated.
- os
Disk OSDisk - Contains configuration for ephemeral OSDisk settings.
- security
Profile SecurityProfile - Specifies the security profile settings for the virtual machine or virtual machine scale set.
- service
Artifact ServiceReference Artifact Reference - The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- windows
Configuration WindowsConfiguration - This property must not be specified if the imageReference specifies a Linux OS image.
- image
Reference ImageReference - A reference to an Azure Virtual Machines Marketplace image or the Azure Image resource of a custom Virtual Machine. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation.
- node
Agent stringSku Id - The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.
- container
Configuration ContainerConfiguration - If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it.
- data
Disks DataDisk[] - This property must be specified if the compute nodes in the pool need to have empty data disks attached to them.
- disk
Encryption DiskConfiguration Encryption Configuration - If specified, encryption is performed on each node in the pool during node provisioning.
- extensions VMExtension[]
- If specified, the extensions mentioned in this configuration will be installed on each node.
- license
Type string This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:
Windows_Server - The on-premises license is for Windows Server. Windows_Client - The on-premises license is for Windows Client.
- node
Placement NodeConfiguration Placement Configuration - This configuration will specify rules on how nodes in the pool will be physically allocated.
- os
Disk OSDisk - Contains configuration for ephemeral OSDisk settings.
- security
Profile SecurityProfile - Specifies the security profile settings for the virtual machine or virtual machine scale set.
- service
Artifact ServiceReference Artifact Reference - The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- windows
Configuration WindowsConfiguration - This property must not be specified if the imageReference specifies a Linux OS image.
- image_
reference ImageReference - A reference to an Azure Virtual Machines Marketplace image or the Azure Image resource of a custom Virtual Machine. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation.
- node_
agent_ strsku_ id - The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.
- container_
configuration ContainerConfiguration - If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it.
- data_
disks Sequence[DataDisk] - This property must be specified if the compute nodes in the pool need to have empty data disks attached to them.
- disk_
encryption_ Diskconfiguration Encryption Configuration - If specified, encryption is performed on each node in the pool during node provisioning.
- extensions Sequence[VMExtension]
- If specified, the extensions mentioned in this configuration will be installed on each node.
- license_
type str This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:
Windows_Server - The on-premises license is for Windows Server. Windows_Client - The on-premises license is for Windows Client.
- node_
placement_ Nodeconfiguration Placement Configuration - This configuration will specify rules on how nodes in the pool will be physically allocated.
- os_
disk OSDisk - Contains configuration for ephemeral OSDisk settings.
- security_
profile SecurityProfile - Specifies the security profile settings for the virtual machine or virtual machine scale set.
- service_
artifact_ Servicereference Artifact Reference - The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- windows_
configuration WindowsConfiguration - This property must not be specified if the imageReference specifies a Linux OS image.
- image
Reference Property Map - A reference to an Azure Virtual Machines Marketplace image or the Azure Image resource of a custom Virtual Machine. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation.
- node
Agent StringSku Id - The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.
- container
Configuration Property Map - If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it.
- data
Disks List<Property Map> - This property must be specified if the compute nodes in the pool need to have empty data disks attached to them.
- disk
Encryption Property MapConfiguration - If specified, encryption is performed on each node in the pool during node provisioning.
- extensions List<Property Map>
- If specified, the extensions mentioned in this configuration will be installed on each node.
- license
Type String This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:
Windows_Server - The on-premises license is for Windows Server. Windows_Client - The on-premises license is for Windows Client.
- node
Placement Property MapConfiguration - This configuration will specify rules on how nodes in the pool will be physically allocated.
- os
Disk Property Map - Contains configuration for ephemeral OSDisk settings.
- security
Profile Property Map - Specifies the security profile settings for the virtual machine or virtual machine scale set.
- service
Artifact Property MapReference - The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- windows
Configuration Property Map - This property must not be specified if the imageReference specifies a Linux OS image.
VirtualMachineConfigurationResponse, VirtualMachineConfigurationResponseArgs
The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure.- Image
Reference Pulumi.Azure Native. Batch. Inputs. Image Reference Response - A reference to an Azure Virtual Machines Marketplace image or the Azure Image resource of a custom Virtual Machine. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation.
- Node
Agent stringSku Id - The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.
- Container
Configuration Pulumi.Azure Native. Batch. Inputs. Container Configuration Response - If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it.
- Data
Disks List<Pulumi.Azure Native. Batch. Inputs. Data Disk Response> - This property must be specified if the compute nodes in the pool need to have empty data disks attached to them.
- Disk
Encryption Pulumi.Configuration Azure Native. Batch. Inputs. Disk Encryption Configuration Response - If specified, encryption is performed on each node in the pool during node provisioning.
- Extensions
List<Pulumi.
Azure Native. Batch. Inputs. VMExtension Response> - If specified, the extensions mentioned in this configuration will be installed on each node.
- License
Type string This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:
Windows_Server - The on-premises license is for Windows Server. Windows_Client - The on-premises license is for Windows Client.
- Node
Placement Pulumi.Configuration Azure Native. Batch. Inputs. Node Placement Configuration Response - This configuration will specify rules on how nodes in the pool will be physically allocated.
- Os
Disk Pulumi.Azure Native. Batch. Inputs. OSDisk Response - Contains configuration for ephemeral OSDisk settings.
- Security
Profile Pulumi.Azure Native. Batch. Inputs. Security Profile Response - Specifies the security profile settings for the virtual machine or virtual machine scale set.
- Service
Artifact Pulumi.Reference Azure Native. Batch. Inputs. Service Artifact Reference Response - The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- Windows
Configuration Pulumi.Azure Native. Batch. Inputs. Windows Configuration Response - This property must not be specified if the imageReference specifies a Linux OS image.
- Image
Reference ImageReference Response - A reference to an Azure Virtual Machines Marketplace image or the Azure Image resource of a custom Virtual Machine. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation.
- Node
Agent stringSku Id - The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.
- Container
Configuration ContainerConfiguration Response - If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it.
- Data
Disks []DataDisk Response - This property must be specified if the compute nodes in the pool need to have empty data disks attached to them.
- Disk
Encryption DiskConfiguration Encryption Configuration Response - If specified, encryption is performed on each node in the pool during node provisioning.
- Extensions
[]VMExtension
Response - If specified, the extensions mentioned in this configuration will be installed on each node.
- License
Type string This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:
Windows_Server - The on-premises license is for Windows Server. Windows_Client - The on-premises license is for Windows Client.
- Node
Placement NodeConfiguration Placement Configuration Response - This configuration will specify rules on how nodes in the pool will be physically allocated.
- Os
Disk OSDiskResponse - Contains configuration for ephemeral OSDisk settings.
- Security
Profile SecurityProfile Response - Specifies the security profile settings for the virtual machine or virtual machine scale set.
- Service
Artifact ServiceReference Artifact Reference Response - The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- Windows
Configuration WindowsConfiguration Response - This property must not be specified if the imageReference specifies a Linux OS image.
- image
Reference ImageReference Response - A reference to an Azure Virtual Machines Marketplace image or the Azure Image resource of a custom Virtual Machine. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation.
- node
Agent StringSku Id - The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.
- container
Configuration ContainerConfiguration Response - If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it.
- data
Disks List<DataDisk Response> - This property must be specified if the compute nodes in the pool need to have empty data disks attached to them.
- disk
Encryption DiskConfiguration Encryption Configuration Response - If specified, encryption is performed on each node in the pool during node provisioning.
- extensions
List<VMExtension
Response> - If specified, the extensions mentioned in this configuration will be installed on each node.
- license
Type String This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:
Windows_Server - The on-premises license is for Windows Server. Windows_Client - The on-premises license is for Windows Client.
- node
Placement NodeConfiguration Placement Configuration Response - This configuration will specify rules on how nodes in the pool will be physically allocated.
- os
Disk OSDiskResponse - Contains configuration for ephemeral OSDisk settings.
- security
Profile SecurityProfile Response - Specifies the security profile settings for the virtual machine or virtual machine scale set.
- service
Artifact ServiceReference Artifact Reference Response - The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- windows
Configuration WindowsConfiguration Response - This property must not be specified if the imageReference specifies a Linux OS image.
- image
Reference ImageReference Response - A reference to an Azure Virtual Machines Marketplace image or the Azure Image resource of a custom Virtual Machine. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation.
- node
Agent stringSku Id - The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.
- container
Configuration ContainerConfiguration Response - If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it.
- data
Disks DataDisk Response[] - This property must be specified if the compute nodes in the pool need to have empty data disks attached to them.
- disk
Encryption DiskConfiguration Encryption Configuration Response - If specified, encryption is performed on each node in the pool during node provisioning.
- extensions
VMExtension
Response[] - If specified, the extensions mentioned in this configuration will be installed on each node.
- license
Type string This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:
Windows_Server - The on-premises license is for Windows Server. Windows_Client - The on-premises license is for Windows Client.
- node
Placement NodeConfiguration Placement Configuration Response - This configuration will specify rules on how nodes in the pool will be physically allocated.
- os
Disk OSDiskResponse - Contains configuration for ephemeral OSDisk settings.
- security
Profile SecurityProfile Response - Specifies the security profile settings for the virtual machine or virtual machine scale set.
- service
Artifact ServiceReference Artifact Reference Response - The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- windows
Configuration WindowsConfiguration Response - This property must not be specified if the imageReference specifies a Linux OS image.
- image_
reference ImageReference Response - A reference to an Azure Virtual Machines Marketplace image or the Azure Image resource of a custom Virtual Machine. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation.
- node_
agent_ strsku_ id - The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.
- container_
configuration ContainerConfiguration Response - If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it.
- data_
disks Sequence[DataDisk Response] - This property must be specified if the compute nodes in the pool need to have empty data disks attached to them.
- disk_
encryption_ Diskconfiguration Encryption Configuration Response - If specified, encryption is performed on each node in the pool during node provisioning.
- extensions
Sequence[VMExtension
Response] - If specified, the extensions mentioned in this configuration will be installed on each node.
- license_
type str This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:
Windows_Server - The on-premises license is for Windows Server. Windows_Client - The on-premises license is for Windows Client.
- node_
placement_ Nodeconfiguration Placement Configuration Response - This configuration will specify rules on how nodes in the pool will be physically allocated.
- os_
disk OSDiskResponse - Contains configuration for ephemeral OSDisk settings.
- security_
profile SecurityProfile Response - Specifies the security profile settings for the virtual machine or virtual machine scale set.
- service_
artifact_ Servicereference Artifact Reference Response - The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- windows_
configuration WindowsConfiguration Response - This property must not be specified if the imageReference specifies a Linux OS image.
- image
Reference Property Map - A reference to an Azure Virtual Machines Marketplace image or the Azure Image resource of a custom Virtual Machine. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation.
- node
Agent StringSku Id - The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation.
- container
Configuration Property Map - If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it.
- data
Disks List<Property Map> - This property must be specified if the compute nodes in the pool need to have empty data disks attached to them.
- disk
Encryption Property MapConfiguration - If specified, encryption is performed on each node in the pool during node provisioning.
- extensions List<Property Map>
- If specified, the extensions mentioned in this configuration will be installed on each node.
- license
Type String This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:
Windows_Server - The on-premises license is for Windows Server. Windows_Client - The on-premises license is for Windows Client.
- node
Placement Property MapConfiguration - This configuration will specify rules on how nodes in the pool will be physically allocated.
- os
Disk Property Map - Contains configuration for ephemeral OSDisk settings.
- security
Profile Property Map - Specifies the security profile settings for the virtual machine or virtual machine scale set.
- service
Artifact Property MapReference - The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- windows
Configuration Property Map - This property must not be specified if the imageReference specifies a Linux OS image.
WindowsConfiguration, WindowsConfigurationArgs
Windows operating system settings to apply to the virtual machine.- Enable
Automatic boolUpdates - If omitted, the default value is true.
- Enable
Automatic boolUpdates - If omitted, the default value is true.
- enable
Automatic BooleanUpdates - If omitted, the default value is true.
- enable
Automatic booleanUpdates - If omitted, the default value is true.
- enable_
automatic_ boolupdates - If omitted, the default value is true.
- enable
Automatic BooleanUpdates - If omitted, the default value is true.
WindowsConfigurationResponse, WindowsConfigurationResponseArgs
Windows operating system settings to apply to the virtual machine.- Enable
Automatic boolUpdates - If omitted, the default value is true.
- Enable
Automatic boolUpdates - If omitted, the default value is true.
- enable
Automatic BooleanUpdates - If omitted, the default value is true.
- enable
Automatic booleanUpdates - If omitted, the default value is true.
- enable_
automatic_ boolupdates - If omitted, the default value is true.
- enable
Automatic BooleanUpdates - If omitted, the default value is true.
WindowsUserConfiguration, WindowsUserConfigurationArgs
Properties used to create a user account on a Windows node.- Login
Mode Pulumi.Azure Native. Batch. Login Mode - Specifies login mode for the user. The default value is Interactive.
- login_
mode LoginMode - Specifies login mode for the user. The default value is Interactive.
- login
Mode "Batch" | "Interactive" - Specifies login mode for the user. The default value is Interactive.
WindowsUserConfigurationResponse, WindowsUserConfigurationResponseArgs
Properties used to create a user account on a Windows node.- Login
Mode string - Specifies login mode for the user. The default value is Interactive.
- Login
Mode string - Specifies login mode for the user. The default value is Interactive.
- login
Mode String - Specifies login mode for the user. The default value is Interactive.
- login
Mode string - Specifies login mode for the user. The default value is Interactive.
- login_
mode str - Specifies login mode for the user. The default value is Interactive.
- login
Mode String - Specifies login mode for the user. The default value is Interactive.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:batch:Pool testpool /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
