accounts
Creates, updates, deletes, gets or lists an accounts resource.
Overview
| Name | accounts |
| Type | Resource |
| Id | azure.cognitive_services.accounts |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_resource_group
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
abusePenalty | object | The abuse penalty. |
allowProjectManagement | boolean | Specifies whether this resource support project management as child resources, used as containers for access management, data isolation and cost in AI Foundry. |
allowedFqdnList | array | :vartype allowed_fqdn_list: list[str] |
amlWorkspace | object | The user owned AML account properties. |
apiProperties | object | The api properties for special APIs. |
associatedProjects | array | Specifies the projects, by project name, that are associated with this resource. |
callRateLimit | object | The call rate limit Cognitive Services account. |
capabilities | array | Gets the capabilities of the cognitive services account. Each item indicates the capability of a specific feature. The values are read-only and for reference only. |
commitmentPlanAssociations | array | The commitment plan associations of Cognitive Services account. |
customSubDomainName | string | Optional subdomain name used for token-based authentication. |
dateCreated | string | Gets the date of cognitive services account creation. |
defaultProject | string | Specifies the project, by project name, that is targeted when data plane endpoints are called without a project parameter. |
deletionDate | string | The deletion date, only available for deleted account. |
disableLocalAuth | boolean | :vartype disable_local_auth: bool |
dynamicThrottlingEnabled | boolean | The flag to enable dynamic throttling. |
encryption | object | The encryption properties for this resource. |
endpoint | string | Endpoint of the created account. |
endpoints | object | Dictionary of . |
etag | string | Resource Etag. |
foundryAutoUpgrade | object | Represents the foundry auto-upgrade configuration for a Cognitive Services account. |
identity | object | Identity for the resource. |
internalId | string | The internal identifier (deprecated, do not use this property). |
isMigrated | boolean | If the resource is migrated from an existing key. |
kind | string | The kind (type) of cognitive service account. |
location | string | The geo-location where the resource lives. |
locations | object | The multiregion settings of Cognitive Services account. |
migrationToken | string | Resource migration token. |
networkAcls | object | A collection of rules governing the accessibility from specific network locations. |
networkInjections | array | :vartype network_injections: list[~azure.mgmt.cognitiveservices.models.NetworkInjection] |
privateEndpointConnections | array | The private endpoint connection associated with the Cognitive Services account. |
provisioningState | string | Gets the status of the cognitive services account at the time the operation was called. Known values are: "Accepted", "Creating", "Deleting", "Moving", "Failed", "Succeeded", "Canceled", and "ResolvingDNS". (Accepted, Creating, Deleting, Moving, Failed, Succeeded, Canceled, ResolvingDNS) |
publicNetworkAccess | string | Whether or not public endpoint access is allowed for this account. Known values are: "Enabled" and "Disabled". (Enabled, Disabled) |
quotaLimit | object | :vartype quota_limit: ~azure.mgmt.cognitiveservices.models.QuotaLimit |
raiMonitorConfig | object | Cognitive Services Rai Monitor Config. |
restore | boolean | :vartype restore: bool |
restrictOutboundNetworkAccess | boolean | :vartype restrict_outbound_network_access: bool |
scheduledPurgeDate | string | The scheduled purge date, only available for deleted account. |
sku | object | The resource model definition representing SKU. |
skuChangeInfo | object | Sku change info of account. |
storedCompletionsDisabled | boolean | The flag to disable stored completions. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Resource tags. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
userOwnedStorage | array | The storage accounts for this resource. |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
abusePenalty | object | The abuse penalty. |
allowProjectManagement | boolean | Specifies whether this resource support project management as child resources, used as containers for access management, data isolation and cost in AI Foundry. |
allowedFqdnList | array | :vartype allowed_fqdn_list: list[str] |
amlWorkspace | object | The user owned AML account properties. |
apiProperties | object | The api properties for special APIs. |
associatedProjects | array | Specifies the projects, by project name, that are associated with this resource. |
callRateLimit | object | The call rate limit Cognitive Services account. |
capabilities | array | Gets the capabilities of the cognitive services account. Each item indicates the capability of a specific feature. The values are read-only and for reference only. |
commitmentPlanAssociations | array | The commitment plan associations of Cognitive Services account. |
customSubDomainName | string | Optional subdomain name used for token-based authentication. |
dateCreated | string | Gets the date of cognitive services account creation. |
defaultProject | string | Specifies the project, by project name, that is targeted when data plane endpoints are called without a project parameter. |
deletionDate | string | The deletion date, only available for deleted account. |
disableLocalAuth | boolean | :vartype disable_local_auth: bool |
dynamicThrottlingEnabled | boolean | The flag to enable dynamic throttling. |
encryption | object | The encryption properties for this resource. |
endpoint | string | Endpoint of the created account. |
endpoints | object | Dictionary of . |
etag | string | Resource Etag. |
foundryAutoUpgrade | object | Represents the foundry auto-upgrade configuration for a Cognitive Services account. |
identity | object | Identity for the resource. |
internalId | string | The internal identifier (deprecated, do not use this property). |
isMigrated | boolean | If the resource is migrated from an existing key. |
kind | string | The kind (type) of cognitive service account. |
location | string | The geo-location where the resource lives. |
locations | object | The multiregion settings of Cognitive Services account. |
migrationToken | string | Resource migration token. |
networkAcls | object | A collection of rules governing the accessibility from specific network locations. |
networkInjections | array | :vartype network_injections: list[~azure.mgmt.cognitiveservices.models.NetworkInjection] |
privateEndpointConnections | array | The private endpoint connection associated with the Cognitive Services account. |
provisioningState | string | Gets the status of the cognitive services account at the time the operation was called. Known values are: "Accepted", "Creating", "Deleting", "Moving", "Failed", "Succeeded", "Canceled", and "ResolvingDNS". (Accepted, Creating, Deleting, Moving, Failed, Succeeded, Canceled, ResolvingDNS) |
publicNetworkAccess | string | Whether or not public endpoint access is allowed for this account. Known values are: "Enabled" and "Disabled". (Enabled, Disabled) |
quotaLimit | object | :vartype quota_limit: ~azure.mgmt.cognitiveservices.models.QuotaLimit |
raiMonitorConfig | object | Cognitive Services Rai Monitor Config. |
restore | boolean | :vartype restore: bool |
restrictOutboundNetworkAccess | boolean | :vartype restrict_outbound_network_access: bool |
scheduledPurgeDate | string | The scheduled purge date, only available for deleted account. |
sku | object | The resource model definition representing SKU. |
skuChangeInfo | object | Sku change info of account. |
storedCompletionsDisabled | boolean | The flag to disable stored completions. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Resource tags. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
userOwnedStorage | array | The storage accounts for this resource. |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
abusePenalty | object | The abuse penalty. |
allowProjectManagement | boolean | Specifies whether this resource support project management as child resources, used as containers for access management, data isolation and cost in AI Foundry. |
allowedFqdnList | array | :vartype allowed_fqdn_list: list[str] |
amlWorkspace | object | The user owned AML account properties. |
apiProperties | object | The api properties for special APIs. |
associatedProjects | array | Specifies the projects, by project name, that are associated with this resource. |
callRateLimit | object | The call rate limit Cognitive Services account. |
capabilities | array | Gets the capabilities of the cognitive services account. Each item indicates the capability of a specific feature. The values are read-only and for reference only. |
commitmentPlanAssociations | array | The commitment plan associations of Cognitive Services account. |
customSubDomainName | string | Optional subdomain name used for token-based authentication. |
dateCreated | string | Gets the date of cognitive services account creation. |
defaultProject | string | Specifies the project, by project name, that is targeted when data plane endpoints are called without a project parameter. |
deletionDate | string | The deletion date, only available for deleted account. |
disableLocalAuth | boolean | :vartype disable_local_auth: bool |
dynamicThrottlingEnabled | boolean | The flag to enable dynamic throttling. |
encryption | object | The encryption properties for this resource. |
endpoint | string | Endpoint of the created account. |
endpoints | object | Dictionary of . |
etag | string | Resource Etag. |
foundryAutoUpgrade | object | Represents the foundry auto-upgrade configuration for a Cognitive Services account. |
identity | object | Identity for the resource. |
internalId | string | The internal identifier (deprecated, do not use this property). |
isMigrated | boolean | If the resource is migrated from an existing key. |
kind | string | The kind (type) of cognitive service account. |
location | string | The geo-location where the resource lives. |
locations | object | The multiregion settings of Cognitive Services account. |
migrationToken | string | Resource migration token. |
networkAcls | object | A collection of rules governing the accessibility from specific network locations. |
networkInjections | array | :vartype network_injections: list[~azure.mgmt.cognitiveservices.models.NetworkInjection] |
privateEndpointConnections | array | The private endpoint connection associated with the Cognitive Services account. |
provisioningState | string | Gets the status of the cognitive services account at the time the operation was called. Known values are: "Accepted", "Creating", "Deleting", "Moving", "Failed", "Succeeded", "Canceled", and "ResolvingDNS". (Accepted, Creating, Deleting, Moving, Failed, Succeeded, Canceled, ResolvingDNS) |
publicNetworkAccess | string | Whether or not public endpoint access is allowed for this account. Known values are: "Enabled" and "Disabled". (Enabled, Disabled) |
quotaLimit | object | :vartype quota_limit: ~azure.mgmt.cognitiveservices.models.QuotaLimit |
raiMonitorConfig | object | Cognitive Services Rai Monitor Config. |
restore | boolean | :vartype restore: bool |
restrictOutboundNetworkAccess | boolean | :vartype restrict_outbound_network_access: bool |
scheduledPurgeDate | string | The scheduled purge date, only available for deleted account. |
sku | object | The resource model definition representing SKU. |
skuChangeInfo | object | Sku change info of account. |
storedCompletionsDisabled | boolean | The flag to disable stored completions. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Resource tags. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
userOwnedStorage | array | The storage accounts for this resource. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, account_name, subscription_id | Returns a Cognitive Services account specified by the parameters. | |
list_by_resource_group | select | resource_group_name, subscription_id | Returns all the resources of a particular type belonging to a resource group. | |
list | select | subscription_id | Returns all the resources of a particular type belonging to a subscription. | |
create | insert | resource_group_name, account_name, subscription_id | Create Cognitive Services Account. Accounts is a resource group wide resource type. It holds the keys for developer to access intelligent APIs. It's also the resource type for billing. | |
update | update | resource_group_name, account_name, subscription_id | Updates a Cognitive Services account. | |
delete | delete | resource_group_name, account_name, subscription_id | Deletes a Cognitive Services account from the resource group. | |
list_keys | exec | resource_group_name, account_name, subscription_id | Lists the account keys for the specified Cognitive Services account. | |
list_skus | exec | resource_group_name, account_name, subscription_id | List available SKUs for the requested Cognitive Services account. | |
list_usages | exec | resource_group_name, account_name, subscription_id | $filter | Get usages for the requested Cognitive Services account. |
list_models | exec | resource_group_name, account_name, subscription_id | List available Models for the requested Cognitive Services account. | |
regenerate_key | exec | resource_group_name, account_name, subscription_id, keyName | Regenerates the specified account key for the specified Cognitive Services account. | |
evaluate_deployment_policies | exec | resource_group_name, account_name, subscription_id, deployments | Evaluate Azure Policy compliance for a set of hypothetical deployments without creating them. |
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.
| Name | Datatype | Description |
|---|---|---|
account_name | string | The name of Cognitive Services account. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string | |
$filter | string | An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of multiple names). Default value is None. |
SELECT examples
- get
- list_by_resource_group
- list
Returns a Cognitive Services account specified by the parameters.
SELECT
id,
name,
abusePenalty,
allowProjectManagement,
allowedFqdnList,
amlWorkspace,
apiProperties,
associatedProjects,
callRateLimit,
capabilities,
commitmentPlanAssociations,
customSubDomainName,
dateCreated,
defaultProject,
deletionDate,
disableLocalAuth,
dynamicThrottlingEnabled,
encryption,
endpoint,
endpoints,
etag,
foundryAutoUpgrade,
identity,
internalId,
isMigrated,
kind,
location,
locations,
migrationToken,
networkAcls,
networkInjections,
privateEndpointConnections,
provisioningState,
publicNetworkAccess,
quotaLimit,
raiMonitorConfig,
restore,
restrictOutboundNetworkAccess,
scheduledPurgeDate,
sku,
skuChangeInfo,
storedCompletionsDisabled,
systemData,
tags,
type,
userOwnedStorage
FROM azure.cognitive_services.accounts
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND account_name = '{{ account_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Returns all the resources of a particular type belonging to a resource group.
SELECT
id,
name,
abusePenalty,
allowProjectManagement,
allowedFqdnList,
amlWorkspace,
apiProperties,
associatedProjects,
callRateLimit,
capabilities,
commitmentPlanAssociations,
customSubDomainName,
dateCreated,
defaultProject,
deletionDate,
disableLocalAuth,
dynamicThrottlingEnabled,
encryption,
endpoint,
endpoints,
etag,
foundryAutoUpgrade,
identity,
internalId,
isMigrated,
kind,
location,
locations,
migrationToken,
networkAcls,
networkInjections,
privateEndpointConnections,
provisioningState,
publicNetworkAccess,
quotaLimit,
raiMonitorConfig,
restore,
restrictOutboundNetworkAccess,
scheduledPurgeDate,
sku,
skuChangeInfo,
storedCompletionsDisabled,
systemData,
tags,
type,
userOwnedStorage
FROM azure.cognitive_services.accounts
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Returns all the resources of a particular type belonging to a subscription.
SELECT
id,
name,
abusePenalty,
allowProjectManagement,
allowedFqdnList,
amlWorkspace,
apiProperties,
associatedProjects,
callRateLimit,
capabilities,
commitmentPlanAssociations,
customSubDomainName,
dateCreated,
defaultProject,
deletionDate,
disableLocalAuth,
dynamicThrottlingEnabled,
encryption,
endpoint,
endpoints,
etag,
foundryAutoUpgrade,
identity,
internalId,
isMigrated,
kind,
location,
locations,
migrationToken,
networkAcls,
networkInjections,
privateEndpointConnections,
provisioningState,
publicNetworkAccess,
quotaLimit,
raiMonitorConfig,
restore,
restrictOutboundNetworkAccess,
scheduledPurgeDate,
sku,
skuChangeInfo,
storedCompletionsDisabled,
systemData,
tags,
type,
userOwnedStorage
FROM azure.cognitive_services.accounts
WHERE subscription_id = '{{ subscription_id }}' -- required
;
INSERT examples
- create
- Manifest
Create Cognitive Services Account. Accounts is a resource group wide resource type. It holds the keys for developer to access intelligent APIs. It's also the resource type for billing.
INSERT INTO azure.cognitive_services.accounts (
properties,
tags,
location,
kind,
sku,
identity,
resource_group_name,
account_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ tags }}',
'{{ location }}',
'{{ kind }}',
'{{ sku }}',
'{{ identity }}',
'{{ resource_group_name }}',
'{{ account_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
etag,
identity,
kind,
location,
properties,
sku,
systemData,
tags,
type
;
# Description fields are for documentation purposes
- name: accounts
props:
- name: resource_group_name
value: "{{ resource_group_name }}"
description: Required parameter for the accounts resource.
- name: account_name
value: "{{ account_name }}"
description: Required parameter for the accounts resource.
- name: subscription_id
value: "{{ subscription_id }}"
description: Required parameter for the accounts resource.
- name: properties
description: |
Properties of Cognitive Services account.
value:
provisioningState: "{{ provisioningState }}"
endpoint: "{{ endpoint }}"
internalId: "{{ internalId }}"
capabilities:
- name: "{{ name }}"
value: "{{ value }}"
isMigrated: {{ isMigrated }}
migrationToken: "{{ migrationToken }}"
skuChangeInfo:
countOfDowngrades: {{ countOfDowngrades }}
countOfUpgradesAfterDowngrades: {{ countOfUpgradesAfterDowngrades }}
lastChangeDate: "{{ lastChangeDate }}"
customSubDomainName: "{{ customSubDomainName }}"
networkAcls:
defaultAction: "{{ defaultAction }}"
bypass: "{{ bypass }}"
ipRules:
- value: "{{ value }}"
virtualNetworkRules:
- id: "{{ id }}"
state: "{{ state }}"
ignoreMissingVnetServiceEndpoint: {{ ignoreMissingVnetServiceEndpoint }}
encryption:
keyVaultProperties:
keyName: "{{ keyName }}"
keyVersion: "{{ keyVersion }}"
keyVaultUri: "{{ keyVaultUri }}"
identityClientId: "{{ identityClientId }}"
keySource: "{{ keySource }}"
userOwnedStorage:
- resourceId: "{{ resourceId }}"
identityClientId: "{{ identityClientId }}"
amlWorkspace:
resourceId: "{{ resourceId }}"
identityClientId: "{{ identityClientId }}"
privateEndpointConnections:
- id: "{{ id }}"
name: "{{ name }}"
type: "{{ type }}"
systemData:
createdBy: "{{ createdBy }}"
createdByType: "{{ createdByType }}"
createdAt: "{{ createdAt }}"
lastModifiedBy: "{{ lastModifiedBy }}"
lastModifiedByType: "{{ lastModifiedByType }}"
lastModifiedAt: "{{ lastModifiedAt }}"
properties:
privateEndpoint:
id: "{{ id }}"
privateLinkServiceConnectionState:
status: "{{ status }}"
description: "{{ description }}"
actionsRequired: "{{ actionsRequired }}"
provisioningState: "{{ provisioningState }}"
groupIds:
- "{{ groupIds }}"
etag: "{{ etag }}"
location: "{{ location }}"
publicNetworkAccess: "{{ publicNetworkAccess }}"
apiProperties:
qnaRuntimeEndpoint: "{{ qnaRuntimeEndpoint }}"
qnaAzureSearchEndpointKey: "{{ qnaAzureSearchEndpointKey }}"
qnaAzureSearchEndpointId: "{{ qnaAzureSearchEndpointId }}"
statisticsEnabled: {{ statisticsEnabled }}
eventHubConnectionString: "{{ eventHubConnectionString }}"
storageAccountConnectionString: "{{ storageAccountConnectionString }}"
aadClientId: "{{ aadClientId }}"
aadTenantId: "{{ aadTenantId }}"
superUser: "{{ superUser }}"
websiteName: "{{ websiteName }}"
dateCreated: "{{ dateCreated }}"
callRateLimit:
count: {{ count }}
renewalPeriod: {{ renewalPeriod }}
rules:
- key: "{{ key }}"
renewalPeriod: {{ renewalPeriod }}
count: {{ count }}
minCount: {{ minCount }}
dynamicThrottlingEnabled: {{ dynamicThrottlingEnabled }}
matchPatterns: "{{ matchPatterns }}"
dynamicThrottlingEnabled: {{ dynamicThrottlingEnabled }}
storedCompletionsDisabled: {{ storedCompletionsDisabled }}
quotaLimit:
count: {{ count }}
renewalPeriod: {{ renewalPeriod }}
rules:
- key: "{{ key }}"
renewalPeriod: {{ renewalPeriod }}
count: {{ count }}
minCount: {{ minCount }}
dynamicThrottlingEnabled: {{ dynamicThrottlingEnabled }}
matchPatterns: "{{ matchPatterns }}"
restrictOutboundNetworkAccess: {{ restrictOutboundNetworkAccess }}
allowedFqdnList:
- "{{ allowedFqdnList }}"
disableLocalAuth: {{ disableLocalAuth }}
endpoints: "{{ endpoints }}"
restore: {{ restore }}
deletionDate: "{{ deletionDate }}"
scheduledPurgeDate: "{{ scheduledPurgeDate }}"
locations:
routingMethod: "{{ routingMethod }}"
regions:
- name: "{{ name }}"
value: {{ value }}
customsubdomain: "{{ customsubdomain }}"
commitmentPlanAssociations:
- commitmentPlanId: "{{ commitmentPlanId }}"
commitmentPlanLocation: "{{ commitmentPlanLocation }}"
abusePenalty:
action: "{{ action }}"
rateLimitPercentage: {{ rateLimitPercentage }}
expiration: "{{ expiration }}"
raiMonitorConfig:
adxStorageResourceId: "{{ adxStorageResourceId }}"
identityClientId: "{{ identityClientId }}"
networkInjections:
- scenario: "{{ scenario }}"
subnetArmId: "{{ subnetArmId }}"
useMicrosoftManagedNetwork: {{ useMicrosoftManagedNetwork }}
foundryAutoUpgrade:
mode: "{{ mode }}"
plannedByMicrosoft: {{ plannedByMicrosoft }}
statusReason: "{{ statusReason }}"
scheduledAt: "{{ scheduledAt }}"
allowProjectManagement: {{ allowProjectManagement }}
defaultProject: "{{ defaultProject }}"
associatedProjects:
- "{{ associatedProjects }}"
- name: tags
value: "{{ tags }}"
description: |
Resource tags.
- name: location
value: "{{ location }}"
description: |
The geo-location where the resource lives.
- name: kind
value: "{{ kind }}"
description: |
The kind (type) of cognitive service account.
- name: sku
description: |
The resource model definition representing SKU.
value:
name: "{{ name }}"
tier: "{{ tier }}"
size: "{{ size }}"
family: "{{ family }}"
capacity: {{ capacity }}
- name: identity
description: |
Identity for the resource.
value:
type: "{{ type }}"
tenantId: "{{ tenantId }}"
principalId: "{{ principalId }}"
userAssignedIdentities: "{{ userAssignedIdentities }}"
UPDATE examples
- update
Updates a Cognitive Services account.
UPDATE azure.cognitive_services.accounts
SET
properties = '{{ properties }}',
tags = '{{ tags }}',
location = '{{ location }}',
kind = '{{ kind }}',
sku = '{{ sku }}',
identity = '{{ identity }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND account_name = '{{ account_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
etag,
identity,
kind,
location,
properties,
sku,
systemData,
tags,
type;
DELETE examples
- delete
Deletes a Cognitive Services account from the resource group.
DELETE FROM azure.cognitive_services.accounts
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND account_name = '{{ account_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;
Lifecycle Methods
- list_keys
- list_skus
- list_usages
- list_models
- regenerate_key
- evaluate_deployment_policies
Lists the account keys for the specified Cognitive Services account.
EXEC azure.cognitive_services.accounts.list_keys
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
List available SKUs for the requested Cognitive Services account.
EXEC azure.cognitive_services.accounts.list_skus
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Get usages for the requested Cognitive Services account.
EXEC azure.cognitive_services.accounts.list_usages
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@subscription_id='{{ subscription_id }}' --required,
@$filter='{{ $filter }}'
;
List available Models for the requested Cognitive Services account.
EXEC azure.cognitive_services.accounts.list_models
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Regenerates the specified account key for the specified Cognitive Services account.
EXEC azure.cognitive_services.accounts.regenerate_key
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"keyName": "{{ keyName }}"
}'
;
Evaluate Azure Policy compliance for a set of hypothetical deployments without creating them.
EXEC azure.cognitive_services.accounts.evaluate_deployment_policies
@resource_group_name='{{ resource_group_name }}' --required,
@account_name='{{ account_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"deployments": "{{ deployments }}"
}'
;