Freigeben über


Commitment Tiers - List

List Commitment Tiers.

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/commitmentTiers?api-version=2024-10-01

URI Parameters

Name In Required Type Description
location
path True

string

Resource location.

subscriptionId
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

CommitmentTierListResult

OK.

Other Status Codes

ErrorResponse

Error response describing why the operation failed.

Examples

ListCommitmentTiers

Sample request

GET https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.CognitiveServices/locations/location/commitmentTiers?api-version=2024-10-01

Sample response

{
  "value": [
    {
      "kind": "TextAnalytics",
      "skuName": "S",
      "hostingModel": "Web",
      "planType": "TA",
      "tier": "T1",
      "quota": {
        "quantity": 1000000,
        "unit": "Transaction"
      },
      "cost": {}
    }
  ]
}

Definitions

Name Description
CommitmentCost

Cognitive Services account commitment cost.

CommitmentQuota

Cognitive Services account commitment quota.

CommitmentTier

Cognitive Services account commitment tier.

CommitmentTierListResult

The list of cognitive services accounts operation response.

ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Error response

HostingModel

Account hosting model.

CommitmentCost

Cognitive Services account commitment cost.

Name Type Description
commitmentMeterId

string

Commitment meter Id.

overageMeterId

string

Overage meter Id.

CommitmentQuota

Cognitive Services account commitment quota.

Name Type Description
quantity

integer

Commitment quota quantity.

unit

string

Commitment quota unit.

CommitmentTier

Cognitive Services account commitment tier.

Name Type Description
cost

CommitmentCost

Cognitive Services account commitment cost.

hostingModel

HostingModel

Account hosting model.

kind

string

The Kind of the resource.

maxCount

integer

Commitment period commitment max count.

planType

string

Commitment plan type.

quota

CommitmentQuota

Cognitive Services account commitment quota.

skuName

string

The name of the SKU. Ex - P3. It is typically a letter+number code

tier

string

Commitment period commitment tier.

CommitmentTierListResult

The list of cognitive services accounts operation response.

Name Type Description
nextLink

string

The link used to get the next page of CommitmentTier.

value

CommitmentTier[]

Gets the list of Cognitive Services accounts CommitmentTier and their properties.

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

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorDetail[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorResponse

Error response

Name Type Description
error

ErrorDetail

The error object.

HostingModel

Account hosting model.

Name Type Description
ConnectedContainer

string

DisconnectedContainer

string

ProvisionedWeb

string

Web

string