Get-AzApplicationGatewayIdentity

Hämta identitet tilldelad till programgatewayen.

Syntax

Get-AzApplicationGatewayIdentity
   -ApplicationGateway <PSApplicationGateway>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Cmdleten Get-AzApplicationGatewayIdentity hämtar identitet som tilldelats programgatewayen.

Exempel

Exempel 1

$gw = Get-AzApplicationGateway -Name $appgwName -ResourceGroupName $resgpName
$identity = Get-AzApplicationGatewayIdentity -ApplicationGateway $gw

De här exemplen visar hur du hämtar application gateway-identitet från Application Gateway.

Parametrar

-ApplicationGateway

ApplicationGateway

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

-DefaultProfile

Autentiseringsuppgifter, konto, klientorganisation och prenumeration som används för kommunikation med Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Indata

PSApplicationGateway

Utdata

PSManagedServiceIdentity