Add-AzApplicationGatewayPrivateLinkConfiguration
Fügt einem Anwendungsgateway eine Konfiguration für private Verknüpfungen hinzu.
Syntax
Add-AzApplicationGatewayPrivateLinkConfiguration
-ApplicationGateway <PSApplicationGateway>
-Name <String>
-IpConfiguration <PSApplicationGatewayPrivateLinkIpConfiguration[]>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Beschreibung
Mit dem Cmdlet Add-AzApplicationGatewayPrivateLinkConfiguration Cmdlet wird einem Anwendungsgateway eine Konfiguration für private Verknüpfungen hinzugefügt.
Beispiele
Beispiel 1
$PrivateLinkIpConfiguration = New-AzApplicationGatewayPrivateLinkIpConfiguration -Name "ipConfig01" -Subnet $subnet -Primary
$AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
$AppGw = Add-AzApplicationGatewayPrivateLinkConfiguration -ApplicationGateway $AppGw -Name "privateLinkConfig01" -IpConfiguration $PrivateLinkIpConfiguration
Der erste Befehl erstellt einen privateLinkIpConfiguration und speichert ihn in der $PrivateLinkIpConfiguration Variablen. Der zweite Befehl ruft das Anwendungsgateway01 ab, das zur Ressourcengruppe "ResourceGroup01" gehört, und speichert es in der $AppGw Variablen. Der dritte Befehl fügt die Private Link-Konfiguration mit dem Namen privateLinkConfig01 für das Gateway in $AppGw
Parameter
-ApplicationGateway
ApplicationGateway
Typ: | PSApplicationGateway |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Pipelineeingabe akzeptieren: | True |
Platzhalterzeichen akzeptieren: | False |
-DefaultProfile
Die Anmeldeinformationen, Konten, Mandanten und Abonnements, die für die Kommunikation mit Azure verwendet werden.
Typ: | IAzureContextContainer |
Aliase: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Pipelineeingabe akzeptieren: | False |
Platzhalterzeichen akzeptieren: | False |
-IpConfiguration
Die Liste der ipConfiguration
Typ: | PSApplicationGatewayPrivateLinkIpConfiguration[] |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Pipelineeingabe akzeptieren: | True |
Platzhalterzeichen akzeptieren: | False |
-Name
Der Name der privateLink-Konfiguration
Typ: | String |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Pipelineeingabe akzeptieren: | False |
Platzhalterzeichen akzeptieren: | False |
Eingaben
Ausgaben
Ähnliche Themen
Azure PowerShell