Modifier

Partager via


Get-AzCognitiveServicesAccountSku

Gets the available SKUs for an account.

Syntax

Get-AzCognitiveServicesAccountSku
   [-Type <String>]
   [-Location <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzCognitiveServicesAccountSku cmdlet gets the available SKUs for a Cognitive Services account. The SKU is the tier plan for an account. It defines the price, call limit, and rate for the account. The F0 SKU is a free tier. Paid tiers include S0, S1, S2, and so on.

Examples

Example 1

(Get-AzCognitiveServicesAccountSku -Type 'TextAnalytics' -Location "westus").Value | Select-Object -ExpandProperty Sku;

Name     Tier
----     ----
F0       Free
S0   Standard

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Location

Cognitive Services Account Location.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Type

Cognitive Services Account Type.

Type:String
Aliases:CognitiveServicesAccountType, AccountType, Kind
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

Outputs

ResourceSku