From f0f79bfa8191ac30cfb0f87665411769bd2063a6 Mon Sep 17 00:00:00 2001 From: EvgenyAgafonchikov Date: Thu, 13 Jun 2019 02:17:06 +0300 Subject: [PATCH] Fix long-running operations for VnetGw, NetworkProfile; Fix examples (#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 --- .../2015-06-15/virtualNetworkGateway.json | 29 +++++-- .../2016-09-01/virtualNetworkGateway.json | 44 +++++++++-- .../examples/RouteFilterCreate.json | 4 +- .../examples/RouteFilterUpdate.json | 1 - .../2016-12-01/virtualNetworkGateway.json | 44 +++++++++-- .../examples/RouteFilterCreate.json | 4 +- .../examples/RouteFilterUpdate.json | 1 - .../2017-03-01/virtualNetworkGateway.json | 44 +++++++++-- .../examples/LoadBalancerCreate.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ .../2017-06-01/virtualNetworkGateway.json | 41 ++++++++-- .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ .../2017-08-01/virtualNetworkGateway.json | 46 ++++++++--- .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ .../2017-09-01/virtualNetworkGateway.json | 46 ++++++++--- .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ .../2017-10-01/virtualNetworkGateway.json | 46 ++++++++--- .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ .../2017-11-01/virtualNetworkGateway.json | 46 ++++++++--- .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ .../2018-01-01/virtualNetworkGateway.json | 46 ++++++++--- ...sRouteCrossConnectionBgpPeeringCreate.json | 1 - .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ .../examples/LocalNetworkGatewayDelete.json | 12 +-- ...VirtualNetworkGatewayConnectionCreate.json | 12 ++- ...VirtualNetworkGatewayConnectionDelete.json | 12 +-- .../VirtualNetworkGatewayConnectionGet.json | 6 +- ...lNetworkGatewayConnectionGetSharedKey.json | 4 +- ...etworkGatewayConnectionResetSharedKey.json | 10 +-- ...lNetworkGatewayConnectionSetSharedKey.json | 12 +-- .../VirtualNetworkGatewayConnectionsList.json | 12 ++- .../examples/VirtualNetworkGatewayDelete.json | 12 +-- ...etworkGatewayGenerateVpnClientPackage.json | 5 +- ...rtualNetworkGatewayGenerateVpnProfile.json | 9 +-- ...tualNetworkGatewayGetAdvertisedRoutes.json | 7 +- ...VirtualNetworkGatewayGetBGPPeerStatus.json | 4 +- ...NetworkGatewayGetVpnProfilePackageUrl.json | 6 +- .../VirtualNetworkGatewayLearnedRoutes.json | 4 +- .../examples/VirtualNetworkGatewayReset.json | 47 ++++++++++- ...rtualNetworkGatewaySupportedVpnDevice.json | 4 +- ...rkGatewayVpnDeviceConfigurationScript.json | 14 ++-- .../2018-02-01/virtualNetworkGateway.json | 51 +++++++++--- ...sRouteCrossConnectionBgpPeeringCreate.json | 1 - .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ ...ualNetworkGatewayConnectionUpdateTags.json | 6 +- .../2018-04-01/examples/VpnConnectionPut.json | 3 - .../2018-04-01/virtualNetworkGateway.json | 52 ++++++++++--- .../stable/2018-04-01/virtualWan.json | 3 +- ...sRouteCrossConnectionBgpPeeringCreate.json | 1 - .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ ...ualNetworkGatewayConnectionUpdateTags.json | 6 +- .../2018-06-01/examples/VpnConnectionPut.json | 3 - .../2018-06-01/virtualNetworkGateway.json | 57 +++++++++++--- .../stable/2018-06-01/virtualWan.json | 3 +- ...sRouteCrossConnectionBgpPeeringCreate.json | 1 - .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ ...ualNetworkGatewayConnectionUpdateTags.json | 6 +- .../2018-07-01/examples/VpnConnectionPut.json | 3 - .../2018-07-01/virtualNetworkGateway.json | 52 ++++++++++--- .../stable/2018-07-01/virtualWan.json | 3 +- ...sRouteCrossConnectionBgpPeeringCreate.json | 1 - .../examples/ExpressRouteGatewayCreate.json | 2 - .../examples/ExpressRouteGatewayGet.json | 3 +- .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ .../stable/2018-08-01/networkProfile.json | 5 +- .../2018-08-01/virtualNetworkGateway.json | 77 +++++++++++++++---- ...sRouteCrossConnectionBgpPeeringCreate.json | 1 - .../examples/ExpressRouteGatewayCreate.json | 2 - .../examples/ExpressRouteGatewayGet.json | 3 +- .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ .../stable/2018-10-01/networkProfile.json | 5 +- .../2018-10-01/virtualNetworkGateway.json | 77 +++++++++++++++---- ...sRouteCrossConnectionBgpPeeringCreate.json | 1 - .../examples/ExpressRouteGatewayCreate.json | 2 - .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ .../stable/2018-11-01/networkProfile.json | 5 +- .../2018-11-01/virtualNetworkGateway.json | 77 +++++++++++++++---- ...sRouteCrossConnectionBgpPeeringCreate.json | 1 - .../examples/ExpressRouteGatewayCreate.json | 2 - .../examples/ExpressRouteGatewayGet.json | 3 +- .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ .../stable/2018-12-01/networkProfile.json | 5 +- .../2018-12-01/virtualNetworkGateway.json | 77 +++++++++++++++---- ...sRouteCrossConnectionBgpPeeringCreate.json | 1 - .../examples/ExpressRouteGatewayCreate.json | 2 - .../examples/LoadBalancerCreate.json | 27 +------ .../LoadBalancerCreateStandardSku.json | 27 +------ .../examples/LoadBalancerCreateWithZones.json | 27 +------ .../examples/NatGatewayCreateOrUpdate.json | 5 -- .../stable/2019-02-01/networkProfile.json | 5 +- .../2019-02-01/virtualNetworkGateway.json | 2 + ...sRouteCrossConnectionBgpPeeringCreate.json | 1 - .../examples/ExpressRouteGatewayCreate.json | 2 - .../examples/NatGatewayCreateOrUpdate.json | 5 -- .../examples/PrivateLinkServiceCreate.json | 1 - .../stable/2019-04-01/networkProfile.json | 5 +- .../2019-04-01/virtualNetworkGateway.json | 2 + 123 files changed, 1059 insertions(+), 1395 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2015-06-15/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2015-06-15/virtualNetworkGateway.json index ed67d98f6f27..a808afc8b139 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2015-06-15/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2015-06-15/virtualNetworkGateway.json @@ -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": { @@ -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": { @@ -301,6 +307,10 @@ "type": "string" } } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } } }, @@ -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": { @@ -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": { @@ -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": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2016-09-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2016-09-01/virtualNetworkGateway.json index c1b076058e32..e4125f6d81c2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2016-09-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2016-09-01/virtualNetworkGateway.json @@ -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": { @@ -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": { @@ -299,6 +305,10 @@ "type": "string" } } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } } }, @@ -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": { @@ -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": { @@ -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}": { @@ -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": { @@ -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}": { @@ -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": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/examples/RouteFilterCreate.json index 5ae985d7dec3..2a26258ddf97 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/examples/RouteFilterCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/examples/RouteFilterCreate.json @@ -12,7 +12,6 @@ "properties": { "rules": [ { - "name": "ruleName", "properties": { "access": "Allow", "routeFilterRuleType": "Community", @@ -22,8 +21,7 @@ ] } } - ], - "peerings": [] + ] } } }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/examples/RouteFilterUpdate.json index fba7e86e63de..df928c778985 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/examples/RouteFilterUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/examples/RouteFilterUpdate.json @@ -11,7 +11,6 @@ "properties": { "rules": [ { - "name": "ruleName", "properties": { "access": "Allow", "routeFilterRuleType": "Community", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/virtualNetworkGateway.json index 8439186c376f..5601c3b3f92b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2016-12-01/virtualNetworkGateway.json @@ -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": { @@ -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": { @@ -299,6 +305,10 @@ "type": "string" } } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } } }, @@ -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": { @@ -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": { @@ -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}": { @@ -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": { @@ -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}": { @@ -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": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/examples/RouteFilterCreate.json index d15bd7fd4a2d..27c146b951f4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/examples/RouteFilterCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/examples/RouteFilterCreate.json @@ -12,7 +12,6 @@ "properties": { "rules": [ { - "name": "ruleName", "properties": { "access": "Allow", "routeFilterRuleType": "Community", @@ -22,8 +21,7 @@ ] } } - ], - "peerings": [] + ] } } }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/examples/RouteFilterUpdate.json index 87321baf9cc8..5e538a4bfccc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/examples/RouteFilterUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/examples/RouteFilterUpdate.json @@ -11,7 +11,6 @@ "properties": { "rules": [ { - "name": "ruleName", "properties": { "access": "Allow", "routeFilterRuleType": "Community", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/virtualNetworkGateway.json index a7cb477ea494..94d65d732a35 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-03-01/virtualNetworkGateway.json @@ -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": { @@ -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": { @@ -299,6 +305,10 @@ "type": "string" } } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } } }, @@ -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": { @@ -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": { @@ -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}": { @@ -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": { @@ -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}": { @@ -890,7 +915,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": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/LoadBalancerCreate.json index 197b53617e9b..dc5395991aae 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -69,12 +53,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/LoadBalancerCreateWithZones.json index c5bc5cfdb623..9e32b2860171 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/virtualNetworkGateway.json index 6a0652714c55..55de5d2116b6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-06-01/virtualNetworkGateway.json @@ -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": { @@ -298,7 +301,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": { @@ -402,6 +408,7 @@ } } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -454,7 +461,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": { @@ -497,7 +507,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": { @@ -547,7 +560,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}": { @@ -680,7 +696,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": { @@ -859,7 +878,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}": { @@ -995,7 +1017,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": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/LoadBalancerCreate.json index b1c3a2d2bff0..796eea0ac5f3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -69,12 +53,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/LoadBalancerCreateStandardSku.json index 498a4253ea25..916feac94c3f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/LoadBalancerCreateWithZones.json index 21f42994cf2c..0bcd1dbd3e75 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/virtualNetworkGateway.json index 89becf3288b4..45b1916d36b3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-08-01/virtualNetworkGateway.json @@ -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": { @@ -298,7 +301,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": { @@ -405,6 +411,7 @@ "description": "Accepted and the operation will complete asynchronously." } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -450,7 +457,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}/getBgpPeerStatus": { @@ -500,7 +510,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": { @@ -543,7 +556,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": { @@ -593,7 +609,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}": { @@ -726,7 +745,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": { @@ -905,7 +927,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}": { @@ -1041,7 +1066,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": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/LoadBalancerCreate.json index d2cf92870815..854e03b2c4c3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -69,12 +53,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/LoadBalancerCreateStandardSku.json index e66feb5077d5..ea2925f711cb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/LoadBalancerCreateWithZones.json index 77be3556ae4d..69a19a2e6fa9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/virtualNetworkGateway.json index 3908fcb9d0d5..eaa9179191d2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-09-01/virtualNetworkGateway.json @@ -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" + } }, "patch": { "tags": [ @@ -350,7 +353,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": { @@ -457,6 +463,7 @@ "description": "Accepted and the operation will complete asynchronously." } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -502,7 +509,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}/getBgpPeerStatus": { @@ -552,7 +562,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}/supportedvpndevices": { @@ -634,7 +647,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": { @@ -684,7 +700,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}/vpndeviceconfigurationscript": { @@ -865,7 +884,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" + } }, "patch": { "tags": [ @@ -1096,7 +1118,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}": { @@ -1232,7 +1257,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" + } }, "patch": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/LoadBalancerCreate.json index 30cfd0744c56..63c6335c3b74 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -69,12 +53,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/LoadBalancerCreateStandardSku.json index 6c21a2d40a55..a45476bcdfc9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/LoadBalancerCreateWithZones.json index fe1916d80319..f224eba91cc9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/virtualNetworkGateway.json index 5b1423aa2352..05facf79cacf 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-10-01/virtualNetworkGateway.json @@ -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" + } }, "patch": { "tags": [ @@ -350,7 +353,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": { @@ -457,6 +463,7 @@ "description": "Accepted and the operation will complete asynchronously." } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -502,7 +509,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}/getBgpPeerStatus": { @@ -552,7 +562,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}/supportedvpndevices": { @@ -634,7 +647,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": { @@ -684,7 +700,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}/vpndeviceconfigurationscript": { @@ -865,7 +884,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" + } }, "patch": { "tags": [ @@ -1096,7 +1118,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}": { @@ -1232,7 +1257,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" + } }, "patch": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/LoadBalancerCreate.json index fb3eec4b0188..897f5233a44c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -69,12 +53,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/LoadBalancerCreateStandardSku.json index 8435c207ccdf..2356d1572b40 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/LoadBalancerCreateWithZones.json index 0a2b2365e8ef..3d7466084429 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/virtualNetworkGateway.json index 96fe34d43a14..b8a14b8b34c4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2017-11-01/virtualNetworkGateway.json @@ -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" + } }, "patch": { "tags": [ @@ -350,7 +353,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": { @@ -457,6 +463,7 @@ "description": "Accepted and the operation will complete asynchronously." } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -502,7 +509,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}/getBgpPeerStatus": { @@ -552,7 +562,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}/supportedvpndevices": { @@ -634,7 +647,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": { @@ -684,7 +700,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}/vpndeviceconfigurationscript": { @@ -865,7 +884,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" + } }, "patch": { "tags": [ @@ -1096,7 +1118,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}": { @@ -1232,7 +1257,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" + } }, "patch": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/LoadBalancerCreate.json index f1450680eb03..b7d1fb22d134 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -69,12 +53,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/LoadBalancerCreateStandardSku.json index bc8e7d332397..c02b92b6f8aa 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/LoadBalancerCreateWithZones.json index 2a7cf4e26c3a..ed21027ad77c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/virtualNetworkGateway.json index 14e95ae54be8..310bd618dccb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-01-01/virtualNetworkGateway.json @@ -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" + } }, "patch": { "tags": [ @@ -350,7 +353,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": { @@ -457,6 +463,7 @@ "description": "Accepted and the operation will complete asynchronously." } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -502,7 +509,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}/getBgpPeerStatus": { @@ -552,7 +562,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}/supportedvpndevices": { @@ -634,7 +647,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": { @@ -684,7 +700,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}/vpndeviceconfigurationscript": { @@ -865,7 +884,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" + } }, "patch": { "tags": [ @@ -1096,7 +1118,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}": { @@ -1232,7 +1257,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" + } }, "patch": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json index c286bf41c191..0903994cf034 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json @@ -7,7 +7,6 @@ "subscriptionId": "subid", "peeringParameters": { "properties": { - "azureASN": 12076, "peerASN": 200, "primaryPeerAddressPrefix": "192.168.16.252/30", "secondaryPeerAddressPrefix": "192.168.18.252/30", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LoadBalancerCreate.json index fd4c70ddc062..4d32a7a16d1c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -69,12 +53,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LoadBalancerCreateStandardSku.json index cd6df0f50587..2f62cef6d54a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LoadBalancerCreateWithZones.json index 2aa61a123d6a..cadd14e4a10c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LocalNetworkGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LocalNetworkGatewayDelete.json index 625699d9495b..f5a28aa09fba 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LocalNetworkGatewayDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/LocalNetworkGatewayDelete.json @@ -6,14 +6,8 @@ "localNetworkGatewayName": "localgw" }, "responses": { - "202": { - "body": {} - }, - "200": { - "body": {} - }, - "204": { - "body": {} - } + "202": {}, + "200": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionCreate.json index 908c0bda2116..ab6f5680f7bc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionCreate.json @@ -82,10 +82,12 @@ "provisioningState": "Updating", "resourceGuid": "00000000-0000-0000-0000-000000000000", "virtualNetworkGateway1": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} }, "localNetworkGateway2": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "properties": {} }, "connectionType": "IPsec", "routingWeight": 0, @@ -109,10 +111,12 @@ "provisioningState": "Updating", "resourceGuid": "00000000-0000-0000-0000-000000000000", "virtualNetworkGateway1": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} }, "localNetworkGateway2": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "properties": {} }, "connectionType": "IPsec", "routingWeight": 0, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionDelete.json index c4c04fa6b034..09ff29b9c4d4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionDelete.json @@ -6,14 +6,8 @@ "virtualNetworkGatewayConnectionName": "conn1" }, "responses": { - "202": { - "body": {} - }, - "200": { - "body": {} - }, - "204": { - "body": {} - } + "202": {}, + "200": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionGet.json index a3188c1ad8b9..ea5606c93b09 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionGet.json @@ -17,10 +17,12 @@ "provisioningState": "Succeeded", "resourceGuid": "00000000-0000-0000-0000-000000000000", "virtualNetworkGateway1": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} }, "localNetworkGateway2": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "properties": {} }, "connectionType": "IPsec", "routingWeight": 0, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json index 6c19d63a7a50..71237aa4fee6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json @@ -8,9 +8,7 @@ "responses": { "200": { "body": { - "properties": { - "value": "AzureAbc123" - } + "value": "AzureAbc123" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json index 7be78067844d..94db75cb9e48 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json @@ -5,19 +5,15 @@ "resourceGroupName": "rg1", "virtualNetworkGatewayConnectionName": "conn1", "parameters": { - "properties": { - "keyLength": 128 - } + "keyLength": 128 } }, "responses": { "200": { "body": { - "value": "" + "keyLength": 128 } }, - "202": { - "body": {} - } + "202": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json index a80a2e8029fb..229dce8f6b72 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json @@ -5,17 +5,19 @@ "resourceGroupName": "rg1", "virtualNetworkGatewayConnectionName": "connS2S", "parameters": { - "properties": { - "value": "AzureAbc123" - } + "value": "AzureAbc123" } }, "responses": { "200": { - "body": {} + "body": { + "value": "AzureAbc123" + } }, "201": { - "body": {} + "body": { + "value": "AzureAbc123" + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionsList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionsList.json index c63ce5ddb634..5e25c896a3de 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionsList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayConnectionsList.json @@ -18,10 +18,12 @@ "provisioningState": "Succeeded", "resourceGuid": "00000000-0000-0000-0000-000000000000", "virtualNetworkGateway1": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1", + "properties": {} }, "localNetworkGateway2": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw1", + "properties": {} }, "connectionType": "IPsec", "routingWeight": 0, @@ -42,10 +44,12 @@ "provisioningState": "Succeeded", "resourceGuid": "00000000-0000-0000-0000-000000000000", "virtualNetworkGateway1": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2", + "properties": {} }, "localNetworkGateway2": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw2" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw2", + "properties": {} }, "connectionType": "IPsec", "routingWeight": 0, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayDelete.json index c3f16ec68855..f4e2919af473 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayDelete.json @@ -6,14 +6,8 @@ "virtualNetworkGatewayName": "vpngw" }, "responses": { - "202": { - "body": {} - }, - "200": { - "body": {} - }, - "204": { - "body": {} - } + "202": {}, + "200": {}, + "204": {} } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json index 1912afa8bbd8..ccdf1a7e3f13 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json @@ -3,11 +3,12 @@ "api-version": "2018-02-01", "subscriptionId": "subid", "resourceGroupName": "rg1", - "virtualNetworkGatewayName": "vpngw" + "virtualNetworkGatewayName": "vpngw", + "parameters": {} }, "responses": { "200": { - "body": {} + "body": "" }, "202": {} } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json index 58d97c19fe39..936484d6d620 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json @@ -3,14 +3,13 @@ "api-version": "2018-02-01", "subscriptionId": "subid", "resourceGroupName": "rg1", - "virtualNetworkGatewayName": "vpngw" + "virtualNetworkGatewayName": "vpngw", + "parameters": {} }, "responses": { - "202": { - "body": {} - }, + "202": {}, "200": { - "body": {} + "body": "" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json index 58d97c19fe39..4377103705fc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json @@ -3,12 +3,11 @@ "api-version": "2018-02-01", "subscriptionId": "subid", "resourceGroupName": "rg1", - "virtualNetworkGatewayName": "vpngw" + "virtualNetworkGatewayName": "vpngw", + "peer": "test" }, "responses": { - "202": { - "body": {} - }, + "202": {}, "200": { "body": {} } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json index 58d97c19fe39..6ecdf4ec84f2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json @@ -6,9 +6,7 @@ "virtualNetworkGatewayName": "vpngw" }, "responses": { - "202": { - "body": {} - }, + "202": {}, "200": { "body": {} } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json index 58d97c19fe39..0e36073e71aa 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json @@ -6,11 +6,9 @@ "virtualNetworkGatewayName": "vpngw" }, "responses": { - "202": { - "body": {} - }, + "202": {}, "200": { - "body": {} + "body": "" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayLearnedRoutes.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayLearnedRoutes.json index 58d97c19fe39..6ecdf4ec84f2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayLearnedRoutes.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayLearnedRoutes.json @@ -6,9 +6,7 @@ "virtualNetworkGatewayName": "vpngw" }, "responses": { - "202": { - "body": {} - }, + "202": {}, "200": { "body": {} } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayReset.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayReset.json index 58d97c19fe39..72d2a380c29f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayReset.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayReset.json @@ -6,11 +6,50 @@ "virtualNetworkGatewayName": "vpngw" }, "responses": { - "202": { - "body": {} - }, + "202": {}, "200": { - "body": {} + "body": { + "name": "vpngw", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "type": "Microsoft.Network/virtualNetworkGateways", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "properties": { + "provisioningState": "Succeeded", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1", + "capacity": 0 + }, + "gatewayType": "Vpn", + "vpnType": "RouteBased", + "enableBgp": false, + "activeActive": false, + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + } + } + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json index 88e1b88d6762..419e9d6cc63a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json @@ -7,9 +7,7 @@ }, "responses": { "200": { - "body": { - "string": "" - } + "body": "" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json index 7b4e9e3a3be6..0bd8ed2c76f1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json @@ -3,20 +3,16 @@ "api-version": "2018-02-01", "subscriptionId": "subid", "resourceGroupName": "rg1", - "virtualNetworkGatewayName": "vpngw", + "virtualNetworkGatewayConnectionName": "vpngw", "parameters": { - "properties": { - "vendor": "Cisco", - "deviceFamily": "ISR", - "firmwareVersion": "IOS 15.1 (Preview)" - } + "vendor": "Cisco", + "deviceFamily": "ISR", + "firmwareVersion": "IOS 15.1 (Preview)" } }, "responses": { "200": { - "body": { - "string": "! Microsoft Corporation\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Sample VPN tunnel configuration template for IOS-based devices\r\n!\r\n! This configuration template applies to Cisco VPN devices running IOS 15.1 or beyond (ISR or ASR)\r\n!\r\n\r\n\r\n\t\t\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! ACL rules\r\n!\r\n! Some VPN devices require explicit ACL rules to allow cross-premises traffic:\r\n!\r\n! 1. Allow traffic between on premises address ranges and VNet address ranges\r\n! 2. Allow IKE traffic (UDP:500) between on premises VPN devices and Azure VPN gateway\r\n! 3. Allow IPsec traffic (Proto:ESP) between on premises VPN devices and Azure VPN gateway\r\n!\r\n\t\t\r\naccess-list 101 permit ip 10.1.0.0 0.0.255.255 10.0.0.0 0.0.255.255\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Internet Key Exchange (IKE) configuration\r\n!\r\n! This section specifies the authentication, encryption, hashing, and Diffie-Hellman group parameters for IKE\r\n! main mode or phase 1\r\n!\r\n\r\ncrypto ikev2 proposal SwaggerS2S-proposal\r\n encryption DES3\r\n integrity SHA384\r\n group DHGroup24\r\n lifetime 3600\r\n exit\r\n\r\ncrypto ikev2 policy SwaggerS2S-policy\r\n proposal SwaggerS2S-proposal\r\n exit\r\n\r\ncrypto ikev2 keyring SwaggerBranch-keyring\r\n\t\t\r\n\t\tpeer 52.173.199.254\r\n\t\taddress 52.173.199.254\r\n\t\tpre-shared-key lALEHuppeopJmA94exRNiRr2QzuZ6lOsvzu5IlJUEA6LthbTc8g5MTT86MCsGNMzGkTAaLuLnEJoD1Cn4cIlr94qKZm9drsgllzWvsPNezS71stAkaW1Bb7h6GBnDlDP\r\n exit\r\n\r\ncrypto ikev2 profile SwaggerS2S-profile\r\n match address local 10.3.0.0\r\n\tmatch identity remote address 52.173.199.254 255.255.255.255\r\n\t\t\r\n authentication remote pre-share\r\n authentication local pre-share\r\n keyring SwaggerBranch-keyring\r\n exit\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! IPsec configuration\r\n!\r\n! This section specifies encryption, authentication, tunnel mode properties for the Phase 2 negotiation\r\n!\r\ncrypto ipsec transform-set SwaggerS2S-TransformSet DES3 DES3\r\n mode tunnel\r\n exit\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Crypto map configuration\r\n!\r\n! This section defines a crypto profile that binds the cross-premises network traffic to the IPsec and IKE\r\n! policy profiles for this connection. Then defines the VTI (virtual tunnel interface) with the crypto\r\n! profile. A random interface number (tunnel 1) was used with a random link local address (169.254.0.1/28)\r\n! for the tunnel interface. If either selection is already used in the VPN device, please select another\r\n! interface number or address. The only requirement is that they must not overlap with another interface\r\n! on the same VPN device.\r\n!\r\ncrypto ipsec profile SwaggerS2S-IPsecProfile\r\n set transform-set SwaggerS2S-TransformSet\r\n set ikev2-profile SwaggerS2S-profile\r\n set pfs None\r\n set security-association lifetime 3600\r\n exit\r\n\r\n\r\nint tunnel 52.173.199.254\r\n ip address 169.254.0.1 255.255.255.252\r\n ip tcp adjust-mss 1350\r\n tunnel source 10.3.0.0\r\n tunnel mode ipsec ipv4\r\n tunnel destination 52.173.199.254\r\n tunnel protection ipsec profile SwaggerS2S-IPsecProfile\r\n exit\r\n\r\n\tip route 10.0.0.0 255.255.0.0 tunnel 52.173.199.254 " - } + "body": "! Microsoft Corporation\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Sample VPN tunnel configuration template for IOS-based devices\r\n!\r\n! This configuration template applies to Cisco VPN devices running IOS 15.1 or beyond (ISR or ASR)\r\n!\r\n\r\n\r\n\t\t\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! ACL rules\r\n!\r\n! Some VPN devices require explicit ACL rules to allow cross-premises traffic:\r\n!\r\n! 1. Allow traffic between on premises address ranges and VNet address ranges\r\n! 2. Allow IKE traffic (UDP:500) between on premises VPN devices and Azure VPN gateway\r\n! 3. Allow IPsec traffic (Proto:ESP) between on premises VPN devices and Azure VPN gateway\r\n!\r\n\t\t\r\naccess-list 101 permit ip 10.1.0.0 0.0.255.255 10.0.0.0 0.0.255.255\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Internet Key Exchange (IKE) configuration\r\n!\r\n! This section specifies the authentication, encryption, hashing, and Diffie-Hellman group parameters for IKE\r\n! main mode or phase 1\r\n!\r\n\r\ncrypto ikev2 proposal SwaggerS2S-proposal\r\n encryption DES3\r\n integrity SHA384\r\n group DHGroup24\r\n lifetime 3600\r\n exit\r\n\r\ncrypto ikev2 policy SwaggerS2S-policy\r\n proposal SwaggerS2S-proposal\r\n exit\r\n\r\ncrypto ikev2 keyring SwaggerBranch-keyring\r\n\t\t\r\n\t\tpeer 52.173.199.254\r\n\t\taddress 52.173.199.254\r\n\t\tpre-shared-key lALEHuppeopJmA94exRNiRr2QzuZ6lOsvzu5IlJUEA6LthbTc8g5MTT86MCsGNMzGkTAaLuLnEJoD1Cn4cIlr94qKZm9drsgllzWvsPNezS71stAkaW1Bb7h6GBnDlDP\r\n exit\r\n\r\ncrypto ikev2 profile SwaggerS2S-profile\r\n match address local 10.3.0.0\r\n\tmatch identity remote address 52.173.199.254 255.255.255.255\r\n\t\t\r\n authentication remote pre-share\r\n authentication local pre-share\r\n keyring SwaggerBranch-keyring\r\n exit\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! IPsec configuration\r\n!\r\n! This section specifies encryption, authentication, tunnel mode properties for the Phase 2 negotiation\r\n!\r\ncrypto ipsec transform-set SwaggerS2S-TransformSet DES3 DES3\r\n mode tunnel\r\n exit\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Crypto map configuration\r\n!\r\n! This section defines a crypto profile that binds the cross-premises network traffic to the IPsec and IKE\r\n! policy profiles for this connection. Then defines the VTI (virtual tunnel interface) with the crypto\r\n! profile. A random interface number (tunnel 1) was used with a random link local address (169.254.0.1/28)\r\n! for the tunnel interface. If either selection is already used in the VPN device, please select another\r\n! interface number or address. The only requirement is that they must not overlap with another interface\r\n! on the same VPN device.\r\n!\r\ncrypto ipsec profile SwaggerS2S-IPsecProfile\r\n set transform-set SwaggerS2S-TransformSet\r\n set ikev2-profile SwaggerS2S-profile\r\n set pfs None\r\n set security-association lifetime 3600\r\n exit\r\n\r\n\r\nint tunnel 52.173.199.254\r\n ip address 169.254.0.1 255.255.255.252\r\n ip tcp adjust-mss 1350\r\n tunnel source 10.3.0.0\r\n tunnel mode ipsec ipv4\r\n tunnel destination 52.173.199.254\r\n tunnel protection ipsec profile SwaggerS2S-IPsecProfile\r\n exit\r\n\r\n\tip route 10.0.0.0 255.255.0.0 tunnel 52.173.199.254 " } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/virtualNetworkGateway.json index 63885181d527..ec4269e5c841 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/virtualNetworkGateway.json @@ -181,7 +181,10 @@ "$ref": "./examples/VirtualNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -375,7 +378,10 @@ "$ref": "./examples/VirtualNetworkGatewayReset.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}/generatevpnclientpackage": { @@ -492,6 +498,7 @@ "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -542,7 +549,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.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}/getBgpPeerStatus": { @@ -597,7 +607,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetBGPPeerStatus.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}/supportedvpndevices": { @@ -689,7 +702,10 @@ "$ref": "./examples/VirtualNetworkGatewayLearnedRoutes.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}/getAdvertisedRoutes": { @@ -744,7 +760,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetAdvertisedRoutes.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}/setvpnclientipsecparameters": { @@ -796,7 +815,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}/getvpnclientipsecparameters": { @@ -1037,7 +1059,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -1288,7 +1313,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionResetSharedKey.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/localNetworkGateways/{localNetworkGatewayName}": { @@ -1439,7 +1467,10 @@ "$ref": "./examples/LocalNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json index d5d1a6ac41ef..aad03d1b89f6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json @@ -7,7 +7,6 @@ "subscriptionId": "subid", "peeringParameters": { "properties": { - "azureASN": 12076, "peerASN": 200, "primaryPeerAddressPrefix": "192.168.16.252/30", "secondaryPeerAddressPrefix": "192.168.18.252/30", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/LoadBalancerCreate.json index 07753c249a33..9a6ba68c3290 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -69,12 +53,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/LoadBalancerCreateStandardSku.json index 139d2df17e29..b5aba1d9f71b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/LoadBalancerCreateWithZones.json index 66530c1751d7..d2e3b8b088bf 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json index a97f9c22c704..157170166f4e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json @@ -26,10 +26,12 @@ "provisioningState": "Succeeded", "resourceGuid": "00000000-0000-0000-0000-000000000000", "virtualNetworkGateway1": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} }, "localNetworkGateway2": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/lgw" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/lgw", + "properties": {} }, "connectionType": "IPsec", "routingWeight": 0, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnConnectionPut.json index 5b3179e4185e..d458ac071392 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnConnectionPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/examples/VpnConnectionPut.json @@ -6,9 +6,6 @@ "api-version": "2018-04-01", "subscriptionId": "subid", "VpnConnectionParameters": { - "tags": { - "key1": "value1" - }, "properties": { "remoteVpnSite": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/virtualNetworkGateway.json index 8d43c400f4fb..5fa38b5fd810 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/virtualNetworkGateway.json @@ -179,7 +179,10 @@ "$ref": "./examples/VirtualNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -373,7 +376,10 @@ "$ref": "./examples/VirtualNetworkGatewayReset.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}/generatevpnclientpackage": { @@ -490,6 +496,7 @@ "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -540,7 +547,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.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}/getBgpPeerStatus": { @@ -595,7 +605,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetBGPPeerStatus.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}/supportedvpndevices": { @@ -687,7 +700,10 @@ "$ref": "./examples/VirtualNetworkGatewayLearnedRoutes.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}/getAdvertisedRoutes": { @@ -742,7 +758,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetAdvertisedRoutes.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}/setvpnclientipsecparameters": { @@ -795,6 +814,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Set VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json" @@ -840,6 +862,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Get VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json" @@ -1045,7 +1070,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -1296,7 +1324,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionResetSharedKey.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/localNetworkGateways/{localNetworkGatewayName}": { @@ -1447,7 +1478,10 @@ "$ref": "./examples/LocalNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/virtualWan.json index 013e1be60874..ab03832dfd8c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-04-01/virtualWan.json @@ -1969,7 +1969,6 @@ }, "name": { "type": "string", - "readOnly": true, "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." }, "etag": { @@ -1980,7 +1979,7 @@ }, "allOf": [ { - "$ref": "./network.json#/definitions/Resource" + "$ref": "./network.json#/definitions/SubResource" } ], "description": "VpnConnection Resource." diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json index ba9bdce30668..2bdbcc762c58 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json @@ -7,7 +7,6 @@ "subscriptionId": "subid", "peeringParameters": { "properties": { - "azureASN": 12076, "peerASN": 200, "primaryPeerAddressPrefix": "192.168.16.252/30", "secondaryPeerAddressPrefix": "192.168.18.252/30", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/LoadBalancerCreate.json index bf5b7bfd577d..cc561a5b58ac 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -69,12 +53,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/LoadBalancerCreateStandardSku.json index 7c2699f94178..d0fa36c9ef87 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/LoadBalancerCreateWithZones.json index 929bc0daf253..9cb203a4ea14 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json index 8a8f216e660f..32e6f5282e9f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json @@ -26,10 +26,12 @@ "provisioningState": "Succeeded", "resourceGuid": "00000000-0000-0000-0000-000000000000", "virtualNetworkGateway1": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} }, "localNetworkGateway2": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/lgw" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/lgw", + "properties": {} }, "connectionType": "IPsec", "routingWeight": 0, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnConnectionPut.json index eabf0417a477..35eccf253b3d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnConnectionPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/VpnConnectionPut.json @@ -6,9 +6,6 @@ "api-version": "2018-06-01", "subscriptionId": "subid", "VpnConnectionParameters": { - "tags": { - "key1": "value1" - }, "properties": { "remoteVpnSite": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualNetworkGateway.json index a57036efaab8..23bddd072938 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualNetworkGateway.json @@ -179,7 +179,10 @@ "$ref": "./examples/VirtualNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -373,7 +376,10 @@ "$ref": "./examples/VirtualNetworkGatewayReset.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}/resetvpnclientsharedkey": { @@ -418,7 +424,10 @@ "$ref": "./examples/VirtualNetworkGatewayResetVpnClientSharedKey.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}/generatevpnclientpackage": { @@ -535,6 +544,7 @@ "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -585,7 +595,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.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}/getBgpPeerStatus": { @@ -640,7 +653,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetBGPPeerStatus.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}/supportedvpndevices": { @@ -732,7 +748,10 @@ "$ref": "./examples/VirtualNetworkGatewayLearnedRoutes.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}/getAdvertisedRoutes": { @@ -787,7 +806,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetAdvertisedRoutes.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}/setvpnclientipsecparameters": { @@ -840,6 +862,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Set VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json" @@ -885,6 +910,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Get VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json" @@ -1090,7 +1118,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -1341,7 +1372,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionResetSharedKey.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/localNetworkGateways/{localNetworkGatewayName}": { @@ -1492,7 +1526,10 @@ "$ref": "./examples/LocalNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualWan.json index e596818c996f..d7a49dc9f5a9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/virtualWan.json @@ -1969,7 +1969,6 @@ }, "name": { "type": "string", - "readOnly": true, "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." }, "etag": { @@ -1980,7 +1979,7 @@ }, "allOf": [ { - "$ref": "./network.json#/definitions/Resource" + "$ref": "./network.json#/definitions/SubResource" } ], "description": "VpnConnection Resource." diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json index e6cb140ee0c2..c00667c31d03 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json @@ -7,7 +7,6 @@ "subscriptionId": "subid", "peeringParameters": { "properties": { - "azureASN": 12076, "peerASN": 200, "primaryPeerAddressPrefix": "192.168.16.252/30", "secondaryPeerAddressPrefix": "192.168.18.252/30", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/LoadBalancerCreate.json index 7723eed4c3cc..918521942656 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -70,12 +54,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/LoadBalancerCreateStandardSku.json index 91670cebd8bd..ca59aeae4f6d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/LoadBalancerCreateWithZones.json index 2001f622da41..6d0ecd186351 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json index 5a5ed3a715c3..8c046b92d407 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json @@ -26,10 +26,12 @@ "provisioningState": "Succeeded", "resourceGuid": "00000000-0000-0000-0000-000000000000", "virtualNetworkGateway1": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} }, "localNetworkGateway2": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/lgw" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/lgw", + "properties": {} }, "connectionType": "IPsec", "routingWeight": 0, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnConnectionPut.json index f1cc85031bbc..4ac5b0c3a504 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnConnectionPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/examples/VpnConnectionPut.json @@ -6,9 +6,6 @@ "api-version": "2018-07-01", "subscriptionId": "subid", "VpnConnectionParameters": { - "tags": { - "key1": "value1" - }, "properties": { "remoteVpnSite": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/virtualNetworkGateway.json index 332a2ceaf8f4..d6919999f40c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/virtualNetworkGateway.json @@ -179,7 +179,10 @@ "$ref": "./examples/VirtualNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -373,7 +376,10 @@ "$ref": "./examples/VirtualNetworkGatewayReset.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}/generatevpnclientpackage": { @@ -490,6 +496,7 @@ "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -540,7 +547,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.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}/getBgpPeerStatus": { @@ -595,7 +605,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetBGPPeerStatus.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}/supportedvpndevices": { @@ -687,7 +700,10 @@ "$ref": "./examples/VirtualNetworkGatewayLearnedRoutes.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}/getAdvertisedRoutes": { @@ -742,7 +758,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetAdvertisedRoutes.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}/setvpnclientipsecparameters": { @@ -795,6 +814,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Set VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json" @@ -840,6 +862,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Get VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json" @@ -1045,7 +1070,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -1296,7 +1324,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionResetSharedKey.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/localNetworkGateways/{localNetworkGatewayName}": { @@ -1447,7 +1478,10 @@ "$ref": "./examples/LocalNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/virtualWan.json index d176c711fd3b..aad651c13e50 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/virtualWan.json @@ -1969,7 +1969,6 @@ }, "name": { "type": "string", - "readOnly": true, "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." }, "etag": { @@ -1980,7 +1979,7 @@ }, "allOf": [ { - "$ref": "./network.json#/definitions/Resource" + "$ref": "./network.json#/definitions/SubResource" } ], "description": "VpnConnection Resource." diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json index c11d180f30ad..6811afe19c68 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json @@ -7,7 +7,6 @@ "subscriptionId": "subid", "peeringParameters": { "properties": { - "azureASN": 12076, "peerASN": 200, "primaryPeerAddressPrefix": "192.168.16.252/30", "secondaryPeerAddressPrefix": "192.168.18.252/30", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayCreate.json index d74beede6bc5..26cc86915694 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayCreate.json @@ -5,8 +5,6 @@ "resourceGroupName": "resourceGroupName", "api-version": "2018-08-01", "putExpressRouteGatewayParameters": { - "name": "gateway-2", - "type": "Microsoft.Network/expressRouteGateways", "location": "westus", "properties": { "virtualHub": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayGet.json index 0965c7ac58b2..35395c3673f5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayGet.json @@ -20,7 +20,6 @@ } } } - }, - "404": {} + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/LoadBalancerCreate.json index c45482aa6cd3..f76b4f7675dd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -70,12 +54,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/LoadBalancerCreateStandardSku.json index 05183b45319a..debe578c0e98 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/LoadBalancerCreateWithZones.json index 0cf0947164f8..8c1ec0c50863 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/networkProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/networkProfile.json index 8de0ad48fb47..0264846ad1ee 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/networkProfile.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/networkProfile.json @@ -79,7 +79,10 @@ "$ref": "./examples/NetworkProfileDelete.json" } }, - "x-ms-long-running-operation": false + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/virtualNetworkGateway.json index 314f52b36b36..912f95ecd696 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/virtualNetworkGateway.json @@ -91,7 +91,10 @@ "$ref": "./examples/VirtualNetworkGatewayUpdate.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -179,7 +182,10 @@ "$ref": "./examples/VirtualNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -373,7 +379,10 @@ "$ref": "./examples/VirtualNetworkGatewayReset.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}/resetvpnclientsharedkey": { @@ -418,7 +427,10 @@ "$ref": "./examples/VirtualNetworkGatewayResetVpnClientSharedKey.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}/generatevpnclientpackage": { @@ -535,6 +547,7 @@ "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -585,7 +598,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.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}/getBgpPeerStatus": { @@ -640,7 +656,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetBGPPeerStatus.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}/supportedvpndevices": { @@ -732,7 +751,10 @@ "$ref": "./examples/VirtualNetworkGatewayLearnedRoutes.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}/getAdvertisedRoutes": { @@ -787,7 +809,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetAdvertisedRoutes.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}/setvpnclientipsecparameters": { @@ -840,6 +865,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Set VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json" @@ -885,6 +913,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Get VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json" @@ -1002,7 +1033,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionCreate.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -1090,7 +1124,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -1202,7 +1239,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionSetSharedKey.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -1341,7 +1381,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionResetSharedKey.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/localNetworkGateways/{localNetworkGatewayName}": { @@ -1402,7 +1445,10 @@ "$ref": "./examples/LocalNetworkGatewayCreate.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -1492,7 +1538,10 @@ "$ref": "./examples/LocalNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json index 9a54ec3608de..830a30916068 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json @@ -7,7 +7,6 @@ "subscriptionId": "subid", "peeringParameters": { "properties": { - "azureASN": 12076, "peerASN": 200, "primaryPeerAddressPrefix": "192.168.16.252/30", "secondaryPeerAddressPrefix": "192.168.18.252/30", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteGatewayCreate.json index 80e0a328e5fa..5450f7ca2ab9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteGatewayCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteGatewayCreate.json @@ -5,8 +5,6 @@ "resourceGroupName": "resourceGroupName", "api-version": "2018-10-01", "putExpressRouteGatewayParameters": { - "name": "gateway-2", - "type": "Microsoft.Network/expressRouteGateways", "location": "westus", "properties": { "virtualHub": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteGatewayGet.json index 872e96f76d98..66239951a2c8 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/ExpressRouteGatewayGet.json @@ -20,7 +20,6 @@ } } } - }, - "404": {} + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/LoadBalancerCreate.json index e59214f7eaf4..f86fe146a72d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -70,12 +54,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/LoadBalancerCreateStandardSku.json index c814f2721be3..82cf7399f777 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/LoadBalancerCreateWithZones.json index 0fbecaa7da17..0df91d5511fc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/networkProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/networkProfile.json index ec3b0c1ab61a..5879daf36c37 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/networkProfile.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/networkProfile.json @@ -79,7 +79,10 @@ "$ref": "./examples/NetworkProfileDelete.json" } }, - "x-ms-long-running-operation": false + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/virtualNetworkGateway.json index e08e56a2411a..2c437443abe7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/virtualNetworkGateway.json @@ -91,7 +91,10 @@ "$ref": "./examples/VirtualNetworkGatewayUpdate.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -179,7 +182,10 @@ "$ref": "./examples/VirtualNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -373,7 +379,10 @@ "$ref": "./examples/VirtualNetworkGatewayReset.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}/resetvpnclientsharedkey": { @@ -418,7 +427,10 @@ "$ref": "./examples/VirtualNetworkGatewayResetVpnClientSharedKey.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}/generatevpnclientpackage": { @@ -535,6 +547,7 @@ "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -585,7 +598,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.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}/getBgpPeerStatus": { @@ -640,7 +656,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetBGPPeerStatus.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}/supportedvpndevices": { @@ -732,7 +751,10 @@ "$ref": "./examples/VirtualNetworkGatewayLearnedRoutes.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}/getAdvertisedRoutes": { @@ -787,7 +809,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetAdvertisedRoutes.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}/setvpnclientipsecparameters": { @@ -840,6 +865,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Set VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json" @@ -885,6 +913,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Get VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json" @@ -1002,7 +1033,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionCreate.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -1090,7 +1124,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -1202,7 +1239,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionSetSharedKey.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -1341,7 +1381,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionResetSharedKey.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/localNetworkGateways/{localNetworkGatewayName}": { @@ -1402,7 +1445,10 @@ "$ref": "./examples/LocalNetworkGatewayCreate.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -1492,7 +1538,10 @@ "$ref": "./examples/LocalNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json index 520d7f851df2..2d96f4267d10 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json @@ -7,7 +7,6 @@ "subscriptionId": "subid", "peeringParameters": { "properties": { - "azureASN": 12076, "peerASN": 200, "primaryPeerAddressPrefix": "192.168.16.252/30", "secondaryPeerAddressPrefix": "192.168.18.252/30", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteGatewayCreate.json index 434bb14c4f32..574e85667c9a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteGatewayCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/ExpressRouteGatewayCreate.json @@ -5,8 +5,6 @@ "resourceGroupName": "resourceGroupName", "api-version": "2018-11-01", "putExpressRouteGatewayParameters": { - "name": "gateway-2", - "type": "Microsoft.Network/expressRouteGateways", "location": "westus", "properties": { "virtualHub": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/LoadBalancerCreate.json index e5c6f904afa6..8ca959f046c0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/LoadBalancerCreate.json @@ -12,30 +12,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -69,12 +53,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/LoadBalancerCreateStandardSku.json index 3f2d364168c7..1db1761d0239 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/LoadBalancerCreateStandardSku.json @@ -15,30 +15,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -71,12 +55,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/LoadBalancerCreateWithZones.json index 1db1be941d2e..12494336ec0d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/examples/LoadBalancerCreateWithZones.json @@ -12,17 +12,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -32,13 +22,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -71,12 +55,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/networkProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/networkProfile.json index cb8af37cce41..728e0032ec09 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/networkProfile.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/networkProfile.json @@ -79,7 +79,10 @@ "$ref": "./examples/NetworkProfileDelete.json" } }, - "x-ms-long-running-operation": false + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/virtualNetworkGateway.json index ee9f18d7ea98..5ca3d704236f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/virtualNetworkGateway.json @@ -91,7 +91,10 @@ "$ref": "./examples/VirtualNetworkGatewayUpdate.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -179,7 +182,10 @@ "$ref": "./examples/VirtualNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -373,7 +379,10 @@ "$ref": "./examples/VirtualNetworkGatewayReset.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}/resetvpnclientsharedkey": { @@ -418,7 +427,10 @@ "$ref": "./examples/VirtualNetworkGatewayResetVpnClientSharedKey.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}/generatevpnclientpackage": { @@ -535,6 +547,7 @@ "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -585,7 +598,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.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}/getBgpPeerStatus": { @@ -640,7 +656,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetBGPPeerStatus.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}/supportedvpndevices": { @@ -732,7 +751,10 @@ "$ref": "./examples/VirtualNetworkGatewayLearnedRoutes.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}/getAdvertisedRoutes": { @@ -787,7 +809,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetAdvertisedRoutes.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}/setvpnclientipsecparameters": { @@ -840,6 +865,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Set VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json" @@ -885,6 +913,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Get VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json" @@ -1002,7 +1033,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionCreate.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -1090,7 +1124,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -1202,7 +1239,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionSetSharedKey.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -1341,7 +1381,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionResetSharedKey.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/localNetworkGateways/{localNetworkGatewayName}": { @@ -1402,7 +1445,10 @@ "$ref": "./examples/LocalNetworkGatewayCreate.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -1492,7 +1538,10 @@ "$ref": "./examples/LocalNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json index 78fa9b288fad..a82997303b34 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json @@ -7,7 +7,6 @@ "subscriptionId": "subid", "peeringParameters": { "properties": { - "azureASN": 12076, "peerASN": 200, "primaryPeerAddressPrefix": "192.168.16.252/30", "secondaryPeerAddressPrefix": "192.168.18.252/30", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteGatewayCreate.json index 4b3e72e53b74..711353d1ab37 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteGatewayCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteGatewayCreate.json @@ -5,8 +5,6 @@ "resourceGroupName": "resourceGroupName", "api-version": "2018-12-01", "putExpressRouteGatewayParameters": { - "name": "gateway-2", - "type": "Microsoft.Network/expressRouteGateways", "location": "westus", "properties": { "virtualHub": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteGatewayGet.json index 69e64b2a09f9..a0b79195132e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/ExpressRouteGatewayGet.json @@ -20,7 +20,6 @@ } } } - }, - "404": {} + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/LoadBalancerCreate.json index 1a10f9f00870..8db0140db39c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -70,12 +54,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/LoadBalancerCreateStandardSku.json index 1e3d73eaaea0..7a8a99a512ed 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/LoadBalancerCreateWithZones.json index 3797e6c73adc..b5ec83586676 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/networkProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/networkProfile.json index f208a2270c5d..51d5bc780a1f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/networkProfile.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/networkProfile.json @@ -79,7 +79,10 @@ "$ref": "./examples/NetworkProfileDelete.json" } }, - "x-ms-long-running-operation": false + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/virtualNetworkGateway.json index 68c20f3e0723..51e0417b69ba 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/virtualNetworkGateway.json @@ -91,7 +91,10 @@ "$ref": "./examples/VirtualNetworkGatewayUpdate.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -179,7 +182,10 @@ "$ref": "./examples/VirtualNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -373,7 +379,10 @@ "$ref": "./examples/VirtualNetworkGatewayReset.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}/resetvpnclientsharedkey": { @@ -418,7 +427,10 @@ "$ref": "./examples/VirtualNetworkGatewayResetVpnClientSharedKey.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}/generatevpnclientpackage": { @@ -535,6 +547,7 @@ "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -585,7 +598,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.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}/getBgpPeerStatus": { @@ -640,7 +656,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetBGPPeerStatus.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}/supportedvpndevices": { @@ -732,7 +751,10 @@ "$ref": "./examples/VirtualNetworkGatewayLearnedRoutes.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}/getAdvertisedRoutes": { @@ -787,7 +809,10 @@ "$ref": "./examples/VirtualNetworkGatewayGetAdvertisedRoutes.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}/setvpnclientipsecparameters": { @@ -840,6 +865,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Set VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json" @@ -885,6 +913,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Get VirtualNetworkGateway VpnClientIpsecParameters": { "$ref": "./examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json" @@ -1002,7 +1033,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionCreate.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -1090,7 +1124,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ @@ -1202,7 +1239,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionSetSharedKey.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -1341,7 +1381,10 @@ "$ref": "./examples/VirtualNetworkGatewayConnectionResetSharedKey.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/localNetworkGateways/{localNetworkGatewayName}": { @@ -1402,7 +1445,10 @@ "$ref": "./examples/LocalNetworkGatewayCreate.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "get": { "tags": [ @@ -1492,7 +1538,10 @@ "$ref": "./examples/LocalNetworkGatewayDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "patch": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json index 1912b77318af..0877ff2f357e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json @@ -7,7 +7,6 @@ "subscriptionId": "subid", "peeringParameters": { "properties": { - "azureASN": 12076, "peerASN": 200, "primaryPeerAddressPrefix": "192.168.16.252/30", "secondaryPeerAddressPrefix": "192.168.18.252/30", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayCreate.json index 07714c13f8d5..0906fb79cbe9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/ExpressRouteGatewayCreate.json @@ -5,8 +5,6 @@ "resourceGroupName": "resourceGroupName", "api-version": "2019-02-01", "putExpressRouteGatewayParameters": { - "name": "gateway-2", - "type": "Microsoft.Network/expressRouteGateways", "location": "westus", "properties": { "virtualHub": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreate.json index d93b5581e86e..8bc63b0bf5dd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -70,12 +54,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateStandardSku.json index 967c807fa21a..05db41f71c3f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateWithZones.json index e60bd8e825e7..b90d6ac3c239 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayCreateOrUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayCreateOrUpdate.json index a7cdc4988ba6..f00779575524 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayCreateOrUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/NatGatewayCreateOrUpdate.json @@ -15,11 +15,6 @@ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" } - ], - "subnets": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" - } ] } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkProfile.json index 8f7ac002ff14..5fb7aac5e973 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkProfile.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkProfile.json @@ -79,7 +79,10 @@ "$ref": "./examples/NetworkProfileDelete.json" } }, - "x-ms-long-running-operation": false + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetworkGateway.json index 8186e99414cf..d1ea11456a71 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetworkGateway.json @@ -487,6 +487,7 @@ "$ref": "./examples/VirtualNetworkGatewayGenerateVpnClientPackage.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -546,6 +547,7 @@ "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json index 061deced429f..bc92c62a36c4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json @@ -7,7 +7,6 @@ "subscriptionId": "subid", "peeringParameters": { "properties": { - "azureASN": 12076, "peerASN": 200, "primaryPeerAddressPrefix": "192.168.16.252/30", "secondaryPeerAddressPrefix": "192.168.18.252/30", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayCreate.json index dafac5459191..b0a43343b512 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteGatewayCreate.json @@ -5,8 +5,6 @@ "resourceGroupName": "resourceGroupName", "api-version": "2019-04-01", "putExpressRouteGatewayParameters": { - "name": "gateway-2", - "type": "Microsoft.Network/expressRouteGateways", "location": "westus", "properties": { "virtualHub": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayCreateOrUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayCreateOrUpdate.json index d30dddd9a98c..f9cd90499629 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayCreateOrUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/NatGatewayCreateOrUpdate.json @@ -15,11 +15,6 @@ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" } - ], - "subnets": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" - } ] } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceCreate.json index 01544e532e2b..49dcb96c21a1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceCreate.json @@ -6,7 +6,6 @@ "serviceName": "testPls", "parameters": { "properties": { - "provisioningState": "Succeeded", "visibility": { "subscriptions": [ "subscription1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkProfile.json index df5b3976548e..be00a59d91d8 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkProfile.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/networkProfile.json @@ -79,7 +79,10 @@ "$ref": "./examples/NetworkProfileDelete.json" } }, - "x-ms-long-running-operation": false + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetworkGateway.json index 9de14acd38fd..32e31b1329c7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetworkGateway.json @@ -487,6 +487,7 @@ "$ref": "./examples/VirtualNetworkGatewayGenerateVpnClientPackage.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" } @@ -546,6 +547,7 @@ "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" } }, + "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" }