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 devcenters/projectPolicies 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.
Resource format
To create a Microsoft.DevCenter/devcenters/projectPolicies resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.DevCenter/devcenters/projectPolicies@2026-01-01-preview' = {
parent: resourceSymbolicName
name: 'string'
properties: {
configurationPolicies: {
azureAiServicesFeatureStatus: {
defaultStatus: 'string'
defaultValues: [
{
name: 'string'
value: 'string'
}
]
statusModifiable: 'string'
valuesModifiable: 'string'
}
devBoxLimitsFeatureStatus: {
defaultStatus: 'string'
defaultValues: [
{
name: 'string'
value: 'string'
}
]
statusModifiable: 'string'
valuesModifiable: 'string'
}
devBoxScheduleDeleteFeatureStatus: {
defaultStatus: 'string'
defaultValues: [
{
name: 'string'
value: 'string'
}
]
statusModifiable: 'string'
valuesModifiable: 'string'
}
devBoxTunnelFeatureStatus: {
defaultStatus: 'string'
defaultValues: [
{
name: 'string'
value: 'string'
}
]
statusModifiable: 'string'
valuesModifiable: 'string'
}
displayNameFeatureStatus: {
defaultStatus: 'string'
defaultValues: [
{
name: 'string'
value: 'string'
}
]
statusModifiable: 'string'
valuesModifiable: 'string'
}
projectCatalogFeatureStatus: {
defaultStatus: 'string'
defaultValues: [
{
name: 'string'
value: 'string'
}
]
statusModifiable: 'string'
valuesModifiable: 'string'
}
serverlessGpuSessionsFeatureStatus: {
defaultStatus: 'string'
defaultValues: [
{
name: 'string'
value: 'string'
}
]
statusModifiable: 'string'
valuesModifiable: 'string'
}
userCustomizationsFeatureStatus: {
defaultStatus: 'string'
defaultValues: [
{
name: 'string'
value: 'string'
}
]
statusModifiable: 'string'
valuesModifiable: 'string'
}
workspaceStorageFeatureStatus: {
defaultStatus: 'string'
defaultValues: [
{
name: 'string'
value: 'string'
}
]
statusModifiable: 'string'
valuesModifiable: 'string'
}
}
resourcePolicies: [
{
action: 'string'
filter: 'string'
resources: 'string'
resourceType: 'string'
}
]
scopes: [
'string'
]
}
}
Property Values
Microsoft.DevCenter/devcenters/projectPolicies
| 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 project policy. | ProjectPolicyProperties |
ConfigurationPolicies
| Name | Description | Value |
|---|---|---|
| azureAiServicesFeatureStatus | The property indicates the Azure AI services settings on a project. | FeatureState |
| devBoxLimitsFeatureStatus | Indicates whether DevBox limits are configurable at Project scope. | FeatureState |
| devBoxScheduleDeleteFeatureStatus | Indicates whether the setting is configurable at Project scope. | FeatureState |
| devBoxTunnelFeatureStatus | Indicates whether DevBox tunnel settings are configurable at Pool scope. | FeatureState |
| displayNameFeatureStatus | Indicates whether project display name is configurable at Project scope. | FeatureState |
| projectCatalogFeatureStatus | Indicates whether project catalogs are configurable at Project scope. | FeatureState |
| serverlessGpuSessionsFeatureStatus | Indicates whether serverless GPU sessions are configurable at Project scope. | FeatureState |
| userCustomizationsFeatureStatus | Indicates whether user customizations is configurable at Project scope. | FeatureState |
| workspaceStorageFeatureStatus | Indicates whether workspace storage is configurable at Project scope. | FeatureState |
DefaultValue
| Name | Description | Value |
|---|---|---|
| name | The name of the feature property. | string |
| value | The default value to be applied for the given property. | string |
FeatureState
| Name | Description | Value |
|---|---|---|
| defaultStatus | Indicates the default status of the feature. | 'AutoDeploy' 'Disabled' 'Enabled' |
| defaultValues | The default values of the feature. | DefaultValue[] |
| statusModifiable | Indicates whether the feature's status, Enabled or Disabled, is configurable at the Project scope. | 'Modifiable' 'NotModifiable' |
| valuesModifiable | Indicates whether the feature values are configurable at the Project scope. | 'Modifiable' 'NotModifiable' |
ProjectPolicyProperties
| Name | Description | Value |
|---|---|---|
| configurationPolicies | Configuration Policies part of this project policy. | ConfigurationPolicies |
| resourcePolicies | Resource policies that are a part of this project policy. | ResourcePolicy[] |
| scopes | Resources that have access to the shared resources that are a part of this project policy. | string[] |
ResourcePolicy
| Name | Description | Value |
|---|---|---|
| action | Policy action to be taken on the resources. This is optional, and defaults to allow | 'Allow' 'Deny' |
| 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 |
| resourceType | Optional. The resource type being restricted or allowed by a project policy. Used with a given action to restrict or allow access to a resource type. | 'AttachedNetworks' 'Images' 'Skus' |
ARM template resource definition
The devcenters/projectPolicies 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.
Resource format
To create a Microsoft.DevCenter/devcenters/projectPolicies resource, add the following JSON to your template.
{
"type": "Microsoft.DevCenter/devcenters/projectPolicies",
"apiVersion": "2026-01-01-preview",
"name": "string",
"properties": {
"configurationPolicies": {
"azureAiServicesFeatureStatus": {
"defaultStatus": "string",
"defaultValues": [
{
"name": "string",
"value": "string"
}
],
"statusModifiable": "string",
"valuesModifiable": "string"
},
"devBoxLimitsFeatureStatus": {
"defaultStatus": "string",
"defaultValues": [
{
"name": "string",
"value": "string"
}
],
"statusModifiable": "string",
"valuesModifiable": "string"
},
"devBoxScheduleDeleteFeatureStatus": {
"defaultStatus": "string",
"defaultValues": [
{
"name": "string",
"value": "string"
}
],
"statusModifiable": "string",
"valuesModifiable": "string"
},
"devBoxTunnelFeatureStatus": {
"defaultStatus": "string",
"defaultValues": [
{
"name": "string",
"value": "string"
}
],
"statusModifiable": "string",
"valuesModifiable": "string"
},
"displayNameFeatureStatus": {
"defaultStatus": "string",
"defaultValues": [
{
"name": "string",
"value": "string"
}
],
"statusModifiable": "string",
"valuesModifiable": "string"
},
"projectCatalogFeatureStatus": {
"defaultStatus": "string",
"defaultValues": [
{
"name": "string",
"value": "string"
}
],
"statusModifiable": "string",
"valuesModifiable": "string"
},
"serverlessGpuSessionsFeatureStatus": {
"defaultStatus": "string",
"defaultValues": [
{
"name": "string",
"value": "string"
}
],
"statusModifiable": "string",
"valuesModifiable": "string"
},
"userCustomizationsFeatureStatus": {
"defaultStatus": "string",
"defaultValues": [
{
"name": "string",
"value": "string"
}
],
"statusModifiable": "string",
"valuesModifiable": "string"
},
"workspaceStorageFeatureStatus": {
"defaultStatus": "string",
"defaultValues": [
{
"name": "string",
"value": "string"
}
],
"statusModifiable": "string",
"valuesModifiable": "string"
}
},
"resourcePolicies": [
{
"action": "string",
"filter": "string",
"resources": "string",
"resourceType": "string"
}
],
"scopes": [ "string" ]
}
}
Property Values
Microsoft.DevCenter/devcenters/projectPolicies
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2026-01-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 project policy. | ProjectPolicyProperties |
| type | The resource type | 'Microsoft.DevCenter/devcenters/projectPolicies' |
ConfigurationPolicies
| Name | Description | Value |
|---|---|---|
| azureAiServicesFeatureStatus | The property indicates the Azure AI services settings on a project. | FeatureState |
| devBoxLimitsFeatureStatus | Indicates whether DevBox limits are configurable at Project scope. | FeatureState |
| devBoxScheduleDeleteFeatureStatus | Indicates whether the setting is configurable at Project scope. | FeatureState |
| devBoxTunnelFeatureStatus | Indicates whether DevBox tunnel settings are configurable at Pool scope. | FeatureState |
| displayNameFeatureStatus | Indicates whether project display name is configurable at Project scope. | FeatureState |
| projectCatalogFeatureStatus | Indicates whether project catalogs are configurable at Project scope. | FeatureState |
| serverlessGpuSessionsFeatureStatus | Indicates whether serverless GPU sessions are configurable at Project scope. | FeatureState |
| userCustomizationsFeatureStatus | Indicates whether user customizations is configurable at Project scope. | FeatureState |
| workspaceStorageFeatureStatus | Indicates whether workspace storage is configurable at Project scope. | FeatureState |
DefaultValue
| Name | Description | Value |
|---|---|---|
| name | The name of the feature property. | string |
| value | The default value to be applied for the given property. | string |
FeatureState
| Name | Description | Value |
|---|---|---|
| defaultStatus | Indicates the default status of the feature. | 'AutoDeploy' 'Disabled' 'Enabled' |
| defaultValues | The default values of the feature. | DefaultValue[] |
| statusModifiable | Indicates whether the feature's status, Enabled or Disabled, is configurable at the Project scope. | 'Modifiable' 'NotModifiable' |
| valuesModifiable | Indicates whether the feature values are configurable at the Project scope. | 'Modifiable' 'NotModifiable' |
ProjectPolicyProperties
| Name | Description | Value |
|---|---|---|
| configurationPolicies | Configuration Policies part of this project policy. | ConfigurationPolicies |
| resourcePolicies | Resource policies that are a part of this project policy. | ResourcePolicy[] |
| scopes | Resources that have access to the shared resources that are a part of this project policy. | string[] |
ResourcePolicy
| Name | Description | Value |
|---|---|---|
| action | Policy action to be taken on the resources. This is optional, and defaults to allow | 'Allow' 'Deny' |
| 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 |
| resourceType | Optional. The resource type being restricted or allowed by a project policy. Used with a given action to restrict or allow access to a resource type. | 'AttachedNetworks' 'Images' 'Skus' |
Usage Examples
Terraform (AzAPI provider) resource definition
The devcenters/projectPolicies 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/projectPolicies resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.DevCenter/devcenters/projectPolicies@2026-01-01-preview"
name = "string"
parent_id = "string"
body = {
properties = {
configurationPolicies = {
azureAiServicesFeatureStatus = {
defaultStatus = "string"
defaultValues = [
{
name = "string"
value = "string"
}
]
statusModifiable = "string"
valuesModifiable = "string"
}
devBoxLimitsFeatureStatus = {
defaultStatus = "string"
defaultValues = [
{
name = "string"
value = "string"
}
]
statusModifiable = "string"
valuesModifiable = "string"
}
devBoxScheduleDeleteFeatureStatus = {
defaultStatus = "string"
defaultValues = [
{
name = "string"
value = "string"
}
]
statusModifiable = "string"
valuesModifiable = "string"
}
devBoxTunnelFeatureStatus = {
defaultStatus = "string"
defaultValues = [
{
name = "string"
value = "string"
}
]
statusModifiable = "string"
valuesModifiable = "string"
}
displayNameFeatureStatus = {
defaultStatus = "string"
defaultValues = [
{
name = "string"
value = "string"
}
]
statusModifiable = "string"
valuesModifiable = "string"
}
projectCatalogFeatureStatus = {
defaultStatus = "string"
defaultValues = [
{
name = "string"
value = "string"
}
]
statusModifiable = "string"
valuesModifiable = "string"
}
serverlessGpuSessionsFeatureStatus = {
defaultStatus = "string"
defaultValues = [
{
name = "string"
value = "string"
}
]
statusModifiable = "string"
valuesModifiable = "string"
}
userCustomizationsFeatureStatus = {
defaultStatus = "string"
defaultValues = [
{
name = "string"
value = "string"
}
]
statusModifiable = "string"
valuesModifiable = "string"
}
workspaceStorageFeatureStatus = {
defaultStatus = "string"
defaultValues = [
{
name = "string"
value = "string"
}
]
statusModifiable = "string"
valuesModifiable = "string"
}
}
resourcePolicies = [
{
action = "string"
filter = "string"
resources = "string"
resourceType = "string"
}
]
scopes = [
"string"
]
}
}
}
Property Values
Microsoft.DevCenter/devcenters/projectPolicies
| 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 project policy. | ProjectPolicyProperties |
| type | The resource type | "Microsoft.DevCenter/devcenters/projectPolicies@2026-01-01-preview" |
ConfigurationPolicies
| Name | Description | Value |
|---|---|---|
| azureAiServicesFeatureStatus | The property indicates the Azure AI services settings on a project. | FeatureState |
| devBoxLimitsFeatureStatus | Indicates whether DevBox limits are configurable at Project scope. | FeatureState |
| devBoxScheduleDeleteFeatureStatus | Indicates whether the setting is configurable at Project scope. | FeatureState |
| devBoxTunnelFeatureStatus | Indicates whether DevBox tunnel settings are configurable at Pool scope. | FeatureState |
| displayNameFeatureStatus | Indicates whether project display name is configurable at Project scope. | FeatureState |
| projectCatalogFeatureStatus | Indicates whether project catalogs are configurable at Project scope. | FeatureState |
| serverlessGpuSessionsFeatureStatus | Indicates whether serverless GPU sessions are configurable at Project scope. | FeatureState |
| userCustomizationsFeatureStatus | Indicates whether user customizations is configurable at Project scope. | FeatureState |
| workspaceStorageFeatureStatus | Indicates whether workspace storage is configurable at Project scope. | FeatureState |
DefaultValue
| Name | Description | Value |
|---|---|---|
| name | The name of the feature property. | string |
| value | The default value to be applied for the given property. | string |
FeatureState
| Name | Description | Value |
|---|---|---|
| defaultStatus | Indicates the default status of the feature. | 'AutoDeploy' 'Disabled' 'Enabled' |
| defaultValues | The default values of the feature. | DefaultValue[] |
| statusModifiable | Indicates whether the feature's status, Enabled or Disabled, is configurable at the Project scope. | 'Modifiable' 'NotModifiable' |
| valuesModifiable | Indicates whether the feature values are configurable at the Project scope. | 'Modifiable' 'NotModifiable' |
ProjectPolicyProperties
| Name | Description | Value |
|---|---|---|
| configurationPolicies | Configuration Policies part of this project policy. | ConfigurationPolicies |
| resourcePolicies | Resource policies that are a part of this project policy. | ResourcePolicy[] |
| scopes | Resources that have access to the shared resources that are a part of this project policy. | string[] |
ResourcePolicy
| Name | Description | Value |
|---|---|---|
| action | Policy action to be taken on the resources. This is optional, and defaults to allow | 'Allow' 'Deny' |
| 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 |
| resourceType | Optional. The resource type being restricted or allowed by a project policy. Used with a given action to restrict or allow access to a resource type. | 'AttachedNetworks' 'Images' 'Skus' |