Deployments - List
Gets the deployments associated with the Cognitive Services account.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments?api-version=2024-10-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
account
|
path | True |
string |
The name of Cognitive Services account. Regex pattern: |
resource
|
path | True |
string |
The name of the resource group. The name is case insensitive. |
subscription
|
path | True |
string |
The ID of the target subscription. |
api-version
|
query | True |
string |
The API version to use for this operation. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Successfully retrieved deployments. |
|
Other Status Codes |
Error response describing why the operation failed. |
Examples
ListDeployments
Sample request
Sample response
{
"value": [
{
"id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.CognitiveServices/accounts/accountName/deployments/deploymentName",
"name": "deploymentName",
"type": "Microsoft.CognitiveServices/accounts/deployments",
"sku": {
"name": "Standard",
"capacity": 1
},
"properties": {
"model": {
"format": "OpenAI",
"name": "ada",
"version": "1"
},
"provisioningState": "Succeeded"
}
}
]
}
Definitions
Name | Description |
---|---|
Call |
The call rate limit Cognitive Services account. |
created |
The type of identity that created the resource. |
Deployment |
Cognitive Services account deployment. |
Deployment |
Internal use only. |
Deployment |
The list of cognitive services accounts operation response. |
Deployment |
Properties of Cognitive Services account deployment model. |
Deployment |
Deployment model version upgrade option. |
Deployment |
Properties of Cognitive Services account deployment. |
Deployment |
Gets the status of the resource at the time the operation was called. |
Deployment |
Properties of Cognitive Services account deployment model. (Deprecated, please use Deployment.sku instead.) |
Deployment |
Deployment scale type. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Request |
|
Sku |
The resource model definition representing SKU |
Sku |
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. |
system |
Metadata pertaining to creation and last modification of the resource. |
Throttling |
CallRateLimit
The call rate limit Cognitive Services account.
Name | Type | Description |
---|---|---|
count |
number |
The count value of Call Rate Limit. |
renewalPeriod |
number |
The renewal period in seconds of Call Rate Limit. |
rules |
createdByType
The type of identity that created the resource.
Name | Type | Description |
---|---|---|
Application |
string |
|
Key |
string |
|
ManagedIdentity |
string |
|
User |
string |
Deployment
Cognitive Services account deployment.
Name | Type | Description |
---|---|---|
etag |
string |
Resource Etag. |
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 |
properties |
Properties of Cognitive Services account deployment. |
|
sku |
The resource model definition representing SKU |
|
systemData |
Metadata pertaining to creation and last modification of the resource. |
|
tags |
object |
Resource tags. |
type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
DeploymentCapacitySettings
Internal use only.
Name | Type | Description |
---|---|---|
designatedCapacity |
integer |
The designated capacity. |
priority |
integer |
The priority of this capacity setting. |
DeploymentListResult
The list of cognitive services accounts operation response.
Name | Type | Description |
---|---|---|
nextLink |
string |
The link used to get the next page of Deployment. |
value |
Gets the list of Cognitive Services accounts Deployment and their properties. |
DeploymentModel
Properties of Cognitive Services account deployment model.
Name | Type | Description |
---|---|---|
callRateLimit |
The call rate limit Cognitive Services account. |
|
format |
string |
Deployment model format. |
name |
string |
Deployment model name. |
publisher |
string |
Deployment model publisher. |
source |
string |
Optional. Deployment model source ARM resource ID. |
sourceAccount |
string |
Optional. Source of the model, another Microsoft.CognitiveServices accounts ARM resource ID. |
version |
string |
Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API. |
DeploymentModelVersionUpgradeOption
Deployment model version upgrade option.
Name | Type | Description |
---|---|---|
NoAutoUpgrade |
string |
|
OnceCurrentVersionExpired |
string |
|
OnceNewDefaultVersionAvailable |
string |
DeploymentProperties
Properties of Cognitive Services account deployment.
Name | Type | Description |
---|---|---|
callRateLimit |
The call rate limit Cognitive Services account. |
|
capabilities |
object |
The capabilities. |
capacitySettings |
Internal use only. |
|
currentCapacity |
integer |
The current capacity. |
dynamicThrottlingEnabled |
boolean |
If the dynamic throttling is enabled. |
model |
Properties of Cognitive Services account deployment model. |
|
parentDeploymentName |
string |
The name of parent deployment. |
provisioningState |
Gets the status of the resource at the time the operation was called. |
|
raiPolicyName |
string |
The name of RAI policy. |
rateLimits | ||
scaleSettings |
Properties of Cognitive Services account deployment model. (Deprecated, please use Deployment.sku instead.) |
|
versionUpgradeOption |
Deployment model version upgrade option. |
DeploymentProvisioningState
Gets the status of the resource at the time the operation was called.
Name | Type | Description |
---|---|---|
Accepted |
string |
|
Canceled |
string |
|
Creating |
string |
|
Deleting |
string |
|
Disabled |
string |
|
Failed |
string |
|
Moving |
string |
|
Succeeded |
string |
DeploymentScaleSettings
Properties of Cognitive Services account deployment model. (Deprecated, please use Deployment.sku instead.)
Name | Type | Description |
---|---|---|
activeCapacity |
integer |
Deployment active capacity. This value might be different from |
capacity |
integer |
Deployment capacity. |
scaleType |
Deployment scale type. |
DeploymentScaleType
Deployment scale type.
Name | Type | Description |
---|---|---|
Manual |
string |
|
Standard |
string |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
RequestMatchPattern
Name | Type | Description |
---|---|---|
method |
string |
|
path |
string |
Sku
The resource model definition representing SKU
Name | Type | Description |
---|---|---|
capacity |
integer |
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. |
family |
string |
If the service has different generations of hardware, for the same SKU, then that can be captured here. |
name |
string |
The name of the SKU. Ex - P3. It is typically a letter+number code |
size |
string |
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. |
tier |
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. |
SkuTier
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
Name | Type | Description |
---|---|---|
Basic |
string |
|
Enterprise |
string |
|
Free |
string |
|
Premium |
string |
|
Standard |
string |
systemData
Metadata pertaining to creation and last modification of the resource.
Name | Type | Description |
---|---|---|
createdAt |
string |
The timestamp of resource creation (UTC). |
createdBy |
string |
The identity that created the resource. |
createdByType |
The type of identity that created the resource. |
|
lastModifiedAt |
string |
The timestamp of resource last modification (UTC) |
lastModifiedBy |
string |
The identity that last modified the resource. |
lastModifiedByType |
The type of identity that last modified the resource. |
ThrottlingRule
Name | Type | Description |
---|---|---|
count |
number |
|
dynamicThrottlingEnabled |
boolean |
|
key |
string |
|
matchPatterns | ||
minCount |
number |
|
renewalPeriod |
number |