Freigeben über


ArmBatchModelFactory.BatchAccountCreateOrUpdateContent Method

Definition

Initializes a new instance of BatchAccountCreateOrUpdateContent.

public static Azure.ResourceManager.Batch.Models.BatchAccountCreateOrUpdateContent BatchAccountCreateOrUpdateContent (Azure.Core.AzureLocation location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ResourceManager.Batch.Models.BatchAccountAutoStorageBaseConfiguration autoStorage = default, Azure.ResourceManager.Batch.Models.BatchAccountPoolAllocationMode? poolAllocationMode = default, Azure.ResourceManager.Batch.Models.BatchKeyVaultReference keyVaultReference = default, Azure.ResourceManager.Batch.Models.BatchPublicNetworkAccess? publicNetworkAccess = default, Azure.ResourceManager.Batch.Models.BatchNetworkProfile networkProfile = default, Azure.ResourceManager.Batch.Models.BatchAccountEncryptionConfiguration encryption = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Batch.Models.BatchAuthenticationMode> allowedAuthenticationModes = default);
static member BatchAccountCreateOrUpdateContent : Azure.Core.AzureLocation * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.Models.ManagedServiceIdentity * Azure.ResourceManager.Batch.Models.BatchAccountAutoStorageBaseConfiguration * Nullable<Azure.ResourceManager.Batch.Models.BatchAccountPoolAllocationMode> * Azure.ResourceManager.Batch.Models.BatchKeyVaultReference * Nullable<Azure.ResourceManager.Batch.Models.BatchPublicNetworkAccess> * Azure.ResourceManager.Batch.Models.BatchNetworkProfile * Azure.ResourceManager.Batch.Models.BatchAccountEncryptionConfiguration * seq<Azure.ResourceManager.Batch.Models.BatchAuthenticationMode> -> Azure.ResourceManager.Batch.Models.BatchAccountCreateOrUpdateContent
Public Shared Function BatchAccountCreateOrUpdateContent (Optional location As AzureLocation = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional autoStorage As BatchAccountAutoStorageBaseConfiguration = Nothing, Optional poolAllocationMode As Nullable(Of BatchAccountPoolAllocationMode) = Nothing, Optional keyVaultReference As BatchKeyVaultReference = Nothing, Optional publicNetworkAccess As Nullable(Of BatchPublicNetworkAccess) = Nothing, Optional networkProfile As BatchNetworkProfile = Nothing, Optional encryption As BatchAccountEncryptionConfiguration = Nothing, Optional allowedAuthenticationModes As IEnumerable(Of BatchAuthenticationMode) = Nothing) As BatchAccountCreateOrUpdateContent

Parameters

location
AzureLocation

The region in which to create the account.

tags
IDictionary<String,String>

The user-specified tags associated with the account.

identity
ManagedServiceIdentity

The identity of the Batch account. Current supported identity types: None, SystemAssigned, UserAssigned.

autoStorage
BatchAccountAutoStorageBaseConfiguration

The properties related to the auto-storage account.

poolAllocationMode
Nullable<BatchAccountPoolAllocationMode>

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 Microsoft Entra ID. If the mode is UserSubscription, clients must use Microsoft Entra ID. The default is BatchService.

keyVaultReference
BatchKeyVaultReference

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

publicNetworkAccess
Nullable<BatchPublicNetworkAccess>

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

networkProfile
BatchNetworkProfile

The network profile only takes effect when publicNetworkAccess is enabled.

encryption
BatchAccountEncryptionConfiguration

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.

allowedAuthenticationModes
IEnumerable<BatchAuthenticationMode>

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.

Returns

A new BatchAccountCreateOrUpdateContent instance for mocking.

Applies to