< Back
Set-AzureRmApplicationGatewayIPConfiguration
Post
NAME Set-AzureRmApplicationGatewayIPConfiguration
SYNOPSIS
Modifies an IP configuration for an application gateway.
SYNTAX
Set-AzureRmApplicationGatewayIPConfiguration -ApplicationGateway <PSApplicationGateway> [-DefaultProfile <IAzureContextContainer>] -Name <String>
[-Subnet <PSSubnet>] [<CommonParameters>]
Set-AzureRmApplicationGatewayIPConfiguration -ApplicationGateway <PSApplicationGateway> [-DefaultProfile <IAzureContextContainer>] -Name <String>
[-SubnetId <String>] [<CommonParameters>]
DESCRIPTION
The Set-AzureRmApplicationGatewayIPConfiguration cmdlet modifies an IP configuration. An IP configuration contains the subnet in which an
application gateway is deployed.
PARAMETERS
-ApplicationGateway <PSApplicationGateway>
Specifies an application gateway object with which this cmdlet associates an IP configuration.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Specifies the name of the IP configuration.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Subnet <PSSubnet>
Specifies the subnet. This is the subnet in which the application gateway is deployed.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-SubnetId <String>
Specifies the subnet ID. This is the subnet in which the application gateway is deployed.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
OUTPUTS
Microsoft.Azure.Commands.Network.Models.PSApplicationGateway
NOTES
Example 1: Set the goal state of an IP configuration
PS C:\\>$VNet = Get-AzureRmVirtualNetwork -Name "VNet01" -ResourceGroupName "ResourceGroup01"
PS C:\\> $Subnet = Get-AzureRmVirtualNetworkSubnetConfig -Name "Subnet01" -VirtualNetwork $VNet
PS C:\\> $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
PS C:\\> $AppGw = Set-AzureRmApplicationGatewayIPConfiguration -ApplicationGateway $AppGw -Name "AppgwSubnet01" -Subnet $Subnets
The first command gets the virtual network named VNet01 that belongs to the resource group named ResourceGroup01 and stores it in the $VNet
variable.
The second command gets the subnet configuration named Subnet01 using $VNet and stores it in the $Subnet variable.
The third command gets an application gateway named ApplicationGateway01 that belongs to the resource group named ResourceGroup01 and stores it in
the $AppGw variable.
The forth command sets the IP configuration of the application gateway stored in $AppGw to the subnet configuration stored in $Subnet.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... figuration
Add-AzureRmApplicationGatewayIPConfiguration
Add-AzureRmApplicationGatewayIPConfiguration
Get-AzureRmApplicationGatewayIPConfiguration
New-AzureRmApplicationGatewayIPConfiguration
Remove-AzureRmApplicationGatewayIPConfiguration
SYNOPSIS
Modifies an IP configuration for an application gateway.
SYNTAX
Set-AzureRmApplicationGatewayIPConfiguration -ApplicationGateway <PSApplicationGateway> [-DefaultProfile <IAzureContextContainer>] -Name <String>
[-Subnet <PSSubnet>] [<CommonParameters>]
Set-AzureRmApplicationGatewayIPConfiguration -ApplicationGateway <PSApplicationGateway> [-DefaultProfile <IAzureContextContainer>] -Name <String>
[-SubnetId <String>] [<CommonParameters>]
DESCRIPTION
The Set-AzureRmApplicationGatewayIPConfiguration cmdlet modifies an IP configuration. An IP configuration contains the subnet in which an
application gateway is deployed.
PARAMETERS
-ApplicationGateway <PSApplicationGateway>
Specifies an application gateway object with which this cmdlet associates an IP configuration.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Specifies the name of the IP configuration.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Subnet <PSSubnet>
Specifies the subnet. This is the subnet in which the application gateway is deployed.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-SubnetId <String>
Specifies the subnet ID. This is the subnet in which the application gateway is deployed.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
OUTPUTS
Microsoft.Azure.Commands.Network.Models.PSApplicationGateway
NOTES
Example 1: Set the goal state of an IP configuration
PS C:\\>$VNet = Get-AzureRmVirtualNetwork -Name "VNet01" -ResourceGroupName "ResourceGroup01"
PS C:\\> $Subnet = Get-AzureRmVirtualNetworkSubnetConfig -Name "Subnet01" -VirtualNetwork $VNet
PS C:\\> $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
PS C:\\> $AppGw = Set-AzureRmApplicationGatewayIPConfiguration -ApplicationGateway $AppGw -Name "AppgwSubnet01" -Subnet $Subnets
The first command gets the virtual network named VNet01 that belongs to the resource group named ResourceGroup01 and stores it in the $VNet
variable.
The second command gets the subnet configuration named Subnet01 using $VNet and stores it in the $Subnet variable.
The third command gets an application gateway named ApplicationGateway01 that belongs to the resource group named ResourceGroup01 and stores it in
the $AppGw variable.
The forth command sets the IP configuration of the application gateway stored in $AppGw to the subnet configuration stored in $Subnet.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... figuration
Add-AzureRmApplicationGatewayIPConfiguration
Add-AzureRmApplicationGatewayIPConfiguration
Get-AzureRmApplicationGatewayIPConfiguration
New-AzureRmApplicationGatewayIPConfiguration
Remove-AzureRmApplicationGatewayIPConfiguration