Azure Batch Application
This page shows how to write Terraform and Azure Resource Manager for Batch Application and write them securely.
azurerm_batch_application (Terraform)
The Application in Batch can be configured in Terraform with the resource name azurerm_batch_application
. The following sections describe 2 examples of how to use the resource and its parameters.
Example Usage from GitHub
resource "azurerm_batch_application" "this" {
account_name = var.account_name
allow_updates = var.allow_updates
default_version = var.default_version
display_name = var.display_name
name = var.name
resource "azurerm_batch_application" "this" {
account_name = var.account_name
allow_updates = var.allow_updates
default_version = var.default_version
display_name = var.display_name
name = var.name
Parameters
-
account_name
required - string -
allow_updates
optional - bool -
default_version
optional - string -
display_name
optional - string -
id
optional computed - string -
name
required - string -
resource_group_name
required - string -
timeouts
single block
Explanation in Terraform Registry
Manages Azure Batch Application instance.
Microsoft.Batch/batchAccounts/applications (Azure Resource Manager)
The batchAccounts/applications in Microsoft.Batch can be configured in Azure Resource Manager with the resource name Microsoft.Batch/batchAccounts/applications
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
apiVersion
required - stringname
required - stringThe name of the application. This must be unique within the account.
properties
requiredallowUpdates
optional - booleanA value indicating whether packages within the application may be overwritten using the same version string.
defaultVersion
optional - stringThe 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
optional - stringThe display name for the application.
type
required - string
Frequently asked questions
What is Azure Batch Application?
Azure Batch Application is a resource for Batch of Microsoft Azure. Settings can be wrote in Terraform.
Where can I find the example code for the Azure Batch Application?
For Terraform, the kevinhead/azurerm and niveklabs/azurerm source code examples are useful. See the Terraform Example section for further details.