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

main.tf#L7
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
main.tf#L7
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

Review your Terraform file for Azure best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

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 - string
  • name required - string

    The name of the application. This must be unique within the account.

  • properties required
      • allowUpdates optional - boolean

        A value indicating whether packages within the application may be overwritten using the same version string.

      • defaultVersion optional - 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 optional - string

        The 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.