Skip to main content

account_capability_hosts

Creates, updates, deletes, gets or lists an account_capability_hosts resource.

Overview

Nameaccount_capability_hosts
TypeResource
Idazure.cognitive_services.account_capability_hosts

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
aiServicesConnectionsarrayList of AI services connections.
capabilityHostKindstringKind of this capability host. "Agents" (Agents)
customerSubnetstringCustomer subnet info to help set up this capability host.
descriptionstringThe asset description text.
enablePublicHostingEnvironmentbooleanWhether public hosting environment is enabled for the capability host.
provisioningStatestringProvisioning state for the CapabilityHost. Known values are: "Succeeded", "Failed", "Canceled", "Creating", "Updating", and "Deleting". (Succeeded, Failed, Canceled, Creating, Updating, Deleting)
storageConnectionsarrayList of connection names from those available in the account or project to be used as a storage resource.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectTag dictionary. Tags can be added, removed, and updated.
threadStorageConnectionsarrayList of connection names from those available in the account or project to be used for Thread storage.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
vectorStoreConnectionsarrayList of connection names from those available in the account or project to be used for vector database (e.g. CosmosDB).

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, account_name, capability_host_name, subscription_idGet account capabilityHost. Get account capabilityHost.
listselectresource_group_name, account_name, subscription_idList capabilityHost. List capabilityHost.
create_or_updateinsertresource_group_name, account_name, capability_host_name, subscription_id, propertiesCreate or update account capabilityHost. Create or update account capabilityHost.
create_or_updatereplaceresource_group_name, account_name, capability_host_name, subscription_id, propertiesCreate or update account capabilityHost. Create or update account capabilityHost.
deletedeleteresource_group_name, account_name, capability_host_name, subscription_idDelete account capabilityHost. Delete account capabilityHost.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
account_namestringThe name of Cognitive Services account. Required.
capability_host_namestringThe name of the capability host associated with the Cognitive Services Resource. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Get account capabilityHost. Get account capabilityHost.

SELECT
id,
name,
aiServicesConnections,
capabilityHostKind,
customerSubnet,
description,
enablePublicHostingEnvironment,
provisioningState,
storageConnections,
systemData,
tags,
threadStorageConnections,
type,
vectorStoreConnections
FROM azure.cognitive_services.account_capability_hosts
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND account_name = '{{ account_name }}' -- required
AND capability_host_name = '{{ capability_host_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Create or update account capabilityHost. Create or update account capabilityHost.

INSERT INTO azure.cognitive_services.account_capability_hosts (
properties,
resource_group_name,
account_name,
capability_host_name,
subscription_id
)
SELECT
'{{ properties }}' /* required */,
'{{ resource_group_name }}',
'{{ account_name }}',
'{{ capability_host_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
systemData,
type
;

REPLACE examples

Create or update account capabilityHost. Create or update account capabilityHost.

REPLACE azure.cognitive_services.account_capability_hosts
SET
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND account_name = '{{ account_name }}' --required
AND capability_host_name = '{{ capability_host_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND properties = '{{ properties }}' --required
RETURNING
id,
name,
properties,
systemData,
type;

DELETE examples

Delete account capabilityHost. Delete account capabilityHost.

DELETE FROM azure.cognitive_services.account_capability_hosts
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND account_name = '{{ account_name }}' --required
AND capability_host_name = '{{ capability_host_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;