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 System.Linq;
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/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.AutoStorageBasePropertiesArgs{
StorageAccountId: pulumi.String("/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage"),
},
KeyVaultReference: &batch.KeyVaultReferenceArgs{
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.AutoStorageBasePropertiesArgs(
storage_account_id="/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage",
),
key_vault_reference=azure_native.batch.KeyVaultReferenceArgs(
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 System.Linq;
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/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.AutoStorageBasePropertiesArgs{
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.AutoStorageBasePropertiesArgs(
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 System.Linq;
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/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.AutoStorageBasePropertiesArgs{
StorageAccountId: pulumi.String("/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage"),
},
Identity: &batch.BatchAccountIdentityArgs{
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.AutoStorageBasePropertiesArgs(
storage_account_id="/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage",
),
identity=azure_native.batch.BatchAccountIdentityArgs(
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 System.Linq;
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/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.AutoStorageBasePropertiesArgs{
StorageAccountId: pulumi.String("/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage"),
},
Identity: &batch.BatchAccountIdentityArgs{
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.AutoStorageBasePropertiesArgs(
storage_account_id="/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage",
),
identity=azure_native.batch.BatchAccountIdentityArgs(
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 System.Linq;
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/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.AutoStorageBasePropertiesArgs{
StorageAccountId: pulumi.String("/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage"),
},
KeyVaultReference: &batch.KeyVaultReferenceArgs{
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.AutoStorageBasePropertiesArgs(
storage_account_id="/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage",
),
key_vault_reference=azure_native.batch.KeyVaultReferenceArgs(
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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BatchAccount(name: string, args: BatchAccountArgs, opts?: CustomResourceOptions);
@overload
def BatchAccount(resource_name: str,
args: BatchAccountArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BatchAccount(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = 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,
tags: Optional[Mapping[str, str]] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var batchAccountResource = new AzureNative.Batch.BatchAccount("batchAccountResource", new()
{
ResourceGroupName = "string",
AccountName = "string",
AutoStorage =
{
{ "storageAccountId", "string" },
},
Encryption =
{
{ "keySource", "Microsoft.Batch" },
{ "keyVaultProperties",
{
{ "keyIdentifier", "string" },
} },
},
Identity =
{
{ "type", "SystemAssigned" },
{ "userAssignedIdentities",
{
{ "string", "any" },
} },
},
KeyVaultReference =
{
{ "id", "string" },
{ "url", "string" },
},
Location = "string",
PoolAllocationMode = "BatchService",
PublicNetworkAccess = "Enabled",
Tags =
{
{ "string", "string" },
},
});
example, err := batch.NewBatchAccount(ctx, "batchAccountResource", &batch.BatchAccountArgs{
ResourceGroupName: "string",
AccountName: "string",
AutoStorage: map[string]interface{}{
"storageAccountId": "string",
},
Encryption: map[string]interface{}{
"keySource": "Microsoft.Batch",
"keyVaultProperties": map[string]interface{}{
"keyIdentifier": "string",
},
},
Identity: map[string]interface{}{
"type": "SystemAssigned",
"userAssignedIdentities": map[string]interface{}{
"string": "any",
},
},
KeyVaultReference: map[string]interface{}{
"id": "string",
"url": "string",
},
Location: "string",
PoolAllocationMode: "BatchService",
PublicNetworkAccess: "Enabled",
Tags: map[string]interface{}{
"string": "string",
},
})
var batchAccountResource = new BatchAccount("batchAccountResource", BatchAccountArgs.builder()
.resourceGroupName("string")
.accountName("string")
.autoStorage(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.encryption(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.identity(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.keyVaultReference(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.location("string")
.poolAllocationMode("BatchService")
.publicNetworkAccess("Enabled")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
batch_account_resource = azure_native.batch.BatchAccount("batchAccountResource",
resource_group_name=string,
account_name=string,
auto_storage={
storageAccountId: string,
},
encryption={
keySource: Microsoft.Batch,
keyVaultProperties: {
keyIdentifier: string,
},
},
identity={
type: SystemAssigned,
userAssignedIdentities: {
string: any,
},
},
key_vault_reference={
id: string,
url: string,
},
location=string,
pool_allocation_mode=BatchService,
public_network_access=Enabled,
tags={
string: string,
})
const batchAccountResource = new azure_native.batch.BatchAccount("batchAccountResource", {
resourceGroupName: "string",
accountName: "string",
autoStorage: {
storageAccountId: "string",
},
encryption: {
keySource: "Microsoft.Batch",
keyVaultProperties: {
keyIdentifier: "string",
},
},
identity: {
type: "SystemAssigned",
userAssignedIdentities: {
string: "any",
},
},
keyVaultReference: {
id: "string",
url: "string",
},
location: "string",
poolAllocationMode: "BatchService",
publicNetworkAccess: "Enabled",
tags: {
string: "string",
},
});
type: azure-native:batch:BatchAccount
properties:
accountName: string
autoStorage:
storageAccountId: string
encryption:
keySource: Microsoft.Batch
keyVaultProperties:
keyIdentifier: string
identity:
type: SystemAssigned
userAssignedIdentities:
string: any
keyVaultReference:
id: string
url: string
location: string
poolAllocationMode: BatchService
publicNetworkAccess: Enabled
resourceGroupName: string
tags:
string: string
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:
- Resource
Group stringName - The name of the resource group that contains the Batch account.
- Account
Name string - A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
- Auto
Storage Pulumi.Azure Native. Batch. Inputs. Auto Storage Base Properties - The properties related to the auto-storage account.
- Encryption
Pulumi.
Azure Native. Batch. Inputs. Encryption Properties - 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.
Azure Native. Batch. Inputs. Batch Account Identity - The identity of the Batch account.
- Key
Vault Pulumi.Reference Azure Native. Batch. Inputs. Key Vault Reference - A reference to the Azure key vault associated with the Batch account.
- Location string
- The region in which to create the account.
- Pool
Allocation Pulumi.Mode Azure Native. Batch. Pool Allocation Mode - 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 Pulumi.Access Azure Native. Batch. Public Network Access Type - If not specified, the default value is 'enabled'.
- Dictionary<string, string>
- The user-specified tags associated with the account.
- Resource
Group stringName - The name of the resource group that contains the Batch account.
- Account
Name string - A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
- Auto
Storage AutoStorage Base Properties Args - The properties related to the auto-storage account.
- Encryption
Encryption
Properties Args - 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
Batch
Account Identity Args - The identity of the Batch account.
- Key
Vault KeyReference Vault Reference Args - A reference to the Azure key vault associated with the Batch account.
- Location string
- The region in which to create the account.
- Pool
Allocation PoolMode Allocation Mode - 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 PublicAccess Network Access Type - If not specified, the default value is 'enabled'.
- map[string]string
- The user-specified tags associated with the account.
- resource
Group StringName - The name of the resource group that contains the Batch account.
- account
Name String - A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
- auto
Storage AutoStorage Base Properties - The properties related to the auto-storage account.
- encryption
Encryption
Properties - 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
Batch
Account Identity - The identity of the Batch account.
- key
Vault KeyReference Vault Reference - A reference to the Azure key vault associated with the Batch account.
- location String
- The region in which to create the account.
- pool
Allocation PoolMode Allocation Mode - 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 PublicAccess Network Access Type - If not specified, the default value is 'enabled'.
- Map<String,String>
- The user-specified tags associated with the account.
- resource
Group stringName - The name of the resource group that contains the Batch account.
- account
Name string - A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
- auto
Storage AutoStorage Base Properties - The properties related to the auto-storage account.
- encryption
Encryption
Properties - 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
Batch
Account Identity - The identity of the Batch account.
- key
Vault KeyReference Vault Reference - A reference to the Azure key vault associated with the Batch account.
- location string
- The region in which to create the account.
- pool
Allocation PoolMode Allocation Mode - 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 PublicAccess Network Access Type - If not specified, the default value is 'enabled'.
- {[key: string]: string}
- The user-specified tags associated with the account.
- resource_
group_ strname - 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 AutoStorage Base Properties Args - The properties related to the auto-storage account.
- encryption
Encryption
Properties Args - 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
Batch
Account Identity Args - The identity of the Batch account.
- key_
vault_ Keyreference Vault Reference Args - A reference to the Azure key vault associated with the Batch account.
- location str
- The region in which to create the account.
- pool_
allocation_ Poolmode Allocation Mode - 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_ Publicaccess Network Access Type - If not specified, the default value is 'enabled'.
- Mapping[str, str]
- The user-specified tags associated with the account.
- resource
Group StringName - The name of the resource group that contains the Batch account.
- account
Name String - A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
- auto
Storage 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.
- key
Vault Property MapReference - A reference to the Azure key vault associated with the Batch account.
- location String
- The region in which to create the account.
- pool
Allocation "BatchMode Service" | "User Subscription" - 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 "Enabled" | "Disabled"Access - If not specified, the default value is 'enabled'.
- 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:
- Account
Endpoint string - The account endpoint used to interact with the Batch service.
- Active
Job intAnd Job Schedule Quota - Dedicated
Core intQuota - For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.
- Dedicated
Core List<Pulumi.Quota Per VMFamily Azure Native. Batch. Outputs. Virtual Machine Family Core Quota Response> - 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 boolQuota Per VMFamily Enforced - 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.
- Low
Priority intCore Quota - 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.
- Pool
Quota int - Private
Endpoint List<Pulumi.Connections Azure Native. Batch. Outputs. Private Endpoint Connection Response> - List of private endpoint connections associated with the Batch account
- Provisioning
State string - The provisioned state of the resource
- Type string
- The type of the resource.
- Account
Endpoint string - The account endpoint used to interact with the Batch service.
- Active
Job intAnd Job Schedule Quota - Dedicated
Core intQuota - For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.
- Dedicated
Core []VirtualQuota Per VMFamily Machine Family Core Quota Response - 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 boolQuota Per VMFamily Enforced - 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.
- Low
Priority intCore Quota - 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.
- Pool
Quota int - Private
Endpoint []PrivateConnections Endpoint Connection Response - List of private endpoint connections associated with the Batch account
- Provisioning
State string - The provisioned state of the resource
- Type string
- The type of the resource.
- account
Endpoint String - The account endpoint used to interact with the Batch service.
- active
Job IntegerAnd Job Schedule Quota - dedicated
Core IntegerQuota - For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.
- dedicated
Core List<VirtualQuota Per VMFamily Machine Family Core Quota Response> - 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 BooleanQuota Per VMFamily Enforced - 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.
- low
Priority IntegerCore Quota - 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.
- pool
Quota Integer - private
Endpoint List<PrivateConnections Endpoint Connection Response> - List of private endpoint connections associated with the Batch account
- provisioning
State String - The provisioned state of the resource
- type String
- The type of the resource.
- account
Endpoint string - The account endpoint used to interact with the Batch service.
- active
Job numberAnd Job Schedule Quota - dedicated
Core numberQuota - For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.
- dedicated
Core VirtualQuota Per VMFamily Machine Family Core Quota Response[] - 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 booleanQuota Per VMFamily Enforced - 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.
- low
Priority numberCore Quota - 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.
- pool
Quota number - private
Endpoint PrivateConnections Endpoint Connection Response[] - List of private endpoint connections associated with the Batch account
- provisioning
State 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_ intand_ job_ schedule_ quota - dedicated_
core_ intquota - For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.
- dedicated_
core_ Sequence[Virtualquota_ per_ vm_ family Machine Family Core Quota Response] - 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_ boolquota_ per_ vm_ family_ enforced - 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_ intcore_ quota - 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_ Sequence[Privateconnections Endpoint Connection Response] - 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.
- account
Endpoint String - The account endpoint used to interact with the Batch service.
- active
Job NumberAnd Job Schedule Quota - dedicated
Core NumberQuota - For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.
- dedicated
Core List<Property Map>Quota Per VMFamily - 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 BooleanQuota Per VMFamily Enforced - 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.
- low
Priority NumberCore Quota - 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.
- pool
Quota Number - private
Endpoint List<Property Map>Connections - List of private endpoint connections associated with the Batch account
- provisioning
State String - The provisioned state of the resource
- type String
- The type of the resource.
Supporting Types
AutoStorageBaseProperties, AutoStorageBasePropertiesArgs
- Storage
Account stringId - The resource ID of the storage account to be used for auto-storage account.
- Storage
Account stringId - The resource ID of the storage account to be used for auto-storage account.
- storage
Account StringId - The resource ID of the storage account to be used for auto-storage account.
- storage
Account stringId - The resource ID of the storage account to be used for auto-storage account.
- storage_
account_ strid - The resource ID of the storage account to be used for auto-storage account.
- storage
Account StringId - The resource ID of the storage account to be used for auto-storage account.
AutoStoragePropertiesResponse, AutoStoragePropertiesResponseArgs
- Last
Key stringSync - The UTC time at which storage keys were last synchronized with the Batch account.
- Storage
Account stringId - The resource ID of the storage account to be used for auto-storage account.
- Last
Key stringSync - The UTC time at which storage keys were last synchronized with the Batch account.
- Storage
Account stringId - The resource ID of the storage account to be used for auto-storage account.
- last
Key StringSync - The UTC time at which storage keys were last synchronized with the Batch account.
- storage
Account StringId - The resource ID of the storage account to be used for auto-storage account.
- last
Key stringSync - The UTC time at which storage keys were last synchronized with the Batch account.
- storage
Account stringId - The resource ID of the storage account to be used for auto-storage account.
- last_
key_ strsync - The UTC time at which storage keys were last synchronized with the Batch account.
- storage_
account_ strid - The resource ID of the storage account to be used for auto-storage account.
- last
Key StringSync - The UTC time at which storage keys were last synchronized with the Batch account.
- storage
Account StringId - The resource ID of the storage account to be used for auto-storage account.
BatchAccountIdentity, BatchAccountIdentityArgs
- Type
Pulumi.
Azure Native. Batch. Resource Identity Type - The type of identity used for the Batch account.
- User
Assigned Dictionary<string, object>Identities - 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
Resource
Identity Type - The type of identity used for the Batch account.
- User
Assigned map[string]interface{}Identities - 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
Resource
Identity Type - The type of identity used for the Batch account.
- user
Assigned Map<String,Object>Identities - 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
Resource
Identity Type - The type of identity used for the Batch account.
- user
Assigned {[key: string]: any}Identities - 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
Resource
Identity Type - The type of identity used for the Batch account.
- user_
assigned_ Mapping[str, Any]identities - 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
"System
Assigned" | "User Assigned" | "None" - The type of identity used for the Batch account.
- user
Assigned Map<Any>Identities - 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, BatchAccountIdentityResponseArgs
- Principal
Id string - The principal id of the Batch account. This property will only be provided for a system assigned identity.
- Tenant
Id 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.
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Batch. Inputs. Batch Account Identity Response User Assigned Identities> - 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 string - The principal id of the Batch account. This property will only be provided for a system assigned identity.
- Tenant
Id 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.
- User
Assigned map[string]BatchIdentities Account Identity Response User Assigned Identities - 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 String - The principal id of the Batch account. This property will only be provided for a system assigned identity.
- tenant
Id 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.
- user
Assigned Map<String,BatchIdentities Account Identity Response User Assigned Identities> - 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 string - The principal id of the Batch account. This property will only be provided for a system assigned identity.
- tenant
Id 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.
- user
Assigned {[key: string]: BatchIdentities Account Identity Response User Assigned Identities} - 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_ Mapping[str, Batchidentities Account Identity Response User Assigned Identities] - 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 String - The principal id of the Batch account. This property will only be provided for a system assigned identity.
- tenant
Id 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.
- user
Assigned Map<Property Map>Identities - 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, BatchAccountIdentityResponseUserAssignedIdentitiesArgs
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
- client
Id string - The client id of user assigned identity.
- principal
Id string - The principal id of user assigned identity.
- client_
id str - The client id of user assigned identity.
- principal_
id str - The principal id of user assigned identity.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
EncryptionProperties, EncryptionPropertiesArgs
- Key
Source Pulumi.Azure Native. Batch. Key Source - Type of the key source.
- Key
Vault Pulumi.Properties Azure Native. Batch. Inputs. Key Vault Properties - Additional details when using Microsoft.KeyVault
- Key
Source KeySource - Type of the key source.
- Key
Vault KeyProperties Vault Properties - Additional details when using Microsoft.KeyVault
- key
Source KeySource - Type of the key source.
- key
Vault KeyProperties Vault Properties - Additional details when using Microsoft.KeyVault
- key
Source KeySource - Type of the key source.
- key
Vault KeyProperties Vault Properties - Additional details when using Microsoft.KeyVault
- key_
source KeySource - Type of the key source.
- key_
vault_ Keyproperties Vault Properties - Additional details when using Microsoft.KeyVault
- key
Source "Microsoft.Batch" | "Microsoft. Key Vault" - Type of the key source.
- key
Vault Property MapProperties - Additional details when using Microsoft.KeyVault
EncryptionPropertiesResponse, EncryptionPropertiesResponseArgs
- Key
Source string - Type of the key source.
- Key
Vault Pulumi.Properties Azure Native. Batch. Inputs. Key Vault Properties Response - Additional details when using Microsoft.KeyVault
- Key
Source string - Type of the key source.
- Key
Vault KeyProperties Vault Properties Response - Additional details when using Microsoft.KeyVault
- key
Source String - Type of the key source.
- key
Vault KeyProperties Vault Properties Response - Additional details when using Microsoft.KeyVault
- key
Source string - Type of the key source.
- key
Vault KeyProperties Vault Properties Response - Additional details when using Microsoft.KeyVault
- key_
source str - Type of the key source.
- key_
vault_ Keyproperties Vault Properties Response - Additional details when using Microsoft.KeyVault
- key
Source String - Type of the key source.
- key
Vault Property MapProperties - Additional details when using Microsoft.KeyVault
KeySource, KeySourceArgs
- Microsoft_Batch
- Microsoft.BatchBatch creates and manages the encryption keys used to protect the account data.
- Microsoft_Key
Vault - Microsoft.KeyVaultThe 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.
- Key
Source_Microsoft_Batch - Microsoft.BatchBatch creates and manages the encryption keys used to protect the account data.
- Key
Source_Microsoft_Key Vault - Microsoft.KeyVaultThe 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.BatchBatch creates and manages the encryption keys used to protect the account data.
- Microsoft_Key
Vault - Microsoft.KeyVaultThe 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.BatchBatch creates and manages the encryption keys used to protect the account data.
- Microsoft_Key
Vault - Microsoft.KeyVaultThe 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.BatchBatch creates and manages the encryption keys used to protect the account data.
- MICROSOFT_KEY_VAULT
- Microsoft.KeyVaultThe 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.BatchBatch creates and manages the encryption keys used to protect the account data.
- "Microsoft.
Key Vault" - Microsoft.KeyVaultThe 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, KeyVaultPropertiesArgs
- Key
Identifier 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 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 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 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
- key
Identifier 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, KeyVaultPropertiesResponseArgs
- Key
Identifier 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 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 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 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
- key
Identifier 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, KeyVaultReferenceArgs
KeyVaultReferenceResponse, KeyVaultReferenceResponseArgs
PoolAllocationMode, PoolAllocationModeArgs
- Batch
Service - BatchServicePools will be allocated in subscriptions owned by the Batch service.
- User
Subscription - UserSubscriptionPools will be allocated in a subscription owned by the user.
- Pool
Allocation Mode Batch Service - BatchServicePools will be allocated in subscriptions owned by the Batch service.
- Pool
Allocation Mode User Subscription - UserSubscriptionPools will be allocated in a subscription owned by the user.
- Batch
Service - BatchServicePools will be allocated in subscriptions owned by the Batch service.
- User
Subscription - UserSubscriptionPools will be allocated in a subscription owned by the user.
- Batch
Service - BatchServicePools will be allocated in subscriptions owned by the Batch service.
- User
Subscription - UserSubscriptionPools will be allocated in a subscription owned by the user.
- BATCH_SERVICE
- BatchServicePools will be allocated in subscriptions owned by the Batch service.
- USER_SUBSCRIPTION
- UserSubscriptionPools will be allocated in a subscription owned by the user.
- "Batch
Service" - BatchServicePools will be allocated in subscriptions owned by the Batch service.
- "User
Subscription" - UserSubscriptionPools will be allocated in a subscription owned by the user.
PrivateEndpointConnectionResponse, PrivateEndpointConnectionResponseArgs
- 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.
- Provisioning
State string - Type string
- The type of the resource.
- Private
Endpoint Pulumi.Azure Native. Batch. Inputs. Private Endpoint Response - The private endpoint of the private endpoint connection.
- Private
Link Pulumi.Service Connection State Azure Native. Batch. Inputs. Private Link Service Connection State Response - 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.
- Provisioning
State string - Type string
- The type of the resource.
- Private
Endpoint PrivateEndpoint Response - The private endpoint of the private endpoint connection.
- Private
Link PrivateService Connection State Link Service Connection State Response - 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.
- provisioning
State String - type String
- The type of the resource.
- private
Endpoint PrivateEndpoint Response - The private endpoint of the private endpoint connection.
- private
Link PrivateService Connection State Link Service Connection State Response - 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.
- provisioning
State string - type string
- The type of the resource.
- private
Endpoint PrivateEndpoint Response - The private endpoint of the private endpoint connection.
- private
Link PrivateService Connection State Link Service Connection State Response - 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 PrivateEndpoint Response - The private endpoint of the private endpoint connection.
- private_
link_ Privateservice_ connection_ state Link Service Connection State Response - 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.
- provisioning
State String - type String
- The type of the resource.
- private
Endpoint Property Map - The private endpoint of the private endpoint connection.
- private
Link Property MapService Connection State - The private link service connection state of the private endpoint connection
PrivateEndpointResponse, PrivateEndpointResponseArgs
- Id string
- Id string
- id String
- id string
- id str
- id String
PrivateLinkServiceConnectionStateResponse, PrivateLinkServiceConnectionStateResponseArgs
- Action
Required string - Status string
- Description string
- Action
Required string - Status string
- Description string
- action
Required String - status String
- description String
- action
Required string - status string
- description string
- action_
required str - status str
- description str
- action
Required String - status String
- description String
PublicNetworkAccessType, PublicNetworkAccessTypeArgs
- Enabled
- EnabledEnables connectivity to Azure Batch through public DNS.
- Disabled
- DisabledDisables public connectivity and enables private connectivity to Azure Batch Service through private endpoint resource.
- Public
Network Access Type Enabled - EnabledEnables connectivity to Azure Batch through public DNS.
- Public
Network Access Type Disabled - DisabledDisables public connectivity and enables private connectivity to Azure Batch Service through private endpoint resource.
- Enabled
- EnabledEnables connectivity to Azure Batch through public DNS.
- Disabled
- DisabledDisables public connectivity and enables private connectivity to Azure Batch Service through private endpoint resource.
- Enabled
- EnabledEnables connectivity to Azure Batch through public DNS.
- Disabled
- DisabledDisables public connectivity and enables private connectivity to Azure Batch Service through private endpoint resource.
- ENABLED
- EnabledEnables connectivity to Azure Batch through public DNS.
- DISABLED
- DisabledDisables public connectivity and enables private connectivity to Azure Batch Service through private endpoint resource.
- "Enabled"
- EnabledEnables connectivity to Azure Batch through public DNS.
- "Disabled"
- DisabledDisables public connectivity and enables private connectivity to Azure Batch Service through private endpoint resource.
ResourceIdentityType, ResourceIdentityTypeArgs
- System
Assigned - SystemAssignedBatch account has a system assigned identity with it.
- User
Assigned - UserAssignedBatch account has user assigned identities with it.
- None
- NoneBatch account has no identity associated with it. Setting
None
in update account will remove existing identities.
- Resource
Identity Type System Assigned - SystemAssignedBatch account has a system assigned identity with it.
- Resource
Identity Type User Assigned - UserAssignedBatch account has user assigned identities with it.
- Resource
Identity Type None - NoneBatch account has no identity associated with it. Setting
None
in update account will remove existing identities.
- System
Assigned - SystemAssignedBatch account has a system assigned identity with it.
- User
Assigned - UserAssignedBatch account has user assigned identities with it.
- None
- NoneBatch account has no identity associated with it. Setting
None
in update account will remove existing identities.
- System
Assigned - SystemAssignedBatch account has a system assigned identity with it.
- User
Assigned - UserAssignedBatch account has user assigned identities with it.
- None
- NoneBatch account has no identity associated with it. Setting
None
in update account will remove existing identities.
- SYSTEM_ASSIGNED
- SystemAssignedBatch account has a system assigned identity with it.
- USER_ASSIGNED
- UserAssignedBatch account has user assigned identities with it.
- NONE
- NoneBatch account has no identity associated with it. Setting
None
in update account will remove existing identities.
- "System
Assigned" - SystemAssignedBatch account has a system assigned identity with it.
- "User
Assigned" - UserAssignedBatch account has user assigned identities with it.
- "None"
- NoneBatch account has no identity associated with it. Setting
None
in update account will remove existing identities.
VirtualMachineFamilyCoreQuotaResponse, VirtualMachineFamilyCoreQuotaResponseArgs
- core_
quota int - The core quota for the VM family for the Batch account.
- name str
- 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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0