Get-AzureRmCognitiveServicesAccountSkus

取得帳戶的可用 SKU。

警告

自 2024 年 2 月 29 日起,AzureRM PowerShell 模組已正式淘汰。 建議使用者從 AzureRM 遷移至 Az PowerShell 模組,以確保持續支援和更新。

雖然 AzureRM 模組可能仍可運作,但不再維護或支援它,但會根據用戶的判斷權和風險放置任何繼續使用。 如需轉換至 Az 模組的指引,請參閱我們的 移轉資源

語法

Get-AzureRmCognitiveServicesAccountSkus
   [-ResourceGroupName] <String>
   [-Name] <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzureRmCognitiveServicesAccountSkus
   [-Type <String>]
   [-Location <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Get-AzureRmCognitiveServicesAccountSkus Cmdlet 會取得認知服務帳戶的可用 SKU。 SKU 是帳戶的階層方案。 它會定義帳戶的價格、通話限制和費率。 F0 SKU 是免費層。 付費層包括 S0、S1、S2 等等。

範例

範例 1

PS C:\> (Get-AzureRmCognitiveServicesAccountSkus -ResourceGroupName cognitive-services-resource-group -Name myluis).Value | Select-Object -E
xpandProperty Sku;

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

參數

-DefaultProfile

用於與 azure 通訊的認證、帳戶、租用戶和訂用帳戶

類型:IAzureContextContainer
別名:AzureRmContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Location

認知服務帳戶位置。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:True
接受萬用字元:False

-Name

指定帳戶的名稱。

類型:String
別名:CognitiveServicesAccountName, AccountName
Position:1
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-ResourceGroupName

指定指派帳戶的資源群組名稱。

類型:String
Position:0
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-Type

認知服務帳戶類型。

類型:String
別名:CognitiveServicesAccountType, AccountType, Kind
Position:Named
預設值:None
必要:False
接受管線輸入:True
接受萬用字元:False

輸入

String

輸出

PSCognitiveServicesSkus