Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Set-AzureApplicationGatewayConfig

Set-AzureApplicationGatewayConfig

microsoft.windowsazure.commands.servicemanagement.network.dll

Synopsis

Sets application gateway configuration

Syntax

Set-AzureApplicationGatewayConfig [-Name] [-Config] [<CommonParameters>]

Set-AzureApplicationGatewayConfig [-Name] [-ConfigFile] [<CommonParameters>]

Detailed Description

The Set-AzureApplicationGatewayConfig sets the configuration of application gateway

Parameters

-Name <String>

Name of application gateway

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Config <ApplicationGatewayConfiguration>

Application gateway configuration object

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-ConfigFile <String>

Location of application gateway configuration file in XML format

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type

System.String Microsoft.Azure.Networking.ApplicationGatewayObjectModel.ApplicationGatewayConfiguration

Return Type

Microsoft.WindowsAzure.Management.ApplicationGateway.Models.ApplicationGatewayOperationResponse

Notes

Examples

-------------------------- Example 1 --------------------------

Setting configuration using application gateway configuration object

PS C:\> Set-AzureApplicationGatewayConfig -Name "gatewayName" -Config applicationGatewayConfigObject

-------------------------- Example 2 --------------------------

Setting configuration using using configuration file

PS C:\> Set-AzureApplicationGatewayConfig -Name "gatewayName" -ConfigFile "D:\config.xml"

-------------------------- Example 3 --------------------------

Setting configuration using pipeline

        PS C:\> $configReturnObject = Get-AzureApplicationGatewayConfig -Name "gatewayName"
        $configReturnObject.Config.FrontendPorts[0].Port = 443

        $configReturnObject | Set-AzureApplicationGatewayConfig -Name "gatewayName"