Share via


Microsoft.DevCenter devcenters/curationProfiles

Bicep resource definition

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

resource symbolicname 'Microsoft.DevCenter/devcenters/curationProfiles@2024-10-01-preview' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    resourcePolicies: [
      {
        filter: 'string'
        resources: 'string'
      }
    ]
    scopes: [
      'string'
    ]
  }
}

Property Values

Microsoft.DevCenter/devcenters/curationProfiles

Name Description Value
name The resource name string

Constraints:
Min length = 3
Max length = 63
Pattern = ^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$ (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: devcenters
properties Properties of an curation profile. CurationProfileProperties

CurationProfileProperties

Name Description Value
resourcePolicies Resource policies that are a part of this curation profile. ResourcePolicy[]
scopes Resources that have access to the shared resources that are a part of this curation profile. string[]

ResourcePolicy

Name Description Value
filter Optional. When specified, this expression is used to filter the resources. string
resources Resources that are included and shared as a part of a project policy. string

ARM template resource definition

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

{
  "type": "Microsoft.DevCenter/devcenters/curationProfiles",
  "apiVersion": "2024-10-01-preview",
  "name": "string",
  "properties": {
    "resourcePolicies": [
      {
        "filter": "string",
        "resources": "string"
      }
    ],
    "scopes": [ "string" ]
  }
}

Property Values

Microsoft.DevCenter/devcenters/curationProfiles

Name Description Value
apiVersion The api version '2024-10-01-preview'
name The resource name string

Constraints:
Min length = 3
Max length = 63
Pattern = ^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$ (required)
properties Properties of an curation profile. CurationProfileProperties
type The resource type 'Microsoft.DevCenter/devcenters/curationProfiles'

CurationProfileProperties

Name Description Value
resourcePolicies Resource policies that are a part of this curation profile. ResourcePolicy[]
scopes Resources that have access to the shared resources that are a part of this curation profile. string[]

ResourcePolicy

Name Description Value
filter Optional. When specified, this expression is used to filter the resources. string
resources Resources that are included and shared as a part of a project policy. string

Usage Examples

Terraform (AzAPI provider) resource definition

The devcenters/curationProfiles 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.DevCenter/devcenters/curationProfiles resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DevCenter/devcenters/curationProfiles@2024-10-01-preview"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      resourcePolicies = [
        {
          filter = "string"
          resources = "string"
        }
      ]
      scopes = [
        "string"
      ]
    }
  }
}

Property Values

Microsoft.DevCenter/devcenters/curationProfiles

Name Description Value
name The resource name string

Constraints:
Min length = 3
Max length = 63
Pattern = ^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$ (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: devcenters
properties Properties of an curation profile. CurationProfileProperties
type The resource type "Microsoft.DevCenter/devcenters/curationProfiles@2024-10-01-preview"

CurationProfileProperties

Name Description Value
resourcePolicies Resource policies that are a part of this curation profile. ResourcePolicy[]
scopes Resources that have access to the shared resources that are a part of this curation profile. string[]

ResourcePolicy

Name Description Value
filter Optional. When specified, this expression is used to filter the resources. string
resources Resources that are included and shared as a part of a project policy. string