Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The configurationProfiles resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Usage Examples
Bicep Samples
A basic example of deploying Automanage Configuration.
param resourceName string = 'acctest0001'
param location string = 'westeurope'
resource configurationProfile 'Microsoft.Automanage/configurationProfiles@2022-05-04' = {
name: resourceName
location: location
properties: {
configuration: {}
}
}
Resource format
To create a Microsoft.Automanage/configurationProfiles resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Automanage/configurationProfiles@2022-05-04' = {
location: 'string'
name: 'string'
properties: {
configuration: any(...)
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.Automanage/configurationProfiles
| Name | Description | Value |
|---|---|---|
| location | The geo-location where the resource lives | string (required) |
| name | The resource name | string (required) |
| properties | Properties of the configuration profile. | ConfigurationProfileProperties |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
ConfigurationProfileProperties
| Name | Description | Value |
|---|---|---|
| configuration | configuration dictionary of the configuration profile. | any |
TrackedResourceTags
| Name | Description | Value |
|---|
ARM template resource definition
The configurationProfiles resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands For a list of changed properties in each API version, see change log.
Usage Examples
Resource format
To create a Microsoft.Automanage/configurationProfiles resource, add the following JSON to your template.
{
"type": "Microsoft.Automanage/configurationProfiles",
"apiVersion": "2022-05-04",
"name": "string",
"location": "string",
"properties": {
"configuration": {}
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.Automanage/configurationProfiles
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2022-05-04' |
| location | The geo-location where the resource lives | string (required) |
| name | The resource name | string (required) |
| properties | Properties of the configuration profile. | ConfigurationProfileProperties |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
| type | The resource type | 'Microsoft.Automanage/configurationProfiles' |
ConfigurationProfileProperties
| Name | Description | Value |
|---|---|---|
| configuration | configuration dictionary of the configuration profile. | any |
TrackedResourceTags
| Name | Description | Value |
|---|
Terraform (AzAPI provider) resource definition
The configurationProfiles resource type can be deployed with operations that target:
- Resource groups For a list of changed properties in each API version, see change log.
Usage Examples
Terraform Samples
A basic example of deploying Automanage Configuration.
terraform {
required_providers {
azapi = {
source = "Azure/azapi"
}
}
}
provider "azapi" {
skip_provider_registration = false
}
variable "resource_name" {
type = string
default = "acctest0001"
}
variable "location" {
type = string
default = "westeurope"
}
resource "azapi_resource" "resourceGroup" {
type = "Microsoft.Resources/resourceGroups@2020-06-01"
name = var.resource_name
location = var.location
}
resource "azapi_resource" "configurationProfile" {
type = "Microsoft.Automanage/configurationProfiles@2022-05-04"
parent_id = azapi_resource.resourceGroup.id
name = var.resource_name
location = var.location
body = {
properties = {
configuration = {
}
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
Resource format
To create a Microsoft.Automanage/configurationProfiles resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Automanage/configurationProfiles@2022-05-04"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
configuration = ?
}
}
}
Property Values
Microsoft.Automanage/configurationProfiles
| Name | Description | Value |
|---|---|---|
| location | The geo-location where the resource lives | string (required) |
| name | The resource name | string (required) |
| properties | Properties of the configuration profile. | ConfigurationProfileProperties |
| tags | Resource tags | Dictionary of tag names and values. |
| type | The resource type | "Microsoft.Automanage/configurationProfiles@2022-05-04" |
ConfigurationProfileProperties
| Name | Description | Value |
|---|---|---|
| configuration | configuration dictionary of the configuration profile. | any |
TrackedResourceTags
| Name | Description | Value |
|---|