We recommend using Azure Native.
azure.batch.Account
Explore with Pulumi AI
Manages an Azure Batch account.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
    name: "testbatch",
    location: "West Europe",
});
const exampleAccount = new azure.storage.Account("example", {
    name: "teststorage",
    resourceGroupName: example.name,
    location: example.location,
    accountTier: "Standard",
    accountReplicationType: "LRS",
});
const exampleAccount2 = new azure.batch.Account("example", {
    name: "testbatchaccount",
    resourceGroupName: example.name,
    location: example.location,
    poolAllocationMode: "BatchService",
    storageAccountId: exampleAccount.id,
    storageAccountAuthenticationMode: "StorageKeys",
    tags: {
        env: "test",
    },
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
    name="testbatch",
    location="West Europe")
example_account = azure.storage.Account("example",
    name="teststorage",
    resource_group_name=example.name,
    location=example.location,
    account_tier="Standard",
    account_replication_type="LRS")
example_account2 = azure.batch.Account("example",
    name="testbatchaccount",
    resource_group_name=example.name,
    location=example.location,
    pool_allocation_mode="BatchService",
    storage_account_id=example_account.id,
    storage_account_authentication_mode="StorageKeys",
    tags={
        "env": "test",
    })
package main
import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/batch"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/storage"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("testbatch"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
			Name:                   pulumi.String("teststorage"),
			ResourceGroupName:      example.Name,
			Location:               example.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		_, err = batch.NewAccount(ctx, "example", &batch.AccountArgs{
			Name:                             pulumi.String("testbatchaccount"),
			ResourceGroupName:                example.Name,
			Location:                         example.Location,
			PoolAllocationMode:               pulumi.String("BatchService"),
			StorageAccountId:                 exampleAccount.ID(),
			StorageAccountAuthenticationMode: pulumi.String("StorageKeys"),
			Tags: pulumi.StringMap{
				"env": pulumi.String("test"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() => 
{
    var example = new Azure.Core.ResourceGroup("example", new()
    {
        Name = "testbatch",
        Location = "West Europe",
    });
    var exampleAccount = new Azure.Storage.Account("example", new()
    {
        Name = "teststorage",
        ResourceGroupName = example.Name,
        Location = example.Location,
        AccountTier = "Standard",
        AccountReplicationType = "LRS",
    });
    var exampleAccount2 = new Azure.Batch.Account("example", new()
    {
        Name = "testbatchaccount",
        ResourceGroupName = example.Name,
        Location = example.Location,
        PoolAllocationMode = "BatchService",
        StorageAccountId = exampleAccount.Id,
        StorageAccountAuthenticationMode = "StorageKeys",
        Tags = 
        {
            { "env", "test" },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.storage.Account;
import com.pulumi.azure.storage.AccountArgs;
import com.pulumi.azure.batch.Account;
import com.pulumi.azure.batch.AccountArgs;
import 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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
            .name("testbatch")
            .location("West Europe")
            .build());
        var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
            .name("teststorage")
            .resourceGroupName(example.name())
            .location(example.location())
            .accountTier("Standard")
            .accountReplicationType("LRS")
            .build());
        var exampleAccount2 = new Account("exampleAccount2", AccountArgs.builder()
            .name("testbatchaccount")
            .resourceGroupName(example.name())
            .location(example.location())
            .poolAllocationMode("BatchService")
            .storageAccountId(exampleAccount.id())
            .storageAccountAuthenticationMode("StorageKeys")
            .tags(Map.of("env", "test"))
            .build());
    }
}
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: testbatch
      location: West Europe
  exampleAccount:
    type: azure:storage:Account
    name: example
    properties:
      name: teststorage
      resourceGroupName: ${example.name}
      location: ${example.location}
      accountTier: Standard
      accountReplicationType: LRS
  exampleAccount2:
    type: azure:batch:Account
    name: example
    properties:
      name: testbatchaccount
      resourceGroupName: ${example.name}
      location: ${example.location}
      poolAllocationMode: BatchService
      storageAccountId: ${exampleAccount.id}
      storageAccountAuthenticationMode: StorageKeys
      tags:
        env: test
Create Account Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Account(name: string, args: AccountArgs, opts?: CustomResourceOptions);@overload
def Account(resource_name: str,
            args: AccountArgs,
            opts: Optional[ResourceOptions] = None)
@overload
def Account(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            resource_group_name: Optional[str] = None,
            key_vault_reference: Optional[AccountKeyVaultReferenceArgs] = None,
            identity: Optional[AccountIdentityArgs] = None,
            allowed_authentication_modes: Optional[Sequence[str]] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            network_profile: Optional[AccountNetworkProfileArgs] = None,
            pool_allocation_mode: Optional[str] = None,
            public_network_access_enabled: Optional[bool] = None,
            encryption: Optional[AccountEncryptionArgs] = None,
            storage_account_authentication_mode: Optional[str] = None,
            storage_account_id: Optional[str] = None,
            storage_account_node_identity: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None)func NewAccount(ctx *Context, name string, args AccountArgs, opts ...ResourceOption) (*Account, error)public Account(string name, AccountArgs args, CustomResourceOptions? opts = null)
public Account(String name, AccountArgs args)
public Account(String name, AccountArgs args, CustomResourceOptions options)
type: azure:batch:Account
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 AccountArgs
- 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 AccountArgs
- 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 AccountArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AccountArgs
- 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 azureAccountResource = new Azure.Batch.Account("azureAccountResource", new()
{
    ResourceGroupName = "string",
    KeyVaultReference = new Azure.Batch.Inputs.AccountKeyVaultReferenceArgs
    {
        Id = "string",
        Url = "string",
    },
    Identity = new Azure.Batch.Inputs.AccountIdentityArgs
    {
        Type = "string",
        IdentityIds = new[]
        {
            "string",
        },
        PrincipalId = "string",
        TenantId = "string",
    },
    AllowedAuthenticationModes = new[]
    {
        "string",
    },
    Location = "string",
    Name = "string",
    NetworkProfile = new Azure.Batch.Inputs.AccountNetworkProfileArgs
    {
        AccountAccess = new Azure.Batch.Inputs.AccountNetworkProfileAccountAccessArgs
        {
            DefaultAction = "string",
            IpRules = new[]
            {
                new Azure.Batch.Inputs.AccountNetworkProfileAccountAccessIpRuleArgs
                {
                    IpRange = "string",
                    Action = "string",
                },
            },
        },
        NodeManagementAccess = new Azure.Batch.Inputs.AccountNetworkProfileNodeManagementAccessArgs
        {
            DefaultAction = "string",
            IpRules = new[]
            {
                new Azure.Batch.Inputs.AccountNetworkProfileNodeManagementAccessIpRuleArgs
                {
                    IpRange = "string",
                    Action = "string",
                },
            },
        },
    },
    PoolAllocationMode = "string",
    PublicNetworkAccessEnabled = false,
    Encryption = new Azure.Batch.Inputs.AccountEncryptionArgs
    {
        KeyVaultKeyId = "string",
    },
    StorageAccountAuthenticationMode = "string",
    StorageAccountId = "string",
    StorageAccountNodeIdentity = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := batch.NewAccount(ctx, "azureAccountResource", &batch.AccountArgs{
	ResourceGroupName: pulumi.String("string"),
	KeyVaultReference: &batch.AccountKeyVaultReferenceArgs{
		Id:  pulumi.String("string"),
		Url: pulumi.String("string"),
	},
	Identity: &batch.AccountIdentityArgs{
		Type: pulumi.String("string"),
		IdentityIds: pulumi.StringArray{
			pulumi.String("string"),
		},
		PrincipalId: pulumi.String("string"),
		TenantId:    pulumi.String("string"),
	},
	AllowedAuthenticationModes: pulumi.StringArray{
		pulumi.String("string"),
	},
	Location: pulumi.String("string"),
	Name:     pulumi.String("string"),
	NetworkProfile: &batch.AccountNetworkProfileArgs{
		AccountAccess: &batch.AccountNetworkProfileAccountAccessArgs{
			DefaultAction: pulumi.String("string"),
			IpRules: batch.AccountNetworkProfileAccountAccessIpRuleArray{
				&batch.AccountNetworkProfileAccountAccessIpRuleArgs{
					IpRange: pulumi.String("string"),
					Action:  pulumi.String("string"),
				},
			},
		},
		NodeManagementAccess: &batch.AccountNetworkProfileNodeManagementAccessArgs{
			DefaultAction: pulumi.String("string"),
			IpRules: batch.AccountNetworkProfileNodeManagementAccessIpRuleArray{
				&batch.AccountNetworkProfileNodeManagementAccessIpRuleArgs{
					IpRange: pulumi.String("string"),
					Action:  pulumi.String("string"),
				},
			},
		},
	},
	PoolAllocationMode:         pulumi.String("string"),
	PublicNetworkAccessEnabled: pulumi.Bool(false),
	Encryption: &batch.AccountEncryptionArgs{
		KeyVaultKeyId: pulumi.String("string"),
	},
	StorageAccountAuthenticationMode: pulumi.String("string"),
	StorageAccountId:                 pulumi.String("string"),
	StorageAccountNodeIdentity:       pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var azureAccountResource = new Account("azureAccountResource", AccountArgs.builder()
    .resourceGroupName("string")
    .keyVaultReference(AccountKeyVaultReferenceArgs.builder()
        .id("string")
        .url("string")
        .build())
    .identity(AccountIdentityArgs.builder()
        .type("string")
        .identityIds("string")
        .principalId("string")
        .tenantId("string")
        .build())
    .allowedAuthenticationModes("string")
    .location("string")
    .name("string")
    .networkProfile(AccountNetworkProfileArgs.builder()
        .accountAccess(AccountNetworkProfileAccountAccessArgs.builder()
            .defaultAction("string")
            .ipRules(AccountNetworkProfileAccountAccessIpRuleArgs.builder()
                .ipRange("string")
                .action("string")
                .build())
            .build())
        .nodeManagementAccess(AccountNetworkProfileNodeManagementAccessArgs.builder()
            .defaultAction("string")
            .ipRules(AccountNetworkProfileNodeManagementAccessIpRuleArgs.builder()
                .ipRange("string")
                .action("string")
                .build())
            .build())
        .build())
    .poolAllocationMode("string")
    .publicNetworkAccessEnabled(false)
    .encryption(AccountEncryptionArgs.builder()
        .keyVaultKeyId("string")
        .build())
    .storageAccountAuthenticationMode("string")
    .storageAccountId("string")
    .storageAccountNodeIdentity("string")
    .tags(Map.of("string", "string"))
    .build());
azure_account_resource = azure.batch.Account("azureAccountResource",
    resource_group_name="string",
    key_vault_reference={
        "id": "string",
        "url": "string",
    },
    identity={
        "type": "string",
        "identity_ids": ["string"],
        "principal_id": "string",
        "tenant_id": "string",
    },
    allowed_authentication_modes=["string"],
    location="string",
    name="string",
    network_profile={
        "account_access": {
            "default_action": "string",
            "ip_rules": [{
                "ip_range": "string",
                "action": "string",
            }],
        },
        "node_management_access": {
            "default_action": "string",
            "ip_rules": [{
                "ip_range": "string",
                "action": "string",
            }],
        },
    },
    pool_allocation_mode="string",
    public_network_access_enabled=False,
    encryption={
        "key_vault_key_id": "string",
    },
    storage_account_authentication_mode="string",
    storage_account_id="string",
    storage_account_node_identity="string",
    tags={
        "string": "string",
    })
const azureAccountResource = new azure.batch.Account("azureAccountResource", {
    resourceGroupName: "string",
    keyVaultReference: {
        id: "string",
        url: "string",
    },
    identity: {
        type: "string",
        identityIds: ["string"],
        principalId: "string",
        tenantId: "string",
    },
    allowedAuthenticationModes: ["string"],
    location: "string",
    name: "string",
    networkProfile: {
        accountAccess: {
            defaultAction: "string",
            ipRules: [{
                ipRange: "string",
                action: "string",
            }],
        },
        nodeManagementAccess: {
            defaultAction: "string",
            ipRules: [{
                ipRange: "string",
                action: "string",
            }],
        },
    },
    poolAllocationMode: "string",
    publicNetworkAccessEnabled: false,
    encryption: {
        keyVaultKeyId: "string",
    },
    storageAccountAuthenticationMode: "string",
    storageAccountId: "string",
    storageAccountNodeIdentity: "string",
    tags: {
        string: "string",
    },
});
type: azure:batch:Account
properties:
    allowedAuthenticationModes:
        - string
    encryption:
        keyVaultKeyId: string
    identity:
        identityIds:
            - string
        principalId: string
        tenantId: string
        type: string
    keyVaultReference:
        id: string
        url: string
    location: string
    name: string
    networkProfile:
        accountAccess:
            defaultAction: string
            ipRules:
                - action: string
                  ipRange: string
        nodeManagementAccess:
            defaultAction: string
            ipRules:
                - action: string
                  ipRange: string
    poolAllocationMode: string
    publicNetworkAccessEnabled: false
    resourceGroupName: string
    storageAccountAuthenticationMode: string
    storageAccountId: string
    storageAccountNodeIdentity: string
    tags:
        string: string
Account 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 Account resource accepts the following input properties:
- ResourceGroup stringName 
- The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created. - NOTE: To work around a bug in the Azure API this property is currently treated as case-insensitive. A future version of this provider will require that the casing is correct. 
- AllowedAuthentication List<string>Modes 
- Specifies the allowed authentication mode for the Batch account. Possible values include AAD,SharedKeyorTaskAuthenticationToken.
- Encryption
AccountEncryption 
- Specifies if customer managed key encryption should be used to encrypt batch account data. One encryptionblock as defined below.
- Identity
AccountIdentity 
- An identityblock as defined below.
- KeyVault AccountReference Key Vault Reference 
- A key_vault_referenceblock, as defined below, that describes the Azure KeyVault reference to use when deploying the Azure Batch account using theUserSubscriptionpool allocation mode.
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Batch account. Only lowercase Alphanumeric characters allowed. Changing this forces a new resource to be created.
- NetworkProfile AccountNetwork Profile 
- A network_profileblock as defined below.
- PoolAllocation stringMode 
- Specifies the mode to use for pool allocation. Possible values are BatchServiceorUserSubscription. Defaults toBatchService.
- PublicNetwork boolAccess Enabled 
- Whether public network access is allowed for this server. Defaults to - true.- NOTE: When using - UserSubscriptionmode, an Azure KeyVault reference has to be specified. See- key_vault_referencebelow.- NOTE: When using - UserSubscriptionmode, the- Microsoft Azure Batchservice principal has to have- Contributorrole on your subscription scope, as documented here.
- StorageAccount stringAuthentication Mode 
- Specifies the storage account authentication mode. Possible values include - StorageKeys,- BatchAccountManagedIdentity.- NOTE: When using - BatchAccountManagedIdentitymod, the- identity.typemust set to- UserAssignedor- SystemAssigned.
- StorageAccount stringId 
- Specifies the storage account to use for the Batch account. If not specified, Azure Batch will manage the storage. - NOTE: When using - storage_account_id, the- storage_account_authentication_modemust be specified as well.
- StorageAccount stringNode Identity 
- Specifies the user assigned identity for the storage account.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- ResourceGroup stringName 
- The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created. - NOTE: To work around a bug in the Azure API this property is currently treated as case-insensitive. A future version of this provider will require that the casing is correct. 
- AllowedAuthentication []stringModes 
- Specifies the allowed authentication mode for the Batch account. Possible values include AAD,SharedKeyorTaskAuthenticationToken.
- Encryption
AccountEncryption Args 
- Specifies if customer managed key encryption should be used to encrypt batch account data. One encryptionblock as defined below.
- Identity
AccountIdentity Args 
- An identityblock as defined below.
- KeyVault AccountReference Key Vault Reference Args 
- A key_vault_referenceblock, as defined below, that describes the Azure KeyVault reference to use when deploying the Azure Batch account using theUserSubscriptionpool allocation mode.
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Batch account. Only lowercase Alphanumeric characters allowed. Changing this forces a new resource to be created.
- NetworkProfile AccountNetwork Profile Args 
- A network_profileblock as defined below.
- PoolAllocation stringMode 
- Specifies the mode to use for pool allocation. Possible values are BatchServiceorUserSubscription. Defaults toBatchService.
- PublicNetwork boolAccess Enabled 
- Whether public network access is allowed for this server. Defaults to - true.- NOTE: When using - UserSubscriptionmode, an Azure KeyVault reference has to be specified. See- key_vault_referencebelow.- NOTE: When using - UserSubscriptionmode, the- Microsoft Azure Batchservice principal has to have- Contributorrole on your subscription scope, as documented here.
- StorageAccount stringAuthentication Mode 
- Specifies the storage account authentication mode. Possible values include - StorageKeys,- BatchAccountManagedIdentity.- NOTE: When using - BatchAccountManagedIdentitymod, the- identity.typemust set to- UserAssignedor- SystemAssigned.
- StorageAccount stringId 
- Specifies the storage account to use for the Batch account. If not specified, Azure Batch will manage the storage. - NOTE: When using - storage_account_id, the- storage_account_authentication_modemust be specified as well.
- StorageAccount stringNode Identity 
- Specifies the user assigned identity for the storage account.
- map[string]string
- A mapping of tags to assign to the resource.
- resourceGroup StringName 
- The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created. - NOTE: To work around a bug in the Azure API this property is currently treated as case-insensitive. A future version of this provider will require that the casing is correct. 
- allowedAuthentication List<String>Modes 
- Specifies the allowed authentication mode for the Batch account. Possible values include AAD,SharedKeyorTaskAuthenticationToken.
- encryption
AccountEncryption 
- Specifies if customer managed key encryption should be used to encrypt batch account data. One encryptionblock as defined below.
- identity
AccountIdentity 
- An identityblock as defined below.
- keyVault AccountReference Key Vault Reference 
- A key_vault_referenceblock, as defined below, that describes the Azure KeyVault reference to use when deploying the Azure Batch account using theUserSubscriptionpool allocation mode.
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Batch account. Only lowercase Alphanumeric characters allowed. Changing this forces a new resource to be created.
- networkProfile AccountNetwork Profile 
- A network_profileblock as defined below.
- poolAllocation StringMode 
- Specifies the mode to use for pool allocation. Possible values are BatchServiceorUserSubscription. Defaults toBatchService.
- publicNetwork BooleanAccess Enabled 
- Whether public network access is allowed for this server. Defaults to - true.- NOTE: When using - UserSubscriptionmode, an Azure KeyVault reference has to be specified. See- key_vault_referencebelow.- NOTE: When using - UserSubscriptionmode, the- Microsoft Azure Batchservice principal has to have- Contributorrole on your subscription scope, as documented here.
- storageAccount StringAuthentication Mode 
- Specifies the storage account authentication mode. Possible values include - StorageKeys,- BatchAccountManagedIdentity.- NOTE: When using - BatchAccountManagedIdentitymod, the- identity.typemust set to- UserAssignedor- SystemAssigned.
- storageAccount StringId 
- Specifies the storage account to use for the Batch account. If not specified, Azure Batch will manage the storage. - NOTE: When using - storage_account_id, the- storage_account_authentication_modemust be specified as well.
- storageAccount StringNode Identity 
- Specifies the user assigned identity for the storage account.
- Map<String,String>
- A mapping of tags to assign to the resource.
- resourceGroup stringName 
- The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created. - NOTE: To work around a bug in the Azure API this property is currently treated as case-insensitive. A future version of this provider will require that the casing is correct. 
- allowedAuthentication string[]Modes 
- Specifies the allowed authentication mode for the Batch account. Possible values include AAD,SharedKeyorTaskAuthenticationToken.
- encryption
AccountEncryption 
- Specifies if customer managed key encryption should be used to encrypt batch account data. One encryptionblock as defined below.
- identity
AccountIdentity 
- An identityblock as defined below.
- keyVault AccountReference Key Vault Reference 
- A key_vault_referenceblock, as defined below, that describes the Azure KeyVault reference to use when deploying the Azure Batch account using theUserSubscriptionpool allocation mode.
- location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name string
- Specifies the name of the Batch account. Only lowercase Alphanumeric characters allowed. Changing this forces a new resource to be created.
- networkProfile AccountNetwork Profile 
- A network_profileblock as defined below.
- poolAllocation stringMode 
- Specifies the mode to use for pool allocation. Possible values are BatchServiceorUserSubscription. Defaults toBatchService.
- publicNetwork booleanAccess Enabled 
- Whether public network access is allowed for this server. Defaults to - true.- NOTE: When using - UserSubscriptionmode, an Azure KeyVault reference has to be specified. See- key_vault_referencebelow.- NOTE: When using - UserSubscriptionmode, the- Microsoft Azure Batchservice principal has to have- Contributorrole on your subscription scope, as documented here.
- storageAccount stringAuthentication Mode 
- Specifies the storage account authentication mode. Possible values include - StorageKeys,- BatchAccountManagedIdentity.- NOTE: When using - BatchAccountManagedIdentitymod, the- identity.typemust set to- UserAssignedor- SystemAssigned.
- storageAccount stringId 
- Specifies the storage account to use for the Batch account. If not specified, Azure Batch will manage the storage. - NOTE: When using - storage_account_id, the- storage_account_authentication_modemust be specified as well.
- storageAccount stringNode Identity 
- Specifies the user assigned identity for the storage account.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- resource_group_ strname 
- The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created. - NOTE: To work around a bug in the Azure API this property is currently treated as case-insensitive. A future version of this provider will require that the casing is correct. 
- allowed_authentication_ Sequence[str]modes 
- Specifies the allowed authentication mode for the Batch account. Possible values include AAD,SharedKeyorTaskAuthenticationToken.
- encryption
AccountEncryption Args 
- Specifies if customer managed key encryption should be used to encrypt batch account data. One encryptionblock as defined below.
- identity
AccountIdentity Args 
- An identityblock as defined below.
- key_vault_ Accountreference Key Vault Reference Args 
- A key_vault_referenceblock, as defined below, that describes the Azure KeyVault reference to use when deploying the Azure Batch account using theUserSubscriptionpool allocation mode.
- location str
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name str
- Specifies the name of the Batch account. Only lowercase Alphanumeric characters allowed. Changing this forces a new resource to be created.
- network_profile AccountNetwork Profile Args 
- A network_profileblock as defined below.
- pool_allocation_ strmode 
- Specifies the mode to use for pool allocation. Possible values are BatchServiceorUserSubscription. Defaults toBatchService.
- public_network_ boolaccess_ enabled 
- Whether public network access is allowed for this server. Defaults to - true.- NOTE: When using - UserSubscriptionmode, an Azure KeyVault reference has to be specified. See- key_vault_referencebelow.- NOTE: When using - UserSubscriptionmode, the- Microsoft Azure Batchservice principal has to have- Contributorrole on your subscription scope, as documented here.
- storage_account_ strauthentication_ mode 
- Specifies the storage account authentication mode. Possible values include - StorageKeys,- BatchAccountManagedIdentity.- NOTE: When using - BatchAccountManagedIdentitymod, the- identity.typemust set to- UserAssignedor- SystemAssigned.
- storage_account_ strid 
- Specifies the storage account to use for the Batch account. If not specified, Azure Batch will manage the storage. - NOTE: When using - storage_account_id, the- storage_account_authentication_modemust be specified as well.
- storage_account_ strnode_ identity 
- Specifies the user assigned identity for the storage account.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- resourceGroup StringName 
- The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created. - NOTE: To work around a bug in the Azure API this property is currently treated as case-insensitive. A future version of this provider will require that the casing is correct. 
- allowedAuthentication List<String>Modes 
- Specifies the allowed authentication mode for the Batch account. Possible values include AAD,SharedKeyorTaskAuthenticationToken.
- encryption Property Map
- Specifies if customer managed key encryption should be used to encrypt batch account data. One encryptionblock as defined below.
- identity Property Map
- An identityblock as defined below.
- keyVault Property MapReference 
- A key_vault_referenceblock, as defined below, that describes the Azure KeyVault reference to use when deploying the Azure Batch account using theUserSubscriptionpool allocation mode.
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Batch account. Only lowercase Alphanumeric characters allowed. Changing this forces a new resource to be created.
- networkProfile Property Map
- A network_profileblock as defined below.
- poolAllocation StringMode 
- Specifies the mode to use for pool allocation. Possible values are BatchServiceorUserSubscription. Defaults toBatchService.
- publicNetwork BooleanAccess Enabled 
- Whether public network access is allowed for this server. Defaults to - true.- NOTE: When using - UserSubscriptionmode, an Azure KeyVault reference has to be specified. See- key_vault_referencebelow.- NOTE: When using - UserSubscriptionmode, the- Microsoft Azure Batchservice principal has to have- Contributorrole on your subscription scope, as documented here.
- storageAccount StringAuthentication Mode 
- Specifies the storage account authentication mode. Possible values include - StorageKeys,- BatchAccountManagedIdentity.- NOTE: When using - BatchAccountManagedIdentitymod, the- identity.typemust set to- UserAssignedor- SystemAssigned.
- storageAccount StringId 
- Specifies the storage account to use for the Batch account. If not specified, Azure Batch will manage the storage. - NOTE: When using - storage_account_id, the- storage_account_authentication_modemust be specified as well.
- storageAccount StringNode Identity 
- Specifies the user assigned identity for the storage account.
- Map<String>
- A mapping of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Account resource produces the following output properties:
- AccountEndpoint string
- The account endpoint used to interact with the Batch service.
- Id string
- The provider-assigned unique ID for this managed resource.
- PrimaryAccess stringKey 
- The Batch account primary access key.
- SecondaryAccess stringKey 
- The Batch account secondary access key.
- AccountEndpoint string
- The account endpoint used to interact with the Batch service.
- Id string
- The provider-assigned unique ID for this managed resource.
- PrimaryAccess stringKey 
- The Batch account primary access key.
- SecondaryAccess stringKey 
- The Batch account secondary access key.
- accountEndpoint String
- The account endpoint used to interact with the Batch service.
- id String
- The provider-assigned unique ID for this managed resource.
- primaryAccess StringKey 
- The Batch account primary access key.
- secondaryAccess StringKey 
- The Batch account secondary access key.
- accountEndpoint string
- The account endpoint used to interact with the Batch service.
- id string
- The provider-assigned unique ID for this managed resource.
- primaryAccess stringKey 
- The Batch account primary access key.
- secondaryAccess stringKey 
- The Batch account secondary access key.
- account_endpoint str
- The account endpoint used to interact with the Batch service.
- id str
- The provider-assigned unique ID for this managed resource.
- primary_access_ strkey 
- The Batch account primary access key.
- secondary_access_ strkey 
- The Batch account secondary access key.
- accountEndpoint String
- The account endpoint used to interact with the Batch service.
- id String
- The provider-assigned unique ID for this managed resource.
- primaryAccess StringKey 
- The Batch account primary access key.
- secondaryAccess StringKey 
- The Batch account secondary access key.
Look up Existing Account Resource
Get an existing Account resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AccountState, opts?: CustomResourceOptions): Account@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account_endpoint: Optional[str] = None,
        allowed_authentication_modes: Optional[Sequence[str]] = None,
        encryption: Optional[AccountEncryptionArgs] = None,
        identity: Optional[AccountIdentityArgs] = None,
        key_vault_reference: Optional[AccountKeyVaultReferenceArgs] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        network_profile: Optional[AccountNetworkProfileArgs] = None,
        pool_allocation_mode: Optional[str] = None,
        primary_access_key: Optional[str] = None,
        public_network_access_enabled: Optional[bool] = None,
        resource_group_name: Optional[str] = None,
        secondary_access_key: Optional[str] = None,
        storage_account_authentication_mode: Optional[str] = None,
        storage_account_id: Optional[str] = None,
        storage_account_node_identity: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None) -> Accountfunc GetAccount(ctx *Context, name string, id IDInput, state *AccountState, opts ...ResourceOption) (*Account, error)public static Account Get(string name, Input<string> id, AccountState? state, CustomResourceOptions? opts = null)public static Account get(String name, Output<String> id, AccountState state, CustomResourceOptions options)resources:  _:    type: azure:batch:Account    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AccountEndpoint string
- The account endpoint used to interact with the Batch service.
- AllowedAuthentication List<string>Modes 
- Specifies the allowed authentication mode for the Batch account. Possible values include AAD,SharedKeyorTaskAuthenticationToken.
- Encryption
AccountEncryption 
- Specifies if customer managed key encryption should be used to encrypt batch account data. One encryptionblock as defined below.
- Identity
AccountIdentity 
- An identityblock as defined below.
- KeyVault AccountReference Key Vault Reference 
- A key_vault_referenceblock, as defined below, that describes the Azure KeyVault reference to use when deploying the Azure Batch account using theUserSubscriptionpool allocation mode.
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Batch account. Only lowercase Alphanumeric characters allowed. Changing this forces a new resource to be created.
- NetworkProfile AccountNetwork Profile 
- A network_profileblock as defined below.
- PoolAllocation stringMode 
- Specifies the mode to use for pool allocation. Possible values are BatchServiceorUserSubscription. Defaults toBatchService.
- PrimaryAccess stringKey 
- The Batch account primary access key.
- PublicNetwork boolAccess Enabled 
- Whether public network access is allowed for this server. Defaults to - true.- NOTE: When using - UserSubscriptionmode, an Azure KeyVault reference has to be specified. See- key_vault_referencebelow.- NOTE: When using - UserSubscriptionmode, the- Microsoft Azure Batchservice principal has to have- Contributorrole on your subscription scope, as documented here.
- ResourceGroup stringName 
- The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created. - NOTE: To work around a bug in the Azure API this property is currently treated as case-insensitive. A future version of this provider will require that the casing is correct. 
- SecondaryAccess stringKey 
- The Batch account secondary access key.
- StorageAccount stringAuthentication Mode 
- Specifies the storage account authentication mode. Possible values include - StorageKeys,- BatchAccountManagedIdentity.- NOTE: When using - BatchAccountManagedIdentitymod, the- identity.typemust set to- UserAssignedor- SystemAssigned.
- StorageAccount stringId 
- Specifies the storage account to use for the Batch account. If not specified, Azure Batch will manage the storage. - NOTE: When using - storage_account_id, the- storage_account_authentication_modemust be specified as well.
- StorageAccount stringNode Identity 
- Specifies the user assigned identity for the storage account.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- AccountEndpoint string
- The account endpoint used to interact with the Batch service.
- AllowedAuthentication []stringModes 
- Specifies the allowed authentication mode for the Batch account. Possible values include AAD,SharedKeyorTaskAuthenticationToken.
- Encryption
AccountEncryption Args 
- Specifies if customer managed key encryption should be used to encrypt batch account data. One encryptionblock as defined below.
- Identity
AccountIdentity Args 
- An identityblock as defined below.
- KeyVault AccountReference Key Vault Reference Args 
- A key_vault_referenceblock, as defined below, that describes the Azure KeyVault reference to use when deploying the Azure Batch account using theUserSubscriptionpool allocation mode.
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Batch account. Only lowercase Alphanumeric characters allowed. Changing this forces a new resource to be created.
- NetworkProfile AccountNetwork Profile Args 
- A network_profileblock as defined below.
- PoolAllocation stringMode 
- Specifies the mode to use for pool allocation. Possible values are BatchServiceorUserSubscription. Defaults toBatchService.
- PrimaryAccess stringKey 
- The Batch account primary access key.
- PublicNetwork boolAccess Enabled 
- Whether public network access is allowed for this server. Defaults to - true.- NOTE: When using - UserSubscriptionmode, an Azure KeyVault reference has to be specified. See- key_vault_referencebelow.- NOTE: When using - UserSubscriptionmode, the- Microsoft Azure Batchservice principal has to have- Contributorrole on your subscription scope, as documented here.
- ResourceGroup stringName 
- The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created. - NOTE: To work around a bug in the Azure API this property is currently treated as case-insensitive. A future version of this provider will require that the casing is correct. 
- SecondaryAccess stringKey 
- The Batch account secondary access key.
- StorageAccount stringAuthentication Mode 
- Specifies the storage account authentication mode. Possible values include - StorageKeys,- BatchAccountManagedIdentity.- NOTE: When using - BatchAccountManagedIdentitymod, the- identity.typemust set to- UserAssignedor- SystemAssigned.
- StorageAccount stringId 
- Specifies the storage account to use for the Batch account. If not specified, Azure Batch will manage the storage. - NOTE: When using - storage_account_id, the- storage_account_authentication_modemust be specified as well.
- StorageAccount stringNode Identity 
- Specifies the user assigned identity for the storage account.
- map[string]string
- A mapping of tags to assign to the resource.
- accountEndpoint String
- The account endpoint used to interact with the Batch service.
- allowedAuthentication List<String>Modes 
- Specifies the allowed authentication mode for the Batch account. Possible values include AAD,SharedKeyorTaskAuthenticationToken.
- encryption
AccountEncryption 
- Specifies if customer managed key encryption should be used to encrypt batch account data. One encryptionblock as defined below.
- identity
AccountIdentity 
- An identityblock as defined below.
- keyVault AccountReference Key Vault Reference 
- A key_vault_referenceblock, as defined below, that describes the Azure KeyVault reference to use when deploying the Azure Batch account using theUserSubscriptionpool allocation mode.
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Batch account. Only lowercase Alphanumeric characters allowed. Changing this forces a new resource to be created.
- networkProfile AccountNetwork Profile 
- A network_profileblock as defined below.
- poolAllocation StringMode 
- Specifies the mode to use for pool allocation. Possible values are BatchServiceorUserSubscription. Defaults toBatchService.
- primaryAccess StringKey 
- The Batch account primary access key.
- publicNetwork BooleanAccess Enabled 
- Whether public network access is allowed for this server. Defaults to - true.- NOTE: When using - UserSubscriptionmode, an Azure KeyVault reference has to be specified. See- key_vault_referencebelow.- NOTE: When using - UserSubscriptionmode, the- Microsoft Azure Batchservice principal has to have- Contributorrole on your subscription scope, as documented here.
- resourceGroup StringName 
- The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created. - NOTE: To work around a bug in the Azure API this property is currently treated as case-insensitive. A future version of this provider will require that the casing is correct. 
- secondaryAccess StringKey 
- The Batch account secondary access key.
- storageAccount StringAuthentication Mode 
- Specifies the storage account authentication mode. Possible values include - StorageKeys,- BatchAccountManagedIdentity.- NOTE: When using - BatchAccountManagedIdentitymod, the- identity.typemust set to- UserAssignedor- SystemAssigned.
- storageAccount StringId 
- Specifies the storage account to use for the Batch account. If not specified, Azure Batch will manage the storage. - NOTE: When using - storage_account_id, the- storage_account_authentication_modemust be specified as well.
- storageAccount StringNode Identity 
- Specifies the user assigned identity for the storage account.
- Map<String,String>
- A mapping of tags to assign to the resource.
- accountEndpoint string
- The account endpoint used to interact with the Batch service.
- allowedAuthentication string[]Modes 
- Specifies the allowed authentication mode for the Batch account. Possible values include AAD,SharedKeyorTaskAuthenticationToken.
- encryption
AccountEncryption 
- Specifies if customer managed key encryption should be used to encrypt batch account data. One encryptionblock as defined below.
- identity
AccountIdentity 
- An identityblock as defined below.
- keyVault AccountReference Key Vault Reference 
- A key_vault_referenceblock, as defined below, that describes the Azure KeyVault reference to use when deploying the Azure Batch account using theUserSubscriptionpool allocation mode.
- location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name string
- Specifies the name of the Batch account. Only lowercase Alphanumeric characters allowed. Changing this forces a new resource to be created.
- networkProfile AccountNetwork Profile 
- A network_profileblock as defined below.
- poolAllocation stringMode 
- Specifies the mode to use for pool allocation. Possible values are BatchServiceorUserSubscription. Defaults toBatchService.
- primaryAccess stringKey 
- The Batch account primary access key.
- publicNetwork booleanAccess Enabled 
- Whether public network access is allowed for this server. Defaults to - true.- NOTE: When using - UserSubscriptionmode, an Azure KeyVault reference has to be specified. See- key_vault_referencebelow.- NOTE: When using - UserSubscriptionmode, the- Microsoft Azure Batchservice principal has to have- Contributorrole on your subscription scope, as documented here.
- resourceGroup stringName 
- The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created. - NOTE: To work around a bug in the Azure API this property is currently treated as case-insensitive. A future version of this provider will require that the casing is correct. 
- secondaryAccess stringKey 
- The Batch account secondary access key.
- storageAccount stringAuthentication Mode 
- Specifies the storage account authentication mode. Possible values include - StorageKeys,- BatchAccountManagedIdentity.- NOTE: When using - BatchAccountManagedIdentitymod, the- identity.typemust set to- UserAssignedor- SystemAssigned.
- storageAccount stringId 
- Specifies the storage account to use for the Batch account. If not specified, Azure Batch will manage the storage. - NOTE: When using - storage_account_id, the- storage_account_authentication_modemust be specified as well.
- storageAccount stringNode Identity 
- Specifies the user assigned identity for the storage account.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- account_endpoint str
- The account endpoint used to interact with the Batch service.
- allowed_authentication_ Sequence[str]modes 
- Specifies the allowed authentication mode for the Batch account. Possible values include AAD,SharedKeyorTaskAuthenticationToken.
- encryption
AccountEncryption Args 
- Specifies if customer managed key encryption should be used to encrypt batch account data. One encryptionblock as defined below.
- identity
AccountIdentity Args 
- An identityblock as defined below.
- key_vault_ Accountreference Key Vault Reference Args 
- A key_vault_referenceblock, as defined below, that describes the Azure KeyVault reference to use when deploying the Azure Batch account using theUserSubscriptionpool allocation mode.
- location str
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name str
- Specifies the name of the Batch account. Only lowercase Alphanumeric characters allowed. Changing this forces a new resource to be created.
- network_profile AccountNetwork Profile Args 
- A network_profileblock as defined below.
- pool_allocation_ strmode 
- Specifies the mode to use for pool allocation. Possible values are BatchServiceorUserSubscription. Defaults toBatchService.
- primary_access_ strkey 
- The Batch account primary access key.
- public_network_ boolaccess_ enabled 
- Whether public network access is allowed for this server. Defaults to - true.- NOTE: When using - UserSubscriptionmode, an Azure KeyVault reference has to be specified. See- key_vault_referencebelow.- NOTE: When using - UserSubscriptionmode, the- Microsoft Azure Batchservice principal has to have- Contributorrole on your subscription scope, as documented here.
- resource_group_ strname 
- The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created. - NOTE: To work around a bug in the Azure API this property is currently treated as case-insensitive. A future version of this provider will require that the casing is correct. 
- secondary_access_ strkey 
- The Batch account secondary access key.
- storage_account_ strauthentication_ mode 
- Specifies the storage account authentication mode. Possible values include - StorageKeys,- BatchAccountManagedIdentity.- NOTE: When using - BatchAccountManagedIdentitymod, the- identity.typemust set to- UserAssignedor- SystemAssigned.
- storage_account_ strid 
- Specifies the storage account to use for the Batch account. If not specified, Azure Batch will manage the storage. - NOTE: When using - storage_account_id, the- storage_account_authentication_modemust be specified as well.
- storage_account_ strnode_ identity 
- Specifies the user assigned identity for the storage account.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- accountEndpoint String
- The account endpoint used to interact with the Batch service.
- allowedAuthentication List<String>Modes 
- Specifies the allowed authentication mode for the Batch account. Possible values include AAD,SharedKeyorTaskAuthenticationToken.
- encryption Property Map
- Specifies if customer managed key encryption should be used to encrypt batch account data. One encryptionblock as defined below.
- identity Property Map
- An identityblock as defined below.
- keyVault Property MapReference 
- A key_vault_referenceblock, as defined below, that describes the Azure KeyVault reference to use when deploying the Azure Batch account using theUserSubscriptionpool allocation mode.
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Batch account. Only lowercase Alphanumeric characters allowed. Changing this forces a new resource to be created.
- networkProfile Property Map
- A network_profileblock as defined below.
- poolAllocation StringMode 
- Specifies the mode to use for pool allocation. Possible values are BatchServiceorUserSubscription. Defaults toBatchService.
- primaryAccess StringKey 
- The Batch account primary access key.
- publicNetwork BooleanAccess Enabled 
- Whether public network access is allowed for this server. Defaults to - true.- NOTE: When using - UserSubscriptionmode, an Azure KeyVault reference has to be specified. See- key_vault_referencebelow.- NOTE: When using - UserSubscriptionmode, the- Microsoft Azure Batchservice principal has to have- Contributorrole on your subscription scope, as documented here.
- resourceGroup StringName 
- The name of the resource group in which to create the Batch account. Changing this forces a new resource to be created. - NOTE: To work around a bug in the Azure API this property is currently treated as case-insensitive. A future version of this provider will require that the casing is correct. 
- secondaryAccess StringKey 
- The Batch account secondary access key.
- storageAccount StringAuthentication Mode 
- Specifies the storage account authentication mode. Possible values include - StorageKeys,- BatchAccountManagedIdentity.- NOTE: When using - BatchAccountManagedIdentitymod, the- identity.typemust set to- UserAssignedor- SystemAssigned.
- storageAccount StringId 
- Specifies the storage account to use for the Batch account. If not specified, Azure Batch will manage the storage. - NOTE: When using - storage_account_id, the- storage_account_authentication_modemust be specified as well.
- storageAccount StringNode Identity 
- Specifies the user assigned identity for the storage account.
- Map<String>
- A mapping of tags to assign to the resource.
Supporting Types
AccountEncryption, AccountEncryptionArgs    
- KeyVault stringKey Id 
- The full URL path to the Azure key vault key id that should be used to encrypt data, as documented here. Both versioned and versionless keys are supported.
- KeyVault stringKey Id 
- The full URL path to the Azure key vault key id that should be used to encrypt data, as documented here. Both versioned and versionless keys are supported.
- keyVault StringKey Id 
- The full URL path to the Azure key vault key id that should be used to encrypt data, as documented here. Both versioned and versionless keys are supported.
- keyVault stringKey Id 
- The full URL path to the Azure key vault key id that should be used to encrypt data, as documented here. Both versioned and versionless keys are supported.
- key_vault_ strkey_ id 
- The full URL path to the Azure key vault key id that should be used to encrypt data, as documented here. Both versioned and versionless keys are supported.
- keyVault StringKey Id 
- The full URL path to the Azure key vault key id that should be used to encrypt data, as documented here. Both versioned and versionless keys are supported.
AccountIdentity, AccountIdentityArgs    
- Type string
- Specifies the type of Managed Service Identity that should be configured on this Batch Account. Possible values are SystemAssignedorUserAssigned.
- IdentityIds List<string>
- A list of User Assigned Managed Identity IDs to be assigned to this Batch Account. - NOTE: This is required when - typeis set to- UserAssigned.
- PrincipalId string
- The Principal ID associated with this Managed Service Identity.
- TenantId string
- The Tenant ID associated with this Managed Service Identity.
- Type string
- Specifies the type of Managed Service Identity that should be configured on this Batch Account. Possible values are SystemAssignedorUserAssigned.
- IdentityIds []string
- A list of User Assigned Managed Identity IDs to be assigned to this Batch Account. - NOTE: This is required when - typeis set to- UserAssigned.
- PrincipalId string
- The Principal ID associated with this Managed Service Identity.
- TenantId string
- The Tenant ID associated with this Managed Service Identity.
- type String
- Specifies the type of Managed Service Identity that should be configured on this Batch Account. Possible values are SystemAssignedorUserAssigned.
- identityIds List<String>
- A list of User Assigned Managed Identity IDs to be assigned to this Batch Account. - NOTE: This is required when - typeis set to- UserAssigned.
- principalId String
- The Principal ID associated with this Managed Service Identity.
- tenantId String
- The Tenant ID associated with this Managed Service Identity.
- type string
- Specifies the type of Managed Service Identity that should be configured on this Batch Account. Possible values are SystemAssignedorUserAssigned.
- identityIds string[]
- A list of User Assigned Managed Identity IDs to be assigned to this Batch Account. - NOTE: This is required when - typeis set to- UserAssigned.
- principalId string
- The Principal ID associated with this Managed Service Identity.
- tenantId string
- The Tenant ID associated with this Managed Service Identity.
- type str
- Specifies the type of Managed Service Identity that should be configured on this Batch Account. Possible values are SystemAssignedorUserAssigned.
- identity_ids Sequence[str]
- A list of User Assigned Managed Identity IDs to be assigned to this Batch Account. - NOTE: This is required when - typeis set to- UserAssigned.
- principal_id str
- The Principal ID associated with this Managed Service Identity.
- tenant_id str
- The Tenant ID associated with this Managed Service Identity.
- type String
- Specifies the type of Managed Service Identity that should be configured on this Batch Account. Possible values are SystemAssignedorUserAssigned.
- identityIds List<String>
- A list of User Assigned Managed Identity IDs to be assigned to this Batch Account. - NOTE: This is required when - typeis set to- UserAssigned.
- principalId String
- The Principal ID associated with this Managed Service Identity.
- tenantId String
- The Tenant ID associated with this Managed Service Identity.
AccountKeyVaultReference, AccountKeyVaultReferenceArgs        
AccountNetworkProfile, AccountNetworkProfileArgs      
- AccountAccess AccountNetwork Profile Account Access 
- An account_accessblock as defined below.
- NodeManagement AccountAccess Network Profile Node Management Access 
- A - node_management_accessblock as defined below.- NOTE: At least one of - account_accessor- node_management_accessmust be specified.
- AccountAccess AccountNetwork Profile Account Access 
- An account_accessblock as defined below.
- NodeManagement AccountAccess Network Profile Node Management Access 
- A - node_management_accessblock as defined below.- NOTE: At least one of - account_accessor- node_management_accessmust be specified.
- accountAccess AccountNetwork Profile Account Access 
- An account_accessblock as defined below.
- nodeManagement AccountAccess Network Profile Node Management Access 
- A - node_management_accessblock as defined below.- NOTE: At least one of - account_accessor- node_management_accessmust be specified.
- accountAccess AccountNetwork Profile Account Access 
- An account_accessblock as defined below.
- nodeManagement AccountAccess Network Profile Node Management Access 
- A - node_management_accessblock as defined below.- NOTE: At least one of - account_accessor- node_management_accessmust be specified.
- account_access AccountNetwork Profile Account Access 
- An account_accessblock as defined below.
- node_management_ Accountaccess Network Profile Node Management Access 
- A - node_management_accessblock as defined below.- NOTE: At least one of - account_accessor- node_management_accessmust be specified.
- accountAccess Property Map
- An account_accessblock as defined below.
- nodeManagement Property MapAccess 
- A - node_management_accessblock as defined below.- NOTE: At least one of - account_accessor- node_management_accessmust be specified.
AccountNetworkProfileAccountAccess, AccountNetworkProfileAccountAccessArgs          
- DefaultAction string
- Specifies the default action for the account access. Possible values are AllowandDeny. Defaults toDeny.
- IpRules List<AccountNetwork Profile Account Access Ip Rule> 
- One or more ip_ruleblocks as defined below.
- DefaultAction string
- Specifies the default action for the account access. Possible values are AllowandDeny. Defaults toDeny.
- IpRules []AccountNetwork Profile Account Access Ip Rule 
- One or more ip_ruleblocks as defined below.
- defaultAction String
- Specifies the default action for the account access. Possible values are AllowandDeny. Defaults toDeny.
- ipRules List<AccountNetwork Profile Account Access Ip Rule> 
- One or more ip_ruleblocks as defined below.
- defaultAction string
- Specifies the default action for the account access. Possible values are AllowandDeny. Defaults toDeny.
- ipRules AccountNetwork Profile Account Access Ip Rule[] 
- One or more ip_ruleblocks as defined below.
- default_action str
- Specifies the default action for the account access. Possible values are AllowandDeny. Defaults toDeny.
- ip_rules Sequence[AccountNetwork Profile Account Access Ip Rule] 
- One or more ip_ruleblocks as defined below.
- defaultAction String
- Specifies the default action for the account access. Possible values are AllowandDeny. Defaults toDeny.
- ipRules List<Property Map>
- One or more ip_ruleblocks as defined below.
AccountNetworkProfileAccountAccessIpRule, AccountNetworkProfileAccountAccessIpRuleArgs              
AccountNetworkProfileNodeManagementAccess, AccountNetworkProfileNodeManagementAccessArgs            
- DefaultAction string
- Specifies the default action for the node management access. Possible values are AllowandDeny. Defaults toDeny.
- IpRules List<AccountNetwork Profile Node Management Access Ip Rule> 
- One or more ip_ruleblocks as defined below.
- DefaultAction string
- Specifies the default action for the node management access. Possible values are AllowandDeny. Defaults toDeny.
- IpRules []AccountNetwork Profile Node Management Access Ip Rule 
- One or more ip_ruleblocks as defined below.
- defaultAction String
- Specifies the default action for the node management access. Possible values are AllowandDeny. Defaults toDeny.
- ipRules List<AccountNetwork Profile Node Management Access Ip Rule> 
- One or more ip_ruleblocks as defined below.
- defaultAction string
- Specifies the default action for the node management access. Possible values are AllowandDeny. Defaults toDeny.
- ipRules AccountNetwork Profile Node Management Access Ip Rule[] 
- One or more ip_ruleblocks as defined below.
- default_action str
- Specifies the default action for the node management access. Possible values are AllowandDeny. Defaults toDeny.
- ip_rules Sequence[AccountNetwork Profile Node Management Access Ip Rule] 
- One or more ip_ruleblocks as defined below.
- defaultAction String
- Specifies the default action for the node management access. Possible values are AllowandDeny. Defaults toDeny.
- ipRules List<Property Map>
- One or more ip_ruleblocks as defined below.
AccountNetworkProfileNodeManagementAccessIpRule, AccountNetworkProfileNodeManagementAccessIpRuleArgs                
Import
Batch Account can be imported using the resource id, e.g.
$ pulumi import azure:batch/account:Account example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Batch/batchAccounts/account1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.