Description | : 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. |
Reference | : Link ¶ |
⚼ Request
PUT:
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}
{
resourceGroupName:
string
,
accountName:
string
,
account:
{
,
kind:
string
,
sku:
{
,
name:
string
,
tier:
enum
,
size:
string
,
family:
string
,
capacity:
integer
,
}
identity:
{
,
type:
enum
,
tenantId:
string
,
principalId:
string
,
userAssignedIdentities:
object
,
}
systemData:
{
,
createdBy:
string
,
createdByType:
enum
,
createdAt:
string
,
lastModifiedBy:
string
,
lastModifiedByType:
enum
,
lastModifiedAt:
string
,
}
tags:
object
,
location:
string
,
properties:
}
{
,
provisioningState:
enum
,
endpoint:
string
,
internalId:
string
,
capabilities:
[
]
,
{
,
name:
string
,
value:
string
,
}
isMigrated:
boolean
,
migrationToken:
string
,
skuChangeInfo:
{
,
countOfDowngrades:
number
,
countOfUpgradesAfterDowngrades:
number
,
lastChangeDate:
string
,
}
customSubDomainName:
string
,
networkAcls:
{
,
defaultAction:
enum
,
bypass:
enum
,
ipRules:
[
]
,
{
,
value:
string
,
}
virtualNetworkRules:
}
[
]
,
{
,
id:
string
,
state:
string
,
ignoreMissingVnetServiceEndpoint:
boolean
,
}
encryption:
{
,
keyVaultProperties:
{
,
keyName:
string
,
keyVersion:
string
,
keyVaultUri:
string
,
identityClientId:
string
,
}
keySource:
enum
,
}
userOwnedStorage:
[
]
,
{
,
resourceId:
string
,
identityClientId:
string
,
}
amlWorkspace:
{
,
resourceId:
string
,
identityClientId:
string
,
}
privateEndpointConnections:
[
]
,
{
,
properties:
{
,
privateEndpoint:
{
,
id:
string
,
}
privateLinkServiceConnectionState:
{
,
status:
enum
,
description:
string
,
actionsRequired:
string
,
}
provisioningState:
enum
,
groupIds:
}
[
,
string
,
]
systemData:
{
,
createdBy:
string
,
createdByType:
enum
,
createdAt:
string
,
lastModifiedBy:
string
,
lastModifiedByType:
enum
,
lastModifiedAt:
string
,
}
location:
string
,
}
publicNetworkAccess:
enum
,
apiProperties:
{
,
qnaRuntimeEndpoint:
string
,
qnaAzureSearchEndpointKey:
string
,
qnaAzureSearchEndpointId:
string
,
statisticsEnabled:
boolean
,
eventHubConnectionString:
string
,
storageAccountConnectionString:
string
,
aadClientId:
string
,
aadTenantId:
string
,
superUser:
string
,
websiteName:
string
,
}
dateCreated:
string
,
callRateLimit:
{
,
count:
number
,
renewalPeriod:
number
,
rules:
}
[
]
,
{
,
key:
string
,
renewalPeriod:
number
,
count:
number
,
minCount:
number
,
dynamicThrottlingEnabled:
boolean
,
matchPatterns:
}
[
]
,
{
,
path:
string
,
method:
string
,
}
dynamicThrottlingEnabled:
boolean
,
quotaLimit:
{
,
count:
number
,
renewalPeriod:
number
,
rules:
}
[
]
,
{
,
key:
string
,
renewalPeriod:
number
,
count:
number
,
minCount:
number
,
dynamicThrottlingEnabled:
boolean
,
matchPatterns:
}
[
]
,
{
,
path:
string
,
method:
string
,
}
restrictOutboundNetworkAccess:
boolean
,
allowedFqdnList:
[
,
string
,
]
disableLocalAuth:
boolean
,
endpoints:
object
,
restore:
boolean
,
deletionDate:
string
,
scheduledPurgeDate:
string
,
locations:
{
,
routingMethod:
enum
,
regions:
}
[
]
,
{
,
name:
string
,
value:
number
,
customsubdomain:
string
,
}
commitmentPlanAssociations:
[
]
,
{
,
commitmentPlanId:
string
,
commitmentPlanLocation:
string
,
}
abusePenalty:
{
,
action:
enum
,
rateLimitPercentage:
number
,
expiration:
string
,
}
raiMonitorConfig:
}
{
,
adxStorageResourceId:
string
,
identityClientId:
string
,
}
api-version:
string
,
subscriptionId:
string
,
}
⚐ Response (200)
{
kind:
string
,
sku:
{
,
name:
string
,
tier:
enum
,
size:
string
,
family:
string
,
capacity:
integer
,
}
identity:
{
,
type:
enum
,
tenantId:
string
,
principalId:
string
,
userAssignedIdentities:
object
,
}
systemData:
{
,
createdBy:
string
,
createdByType:
enum
,
createdAt:
string
,
lastModifiedBy:
string
,
lastModifiedByType:
enum
,
lastModifiedAt:
string
,
}
tags:
object
,
location:
string
,
properties:
}
{
,
provisioningState:
enum
,
endpoint:
string
,
internalId:
string
,
capabilities:
[
]
,
{
,
name:
string
,
value:
string
,
}
isMigrated:
boolean
,
migrationToken:
string
,
skuChangeInfo:
{
,
countOfDowngrades:
number
,
countOfUpgradesAfterDowngrades:
number
,
lastChangeDate:
string
,
}
customSubDomainName:
string
,
networkAcls:
{
,
defaultAction:
enum
,
bypass:
enum
,
ipRules:
[
]
,
{
,
value:
string
,
}
virtualNetworkRules:
}
[
]
,
{
,
id:
string
,
state:
string
,
ignoreMissingVnetServiceEndpoint:
boolean
,
}
encryption:
{
,
keyVaultProperties:
{
,
keyName:
string
,
keyVersion:
string
,
keyVaultUri:
string
,
identityClientId:
string
,
}
keySource:
enum
,
}
userOwnedStorage:
[
]
,
{
,
resourceId:
string
,
identityClientId:
string
,
}
amlWorkspace:
{
,
resourceId:
string
,
identityClientId:
string
,
}
privateEndpointConnections:
[
]
,
{
,
properties:
{
,
privateEndpoint:
{
,
id:
string
,
}
privateLinkServiceConnectionState:
{
,
status:
enum
,
description:
string
,
actionsRequired:
string
,
}
provisioningState:
enum
,
groupIds:
}
[
,
string
,
]
systemData:
{
,
createdBy:
string
,
createdByType:
enum
,
createdAt:
string
,
lastModifiedBy:
string
,
lastModifiedByType:
enum
,
lastModifiedAt:
string
,
}
location:
string
,
}
publicNetworkAccess:
enum
,
apiProperties:
{
,
qnaRuntimeEndpoint:
string
,
qnaAzureSearchEndpointKey:
string
,
qnaAzureSearchEndpointId:
string
,
statisticsEnabled:
boolean
,
eventHubConnectionString:
string
,
storageAccountConnectionString:
string
,
aadClientId:
string
,
aadTenantId:
string
,
superUser:
string
,
websiteName:
string
,
}
dateCreated:
string
,
callRateLimit:
{
,
count:
number
,
renewalPeriod:
number
,
rules:
}
[
]
,
{
,
key:
string
,
renewalPeriod:
number
,
count:
number
,
minCount:
number
,
dynamicThrottlingEnabled:
boolean
,
matchPatterns:
}
[
]
,
{
,
path:
string
,
method:
string
,
}
dynamicThrottlingEnabled:
boolean
,
quotaLimit:
{
,
count:
number
,
renewalPeriod:
number
,
rules:
}
[
]
,
{
,
key:
string
,
renewalPeriod:
number
,
count:
number
,
minCount:
number
,
dynamicThrottlingEnabled:
boolean
,
matchPatterns:
}
[
]
,
{
,
path:
string
,
method:
string
,
}
restrictOutboundNetworkAccess:
boolean
,
allowedFqdnList:
[
,
string
,
]
disableLocalAuth:
boolean
,
endpoints:
object
,
restore:
boolean
,
deletionDate:
string
,
scheduledPurgeDate:
string
,
locations:
{
,
routingMethod:
enum
,
regions:
}
[
]
,
{
,
name:
string
,
value:
number
,
customsubdomain:
string
,
}
commitmentPlanAssociations:
[
]
,
{
,
commitmentPlanId:
string
,
commitmentPlanLocation:
string
,
}
abusePenalty:
{
,
action:
enum
,
rateLimitPercentage:
number
,
expiration:
string
,
}
raiMonitorConfig:
}
{
,
adxStorageResourceId:
string
,
identityClientId:
string
,
}
⚐ Response (201)
{
kind:
string
,
sku:
{
,
name:
string
,
tier:
enum
,
size:
string
,
family:
string
,
capacity:
integer
,
}
identity:
{
,
type:
enum
,
tenantId:
string
,
principalId:
string
,
userAssignedIdentities:
object
,
}
systemData:
{
,
createdBy:
string
,
createdByType:
enum
,
createdAt:
string
,
lastModifiedBy:
string
,
lastModifiedByType:
enum
,
lastModifiedAt:
string
,
}
tags:
object
,
location:
string
,
properties:
}
{
,
provisioningState:
enum
,
endpoint:
string
,
internalId:
string
,
capabilities:
[
]
,
{
,
name:
string
,
value:
string
,
}
isMigrated:
boolean
,
migrationToken:
string
,
skuChangeInfo:
{
,
countOfDowngrades:
number
,
countOfUpgradesAfterDowngrades:
number
,
lastChangeDate:
string
,
}
customSubDomainName:
string
,
networkAcls:
{
,
defaultAction:
enum
,
bypass:
enum
,
ipRules:
[
]
,
{
,
value:
string
,
}
virtualNetworkRules:
}
[
]
,
{
,
id:
string
,
state:
string
,
ignoreMissingVnetServiceEndpoint:
boolean
,
}
encryption:
{
,
keyVaultProperties:
{
,
keyName:
string
,
keyVersion:
string
,
keyVaultUri:
string
,
identityClientId:
string
,
}
keySource:
enum
,
}
userOwnedStorage:
[
]
,
{
,
resourceId:
string
,
identityClientId:
string
,
}
amlWorkspace:
{
,
resourceId:
string
,
identityClientId:
string
,
}
privateEndpointConnections:
[
]
,
{
,
properties:
{
,
privateEndpoint:
{
,
id:
string
,
}
privateLinkServiceConnectionState:
{
,
status:
enum
,
description:
string
,
actionsRequired:
string
,
}
provisioningState:
enum
,
groupIds:
}
[
,
string
,
]
systemData:
{
,
createdBy:
string
,
createdByType:
enum
,
createdAt:
string
,
lastModifiedBy:
string
,
lastModifiedByType:
enum
,
lastModifiedAt:
string
,
}
location:
string
,
}
publicNetworkAccess:
enum
,
apiProperties:
{
,
qnaRuntimeEndpoint:
string
,
qnaAzureSearchEndpointKey:
string
,
qnaAzureSearchEndpointId:
string
,
statisticsEnabled:
boolean
,
eventHubConnectionString:
string
,
storageAccountConnectionString:
string
,
aadClientId:
string
,
aadTenantId:
string
,
superUser:
string
,
websiteName:
string
,
}
dateCreated:
string
,
callRateLimit:
{
,
count:
number
,
renewalPeriod:
number
,
rules:
}
[
]
,
{
,
key:
string
,
renewalPeriod:
number
,
count:
number
,
minCount:
number
,
dynamicThrottlingEnabled:
boolean
,
matchPatterns:
}
[
]
,
{
,
path:
string
,
method:
string
,
}
dynamicThrottlingEnabled:
boolean
,
quotaLimit:
{
,
count:
number
,
renewalPeriod:
number
,
rules:
}
[
]
,
{
,
key:
string
,
renewalPeriod:
number
,
count:
number
,
minCount:
number
,
dynamicThrottlingEnabled:
boolean
,
matchPatterns:
}
[
]
,
{
,
path:
string
,
method:
string
,
}
restrictOutboundNetworkAccess:
boolean
,
allowedFqdnList:
[
,
string
,
]
disableLocalAuth:
boolean
,
endpoints:
object
,
restore:
boolean
,
deletionDate:
string
,
scheduledPurgeDate:
string
,
locations:
{
,
routingMethod:
enum
,
regions:
}
[
]
,
{
,
name:
string
,
value:
number
,
customsubdomain:
string
,
}
commitmentPlanAssociations:
[
]
,
{
,
commitmentPlanId:
string
,
commitmentPlanLocation:
string
,
}
abusePenalty:
{
,
action:
enum
,
rateLimitPercentage:
number
,
expiration:
string
,
}
raiMonitorConfig:
}
{
,
adxStorageResourceId:
string
,
identityClientId:
string
,
}
⚐ Response (202)
{
kind:
string
,
sku:
{
,
name:
string
,
tier:
enum
,
size:
string
,
family:
string
,
capacity:
integer
,
}
identity:
{
,
type:
enum
,
tenantId:
string
,
principalId:
string
,
userAssignedIdentities:
object
,
}
systemData:
{
,
createdBy:
string
,
createdByType:
enum
,
createdAt:
string
,
lastModifiedBy:
string
,
lastModifiedByType:
enum
,
lastModifiedAt:
string
,
}
tags:
object
,
location:
string
,
properties:
}
{
,
provisioningState:
enum
,
endpoint:
string
,
internalId:
string
,
capabilities:
[
]
,
{
,
name:
string
,
value:
string
,
}
isMigrated:
boolean
,
migrationToken:
string
,
skuChangeInfo:
{
,
countOfDowngrades:
number
,
countOfUpgradesAfterDowngrades:
number
,
lastChangeDate:
string
,
}
customSubDomainName:
string
,
networkAcls:
{
,
defaultAction:
enum
,
bypass:
enum
,
ipRules:
[
]
,
{
,
value:
string
,
}
virtualNetworkRules:
}
[
]
,
{
,
id:
string
,
state:
string
,
ignoreMissingVnetServiceEndpoint:
boolean
,
}
encryption:
{
,
keyVaultProperties:
{
,
keyName:
string
,
keyVersion:
string
,
keyVaultUri:
string
,
identityClientId:
string
,
}
keySource:
enum
,
}
userOwnedStorage:
[
]
,
{
,
resourceId:
string
,
identityClientId:
string
,
}
amlWorkspace:
{
,
resourceId:
string
,
identityClientId:
string
,
}
privateEndpointConnections:
[
]
,
{
,
properties:
{
,
privateEndpoint:
{
,
id:
string
,
}
privateLinkServiceConnectionState:
{
,
status:
enum
,
description:
string
,
actionsRequired:
string
,
}
provisioningState:
enum
,
groupIds:
}
[
,
string
,
]
systemData:
{
,
createdBy:
string
,
createdByType:
enum
,
createdAt:
string
,
lastModifiedBy:
string
,
lastModifiedByType:
enum
,
lastModifiedAt:
string
,
}
location:
string
,
}
publicNetworkAccess:
enum
,
apiProperties:
{
,
qnaRuntimeEndpoint:
string
,
qnaAzureSearchEndpointKey:
string
,
qnaAzureSearchEndpointId:
string
,
statisticsEnabled:
boolean
,
eventHubConnectionString:
string
,
storageAccountConnectionString:
string
,
aadClientId:
string
,
aadTenantId:
string
,
superUser:
string
,
websiteName:
string
,
}
dateCreated:
string
,
callRateLimit:
{
,
count:
number
,
renewalPeriod:
number
,
rules:
}
[
]
,
{
,
key:
string
,
renewalPeriod:
number
,
count:
number
,
minCount:
number
,
dynamicThrottlingEnabled:
boolean
,
matchPatterns:
}
[
]
,
{
,
path:
string
,
method:
string
,
}
dynamicThrottlingEnabled:
boolean
,
quotaLimit:
{
,
count:
number
,
renewalPeriod:
number
,
rules:
}
[
]
,
{
,
key:
string
,
renewalPeriod:
number
,
count:
number
,
minCount:
number
,
dynamicThrottlingEnabled:
boolean
,
matchPatterns:
}
[
]
,
{
,
path:
string
,
method:
string
,
}
restrictOutboundNetworkAccess:
boolean
,
allowedFqdnList:
[
,
string
,
]
disableLocalAuth:
boolean
,
endpoints:
object
,
restore:
boolean
,
deletionDate:
string
,
scheduledPurgeDate:
string
,
locations:
{
,
routingMethod:
enum
,
regions:
}
[
]
,
{
,
name:
string
,
value:
number
,
customsubdomain:
string
,
}
commitmentPlanAssociations:
[
]
,
{
,
commitmentPlanId:
string
,
commitmentPlanLocation:
string
,
}
abusePenalty:
{
,
action:
enum
,
rateLimitPercentage:
number
,
expiration:
string
,
}
raiMonitorConfig:
}
{
,
adxStorageResourceId:
string
,
identityClientId:
string
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}