Microsoft.Batch batchAccounts/applications 2023-05-01

Bicep resource definition

The batchAccounts/applications resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Batch/batchAccounts/applications resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Batch/batchAccounts/applications@2023-05-01' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    allowUpdates: bool
    defaultVersion: 'string'
    displayName: 'string'
  }
}

Property values

ApplicationProperties

Name Description Value
allowUpdates A value indicating whether packages within the application may be overwritten using the same version string. bool
defaultVersion 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. string
displayName The display name for the application. string

Microsoft.Batch/batchAccounts/applications

Name Description Value
name The resource name string

Constraints:
Min length = 1
Max length = 1
Pattern = ^[a-zA-Z0-9_-]+$ (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: batchAccounts
properties The properties associated with the Application. ApplicationProperties

ARM template resource definition

The batchAccounts/applications resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Batch/batchAccounts/applications resource, add the following JSON to your template.

{
  "type": "Microsoft.Batch/batchAccounts/applications",
  "apiVersion": "2023-05-01",
  "name": "string",
  "properties": {
    "allowUpdates": "bool",
    "defaultVersion": "string",
    "displayName": "string"
  }
}

Property values

ApplicationProperties

Name Description Value
allowUpdates A value indicating whether packages within the application may be overwritten using the same version string. bool
defaultVersion 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. string
displayName The display name for the application. string

Microsoft.Batch/batchAccounts/applications

Name Description Value
apiVersion The api version '2023-05-01'
name The resource name string

Constraints:
Min length = 1
Max length = 1
Pattern = ^[a-zA-Z0-9_-]+$ (required)
properties The properties associated with the Application. ApplicationProperties
type The resource type 'Microsoft.Batch/batchAccounts/applications'

Terraform (AzAPI provider) resource definition

The batchAccounts/applications resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Batch/batchAccounts/applications resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Batch/batchAccounts/applications@2023-05-01"
  name = "string"
  body = jsonencode({
    properties = {
      allowUpdates = bool
      defaultVersion = "string"
      displayName = "string"
    }
  })
}

Property values

ApplicationProperties

Name Description Value
allowUpdates A value indicating whether packages within the application may be overwritten using the same version string. bool
defaultVersion 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. string
displayName The display name for the application. string

Microsoft.Batch/batchAccounts/applications

Name Description Value
name The resource name string

Constraints:
Min length = 1
Max length = 1
Pattern = ^[a-zA-Z0-9_-]+$ (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: batchAccounts
properties The properties associated with the Application. ApplicationProperties
type The resource type "Microsoft.Batch/batchAccounts/applications@2023-05-01"