Skip to content

Commit

Permalink
Build release (#5717)
Browse files Browse the repository at this point in the history
* Adds base for updating Microsoft.Network from version stable/2018-12-01 to version 2019-02-01

* Updates readme

* Updates API version in new specs and examples

* Remove Alert action from user rules (#5428)

* Patch call for DDoS Protection plan (#5426)

* Patch call for DDoS Protection plan

Removing unreferenced definition

Addressing review comments. Setting x-ms-long-running-operation to false

Removing tags from Patch call description

Fixing the response message description

Removing x-ms-long-running-operation from patch

fixing the file renames

* Adding patch call to 2019-02-01

* fixing date

* fixing semantic error

* Addressing review comments

* Fixed examples for WAFPolicy (#5454)

* Added missing descriptions in Network specs (#5490)

* Added missing descriptions in Network specs

* Add missing x-ms-enum

* Updated VNet Gateways operations: Fix for #4642 (#5223)

* Adds base for updating Microsoft.Network from version stable/2018-12-01 to version 2018-12-01

* Updates readme

* Updates API version in new specs and examples

* Updated VNet Gateways operations: Fix for #4642

* Network: Duplicate tags in readme file. (#5227)

* Added missing change. Extended to new API version

* Copy changes for AppGw from 2018-12-01 (#5463)

* Correct Azure Firewall Rule Action in Examples (#5514)

* Swagger has to just enforce a positive fileUploadLimitInMb, It doesnt have to check the upper Limit. (#5527)

*  Swagger has to just enforce a non-negative fileupload limit, need not do the upper limit check

* rolling back

* Swagger has to just enforce a positive fileUploadLimitInMb, It doesnt have to check the upper Limit.

* removed unused flag allowglobalreach (#5539)

* Stub YML config for validating NRP PRs (#5550)

* Add new protocols (#5582)

* Update readme.python.md

* Remove extra "x-ms-enum" (#5617)

* Added missing x-ms-long-running-operation-options (#5572)

* Initial commit (#5635)

* Add new Nat Gateway resource (#5579)

* Add new Nat Gateway resource

* Update API version

* Update PR comments

* Update nat gateway

* Fix json errors

* Updated nat gateway

* Update Nat Gateway examples name

* Update Examples with 202

* Need to update with latest master since network.csproj is failing on azure-powershell

* azure firewall revert alert

* Update NatGateway

* Update nat gateway tags

* Remove basic sku since it is not supported

* Add application gateway backendHealthOnDemand Operation (#5552)

* Add application gateway backendHealthOnDemand Operation

* Update ApplicationGatewayBackendHealthTest.json

* change backendHealthOnDemand to getBackendHealthOnDemand

* add x-ms-long-running-operation-options

* fix api version

* Add disableBgpRoutePropagation (#5585)

* Add disableBgpRoutePropagation

* Reformat

* Move Network validation config to azure-pipelines.yml (#5589)

* Move Network validation config to azure-pipelines.yml

* Add continueOnError to Network validation

* Resolve issue with unreferenced examples in Network specs (#5674)

* Swagger changes for useLocalAzureIpAddress property. (#5678)

* Fixed allow Vnet description (#5696)

* Remove duplicate enums from Network specs (#5647)

* Remove duplicate enums

* Remove readOnly from references to definitions that are already marked as read only

* Add missing descriptions (#5662)

* Remove duplicate enum ApplicationGatewayProtocol (#5708)

* Update examples to include custom routes parameter (#5710)

* fixed mistyping

* Fix examples

* Rollback typo fix
  • Loading branch information
MikhailTryakhov authored and sergey-shandar committed Apr 22, 2019
1 parent 6187fc3 commit 94cbaee
Show file tree
Hide file tree
Showing 473 changed files with 55,420 additions and 529 deletions.
39 changes: 39 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,42 @@ jobs:
- script: echo $(NODE_OPTIONS)
- script: "scripts/swagger-to-sdk.sh Azure/$(AZURE_SDK_REPO) -v $(AZURE_SDK_PARAMS)"
displayName: "Swagger to SDK script"

- job: "NetworkValidation"
condition: and(startsWith(variables['System.PullRequest.TargetBranch'], 'network-'), endsWith(variables['System.PullRequest.TargetBranch'], '-release'))
continueOnError: true
pool:
vmImage: vs2017-win2016
variables:
NRP_SWAGGER_VALIDATION_OVERRIDE_PS_BRANCH: 'true'
NRP_BUILD_TOOLS_SKIP_GENERATE_PS1: 'true'
NRP_BUILD_TOOLS_OUTPUT_PATH: '$(System.DefaultWorkingDirectory)\Out'
steps:
- powershell: |
& "C:/Program Files (x86)/Microsoft SDKs/Windows/v10.0A/bin/NETFX 4.6.1 Tools/sn.exe" -Vr *,31bf3856ad364e35
displayName: Bypass Strong Name validation
- task: NodeTool@0
inputs:
versionSpec: 10.x
displayName: Install Node.js
- script: npm install autorest -g
displayName: Install autorest
- script: git clone --depth 1 -- https://dev.azure.com/v-anevse/BuildScripts/_git/BuildScripts ..\BuildScripts
displayName: Clone build tools
- powershell: |
$swgrPath = (Get-Item ".\").FullName
$outputPath = $env:NRP_BUILD_TOOLS_OUTPUT_PATH
New-Item -Path $outputPath -ItemType "Directory" -Force | Out-Null
..\BuildScripts\Test-SwaggerRelease.ps1 -Component Network -SwaggerRepoPath $swgrPath -OutputFolder $outputPath
failOnStderr: false
displayName: Test Swagger updates
- powershell: |
Copy-Item "..\BuildScripts\.azure-pipelines\.artifactignore" -Destination "$($env:NRP_BUILD_TOOLS_OUTPUT_PATH)\.artifactignore" -Force -ErrorAction "SilentlyContinue"
failOnStderr: false
condition: always()
displayName: Copy .artifactignore
- task: PublishPipelineArtifact@0
condition: always()
inputs:
artifactName: SwaggerTestOutput
targetPath: $(NRP_BUILD_TOOLS_OUTPUT_PATH)
Original file line number Diff line number Diff line change
Expand Up @@ -345,9 +345,15 @@
"schema": {
"type": "string"
}
},
"202": {
"description": "Accepted and the operation will complete asynchronously."
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile": {
Expand Down Expand Up @@ -396,7 +402,9 @@
}
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,15 @@
"schema": {
"type": "string"
}
},
"202": {
"description": "Accepted and the operation will complete asynchronously."
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile": {
Expand Down Expand Up @@ -397,7 +403,9 @@
"description": "Accepted and the operation will complete asynchronously."
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnprofilepackageurl": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,9 +393,15 @@
"schema": {
"type": "string"
}
},
"202": {
"description": "Accepted and the operation will complete asynchronously."
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile": {
Expand Down Expand Up @@ -447,7 +453,9 @@
"description": "Accepted and the operation will complete asynchronously."
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnprofilepackageurl": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,9 +393,15 @@
"schema": {
"type": "string"
}
},
"202": {
"description": "Accepted and the operation will complete asynchronously."
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile": {
Expand Down Expand Up @@ -447,7 +453,9 @@
"description": "Accepted and the operation will complete asynchronously."
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnprofilepackageurl": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,9 +393,15 @@
"schema": {
"type": "string"
}
},
"202": {
"description": "Accepted and the operation will complete asynchronously."
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile": {
Expand Down Expand Up @@ -447,7 +453,9 @@
"description": "Accepted and the operation will complete asynchronously."
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnprofilepackageurl": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,9 +393,15 @@
"schema": {
"type": "string"
}
},
"202": {
"description": "Accepted and the operation will complete asynchronously."
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile": {
Expand Down Expand Up @@ -447,7 +453,9 @@
"description": "Accepted and the operation will complete asynchronously."
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnprofilepackageurl": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"body" : {

}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -408,12 +408,18 @@
"schema": {
"type": "string"
}
},
"202": {
"description": "Accepted and the operation will complete asynchronously."
}
},
"x-ms-examples": {
"GenerateVPNClientPackage": { "$ref": "./examples/VirtualNetworkGatewayGenerateVpnClientPackage.json" }
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile": {
Expand Down Expand Up @@ -468,7 +474,9 @@
"x-ms-examples": {
"GenerateVirtualNetworkGatewayVPNProfile": { "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" }
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnprofilepackageurl": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@
"name":"apprulecoll",
"properties":{
"priority":110,
"action":"Deny",
"action":{
"type": "Deny"
},
"rules":[
{
"name":"rule1",
Expand Down Expand Up @@ -68,7 +70,9 @@
"name":"netrulecoll",
"properties":{
"priority":112,
"action":"Deny",
"action":{
"type": "Deny"
},
"rules":[
{
"name":"D-NAT-web-traffic",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@
"name":"apprulecoll",
"properties":{
"priority":110,
"action":"Deny",
"action":{
"type": "Deny"
},
"rules":[
{
"name":"rule1",
Expand Down Expand Up @@ -69,7 +71,9 @@
"name":"netrulecoll",
"properties":{
"priority":112,
"action":"Deny",
"action":{
"type": "Deny"
},
"rules":[
{
"name":"D-NAT-web-traffic",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@
"name":"apprulecoll",
"properties":{
"priority":110,
"action":"Deny",
"action":{
"type": "Deny"
},
"rules":[
{
"name":"rule1",
Expand Down Expand Up @@ -68,7 +70,9 @@
"name":"netrulecoll",
"properties":{
"priority":112,
"action":"Deny",
"action":{
"type": "Deny"
},
"rules":[
{
"name":"D-NAT-web-traffic",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
"name":"apprulecoll",
"properties":{
"priority":110,
"action":"Deny",
"action":{
"type": "Deny"
},
"rules":[
{
"name":"rule1",
Expand Down Expand Up @@ -55,7 +57,9 @@
"name":"netrulecoll",
"properties":{
"priority":112,
"action":"Deny",
"action":{
"type": "Deny"
},
"rules":[
{
"name":"D-NAT-web-traffic",
Expand Down Expand Up @@ -118,7 +122,9 @@
"name":"apprulecoll",
"properties":{
"priority":110,
"action":"Deny",
"action":{
"type": "Deny"
},
"rules":[
{
"name":"rule1",
Expand Down Expand Up @@ -146,7 +152,9 @@
"name":"netrulecoll",
"properties":{
"priority":112,
"action":"Deny",
"action":{
"type": "Deny"
},
"rules":[
{
"name":"D-NAT-web-traffic",
Expand Down Expand Up @@ -208,7 +216,9 @@
"name":"apprulecoll",
"properties":{
"priority":110,
"action":"Deny",
"action":{
"type": "Deny"
},
"rules":[
{
"name":"rule1",
Expand Down Expand Up @@ -236,7 +246,9 @@
"name":"netrulecoll",
"properties":{
"priority":112,
"action":"Deny",
"action":{
"type": "Deny"
},
"rules":[
{
"name":"D-NAT-web-traffic",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"responses" : {
"200" : {
"body" : ""
}
},
"202": {}
}
}
Loading

0 comments on commit 94cbaee

Please sign in to comment.