Remove-AzApplicationGatewayIPConfiguration
Removes an IP configuration from an application gateway.
Syntaxe
Default (Par défaut)
Remove-AzApplicationGatewayIPConfiguration
-Name <String>
-ApplicationGateway <PSApplicationGateway>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Remove-AzApplicationGatewayIPConfiguration cmdlet removes an IP configuration from an Azure application gateway.
Exemples
Example 1: Remove an IP configuration from an Azure application gateway
$AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
Remove-AzApplicationGatewayIPConfiguration -ApplicationGateway $AppGw -Name "Subnet02"
Set-AzApplicationGateway -ApplicationGateway $AppGW
The first command gets an application gateway and stores it in the $AppGw variable. The second command removes the IP configuration named Subnet02 from the application gateway stored in $AppGw. The last command updates the application gateway.
Paramètres
-ApplicationGateway
Specifies the application gateway from which to remove an IP configuration.
Propriétés du paramètre
Type: | PSApplicationGateway |
Valeur par défaut: | None |
Prend en charge les caractères génériques: | False |
DontShow: | False |
Jeux de paramètres
(All)
Position: | Named |
Obligatoire: | True |
Valeur du pipeline: | True |
Valeur du pipeline par nom de propriété: | False |
Valeur des arguments restants: | False |
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with azure.
Propriétés du paramètre
Type: | IAzureContextContainer |
Valeur par défaut: | None |
Prend en charge les caractères génériques: | False |
DontShow: | False |
Alias: | AzContext, AzureRmContext, AzureCredential |
Jeux de paramètres
(All)
Position: | Named |
Obligatoire: | False |
Valeur du pipeline: | False |
Valeur du pipeline par nom de propriété: | False |
Valeur des arguments restants: | False |
-Name
Specifies the name of the IP configuration to remove.
Propriétés du paramètre
Type: | String |
Valeur par défaut: | None |
Prend en charge les caractères génériques: | False |
DontShow: | False |
Jeux de paramètres
(All)
Position: | Named |
Obligatoire: | True |
Valeur du pipeline: | False |
Valeur du pipeline par nom de propriété: | False |
Valeur des arguments restants: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.