v7

latestSwagger 2.0raw.githubusercontent.com2019-12-163581169.9 KB
BatchAccount

Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.

put/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}

Path parameters

resourceGroupNamestring required

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

accountNamestring required

A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase 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: http://accountname.region.batch.azure.com/.

subscriptionIdstring required

The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)

Query parameters

api-versionstring required

The API version to be used with the HTTP request.

Request body

locationstring required

The region in which to create the account.

tagsobject

The user-specified tags associated with the account.

Response

The operation was successful. The response contains the Batch account entity.

idstring

The ID of the resource.

namestring

The name of the resource.

typestring

The type of the resource.

locationstring

The location of the resource.

tagsobject

The tags of the resource.