Microsoft.Authorization variables 2022-08-01-preview

Bicep resource definition

The variables 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.Authorization/variables resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Authorization/variables@2022-08-01-preview' = {
  name: 'string'
  properties: {
    columns: [
      {
        columnName: 'string'
      }
    ]
  }
}

Property values

Microsoft.Authorization/variables

Name Description Value
name The resource name string (required)
properties Properties for the variable. PolicyVariableProperties (required)

PolicyVariableColumn

Name Description Value
columnName The name of this policy variable column. string (required)

PolicyVariableProperties

Name Description Value
columns Variable column definitions. PolicyVariableColumn[] (required)

ARM template resource definition

The variables 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.Authorization/variables resource, add the following JSON to your template.

{
  "type": "Microsoft.Authorization/variables",
  "apiVersion": "2022-08-01-preview",
  "name": "string",
  "properties": {
    "columns": [
      {
        "columnName": "string"
      }
    ]
  }
}

Property values

Microsoft.Authorization/variables

Name Description Value
apiVersion The api version '2022-08-01-preview'
name The resource name string (required)
properties Properties for the variable. PolicyVariableProperties (required)
type The resource type 'Microsoft.Authorization/variables'

PolicyVariableColumn

Name Description Value
columnName The name of this policy variable column. string (required)

PolicyVariableProperties

Name Description Value
columns Variable column definitions. PolicyVariableColumn[] (required)

Terraform (AzAPI provider) resource definition

The variables resource type can be deployed with operations that target:

  • Management groups* Subscription

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

Resource format

To create a Microsoft.Authorization/variables resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Authorization/variables@2022-08-01-preview"
  name = "string"
  body = jsonencode({
    properties = {
      columns = [
        {
          columnName = "string"
        }
      ]
    }
  })
}

Property values

Microsoft.Authorization/variables

Name Description Value
name The resource name string (required)
properties Properties for the variable. PolicyVariableProperties (required)
type The resource type "Microsoft.Authorization/variables@2022-08-01-preview"

PolicyVariableColumn

Name Description Value
columnName The name of this policy variable column. string (required)

PolicyVariableProperties

Name Description Value
columns Variable column definitions. PolicyVariableColumn[] (required)