BatchAccountOperationsExtensions.CreateAsync メソッド

定義

指定したパラメーターを使用して、新しい Batch アカウントを作成します。 既存のアカウントはこの API では更新できないため、代わりに Update Batch Account API で更新する必要があります。

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)

パラメーター

operations
IBatchAccountOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

Batch アカウントを含むリソース グループの名前。

accountName
String

リージョン内で一意である必要がある Batch アカウントの名前。 バッチ アカウント名の長さは 3 ~ 24 文字で、数字と小文字のみを使用する必要があります。 この名前は、アカウントが作成されたリージョンの Batch サービスにアクセスするために使用される DNS 名の一部として使用されます。 たとえば、 http://accountname.region.batch.azure.com/と指定します。

parameters
BatchAccountCreateParameters

アカウント作成用の追加パラメーター。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象