Share via


BatchAccountOperationsExtensions.CreateAsync 메서드

정의

지정된 매개 변수를 사용하여 새 Batch 계정을 만듭니다. 기존 계정은 이 API로 업데이트할 수 없으며 대신 Batch 계정 업데이트 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 계정의 이름입니다. Batch 계정 이름은 길이가 3~24자여야 하며 숫자와 소문자만 사용해야 합니다. 이 이름은 계정이 만들어진 지역에서 Batch 서비스에 액세스하는 데 사용되는 DNS 이름의 일부로 사용됩니다. 예: http://accountname.region.batch.azure.com/

parameters
BatchAccountCreateParameters

계정 만들기를 위한 추가 매개 변수입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

적용 대상