Skip to content

Commit

Permalink
Fix long-running operations for VnetGw, NetworkProfile; Fix examples (#…
Browse files Browse the repository at this point in the history
…6159)

* Added missing long-running values

* Fix old examples

* Update more long-running for older

* Updated long-running for networkProfile

* Fix more examples

* Fixed LB examples

* Fix examples to pass updated oav validations
  • Loading branch information
EvgenyAgafonchikov authored and sergey-shandar committed Jun 12, 2019
1 parent f5c2e58 commit f0f79bf
Show file tree
Hide file tree
Showing 123 changed files with 1,059 additions and 1,395 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,10 @@
"description": "Delete successful."
}
},
"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": {
Expand Down Expand Up @@ -253,7 +256,10 @@
}
}
},
"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}/generatevpnclientpackage": {
Expand Down Expand Up @@ -301,6 +307,10 @@
"type": "string"
}
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
Expand Down Expand Up @@ -434,7 +444,10 @@
"description": "Delete successful."
}
},
"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/connections": {
Expand Down Expand Up @@ -521,7 +534,10 @@
"description": ""
}
},
"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/connections/{virtualNetworkGatewayConnectionName}/sharedkey": {
Expand Down Expand Up @@ -746,7 +762,10 @@
"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/localNetworkGateways": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,10 @@
"description": "Delete successful."
}
},
"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": {
Expand Down Expand Up @@ -251,7 +254,10 @@
}
}
},
"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}/generatevpnclientpackage": {
Expand Down Expand Up @@ -299,6 +305,10 @@
"type": "string"
}
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
Expand Down Expand Up @@ -349,7 +359,10 @@
"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}/getLearnedRoutes": {
Expand Down Expand Up @@ -392,7 +405,10 @@
"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}/getAdvertisedRoutes": {
Expand Down Expand Up @@ -442,7 +458,10 @@
"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/connections/{virtualNetworkGatewayConnectionName}": {
Expand Down Expand Up @@ -575,7 +594,10 @@
"description": "Delete successful."
}
},
"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/connections/{virtualNetworkGatewayConnectionName}/sharedkey": {
Expand Down Expand Up @@ -754,7 +776,10 @@
"description": ""
}
},
"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/localNetworkGateways/{localNetworkGatewayName}": {
Expand Down Expand Up @@ -887,7 +912,10 @@
"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/localNetworkGateways": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"properties": {
"rules": [
{
"name": "ruleName",
"properties": {
"access": "Allow",
"routeFilterRuleType": "Community",
Expand All @@ -22,8 +21,7 @@
]
}
}
],
"peerings": []
]
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"properties": {
"rules": [
{
"name": "ruleName",
"properties": {
"access": "Allow",
"routeFilterRuleType": "Community",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,10 @@
"description": "Delete successful."
}
},
"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": {
Expand Down Expand Up @@ -251,7 +254,10 @@
}
}
},
"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}/generatevpnclientpackage": {
Expand Down Expand Up @@ -299,6 +305,10 @@
"type": "string"
}
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
Expand Down Expand Up @@ -349,7 +359,10 @@
"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}/getLearnedRoutes": {
Expand Down Expand Up @@ -392,7 +405,10 @@
"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}/getAdvertisedRoutes": {
Expand Down Expand Up @@ -442,7 +458,10 @@
"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/connections/{virtualNetworkGatewayConnectionName}": {
Expand Down Expand Up @@ -575,7 +594,10 @@
"description": "Delete successful."
}
},
"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/connections/{virtualNetworkGatewayConnectionName}/sharedkey": {
Expand Down Expand Up @@ -754,7 +776,10 @@
"description": ""
}
},
"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/localNetworkGateways/{localNetworkGatewayName}": {
Expand Down Expand Up @@ -887,7 +912,10 @@
"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/localNetworkGateways": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"properties": {
"rules": [
{
"name": "ruleName",
"properties": {
"access": "Allow",
"routeFilterRuleType": "Community",
Expand All @@ -22,8 +21,7 @@
]
}
}
],
"peerings": []
]
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"properties": {
"rules": [
{
"name": "ruleName",
"properties": {
"access": "Allow",
"routeFilterRuleType": "Community",
Expand Down
Loading

0 comments on commit f0f79bf

Please sign in to comment.