Edit

Share via


Get-AzCognitiveServicesAccountType

Gets the available Cognitive Services Account Types.

Syntax

GetAccountTypes (Default)

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

GetAccountTypeWithName

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.

Parameter properties

Type:IAzureContextContainer
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzContext, AzureRmContext, AzureCredential

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Location

Cognitive Services Account Location.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

GetAccountTypes
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-TypeName

Cognitive Services Account Type Name.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:CognitiveServicesAccountTypeName, AccountTypeName, KindName

Parameter sets

GetAccountTypeWithName
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

String

Outputs

String

String