IAccountOperations.BeginCreatingAsync Method (String, String, BatchAccountCreateParameters, CancellationToken)

 

Begin creating the batch account.To determine whether the operation has finished processing the request, call GetLongRunningOperationStatus.

Namespace:   Microsoft.Azure.Management.Batch
Assembly:  Microsoft.Azure.Management.Batch (in Microsoft.Azure.Management.Batch.dll)

Syntax

Task<BatchAccountCreateResponse> BeginCreatingAsync(
    string resourceGroupName,
    string accountName,
    BatchAccountCreateParameters parameters,
    CancellationToken cancellationToken
)
Task<BatchAccountCreateResponse^>^ BeginCreatingAsync(
    String^ resourceGroupName,
    String^ accountName,
    BatchAccountCreateParameters^ parameters,
    CancellationToken cancellationToken
)
abstract BeginCreatingAsync : 
        resourceGroupName:string *
        accountName:string *
        parameters:BatchAccountCreateParameters *
        cancellationToken:CancellationToken -> Task<BatchAccountCreateResponse>
Function BeginCreatingAsync (
    resourceGroupName As String,
    accountName As String,
    parameters As BatchAccountCreateParameters,
    cancellationToken As CancellationToken
) As Task(Of BatchAccountCreateResponse)

Parameters

  • resourceGroupName
    Type: System.String

    The name of the resource group that contains the new Batch account.

  • accountName
    Type: System.String

    A name for the Batch account which must be unique within Azure. Batch account names must be between 3 and 24 characters in length and must use only numbers and lower-case 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: https://AccountName.batch.core.windows.net/.

Return Value

Type: System.Threading.Tasks.Task<BatchAccountCreateResponse>

Values returned by the Create operation.

See Also

IAccountOperations Interface
Microsoft.Azure.Management.Batch Namespace

Return to top