Skip to content

Commit

Permalink
Update for Get Application Gateway Server Variables APIs (#5113)
Browse files Browse the repository at this point in the history
* Changes in the existing APIs result format.

* adding proxyresource to server variables APIs result

* Updating applicationgateway.json

* Update applicationGateway.json

* add Go SDK build for 2018-12-01

* changes to pythonand ruby readme files

* Update readme.ruby.md

* adding jave readme changes

* Minor Fix in spacing

* Creating a new tag for 2018-12 version

* Update readme.python.md

* Update applicationGateway.json

* fixing examples

* examples
  • Loading branch information
nirkum18 authored and sergey-shandar committed Feb 5, 2019
1 parent 598f0e7 commit e7a48d7
Show file tree
Hide file tree
Showing 10 changed files with 156 additions and 75 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -485,9 +485,12 @@
"$ref": "./network.json#/definitions/Error"
}
}
},
"x-ms-pageable": {
"nextLinkName": null
}
}
},
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableRequestHeaders": {
"get": {
"tags": [
Expand Down Expand Up @@ -521,9 +524,12 @@
"$ref": "./network.json#/definitions/Error"
}
}
},
"x-ms-pageable": {
"nextLinkName": null
}
}
},
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableResponseHeaders": {
"get": {
"tags": [
Expand Down Expand Up @@ -557,6 +563,9 @@
"$ref": "./network.json#/definitions/Error"
}
}
},
"x-ms-pageable": {
"nextLinkName": null
}
}
},
Expand Down Expand Up @@ -2194,44 +2203,26 @@
],
"description": "Allows to disable rules within a rule group or an entire rule group."
},
"ApplicationGatewayAvailableServerVariablesResult": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"type": "string"
},
"description": "The list of supported server variables in application gateway."
}
"ApplicationGatewayAvailableServerVariablesResult": {
"type": "array",
"items": {
"type": "string"
},
"description": "Response for ApplicationGatewayAvailableServerVariables API service call."
},
"ApplicationGatewayAvailableRequestHeadersResult": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"type": "string"
},
"description": "The list of supported request headers in application gateway."
}
"ApplicationGatewayAvailableRequestHeadersResult": {
"type": "array",
"items": {
"type": "string"
},
"description": "Response for ApplicationGatewayAvailableRequestHeaders API service call."
},
"ApplicationGatewayAvailableResponseHeadersResult": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"type": "string"
},
"description": "The list of supported response header in application gateway."
}
"ApplicationGatewayAvailableResponseHeadersResult": {
"type": "array",
"items": {
"type": "string"
},
"description": "Response for ApplicationGatewayAvailableResponeHeaders API service call."
"description": "Response for ApplicationGatewayAvailableResponseHeaders API service call."
},
"ApplicationGatewayFirewallExclusion": {
"properties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
{
"parameters": {
"api-version": "2018-12-01",
"subscriptionId": "subid"
"subscriptionId": "72f988bf-86f1-41af-91ab-2d7cd0dddd4"
},
"responses": {
"200": {
"body": {
"value": [
"Accept-Charset"
]
}
"body": [
"Accept-Charset"
]
}
}
}
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
{
"parameters": {
"api-version": "2018-12-01",
"subscriptionId": "subid"
"subscriptionId": "72f988bf-86f1-41af-91ab-2d7cd0dddd4"
},
"responses": {
"200": {
"body": {
"value": [
"Access-Control-Allow-Origin"
]
}
"body": [
"Access-Control-Allow-Origin"
]
}
}
}
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
{
"parameters": {
"api-version": "2018-12-01",
"subscriptionId": "subid"
"subscriptionId": "72f988bf-86f1-41af-91ab-2d7cd0dddd4"
},
"responses": {
"200": {
"body": {
"value": [
"request_query"
]
}
"body": [
"request_query"
]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,14 @@
{
"name": "Set X-Forwarded-For",
"ruleSequence": 102,
"conditions": {
"variable": "http_req_Authorization",
"pattern": "^Bearer",
"ignoreCase": true,
"negate": false
},
"conditions": [
{
"variable": "http_req_Authorization",
"pattern": "^Bearer",
"ignoreCase": true,
"negate": false
}
],
"actionSet": {
"requestHeaderConfigurations": [
{
Expand Down Expand Up @@ -450,12 +452,14 @@
{
"name": "Set X-Forwarded-For",
"ruleSequence": 102,
"conditions": {
"variable": "http_req_Authorization",
"pattern": "^Bearer",
"ignoreCase": true,
"negate": false
},
"conditions": [
{
"variable": "http_req_Authorization",
"pattern": "^Bearer",
"ignoreCase": true,
"negate": false
}
],
"actionSet": {
"requestHeaderConfigurations": [
{
Expand Down Expand Up @@ -689,12 +693,14 @@
{
"name": "Set X-Forwarded-For",
"ruleSequence": 102,
"conditions": {
"variable": "http_req_Authorization",
"pattern": "^Bearer",
"ignoreCase": true,
"negate": false
},
"conditions": [
{
"variable": "http_req_Authorization",
"pattern": "^Bearer",
"ignoreCase": true,
"negate": false
}
],
"actionSet": {
"requestHeaderConfigurations": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,14 @@
{
"name": "Set X-Forwarded-For",
"ruleSequence": 102,
"conditions": {
"variable": "http_req_Authorization",
"pattern": "^Bearer",
"ignoreCase": true,
"negate": false
},
"conditions": [
{
"variable": "http_req_Authorization",
"pattern": "^Bearer",
"ignoreCase": true,
"negate": false
}
],
"actionSet": {
"requestHeaderConfigurations": [
{
Expand Down
10 changes: 10 additions & 0 deletions specification/network/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ go:
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2018-12
- tag: package-2018-10
- tag: package-2018-08
- tag: package-2018-07
Expand All @@ -34,6 +35,15 @@ batch:
- tag: package-2015-05-preview
```
### Tag: package-2018-12 and go
These settings apply only when `--tag=package-2018-12 --go` is specified on the command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.

``` yaml $(tag) == 'package-2018-12' && $(go)
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2018-12-01/$(namespace)
```

### Tag: package-2018-10 and go

These settings apply only when `--tag=package-2018-10 --go` is specified on the command line.
Expand Down
55 changes: 55 additions & 0 deletions specification/network/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,47 @@ input-file:
- Microsoft.Network/stable/2018-12-01/vmssNetworkInterface.json
- Microsoft.Network/stable/2018-12-01/vmssPublicIpAddress.json
```

### Tag: package-2018-12-only

These settings apply only when `--tag=package-2018-12-only` is specified on the command line.

```yaml $(tag) == 'package-2018-12-only'
input-file:
- Microsoft.Network/stable/2018-12-01/applicationGateway.json
- Microsoft.Network/stable/2018-12-01/applicationSecurityGroup.json
- Microsoft.Network/stable/2018-12-01/availableDelegations.json
- Microsoft.Network/stable/2018-12-01/azureFirewall.json
- Microsoft.Network/stable/2018-12-01/azureFirewallFqdnTag.json
- Microsoft.Network/stable/2018-12-01/checkDnsAvailability.json
- Microsoft.Network/stable/2018-12-01/ddosCustomPolicy.json
- Microsoft.Network/stable/2018-12-01/ddosProtectionPlan.json
- Microsoft.Network/stable/2018-12-01/endpointService.json
- Microsoft.Network/stable/2018-12-01/expressRouteCircuit.json
- Microsoft.Network/stable/2018-12-01/expressRouteCrossConnection.json
- Microsoft.Network/stable/2018-12-01/expressRouteGateway.json
- Microsoft.Network/stable/2018-12-01/expressRoutePort.json
- Microsoft.Network/stable/2018-12-01/interfaceEndpoint.json
- Microsoft.Network/stable/2018-12-01/loadBalancer.json
- Microsoft.Network/stable/2018-12-01/network.json
- Microsoft.Network/stable/2018-12-01/networkInterface.json
- Microsoft.Network/stable/2018-12-01/networkProfile.json
- Microsoft.Network/stable/2018-12-01/networkSecurityGroup.json
- Microsoft.Network/stable/2018-12-01/networkWatcher.json
- Microsoft.Network/stable/2018-12-01/operation.json
- Microsoft.Network/stable/2018-12-01/publicIpAddress.json
- Microsoft.Network/stable/2018-12-01/publicIpPrefix.json
- Microsoft.Network/stable/2018-12-01/routeFilter.json
- Microsoft.Network/stable/2018-12-01/routeTable.json
- Microsoft.Network/stable/2018-12-01/serviceCommunity.json
- Microsoft.Network/stable/2018-12-01/serviceEndpointPolicy.json
- Microsoft.Network/stable/2018-12-01/usage.json
- Microsoft.Network/stable/2018-12-01/virtualNetwork.json
- Microsoft.Network/stable/2018-12-01/virtualNetworkGateway.json
- Microsoft.Network/stable/2018-12-01/virtualNetworkTap.json
- Microsoft.Network/stable/2018-12-01/virtualWan.json
```

### Tag: package-2018-11

These settings apply only when `--tag=package-2018-11` is specified on the command line.
Expand Down Expand Up @@ -945,13 +986,27 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-network

``` yaml $(java) && $(multiapi)
batch:
- tag: package-2018-12
- tag: package-2018-08
- tag: package-2018-07
- tag: package-2018-06
- tag: package-2018-04
- tag: package-2017-10
```

### Tag: package-2018-12 and java

These settings apply only when `--tag=package-2018-12 --java` is specified on the command line.
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`.

``` yaml $(tag) == 'package-2018-12' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.network.v2018_12_01
output-folder: $(azure-libraries-for-java-folder)/network/resource-manager/v2018_12_01
regenerate-manager: true
generate-interface: true
```

### Tag: package-2018-08 and java

These settings apply only when `--tag=package-2018-08 --java` is specified on the command line.
Expand Down
12 changes: 12 additions & 0 deletions specification/network/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Generate all API versions currently shipped for this package
```yaml $(python) && $(multiapi)
batch:
- tag: package-2018-12
- tag: package-2018-10
- tag: package-2018-08
- tag: package-2018-07
Expand All @@ -36,6 +37,17 @@ batch:
- tag: package-2015-06split
```
### Tag: package-2018-12 and python
These settings apply only when `--tag=package-2018-12 --python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.

``` yaml $(tag) == 'package-2018-12' && $(python)
python:
namespace: azure.mgmt.network.v2018_12_01
output-folder: $(python-sdks-folder)/azure-mgmt-network/azure/mgmt/network/v2018_12_01
```

### Tag: package-2018-10 and python

These settings apply only when `--tag=package-2018-10 --python` is specified on the command line.
Expand Down
11 changes: 11 additions & 0 deletions specification/network/resource-manager/readme.ruby.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ azure-arm: true
``` yaml $(ruby) && $(multiapi)
batch:
- tag: package-2018-12-only
- tag: package-2015-05-preview
- tag: package-2015-06split
- tag: package-2016-03
Expand All @@ -26,6 +27,16 @@ batch:
- tag: package-2018-01-only
```
### Tag: package-2018-12-only and ruby
These settings apply only when `--tag=package-2018-12-only --ruby` is specified on the command line.
Please also specify `--ruby-sdks-folder=<path to the root directory of your azure-sdk-for-ruby clone>`.

``` yaml $(tag) == 'package-2018-12-only' && $(ruby)
namespace: "Azure::Network::Mgmt::V2018_12_01"
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_network/lib
```

### Tag: package-2015-05-preview and ruby

These settings apply only when `--tag=package-2015-05-preview --ruby` is specified on the command line.
Expand Down

0 comments on commit e7a48d7

Please sign in to comment.