Editar

Compartilhar via


Get-AzCognitiveServicesAccount

Gets an account.

Syntax

Get-AzCognitiveServicesAccount
   [[-ResourceGroupName] <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzCognitiveServicesAccount
   [-ResourceGroupName] <String>
   [-Name] <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzCognitiveServicesAccount
   [-ResourceGroupName] <String>
   [-Name] <String>
   [-Location] <String>
   [-InRemovedState]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzCognitiveServicesAccount
   [-InRemovedState]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzCognitiveServicesAccount cmdlet gets the provisioned Cognitive Services accounts in the resource group specified by the ResourceGroupName parameter. If you do not specify the ResourceGroupName parameter, this cmdlet gets all Cognitive Services accounts for the current subscription.

Examples

Example 1

Get-AzCognitiveServicesAccount -ResourceGroupName cognitive-services-resource-group -name myluis

ResourceGroupName             : cognitive-services-resource-group
AccountName                   : myluis
Id                            : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/cognitive-services-resource-group/providers/Microsoft.Cog
                                nitiveServices/accounts/myluis
Endpoint                      : https://westus.api.cognitive.microsoft.com/luis/v2.0
Location                      : WESTUS
Sku                           : Microsoft.Azure.Management.CognitiveServices.Models.Sku
AccountType                   : LUIS
ResourceType                  : Microsoft.CognitiveServices/accounts
Etag                          : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
ProvisioningState             : Succeeded
CustomSubDomainName           : 
PublicNetworkAccess           : Enabled
Identity                      : 
Encryption                    : 
UserOwnedStorage              : 
PrivateEndpointConnections    : {}
ApiProperties                 : 
Properties                    : Microsoft.Azure.Management.CognitiveServices.Models.AccountProperties
RestrictOutboundNetworkAccess : 
AllowedFqdnList               : 
DisableLocalAuth              : 
NetworkRuleSet                : 
Capabilities                  : {DynamicThrottling, VirtualNetworks, Container}
Tags                          :

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

-InRemovedState

Specifies whether to only show the deleted accounts in the output.

Type:SwitchParameter
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Location

Cognitive Services Account Location.

Type:String
Position:2
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Name

Specifies the name of the Cognitive Services account to get.

Type:String
Aliases:CognitiveServicesAccountName, AccountName
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ResourceGroupName

Specifies the name of the resource group the Cognitive Services account is assigned to.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

Outputs

PSCognitiveServicesAccount