Microsoft.CognitiveServices (preview:2025-04-01)

2025/11/07 • 2 new, 2 updated methods

AccountCapabilityHosts_List (new)
Description List capabilityHost.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/capabilityHosts
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
aiServicesConnections:
[
string ,
]
,
capabilityHostKind: enum ,
customerSubnet: string ,
provisioningState: enum ,
storageConnections:
[
string ,
]
,
threadStorageConnections:
[
string ,
]
,
vectorStoreConnections:
[
string ,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ProjectCapabilityHosts_List (new)
Description Lists all project capabilityHosts.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/capabilityHosts
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
projectName: string ,
api-version: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
aiServicesConnections:
[
string ,
]
,
vectorStoreConnections:
[
string ,
]
,
storageConnections:
[
string ,
]
,
threadStorageConnections:
[
string ,
]
,
provisioningState: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ProjectCapabilityHosts_Get (updated)
Description Get project capabilityHost.
Reference Link ¶

⚶ Changes

{
  "#id": "ProjectCapabilityHosts_Get",
  "$responses": {
    "200": {
      "Description": {
        "new": "Azure Resource Manager resource envelope for Project CapabilityHost.",
        "old": "Azure Resource Manager resource envelope."
      },
      "$properties": {
        "properties": [
          {
            "#name": "vectorStoreConnections",
            "Description": {
              "new": "List of connection names from those available in the account or project to be used for vector database (e.g. CosmosDB).",
              "old": "List of VectorStore connections."
            }
          },
          {
            "#name": "storageConnections",
            "Description": {
              "new": "List of connection names from those available in the account or project to be used as a storage resource.",
              "old": "List of Storage connections."
            }
          },
          {
            "#name": "threadStorageConnections",
            "Description": {
              "new": "List of connection names from those available in the account or project to be used for Thread storage.",
              "old": "List of Thread storage connections."
            }
          },
          {
            "@removed_7014984461124c609116165cbeba9938": {
              "#name": "capabilityHostKind",
              "Description": "Kind of this capability host.",
              "Enum": [
                [
                  "Agents",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_98ebc3c6c1194b29ab1d9cdb82bfcecb": {
              "#name": "customerSubnet",
              "Description": "Customer subnet info to help set up this capability host.",
              "Required": false,
              "Type": "string"
            }
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/capabilityHosts/{capabilityHostName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
projectName: string ,
capabilityHostName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
aiServicesConnections:
[
string ,
]
,
vectorStoreConnections:
[
string ,
]
,
storageConnections:
[
string ,
]
,
threadStorageConnections:
[
string ,
]
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ProjectCapabilityHosts_CreateOrUpdate (updated)
Description Create or update project capabilityHost.
Reference Link ¶

⚶ Changes

{
  "#id": "ProjectCapabilityHosts_CreateOrUpdate",
  "$parameters": {
    "body": {
      "Description": {
        "new": "Azure Resource Manager resource envelope for Project CapabilityHost.",
        "old": "Azure Resource Manager resource envelope."
      },
      "$properties": {
        "properties": [
          {
            "#name": "vectorStoreConnections",
            "Description": {
              "new": "List of connection names from those available in the account or project to be used for vector database (e.g. CosmosDB).",
              "old": "List of VectorStore connections."
            }
          },
          {
            "#name": "storageConnections",
            "Description": {
              "new": "List of connection names from those available in the account or project to be used as a storage resource.",
              "old": "List of Storage connections."
            }
          },
          {
            "#name": "threadStorageConnections",
            "Description": {
              "new": "List of connection names from those available in the account or project to be used for Thread storage.",
              "old": "List of Thread storage connections."
            }
          },
          {
            "@removed_cbef9bbdeae7446fb44a2a1185df8e98": {
              "#name": "capabilityHostKind",
              "Description": "Kind of this capability host.",
              "Enum": [
                [
                  "Agents",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_3c21cb628c164463b3f7e9448c34f840": {
              "#name": "customerSubnet",
              "Description": "Customer subnet info to help set up this capability host.",
              "Required": false,
              "Type": "string"
            }
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "Description": {
        "new": "Azure Resource Manager resource envelope for Project CapabilityHost.",
        "old": "Azure Resource Manager resource envelope."
      },
      "$properties": {
        "properties": [
          {
            "#name": "vectorStoreConnections",
            "Description": {
              "new": "List of connection names from those available in the account or project to be used for vector database (e.g. CosmosDB).",
              "old": "List of VectorStore connections."
            }
          },
          {
            "#name": "storageConnections",
            "Description": {
              "new": "List of connection names from those available in the account or project to be used as a storage resource.",
              "old": "List of Storage connections."
            }
          },
          {
            "#name": "threadStorageConnections",
            "Description": {
              "new": "List of connection names from those available in the account or project to be used for Thread storage.",
              "old": "List of Thread storage connections."
            }
          },
          {
            "@removed_d8e6f6c09a8a4dc48a6305ad7b81e941": {
              "#name": "capabilityHostKind",
              "Description": "Kind of this capability host.",
              "Enum": [
                [
                  "Agents",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_b273abff5e3741f19c826578c331f46b": {
              "#name": "customerSubnet",
              "Description": "Customer subnet info to help set up this capability host.",
              "Required": false,
              "Type": "string"
            }
          }
        ]
      }
    },
    "201": {
      "Description": {
        "new": "Azure Resource Manager resource envelope for Project CapabilityHost.",
        "old": "Azure Resource Manager resource envelope."
      },
      "$properties": {
        "properties": [
          {
            "#name": "vectorStoreConnections",
            "Description": {
              "new": "List of connection names from those available in the account or project to be used for vector database (e.g. CosmosDB).",
              "old": "List of VectorStore connections."
            }
          },
          {
            "#name": "storageConnections",
            "Description": {
              "new": "List of connection names from those available in the account or project to be used as a storage resource.",
              "old": "List of Storage connections."
            }
          },
          {
            "#name": "threadStorageConnections",
            "Description": {
              "new": "List of connection names from those available in the account or project to be used for Thread storage.",
              "old": "List of Thread storage connections."
            }
          },
          {
            "@removed_0c5c0a01e6af4aefbca0255d34ea2f99": {
              "#name": "capabilityHostKind",
              "Description": "Kind of this capability host.",
              "Enum": [
                [
                  "Agents",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_f30b50c7558f42719e6517ef5a63f22e": {
              "#name": "customerSubnet",
              "Description": "Customer subnet info to help set up this capability host.",
              "Required": false,
              "Type": "string"
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/capabilityHosts/{capabilityHostName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
projectName: string ,
capabilityHostName: string ,
api-version: string ,
body:
{
properties:
{
aiServicesConnections:
[
string ,
]
,
vectorStoreConnections:
[
string ,
]
,
storageConnections:
[
string ,
]
,
threadStorageConnections:
[
string ,
]
,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
aiServicesConnections:
[
string ,
]
,
vectorStoreConnections:
[
string ,
]
,
storageConnections:
[
string ,
]
,
threadStorageConnections:
[
string ,
]
,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
x-ms-async-operation-timeout: string ,
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
aiServicesConnections:
[
string ,
]
,
vectorStoreConnections:
[
string ,
]
,
storageConnections:
[
string ,
]
,
threadStorageConnections:
[
string ,
]
,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}