azure-native.batch.BatchAccount

Explore with Pulumi AI

Contains information about an Azure Batch account. API Version: 2021-01-01.

Example Usage

BatchAccountCreate_BYOS

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

return await Deployment.RunAsync(() => 
{
    var batchAccount = new AzureNative.Batch.BatchAccount("batchAccount", new()
    {
        AccountName = "sampleacct",
        AutoStorage = new AzureNative.Batch.Inputs.AutoStorageBasePropertiesArgs
        {
            StorageAccountId = "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage",
        },
        KeyVaultReference = new AzureNative.Batch.Inputs.KeyVaultReferenceArgs
        {
            Id = "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.KeyVault/vaults/sample",
            Url = "http://sample.vault.azure.net/",
        },
        Location = "japaneast",
        PoolAllocationMode = AzureNative.Batch.PoolAllocationMode.UserSubscription,
        ResourceGroupName = "default-azurebatch-japaneast",
    });

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.NewBatchAccount(ctx, "batchAccount", &batch.BatchAccountArgs{
			AccountName: pulumi.String("sampleacct"),
			AutoStorage: batch.AutoStoragePropertiesResponse{
				StorageAccountId: pulumi.String("/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage"),
			},
			KeyVaultReference: batch.KeyVaultReferenceResponse{
				Id:  pulumi.String("/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.KeyVault/vaults/sample"),
				Url: pulumi.String("http://sample.vault.azure.net/"),
			},
			Location:           pulumi.String("japaneast"),
			PoolAllocationMode: batch.PoolAllocationModeUserSubscription,
			ResourceGroupName:  pulumi.String("default-azurebatch-japaneast"),
		})
		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.BatchAccount;
import com.pulumi.azurenative.batch.BatchAccountArgs;
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 batchAccount = new BatchAccount("batchAccount", BatchAccountArgs.builder()        
            .accountName("sampleacct")
            .autoStorage(Map.of("storageAccountId", "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage"))
            .keyVaultReference(Map.ofEntries(
                Map.entry("id", "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.KeyVault/vaults/sample"),
                Map.entry("url", "http://sample.vault.azure.net/")
            ))
            .location("japaneast")
            .poolAllocationMode("UserSubscription")
            .resourceGroupName("default-azurebatch-japaneast")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

batch_account = azure_native.batch.BatchAccount("batchAccount",
    account_name="sampleacct",
    auto_storage=azure_native.batch.AutoStoragePropertiesResponseArgs(
        storage_account_id="/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage",
    ),
    key_vault_reference=azure_native.batch.KeyVaultReferenceResponseArgs(
        id="/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.KeyVault/vaults/sample",
        url="http://sample.vault.azure.net/",
    ),
    location="japaneast",
    pool_allocation_mode=azure_native.batch.PoolAllocationMode.USER_SUBSCRIPTION,
    resource_group_name="default-azurebatch-japaneast")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const batchAccount = new azure_native.batch.BatchAccount("batchAccount", {
    accountName: "sampleacct",
    autoStorage: {
        storageAccountId: "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage",
    },
    keyVaultReference: {
        id: "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.KeyVault/vaults/sample",
        url: "http://sample.vault.azure.net/",
    },
    location: "japaneast",
    poolAllocationMode: azure_native.batch.PoolAllocationMode.UserSubscription,
    resourceGroupName: "default-azurebatch-japaneast",
});
resources:
  batchAccount:
    type: azure-native:batch:BatchAccount
    properties:
      accountName: sampleacct
      autoStorage:
        storageAccountId: /subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage
      keyVaultReference:
        id: /subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.KeyVault/vaults/sample
        url: http://sample.vault.azure.net/
      location: japaneast
      poolAllocationMode: UserSubscription
      resourceGroupName: default-azurebatch-japaneast

BatchAccountCreate_Default

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

return await Deployment.RunAsync(() => 
{
    var batchAccount = new AzureNative.Batch.BatchAccount("batchAccount", new()
    {
        AccountName = "sampleacct",
        AutoStorage = new AzureNative.Batch.Inputs.AutoStorageBasePropertiesArgs
        {
            StorageAccountId = "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage",
        },
        Location = "japaneast",
        ResourceGroupName = "default-azurebatch-japaneast",
    });

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.NewBatchAccount(ctx, "batchAccount", &batch.BatchAccountArgs{
			AccountName: pulumi.String("sampleacct"),
			AutoStorage: batch.AutoStoragePropertiesResponse{
				StorageAccountId: pulumi.String("/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage"),
			},
			Location:          pulumi.String("japaneast"),
			ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
		})
		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.BatchAccount;
import com.pulumi.azurenative.batch.BatchAccountArgs;
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 batchAccount = new BatchAccount("batchAccount", BatchAccountArgs.builder()        
            .accountName("sampleacct")
            .autoStorage(Map.of("storageAccountId", "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage"))
            .location("japaneast")
            .resourceGroupName("default-azurebatch-japaneast")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

batch_account = azure_native.batch.BatchAccount("batchAccount",
    account_name="sampleacct",
    auto_storage=azure_native.batch.AutoStoragePropertiesResponseArgs(
        storage_account_id="/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage",
    ),
    location="japaneast",
    resource_group_name="default-azurebatch-japaneast")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const batchAccount = new azure_native.batch.BatchAccount("batchAccount", {
    accountName: "sampleacct",
    autoStorage: {
        storageAccountId: "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage",
    },
    location: "japaneast",
    resourceGroupName: "default-azurebatch-japaneast",
});
resources:
  batchAccount:
    type: azure-native:batch:BatchAccount
    properties:
      accountName: sampleacct
      autoStorage:
        storageAccountId: /subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage
      location: japaneast
      resourceGroupName: default-azurebatch-japaneast

BatchAccountCreate_SystemAssignedIdentity

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

return await Deployment.RunAsync(() => 
{
    var batchAccount = new AzureNative.Batch.BatchAccount("batchAccount", new()
    {
        AccountName = "sampleacct",
        AutoStorage = new AzureNative.Batch.Inputs.AutoStorageBasePropertiesArgs
        {
            StorageAccountId = "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage",
        },
        Identity = new AzureNative.Batch.Inputs.BatchAccountIdentityArgs
        {
            Type = AzureNative.Batch.ResourceIdentityType.SystemAssigned,
        },
        Location = "japaneast",
        ResourceGroupName = "default-azurebatch-japaneast",
    });

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.NewBatchAccount(ctx, "batchAccount", &batch.BatchAccountArgs{
			AccountName: pulumi.String("sampleacct"),
			AutoStorage: batch.AutoStoragePropertiesResponse{
				StorageAccountId: pulumi.String("/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage"),
			},
			Identity: batch.BatchAccountIdentityResponse{
				Type: batch.ResourceIdentityTypeSystemAssigned,
			},
			Location:          pulumi.String("japaneast"),
			ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
		})
		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.BatchAccount;
import com.pulumi.azurenative.batch.BatchAccountArgs;
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 batchAccount = new BatchAccount("batchAccount", BatchAccountArgs.builder()        
            .accountName("sampleacct")
            .autoStorage(Map.of("storageAccountId", "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage"))
            .identity(Map.of("type", "SystemAssigned"))
            .location("japaneast")
            .resourceGroupName("default-azurebatch-japaneast")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

batch_account = azure_native.batch.BatchAccount("batchAccount",
    account_name="sampleacct",
    auto_storage=azure_native.batch.AutoStoragePropertiesResponseArgs(
        storage_account_id="/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage",
    ),
    identity=azure_native.batch.BatchAccountIdentityResponseArgs(
        type=azure_native.batch.ResourceIdentityType.SYSTEM_ASSIGNED,
    ),
    location="japaneast",
    resource_group_name="default-azurebatch-japaneast")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const batchAccount = new azure_native.batch.BatchAccount("batchAccount", {
    accountName: "sampleacct",
    autoStorage: {
        storageAccountId: "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage",
    },
    identity: {
        type: azure_native.batch.ResourceIdentityType.SystemAssigned,
    },
    location: "japaneast",
    resourceGroupName: "default-azurebatch-japaneast",
});
resources:
  batchAccount:
    type: azure-native:batch:BatchAccount
    properties:
      accountName: sampleacct
      autoStorage:
        storageAccountId: /subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage
      identity:
        type: SystemAssigned
      location: japaneast
      resourceGroupName: default-azurebatch-japaneast

BatchAccountCreate_UserAssignedIdentity

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

return await Deployment.RunAsync(() => 
{
    var batchAccount = new AzureNative.Batch.BatchAccount("batchAccount", new()
    {
        AccountName = "sampleacct",
        AutoStorage = new AzureNative.Batch.Inputs.AutoStorageBasePropertiesArgs
        {
            StorageAccountId = "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage",
        },
        Identity = new AzureNative.Batch.Inputs.BatchAccountIdentityArgs
        {
            Type = AzureNative.Batch.ResourceIdentityType.UserAssigned,
            UserAssignedIdentities = 
            {
                { "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1", null },
            },
        },
        Location = "japaneast",
        ResourceGroupName = "default-azurebatch-japaneast",
    });

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.NewBatchAccount(ctx, "batchAccount", &batch.BatchAccountArgs{
			AccountName: pulumi.String("sampleacct"),
			AutoStorage: batch.AutoStoragePropertiesResponse{
				StorageAccountId: pulumi.String("/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage"),
			},
			Identity: batch.BatchAccountIdentityResponse{
				Type: batch.ResourceIdentityTypeUserAssigned,
				UserAssignedIdentities: pulumi.AnyMap{
					"/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": nil,
				},
			},
			Location:          pulumi.String("japaneast"),
			ResourceGroupName: pulumi.String("default-azurebatch-japaneast"),
		})
		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.BatchAccount;
import com.pulumi.azurenative.batch.BatchAccountArgs;
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 batchAccount = new BatchAccount("batchAccount", BatchAccountArgs.builder()        
            .accountName("sampleacct")
            .autoStorage(Map.of("storageAccountId", "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage"))
            .identity(Map.ofEntries(
                Map.entry("type", "UserAssigned"),
                Map.entry("userAssignedIdentities", Map.of("/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1", ))
            ))
            .location("japaneast")
            .resourceGroupName("default-azurebatch-japaneast")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

batch_account = azure_native.batch.BatchAccount("batchAccount",
    account_name="sampleacct",
    auto_storage=azure_native.batch.AutoStoragePropertiesResponseArgs(
        storage_account_id="/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage",
    ),
    identity=azure_native.batch.BatchAccountIdentityResponseArgs(
        type=azure_native.batch.ResourceIdentityType.USER_ASSIGNED,
        user_assigned_identities={
            "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {},
        },
    ),
    location="japaneast",
    resource_group_name="default-azurebatch-japaneast")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const batchAccount = new azure_native.batch.BatchAccount("batchAccount", {
    accountName: "sampleacct",
    autoStorage: {
        storageAccountId: "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage",
    },
    identity: {
        type: azure_native.batch.ResourceIdentityType.UserAssigned,
        userAssignedIdentities: {
            "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {},
        },
    },
    location: "japaneast",
    resourceGroupName: "default-azurebatch-japaneast",
});
resources:
  batchAccount:
    type: azure-native:batch:BatchAccount
    properties:
      accountName: sampleacct
      autoStorage:
        storageAccountId: /subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage
      identity:
        type: UserAssigned
        userAssignedIdentities:
          /subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1: {}
      location: japaneast
      resourceGroupName: default-azurebatch-japaneast

PrivateBatchAccountCreate

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

return await Deployment.RunAsync(() => 
{
    var batchAccount = new AzureNative.Batch.BatchAccount("batchAccount", new()
    {
        AccountName = "sampleacct",
        AutoStorage = new AzureNative.Batch.Inputs.AutoStorageBasePropertiesArgs
        {
            StorageAccountId = "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage",
        },
        KeyVaultReference = new AzureNative.Batch.Inputs.KeyVaultReferenceArgs
        {
            Id = "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.KeyVault/vaults/sample",
            Url = "http://sample.vault.azure.net/",
        },
        Location = "japaneast",
        PublicNetworkAccess = AzureNative.Batch.PublicNetworkAccessType.Disabled,
        ResourceGroupName = "default-azurebatch-japaneast",
    });

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.NewBatchAccount(ctx, "batchAccount", &batch.BatchAccountArgs{
			AccountName: pulumi.String("sampleacct"),
			AutoStorage: batch.AutoStoragePropertiesResponse{
				StorageAccountId: pulumi.String("/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage"),
			},
			KeyVaultReference: batch.KeyVaultReferenceResponse{
				Id:  pulumi.String("/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.KeyVault/vaults/sample"),
				Url: pulumi.String("http://sample.vault.azure.net/"),
			},
			Location:            pulumi.String("japaneast"),
			PublicNetworkAccess: batch.PublicNetworkAccessTypeDisabled,
			ResourceGroupName:   pulumi.String("default-azurebatch-japaneast"),
		})
		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.BatchAccount;
import com.pulumi.azurenative.batch.BatchAccountArgs;
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 batchAccount = new BatchAccount("batchAccount", BatchAccountArgs.builder()        
            .accountName("sampleacct")
            .autoStorage(Map.of("storageAccountId", "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage"))
            .keyVaultReference(Map.ofEntries(
                Map.entry("id", "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.KeyVault/vaults/sample"),
                Map.entry("url", "http://sample.vault.azure.net/")
            ))
            .location("japaneast")
            .publicNetworkAccess("Disabled")
            .resourceGroupName("default-azurebatch-japaneast")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

batch_account = azure_native.batch.BatchAccount("batchAccount",
    account_name="sampleacct",
    auto_storage=azure_native.batch.AutoStoragePropertiesResponseArgs(
        storage_account_id="/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage",
    ),
    key_vault_reference=azure_native.batch.KeyVaultReferenceResponseArgs(
        id="/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.KeyVault/vaults/sample",
        url="http://sample.vault.azure.net/",
    ),
    location="japaneast",
    public_network_access=azure_native.batch.PublicNetworkAccessType.DISABLED,
    resource_group_name="default-azurebatch-japaneast")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const batchAccount = new azure_native.batch.BatchAccount("batchAccount", {
    accountName: "sampleacct",
    autoStorage: {
        storageAccountId: "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage",
    },
    keyVaultReference: {
        id: "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.KeyVault/vaults/sample",
        url: "http://sample.vault.azure.net/",
    },
    location: "japaneast",
    publicNetworkAccess: azure_native.batch.PublicNetworkAccessType.Disabled,
    resourceGroupName: "default-azurebatch-japaneast",
});
resources:
  batchAccount:
    type: azure-native:batch:BatchAccount
    properties:
      accountName: sampleacct
      autoStorage:
        storageAccountId: /subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage
      keyVaultReference:
        id: /subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.KeyVault/vaults/sample
        url: http://sample.vault.azure.net/
      location: japaneast
      publicNetworkAccess: Disabled
      resourceGroupName: default-azurebatch-japaneast

Create BatchAccount Resource

new BatchAccount(name: string, args: BatchAccountArgs, opts?: CustomResourceOptions);
@overload
def BatchAccount(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 account_name: Optional[str] = None,
                 auto_storage: Optional[AutoStorageBasePropertiesArgs] = None,
                 encryption: Optional[EncryptionPropertiesArgs] = None,
                 identity: Optional[BatchAccountIdentityArgs] = None,
                 key_vault_reference: Optional[KeyVaultReferenceArgs] = None,
                 location: Optional[str] = None,
                 pool_allocation_mode: Optional[PoolAllocationMode] = None,
                 public_network_access: Optional[PublicNetworkAccessType] = None,
                 resource_group_name: Optional[str] = None,
                 tags: Optional[Mapping[str, str]] = None)
@overload
def BatchAccount(resource_name: str,
                 args: BatchAccountArgs,
                 opts: Optional[ResourceOptions] = None)
func NewBatchAccount(ctx *Context, name string, args BatchAccountArgs, opts ...ResourceOption) (*BatchAccount, error)
public BatchAccount(string name, BatchAccountArgs args, CustomResourceOptions? opts = null)
public BatchAccount(String name, BatchAccountArgs args)
public BatchAccount(String name, BatchAccountArgs args, CustomResourceOptions options)
type: azure-native:batch:BatchAccount
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args BatchAccountArgs
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 BatchAccountArgs
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 BatchAccountArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args BatchAccountArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args BatchAccountArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

BatchAccount Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The BatchAccount resource accepts the following input properties:

ResourceGroupName string

The name of the resource group that contains the Batch account.

AccountName 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/.

AutoStorage Pulumi.AzureNative.Batch.Inputs.AutoStorageBasePropertiesArgs

The properties related to the auto-storage account.

Encryption Pulumi.AzureNative.Batch.Inputs.EncryptionPropertiesArgs

Configures how customer data is encrypted inside the Batch account. By default, accounts are encrypted using a Microsoft managed key. For additional control, a customer-managed key can be used instead.

Identity Pulumi.AzureNative.Batch.Inputs.BatchAccountIdentityArgs

The identity of the Batch account.

KeyVaultReference Pulumi.AzureNative.Batch.Inputs.KeyVaultReferenceArgs

A reference to the Azure key vault associated with the Batch account.

Location string

The region in which to create the account.

PoolAllocationMode Pulumi.AzureNative.Batch.PoolAllocationMode

The pool allocation mode also affects how clients may authenticate to the Batch Service API. If the mode is BatchService, clients may authenticate using access keys or Azure Active Directory. If the mode is UserSubscription, clients must use Azure Active Directory. The default is BatchService.

PublicNetworkAccess Pulumi.AzureNative.Batch.PublicNetworkAccessType

If not specified, the default value is 'enabled'.

Tags Dictionary<string, string>

The user-specified tags associated with the account.

ResourceGroupName string

The name of the resource group that contains the Batch account.

AccountName 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/.

AutoStorage AutoStorageBasePropertiesArgs

The properties related to the auto-storage account.

Encryption EncryptionPropertiesArgs

Configures how customer data is encrypted inside the Batch account. By default, accounts are encrypted using a Microsoft managed key. For additional control, a customer-managed key can be used instead.

Identity BatchAccountIdentityArgs

The identity of the Batch account.

KeyVaultReference KeyVaultReferenceArgs

A reference to the Azure key vault associated with the Batch account.

Location string

The region in which to create the account.

PoolAllocationMode PoolAllocationMode

The pool allocation mode also affects how clients may authenticate to the Batch Service API. If the mode is BatchService, clients may authenticate using access keys or Azure Active Directory. If the mode is UserSubscription, clients must use Azure Active Directory. The default is BatchService.

PublicNetworkAccess PublicNetworkAccessType

If not specified, the default value is 'enabled'.

Tags map[string]string

The user-specified tags associated with the account.

resourceGroupName String

The name of the resource group that contains the Batch account.

accountName 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/.

autoStorage AutoStorageBasePropertiesArgs

The properties related to the auto-storage account.

encryption EncryptionPropertiesArgs

Configures how customer data is encrypted inside the Batch account. By default, accounts are encrypted using a Microsoft managed key. For additional control, a customer-managed key can be used instead.

identity BatchAccountIdentityArgs

The identity of the Batch account.

keyVaultReference KeyVaultReferenceArgs

A reference to the Azure key vault associated with the Batch account.

location String

The region in which to create the account.

poolAllocationMode PoolAllocationMode

The pool allocation mode also affects how clients may authenticate to the Batch Service API. If the mode is BatchService, clients may authenticate using access keys or Azure Active Directory. If the mode is UserSubscription, clients must use Azure Active Directory. The default is BatchService.

publicNetworkAccess PublicNetworkAccessType

If not specified, the default value is 'enabled'.

tags Map<String,String>

The user-specified tags associated with the account.

resourceGroupName string

The name of the resource group that contains the Batch account.

accountName 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/.

autoStorage AutoStorageBasePropertiesArgs

The properties related to the auto-storage account.

encryption EncryptionPropertiesArgs

Configures how customer data is encrypted inside the Batch account. By default, accounts are encrypted using a Microsoft managed key. For additional control, a customer-managed key can be used instead.

identity BatchAccountIdentityArgs

The identity of the Batch account.

keyVaultReference KeyVaultReferenceArgs

A reference to the Azure key vault associated with the Batch account.

location string

The region in which to create the account.

poolAllocationMode PoolAllocationMode

The pool allocation mode also affects how clients may authenticate to the Batch Service API. If the mode is BatchService, clients may authenticate using access keys or Azure Active Directory. If the mode is UserSubscription, clients must use Azure Active Directory. The default is BatchService.

publicNetworkAccess PublicNetworkAccessType

If not specified, the default value is 'enabled'.

tags {[key: string]: string}

The user-specified tags associated with the account.

resource_group_name str

The name of the resource group that contains the Batch account.

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/.

auto_storage AutoStorageBasePropertiesArgs

The properties related to the auto-storage account.

encryption EncryptionPropertiesArgs

Configures how customer data is encrypted inside the Batch account. By default, accounts are encrypted using a Microsoft managed key. For additional control, a customer-managed key can be used instead.

identity BatchAccountIdentityArgs

The identity of the Batch account.

key_vault_reference KeyVaultReferenceArgs

A reference to the Azure key vault associated with the Batch account.

location str

The region in which to create the account.

pool_allocation_mode PoolAllocationMode

The pool allocation mode also affects how clients may authenticate to the Batch Service API. If the mode is BatchService, clients may authenticate using access keys or Azure Active Directory. If the mode is UserSubscription, clients must use Azure Active Directory. The default is BatchService.

public_network_access PublicNetworkAccessType

If not specified, the default value is 'enabled'.

tags Mapping[str, str]

The user-specified tags associated with the account.

resourceGroupName String

The name of the resource group that contains the Batch account.

accountName 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/.

autoStorage Property Map

The properties related to the auto-storage account.

encryption Property Map

Configures how customer data is encrypted inside the Batch account. By default, accounts are encrypted using a Microsoft managed key. For additional control, a customer-managed key can be used instead.

identity Property Map

The identity of the Batch account.

keyVaultReference Property Map

A reference to the Azure key vault associated with the Batch account.

location String

The region in which to create the account.

poolAllocationMode "BatchService" | "UserSubscription"

The pool allocation mode also affects how clients may authenticate to the Batch Service API. If the mode is BatchService, clients may authenticate using access keys or Azure Active Directory. If the mode is UserSubscription, clients must use Azure Active Directory. The default is BatchService.

publicNetworkAccess "Enabled" | "Disabled"

If not specified, the default value is 'enabled'.

tags Map<String>

The user-specified tags associated with the account.

Outputs

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

AccountEndpoint string

The account endpoint used to interact with the Batch service.

ActiveJobAndJobScheduleQuota int
DedicatedCoreQuota int

For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.

DedicatedCoreQuotaPerVMFamily List<Pulumi.AzureNative.Batch.Outputs.VirtualMachineFamilyCoreQuotaResponse>

A list of the dedicated core quota per Virtual Machine family for the Batch account. For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.

DedicatedCoreQuotaPerVMFamilyEnforced bool

Batch is transitioning its core quota system for dedicated cores to be enforced per Virtual Machine family. During this transitional phase, the dedicated core quota per Virtual Machine family may not yet be enforced. If this flag is false, dedicated core quota is enforced via the old dedicatedCoreQuota property on the account and does not consider Virtual Machine family. If this flag is true, dedicated core quota is enforced via the dedicatedCoreQuotaPerVMFamily property on the account, and the old dedicatedCoreQuota does not apply.

Id string

The provider-assigned unique ID for this managed resource.

LowPriorityCoreQuota int

For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.

Name string

The name of the resource.

PoolQuota int
PrivateEndpointConnections List<Pulumi.AzureNative.Batch.Outputs.PrivateEndpointConnectionResponse>

List of private endpoint connections associated with the Batch account

ProvisioningState string

The provisioned state of the resource

Type string

The type of the resource.

AccountEndpoint string

The account endpoint used to interact with the Batch service.

ActiveJobAndJobScheduleQuota int
DedicatedCoreQuota int

For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.

DedicatedCoreQuotaPerVMFamily []VirtualMachineFamilyCoreQuotaResponse

A list of the dedicated core quota per Virtual Machine family for the Batch account. For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.

DedicatedCoreQuotaPerVMFamilyEnforced bool

Batch is transitioning its core quota system for dedicated cores to be enforced per Virtual Machine family. During this transitional phase, the dedicated core quota per Virtual Machine family may not yet be enforced. If this flag is false, dedicated core quota is enforced via the old dedicatedCoreQuota property on the account and does not consider Virtual Machine family. If this flag is true, dedicated core quota is enforced via the dedicatedCoreQuotaPerVMFamily property on the account, and the old dedicatedCoreQuota does not apply.

Id string

The provider-assigned unique ID for this managed resource.

LowPriorityCoreQuota int

For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.

Name string

The name of the resource.

PoolQuota int
PrivateEndpointConnections []PrivateEndpointConnectionResponse

List of private endpoint connections associated with the Batch account

ProvisioningState string

The provisioned state of the resource

Type string

The type of the resource.

accountEndpoint String

The account endpoint used to interact with the Batch service.

activeJobAndJobScheduleQuota Integer
dedicatedCoreQuota Integer

For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.

dedicatedCoreQuotaPerVMFamily List<VirtualMachineFamilyCoreQuotaResponse>

A list of the dedicated core quota per Virtual Machine family for the Batch account. For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.

dedicatedCoreQuotaPerVMFamilyEnforced Boolean

Batch is transitioning its core quota system for dedicated cores to be enforced per Virtual Machine family. During this transitional phase, the dedicated core quota per Virtual Machine family may not yet be enforced. If this flag is false, dedicated core quota is enforced via the old dedicatedCoreQuota property on the account and does not consider Virtual Machine family. If this flag is true, dedicated core quota is enforced via the dedicatedCoreQuotaPerVMFamily property on the account, and the old dedicatedCoreQuota does not apply.

id String

The provider-assigned unique ID for this managed resource.

lowPriorityCoreQuota Integer

For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.

name String

The name of the resource.

poolQuota Integer
privateEndpointConnections List<PrivateEndpointConnectionResponse>

List of private endpoint connections associated with the Batch account

provisioningState String

The provisioned state of the resource

type String

The type of the resource.

accountEndpoint string

The account endpoint used to interact with the Batch service.

activeJobAndJobScheduleQuota number
dedicatedCoreQuota number

For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.

dedicatedCoreQuotaPerVMFamily VirtualMachineFamilyCoreQuotaResponse[]

A list of the dedicated core quota per Virtual Machine family for the Batch account. For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.

dedicatedCoreQuotaPerVMFamilyEnforced boolean

Batch is transitioning its core quota system for dedicated cores to be enforced per Virtual Machine family. During this transitional phase, the dedicated core quota per Virtual Machine family may not yet be enforced. If this flag is false, dedicated core quota is enforced via the old dedicatedCoreQuota property on the account and does not consider Virtual Machine family. If this flag is true, dedicated core quota is enforced via the dedicatedCoreQuotaPerVMFamily property on the account, and the old dedicatedCoreQuota does not apply.

id string

The provider-assigned unique ID for this managed resource.

lowPriorityCoreQuota number

For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.

name string

The name of the resource.

poolQuota number
privateEndpointConnections PrivateEndpointConnectionResponse[]

List of private endpoint connections associated with the Batch account

provisioningState string

The provisioned state of the resource

type string

The type of the resource.

account_endpoint str

The account endpoint used to interact with the Batch service.

active_job_and_job_schedule_quota int
dedicated_core_quota int

For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.

dedicated_core_quota_per_vm_family Sequence[VirtualMachineFamilyCoreQuotaResponse]

A list of the dedicated core quota per Virtual Machine family for the Batch account. For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.

dedicated_core_quota_per_vm_family_enforced bool

Batch is transitioning its core quota system for dedicated cores to be enforced per Virtual Machine family. During this transitional phase, the dedicated core quota per Virtual Machine family may not yet be enforced. If this flag is false, dedicated core quota is enforced via the old dedicatedCoreQuota property on the account and does not consider Virtual Machine family. If this flag is true, dedicated core quota is enforced via the dedicatedCoreQuotaPerVMFamily property on the account, and the old dedicatedCoreQuota does not apply.

id str

The provider-assigned unique ID for this managed resource.

low_priority_core_quota int

For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.

name str

The name of the resource.

pool_quota int
private_endpoint_connections Sequence[PrivateEndpointConnectionResponse]

List of private endpoint connections associated with the Batch account

provisioning_state str

The provisioned state of the resource

type str

The type of the resource.

accountEndpoint String

The account endpoint used to interact with the Batch service.

activeJobAndJobScheduleQuota Number
dedicatedCoreQuota Number

For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.

dedicatedCoreQuotaPerVMFamily List<Property Map>

A list of the dedicated core quota per Virtual Machine family for the Batch account. For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.

dedicatedCoreQuotaPerVMFamilyEnforced Boolean

Batch is transitioning its core quota system for dedicated cores to be enforced per Virtual Machine family. During this transitional phase, the dedicated core quota per Virtual Machine family may not yet be enforced. If this flag is false, dedicated core quota is enforced via the old dedicatedCoreQuota property on the account and does not consider Virtual Machine family. If this flag is true, dedicated core quota is enforced via the dedicatedCoreQuotaPerVMFamily property on the account, and the old dedicatedCoreQuota does not apply.

id String

The provider-assigned unique ID for this managed resource.

lowPriorityCoreQuota Number

For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.

name String

The name of the resource.

poolQuota Number
privateEndpointConnections List<Property Map>

List of private endpoint connections associated with the Batch account

provisioningState String

The provisioned state of the resource

type String

The type of the resource.

Supporting Types

AutoStorageBaseProperties

StorageAccountId string

The resource ID of the storage account to be used for auto-storage account.

StorageAccountId string

The resource ID of the storage account to be used for auto-storage account.

storageAccountId String

The resource ID of the storage account to be used for auto-storage account.

storageAccountId string

The resource ID of the storage account to be used for auto-storage account.

storage_account_id str

The resource ID of the storage account to be used for auto-storage account.

storageAccountId String

The resource ID of the storage account to be used for auto-storage account.

AutoStoragePropertiesResponse

LastKeySync string

The UTC time at which storage keys were last synchronized with the Batch account.

StorageAccountId string

The resource ID of the storage account to be used for auto-storage account.

LastKeySync string

The UTC time at which storage keys were last synchronized with the Batch account.

StorageAccountId string

The resource ID of the storage account to be used for auto-storage account.

lastKeySync String

The UTC time at which storage keys were last synchronized with the Batch account.

storageAccountId String

The resource ID of the storage account to be used for auto-storage account.

lastKeySync string

The UTC time at which storage keys were last synchronized with the Batch account.

storageAccountId string

The resource ID of the storage account to be used for auto-storage account.

last_key_sync str

The UTC time at which storage keys were last synchronized with the Batch account.

storage_account_id str

The resource ID of the storage account to be used for auto-storage account.

lastKeySync String

The UTC time at which storage keys were last synchronized with the Batch account.

storageAccountId String

The resource ID of the storage account to be used for auto-storage account.

BatchAccountIdentity

Type Pulumi.AzureNative.Batch.ResourceIdentityType

The type of identity used for the Batch account.

UserAssignedIdentities Dictionary<string, object>

The list of user identities associated with the Batch account. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

Type ResourceIdentityType

The type of identity used for the Batch account.

UserAssignedIdentities map[string]interface{}

The list of user identities associated with the Batch account. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

type ResourceIdentityType

The type of identity used for the Batch account.

userAssignedIdentities Map<String,Object>

The list of user identities associated with the Batch account. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

type ResourceIdentityType

The type of identity used for the Batch account.

userAssignedIdentities {[key: string]: any}

The list of user identities associated with the Batch account. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

type ResourceIdentityType

The type of identity used for the Batch account.

user_assigned_identities Mapping[str, Any]

The list of user identities associated with the Batch account. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

type "SystemAssigned" | "UserAssigned" | "None"

The type of identity used for the Batch account.

userAssignedIdentities Map<Any>

The list of user identities associated with the Batch account. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

BatchAccountIdentityResponse

PrincipalId string

The principal id of the Batch account. This property will only be provided for a system assigned identity.

TenantId string

The tenant id associated with the Batch account. This property will only be provided for a system assigned identity.

Type string

The type of identity used for the Batch account.

UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.Batch.Inputs.BatchAccountIdentityResponseUserAssignedIdentities>

The list of user identities associated with the Batch account. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

PrincipalId string

The principal id of the Batch account. This property will only be provided for a system assigned identity.

TenantId string

The tenant id associated with the Batch account. This property will only be provided for a system assigned identity.

Type string

The type of identity used for the Batch account.

UserAssignedIdentities map[string]BatchAccountIdentityResponseUserAssignedIdentities

The list of user identities associated with the Batch account. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

principalId String

The principal id of the Batch account. This property will only be provided for a system assigned identity.

tenantId String

The tenant id associated with the Batch account. This property will only be provided for a system assigned identity.

type String

The type of identity used for the Batch account.

userAssignedIdentities Map<String,BatchAccountIdentityResponseUserAssignedIdentities>

The list of user identities associated with the Batch account. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

principalId string

The principal id of the Batch account. This property will only be provided for a system assigned identity.

tenantId string

The tenant id associated with the Batch account. This property will only be provided for a system assigned identity.

type string

The type of identity used for the Batch account.

userAssignedIdentities {[key: string]: BatchAccountIdentityResponseUserAssignedIdentities}

The list of user identities associated with the Batch account. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

principal_id str

The principal id of the Batch account. This property will only be provided for a system assigned identity.

tenant_id str

The tenant id associated with the Batch account. This property will only be provided for a system assigned identity.

type str

The type of identity used for the Batch account.

user_assigned_identities Mapping[str, BatchAccountIdentityResponseUserAssignedIdentities]

The list of user identities associated with the Batch account. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

principalId String

The principal id of the Batch account. This property will only be provided for a system assigned identity.

tenantId String

The tenant id associated with the Batch account. This property will only be provided for a system assigned identity.

type String

The type of identity used for the Batch account.

userAssignedIdentities Map<Property Map>

The list of user identities associated with the Batch account. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

BatchAccountIdentityResponseUserAssignedIdentities

ClientId string

The client id of user assigned identity.

PrincipalId string

The principal id of user assigned identity.

ClientId string

The client id of user assigned identity.

PrincipalId string

The principal id of user assigned identity.

clientId String

The client id of user assigned identity.

principalId String

The principal id of user assigned identity.

clientId string

The client id of user assigned identity.

principalId 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.

clientId String

The client id of user assigned identity.

principalId String

The principal id of user assigned identity.

EncryptionProperties

KeySource KeySource

Type of the key source.

KeyVaultProperties KeyVaultProperties

Additional details when using Microsoft.KeyVault

keySource KeySource

Type of the key source.

keyVaultProperties KeyVaultProperties

Additional details when using Microsoft.KeyVault

keySource KeySource

Type of the key source.

keyVaultProperties KeyVaultProperties

Additional details when using Microsoft.KeyVault

key_source KeySource

Type of the key source.

key_vault_properties KeyVaultProperties

Additional details when using Microsoft.KeyVault

keySource "Microsoft.Batch" | "Microsoft.KeyVault"

Type of the key source.

keyVaultProperties Property Map

Additional details when using Microsoft.KeyVault

EncryptionPropertiesResponse

KeySource string

Type of the key source.

KeyVaultProperties Pulumi.AzureNative.Batch.Inputs.KeyVaultPropertiesResponse

Additional details when using Microsoft.KeyVault

KeySource string

Type of the key source.

KeyVaultProperties KeyVaultPropertiesResponse

Additional details when using Microsoft.KeyVault

keySource String

Type of the key source.

keyVaultProperties KeyVaultPropertiesResponse

Additional details when using Microsoft.KeyVault

keySource string

Type of the key source.

keyVaultProperties KeyVaultPropertiesResponse

Additional details when using Microsoft.KeyVault

key_source str

Type of the key source.

key_vault_properties KeyVaultPropertiesResponse

Additional details when using Microsoft.KeyVault

keySource String

Type of the key source.

keyVaultProperties Property Map

Additional details when using Microsoft.KeyVault

KeySource

Microsoft_Batch
Microsoft.Batch

Batch creates and manages the encryption keys used to protect the account data.

Microsoft_KeyVault
Microsoft.KeyVault

The encryption keys used to protect the account data are stored in an external key vault. If this is set then the Batch Account identity must be set to SystemAssigned and a valid Key Identifier must also be supplied under the keyVaultProperties.

KeySource_Microsoft_Batch
Microsoft.Batch

Batch creates and manages the encryption keys used to protect the account data.

KeySource_Microsoft_KeyVault
Microsoft.KeyVault

The encryption keys used to protect the account data are stored in an external key vault. If this is set then the Batch Account identity must be set to SystemAssigned and a valid Key Identifier must also be supplied under the keyVaultProperties.

Microsoft_Batch
Microsoft.Batch

Batch creates and manages the encryption keys used to protect the account data.

Microsoft_KeyVault
Microsoft.KeyVault

The encryption keys used to protect the account data are stored in an external key vault. If this is set then the Batch Account identity must be set to SystemAssigned and a valid Key Identifier must also be supplied under the keyVaultProperties.

Microsoft_Batch
Microsoft.Batch

Batch creates and manages the encryption keys used to protect the account data.

Microsoft_KeyVault
Microsoft.KeyVault

The encryption keys used to protect the account data are stored in an external key vault. If this is set then the Batch Account identity must be set to SystemAssigned and a valid Key Identifier must also be supplied under the keyVaultProperties.

MICROSOFT_BATCH
Microsoft.Batch

Batch creates and manages the encryption keys used to protect the account data.

MICROSOFT_KEY_VAULT
Microsoft.KeyVault

The encryption keys used to protect the account data are stored in an external key vault. If this is set then the Batch Account identity must be set to SystemAssigned and a valid Key Identifier must also be supplied under the keyVaultProperties.

"Microsoft.Batch"
Microsoft.Batch

Batch creates and manages the encryption keys used to protect the account data.

"Microsoft.KeyVault"
Microsoft.KeyVault

The encryption keys used to protect the account data are stored in an external key vault. If this is set then the Batch Account identity must be set to SystemAssigned and a valid Key Identifier must also be supplied under the keyVaultProperties.

KeyVaultProperties

KeyIdentifier string

Full path to the versioned secret. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. To be usable the following prerequisites must be met:

The Batch Account has a System Assigned identity The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap permissions The KeyVault has soft-delete and purge protection enabled

KeyIdentifier string

Full path to the versioned secret. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. To be usable the following prerequisites must be met:

The Batch Account has a System Assigned identity The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap permissions The KeyVault has soft-delete and purge protection enabled

keyIdentifier String

Full path to the versioned secret. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. To be usable the following prerequisites must be met:

The Batch Account has a System Assigned identity The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap permissions The KeyVault has soft-delete and purge protection enabled

keyIdentifier string

Full path to the versioned secret. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. To be usable the following prerequisites must be met:

The Batch Account has a System Assigned identity The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap permissions The KeyVault has soft-delete and purge protection enabled

key_identifier str

Full path to the versioned secret. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. To be usable the following prerequisites must be met:

The Batch Account has a System Assigned identity The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap permissions The KeyVault has soft-delete and purge protection enabled

keyIdentifier String

Full path to the versioned secret. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. To be usable the following prerequisites must be met:

The Batch Account has a System Assigned identity The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap permissions The KeyVault has soft-delete and purge protection enabled

KeyVaultPropertiesResponse

KeyIdentifier string

Full path to the versioned secret. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. To be usable the following prerequisites must be met:

The Batch Account has a System Assigned identity The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap permissions The KeyVault has soft-delete and purge protection enabled

KeyIdentifier string

Full path to the versioned secret. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. To be usable the following prerequisites must be met:

The Batch Account has a System Assigned identity The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap permissions The KeyVault has soft-delete and purge protection enabled

keyIdentifier String

Full path to the versioned secret. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. To be usable the following prerequisites must be met:

The Batch Account has a System Assigned identity The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap permissions The KeyVault has soft-delete and purge protection enabled

keyIdentifier string

Full path to the versioned secret. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. To be usable the following prerequisites must be met:

The Batch Account has a System Assigned identity The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap permissions The KeyVault has soft-delete and purge protection enabled

key_identifier str

Full path to the versioned secret. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. To be usable the following prerequisites must be met:

The Batch Account has a System Assigned identity The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap permissions The KeyVault has soft-delete and purge protection enabled

keyIdentifier String

Full path to the versioned secret. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. To be usable the following prerequisites must be met:

The Batch Account has a System Assigned identity The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap permissions The KeyVault has soft-delete and purge protection enabled

KeyVaultReference

Id string

The resource ID of the Azure key vault associated with the Batch account.

Url string

The URL of the Azure key vault associated with the Batch account.

Id string

The resource ID of the Azure key vault associated with the Batch account.

Url string

The URL of the Azure key vault associated with the Batch account.

id String

The resource ID of the Azure key vault associated with the Batch account.

url String

The URL of the Azure key vault associated with the Batch account.

id string

The resource ID of the Azure key vault associated with the Batch account.

url string

The URL of the Azure key vault associated with the Batch account.

id str

The resource ID of the Azure key vault associated with the Batch account.

url str

The URL of the Azure key vault associated with the Batch account.

id String

The resource ID of the Azure key vault associated with the Batch account.

url String

The URL of the Azure key vault associated with the Batch account.

KeyVaultReferenceResponse

Id string

The resource ID of the Azure key vault associated with the Batch account.

Url string

The URL of the Azure key vault associated with the Batch account.

Id string

The resource ID of the Azure key vault associated with the Batch account.

Url string

The URL of the Azure key vault associated with the Batch account.

id String

The resource ID of the Azure key vault associated with the Batch account.

url String

The URL of the Azure key vault associated with the Batch account.

id string

The resource ID of the Azure key vault associated with the Batch account.

url string

The URL of the Azure key vault associated with the Batch account.

id str

The resource ID of the Azure key vault associated with the Batch account.

url str

The URL of the Azure key vault associated with the Batch account.

id String

The resource ID of the Azure key vault associated with the Batch account.

url String

The URL of the Azure key vault associated with the Batch account.

PoolAllocationMode

BatchService
BatchService

Pools will be allocated in subscriptions owned by the Batch service.

UserSubscription
UserSubscription

Pools will be allocated in a subscription owned by the user.

PoolAllocationModeBatchService
BatchService

Pools will be allocated in subscriptions owned by the Batch service.

PoolAllocationModeUserSubscription
UserSubscription

Pools will be allocated in a subscription owned by the user.

BatchService
BatchService

Pools will be allocated in subscriptions owned by the Batch service.

UserSubscription
UserSubscription

Pools will be allocated in a subscription owned by the user.

BatchService
BatchService

Pools will be allocated in subscriptions owned by the Batch service.

UserSubscription
UserSubscription

Pools will be allocated in a subscription owned by the user.

BATCH_SERVICE
BatchService

Pools will be allocated in subscriptions owned by the Batch service.

USER_SUBSCRIPTION
UserSubscription

Pools will be allocated in a subscription owned by the user.

"BatchService"
BatchService

Pools will be allocated in subscriptions owned by the Batch service.

"UserSubscription"
UserSubscription

Pools will be allocated in a subscription owned by the user.

PrivateEndpointConnectionResponse

Etag string

The ETag of the resource, used for concurrency statements.

Id string

The ID of the resource.

Name string

The name of the resource.

ProvisioningState string
Type string

The type of the resource.

PrivateEndpoint Pulumi.AzureNative.Batch.Inputs.PrivateEndpointResponse

The private endpoint of the private endpoint connection.

PrivateLinkServiceConnectionState Pulumi.AzureNative.Batch.Inputs.PrivateLinkServiceConnectionStateResponse

The private link service connection state of the private endpoint connection

Etag string

The ETag of the resource, used for concurrency statements.

Id string

The ID of the resource.

Name string

The name of the resource.

ProvisioningState string
Type string

The type of the resource.

PrivateEndpoint PrivateEndpointResponse

The private endpoint of the private endpoint connection.

PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse

The private link service connection state of the private endpoint connection

etag String

The ETag of the resource, used for concurrency statements.

id String

The ID of the resource.

name String

The name of the resource.

provisioningState String
type String

The type of the resource.

privateEndpoint PrivateEndpointResponse

The private endpoint of the private endpoint connection.

privateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse

The private link service connection state of the private endpoint connection

etag string

The ETag of the resource, used for concurrency statements.

id string

The ID of the resource.

name string

The name of the resource.

provisioningState string
type string

The type of the resource.

privateEndpoint PrivateEndpointResponse

The private endpoint of the private endpoint connection.

privateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse

The private link service connection state of the private endpoint connection

etag str

The ETag of the resource, used for concurrency statements.

id str

The ID of the resource.

name str

The name of the resource.

provisioning_state str
type str

The type of the resource.

private_endpoint PrivateEndpointResponse

The private endpoint of the private endpoint connection.

private_link_service_connection_state PrivateLinkServiceConnectionStateResponse

The private link service connection state of the private endpoint connection

etag String

The ETag of the resource, used for concurrency statements.

id String

The ID of the resource.

name String

The name of the resource.

provisioningState String
type String

The type of the resource.

privateEndpoint Property Map

The private endpoint of the private endpoint connection.

privateLinkServiceConnectionState Property Map

The private link service connection state of the private endpoint connection

PrivateEndpointResponse

Id string
Id string
id String
id string
id str
id String

PrivateLinkServiceConnectionStateResponse

ActionRequired string
Status string
Description string
ActionRequired string
Status string
Description string
actionRequired String
status String
description String
actionRequired string
status string
description string
actionRequired String
status String
description String

PublicNetworkAccessType

Enabled
Enabled

Enables connectivity to Azure Batch through public DNS.

Disabled
Disabled

Disables public connectivity and enables private connectivity to Azure Batch Service through private endpoint resource.

PublicNetworkAccessTypeEnabled
Enabled

Enables connectivity to Azure Batch through public DNS.

PublicNetworkAccessTypeDisabled
Disabled

Disables public connectivity and enables private connectivity to Azure Batch Service through private endpoint resource.

Enabled
Enabled

Enables connectivity to Azure Batch through public DNS.

Disabled
Disabled

Disables public connectivity and enables private connectivity to Azure Batch Service through private endpoint resource.

Enabled
Enabled

Enables connectivity to Azure Batch through public DNS.

Disabled
Disabled

Disables public connectivity and enables private connectivity to Azure Batch Service through private endpoint resource.

ENABLED
Enabled

Enables connectivity to Azure Batch through public DNS.

DISABLED
Disabled

Disables public connectivity and enables private connectivity to Azure Batch Service through private endpoint resource.

"Enabled"
Enabled

Enables connectivity to Azure Batch through public DNS.

"Disabled"
Disabled

Disables public connectivity and enables private connectivity to Azure Batch Service through private endpoint resource.

ResourceIdentityType

SystemAssigned
SystemAssigned

Batch account has a system assigned identity with it.

UserAssigned
UserAssigned

Batch account has user assigned identities with it.

None
None

Batch account has no identity associated with it. Setting None in update account will remove existing identities.

ResourceIdentityTypeSystemAssigned
SystemAssigned

Batch account has a system assigned identity with it.

ResourceIdentityTypeUserAssigned
UserAssigned

Batch account has user assigned identities with it.

ResourceIdentityTypeNone
None

Batch account has no identity associated with it. Setting None in update account will remove existing identities.

SystemAssigned
SystemAssigned

Batch account has a system assigned identity with it.

UserAssigned
UserAssigned

Batch account has user assigned identities with it.

None
None

Batch account has no identity associated with it. Setting None in update account will remove existing identities.

SystemAssigned
SystemAssigned

Batch account has a system assigned identity with it.

UserAssigned
UserAssigned

Batch account has user assigned identities with it.

None
None

Batch account has no identity associated with it. Setting None in update account will remove existing identities.

SYSTEM_ASSIGNED
SystemAssigned

Batch account has a system assigned identity with it.

USER_ASSIGNED
UserAssigned

Batch account has user assigned identities with it.

NONE
None

Batch account has no identity associated with it. Setting None in update account will remove existing identities.

"SystemAssigned"
SystemAssigned

Batch account has a system assigned identity with it.

"UserAssigned"
UserAssigned

Batch account has user assigned identities with it.

"None"
None

Batch account has no identity associated with it. Setting None in update account will remove existing identities.

VirtualMachineFamilyCoreQuotaResponse

CoreQuota int

The core quota for the VM family for the Batch account.

Name string

The Virtual Machine family name.

CoreQuota int

The core quota for the VM family for the Batch account.

Name string

The Virtual Machine family name.

coreQuota Integer

The core quota for the VM family for the Batch account.

name String

The Virtual Machine family name.

coreQuota number

The core quota for the VM family for the Batch account.

name string

The Virtual Machine family name.

core_quota int

The core quota for the VM family for the Batch account.

name str

The Virtual Machine family name.

coreQuota Number

The core quota for the VM family for the Batch account.

name String

The Virtual Machine family name.

Import

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

$ pulumi import azure-native:batch:BatchAccount sampleacct /subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct 

Package Details

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