Microsoft.Advisor assessments

Bicep resource definition

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

resource symbolicname 'Microsoft.Advisor/assessments@2026-03-01-preview' = {
  name: 'string'
  properties: {
    locale: 'string'
    typeId: 'string'
    workloadId: 'string'
  }
}

Property Values

Microsoft.Advisor/assessments

Name Description Value
name The resource name string

Constraints:
Pattern = ^[-0-9a-zA-Z_]{1,63}$ (required)
properties The Advisor assessment result properties structure. AssessmentResultProperties

AssessmentResultProperties

Name Description Value
locale Assessment Type Locale. string
typeId Assessment Type Id. string
workloadId Workload Id. string

ARM template resource definition

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

{
  "type": "Microsoft.Advisor/assessments",
  "apiVersion": "2026-03-01-preview",
  "name": "string",
  "properties": {
    "locale": "string",
    "typeId": "string",
    "workloadId": "string"
  }
}

Property Values

Microsoft.Advisor/assessments

Name Description Value
apiVersion The api version '2026-03-01-preview'
name The resource name string

Constraints:
Pattern = ^[-0-9a-zA-Z_]{1,63}$ (required)
properties The Advisor assessment result properties structure. AssessmentResultProperties
type The resource type 'Microsoft.Advisor/assessments'

AssessmentResultProperties

Name Description Value
locale Assessment Type Locale. string
typeId Assessment Type Id. string
workloadId Workload Id. string

Usage Examples

Terraform (AzAPI provider) resource definition

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

  • Subscription

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

Resource format

To create a Microsoft.Advisor/assessments resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Advisor/assessments@2026-03-01-preview"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      locale = "string"
      typeId = "string"
      workloadId = "string"
    }
  }
}

Property Values

Microsoft.Advisor/assessments

Name Description Value
name The resource name string

Constraints:
Pattern = ^[-0-9a-zA-Z_]{1,63}$ (required)
properties The Advisor assessment result properties structure. AssessmentResultProperties
type The resource type "Microsoft.Advisor/assessments@2026-03-01-preview"

AssessmentResultProperties

Name Description Value
locale Assessment Type Locale. string
typeId Assessment Type Id. string
workloadId Workload Id. string