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 workspaces/capabilityHosts 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.MachineLearningServices/workspaces/capabilityHosts resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.MachineLearningServices/workspaces/capabilityHosts@2025-04-01-preview' = {
parent: resourceSymbolicName
name: 'string'
properties: {
aiServicesConnections: [
'string'
]
capabilityHostKind: 'string'
customerSubnet: 'string'
description: 'string'
properties: {
{customized property}: 'string'
}
storageConnections: [
'string'
]
tags: {
{customized property}: 'string'
}
threadStorageConnections: [
'string'
]
vectorStoreConnections: [
'string'
]
}
}
Property Values
Microsoft.MachineLearningServices/workspaces/capabilityHosts
Name | Description | Value |
---|---|---|
name | The resource name | string Constraints: Pattern = ^[a-zA-Z0-9][a-zA-Z0-9\-_]{0,254}$ (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: workspaces |
properties | [Required] Additional attributes of the entity. | CapabilityHostProperties (required) |
CapabilityHostProperties
Name | Description | Value |
---|---|---|
aiServicesConnections | List of AI services connections. | string[] |
capabilityHostKind | Kind of this capability host. | 'Agents' |
customerSubnet | Customer subnet info to help set up this capability host. | string |
description | The asset description text. | string |
properties | The asset property dictionary. | ResourceBaseProperties |
storageConnections | List of Storage connections. | string[] |
tags | Tag dictionary. Tags can be added, removed, and updated. | ResourceBaseTags |
threadStorageConnections | List of Thread storage connections. | string[] |
vectorStoreConnections | List of VectorStore connections. | string[] |
ResourceBaseProperties
Name | Description | Value |
---|
ResourceBaseTags
Name | Description | Value |
---|
Usage Examples
Azure Quickstart Samples
The following Azure Quickstart templates contain Bicep samples for deploying this resource type.
Bicep File | Description |
---|---|
Network Secured Agent with User Managed Identity | This set of templates demonstrates how to set up Azure AI Agent Service with virtual network isolation using User Managed Identity authetication for the AI Service/AOAI connection and private network links to connect the agent to your secure data. |
Standard Agent Setup | This set of templates demonstrates how to set up Azure AI Agent Service with the standard setup, meaning with managed identity authentication for project/hub connections and public internet access enabled. Agents use customer-owned, single-tenant search and storage resources. With this setup, you have full control and visibility over these resources, but you will incur costs based on your usage. |
ARM template resource definition
The workspaces/capabilityHosts 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.MachineLearningServices/workspaces/capabilityHosts resource, add the following JSON to your template.
{
"type": "Microsoft.MachineLearningServices/workspaces/capabilityHosts",
"apiVersion": "2025-04-01-preview",
"name": "string",
"properties": {
"aiServicesConnections": [ "string" ],
"capabilityHostKind": "string",
"customerSubnet": "string",
"description": "string",
"properties": {
"{customized property}": "string"
},
"storageConnections": [ "string" ],
"tags": {
"{customized property}": "string"
},
"threadStorageConnections": [ "string" ],
"vectorStoreConnections": [ "string" ]
}
}
Property Values
Microsoft.MachineLearningServices/workspaces/capabilityHosts
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2025-04-01-preview' |
name | The resource name | string Constraints: Pattern = ^[a-zA-Z0-9][a-zA-Z0-9\-_]{0,254}$ (required) |
properties | [Required] Additional attributes of the entity. | CapabilityHostProperties (required) |
type | The resource type | 'Microsoft.MachineLearningServices/workspaces/capabilityHosts' |
CapabilityHostProperties
Name | Description | Value |
---|---|---|
aiServicesConnections | List of AI services connections. | string[] |
capabilityHostKind | Kind of this capability host. | 'Agents' |
customerSubnet | Customer subnet info to help set up this capability host. | string |
description | The asset description text. | string |
properties | The asset property dictionary. | ResourceBaseProperties |
storageConnections | List of Storage connections. | string[] |
tags | Tag dictionary. Tags can be added, removed, and updated. | ResourceBaseTags |
threadStorageConnections | List of Thread storage connections. | string[] |
vectorStoreConnections | List of VectorStore connections. | string[] |
ResourceBaseProperties
Name | Description | Value |
---|
ResourceBaseTags
Name | Description | Value |
---|
Usage Examples
Azure Quickstart Templates
The following Azure Quickstart templates deploy this resource type.
Template | Description |
---|---|
Network Secured Agent with User Managed Identity |
This set of templates demonstrates how to set up Azure AI Agent Service with virtual network isolation using User Managed Identity authetication for the AI Service/AOAI connection and private network links to connect the agent to your secure data. |
Standard Agent Setup |
This set of templates demonstrates how to set up Azure AI Agent Service with the standard setup, meaning with managed identity authentication for project/hub connections and public internet access enabled. Agents use customer-owned, single-tenant search and storage resources. With this setup, you have full control and visibility over these resources, but you will incur costs based on your usage. |
Terraform (AzAPI provider) resource definition
The workspaces/capabilityHosts 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.MachineLearningServices/workspaces/capabilityHosts resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.MachineLearningServices/workspaces/capabilityHosts@2025-04-01-preview"
name = "string"
parent_id = "string"
body = {
properties = {
aiServicesConnections = [
"string"
]
capabilityHostKind = "string"
customerSubnet = "string"
description = "string"
properties = {
{customized property} = "string"
}
storageConnections = [
"string"
]
tags = {
{customized property} = "string"
}
threadStorageConnections = [
"string"
]
vectorStoreConnections = [
"string"
]
}
}
}
Property Values
Microsoft.MachineLearningServices/workspaces/capabilityHosts
Name | Description | Value |
---|---|---|
name | The resource name | string Constraints: Pattern = ^[a-zA-Z0-9][a-zA-Z0-9\-_]{0,254}$ (required) |
parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: workspaces |
properties | [Required] Additional attributes of the entity. | CapabilityHostProperties (required) |
type | The resource type | "Microsoft.MachineLearningServices/workspaces/capabilityHosts@2025-04-01-preview" |
CapabilityHostProperties
Name | Description | Value |
---|---|---|
aiServicesConnections | List of AI services connections. | string[] |
capabilityHostKind | Kind of this capability host. | 'Agents' |
customerSubnet | Customer subnet info to help set up this capability host. | string |
description | The asset description text. | string |
properties | The asset property dictionary. | ResourceBaseProperties |
storageConnections | List of Storage connections. | string[] |
tags | Tag dictionary. Tags can be added, removed, and updated. | ResourceBaseTags |
threadStorageConnections | List of Thread storage connections. | string[] |
vectorStoreConnections | List of VectorStore connections. | string[] |
ResourceBaseProperties
Name | Description | Value |
---|
ResourceBaseTags
Name | Description | Value |
---|