< Back

New-AzureRmCognitiveServicesAccount

Thu Apr 04, 2019 5:39 am

NAME New-AzureRmCognitiveServicesAccount



SYNOPSIS

Creates a Cognitive Services account.





SYNTAX

New-AzureRmCognitiveServicesAccount [-ResourceGroupName] <String> [-Name] <String> [-Type] <String> [-SkuName] <String> [-Location] <String>

[-DefaultProfile <IAzureContextContainer>] [-Force] [-Tag <Hashtable[]>] [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The New-AzureRmCognitiveServicesAccount cmdlet creates a Cognitive Services account with the specified type and SKU.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Force [<SwitchParameter>]

Forces the command to run without asking for user confirmation.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Location <String>

Specifies the location in which to create the account.



Required? true

Position? 4

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Name <String>

Specifies the name for the account.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of the resource group to which to assign the account. The resource group must already exist.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-SkuName <String>

Specifies the SKU for the account. The acceptable values for this parameter are:



- F0 (free tier)



- S0



- S1



- S2



- S3



- S4





For more information, see Cognitive Service APIs (https://www.microsoft.com/cognitive-services/en-us/apis).





Required? true

Position? 3

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Tag <Hashtable[]>

Specifies a tag as a name/value pair.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Type <String>

Specifies the type of account to create. Current acceptable values for this parameter are:



- Bing.Autosuggest.v7



- Bing.CustomSearch



- Bing.Search.v7



- Bing.Speech



- Bing.SpellCheck.v7



- ComputerVision



- ContentModerator



- CustomSpeech



- CustomVision.Prediction



- CustomVision.Training



- Emotion



- Face



- LUIS



- QnAMaker



- SpeakerRecognition



- SpeechTranslation



- TextAnalytics



- TextTranslation



- WebLM



Required? true

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Commands.Management.CognitiveServices.Models.PSCognitiveServicesAccount







NOTES









1:



New-AzureRmCognitiveServicesAccount -ResourceGroupName 'resourcegroup1' -name 'MyAccountName' -Type TextTranslation -SkuName F0 -Location

'usgovvirginia'











RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... cesaccount

Get-AzureRmCognitiveServicesAccount

Remove-AzureRmCognitiveServicesAccount

Set-AzureRmCognitiveServicesAccount