azure-native.batch.BatchAccount
Explore with Pulumi AI
Contains information about an Azure Batch account. Azure REST API version: 2023-05-01. Prior API version in Azure Native 1.x: 2021-01-01.
Other available API versions: 2017-01-01, 2022-01-01, 2023-11-01, 2024-02-01, 2024-07-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/v2"
"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 com.pulumi.azurenative.batch.inputs.AutoStorageBasePropertiesArgs;
import com.pulumi.azurenative.batch.inputs.KeyVaultReferenceArgs;
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(AutoStorageBasePropertiesArgs.builder()
.storageAccountId("/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage")
.build())
.keyVaultReference(KeyVaultReferenceArgs.builder()
.id("/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.KeyVault/vaults/sample")
.url("http://sample.vault.azure.net/")
.build())
.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={
"storage_account_id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage",
},
key_vault_reference={
"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/v2"
"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 com.pulumi.azurenative.batch.inputs.AutoStorageBasePropertiesArgs;
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(AutoStorageBasePropertiesArgs.builder()
.storageAccountId("/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage")
.build())
.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={
"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/v2"
"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 com.pulumi.azurenative.batch.inputs.AutoStorageBasePropertiesArgs;
import com.pulumi.azurenative.batch.inputs.BatchAccountIdentityArgs;
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(AutoStorageBasePropertiesArgs.builder()
.storageAccountId("/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage")
.build())
.identity(BatchAccountIdentityArgs.builder()
.type("SystemAssigned")
.build())
.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={
"storage_account_id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage",
},
identity={
"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
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/v2"
"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 com.pulumi.azurenative.batch.inputs.AutoStorageBasePropertiesArgs;
import com.pulumi.azurenative.batch.inputs.KeyVaultReferenceArgs;
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(AutoStorageBasePropertiesArgs.builder()
.storageAccountId("/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage")
.build())
.keyVaultReference(KeyVaultReferenceArgs.builder()
.id("/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.KeyVault/vaults/sample")
.url("http://sample.vault.azure.net/")
.build())
.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={
"storage_account_id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage",
},
key_vault_reference={
"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,
allowed_authentication_modes: Optional[Sequence[AuthenticationMode]] = None,
auto_storage: Optional[AutoStorageBasePropertiesArgs] = None,
encryption: Optional[EncryptionPropertiesArgs] = None,
identity: Optional[BatchAccountIdentityArgs] = None,
key_vault_reference: Optional[KeyVaultReferenceArgs] = None,
location: Optional[str] = None,
network_profile: Optional[NetworkProfileArgs] = 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",
AllowedAuthenticationModes = new[]
{
AzureNative.Batch.AuthenticationMode.SharedKey,
},
AutoStorage = new AzureNative.Batch.Inputs.AutoStorageBasePropertiesArgs
{
StorageAccountId = "string",
AuthenticationMode = AzureNative.Batch.AutoStorageAuthenticationMode.StorageKeys,
NodeIdentityReference = new AzureNative.Batch.Inputs.ComputeNodeIdentityReferenceArgs
{
ResourceId = "string",
},
},
Encryption = new AzureNative.Batch.Inputs.EncryptionPropertiesArgs
{
KeySource = AzureNative.Batch.KeySource.Microsoft_Batch,
KeyVaultProperties = new AzureNative.Batch.Inputs.KeyVaultPropertiesArgs
{
KeyIdentifier = "string",
},
},
Identity = new AzureNative.Batch.Inputs.BatchAccountIdentityArgs
{
Type = AzureNative.Batch.ResourceIdentityType.SystemAssigned,
UserAssignedIdentities = new[]
{
"string",
},
},
KeyVaultReference = new AzureNative.Batch.Inputs.KeyVaultReferenceArgs
{
Id = "string",
Url = "string",
},
Location = "string",
NetworkProfile = new AzureNative.Batch.Inputs.NetworkProfileArgs
{
AccountAccess = new AzureNative.Batch.Inputs.EndpointAccessProfileArgs
{
DefaultAction = AzureNative.Batch.EndpointAccessDefaultAction.Allow,
IpRules = new[]
{
new AzureNative.Batch.Inputs.IPRuleArgs
{
Action = AzureNative.Batch.IPRuleAction.Allow,
Value = "string",
},
},
},
NodeManagementAccess = new AzureNative.Batch.Inputs.EndpointAccessProfileArgs
{
DefaultAction = AzureNative.Batch.EndpointAccessDefaultAction.Allow,
IpRules = new[]
{
new AzureNative.Batch.Inputs.IPRuleArgs
{
Action = AzureNative.Batch.IPRuleAction.Allow,
Value = "string",
},
},
},
},
PoolAllocationMode = AzureNative.Batch.PoolAllocationMode.BatchService,
PublicNetworkAccess = AzureNative.Batch.PublicNetworkAccessType.Enabled,
Tags =
{
{ "string", "string" },
},
});
example, err := batch.NewBatchAccount(ctx, "batchAccountResource", &batch.BatchAccountArgs{
ResourceGroupName: pulumi.String("string"),
AccountName: pulumi.String("string"),
AllowedAuthenticationModes: batch.AuthenticationModeArray{
batch.AuthenticationModeSharedKey,
},
AutoStorage: &batch.AutoStorageBasePropertiesArgs{
StorageAccountId: pulumi.String("string"),
AuthenticationMode: batch.AutoStorageAuthenticationModeStorageKeys,
NodeIdentityReference: &batch.ComputeNodeIdentityReferenceArgs{
ResourceId: pulumi.String("string"),
},
},
Encryption: &batch.EncryptionPropertiesArgs{
KeySource: batch.KeySource_Microsoft_Batch,
KeyVaultProperties: &batch.KeyVaultPropertiesArgs{
KeyIdentifier: pulumi.String("string"),
},
},
Identity: &batch.BatchAccountIdentityArgs{
Type: batch.ResourceIdentityTypeSystemAssigned,
UserAssignedIdentities: pulumi.StringArray{
pulumi.String("string"),
},
},
KeyVaultReference: &batch.KeyVaultReferenceArgs{
Id: pulumi.String("string"),
Url: pulumi.String("string"),
},
Location: pulumi.String("string"),
NetworkProfile: &batch.NetworkProfileArgs{
AccountAccess: &batch.EndpointAccessProfileArgs{
DefaultAction: batch.EndpointAccessDefaultActionAllow,
IpRules: batch.IPRuleArray{
&batch.IPRuleArgs{
Action: batch.IPRuleActionAllow,
Value: pulumi.String("string"),
},
},
},
NodeManagementAccess: &batch.EndpointAccessProfileArgs{
DefaultAction: batch.EndpointAccessDefaultActionAllow,
IpRules: batch.IPRuleArray{
&batch.IPRuleArgs{
Action: batch.IPRuleActionAllow,
Value: pulumi.String("string"),
},
},
},
},
PoolAllocationMode: batch.PoolAllocationModeBatchService,
PublicNetworkAccess: batch.PublicNetworkAccessTypeEnabled,
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var batchAccountResource = new BatchAccount("batchAccountResource", BatchAccountArgs.builder()
.resourceGroupName("string")
.accountName("string")
.allowedAuthenticationModes("SharedKey")
.autoStorage(AutoStorageBasePropertiesArgs.builder()
.storageAccountId("string")
.authenticationMode("StorageKeys")
.nodeIdentityReference(ComputeNodeIdentityReferenceArgs.builder()
.resourceId("string")
.build())
.build())
.encryption(EncryptionPropertiesArgs.builder()
.keySource("Microsoft.Batch")
.keyVaultProperties(KeyVaultPropertiesArgs.builder()
.keyIdentifier("string")
.build())
.build())
.identity(BatchAccountIdentityArgs.builder()
.type("SystemAssigned")
.userAssignedIdentities("string")
.build())
.keyVaultReference(KeyVaultReferenceArgs.builder()
.id("string")
.url("string")
.build())
.location("string")
.networkProfile(NetworkProfileArgs.builder()
.accountAccess(EndpointAccessProfileArgs.builder()
.defaultAction("Allow")
.ipRules(IPRuleArgs.builder()
.action("Allow")
.value("string")
.build())
.build())
.nodeManagementAccess(EndpointAccessProfileArgs.builder()
.defaultAction("Allow")
.ipRules(IPRuleArgs.builder()
.action("Allow")
.value("string")
.build())
.build())
.build())
.poolAllocationMode("BatchService")
.publicNetworkAccess("Enabled")
.tags(Map.of("string", "string"))
.build());
batch_account_resource = azure_native.batch.BatchAccount("batchAccountResource",
resource_group_name="string",
account_name="string",
allowed_authentication_modes=[azure_native.batch.AuthenticationMode.SHARED_KEY],
auto_storage={
"storageAccountId": "string",
"authenticationMode": azure_native.batch.AutoStorageAuthenticationMode.STORAGE_KEYS,
"nodeIdentityReference": {
"resourceId": "string",
},
},
encryption={
"keySource": azure_native.batch.KeySource.MICROSOFT_BATCH,
"keyVaultProperties": {
"keyIdentifier": "string",
},
},
identity={
"type": azure_native.batch.ResourceIdentityType.SYSTEM_ASSIGNED,
"userAssignedIdentities": ["string"],
},
key_vault_reference={
"id": "string",
"url": "string",
},
location="string",
network_profile={
"accountAccess": {
"defaultAction": azure_native.batch.EndpointAccessDefaultAction.ALLOW,
"ipRules": [{
"action": azure_native.batch.IPRuleAction.ALLOW,
"value": "string",
}],
},
"nodeManagementAccess": {
"defaultAction": azure_native.batch.EndpointAccessDefaultAction.ALLOW,
"ipRules": [{
"action": azure_native.batch.IPRuleAction.ALLOW,
"value": "string",
}],
},
},
pool_allocation_mode=azure_native.batch.PoolAllocationMode.BATCH_SERVICE,
public_network_access=azure_native.batch.PublicNetworkAccessType.ENABLED,
tags={
"string": "string",
})
const batchAccountResource = new azure_native.batch.BatchAccount("batchAccountResource", {
resourceGroupName: "string",
accountName: "string",
allowedAuthenticationModes: [azure_native.batch.AuthenticationMode.SharedKey],
autoStorage: {
storageAccountId: "string",
authenticationMode: azure_native.batch.AutoStorageAuthenticationMode.StorageKeys,
nodeIdentityReference: {
resourceId: "string",
},
},
encryption: {
keySource: azure_native.batch.KeySource.Microsoft_Batch,
keyVaultProperties: {
keyIdentifier: "string",
},
},
identity: {
type: azure_native.batch.ResourceIdentityType.SystemAssigned,
userAssignedIdentities: ["string"],
},
keyVaultReference: {
id: "string",
url: "string",
},
location: "string",
networkProfile: {
accountAccess: {
defaultAction: azure_native.batch.EndpointAccessDefaultAction.Allow,
ipRules: [{
action: azure_native.batch.IPRuleAction.Allow,
value: "string",
}],
},
nodeManagementAccess: {
defaultAction: azure_native.batch.EndpointAccessDefaultAction.Allow,
ipRules: [{
action: azure_native.batch.IPRuleAction.Allow,
value: "string",
}],
},
},
poolAllocationMode: azure_native.batch.PoolAllocationMode.BatchService,
publicNetworkAccess: azure_native.batch.PublicNetworkAccessType.Enabled,
tags: {
string: "string",
},
});
type: azure-native:batch:BatchAccount
properties:
accountName: string
allowedAuthenticationModes:
- SharedKey
autoStorage:
authenticationMode: StorageKeys
nodeIdentityReference:
resourceId: string
storageAccountId: string
encryption:
keySource: Microsoft.Batch
keyVaultProperties:
keyIdentifier: string
identity:
type: SystemAssigned
userAssignedIdentities:
- string
keyVaultReference:
id: string
url: string
location: string
networkProfile:
accountAccess:
defaultAction: Allow
ipRules:
- action: Allow
value: string
nodeManagementAccess:
defaultAction: Allow
ipRules:
- action: Allow
value: 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/.
- Allowed
Authentication List<Pulumi.Modes Azure Native. Batch. Authentication Mode> - List of allowed authentication modes for the Batch account that can be used to authenticate with the data plane. This does not affect authentication with the control plane.
- 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.
- Network
Profile Pulumi.Azure Native. Batch. Inputs. Network Profile - The network profile only takes effect when publicNetworkAccess is enabled.
- 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/.
- Allowed
Authentication []AuthenticationModes Mode - List of allowed authentication modes for the Batch account that can be used to authenticate with the data plane. This does not affect authentication with the control plane.
- 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.
- Network
Profile NetworkProfile Args - The network profile only takes effect when publicNetworkAccess is enabled.
- 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/.
- allowed
Authentication List<AuthenticationModes Mode> - List of allowed authentication modes for the Batch account that can be used to authenticate with the data plane. This does not affect authentication with the control plane.
- 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.
- network
Profile NetworkProfile - The network profile only takes effect when publicNetworkAccess is enabled.
- 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/.
- allowed
Authentication AuthenticationModes Mode[] - List of allowed authentication modes for the Batch account that can be used to authenticate with the data plane. This does not affect authentication with the control plane.
- 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.
- network
Profile NetworkProfile - The network profile only takes effect when publicNetworkAccess is enabled.
- 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/.
- allowed_
authentication_ Sequence[Authenticationmodes Mode] - List of allowed authentication modes for the Batch account that can be used to authenticate with the data plane. This does not affect authentication with the control plane.
- 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.
- network_
profile NetworkProfile Args - The network profile only takes effect when publicNetworkAccess is enabled.
- 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/.
- allowed
Authentication List<"SharedModes Key" | "AAD" | "Task Authentication Token"> - List of allowed authentication modes for the Batch account that can be used to authenticate with the data plane. This does not affect authentication with the control plane.
- 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.
- network
Profile Property Map - The network profile only takes effect when publicNetworkAccess is enabled.
- 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 - If this flag is true, dedicated core quota is enforced via both the dedicatedCoreQuotaPerVMFamily and dedicatedCoreQuota properties on the account. If this flag is false, dedicated core quota is enforced only via the dedicatedCoreQuota property on the account and does not consider Virtual Machine family.
- 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.
- Node
Management stringEndpoint - The endpoint used by compute node to connect to the Batch node management service.
- 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 - If this flag is true, dedicated core quota is enforced via both the dedicatedCoreQuotaPerVMFamily and dedicatedCoreQuota properties on the account. If this flag is false, dedicated core quota is enforced only via the dedicatedCoreQuota property on the account and does not consider Virtual Machine family.
- 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.
- Node
Management stringEndpoint - The endpoint used by compute node to connect to the Batch node management service.
- 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 - If this flag is true, dedicated core quota is enforced via both the dedicatedCoreQuotaPerVMFamily and dedicatedCoreQuota properties on the account. If this flag is false, dedicated core quota is enforced only via the dedicatedCoreQuota property on the account and does not consider Virtual Machine family.
- 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.
- node
Management StringEndpoint - The endpoint used by compute node to connect to the Batch node management service.
- 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 - If this flag is true, dedicated core quota is enforced via both the dedicatedCoreQuotaPerVMFamily and dedicatedCoreQuota properties on the account. If this flag is false, dedicated core quota is enforced only via the dedicatedCoreQuota property on the account and does not consider Virtual Machine family.
- 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.
- node
Management stringEndpoint - The endpoint used by compute node to connect to the Batch node management service.
- 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 - If this flag is true, dedicated core quota is enforced via both the dedicatedCoreQuotaPerVMFamily and dedicatedCoreQuota properties on the account. If this flag is false, dedicated core quota is enforced only via the dedicatedCoreQuota property on the account and does not consider Virtual Machine family.
- 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.
- node_
management_ strendpoint - The endpoint used by compute node to connect to the Batch node management service.
- 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 - If this flag is true, dedicated core quota is enforced via both the dedicatedCoreQuotaPerVMFamily and dedicatedCoreQuota properties on the account. If this flag is false, dedicated core quota is enforced only via the dedicatedCoreQuota property on the account and does not consider Virtual Machine family.
- 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.
- node
Management StringEndpoint - The endpoint used by compute node to connect to the Batch node management service.
- 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
AuthenticationMode, AuthenticationModeArgs
- Shared
Key - SharedKeyThe authentication mode using shared keys.
- AAD
- AADThe authentication mode using Azure Active Directory.
- Task
Authentication Token - TaskAuthenticationTokenThe authentication mode using task authentication tokens.
- Authentication
Mode Shared Key - SharedKeyThe authentication mode using shared keys.
- Authentication
Mode AAD - AADThe authentication mode using Azure Active Directory.
- Authentication
Mode Task Authentication Token - TaskAuthenticationTokenThe authentication mode using task authentication tokens.
- Shared
Key - SharedKeyThe authentication mode using shared keys.
- AAD
- AADThe authentication mode using Azure Active Directory.
- Task
Authentication Token - TaskAuthenticationTokenThe authentication mode using task authentication tokens.
- Shared
Key - SharedKeyThe authentication mode using shared keys.
- AAD
- AADThe authentication mode using Azure Active Directory.
- Task
Authentication Token - TaskAuthenticationTokenThe authentication mode using task authentication tokens.
- SHARED_KEY
- SharedKeyThe authentication mode using shared keys.
- AAD
- AADThe authentication mode using Azure Active Directory.
- TASK_AUTHENTICATION_TOKEN
- TaskAuthenticationTokenThe authentication mode using task authentication tokens.
- "Shared
Key" - SharedKeyThe authentication mode using shared keys.
- "AAD"
- AADThe authentication mode using Azure Active Directory.
- "Task
Authentication Token" - TaskAuthenticationTokenThe authentication mode using task authentication tokens.
AutoStorageAuthenticationMode, AutoStorageAuthenticationModeArgs
- Storage
Keys - StorageKeysThe Batch service will authenticate requests to auto-storage using storage account keys.
- Batch
Account Managed Identity - BatchAccountManagedIdentityThe Batch service will authenticate requests to auto-storage using the managed identity assigned to the Batch account.
- Auto
Storage Authentication Mode Storage Keys - StorageKeysThe Batch service will authenticate requests to auto-storage using storage account keys.
- Auto
Storage Authentication Mode Batch Account Managed Identity - BatchAccountManagedIdentityThe Batch service will authenticate requests to auto-storage using the managed identity assigned to the Batch account.
- Storage
Keys - StorageKeysThe Batch service will authenticate requests to auto-storage using storage account keys.
- Batch
Account Managed Identity - BatchAccountManagedIdentityThe Batch service will authenticate requests to auto-storage using the managed identity assigned to the Batch account.
- Storage
Keys - StorageKeysThe Batch service will authenticate requests to auto-storage using storage account keys.
- Batch
Account Managed Identity - BatchAccountManagedIdentityThe Batch service will authenticate requests to auto-storage using the managed identity assigned to the Batch account.
- STORAGE_KEYS
- StorageKeysThe Batch service will authenticate requests to auto-storage using storage account keys.
- BATCH_ACCOUNT_MANAGED_IDENTITY
- BatchAccountManagedIdentityThe Batch service will authenticate requests to auto-storage using the managed identity assigned to the Batch account.
- "Storage
Keys" - StorageKeysThe Batch service will authenticate requests to auto-storage using storage account keys.
- "Batch
Account Managed Identity" - BatchAccountManagedIdentityThe Batch service will authenticate requests to auto-storage using the managed identity assigned to the Batch account.
AutoStorageBaseProperties, AutoStorageBasePropertiesArgs
- Storage
Account stringId - The resource ID of the storage account to be used for auto-storage account.
- Authentication
Mode Pulumi.Azure Native. Batch. Auto Storage Authentication Mode - The authentication mode which the Batch service will use to manage the auto-storage account.
- Node
Identity Pulumi.Reference Azure Native. Batch. Inputs. Compute Node Identity Reference - The identity referenced here must be assigned to pools which have compute nodes that need access to auto-storage.
- Storage
Account stringId - The resource ID of the storage account to be used for auto-storage account.
- Authentication
Mode AutoStorage Authentication Mode - The authentication mode which the Batch service will use to manage the auto-storage account.
- Node
Identity ComputeReference Node Identity Reference - The identity referenced here must be assigned to pools which have compute nodes that need access to auto-storage.
- storage
Account StringId - The resource ID of the storage account to be used for auto-storage account.
- authentication
Mode AutoStorage Authentication Mode - The authentication mode which the Batch service will use to manage the auto-storage account.
- node
Identity ComputeReference Node Identity Reference - The identity referenced here must be assigned to pools which have compute nodes that need access to auto-storage.
- storage
Account stringId - The resource ID of the storage account to be used for auto-storage account.
- authentication
Mode AutoStorage Authentication Mode - The authentication mode which the Batch service will use to manage the auto-storage account.
- node
Identity ComputeReference Node Identity Reference - The identity referenced here must be assigned to pools which have compute nodes that need access to auto-storage.
- storage_
account_ strid - The resource ID of the storage account to be used for auto-storage account.
- authentication_
mode AutoStorage Authentication Mode - The authentication mode which the Batch service will use to manage the auto-storage account.
- node_
identity_ Computereference Node Identity Reference - The identity referenced here must be assigned to pools which have compute nodes that need access to auto-storage.
- storage
Account StringId - The resource ID of the storage account to be used for auto-storage account.
- authentication
Mode "StorageKeys" | "Batch Account Managed Identity" - The authentication mode which the Batch service will use to manage the auto-storage account.
- node
Identity Property MapReference - The identity referenced here must be assigned to pools which have compute nodes that need access to auto-storage.
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.
- Authentication
Mode string - The authentication mode which the Batch service will use to manage the auto-storage account.
- Node
Identity Pulumi.Reference Azure Native. Batch. Inputs. Compute Node Identity Reference Response - The identity referenced here must be assigned to pools which have compute nodes that need access to auto-storage.
- 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.
- Authentication
Mode string - The authentication mode which the Batch service will use to manage the auto-storage account.
- Node
Identity ComputeReference Node Identity Reference Response - The identity referenced here must be assigned to pools which have compute nodes that need access to auto-storage.
- 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.
- authentication
Mode String - The authentication mode which the Batch service will use to manage the auto-storage account.
- node
Identity ComputeReference Node Identity Reference Response - The identity referenced here must be assigned to pools which have compute nodes that need access to auto-storage.
- 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.
- authentication
Mode string - The authentication mode which the Batch service will use to manage the auto-storage account.
- node
Identity ComputeReference Node Identity Reference Response - The identity referenced here must be assigned to pools which have compute nodes that need access to auto-storage.
- 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.
- authentication_
mode str - The authentication mode which the Batch service will use to manage the auto-storage account.
- node_
identity_ Computereference Node Identity Reference Response - The identity referenced here must be assigned to pools which have compute nodes that need access to auto-storage.
- 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.
- authentication
Mode String - The authentication mode which the Batch service will use to manage the auto-storage account.
- node
Identity Property MapReference - The identity referenced here must be assigned to pools which have compute nodes that need access to auto-storage.
BatchAccountIdentity, BatchAccountIdentityArgs
- Type
Pulumi.
Azure Native. Batch. Resource Identity Type - The type of identity used for the Batch account.
- User
Assigned List<string>Identities - The list of user identities associated with the Batch account.
- Type
Resource
Identity Type - The type of identity used for the Batch account.
- User
Assigned []stringIdentities - The list of user identities associated with the Batch account.
- type
Resource
Identity Type - The type of identity used for the Batch account.
- user
Assigned List<String>Identities - The list of user identities associated with the Batch account.
- type
Resource
Identity Type - The type of identity used for the Batch account.
- user
Assigned string[]Identities - The list of user identities associated with the Batch account.
- type
Resource
Identity Type - The type of identity used for the Batch account.
- user_
assigned_ Sequence[str]identities - The list of user identities associated with the Batch account.
- type
"System
Assigned" | "User Assigned" | "None" - The type of identity used for the Batch account.
- user
Assigned List<String>Identities - The list of user identities associated with the Batch account.
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. User Assigned Identities Response> - The list of user identities associated with the Batch account.
- 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]UserIdentities Assigned Identities Response - The list of user identities associated with the Batch account.
- 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,UserIdentities Assigned Identities Response> - The list of user identities associated with the Batch account.
- 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]: UserIdentities Assigned Identities Response} - The list of user identities associated with the Batch account.
- 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, Useridentities Assigned Identities Response] - The list of user identities associated with the Batch account.
- 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.
ComputeNodeIdentityReference, ComputeNodeIdentityReferenceArgs
- Resource
Id string - The ARM resource id of the user assigned identity.
- Resource
Id string - The ARM resource id of the user assigned identity.
- resource
Id String - The ARM resource id of the user assigned identity.
- resource
Id string - The ARM resource id of the user assigned identity.
- resource_
id str - The ARM resource id of the user assigned identity.
- resource
Id String - The ARM resource id of the user assigned identity.
ComputeNodeIdentityReferenceResponse, ComputeNodeIdentityReferenceResponseArgs
- Resource
Id string - The ARM resource id of the user assigned identity.
- Resource
Id string - The ARM resource id of the user assigned identity.
- resource
Id String - The ARM resource id of the user assigned identity.
- resource
Id string - The ARM resource id of the user assigned identity.
- resource_
id str - The ARM resource id of the user assigned identity.
- resource
Id String - The ARM resource id of the user assigned identity.
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
EndpointAccessDefaultAction, EndpointAccessDefaultActionArgs
- Allow
- AllowAllow client access.
- Deny
- DenyDeny client access.
- Endpoint
Access Default Action Allow - AllowAllow client access.
- Endpoint
Access Default Action Deny - DenyDeny client access.
- Allow
- AllowAllow client access.
- Deny
- DenyDeny client access.
- Allow
- AllowAllow client access.
- Deny
- DenyDeny client access.
- ALLOW
- AllowAllow client access.
- DENY
- DenyDeny client access.
- "Allow"
- AllowAllow client access.
- "Deny"
- DenyDeny client access.
EndpointAccessProfile, EndpointAccessProfileArgs
- Default
Action Pulumi.Azure Native. Batch. Endpoint Access Default Action - Default action for endpoint access. It is only applicable when publicNetworkAccess is enabled.
- Ip
Rules List<Pulumi.Azure Native. Batch. Inputs. IPRule> - Array of IP ranges to filter client IP address.
- Default
Action EndpointAccess Default Action - Default action for endpoint access. It is only applicable when publicNetworkAccess is enabled.
- Ip
Rules []IPRule - Array of IP ranges to filter client IP address.
- default
Action EndpointAccess Default Action - Default action for endpoint access. It is only applicable when publicNetworkAccess is enabled.
- ip
Rules List<IPRule> - Array of IP ranges to filter client IP address.
- default
Action EndpointAccess Default Action - Default action for endpoint access. It is only applicable when publicNetworkAccess is enabled.
- ip
Rules IPRule[] - Array of IP ranges to filter client IP address.
- default_
action EndpointAccess Default Action - Default action for endpoint access. It is only applicable when publicNetworkAccess is enabled.
- ip_
rules Sequence[IPRule] - Array of IP ranges to filter client IP address.
- default
Action "Allow" | "Deny" - Default action for endpoint access. It is only applicable when publicNetworkAccess is enabled.
- ip
Rules List<Property Map> - Array of IP ranges to filter client IP address.
EndpointAccessProfileResponse, EndpointAccessProfileResponseArgs
- Default
Action string - Default action for endpoint access. It is only applicable when publicNetworkAccess is enabled.
- Ip
Rules List<Pulumi.Azure Native. Batch. Inputs. IPRule Response> - Array of IP ranges to filter client IP address.
- Default
Action string - Default action for endpoint access. It is only applicable when publicNetworkAccess is enabled.
- Ip
Rules []IPRuleResponse - Array of IP ranges to filter client IP address.
- default
Action String - Default action for endpoint access. It is only applicable when publicNetworkAccess is enabled.
- ip
Rules List<IPRuleResponse> - Array of IP ranges to filter client IP address.
- default
Action string - Default action for endpoint access. It is only applicable when publicNetworkAccess is enabled.
- ip
Rules IPRuleResponse[] - Array of IP ranges to filter client IP address.
- default_
action str - Default action for endpoint access. It is only applicable when publicNetworkAccess is enabled.
- ip_
rules Sequence[IPRuleResponse] - Array of IP ranges to filter client IP address.
- default
Action String - Default action for endpoint access. It is only applicable when publicNetworkAccess is enabled.
- ip
Rules List<Property Map> - Array of IP ranges to filter client IP address.
IPRule, IPRuleArgs
- Action
Pulumi.
Azure Native. Batch. IPRule Action - Action when client IP address is matched.
- Value string
- IPv4 address, or IPv4 address range in CIDR format.
- Action
IPRule
Action - Action when client IP address is matched.
- Value string
- IPv4 address, or IPv4 address range in CIDR format.
- action
IPRule
Action - Action when client IP address is matched.
- value String
- IPv4 address, or IPv4 address range in CIDR format.
- action
IPRule
Action - Action when client IP address is matched.
- value string
- IPv4 address, or IPv4 address range in CIDR format.
- action
IPRule
Action - Action when client IP address is matched.
- value str
- IPv4 address, or IPv4 address range in CIDR format.
IPRuleAction, IPRuleActionArgs
- Allow
- AllowAllow access for the matched client IP address.
- IPRule
Action Allow - AllowAllow access for the matched client IP address.
- Allow
- AllowAllow access for the matched client IP address.
- Allow
- AllowAllow access for the matched client IP address.
- ALLOW
- AllowAllow access for the matched client IP address.
- "Allow"
- AllowAllow access for the matched client IP address.
IPRuleResponse, IPRuleResponseArgs
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 secret with or without version. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. or https://mykeyvault.vault.azure.net/keys/testkey. 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 secret with or without version. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. or https://mykeyvault.vault.azure.net/keys/testkey. 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 secret with or without version. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. or https://mykeyvault.vault.azure.net/keys/testkey. 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 secret with or without version. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. or https://mykeyvault.vault.azure.net/keys/testkey. 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 secret with or without version. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. or https://mykeyvault.vault.azure.net/keys/testkey. 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 secret with or without version. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. or https://mykeyvault.vault.azure.net/keys/testkey. 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 secret with or without version. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. or https://mykeyvault.vault.azure.net/keys/testkey. 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 secret with or without version. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. or https://mykeyvault.vault.azure.net/keys/testkey. 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 secret with or without version. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. or https://mykeyvault.vault.azure.net/keys/testkey. 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 secret with or without version. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. or https://mykeyvault.vault.azure.net/keys/testkey. 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 secret with or without version. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. or https://mykeyvault.vault.azure.net/keys/testkey. 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 secret with or without version. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. or https://mykeyvault.vault.azure.net/keys/testkey. 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
NetworkProfile, NetworkProfileArgs
- Account
Access Pulumi.Azure Native. Batch. Inputs. Endpoint Access Profile - Network access profile for batchAccount endpoint (Batch account data plane API).
- Node
Management Pulumi.Access Azure Native. Batch. Inputs. Endpoint Access Profile - Network access profile for nodeManagement endpoint (Batch service managing compute nodes for Batch pools).
- Account
Access EndpointAccess Profile - Network access profile for batchAccount endpoint (Batch account data plane API).
- Node
Management EndpointAccess Access Profile - Network access profile for nodeManagement endpoint (Batch service managing compute nodes for Batch pools).
- account
Access EndpointAccess Profile - Network access profile for batchAccount endpoint (Batch account data plane API).
- node
Management EndpointAccess Access Profile - Network access profile for nodeManagement endpoint (Batch service managing compute nodes for Batch pools).
- account
Access EndpointAccess Profile - Network access profile for batchAccount endpoint (Batch account data plane API).
- node
Management EndpointAccess Access Profile - Network access profile for nodeManagement endpoint (Batch service managing compute nodes for Batch pools).
- account_
access EndpointAccess Profile - Network access profile for batchAccount endpoint (Batch account data plane API).
- node_
management_ Endpointaccess Access Profile - Network access profile for nodeManagement endpoint (Batch service managing compute nodes for Batch pools).
- account
Access Property Map - Network access profile for batchAccount endpoint (Batch account data plane API).
- node
Management Property MapAccess - Network access profile for nodeManagement endpoint (Batch service managing compute nodes for Batch pools).
NetworkProfileResponse, NetworkProfileResponseArgs
- Account
Access Pulumi.Azure Native. Batch. Inputs. Endpoint Access Profile Response - Network access profile for batchAccount endpoint (Batch account data plane API).
- Node
Management Pulumi.Access Azure Native. Batch. Inputs. Endpoint Access Profile Response - Network access profile for nodeManagement endpoint (Batch service managing compute nodes for Batch pools).
- Account
Access EndpointAccess Profile Response - Network access profile for batchAccount endpoint (Batch account data plane API).
- Node
Management EndpointAccess Access Profile Response - Network access profile for nodeManagement endpoint (Batch service managing compute nodes for Batch pools).
- account
Access EndpointAccess Profile Response - Network access profile for batchAccount endpoint (Batch account data plane API).
- node
Management EndpointAccess Access Profile Response - Network access profile for nodeManagement endpoint (Batch service managing compute nodes for Batch pools).
- account
Access EndpointAccess Profile Response - Network access profile for batchAccount endpoint (Batch account data plane API).
- node
Management EndpointAccess Access Profile Response - Network access profile for nodeManagement endpoint (Batch service managing compute nodes for Batch pools).
- account_
access EndpointAccess Profile Response - Network access profile for batchAccount endpoint (Batch account data plane API).
- node_
management_ Endpointaccess Access Profile Response - Network access profile for nodeManagement endpoint (Batch service managing compute nodes for Batch pools).
- account
Access Property Map - Network access profile for batchAccount endpoint (Batch account data plane API).
- node
Management Property MapAccess - Network access profile for nodeManagement endpoint (Batch service managing compute nodes for Batch pools).
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.
- Group
Ids List<string> - The value has one and only one group id.
- Id string
- The ID of the resource.
- Name string
- The name of the resource.
- Private
Endpoint Pulumi.Azure Native. Batch. Inputs. Private Endpoint Response - The private endpoint of the private endpoint connection.
- Provisioning
State string - Type string
- The type of the resource.
- 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.
- Group
Ids []string - The value has one and only one group id.
- Id string
- The ID of the resource.
- Name string
- The name of the resource.
- Private
Endpoint PrivateEndpoint Response - The private endpoint of the private endpoint connection.
- Provisioning
State string - Type string
- The type of the resource.
- 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.
- group
Ids List<String> - The value has one and only one group id.
- id String
- The ID of the resource.
- name String
- The name of the resource.
- private
Endpoint PrivateEndpoint Response - The private endpoint of the private endpoint connection.
- provisioning
State String - type String
- The type of the resource.
- 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.
- group
Ids string[] - The value has one and only one group id.
- id string
- The ID of the resource.
- name string
- The name of the resource.
- private
Endpoint PrivateEndpoint Response - The private endpoint of the private endpoint connection.
- provisioning
State string - type string
- The type of the resource.
- 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.
- group_
ids Sequence[str] - The value has one and only one group id.
- id str
- The ID of the resource.
- name str
- The name of the resource.
- private_
endpoint PrivateEndpoint Response - The private endpoint of the private endpoint connection.
- provisioning_
state str - type str
- The type of the resource.
- 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.
- group
Ids List<String> - The value has one and only one group id.
- id String
- The ID of the resource.
- name String
- The name of the resource.
- private
Endpoint Property Map - The private endpoint of the private endpoint connection.
- provisioning
State String - type String
- The type of the resource.
- 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
- Actions
Required string - Status string
- Description string
- Actions
Required string - Status string
- Description string
- actions
Required String - status String
- description String
- actions
Required string - status string
- description string
- actions_
required str - status str
- description str
- actions
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.
UserAssignedIdentitiesResponse, UserAssignedIdentitiesResponseArgs
- 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.
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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0