Aracılığıyla paylaş


BatchAccountOperationsExtensions.CreateAsync Yöntem

Tanım

Belirtilen parametrelerle yeni bir Batch hesabı oluşturur. Mevcut hesaplar bu API ile güncelleştirilemez ve bunun yerine Batch Hesabını Güncelleştir API'siyle güncelleştirilmelidir.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.BatchAccount> CreateAsync (this Microsoft.Azure.Management.Batch.IBatchAccountOperations operations, string resourceGroupName, string accountName, Microsoft.Azure.Management.Batch.Models.BatchAccountCreateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Batch.IBatchAccountOperations * string * string * Microsoft.Azure.Management.Batch.Models.BatchAccountCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.BatchAccount>
<Extension()>
Public Function CreateAsync (operations As IBatchAccountOperations, resourceGroupName As String, accountName As String, parameters As BatchAccountCreateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BatchAccount)

Parametreler

operations
IBatchAccountOperations

Bu uzantı yöntemi için işlem grubu.

resourceGroupName
String

Batch hesabını içeren kaynak grubunun adı.

accountName
String

Bölge içinde benzersiz olması gereken Batch hesabının adı. Batch hesap adları 3 ila 24 karakter uzunluğunda olmalı ve yalnızca sayı ve küçük harf kullanmalıdır. Bu ad, hesabın oluşturulduğu bölgedeki Batch hizmetine erişmek için kullanılan DNS adının bir parçası olarak kullanılır. Örneğin: http://accountname.region.batch.azure.com/.

parameters
BatchAccountCreateParameters

Hesap oluşturmak için ek parametreler.

cancellationToken
CancellationToken

İptal belirteci.

Döndürülenler

Şunlara uygulanır