Get-AzApiManagementGatewayHostnameConfiguration
Ruft alle oder bestimmte Hostnamenkonfiguration für das vorhandene Gateway ab.
Syntax
Get-AzApiManagementGatewayHostnameConfiguration
-Context <PsApiManagementContext>
-GatewayId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzApiManagementGatewayHostnameConfiguration
-Context <PsApiManagementContext>
-GatewayId <String>
-GatewayHostnameConfigurationId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Beschreibung
Das Cmdlet Get-AzApiManagementGatewayHostnameConfiguration ruft alle oder bestimmte Hostnamenkonfiguration für das vorhandene Gateway ab.
Beispiele
Beispiel 1: Abrufen aller Hostnamenkonfigurationen für das Gateway
$apimContext = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
Get-AzApiManagementGatewayHostnameConfiguration -Context $apimContext -GatewayId "0123456789"
Dieser Befehl ruft alle Hostnamenkonfigurationen für ein "0123456789"-Gateway ab.
Beispiel 2: Abrufen einer Hostnamenkonfiguration für das Gateway
$apimContext = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
Get-AzApiManagementGatewayHostnameConfiguration -Context $apimContext -GatewayId "0123456789" -GatewayHostnameConfigurationId "123"
Dieser Befehl ruft die Hostnamenkonfiguration "123" 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 |
-GatewayHostnameConfigurationId
Hostname-Konfigurationsbezeichner. Dieser Parameter ist optional.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
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 |
Eingaben
Ausgaben
Azure PowerShell
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für