We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
Import
Cognitive Service Accounts can be imported using the resource id, e.g.
$ pulumi import azure:cognitive/account:Account account1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.CognitiveServices/accounts/account1
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "West Europe",
});
var exampleAccount = new Azure.Cognitive.Account("exampleAccount", new Azure.Cognitive.AccountArgs
{
Location = exampleResourceGroup.Location,
ResourceGroupName = exampleResourceGroup.Name,
Kind = "Face",
SkuName = "S0",
Tags =
{
{ "Acceptance", "Test" },
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cognitive"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
_, err = cognitive.NewAccount(ctx, "exampleAccount", &cognitive.AccountArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
Kind: pulumi.String("Face"),
SkuName: pulumi.String("S0"),
Tags: pulumi.StringMap{
"Acceptance": pulumi.String("Test"),
},
})
if err != nil {
return err
}
return nil
})
}
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleAccount = new azure.cognitive.Account("exampleAccount", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
kind: "Face",
skuName: "S0",
tags: {
Acceptance: "Test",
},
});
import pulumi
import pulumi_azure as azure
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_account = azure.cognitive.Account("exampleAccount",
location=example_resource_group.location,
resource_group_name=example_resource_group.name,
kind="Face",
sku_name="S0",
tags={
"Acceptance": "Test",
})
Example coming soon!
Create Account Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Account(name: string, args: AccountArgs, opts?: CustomResourceOptions);@overload
def Account(resource_name: str,
args: AccountArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Account(resource_name: str,
opts: Optional[ResourceOptions] = None,
kind: Optional[str] = None,
sku_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
metrics_advisor_super_user_name: Optional[str] = None,
name: Optional[str] = None,
location: Optional[str] = None,
metrics_advisor_aad_client_id: Optional[str] = None,
metrics_advisor_aad_tenant_id: Optional[str] = None,
custom_subdomain_name: Optional[str] = None,
metrics_advisor_website_name: Optional[str] = None,
local_auth_enabled: Optional[bool] = None,
network_acls: Optional[AccountNetworkAclsArgs] = None,
outbound_network_access_restrited: Optional[bool] = None,
public_network_access_enabled: Optional[bool] = None,
qna_runtime_endpoint: Optional[str] = None,
identity: Optional[AccountIdentityArgs] = None,
fqdns: Optional[Sequence[str]] = None,
storages: Optional[Sequence[AccountStorageArgs]] = None,
tags: Optional[Mapping[str, str]] = None)func NewAccount(ctx *Context, name string, args AccountArgs, opts ...ResourceOption) (*Account, error)public Account(string name, AccountArgs args, CustomResourceOptions? opts = null)
public Account(String name, AccountArgs args)
public Account(String name, AccountArgs args, CustomResourceOptions options)
type: azure:cognitive:Account
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleaccountResourceResourceFromCognitiveaccount = new Azure.Cognitive.Account("exampleaccountResourceResourceFromCognitiveaccount", new()
{
Kind = "string",
SkuName = "string",
ResourceGroupName = "string",
MetricsAdvisorSuperUserName = "string",
Name = "string",
Location = "string",
MetricsAdvisorAadClientId = "string",
MetricsAdvisorAadTenantId = "string",
CustomSubdomainName = "string",
MetricsAdvisorWebsiteName = "string",
LocalAuthEnabled = false,
NetworkAcls = new Azure.Cognitive.Inputs.AccountNetworkAclsArgs
{
DefaultAction = "string",
IpRules = new[]
{
"string",
},
VirtualNetworkRules = new[]
{
new Azure.Cognitive.Inputs.AccountNetworkAclsVirtualNetworkRuleArgs
{
SubnetId = "string",
IgnoreMissingVnetServiceEndpoint = false,
},
},
},
OutboundNetworkAccessRestrited = false,
PublicNetworkAccessEnabled = false,
QnaRuntimeEndpoint = "string",
Identity = new Azure.Cognitive.Inputs.AccountIdentityArgs
{
Type = "string",
IdentityIds = new[]
{
"string",
},
PrincipalId = "string",
TenantId = "string",
},
Fqdns = new[]
{
"string",
},
Storages = new[]
{
new Azure.Cognitive.Inputs.AccountStorageArgs
{
StorageAccountId = "string",
IdentityClientId = "string",
},
},
Tags =
{
{ "string", "string" },
},
});
example, err := cognitive.NewAccount(ctx, "exampleaccountResourceResourceFromCognitiveaccount", &cognitive.AccountArgs{
Kind: pulumi.String("string"),
SkuName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
MetricsAdvisorSuperUserName: pulumi.String("string"),
Name: pulumi.String("string"),
Location: pulumi.String("string"),
MetricsAdvisorAadClientId: pulumi.String("string"),
MetricsAdvisorAadTenantId: pulumi.String("string"),
CustomSubdomainName: pulumi.String("string"),
MetricsAdvisorWebsiteName: pulumi.String("string"),
LocalAuthEnabled: pulumi.Bool(false),
NetworkAcls: &cognitive.AccountNetworkAclsArgs{
DefaultAction: pulumi.String("string"),
IpRules: pulumi.StringArray{
pulumi.String("string"),
},
VirtualNetworkRules: cognitive.AccountNetworkAclsVirtualNetworkRuleArray{
&cognitive.AccountNetworkAclsVirtualNetworkRuleArgs{
SubnetId: pulumi.String("string"),
IgnoreMissingVnetServiceEndpoint: pulumi.Bool(false),
},
},
},
OutboundNetworkAccessRestrited: pulumi.Bool(false),
PublicNetworkAccessEnabled: pulumi.Bool(false),
QnaRuntimeEndpoint: pulumi.String("string"),
Identity: &cognitive.AccountIdentityArgs{
Type: pulumi.String("string"),
IdentityIds: pulumi.StringArray{
pulumi.String("string"),
},
PrincipalId: pulumi.String("string"),
TenantId: pulumi.String("string"),
},
Fqdns: pulumi.StringArray{
pulumi.String("string"),
},
Storages: cognitive.AccountStorageArray{
&cognitive.AccountStorageArgs{
StorageAccountId: pulumi.String("string"),
IdentityClientId: pulumi.String("string"),
},
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var exampleaccountResourceResourceFromCognitiveaccount = new com.pulumi.azure.cognitive.Account("exampleaccountResourceResourceFromCognitiveaccount", com.pulumi.azure.cognitive.AccountArgs.builder()
.kind("string")
.skuName("string")
.resourceGroupName("string")
.metricsAdvisorSuperUserName("string")
.name("string")
.location("string")
.metricsAdvisorAadClientId("string")
.metricsAdvisorAadTenantId("string")
.customSubdomainName("string")
.metricsAdvisorWebsiteName("string")
.localAuthEnabled(false)
.networkAcls(AccountNetworkAclsArgs.builder()
.defaultAction("string")
.ipRules("string")
.virtualNetworkRules(AccountNetworkAclsVirtualNetworkRuleArgs.builder()
.subnetId("string")
.ignoreMissingVnetServiceEndpoint(false)
.build())
.build())
.outboundNetworkAccessRestrited(false)
.publicNetworkAccessEnabled(false)
.qnaRuntimeEndpoint("string")
.identity(AccountIdentityArgs.builder()
.type("string")
.identityIds("string")
.principalId("string")
.tenantId("string")
.build())
.fqdns("string")
.storages(AccountStorageArgs.builder()
.storageAccountId("string")
.identityClientId("string")
.build())
.tags(Map.of("string", "string"))
.build());
exampleaccount_resource_resource_from_cognitiveaccount = azure.cognitive.Account("exampleaccountResourceResourceFromCognitiveaccount",
kind="string",
sku_name="string",
resource_group_name="string",
metrics_advisor_super_user_name="string",
name="string",
location="string",
metrics_advisor_aad_client_id="string",
metrics_advisor_aad_tenant_id="string",
custom_subdomain_name="string",
metrics_advisor_website_name="string",
local_auth_enabled=False,
network_acls={
"default_action": "string",
"ip_rules": ["string"],
"virtual_network_rules": [{
"subnet_id": "string",
"ignore_missing_vnet_service_endpoint": False,
}],
},
outbound_network_access_restrited=False,
public_network_access_enabled=False,
qna_runtime_endpoint="string",
identity={
"type": "string",
"identity_ids": ["string"],
"principal_id": "string",
"tenant_id": "string",
},
fqdns=["string"],
storages=[{
"storage_account_id": "string",
"identity_client_id": "string",
}],
tags={
"string": "string",
})
const exampleaccountResourceResourceFromCognitiveaccount = new azure.cognitive.Account("exampleaccountResourceResourceFromCognitiveaccount", {
kind: "string",
skuName: "string",
resourceGroupName: "string",
metricsAdvisorSuperUserName: "string",
name: "string",
location: "string",
metricsAdvisorAadClientId: "string",
metricsAdvisorAadTenantId: "string",
customSubdomainName: "string",
metricsAdvisorWebsiteName: "string",
localAuthEnabled: false,
networkAcls: {
defaultAction: "string",
ipRules: ["string"],
virtualNetworkRules: [{
subnetId: "string",
ignoreMissingVnetServiceEndpoint: false,
}],
},
outboundNetworkAccessRestrited: false,
publicNetworkAccessEnabled: false,
qnaRuntimeEndpoint: "string",
identity: {
type: "string",
identityIds: ["string"],
principalId: "string",
tenantId: "string",
},
fqdns: ["string"],
storages: [{
storageAccountId: "string",
identityClientId: "string",
}],
tags: {
string: "string",
},
});
type: azure:cognitive:Account
properties:
customSubdomainName: string
fqdns:
- string
identity:
identityIds:
- string
principalId: string
tenantId: string
type: string
kind: string
localAuthEnabled: false
location: string
metricsAdvisorAadClientId: string
metricsAdvisorAadTenantId: string
metricsAdvisorSuperUserName: string
metricsAdvisorWebsiteName: string
name: string
networkAcls:
defaultAction: string
ipRules:
- string
virtualNetworkRules:
- ignoreMissingVnetServiceEndpoint: false
subnetId: string
outboundNetworkAccessRestrited: false
publicNetworkAccessEnabled: false
qnaRuntimeEndpoint: string
resourceGroupName: string
skuName: string
storages:
- identityClientId: string
storageAccountId: string
tags:
string: string
Account Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Account resource accepts the following input properties:
- Kind string
- Specifies the type of Cognitive Service Account that should be created. Possible values are
Academic,AnomalyDetector,Bing.Autosuggest,Bing.Autosuggest.v7,Bing.CustomSearch,Bing.Search,Bing.Search.v7,Bing.Speech,Bing.SpellCheck,Bing.SpellCheck.v7,CognitiveServices,ComputerVision,ContentModerator,CustomSpeech,CustomVision.Prediction,CustomVision.Training,Emotion,Face,FormRecognizer,ImmersiveReader,LUIS,LUIS.Authoring,MetricsAdvisor,Personalizer,QnAMaker,Recommendations,SpeakerRecognition,Speech,SpeechServices,SpeechTranslation,TextAnalytics,TextTranslationandWebLM. Changing this forces a new resource to be created. - Resource
Group stringName - The name of the resource group in which the Cognitive Service Account is created. Changing this forces a new resource to be created.
- Sku
Name string - Specifies the SKU Name for this Cognitive Service Account. Possible values are
F0,F1,S,S0,S1,S2,S3,S4,S5,S6,P0,P1, andP2. - Custom
Subdomain stringName - The subdomain name used for token-based authentication. Changing this forces a new resource to be created.
- Fqdns List<string>
- List of FQDNs allowed for the Cognitive Account.
- Identity
Account
Identity - An
identityblock as defined below. - Local
Auth boolEnabled - Whether local authentication methods is enabled for the Cognitive Account. Defaults to
true. - Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Metrics
Advisor stringAad Client Id - The Azure AD Client ID (Application ID). This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - Metrics
Advisor stringAad Tenant Id - The Azure AD Tenant ID. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - Metrics
Advisor stringSuper User Name - The super user of Metrics Advisor. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - Metrics
Advisor stringWebsite Name - The website name of Metrics Advisor. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - Name string
- Specifies the name of the Cognitive Service Account. Changing this forces a new resource to be created.
- Network
Acls AccountNetwork Acls - A
network_aclsblock as defined below. - Outbound
Network boolAccess Restrited - Public
Network boolAccess Enabled - Whether public network access is allowed for the Cognitive Account. Defaults to
true. - Qna
Runtime stringEndpoint - A URL to link a QnAMaker cognitive account to a QnA runtime.
- Storages
List<Account
Storage> - A
storageblock as defined below. - Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Kind string
- Specifies the type of Cognitive Service Account that should be created. Possible values are
Academic,AnomalyDetector,Bing.Autosuggest,Bing.Autosuggest.v7,Bing.CustomSearch,Bing.Search,Bing.Search.v7,Bing.Speech,Bing.SpellCheck,Bing.SpellCheck.v7,CognitiveServices,ComputerVision,ContentModerator,CustomSpeech,CustomVision.Prediction,CustomVision.Training,Emotion,Face,FormRecognizer,ImmersiveReader,LUIS,LUIS.Authoring,MetricsAdvisor,Personalizer,QnAMaker,Recommendations,SpeakerRecognition,Speech,SpeechServices,SpeechTranslation,TextAnalytics,TextTranslationandWebLM. Changing this forces a new resource to be created. - Resource
Group stringName - The name of the resource group in which the Cognitive Service Account is created. Changing this forces a new resource to be created.
- Sku
Name string - Specifies the SKU Name for this Cognitive Service Account. Possible values are
F0,F1,S,S0,S1,S2,S3,S4,S5,S6,P0,P1, andP2. - Custom
Subdomain stringName - The subdomain name used for token-based authentication. Changing this forces a new resource to be created.
- Fqdns []string
- List of FQDNs allowed for the Cognitive Account.
- Identity
Account
Identity Args - An
identityblock as defined below. - Local
Auth boolEnabled - Whether local authentication methods is enabled for the Cognitive Account. Defaults to
true. - Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Metrics
Advisor stringAad Client Id - The Azure AD Client ID (Application ID). This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - Metrics
Advisor stringAad Tenant Id - The Azure AD Tenant ID. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - Metrics
Advisor stringSuper User Name - The super user of Metrics Advisor. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - Metrics
Advisor stringWebsite Name - The website name of Metrics Advisor. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - Name string
- Specifies the name of the Cognitive Service Account. Changing this forces a new resource to be created.
- Network
Acls AccountNetwork Acls Args - A
network_aclsblock as defined below. - Outbound
Network boolAccess Restrited - Public
Network boolAccess Enabled - Whether public network access is allowed for the Cognitive Account. Defaults to
true. - Qna
Runtime stringEndpoint - A URL to link a QnAMaker cognitive account to a QnA runtime.
- Storages
[]Account
Storage Args - A
storageblock as defined below. - map[string]string
- A mapping of tags to assign to the resource.
- kind String
- Specifies the type of Cognitive Service Account that should be created. Possible values are
Academic,AnomalyDetector,Bing.Autosuggest,Bing.Autosuggest.v7,Bing.CustomSearch,Bing.Search,Bing.Search.v7,Bing.Speech,Bing.SpellCheck,Bing.SpellCheck.v7,CognitiveServices,ComputerVision,ContentModerator,CustomSpeech,CustomVision.Prediction,CustomVision.Training,Emotion,Face,FormRecognizer,ImmersiveReader,LUIS,LUIS.Authoring,MetricsAdvisor,Personalizer,QnAMaker,Recommendations,SpeakerRecognition,Speech,SpeechServices,SpeechTranslation,TextAnalytics,TextTranslationandWebLM. Changing this forces a new resource to be created. - resource
Group StringName - The name of the resource group in which the Cognitive Service Account is created. Changing this forces a new resource to be created.
- sku
Name String - Specifies the SKU Name for this Cognitive Service Account. Possible values are
F0,F1,S,S0,S1,S2,S3,S4,S5,S6,P0,P1, andP2. - custom
Subdomain StringName - The subdomain name used for token-based authentication. Changing this forces a new resource to be created.
- fqdns List<String>
- List of FQDNs allowed for the Cognitive Account.
- identity
Account
Identity - An
identityblock as defined below. - local
Auth BooleanEnabled - Whether local authentication methods is enabled for the Cognitive Account. Defaults to
true. - location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- metrics
Advisor StringAad Client Id - The Azure AD Client ID (Application ID). This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - metrics
Advisor StringAad Tenant Id - The Azure AD Tenant ID. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - metrics
Advisor StringSuper User Name - The super user of Metrics Advisor. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - metrics
Advisor StringWebsite Name - The website name of Metrics Advisor. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - name String
- Specifies the name of the Cognitive Service Account. Changing this forces a new resource to be created.
- network
Acls AccountNetwork Acls - A
network_aclsblock as defined below. - outbound
Network BooleanAccess Restrited - public
Network BooleanAccess Enabled - Whether public network access is allowed for the Cognitive Account. Defaults to
true. - qna
Runtime StringEndpoint - A URL to link a QnAMaker cognitive account to a QnA runtime.
- storages
List<Account
Storage> - A
storageblock as defined below. - Map<String,String>
- A mapping of tags to assign to the resource.
- kind string
- Specifies the type of Cognitive Service Account that should be created. Possible values are
Academic,AnomalyDetector,Bing.Autosuggest,Bing.Autosuggest.v7,Bing.CustomSearch,Bing.Search,Bing.Search.v7,Bing.Speech,Bing.SpellCheck,Bing.SpellCheck.v7,CognitiveServices,ComputerVision,ContentModerator,CustomSpeech,CustomVision.Prediction,CustomVision.Training,Emotion,Face,FormRecognizer,ImmersiveReader,LUIS,LUIS.Authoring,MetricsAdvisor,Personalizer,QnAMaker,Recommendations,SpeakerRecognition,Speech,SpeechServices,SpeechTranslation,TextAnalytics,TextTranslationandWebLM. Changing this forces a new resource to be created. - resource
Group stringName - The name of the resource group in which the Cognitive Service Account is created. Changing this forces a new resource to be created.
- sku
Name string - Specifies the SKU Name for this Cognitive Service Account. Possible values are
F0,F1,S,S0,S1,S2,S3,S4,S5,S6,P0,P1, andP2. - custom
Subdomain stringName - The subdomain name used for token-based authentication. Changing this forces a new resource to be created.
- fqdns string[]
- List of FQDNs allowed for the Cognitive Account.
- identity
Account
Identity - An
identityblock as defined below. - local
Auth booleanEnabled - Whether local authentication methods is enabled for the Cognitive Account. Defaults to
true. - location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- metrics
Advisor stringAad Client Id - The Azure AD Client ID (Application ID). This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - metrics
Advisor stringAad Tenant Id - The Azure AD Tenant ID. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - metrics
Advisor stringSuper User Name - The super user of Metrics Advisor. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - metrics
Advisor stringWebsite Name - The website name of Metrics Advisor. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - name string
- Specifies the name of the Cognitive Service Account. Changing this forces a new resource to be created.
- network
Acls AccountNetwork Acls - A
network_aclsblock as defined below. - outbound
Network booleanAccess Restrited - public
Network booleanAccess Enabled - Whether public network access is allowed for the Cognitive Account. Defaults to
true. - qna
Runtime stringEndpoint - A URL to link a QnAMaker cognitive account to a QnA runtime.
- storages
Account
Storage[] - A
storageblock as defined below. - {[key: string]: string}
- A mapping of tags to assign to the resource.
- kind str
- Specifies the type of Cognitive Service Account that should be created. Possible values are
Academic,AnomalyDetector,Bing.Autosuggest,Bing.Autosuggest.v7,Bing.CustomSearch,Bing.Search,Bing.Search.v7,Bing.Speech,Bing.SpellCheck,Bing.SpellCheck.v7,CognitiveServices,ComputerVision,ContentModerator,CustomSpeech,CustomVision.Prediction,CustomVision.Training,Emotion,Face,FormRecognizer,ImmersiveReader,LUIS,LUIS.Authoring,MetricsAdvisor,Personalizer,QnAMaker,Recommendations,SpeakerRecognition,Speech,SpeechServices,SpeechTranslation,TextAnalytics,TextTranslationandWebLM. Changing this forces a new resource to be created. - resource_
group_ strname - The name of the resource group in which the Cognitive Service Account is created. Changing this forces a new resource to be created.
- sku_
name str - Specifies the SKU Name for this Cognitive Service Account. Possible values are
F0,F1,S,S0,S1,S2,S3,S4,S5,S6,P0,P1, andP2. - custom_
subdomain_ strname - The subdomain name used for token-based authentication. Changing this forces a new resource to be created.
- fqdns Sequence[str]
- List of FQDNs allowed for the Cognitive Account.
- identity
Account
Identity Args - An
identityblock as defined below. - local_
auth_ boolenabled - Whether local authentication methods is enabled for the Cognitive Account. Defaults to
true. - location str
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- metrics_
advisor_ straad_ client_ id - The Azure AD Client ID (Application ID). This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - metrics_
advisor_ straad_ tenant_ id - The Azure AD Tenant ID. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - metrics_
advisor_ strsuper_ user_ name - The super user of Metrics Advisor. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - metrics_
advisor_ strwebsite_ name - The website name of Metrics Advisor. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - name str
- Specifies the name of the Cognitive Service Account. Changing this forces a new resource to be created.
- network_
acls AccountNetwork Acls Args - A
network_aclsblock as defined below. - outbound_
network_ boolaccess_ restrited - public_
network_ boolaccess_ enabled - Whether public network access is allowed for the Cognitive Account. Defaults to
true. - qna_
runtime_ strendpoint - A URL to link a QnAMaker cognitive account to a QnA runtime.
- storages
Sequence[Account
Storage Args] - A
storageblock as defined below. - Mapping[str, str]
- A mapping of tags to assign to the resource.
- kind String
- Specifies the type of Cognitive Service Account that should be created. Possible values are
Academic,AnomalyDetector,Bing.Autosuggest,Bing.Autosuggest.v7,Bing.CustomSearch,Bing.Search,Bing.Search.v7,Bing.Speech,Bing.SpellCheck,Bing.SpellCheck.v7,CognitiveServices,ComputerVision,ContentModerator,CustomSpeech,CustomVision.Prediction,CustomVision.Training,Emotion,Face,FormRecognizer,ImmersiveReader,LUIS,LUIS.Authoring,MetricsAdvisor,Personalizer,QnAMaker,Recommendations,SpeakerRecognition,Speech,SpeechServices,SpeechTranslation,TextAnalytics,TextTranslationandWebLM. Changing this forces a new resource to be created. - resource
Group StringName - The name of the resource group in which the Cognitive Service Account is created. Changing this forces a new resource to be created.
- sku
Name String - Specifies the SKU Name for this Cognitive Service Account. Possible values are
F0,F1,S,S0,S1,S2,S3,S4,S5,S6,P0,P1, andP2. - custom
Subdomain StringName - The subdomain name used for token-based authentication. Changing this forces a new resource to be created.
- fqdns List<String>
- List of FQDNs allowed for the Cognitive Account.
- identity Property Map
- An
identityblock as defined below. - local
Auth BooleanEnabled - Whether local authentication methods is enabled for the Cognitive Account. Defaults to
true. - location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- metrics
Advisor StringAad Client Id - The Azure AD Client ID (Application ID). This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - metrics
Advisor StringAad Tenant Id - The Azure AD Tenant ID. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - metrics
Advisor StringSuper User Name - The super user of Metrics Advisor. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - metrics
Advisor StringWebsite Name - The website name of Metrics Advisor. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - name String
- Specifies the name of the Cognitive Service Account. Changing this forces a new resource to be created.
- network
Acls Property Map - A
network_aclsblock as defined below. - outbound
Network BooleanAccess Restrited - public
Network BooleanAccess Enabled - Whether public network access is allowed for the Cognitive Account. Defaults to
true. - qna
Runtime StringEndpoint - A URL to link a QnAMaker cognitive account to a QnA runtime.
- storages List<Property Map>
- A
storageblock as defined below. - Map<String>
- A mapping of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Account resource produces the following output properties:
- Endpoint string
- The endpoint used to connect to the Cognitive Service Account.
- Id string
- The provider-assigned unique ID for this managed resource.
- Primary
Access stringKey - A primary access key which can be used to connect to the Cognitive Service Account.
- Secondary
Access stringKey - The secondary access key which can be used to connect to the Cognitive Service Account.
- Endpoint string
- The endpoint used to connect to the Cognitive Service Account.
- Id string
- The provider-assigned unique ID for this managed resource.
- Primary
Access stringKey - A primary access key which can be used to connect to the Cognitive Service Account.
- Secondary
Access stringKey - The secondary access key which can be used to connect to the Cognitive Service Account.
- endpoint String
- The endpoint used to connect to the Cognitive Service Account.
- id String
- The provider-assigned unique ID for this managed resource.
- primary
Access StringKey - A primary access key which can be used to connect to the Cognitive Service Account.
- secondary
Access StringKey - The secondary access key which can be used to connect to the Cognitive Service Account.
- endpoint string
- The endpoint used to connect to the Cognitive Service Account.
- id string
- The provider-assigned unique ID for this managed resource.
- primary
Access stringKey - A primary access key which can be used to connect to the Cognitive Service Account.
- secondary
Access stringKey - The secondary access key which can be used to connect to the Cognitive Service Account.
- endpoint str
- The endpoint used to connect to the Cognitive Service Account.
- id str
- The provider-assigned unique ID for this managed resource.
- primary_
access_ strkey - A primary access key which can be used to connect to the Cognitive Service Account.
- secondary_
access_ strkey - The secondary access key which can be used to connect to the Cognitive Service Account.
- endpoint String
- The endpoint used to connect to the Cognitive Service Account.
- id String
- The provider-assigned unique ID for this managed resource.
- primary
Access StringKey - A primary access key which can be used to connect to the Cognitive Service Account.
- secondary
Access StringKey - The secondary access key which can be used to connect to the Cognitive Service Account.
Look up Existing Account Resource
Get an existing Account resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AccountState, opts?: CustomResourceOptions): Account@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
custom_subdomain_name: Optional[str] = None,
endpoint: Optional[str] = None,
fqdns: Optional[Sequence[str]] = None,
identity: Optional[AccountIdentityArgs] = None,
kind: Optional[str] = None,
local_auth_enabled: Optional[bool] = None,
location: Optional[str] = None,
metrics_advisor_aad_client_id: Optional[str] = None,
metrics_advisor_aad_tenant_id: Optional[str] = None,
metrics_advisor_super_user_name: Optional[str] = None,
metrics_advisor_website_name: Optional[str] = None,
name: Optional[str] = None,
network_acls: Optional[AccountNetworkAclsArgs] = None,
outbound_network_access_restrited: Optional[bool] = None,
primary_access_key: Optional[str] = None,
public_network_access_enabled: Optional[bool] = None,
qna_runtime_endpoint: Optional[str] = None,
resource_group_name: Optional[str] = None,
secondary_access_key: Optional[str] = None,
sku_name: Optional[str] = None,
storages: Optional[Sequence[AccountStorageArgs]] = None,
tags: Optional[Mapping[str, str]] = None) -> Accountfunc GetAccount(ctx *Context, name string, id IDInput, state *AccountState, opts ...ResourceOption) (*Account, error)public static Account Get(string name, Input<string> id, AccountState? state, CustomResourceOptions? opts = null)public static Account get(String name, Output<String> id, AccountState state, CustomResourceOptions options)resources: _: type: azure:cognitive:Account get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Custom
Subdomain stringName - The subdomain name used for token-based authentication. Changing this forces a new resource to be created.
- Endpoint string
- The endpoint used to connect to the Cognitive Service Account.
- Fqdns List<string>
- List of FQDNs allowed for the Cognitive Account.
- Identity
Account
Identity - An
identityblock as defined below. - Kind string
- Specifies the type of Cognitive Service Account that should be created. Possible values are
Academic,AnomalyDetector,Bing.Autosuggest,Bing.Autosuggest.v7,Bing.CustomSearch,Bing.Search,Bing.Search.v7,Bing.Speech,Bing.SpellCheck,Bing.SpellCheck.v7,CognitiveServices,ComputerVision,ContentModerator,CustomSpeech,CustomVision.Prediction,CustomVision.Training,Emotion,Face,FormRecognizer,ImmersiveReader,LUIS,LUIS.Authoring,MetricsAdvisor,Personalizer,QnAMaker,Recommendations,SpeakerRecognition,Speech,SpeechServices,SpeechTranslation,TextAnalytics,TextTranslationandWebLM. Changing this forces a new resource to be created. - Local
Auth boolEnabled - Whether local authentication methods is enabled for the Cognitive Account. Defaults to
true. - Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Metrics
Advisor stringAad Client Id - The Azure AD Client ID (Application ID). This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - Metrics
Advisor stringAad Tenant Id - The Azure AD Tenant ID. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - Metrics
Advisor stringSuper User Name - The super user of Metrics Advisor. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - Metrics
Advisor stringWebsite Name - The website name of Metrics Advisor. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - Name string
- Specifies the name of the Cognitive Service Account. Changing this forces a new resource to be created.
- Network
Acls AccountNetwork Acls - A
network_aclsblock as defined below. - Outbound
Network boolAccess Restrited - Primary
Access stringKey - A primary access key which can be used to connect to the Cognitive Service Account.
- Public
Network boolAccess Enabled - Whether public network access is allowed for the Cognitive Account. Defaults to
true. - Qna
Runtime stringEndpoint - A URL to link a QnAMaker cognitive account to a QnA runtime.
- Resource
Group stringName - The name of the resource group in which the Cognitive Service Account is created. Changing this forces a new resource to be created.
- Secondary
Access stringKey - The secondary access key which can be used to connect to the Cognitive Service Account.
- Sku
Name string - Specifies the SKU Name for this Cognitive Service Account. Possible values are
F0,F1,S,S0,S1,S2,S3,S4,S5,S6,P0,P1, andP2. - Storages
List<Account
Storage> - A
storageblock as defined below. - Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Custom
Subdomain stringName - The subdomain name used for token-based authentication. Changing this forces a new resource to be created.
- Endpoint string
- The endpoint used to connect to the Cognitive Service Account.
- Fqdns []string
- List of FQDNs allowed for the Cognitive Account.
- Identity
Account
Identity Args - An
identityblock as defined below. - Kind string
- Specifies the type of Cognitive Service Account that should be created. Possible values are
Academic,AnomalyDetector,Bing.Autosuggest,Bing.Autosuggest.v7,Bing.CustomSearch,Bing.Search,Bing.Search.v7,Bing.Speech,Bing.SpellCheck,Bing.SpellCheck.v7,CognitiveServices,ComputerVision,ContentModerator,CustomSpeech,CustomVision.Prediction,CustomVision.Training,Emotion,Face,FormRecognizer,ImmersiveReader,LUIS,LUIS.Authoring,MetricsAdvisor,Personalizer,QnAMaker,Recommendations,SpeakerRecognition,Speech,SpeechServices,SpeechTranslation,TextAnalytics,TextTranslationandWebLM. Changing this forces a new resource to be created. - Local
Auth boolEnabled - Whether local authentication methods is enabled for the Cognitive Account. Defaults to
true. - Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Metrics
Advisor stringAad Client Id - The Azure AD Client ID (Application ID). This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - Metrics
Advisor stringAad Tenant Id - The Azure AD Tenant ID. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - Metrics
Advisor stringSuper User Name - The super user of Metrics Advisor. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - Metrics
Advisor stringWebsite Name - The website name of Metrics Advisor. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - Name string
- Specifies the name of the Cognitive Service Account. Changing this forces a new resource to be created.
- Network
Acls AccountNetwork Acls Args - A
network_aclsblock as defined below. - Outbound
Network boolAccess Restrited - Primary
Access stringKey - A primary access key which can be used to connect to the Cognitive Service Account.
- Public
Network boolAccess Enabled - Whether public network access is allowed for the Cognitive Account. Defaults to
true. - Qna
Runtime stringEndpoint - A URL to link a QnAMaker cognitive account to a QnA runtime.
- Resource
Group stringName - The name of the resource group in which the Cognitive Service Account is created. Changing this forces a new resource to be created.
- Secondary
Access stringKey - The secondary access key which can be used to connect to the Cognitive Service Account.
- Sku
Name string - Specifies the SKU Name for this Cognitive Service Account. Possible values are
F0,F1,S,S0,S1,S2,S3,S4,S5,S6,P0,P1, andP2. - Storages
[]Account
Storage Args - A
storageblock as defined below. - map[string]string
- A mapping of tags to assign to the resource.
- custom
Subdomain StringName - The subdomain name used for token-based authentication. Changing this forces a new resource to be created.
- endpoint String
- The endpoint used to connect to the Cognitive Service Account.
- fqdns List<String>
- List of FQDNs allowed for the Cognitive Account.
- identity
Account
Identity - An
identityblock as defined below. - kind String
- Specifies the type of Cognitive Service Account that should be created. Possible values are
Academic,AnomalyDetector,Bing.Autosuggest,Bing.Autosuggest.v7,Bing.CustomSearch,Bing.Search,Bing.Search.v7,Bing.Speech,Bing.SpellCheck,Bing.SpellCheck.v7,CognitiveServices,ComputerVision,ContentModerator,CustomSpeech,CustomVision.Prediction,CustomVision.Training,Emotion,Face,FormRecognizer,ImmersiveReader,LUIS,LUIS.Authoring,MetricsAdvisor,Personalizer,QnAMaker,Recommendations,SpeakerRecognition,Speech,SpeechServices,SpeechTranslation,TextAnalytics,TextTranslationandWebLM. Changing this forces a new resource to be created. - local
Auth BooleanEnabled - Whether local authentication methods is enabled for the Cognitive Account. Defaults to
true. - location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- metrics
Advisor StringAad Client Id - The Azure AD Client ID (Application ID). This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - metrics
Advisor StringAad Tenant Id - The Azure AD Tenant ID. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - metrics
Advisor StringSuper User Name - The super user of Metrics Advisor. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - metrics
Advisor StringWebsite Name - The website name of Metrics Advisor. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - name String
- Specifies the name of the Cognitive Service Account. Changing this forces a new resource to be created.
- network
Acls AccountNetwork Acls - A
network_aclsblock as defined below. - outbound
Network BooleanAccess Restrited - primary
Access StringKey - A primary access key which can be used to connect to the Cognitive Service Account.
- public
Network BooleanAccess Enabled - Whether public network access is allowed for the Cognitive Account. Defaults to
true. - qna
Runtime StringEndpoint - A URL to link a QnAMaker cognitive account to a QnA runtime.
- resource
Group StringName - The name of the resource group in which the Cognitive Service Account is created. Changing this forces a new resource to be created.
- secondary
Access StringKey - The secondary access key which can be used to connect to the Cognitive Service Account.
- sku
Name String - Specifies the SKU Name for this Cognitive Service Account. Possible values are
F0,F1,S,S0,S1,S2,S3,S4,S5,S6,P0,P1, andP2. - storages
List<Account
Storage> - A
storageblock as defined below. - Map<String,String>
- A mapping of tags to assign to the resource.
- custom
Subdomain stringName - The subdomain name used for token-based authentication. Changing this forces a new resource to be created.
- endpoint string
- The endpoint used to connect to the Cognitive Service Account.
- fqdns string[]
- List of FQDNs allowed for the Cognitive Account.
- identity
Account
Identity - An
identityblock as defined below. - kind string
- Specifies the type of Cognitive Service Account that should be created. Possible values are
Academic,AnomalyDetector,Bing.Autosuggest,Bing.Autosuggest.v7,Bing.CustomSearch,Bing.Search,Bing.Search.v7,Bing.Speech,Bing.SpellCheck,Bing.SpellCheck.v7,CognitiveServices,ComputerVision,ContentModerator,CustomSpeech,CustomVision.Prediction,CustomVision.Training,Emotion,Face,FormRecognizer,ImmersiveReader,LUIS,LUIS.Authoring,MetricsAdvisor,Personalizer,QnAMaker,Recommendations,SpeakerRecognition,Speech,SpeechServices,SpeechTranslation,TextAnalytics,TextTranslationandWebLM. Changing this forces a new resource to be created. - local
Auth booleanEnabled - Whether local authentication methods is enabled for the Cognitive Account. Defaults to
true. - location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- metrics
Advisor stringAad Client Id - The Azure AD Client ID (Application ID). This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - metrics
Advisor stringAad Tenant Id - The Azure AD Tenant ID. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - metrics
Advisor stringSuper User Name - The super user of Metrics Advisor. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - metrics
Advisor stringWebsite Name - The website name of Metrics Advisor. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - name string
- Specifies the name of the Cognitive Service Account. Changing this forces a new resource to be created.
- network
Acls AccountNetwork Acls - A
network_aclsblock as defined below. - outbound
Network booleanAccess Restrited - primary
Access stringKey - A primary access key which can be used to connect to the Cognitive Service Account.
- public
Network booleanAccess Enabled - Whether public network access is allowed for the Cognitive Account. Defaults to
true. - qna
Runtime stringEndpoint - A URL to link a QnAMaker cognitive account to a QnA runtime.
- resource
Group stringName - The name of the resource group in which the Cognitive Service Account is created. Changing this forces a new resource to be created.
- secondary
Access stringKey - The secondary access key which can be used to connect to the Cognitive Service Account.
- sku
Name string - Specifies the SKU Name for this Cognitive Service Account. Possible values are
F0,F1,S,S0,S1,S2,S3,S4,S5,S6,P0,P1, andP2. - storages
Account
Storage[] - A
storageblock as defined below. - {[key: string]: string}
- A mapping of tags to assign to the resource.
- custom_
subdomain_ strname - The subdomain name used for token-based authentication. Changing this forces a new resource to be created.
- endpoint str
- The endpoint used to connect to the Cognitive Service Account.
- fqdns Sequence[str]
- List of FQDNs allowed for the Cognitive Account.
- identity
Account
Identity Args - An
identityblock as defined below. - kind str
- Specifies the type of Cognitive Service Account that should be created. Possible values are
Academic,AnomalyDetector,Bing.Autosuggest,Bing.Autosuggest.v7,Bing.CustomSearch,Bing.Search,Bing.Search.v7,Bing.Speech,Bing.SpellCheck,Bing.SpellCheck.v7,CognitiveServices,ComputerVision,ContentModerator,CustomSpeech,CustomVision.Prediction,CustomVision.Training,Emotion,Face,FormRecognizer,ImmersiveReader,LUIS,LUIS.Authoring,MetricsAdvisor,Personalizer,QnAMaker,Recommendations,SpeakerRecognition,Speech,SpeechServices,SpeechTranslation,TextAnalytics,TextTranslationandWebLM. Changing this forces a new resource to be created. - local_
auth_ boolenabled - Whether local authentication methods is enabled for the Cognitive Account. Defaults to
true. - location str
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- metrics_
advisor_ straad_ client_ id - The Azure AD Client ID (Application ID). This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - metrics_
advisor_ straad_ tenant_ id - The Azure AD Tenant ID. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - metrics_
advisor_ strsuper_ user_ name - The super user of Metrics Advisor. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - metrics_
advisor_ strwebsite_ name - The website name of Metrics Advisor. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - name str
- Specifies the name of the Cognitive Service Account. Changing this forces a new resource to be created.
- network_
acls AccountNetwork Acls Args - A
network_aclsblock as defined below. - outbound_
network_ boolaccess_ restrited - primary_
access_ strkey - A primary access key which can be used to connect to the Cognitive Service Account.
- public_
network_ boolaccess_ enabled - Whether public network access is allowed for the Cognitive Account. Defaults to
true. - qna_
runtime_ strendpoint - A URL to link a QnAMaker cognitive account to a QnA runtime.
- resource_
group_ strname - The name of the resource group in which the Cognitive Service Account is created. Changing this forces a new resource to be created.
- secondary_
access_ strkey - The secondary access key which can be used to connect to the Cognitive Service Account.
- sku_
name str - Specifies the SKU Name for this Cognitive Service Account. Possible values are
F0,F1,S,S0,S1,S2,S3,S4,S5,S6,P0,P1, andP2. - storages
Sequence[Account
Storage Args] - A
storageblock as defined below. - Mapping[str, str]
- A mapping of tags to assign to the resource.
- custom
Subdomain StringName - The subdomain name used for token-based authentication. Changing this forces a new resource to be created.
- endpoint String
- The endpoint used to connect to the Cognitive Service Account.
- fqdns List<String>
- List of FQDNs allowed for the Cognitive Account.
- identity Property Map
- An
identityblock as defined below. - kind String
- Specifies the type of Cognitive Service Account that should be created. Possible values are
Academic,AnomalyDetector,Bing.Autosuggest,Bing.Autosuggest.v7,Bing.CustomSearch,Bing.Search,Bing.Search.v7,Bing.Speech,Bing.SpellCheck,Bing.SpellCheck.v7,CognitiveServices,ComputerVision,ContentModerator,CustomSpeech,CustomVision.Prediction,CustomVision.Training,Emotion,Face,FormRecognizer,ImmersiveReader,LUIS,LUIS.Authoring,MetricsAdvisor,Personalizer,QnAMaker,Recommendations,SpeakerRecognition,Speech,SpeechServices,SpeechTranslation,TextAnalytics,TextTranslationandWebLM. Changing this forces a new resource to be created. - local
Auth BooleanEnabled - Whether local authentication methods is enabled for the Cognitive Account. Defaults to
true. - location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- metrics
Advisor StringAad Client Id - The Azure AD Client ID (Application ID). This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - metrics
Advisor StringAad Tenant Id - The Azure AD Tenant ID. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - metrics
Advisor StringSuper User Name - The super user of Metrics Advisor. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - metrics
Advisor StringWebsite Name - The website name of Metrics Advisor. This attribute is only set when kind is
MetricsAdvisor. Changing this forces a new resource to be created. - name String
- Specifies the name of the Cognitive Service Account. Changing this forces a new resource to be created.
- network
Acls Property Map - A
network_aclsblock as defined below. - outbound
Network BooleanAccess Restrited - primary
Access StringKey - A primary access key which can be used to connect to the Cognitive Service Account.
- public
Network BooleanAccess Enabled - Whether public network access is allowed for the Cognitive Account. Defaults to
true. - qna
Runtime StringEndpoint - A URL to link a QnAMaker cognitive account to a QnA runtime.
- resource
Group StringName - The name of the resource group in which the Cognitive Service Account is created. Changing this forces a new resource to be created.
- secondary
Access StringKey - The secondary access key which can be used to connect to the Cognitive Service Account.
- sku
Name String - Specifies the SKU Name for this Cognitive Service Account. Possible values are
F0,F1,S,S0,S1,S2,S3,S4,S5,S6,P0,P1, andP2. - storages List<Property Map>
- A
storageblock as defined below. - Map<String>
- A mapping of tags to assign to the resource.
Supporting Types
AccountIdentity, AccountIdentityArgs
- Type string
- Specifies the type of Managed Service Identity that should be configured on the Cognitive Account. Possible values are
SystemAssigned,UserAssigned,SystemAssigned, UserAssigned(to enable both). - Identity
Ids List<string> - A list of IDs for User Assigned Managed Identity resources to be assigned.
- Principal
Id string - Tenant
Id string
- Type string
- Specifies the type of Managed Service Identity that should be configured on the Cognitive Account. Possible values are
SystemAssigned,UserAssigned,SystemAssigned, UserAssigned(to enable both). - Identity
Ids []string - A list of IDs for User Assigned Managed Identity resources to be assigned.
- Principal
Id string - Tenant
Id string
- type String
- Specifies the type of Managed Service Identity that should be configured on the Cognitive Account. Possible values are
SystemAssigned,UserAssigned,SystemAssigned, UserAssigned(to enable both). - identity
Ids List<String> - A list of IDs for User Assigned Managed Identity resources to be assigned.
- principal
Id String - tenant
Id String
- type string
- Specifies the type of Managed Service Identity that should be configured on the Cognitive Account. Possible values are
SystemAssigned,UserAssigned,SystemAssigned, UserAssigned(to enable both). - identity
Ids string[] - A list of IDs for User Assigned Managed Identity resources to be assigned.
- principal
Id string - tenant
Id string
- type str
- Specifies the type of Managed Service Identity that should be configured on the Cognitive Account. Possible values are
SystemAssigned,UserAssigned,SystemAssigned, UserAssigned(to enable both). - identity_
ids Sequence[str] - A list of IDs for User Assigned Managed Identity resources to be assigned.
- principal_
id str - tenant_
id str
- type String
- Specifies the type of Managed Service Identity that should be configured on the Cognitive Account. Possible values are
SystemAssigned,UserAssigned,SystemAssigned, UserAssigned(to enable both). - identity
Ids List<String> - A list of IDs for User Assigned Managed Identity resources to be assigned.
- principal
Id String - tenant
Id String
AccountNetworkAcls, AccountNetworkAclsArgs
- Default
Action string - The Default Action to use when no rules match from
ip_rules/virtual_network_subnet_ids. Possible values areAllowandDeny. - Ip
Rules List<string> - One or more IP Addresses, or CIDR Blocks which should be able to access the Cognitive Account.
- Virtual
Network List<AccountRules Network Acls Virtual Network Rule> - A
virtual_network_rulesblock as defined below. - Virtual
Network List<string>Subnet Ids
- Default
Action string - The Default Action to use when no rules match from
ip_rules/virtual_network_subnet_ids. Possible values areAllowandDeny. - Ip
Rules []string - One or more IP Addresses, or CIDR Blocks which should be able to access the Cognitive Account.
- Virtual
Network []AccountRules Network Acls Virtual Network Rule - A
virtual_network_rulesblock as defined below. - Virtual
Network []stringSubnet Ids
- default
Action String - The Default Action to use when no rules match from
ip_rules/virtual_network_subnet_ids. Possible values areAllowandDeny. - ip
Rules List<String> - One or more IP Addresses, or CIDR Blocks which should be able to access the Cognitive Account.
- virtual
Network List<AccountRules Network Acls Virtual Network Rule> - A
virtual_network_rulesblock as defined below. - virtual
Network List<String>Subnet Ids
- default
Action string - The Default Action to use when no rules match from
ip_rules/virtual_network_subnet_ids. Possible values areAllowandDeny. - ip
Rules string[] - One or more IP Addresses, or CIDR Blocks which should be able to access the Cognitive Account.
- virtual
Network AccountRules Network Acls Virtual Network Rule[] - A
virtual_network_rulesblock as defined below. - virtual
Network string[]Subnet Ids
- default_
action str - The Default Action to use when no rules match from
ip_rules/virtual_network_subnet_ids. Possible values areAllowandDeny. - ip_
rules Sequence[str] - One or more IP Addresses, or CIDR Blocks which should be able to access the Cognitive Account.
- virtual_
network_ Sequence[Accountrules Network Acls Virtual Network Rule] - A
virtual_network_rulesblock as defined below. - virtual_
network_ Sequence[str]subnet_ ids
- default
Action String - The Default Action to use when no rules match from
ip_rules/virtual_network_subnet_ids. Possible values areAllowandDeny. - ip
Rules List<String> - One or more IP Addresses, or CIDR Blocks which should be able to access the Cognitive Account.
- virtual
Network List<Property Map>Rules - A
virtual_network_rulesblock as defined below. - virtual
Network List<String>Subnet Ids
AccountNetworkAclsVirtualNetworkRule, AccountNetworkAclsVirtualNetworkRuleArgs
- Subnet
Id string - The ID of the subnet which should be able to access this Cognitive Account.
- Ignore
Missing boolVnet Service Endpoint - Whether ignore missing vnet service endpoint or not. Default to
false.
- Subnet
Id string - The ID of the subnet which should be able to access this Cognitive Account.
- Ignore
Missing boolVnet Service Endpoint - Whether ignore missing vnet service endpoint or not. Default to
false.
- subnet
Id String - The ID of the subnet which should be able to access this Cognitive Account.
- ignore
Missing BooleanVnet Service Endpoint - Whether ignore missing vnet service endpoint or not. Default to
false.
- subnet
Id string - The ID of the subnet which should be able to access this Cognitive Account.
- ignore
Missing booleanVnet Service Endpoint - Whether ignore missing vnet service endpoint or not. Default to
false.
- subnet_
id str - The ID of the subnet which should be able to access this Cognitive Account.
- ignore_
missing_ boolvnet_ service_ endpoint - Whether ignore missing vnet service endpoint or not. Default to
false.
- subnet
Id String - The ID of the subnet which should be able to access this Cognitive Account.
- ignore
Missing BooleanVnet Service Endpoint - Whether ignore missing vnet service endpoint or not. Default to
false.
AccountStorage, AccountStorageArgs
- Storage
Account stringId - Full resource id of a Microsoft.Storage resource.
- Identity
Client stringId - The client ID of the managed identity associated with the storage resource.
- Storage
Account stringId - Full resource id of a Microsoft.Storage resource.
- Identity
Client stringId - The client ID of the managed identity associated with the storage resource.
- storage
Account StringId - Full resource id of a Microsoft.Storage resource.
- identity
Client StringId - The client ID of the managed identity associated with the storage resource.
- storage
Account stringId - Full resource id of a Microsoft.Storage resource.
- identity
Client stringId - The client ID of the managed identity associated with the storage resource.
- storage_
account_ strid - Full resource id of a Microsoft.Storage resource.
- identity_
client_ strid - The client ID of the managed identity associated with the storage resource.
- storage
Account StringId - Full resource id of a Microsoft.Storage resource.
- identity
Client StringId - The client ID of the managed identity associated with the storage resource.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
