Get Application Gateway 

 

Retrieves the properties for an Application Gateway.

HTTP REQUEST

Method

Request URI

GET

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

None.

STATUS CODE

If successful, the operation returns HTTP status code of 200(OK). The operation returns status code 404(Not Found) if the resource does not exist.

RESPONSE BODY

<?xml version="1.0" encoding="UTF-8" ?>
<ApplicationGateway xmlns="https://schemas.microsoft.com/windowsazure">
      <Name>MyApplicationGateway</Name>
      <Description>Description of My Application Gateway</Description>
      <VnetName>gatewayVnet</VnetName>
      <Subnets>
            <Subnet>Subnet1</Subnet>
      </Subnets>
      <InstanceCount>2</InstanceCount>
      <GatewaySize>Medium</GatewaySize>
      <State>Running</State>
      <DnsName>MyApplicationGateway.cloudapp.net</DnsName>
      <VirtualIPs>
            <VirtualIP>10.0.0.6</VirtualIP>
      </VirtualIPs>
</ApplicationGateway>

Element name

Description

Name

Name of the application gateway

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

State

Read only. Creating | Stopped | Starting | Running | Stopping

DnsName

Read only. DNS name of the gateway service

VirtualIPs

Read only. List of Virtual IP of the service. Valid only when the State is Running.

VirtualIPs. VirtualIP

Read only. One Virtual IP of the service. Valid only when the State is Running.