你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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 |