Microsoft.CognitiveServices accounts 2016-02-01-preview
Bicep resource definition
The accounts 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.CognitiveServices/accounts resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.CognitiveServices/accounts@2016-02-01-preview' = {
name: 'string'
location: 'string'
tags: {
tagName1: 'tagValue1'
tagName2: 'tagValue2'
}
sku: {
name: 'string'
}
kind: 'string'
properties: any()
}
Property values
accounts
Name | Description | Value |
---|---|---|
name | The resource name | string (required) Character limit: 2-64 Valid characters: Alphanumerics and hyphens. Start and end with alphanumeric. |
location | Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update the request will succeed. | string (required) |
tags | Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. | Dictionary of tag names and values. See Tags in templates |
sku | The SKU of the cognitive services account. | Sku (required) |
kind | Required. Indicates the type of cognitive service account. | 'Academic' 'Bing.Autosuggest' 'Bing.Search' 'Bing.Speech' 'Bing.SpellCheck' 'ComputerVision' 'ContentModerator' 'Emotion' 'Face' 'LUIS' 'Recommendations' 'SpeakerRecognition' 'Speech' 'SpeechTranslation' 'TextAnalytics' 'TextTranslation' 'WebLM' (required) |
properties | Must exist in the request. Must not be null. | For Bicep, you can use the any() function.(required) |
Sku
Name | Description | Value |
---|---|---|
name | Gets or sets the sku name. Required for account creation, optional for update. | 'F0' 'P0' 'P1' 'P2' 'S0' 'S1' 'S2' 'S3' 'S4' 'S5' 'S6' (required) |
Quickstart templates
The following quickstart templates deploy this resource type.
Template | Description |
---|---|
Deploy an Azure AI Vision resource |
This template deploys an Azure AI Vision resource to bring AI within reach of every developer without requiring machine learning expertise. |
Deploy an Azure AI Translator resource |
This template deploys an Azure AI Translator resource to bring AI within reach of every developer without requiring machine learning expertise. |
Deploy an Azure AI services multi-service resource |
This template deploys an Azure AI services resource to bring AI within reach of every developer without requiring machine learning expertise. All it takes is an API call to embed the ability to see, hear, speak, search, understand, and accelerate decision-making into your apps. |
Azure AI Studio basic setup |
This set of templates demonstrates how to set up Azure AI Studio with the basic setup, meaning with public internet access enabled, Microsoft-managed keys for encryption and Microsoft-managed identity configuration for the AI resource. |
Azure AI Studio basic setup |
This set of templates demonstrates how to set up Azure AI Studio with the basic setup, meaning with public internet access enabled, Microsoft-managed keys for encryption and Microsoft-managed identity configuration for the AI resource. |
Azure AI Studio with Microsoft Entra ID Authentication |
This set of templates demonstrates how to set up Azure AI Studio with Microsoft Entra ID authentication for dependent resources, such as Azure AI Services and Azure Storage. |
ARM template resource definition
The accounts 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.CognitiveServices/accounts resource, add the following JSON to your template.
{
"type": "Microsoft.CognitiveServices/accounts",
"apiVersion": "2016-02-01-preview",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"sku": {
"name": "string"
},
"kind": "string",
"properties": {}
}
Property values
accounts
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.CognitiveServices/accounts' |
apiVersion | The resource api version | '2016-02-01-preview' |
name | The resource name | string (required) Character limit: 2-64 Valid characters: Alphanumerics and hyphens. Start and end with alphanumeric. |
location | Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update the request will succeed. | string (required) |
tags | Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. | Dictionary of tag names and values. See Tags in templates |
sku | The SKU of the cognitive services account. | Sku (required) |
kind | Required. Indicates the type of cognitive service account. | 'Academic' 'Bing.Autosuggest' 'Bing.Search' 'Bing.Speech' 'Bing.SpellCheck' 'ComputerVision' 'ContentModerator' 'Emotion' 'Face' 'LUIS' 'Recommendations' 'SpeakerRecognition' 'Speech' 'SpeechTranslation' 'TextAnalytics' 'TextTranslation' 'WebLM' (required) |
properties | Must exist in the request. Must not be null. |
Sku
Name | Description | Value |
---|---|---|
name | Gets or sets the sku name. Required for account creation, optional for update. | 'F0' 'P0' 'P1' 'P2' 'S0' 'S1' 'S2' 'S3' 'S4' 'S5' 'S6' (required) |
Quickstart templates
The following quickstart templates deploy this resource type.
Template | Description |
---|---|
Deploy an Azure AI Vision resource |
This template deploys an Azure AI Vision resource to bring AI within reach of every developer without requiring machine learning expertise. |
Deploy an Azure AI Translator resource |
This template deploys an Azure AI Translator resource to bring AI within reach of every developer without requiring machine learning expertise. |
Deploy an Azure AI services multi-service resource |
This template deploys an Azure AI services resource to bring AI within reach of every developer without requiring machine learning expertise. All it takes is an API call to embed the ability to see, hear, speak, search, understand, and accelerate decision-making into your apps. |
Azure AI Studio basic setup |
This set of templates demonstrates how to set up Azure AI Studio with the basic setup, meaning with public internet access enabled, Microsoft-managed keys for encryption and Microsoft-managed identity configuration for the AI resource. |
Azure AI Studio basic setup |
This set of templates demonstrates how to set up Azure AI Studio with the basic setup, meaning with public internet access enabled, Microsoft-managed keys for encryption and Microsoft-managed identity configuration for the AI resource. |
Azure AI Studio with Microsoft Entra ID Authentication |
This set of templates demonstrates how to set up Azure AI Studio with Microsoft Entra ID authentication for dependent resources, such as Azure AI Services and Azure Storage. |
Terraform (AzAPI provider) resource definition
The accounts 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.CognitiveServices/accounts resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.CognitiveServices/accounts@2016-02-01-preview"
name = "string"
location = "string"
parent_id = "string"
tags = {
tagName1 = "tagValue1"
tagName2 = "tagValue2"
}
body = jsonencode({
sku = {
name = "string"
}
kind = "string"
})
}
Property values
accounts
Name | Description | Value |
---|---|---|
type | The resource type | "Microsoft.CognitiveServices/accounts@2016-02-01-preview" |
name | The resource name | string (required) Character limit: 2-64 Valid characters: Alphanumerics and hyphens. Start and end with alphanumeric. |
location | Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update the request will succeed. | string (required) |
parent_id | To deploy to a resource group, use the ID of that resource group. | string (required) |
tags | Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. | Dictionary of tag names and values. |
sku | The SKU of the cognitive services account. | Sku (required) |
kind | Required. Indicates the type of cognitive service account. | "Academic" "Bing.Autosuggest" "Bing.Search" "Bing.Speech" "Bing.SpellCheck" "ComputerVision" "ContentModerator" "Emotion" "Face" "LUIS" "Recommendations" "SpeakerRecognition" "Speech" "SpeechTranslation" "TextAnalytics" "TextTranslation" "WebLM" (required) |
properties | Must exist in the request. Must not be null. |
Sku
Name | Description | Value |
---|---|---|
name | Gets or sets the sku name. Required for account creation, optional for update. | "F0" "P0" "P1" "P2" "S0" "S1" "S2" "S3" "S4" "S5" "S6" (required) |