Get-AzApiManagementGatewayKey
Ruft Schlüssel des vorhandenen Gateways ab.
Syntax
Get-AzApiManagementGatewayKey
-Context <PsApiManagementContext>
-GatewayId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Beschreibung
Das Cmdlet Get-AzApiManagementGatewayKey ruft Schlüssel des vorhandenen Gateways ab.
Beispiele
Beispiel 1: Abrufen eines Gateways nach ID
$apimContext = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
Get-AzApiManagementGatewayKey -Context $apimContext -GatewayId "0123456789"
Dieser Befehl ruft die Tasten für ein "0123456789"-Gateway ab.
Parameter
-Context
Instanz von PsApiManagementContext. Dieser Parameter ist erforderlich.
Type: | PsApiManagementContext |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-DefaultProfile
Anmeldeinformationen, Konto, Mandant und Abonnement für die Kommunikation mit Azure
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-GatewayId
Gatewaybezeichner. Dieser Parameter ist erforderlich.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |