Get-AzCognitiveServicesAccountType
取得可用的認知服務帳戶類型。
語法
Get-AzCognitiveServicesAccountType
[-Location <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzCognitiveServicesAccountType
-TypeName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzCognitiveServicesAccountType Cmdlet 會取得此訂用帳戶下可用的認知服務帳戶類型。
範例
範例 1
Get-AzCognitiveServicesAccountType
CognitiveServices
ComputerVision
Face
FormRecognizer
LUIS
取得可用的類型清單。
範例 2
Get-AzCognitiveServicesAccountType -Location westus
CognitiveServices
ComputerVision
Face
FormRecognizer
LUIS
取得 westus 中可用的類型清單。
範例 3
Get-AzCognitiveServicesAccountType -TypeName Face
Face
檢查 Face
是否為有效的類型名稱,如果名稱有效,則會傳回名稱。
參數
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Location
認知服務帳戶位置。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | True |
接受萬用字元: | False |
-TypeName
認知服務帳戶類型名稱。
類型: | String |
別名: | CognitiveServicesAccountTypeName, AccountTypeName, KindName |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
輸入
輸出
String[]