Editar

Partilhar via


Get-AzCognitiveServicesAccountType

Gets the available Cognitive Services Account Types.

Syntax

Get-AzCognitiveServicesAccountType
   [-Location <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzCognitiveServicesAccountType
   -TypeName <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzCognitiveServicesAccountType cmdlet gets the available Cognitive Services Account Types under this subscription.

Examples

Example 1

Get-AzCognitiveServicesAccountType

CognitiveServices
ComputerVision
Face
FormRecognizer
LUIS

Get the list of available Types.

Example 2

Get-AzCognitiveServicesAccountType -Location westus

CognitiveServices
ComputerVision
Face
FormRecognizer
LUIS

Get the list of available Types in westus.

Example 3

Get-AzCognitiveServicesAccountType -TypeName Face

Face

Check if Face is a valid Type name, the name will be returned if it is a valid name.

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

-TypeName

Cognitive Services Account Type Name.

Type:String
Aliases:CognitiveServicesAccountTypeName, AccountTypeName, KindName
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

Outputs

String[]

String