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
 

Update-AzureApplicationGateway

Update-AzureApplicationGateway

microsoft.windowsazure.commands.servicemanagement.network.dll

Synopsis

Updates existing application gateway

Syntax

Update-AzureApplicationGateway [-Name] [-VnetName] [-Subnets] [-InstanceCount] [-GatewaySize] [-Description] [<CommonParameters>]

Detailed Description

The Update-AzureApplicationGateway updates existing application gateway

Parameters

-Name <String>

Name of Application Gateway

Aliases

None

Required?

true

Position

0

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-VnetName <String>

Name of of virtual network application gateway should be deployed in

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Subnets <List`1[String]>

List of subnets application gateway should be deployed in

Aliases

None

Required?

true

Position

2

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-InstanceCount <UInt32>

Number of instances

Aliases

None

Required?

false

Position

3

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-GatewaySize <String>

Size of application gateway Small/Medium/Large

Aliases

None

Required?

false

Position

4

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Description <String>

Description of application gateway

Aliases

None

Required?

false

Position

5

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type

System.String

Return Type

Microsoft.WindowsAzure.Management.ApplicationGateway.Models.ApplicationGatewayOperationResponse

Notes

Examples

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

Updating application gateway with mandatory parameters

PS C:\> Update-AzureApplicationGateway -Name <gateway name> -VnetName <Vnet Name> -Subnets @("subnet1", "subnet2")

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

Updating application gateway with all mandatory and optional parameters

PS C:\> Update-AzureApplicationGateway -Name <gateway name> -VnetName <Vnet Name> -Subnets @("subnet1", "subnet2") -InstanceCount 2 -GatewaySize small -Description "Updated application gateway"

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

Updating application gateway using pipeline

        PS C:\> $applicationGateway = Get-AzureApplicationGateway -Name <gateway name>
        $applicationGateway.GatewaySize = "Medium"

        $applicationGateway | Update-AzureApplicationGateway