Client library for BatchManagement
npm install --save @datafire/azure_batch_batchmanagement
let azure_batch_batchmanagement = require('@datafire/azure_batch_batchmanagement').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
Lists available operations for the Microsoft.Batch provider
azure_batch_batchmanagement.Operations_List({
"api-version": ""
}, context)
- input
object
- api-version required
string
: The API version to be used with the HTTP request.
- api-version required
- output OperationListResult
Gets information about the Batch accounts associated with the subscription.
azure_batch_batchmanagement.BatchAccount_List({
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- api-version required
- output BatchAccountListResult
Checks whether the Batch account name is available in the specified region.
azure_batch_batchmanagement.Location_CheckNameAvailability({
"locationName": "",
"api-version": "",
"subscriptionId": "",
"parameters": null
}, context)
- input
object
- locationName required
string
: The desired region for the name check. - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000) - parameters required CheckNameAvailabilityParameters
- locationName required
- output CheckNameAvailabilityResult
Gets the Batch service quotas for the specified subscription at the given location.
azure_batch_batchmanagement.Location_GetQuotas({
"locationName": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- locationName required
string
: The region for which to retrieve Batch service quotas. - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- locationName required
- output BatchLocationQuota
Gets information about the Batch accounts associated with the specified resource group.
azure_batch_batchmanagement.BatchAccount_ListByResourceGroup({
"resourceGroupName": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
- output BatchAccountListResult
Deletes the specified Batch account.
azure_batch_batchmanagement.BatchAccount_Delete({
"resourceGroupName": "",
"accountName": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
Output schema unknown
Gets information about the specified Batch account.
azure_batch_batchmanagement.BatchAccount_Get({
"resourceGroupName": "",
"accountName": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
- output BatchAccount
Updates the properties of an existing Batch account.
azure_batch_batchmanagement.BatchAccount_Update({
"resourceGroupName": "",
"accountName": "",
"parameters": null,
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - parameters required BatchAccountUpdateParameters
- api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
- output 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.
azure_batch_batchmanagement.BatchAccount_Create({
"resourceGroupName": "",
"accountName": "",
"parameters": null,
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: 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/. - parameters required BatchAccountCreateParameters
- api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
- output BatchAccount
Lists all of the applications in the specified account.
azure_batch_batchmanagement.Application_List({
"resourceGroupName": "",
"accountName": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - maxresults
integer
: The maximum number of items to return in the response. - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
- output ListApplicationsResult
Deletes an application.
azure_batch_batchmanagement.Application_Delete({
"resourceGroupName": "",
"accountName": "",
"applicationName": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - applicationName required
string
: The name of the application. This must be unique within the account. - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
Output schema unknown
Gets information about the specified application.
azure_batch_batchmanagement.Application_Get({
"resourceGroupName": "",
"accountName": "",
"applicationName": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - applicationName required
string
: The name of the application. This must be unique within the account. - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
- output Application
Updates settings for the specified application.
azure_batch_batchmanagement.Application_Update({
"resourceGroupName": "",
"accountName": "",
"applicationName": "",
"parameters": null,
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - applicationName required
string
: The name of the application. This must be unique within the account. - parameters required Application
- api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
- output Application
Adds an application to the specified Batch account.
azure_batch_batchmanagement.Application_Create({
"resourceGroupName": "",
"accountName": "",
"applicationName": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - applicationName required
string
: The name of the application. This must be unique within the account. - parameters Application
- api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
- output Application
Lists all of the application packages in the specified application.
azure_batch_batchmanagement.ApplicationPackage_List({
"resourceGroupName": "",
"accountName": "",
"applicationName": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - applicationName required
string
: The name of the application. This must be unique within the account. - maxresults
integer
: The maximum number of items to return in the response. - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
Deletes an application package record and its associated binary file.
azure_batch_batchmanagement.ApplicationPackage_Delete({
"resourceGroupName": "",
"accountName": "",
"applicationName": "",
"versionName": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - applicationName required
string
: The name of the application. This must be unique within the account. - versionName required
string
: The version of the application. - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
Output schema unknown
Gets information about the specified application package.
azure_batch_batchmanagement.ApplicationPackage_Get({
"resourceGroupName": "",
"accountName": "",
"applicationName": "",
"versionName": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - applicationName required
string
: The name of the application. This must be unique within the account. - versionName required
string
: The version of the application. - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
- output ApplicationPackage
Creates an application package record. The record contains the SAS where the package should be uploaded to. Once it is uploaded the ApplicationPackage
needs to be activated using ApplicationPackageActive
before it can be used.
azure_batch_batchmanagement.ApplicationPackage_Create({
"resourceGroupName": "",
"accountName": "",
"applicationName": "",
"versionName": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - applicationName required
string
: The name of the application. This must be unique within the account. - versionName required
string
: The version of the application. - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000) - parameters ApplicationPackage
- resourceGroupName required
- output ApplicationPackage
Activates the specified application package. This should be done after the ApplicationPackage
was created and uploaded. This needs to be done before an ApplicationPackage
can be used on Pools or Tasks
azure_batch_batchmanagement.ApplicationPackage_Activate({
"resourceGroupName": "",
"accountName": "",
"applicationName": "",
"versionName": "",
"parameters": null,
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - applicationName required
string
: The name of the application. This must be unique within the account. - versionName required
string
: The version of the application. - parameters required ActivateApplicationPackageParameters
- api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
- output ApplicationPackage
Lists all of the certificates in the specified account.
azure_batch_batchmanagement.Certificate_ListByBatchAccount({
"resourceGroupName": "",
"accountName": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - maxresults
integer
: The maximum number of items to return in the response. - $select
string
: Comma separated list of properties that should be returned. e.g. "properties/provisioningState". Only top level properties under properties/ are valid for selection. - $filter
string
: OData filter expression. Valid properties for filtering are "properties/provisioningState", "properties/provisioningStateTransitionTime", "name". - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
- output ListCertificatesResult
Deletes the specified certificate.
azure_batch_batchmanagement.Certificate_Delete({
"resourceGroupName": "",
"accountName": "",
"certificateName": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - certificateName required
string
: The identifier for the certificate. This must be made up of algorithm and thumbprint separated by a dash, and must match the certificate data in the request. For example SHA1-a3d1c5. - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
Output schema unknown
Gets information about the specified certificate.
azure_batch_batchmanagement.Certificate_Get({
"resourceGroupName": "",
"accountName": "",
"certificateName": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - certificateName required
string
: The identifier for the certificate. This must be made up of algorithm and thumbprint separated by a dash, and must match the certificate data in the request. For example SHA1-a3d1c5. - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
- output Certificate
Updates the properties of an existing certificate.
azure_batch_batchmanagement.Certificate_Update({
"resourceGroupName": "",
"accountName": "",
"certificateName": "",
"parameters": null,
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - certificateName required
string
: The identifier for the certificate. This must be made up of algorithm and thumbprint separated by a dash, and must match the certificate data in the request. For example SHA1-a3d1c5. - parameters required CertificateCreateOrUpdateParameters
- If-Match
string
: The entity state (ETag) version of the certificate to update. This value can be omitted or set to "*" to apply the operation unconditionally. - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
- output Certificate
Creates a new certificate inside the specified account.
azure_batch_batchmanagement.Certificate_Create({
"resourceGroupName": "",
"accountName": "",
"certificateName": "",
"parameters": null,
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - certificateName required
string
: The identifier for the certificate. This must be made up of algorithm and thumbprint separated by a dash, and must match the certificate data in the request. For example SHA1-a3d1c5. - parameters required CertificateCreateOrUpdateParameters
- If-Match
string
: The entity state (ETag) version of the certificate to update. A value of "*" can be used to apply the operation only if the certificate already exists. If omitted, this operation will always be applied. - If-None-Match
string
: Set to '*' to allow a new certificate to be created, but to prevent updating an existing certificate. Other values will be ignored. - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
- output Certificate
If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.
azure_batch_batchmanagement.Certificate_CancelDeletion({
"resourceGroupName": "",
"accountName": "",
"certificateName": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - certificateName required
string
: The identifier for the certificate. This must be made up of algorithm and thumbprint separated by a dash, and must match the certificate data in the request. For example SHA1-a3d1c5. - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
- output Certificate
This operation applies only to Batch accounts created with a poolAllocationMode of 'BatchService'. If the Batch account was created with a poolAllocationMode of 'UserSubscription', clients cannot use access to keys to authenticate, and must use Azure Active Directory instead. In this case, getting the keys will fail.
azure_batch_batchmanagement.BatchAccount_GetKeys({
"resourceGroupName": "",
"accountName": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
- output BatchAccountKeys
Lists all of the pools in the specified account.
azure_batch_batchmanagement.Pool_ListByBatchAccount({
"resourceGroupName": "",
"accountName": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - maxresults
integer
: The maximum number of items to return in the response. - $select
string
: Comma separated list of properties that should be returned. e.g. "properties/provisioningState". Only top level properties under properties/ are valid for selection. - $filter
string
: OData filter expression. Valid properties for filtering are: - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
- output ListPoolsResult
Deletes the specified pool.
azure_batch_batchmanagement.Pool_Delete({
"resourceGroupName": "",
"accountName": "",
"poolName": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - poolName required
string
: The pool name. This must be unique within the account. - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
Output schema unknown
Gets information about the specified pool.
azure_batch_batchmanagement.Pool_Get({
"resourceGroupName": "",
"accountName": "",
"poolName": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - poolName required
string
: The pool name. This must be unique within the account. - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
- output Pool
Updates the properties of an existing pool.
azure_batch_batchmanagement.Pool_Update({
"resourceGroupName": "",
"accountName": "",
"poolName": "",
"parameters": null,
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - poolName required
string
: The pool name. This must be unique within the account. - parameters required Pool
- If-Match
string
: The entity state (ETag) version of the pool to update. This value can be omitted or set to "*" to apply the operation unconditionally. - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
- output Pool
Creates a new pool inside the specified account.
azure_batch_batchmanagement.Pool_Create({
"resourceGroupName": "",
"accountName": "",
"poolName": "",
"parameters": null,
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - poolName required
string
: The pool name. This must be unique within the account. - parameters required Pool
- If-Match
string
: The entity state (ETag) version of the pool to update. A value of "*" can be used to apply the operation only if the pool already exists. If omitted, this operation will always be applied. - If-None-Match
string
: Set to '*' to allow a new pool to be created, but to prevent updating an existing pool. Other values will be ignored. - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
- output Pool
Disables automatic scaling for a pool.
azure_batch_batchmanagement.Pool_DisableAutoScale({
"resourceGroupName": "",
"accountName": "",
"poolName": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - poolName required
string
: The pool name. This must be unique within the account. - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
- output Pool
This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. After stopping, the pool stabilizes at the number of nodes it was at when the stop operation was done. During the stop operation, the pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.
azure_batch_batchmanagement.Pool_StopResize({
"resourceGroupName": "",
"accountName": "",
"poolName": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - poolName required
string
: The pool name. This must be unique within the account. - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
- output Pool
Regenerates the specified account key for the Batch account.
azure_batch_batchmanagement.BatchAccount_RegenerateKey({
"resourceGroupName": "",
"accountName": "",
"parameters": null,
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - parameters required BatchAccountRegenerateKeyParameters
- api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
- output BatchAccountKeys
Synchronizes access keys for the auto-storage account configured for the specified Batch account.
azure_batch_batchmanagement.BatchAccount_SynchronizeAutoStorageKeys({
"resourceGroupName": "",
"accountName": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- resourceGroupName required
string
: The name of the resource group that contains the Batch account. - accountName required
string
: The name of the Batch account. - api-version required
string
: The API version to be used with the HTTP request. - subscriptionId required
string
: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
- resourceGroupName required
Output schema unknown
- ActivateApplicationPackageParameters
object
: Parameters for an activating an application package.- format required
string
: The format of the application package binary file.
- format required
- Application
object
: Contains information about an application in a Batch account.- properties ApplicationProperties
- etag
string
: The ETag of the resource, used for concurrency statements. - id
string
: The ID of the resource. - name
string
: The name of the resource. - type
string
: The type of the resource.
- ApplicationPackage
object
: An application package which represents a particular version of an application.- properties ApplicationPackageProperties
- etag
string
: The ETag of the resource, used for concurrency statements. - id
string
: The ID of the resource. - name
string
: The name of the resource. - type
string
: The type of the resource.
- ApplicationPackageProperties
object
: Properties of an application package- format
string
: The format of the application package, if the package is active. - lastActivationTime
string
: The time at which the package was last activated, if the package is active. - state
string
(values: Pending, Active): The current state of the application package. - storageUrl
string
: The URL for the application package in Azure Storage. - storageUrlExpiry
string
: The UTC time at which the Azure Storage URL will expire.
- format
- Link to an application package inside the batch account
object
- id required
string
- version
string
: If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
- id required
- ApplicationProperties
object
: The properties associated with the Application.- allowUpdates
boolean
: A value indicating whether packages within the application may be overwritten using the same version string. - defaultVersion
string
: The package to use if a client requests the application but does not specify a version. This property can only be set to the name of an existing package. - displayName
string
: The display name for the application.
- allowUpdates
- The results and errors from an execution of a pool autoscale formula.
object
- error AutoScaleRunError
- evaluationTime required
string
- results
string
: Each variable value is returned in the form $variable=value, and variables are separated by semicolons.
- An error that occurred when autoscaling a pool.
object
- code required
string
: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. - details
array
- items AutoScaleRunError
- message required
string
: A message describing the error, intended to be suitable for display in a user interface.
- code required
- AutoScale settings for the pool.
object
- evaluationInterval
string
: If omitted, the default value is 15 minutes (PT15M). - formula required
string
- evaluationInterval
- AutoStorageBaseProperties
object
: The properties related to the auto-storage account.- storageAccountId required
string
: The resource ID of the storage account to be used for auto-storage account.
- storageAccountId required
- AutoStorageProperties
object
: Contains information about the auto-storage account associated with a Batch account.- lastKeySync required
string
: The UTC time at which storage keys were last synchronized with the Batch account. - storageAccountId required
string
: The resource ID of the storage account to be used for auto-storage account.
- lastKeySync required
- Specifies the parameters for the auto user that runs a task on the Batch service.
object
- elevationLevel ElevationLevel
- scope
string
(values: Task, Pool): The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.
- Information used to connect to an Azure Storage Container using Blobfuse.
object
- accountKey
string
: This property is mutually exclusive with sasKey and one must be specified. - accountName required
string
- blobfuseOptions
string
: These are 'net use' options in Windows and 'mount' options in Linux. - containerName required
string
- relativeMountPath required
string
: All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable. - sasKey
string
: This property is mutually exclusive with accountKey and one must be specified.
- accountKey
- Information used to connect to an Azure Fileshare.
object
- accountKey required
string
- accountName required
string
- azureFileUrl required
string
: This is of the form 'https://{account}.file.core.windows.net/'. - mountOptions
string
: These are 'net use' options in Windows and 'mount' options in Linux. - relativeMountPath required
string
: All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.
- accountKey required
- BatchAccount
object
: Contains information about an Azure Batch account.- properties BatchAccountProperties
- id
string
: The ID of the resource. - location
string
: The location of the resource. - name
string
: The name of the resource. - tags
object
: The tags of the resource. - type
string
: The type of the resource.
- BatchAccountCreateParameters
object
: Parameters supplied to the Create operation.- location required
string
: The region in which to create the account. - properties BatchAccountCreateProperties
- tags
object
: The user-specified tags associated with the account.
- location required
- BatchAccountCreateProperties
object
: The properties of a Batch account.- autoStorage AutoStorageBaseProperties
- keyVaultReference KeyVaultReference
- poolAllocationMode PoolAllocationMode
- BatchAccountKeys
object
: A set of Azure Batch account keys.- accountName
string
: The Batch account name. - primary
string
: The primary key associated with the account. - secondary
string
: The secondary key associated with the account.
- accountName
- BatchAccountListResult
object
: Values returned by the List operation.- nextLink
string
: The continuation token. - value
array
: The collection of Batch accounts returned by the listing operation.- items BatchAccount
- nextLink
- BatchAccountProperties
object
: Account specific properties.- accountEndpoint
string
: The account endpoint used to interact with the Batch service. - activeJobAndJobScheduleQuota
integer
- autoStorage AutoStorageProperties
- dedicatedCoreQuota
integer
: For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned. - dedicatedCoreQuotaPerVMFamily
array
: A list of the dedicated core quota per Virtual Machine family for the Batch account. For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned. - dedicatedCoreQuotaPerVMFamilyEnforced
boolean
: Batch is transitioning its core quota system for dedicated cores to be enforced per Virtual Machine family. During this transitional phase, the dedicated core quota per Virtual Machine family may not yet be enforced. If this flag is false, dedicated core quota is enforced via the old dedicatedCoreQuota property on the account and does not consider Virtual Machine family. If this flag is true, dedicated core quota is enforced via the dedicatedCoreQuotaPerVMFamily property on the account, and the old dedicatedCoreQuota does not apply. - keyVaultReference KeyVaultReference
- lowPriorityCoreQuota
integer
: For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned. - poolAllocationMode PoolAllocationMode
- poolQuota
integer
- provisioningState
string
(values: Invalid, Creating, Deleting, Succeeded, Failed, Cancelled): The provisioned state of the resource
- accountEndpoint
- BatchAccountRegenerateKeyParameters
object
: Parameters supplied to the RegenerateKey operation.- keyName required
string
(values: Primary, Secondary): The type of account key to regenerate.
- keyName required
- BatchAccountUpdateParameters
object
: Parameters for updating an Azure Batch account.- properties BatchAccountUpdateProperties
- tags
object
: The user-specified tags associated with the account.
- BatchAccountUpdateProperties
object
: The properties of a Batch account.- autoStorage AutoStorageBaseProperties
- BatchLocationQuota
object
: Quotas associated with a Batch region for a particular subscription.- accountQuota
integer
: The number of Batch accounts that may be created under the subscription in the specified region.
- accountQuota
- Information used to connect to a CIFS file system.
object
- mountOptions
string
: These are 'net use' options in Windows and 'mount' options in Linux. - password required
string
- relativeMountPath required
string
: All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable. - source required
string
- username required
string
- mountOptions
- The type of caching to enable for the disk.
string
(values: None, ReadOnly, ReadWrite)
- Certificate
object
: Contains information about a certificate.- properties CertificateProperties
- etag
string
: The ETag of the resource, used for concurrency statements. - id
string
: The ID of the resource. - name
string
: The name of the resource. - type
string
: The type of the resource.
- CertificateBaseProperties
object
- format
string
(values: Pfx, Cer): The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. - thumbprint
string
: This must match the thumbprint from the name. - thumbprintAlgorithm
string
: This must match the first portion of the certificate name. Currently required to be 'SHA1'.
- format
- CertificateCreateOrUpdateParameters
object
: Contains information about a certificate.- properties CertificateCreateOrUpdateProperties
- etag
string
: The ETag of the resource, used for concurrency statements. - id
string
: The ID of the resource. - name
string
: The name of the resource. - type
string
: The type of the resource.
- CertificateCreateOrUpdateProperties
object
: Certificate properties for create operations- data required
string
: The maximum size is 10KB. - password
string
: This is required if the certificate format is pfx and must be omitted if the certificate format is cer. - format
string
(values: Pfx, Cer): The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. - thumbprint
string
: This must match the thumbprint from the name. - thumbprintAlgorithm
string
: This must match the first portion of the certificate name. Currently required to be 'SHA1'.
- data required
- CertificateProperties
object
: Certificate properties.- deleteCertificateError DeleteCertificateError
- previousProvisioningState
string
(values: Succeeded, Deleting, Failed): The previous provisioned state of the resource - previousProvisioningStateTransitionTime
string
- provisioningState
string
(values: Succeeded, Deleting, Failed) - provisioningStateTransitionTime
string
- publicData
string
: The public key of the certificate. - format
string
(values: Pfx, Cer): The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. - thumbprint
string
: This must match the thumbprint from the name. - thumbprintAlgorithm
string
: This must match the first portion of the certificate name. Currently required to be 'SHA1'.
- A reference to a certificate to be installed on compute nodes in a pool. This must exist inside the same account as the pool.
object
- id required
string
- storeLocation
string
(values: CurrentUser, LocalMachine): The default value is currentUser. This property is applicable only for pools configured with Windows nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows image reference). For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory. - storeName
string
: This property is applicable only for pools configured with Windows nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows image reference). Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My. - visibility
array
- items
string
(values: StartTask, Task, RemoteUser)
- items
- id required
- CheckNameAvailabilityParameters
object
: Parameters for a check name availability request.- name required
string
: The name to check for availability - type required
string
(values: Microsoft.Batch/batchAccounts): The resource type. Must be set to Microsoft.Batch/batchAccounts
- name required
- CheckNameAvailabilityResult
object
: The CheckNameAvailability operation response.- message
string
: Gets an error message explaining the Reason value in more detail. - nameAvailable
boolean
: Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or invalid and cannot be used. - reason
string
(values: Invalid, AlreadyExists): Gets the reason that a Batch account name could not be used. The Reason element is only returned if NameAvailable is false.
- message
- CloudError
object
: An error response from the Batch service.- error CloudErrorBody
- CloudErrorBody
object
: An error response from the Batch service.- code
string
: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. - details
array
: A list of additional details about the error.- items CloudErrorBody
- message
string
: A message describing the error, intended to be suitable for display in a user interface. - target
string
: The target of the particular error. For example, the name of the property in error.
- code
- The configuration for nodes in a pool based on the Azure Cloud Services platform.
object
- osFamily required
string
: Possible values are: 2 - OS Family 2, equivalent to Windows Server 2008 R2 SP1. 3 - OS Family 3, equivalent to Windows Server 2012. 4 - OS Family 4, equivalent to Windows Server 2012 R2. 5 - OS Family 5, equivalent to Windows Server 2016. 6 - OS Family 6, equivalent to Windows Server 2019. For more information, see Azure Guest OS Releases (https://azure.microsoft.com/documentation/articles/cloud-services-guestos-update-matrix/#releases). - osVersion
string
: The default value is * which specifies the latest operating system version for the specified OS family.
- osFamily required
- Determines what to do with a node and its running task(s) after it has been selected for deallocation.
string
(values: Requeue, Terminate, TaskCompletion, RetainedData)
- The configuration for container-enabled pools.
object
- containerImageNames
array
: This is the full image reference, as would be specified to "docker pull". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.- items
string
- items
- containerRegistries
array
: If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.- items ContainerRegistry
- type required
string
(values: DockerCompatible)
- containerImageNames
- A private container registry.
object
- password required
string
- registryServer
string
: If omitted, the default is "docker.io". - username required
string
- password required
- DataDisk
object
: Settings which will be used by the data disks associated to Compute Nodes in the Pool. When using attached data disks, you need to mount and format the disks from within a VM to use them.- caching CachingType
- diskSizeGB required
integer
- lun required
integer
: The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun. - storageAccountType StorageAccountType
- DeleteCertificateError
object
: An error response from the Batch service.- code required
string
: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. - details
array
: A list of additional details about the error.- items DeleteCertificateError
- message required
string
: A message describing the error, intended to be suitable for display in a user interface. - target
string
: The target of the particular error. For example, the name of the property in error.
- code required
- Deployment configuration properties.
object
- cloudServiceConfiguration CloudServiceConfiguration
- virtualMachineConfiguration VirtualMachineConfiguration
- The elevation level of the user.
string
(values: NonAdmin, Admin)
- An environment variable to be set on a task process.
object
- name required
string
- value
string
- name required
- Fixed scale settings for the pool.
object
- nodeDeallocationOption ComputeNodeDeallocationOption
- resizeTimeout
string
: The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request). - targetDedicatedNodes
integer
: At least one of targetDedicatedNodes, targetLowPriority nodes must be set. - targetLowPriorityNodes
integer
: At least one of targetDedicatedNodes, targetLowPriority nodes must be set.
- A reference to an Azure Virtual Machines Marketplace image or the Azure Image resource of a custom Virtual Machine. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation.
object
- id
string
: This property is mutually exclusive with other properties. For Virtual Machine Image it must be in the same region and subscription as the Azure Batch account. For SIG image it must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration. - offer
string
: For example, UbuntuServer or WindowsServer. - publisher
string
: For example, Canonical or MicrosoftWindowsServer. - sku
string
: For example, 18.04-LTS or 2019-Datacenter. - version
string
: A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'.
- id
- A inbound NAT pool that can be used to address specific ports on compute nodes in a Batch pool externally.
object
- backendPort required
integer
: This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 22, 3389, 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400. - frontendPortRangeEnd required
integer
: Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400. - frontendPortRangeStart required
integer
: Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400. - name required
string
: The name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400. - networkSecurityGroupRules
array
: The maximum number of rules that can be specified across all the endpoints on a Batch pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.- items NetworkSecurityGroupRule
- protocol required
string
(values: TCP, UDP)
- backendPort required
- KeyVaultReference
object
: Identifies the Azure key vault associated with a Batch account.- id required
string
: The resource ID of the Azure key vault associated with the Batch account. - url required
string
: The URL of the Azure key vault associated with the Batch account.
- id required
- Properties used to create a user account on a Linux node.
object
- gid
integer
: The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid. - sshPrivateKey
string
: The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done). - uid
integer
: The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid.
- gid
- ListApplicationPackagesResult
object
: The result of performing list application packages.- nextLink
string
: The URL to get the next set of results. - value
array
: The list of application packages.- items ApplicationPackage
- nextLink
- ListApplicationsResult
object
: The result of performing list applications.- nextLink
string
: The URL to get the next set of results. - value
array
: The list of applications.- items Application
- nextLink
- ListCertificatesResult
object
: Values returned by the List operation.- nextLink
string
: The continuation token. - value
array
: The collection of returned certificates.- items Certificate
- nextLink
- ListPoolsResult
object
: Values returned by the List operation.- nextLink
string
: The continuation token. - value
array
: The collection of returned pools.- items Pool
- nextLink
- A name-value pair associated with a Batch service resource.
object
: The Batch service does not assign any meaning to this metadata; it is solely for the use of user code.- name required
string
- value required
string
- name required
- The file system to mount on each node.
object
- azureBlobFileSystemConfiguration AzureBlobFileSystemConfiguration
- azureFileShareConfiguration AzureFileShareConfiguration
- cifsMountConfiguration CIFSMountConfiguration
- nfsMountConfiguration NFSMountConfiguration
- Information used to connect to an NFS file system.
object
- mountOptions
string
: These are 'net use' options in Windows and 'mount' options in Linux. - relativeMountPath required
string
: All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable. - source required
string
- mountOptions
- NetworkConfiguration
object
: The network configuration for a pool.- endpointConfiguration PoolEndpointConfiguration
- publicIPs
array
: The number of IPs specified here limits the maximum size of the Pool - 50 dedicated nodes or 20 low-priority nodes can be allocated for each public IP. For example, a pool needing 150 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}.- items
string
- items
- subnetId
string
: The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes, and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. For pools created via virtualMachineConfiguration the Batch account must have poolAllocationMode userSubscription in order to use a VNet. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication. For pools created with a virtual machine configuration, enable ports 29876 and 29877, as well as port 22 for Linux and port 3389 for Windows. For pools created with a cloud service configuration, enable ports 10100, 20100, and 30100. Also enable outbound connections to Azure Storage on port 443. For more details see: https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration
- A network security group rule to apply to an inbound endpoint.
object
- access required
string
(values: Allow, Deny) - priority required
integer
: Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 3500. If any reserved or duplicate values are provided the request fails with HTTP status code 400. - sourceAddressPrefix required
string
: Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400. - sourcePortRanges
array
: Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *.- items
string
- items
- access required
- A REST API operation
object
- display
object
- description
string
- operation
string
: For example: read, write, delete, or listKeys/action - provider
string
- resource
string
- description
- name
string
: This is of the format {provider}/{resource}/{operation} - origin
string
- properties
object
- display
- Result of the request to list REST API operations. It contains a list of operations and a URL nextLink to get the next set of results.
object
- nextLink
string
- value
array
- items Operation
- nextLink
- Pool
object
: Contains information about a pool.- properties PoolProperties
- etag
string
: The ETag of the resource, used for concurrency statements. - id
string
: The ID of the resource. - name
string
: The name of the resource. - type
string
: The type of the resource.
- PoolAllocationMode
string
(values: BatchService, UserSubscription): The allocation mode for creating pools in the Batch account.
- The endpoint configuration for a pool.
object
- inboundNatPools required
array
: The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400.- items InboundNatPool
- inboundNatPools required
- PoolProperties
object
: Pool properties.- allocationState
string
(values: Steady, Resizing, Stopping) - allocationStateTransitionTime
string
- applicationLicenses
array
: The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail.- items
string
- items
- applicationPackages
array
: Changes to application package references affect all new compute nodes joining the pool, but do not affect compute nodes that are already in the pool until they are rebooted or reimaged. There is a maximum of 10 application package references on any given pool. - autoScaleRun AutoScaleRun
- certificates
array
: For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.- items CertificateReference
- creationTime
string
- currentDedicatedNodes
integer
- currentLowPriorityNodes
integer
- deploymentConfiguration DeploymentConfiguration
- displayName
string
: The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024. - interNodeCommunication
string
(values: Enabled, Disabled): This imposes restrictions on which nodes can be assigned to the pool. Enabling this value can reduce the chance of the requested number of nodes to be allocated in the pool. If not specified, this value defaults to 'Disabled'. - lastModified
string
: This is the last time at which the pool level data, such as the targetDedicatedNodes or autoScaleSettings, changed. It does not factor in node-level changes such as a compute node changing state. - maxTasksPerNode
integer
: The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256. - metadata
array
: The Batch service does not assign any meaning to metadata; it is solely for the use of user code.- items MetadataItem
- mountConfiguration
array
: This supports Azure Files, NFS, CIFS/SMB, and Blobfuse.- items MountConfiguration
- networkConfiguration NetworkConfiguration
- provisioningState
string
(values: Succeeded, Deleting) - provisioningStateTransitionTime
string
- resizeOperationStatus ResizeOperationStatus
- scaleSettings ScaleSettings
- startTask StartTask
- taskSchedulingPolicy TaskSchedulingPolicy
- userAccounts
array
- items UserAccount
- vmSize
string
: For information about available sizes of virtual machines for Cloud Services pools (pools created with cloudServiceConfiguration), see Sizes for Cloud Services (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). Batch supports all Cloud Services VM sizes except ExtraSmall. For information about available VM sizes for pools using images from the Virtual Machines Marketplace (pools created with virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) or Sizes for Virtual Machines (Windows) (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series).
- allocationState
- ProxyResource
object
: A definition of an Azure resource.- etag
string
: The ETag of the resource, used for concurrency statements. - id
string
: The ID of the resource. - name
string
: The name of the resource. - type
string
: The type of the resource.
- etag
- An error that occurred when resizing a pool.
object
- code required
string
: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. - details
array
- items ResizeError
- message required
string
: A message describing the error, intended to be suitable for display in a user interface.
- code required
- Details about the current or last completed resize operation.
object
: Describes either the current operation (if the pool AllocationState is Resizing) or the previously completed operation (if the AllocationState is Steady).- errors
array
: This property is set only if an error occurred during the last pool resize, and only when the pool allocationState is Steady.- items ResizeError
- nodeDeallocationOption ComputeNodeDeallocationOption
- resizeTimeout
string
: The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request). - startTime
string
- targetDedicatedNodes
integer
- targetLowPriorityNodes
integer
- errors
- Resource
object
: A definition of an Azure resource.- id
string
: The ID of the resource. - location
string
: The location of the resource. - name
string
: The name of the resource. - tags
object
: The tags of the resource. - type
string
: The type of the resource.
- id
- A single file or multiple files to be downloaded to a compute node.
object
- autoStorageContainerName
string
: The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. - blobPrefix
string
: The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded. - fileMode
string
: This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file. - filePath
string
: If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..'). - httpUrl
string
: The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL is Azure Blob Storage, it must be readable using anonymous access; that is, the Batch service does not present any credentials when downloading the blob. There are two ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, or set the ACL for the blob or its container to allow public access. - storageContainerUrl
string
: The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable using anonymous access; that is, the Batch service does not present any credentials when downloading the blob. There are two ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the blob, or set the ACL for the blob or its container to allow public access.
- autoStorageContainerName
- Scale settings for the pool
object
: Defines the desired size of the pool. This can either be 'fixedScale' where the requested targetDedicatedNodes is specified, or 'autoScale' which defines a formula which is periodically reevaluated. If this property is not specified, the pool will have a fixed scale with 0 targetDedicatedNodes.- autoScale AutoScaleSettings
- fixedScale FixedScaleSettings
- A task which is run when a compute node joins a pool in the Azure Batch service, or when the compute node is rebooted or reimaged.
object
: In some cases the start task may be re-run even though the node was not rebooted. Due to this, start tasks should be idempotent and exit gracefully if the setup they're performing has already been done. Special care should be taken to avoid start tasks which create breakaway process or install/launch services from the start task working directory, as this will block Batch from being able to re-run the start task.- commandLine
string
: The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. Required if any other properties of the startTask are specified. - containerSettings TaskContainerSettings
- environmentSettings
array
- items EnvironmentSetting
- maxTaskRetryCount
integer
: The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. - resourceFiles
array
- items ResourceFile
- userIdentity UserIdentity
- waitForSuccess
boolean
: If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true.
- commandLine
- The storage account type for use in creating data disks.
string
(values: Standard_LRS, Premium_LRS)
- The container settings for a task.
object
- containerRunOptions
string
: These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service. - imageName required
string
: This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default. - registry ContainerRegistry
- workingDirectory
string
(values: TaskWorkingDirectory, ContainerImageDefault)
- containerRunOptions
- Specifies how tasks should be distributed across compute nodes.
object
- nodeFillType required
string
(values: Spread, Pack)
- nodeFillType required
- Properties used to create a user on an Azure Batch node.
object
- elevationLevel ElevationLevel
- linuxUserConfiguration LinuxUserConfiguration
- name required
string
- password required
string
- windowsUserConfiguration WindowsUserConfiguration
- The definition of the user identity under which the task is run.
object
: Specify either the userName or autoUser property, but not both.- autoUser AutoUserSpecification
- userName
string
: The userName and autoUser properties are mutually exclusive; you must specify one but not both.
- The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure.
object
- containerConfiguration ContainerConfiguration
- dataDisks
array
: This property must be specified if the compute nodes in the pool need to have empty data disks attached to them.- items DataDisk
- imageReference required ImageReference
- licenseType
string
: This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are: - nodeAgentSkuId required
string
: The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation. - windowsConfiguration WindowsConfiguration
- VirtualMachineFamilyCoreQuota
object
: A VM Family and its associated core quota for the Batch account.- coreQuota
integer
: The core quota for the VM family for the Batch account. - name
string
: The Virtual Machine family name.
- coreQuota
- Windows operating system settings to apply to the virtual machine.
object
- enableAutomaticUpdates
boolean
: If omitted, the default value is true.
- enableAutomaticUpdates
- Properties used to create a user account on a Windows node.
object
- loginMode
string
(values: Batch, Interactive): Specifies login mode for the user. The default value for VirtualMachineConfiguration pools is interactive mode and for CloudServiceConfiguration pools is batch mode.
- loginMode