Get-AzCognitiveServicesAccountSku
取得帳戶的可用 SKU。
語法
Get-AzCognitiveServicesAccountSku
[-Type <String>]
[-Location <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzCognitiveServicesAccountSku Cmdlet 會取得認知服務帳戶可用的 SKU。 SKU 是帳戶的階層方案。 它會定義帳戶的價格、通話限制和費率。 F0 SKU 是免費層。 付費層包括 S0、S1、S2 等等。
範例
範例 1
(Get-AzCognitiveServicesAccountSku -Type 'TextAnalytics' -Location "westus").Value | Select-Object -ExpandProperty Sku;
Name Tier
---- ----
F0 Free
S0 Standard
參數
-DefaultProfile
用於與 azure 通訊的認證、帳戶、租用戶和訂用帳戶
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Location
認知服務帳戶位置。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | True |
接受萬用字元: | False |
-Type
認知服務帳戶類型。
類型: | String |
別名: | CognitiveServicesAccountType, AccountType, Kind |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | True |
接受萬用字元: | False |