Update Application Gateway  

 

Updates an Application Gateway.

HTTP REQUEST

Method

Request URI

PUT

https://management.core.windows.net<subscription-id>/services/networking/applicationGateways/<applicationGatewayName>

URI PARAMETERS

URI Parameter

Description

api-version=<api-version>

Version of the API, set to 2015-04-01

REQUEST HEADERS

URI Parameter

Description

x-ms-version

Version of the API, set to 2015-04-01

REQUEST BODY

<?xml version="1.0" encoding="utf-8"?>
<UpdateApplicationGatewayParameters xmlns="https://schemas.microsoft.com/windowsazure">
      <Description>Description of the Application Gateway</Description>
      <GatewaySize>Medium</GatewaySize>
      <InstanceCount>2</InstanceCount>
      <Subnets>
            <Subnet>Subnet1</Subnet>
      </Subnets>
      <VnetName>gatewayVnet</VnetName>
</UpdateApplicationGatewayParameters>

Element name

Description

Description

Description of the application gateway

VnetName

Name of the VNet in which application gateway is to be created

Subnets

List of subnets

Subnets.Subnet

Name of the subnet within the VNet

InstanceCount

Number of instances to create for this gateway

GatewaySize

Size of each gateway instance

STATUS CODE

If successful, the operation returns HTTP status code 202(Accepted). The operation returns status code 404(NotFound) if the resource does not exist.

RESPONSE BODY

<?xml version="1.0" encoding="utf-8"?>
<GatewayOperationAsyncResponse xmlns="https://schemas.microsoft.com/windowsazure">
  <ID>operation-id</ID>
</GatewayOperationAsyncResponse>

Element name

Description

operation-id

Uniquely identifies the operation. To get more information about the status of an operation, such as whether it is still executing or complete, you can call Get Virtual Network Gateway Operation Status with the operation ID.