Microsoft.Compute workloadSpaces/capabilities

Bicep resource definition

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

resource symbolicname 'Microsoft.Compute/workloadSpaces/capabilities@2026-11-01-preview' = {
  parent: resourceSymbolicName
  kind: 'string'
  location: 'string'
  name: 'string'
  properties: {
    versionPolicy: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.Compute/workloadSpaces/capabilities

Name Description Value
kind Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. 'AgentSandbox'
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Pattern = ^(?![.-])[A-Za-z0-9_.-]{1,64}$ (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: workloadSpaces
properties The resource-specific properties for this resource. CapabilityProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

CapabilityProperties

Name Description Value
versionPolicy The version selection policy for the capability. 'ServiceManaged' (required)

TrackedResourceTags

Name Description Value

ARM template resource definition

The workloadSpaces/capabilities resource type can be deployed with operations that target:

Usage Examples

Resource format

To create a Microsoft.Compute/workloadSpaces/capabilities resource, add the following JSON to your template.

{
  "type": "Microsoft.Compute/workloadSpaces/capabilities",
  "apiVersion": "2026-11-01-preview",
  "name": "string",
  "kind": "string",
  "location": "string",
  "properties": {
    "versionPolicy": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.Compute/workloadSpaces/capabilities

Name Description Value
apiVersion The api version '2026-11-01-preview'
kind Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. 'AgentSandbox'
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Pattern = ^(?![.-])[A-Za-z0-9_.-]{1,64}$ (required)
properties The resource-specific properties for this resource. CapabilityProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.Compute/workloadSpaces/capabilities'

CapabilityProperties

Name Description Value
versionPolicy The version selection policy for the capability. 'ServiceManaged' (required)

TrackedResourceTags

Name Description Value

Terraform (AzAPI provider) resource definition

The workloadSpaces/capabilities 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.Compute/workloadSpaces/capabilities resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Compute/workloadSpaces/capabilities@2026-11-01-preview"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    kind = "string"
    properties = {
      versionPolicy = "string"
    }
  }
}

Property Values

Microsoft.Compute/workloadSpaces/capabilities

Name Description Value
kind Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. 'AgentSandbox'
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Pattern = ^(?![.-])[A-Za-z0-9_.-]{1,64}$ (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: workloadSpaces
properties The resource-specific properties for this resource. CapabilityProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.Compute/workloadSpaces/capabilities@2026-11-01-preview"

CapabilityProperties

Name Description Value
versionPolicy The version selection policy for the capability. 'ServiceManaged' (required)

TrackedResourceTags

Name Description Value