Skip to content

Commit

Permalink
appgw examples Azure#2
Browse files Browse the repository at this point in the history
  • Loading branch information
akshaysngupta committed Feb 16, 2018
1 parent 29c68f3 commit 9ecb5a5
Show file tree
Hide file tree
Showing 9 changed files with 875 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
"ApplicationGateways"
],
"operationId": "ApplicationGateways_Delete",
"x-ms-examples": {
"Delete ApplicationGateway": { "$ref": "./examples/ApplicationGatewayDelete.json" }
},
"description": "Deletes the specified application gateway.",
"parameters": [
{
Expand Down Expand Up @@ -81,6 +84,9 @@
"ApplicationGateways"
],
"operationId": "ApplicationGateways_Get",
"x-ms-examples": {
"Get ApplicationGateway": { "$ref": "./examples/ApplicationGatewayGet.json" }
},
"description": "Gets the specified application gateway.",
"parameters": [
{
Expand Down Expand Up @@ -118,6 +124,9 @@
"ApplicationGateways"
],
"operationId": "ApplicationGateways_CreateOrUpdate",
"x-ms-examples": {
"Create Application Gateway": { "$ref": "./examples/ApplicationGatewayCreate.json" }
},
"description": "Creates or updates the specified application gateway.",
"parameters": [
{
Expand Down Expand Up @@ -223,6 +232,9 @@
"ApplicationGateways"
],
"operationId": "ApplicationGateways_List",
"x-ms-examples": {
"Lists all application gateways in a resource group": { "$ref": "./examples/ApplicationGatewayList.json" }
},
"description": "Lists all application gateways in a resource group.",
"parameters": [
{
Expand Down Expand Up @@ -258,6 +270,9 @@
"ApplicationGateways"
],
"operationId": "ApplicationGateways_ListAll",
"x-ms-examples": {
"Lists all application gateways in a subscription": { "$ref": "./examples/ApplicationGatewayListAll.json" }
},
"description": "Gets all the application gateways in a subscription.",
"parameters": [
{
Expand Down Expand Up @@ -286,6 +301,9 @@
"ApplicationGateways"
],
"operationId": "ApplicationGateways_Start",
"x-ms-examples": {
"Start Application Gateway": { "$ref": "./examples/ApplicationGatewayStart.json" }
},
"description": "Starts the specified application gateway.",
"parameters": [
{
Expand Down Expand Up @@ -326,6 +344,9 @@
"ApplicationGateways"
],
"operationId": "ApplicationGateways_Stop",
"x-ms-examples": {
"Stop Application Gateway": { "$ref": "./examples/ApplicationGatewayStop.json" }
},
"description": "Stops the specified application gateway in a resource group.",
"parameters": [
{
Expand Down Expand Up @@ -367,6 +388,9 @@
],
"operationId": "ApplicationGateways_BackendHealth",
"description": "Gets the backend health of the specified application gateway in a resource group.",
"x-ms-examples": {
"Get Backend Health": { "$ref": "./examples/ApplicationGatewayBackendHealthGet.json" }
},
"parameters": [
{
"name": "resourceGroupName",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"parameters": {
"api-version": "2018-01-01",
"subscriptionId": "subid",
"resourceGroupName": "appgw",
"applicationGatewayName": "appgw"
},
"responses": {
"200": {
"body": {
"backendAddressPools": [
{
"backendAddressPool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool"
},
"backendHttpSettingsCollection": [
{
"backendHttpSettings": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings"
},
"servers": [
{
"address": "10.220.1.8",
"health": "Up"
}
]
}
]
},
{
"backendAddressPool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFPool"
},
"backendHttpSettingsCollection": [
{
"backendHttpSettings": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings"
},
"servers": [
{
"address": "10.220.1.4",
"health": "Up"
},
{
"address": "10.220.1.5",
"health": "Up"
}
]
}
]
}
]
}
},
"202": {}
}
}
Loading

0 comments on commit 9ecb5a5

Please sign in to comment.