diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/applicationGateway.json index 23aa191340dd..d41faf603a82 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/applicationGateway.json @@ -79,7 +79,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" + } }, "get": { "tags": [ @@ -128,11 +131,6 @@ "ApplicationGateways" ], "operationId": "ApplicationGateways_CreateOrUpdate", - "x-ms-examples": { - "Create Application Gateway": { - "$ref": "./examples/ApplicationGatewayCreate.json" - } - }, "description": "Creates or updates the specified application gateway.", "parameters": [ { @@ -179,7 +177,15 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-examples": { + "Create Application Gateway": { + "$ref": "./examples/ApplicationGatewayCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "patch": { "tags": [ @@ -349,7 +355,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/applicationGateways/{applicationGatewayName}/stop": { @@ -394,7 +403,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/applicationGateways/{applicationGatewayName}/backendhealth": { @@ -449,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}/providers/Microsoft.Network/applicationGatewayAvailableServerVariables": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/applicationSecurityGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/applicationSecurityGroup.json index 36ad017c7637..7fc03bfb6e5c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/applicationSecurityGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/applicationSecurityGroup.json @@ -75,6 +75,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Delete application security group": { "$ref": "./examples/ApplicationSecurityGroupDelete.json" } } @@ -171,6 +174,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, "x-ms-examples": { "Create application security group": { "$ref": "./examples/ApplicationSecurityGroupCreate.json" } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/azureFirewall.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/azureFirewall.json index 366c5fed2a7e..45b4d1bb233f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/azureFirewall.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/azureFirewall.json @@ -79,7 +79,10 @@ "$ref":"./examples/AzureFirewallDelete.json" } }, - "x-ms-long-running-operation":true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get":{ "tags":[ @@ -179,7 +182,10 @@ "$ref":"./examples/AzureFirewallPut.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" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls":{ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/ddosCustomPolicy.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/ddosCustomPolicy.json index af57e0487c02..b9cc51227393 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/ddosCustomPolicy.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/ddosCustomPolicy.json @@ -81,6 +81,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Delete DDoS custom policy": { "$ref": "./examples/DdosCustomPolicyDelete.json" @@ -193,6 +196,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, "x-ms-examples": { "Create DDoS custom policy": { "$ref": "./examples/DdosCustomPolicyCreate.json" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/ddosProtectionPlan.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/ddosProtectionPlan.json index cfc6a9887e67..d54e978a2ced 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/ddosProtectionPlan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/ddosProtectionPlan.json @@ -75,6 +75,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Delete DDoS protection plan": { "$ref": "./examples/DdosProtectionPlanDelete.json" @@ -175,6 +178,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, "x-ms-examples": { "Create DDoS protection plan": { "$ref": "./examples/DdosProtectionPlanCreate.json" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRouteCircuit.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRouteCircuit.json index 4432701bf66d..631785b57719 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRouteCircuit.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRouteCircuit.json @@ -82,6 +82,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Delete ExpressRouteCircuit Authorization": { "$ref": "./examples/ExpressRouteCircuitAuthorizationDelete.json" } } @@ -192,6 +195,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, "x-ms-examples": { "Create ExpressRouteCircuit Authorization": { "$ref": "./examples/ExpressRouteCircuitAuthorizationCreate.json" } } @@ -290,6 +296,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Delete ExpressRouteCircuit Peerings": { "$ref": "./examples/ExpressRouteCircuitPeeringDelete.json" } } @@ -400,6 +409,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, "x-ms-examples": { "Create ExpressRouteCircuit Peerings": { "$ref": "./examples/ExpressRouteCircuitPeeringCreate.json" } } @@ -507,7 +519,10 @@ "x-ms-examples": { "Delete ExpressRouteCircuit": { "$ref": "./examples/ExpressRouteCircuitConnectionDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ @@ -635,7 +650,10 @@ "$ref": "./examples/ExpressRouteCircuitConnectionCreate.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" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections": { @@ -795,11 +813,11 @@ "x-ms-pageable": { "nextLinkName": "nextLink" }, - "x-ms-examples": { - "List Peer ExpressRouteCircuit Connection": { "$ref": "./examples/PeerExpressRouteCircuitConnectionList.json" } + "x-ms-examples": { + "List Peer ExpressRouteCircuit Connection": { "$ref": "./examples/PeerExpressRouteCircuitConnectionList.json" } } } - }, + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}": { "delete": { "tags": [ @@ -841,6 +859,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Delete ExpressRouteCircuit": { "$ref": "./examples/ExpressRouteCircuitDelete.json" } } @@ -937,6 +958,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, "x-ms-examples": { "Create ExpressRouteCircuit": { "$ref": "./examples/ExpressRouteCircuitCreate.json" } } @@ -1049,6 +1073,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "List ARP Table": { "$ref": "./examples/ExpressRouteCircuitARPTableList.json" } } @@ -1109,6 +1136,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "List Route Tables": { "$ref": "./examples/ExpressRouteCircuitRouteTableList.json" } } @@ -1169,6 +1199,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "List Route Table Summary": { "$ref": "./examples/ExpressRouteCircuitRouteTableSummaryList.json" } } @@ -1862,7 +1895,7 @@ } }, "description": "Response for ListPeeredConnections API service call retrieves all global reach peer circuit connections that belongs to a Private Peering for an ExpressRouteCircuit." - }, + }, "ExpressRouteCircuitSku": { "properties": { "name": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRouteCrossConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRouteCrossConnection.json index f294f62f7f71..612c94171878 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRouteCrossConnection.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRouteCrossConnection.json @@ -200,7 +200,10 @@ "$ref": "./examples/ExpressRouteCrossConnectionUpdate.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" + } }, "patch": { "tags": [ @@ -354,7 +357,10 @@ "$ref": "./examples/ExpressRouteCrossConnectionBgpPeeringDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ @@ -468,7 +474,10 @@ "$ref": "./examples/ExpressRouteCrossConnectionBgpPeeringCreate.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" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}": { @@ -530,7 +539,10 @@ "$ref": "./examples/ExpressRouteCrossConnectionsArpTable.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/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}": { @@ -592,7 +604,10 @@ "$ref": "./examples/ExpressRouteCrossConnectionsRouteTableSummary.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/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}": { @@ -654,7 +669,10 @@ "$ref": "./examples/ExpressRouteCrossConnectionsRouteTable.json" } }, - "x-ms-long-running-operation": true + "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-02-01/expressRouteGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRouteGateway.json index b5f52b952172..99fca40a423a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRouteGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRouteGateway.json @@ -158,7 +158,10 @@ } } }, - "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": [ @@ -246,7 +249,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/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}": { @@ -313,7 +319,10 @@ } } }, - "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": [ @@ -415,7 +424,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/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections": { @@ -527,7 +539,7 @@ "type": "string", "readOnly": true, "description": "The provisioning state of the resource.", - "enum":[ + "enum": [ "Succeeded", "Updating", "Deleting", @@ -586,7 +598,7 @@ "type": "string", "readOnly": true, "description": "The provisioning state of the resource.", - "enum":[ + "enum": [ "Succeeded", "Updating", "Deleting", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRoutePort.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRoutePort.json index 25f2b2cf7f2e..6a4789b6962c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRoutePort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/expressRoutePort.json @@ -141,6 +141,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "ExpressRoutePortDelete": { "$ref": "./examples/ExpressRoutePortDelete.json" } } @@ -237,6 +240,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, "x-ms-examples": { "ExpressRoutePortCreate": { "$ref": "./examples/ExpressRoutePortCreate.json" }, "ExpressRoutePortUpdateLink": { "$ref": "./examples/ExpressRoutePortUpdateLink.json" } @@ -744,4 +750,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/interfaceEndpoint.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/interfaceEndpoint.json index 83e1fa710d52..46c6423076ed 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/interfaceEndpoint.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/interfaceEndpoint.json @@ -75,6 +75,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Delete interface endpoint": { "$ref": "./examples/InterfaceEndpointDelete.json" } } @@ -178,6 +181,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, "x-ms-examples": { "Create interface endpoint": { "$ref": "./examples/InterfaceEndpointCreate.json" } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/loadBalancer.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/loadBalancer.json index 3c6e49d24372..3e3c7bc159c4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/loadBalancer.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/loadBalancer.json @@ -78,7 +78,10 @@ "x-ms-examples": { "Delete load balancer": { "$ref": "./examples/LoadBalancerDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ @@ -182,7 +185,10 @@ "Create load balancer": { "$ref": "./examples/LoadBalancerCreate.json" }, "Create load balancer with inbound nat pool": { "$ref": "./examples/LoadBalancerCreateWithInboundNatPool.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" + } }, "patch": { "tags": [ @@ -587,7 +593,10 @@ "x-ms-examples": { "InboundNatRuleDelete": { "$ref": "./examples/InboundNatRuleDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ @@ -702,6 +711,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, "x-ms-examples": { "InboundNatRuleCreate": { "$ref": "./examples/InboundNatRuleCreate.json" } } @@ -1537,7 +1549,7 @@ "provisioningState": { "type": "string", "description": "Gets the provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." - }, + }, "protocol": { "type": "string", "description": "The protocol for the outbound rule in load balancer. Possible values are: 'Tcp', 'Udp', and 'All'.", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkInterface.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkInterface.json index 203609b6cab4..5e55ff597cda 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkInterface.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkInterface.json @@ -77,7 +77,10 @@ "x-ms-examples": { "Delete network interface": { "$ref": "./examples/NetworkInterfaceDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ @@ -180,7 +183,10 @@ "x-ms-examples": { "Create network interface": { "$ref": "./examples/NetworkInterfaceCreate.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" + } }, "patch": { "tags": [ @@ -345,7 +351,10 @@ "x-ms-examples": { "Show network interface effective route tables": { "$ref": "./examples/NetworkInterfaceEffectiveRouteTableList.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/networkInterfaces/{networkInterfaceName}/effectiveNetworkSecurityGroups": { @@ -391,7 +400,10 @@ "x-ms-examples": { "List network interface effective network security groups": { "$ref": "./examples/NetworkInterfaceEffectiveNSGList.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/networkInterfaces/{networkInterfaceName}/ipConfigurations": { @@ -584,7 +596,10 @@ { "Delete tap configuration": { "$ref": "./examples/NetworkInterfaceTapConfigurationDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ @@ -696,7 +711,10 @@ { "Create Network Interface Tap Configurations": { "$ref": "./examples/NetworkInterfaceTapConfigurationCreate.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" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkSecurityGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkSecurityGroup.json index 9b9a6abfc1c7..426121eea67e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkSecurityGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkSecurityGroup.json @@ -77,7 +77,10 @@ "x-ms-examples": { "Delete network security group": { "$ref": "./examples/NetworkSecurityGroupDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ @@ -181,7 +184,10 @@ "Create network security group": { "$ref": "./examples/NetworkSecurityGroupCreate.json" }, "Create network security group with rule": { "$ref": "./examples/NetworkSecurityGroupCreateWithRule.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" + } }, "patch": { "tags": [ @@ -353,7 +359,10 @@ "x-ms-examples": { "Delete network security rule from network security group": { "$ref": "./examples/NetworkSecurityGroupRuleDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ @@ -463,7 +472,10 @@ "x-ms-examples": { "Create security rule": { "$ref": "./examples/NetworkSecurityGroupRuleCreate.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" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkWatcher.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkWatcher.json index 1d71e88b5dca..bbc17f9ee597 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkWatcher.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/networkWatcher.json @@ -147,7 +147,6 @@ "NetworkWatchers" ], "operationId": "NetworkWatchers_Delete", - "x-ms-long-running-operation": true, "description": "Deletes the specified network watcher resource.", "parameters": [ { @@ -187,6 +186,10 @@ }, "x-ms-examples": { "Delete network watcher": { "$ref": "./examples/NetworkWatcherDelete.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } }, "patch": { @@ -391,7 +394,6 @@ "NetworkWatchers" ], "operationId": "NetworkWatchers_VerifyIPFlow", - "x-ms-long-running-operation": true, "description": "Verify IP flow from the specified VM to a location given the currently configured NSG rules.", "parameters": [ { @@ -446,6 +448,10 @@ }, "x-ms-examples": { "Ip flow verify": { "$ref": "./examples/NetworkWatcherIpFlowVerify.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } } }, @@ -455,7 +461,6 @@ "NetworkWatchers" ], "operationId": "NetworkWatchers_GetNextHop", - "x-ms-long-running-operation": true, "description": "Gets the next hop from the specified VM.", "parameters": [ { @@ -510,6 +515,10 @@ }, "x-ms-examples": { "Get next hop": { "$ref": "./examples/NetworkWatcherNextHopGet.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } } }, @@ -519,7 +528,6 @@ "NetworkWatchers" ], "operationId": "NetworkWatchers_GetVMSecurityRules", - "x-ms-long-running-operation": true, "description": "Gets the configured and effective security group rules on the specified VM.", "parameters": [ { @@ -574,6 +582,10 @@ }, "x-ms-examples": { "Get security group view": { "$ref": "./examples/NetworkWatcherSecurityGroupViewGet.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } } }, @@ -583,7 +595,6 @@ "PacketCaptures" ], "operationId": "PacketCaptures_Create", - "x-ms-long-running-operation": true, "description": "Create and start a packet capture on the specified VM.", "parameters": [ { @@ -639,6 +650,10 @@ }, "x-ms-examples": { "Create packet capture": { "$ref": "./examples/NetworkWatcherPacketCaptureCreate.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" } }, "get": { @@ -699,7 +714,6 @@ "PacketCaptures" ], "operationId": "PacketCaptures_Delete", - "x-ms-long-running-operation": true, "description": "Deletes the specified packet capture session.", "parameters": [ { @@ -746,6 +760,10 @@ }, "x-ms-examples": { "Delete packet capture": { "$ref": "./examples/NetworkWatcherPacketCaptureDelete.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } } }, @@ -755,7 +773,6 @@ "PacketCaptures" ], "operationId": "PacketCaptures_Stop", - "x-ms-long-running-operation": true, "description": "Stops a specified packet capture session.", "parameters": [ { @@ -802,6 +819,10 @@ }, "x-ms-examples": { "Stop packet capture": { "$ref": "./examples/NetworkWatcherPacketCaptureStop.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } } }, @@ -811,10 +832,6 @@ "PacketCaptures" ], "operationId": "PacketCaptures_GetStatus", - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, "description": "Query the status of a running packet capture session.", "parameters": [ { @@ -867,6 +884,10 @@ }, "x-ms-examples": { "Query packet capture status": { "$ref": "./examples/NetworkWatcherPacketCaptureQueryStatus.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } } }, @@ -927,7 +948,6 @@ "NetworkWatchers" ], "operationId": "NetworkWatchers_GetTroubleshooting", - "x-ms-long-running-operation": true, "description": "Initiate troubleshooting on a specified resource", "parameters": [ { @@ -982,6 +1002,10 @@ }, "x-ms-examples": { "Get troubleshooting": { "$ref": "./examples/NetworkWatcherTroubleshootGet.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } } }, @@ -991,7 +1015,6 @@ "NetworkWatchers" ], "operationId": "NetworkWatchers_GetTroubleshootingResult", - "x-ms-long-running-operation": true, "description": "Get the last completed troubleshooting result on a specified resource", "parameters": [ { @@ -1046,6 +1069,10 @@ }, "x-ms-examples": { "Get troubleshoot result": { "$ref": "./examples/NetworkWatcherTroubleshootResultQuery.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } } }, @@ -1056,7 +1083,6 @@ "TrafficAnalytics" ], "operationId": "NetworkWatchers_SetFlowLogConfiguration", - "x-ms-long-running-operation": true, "description": "Configures flow log and traffic analytics (optional) on a specified resource.", "parameters": [ { @@ -1111,6 +1137,10 @@ }, "x-ms-examples": { "Configure flow log": { "$ref": "./examples/NetworkWatcherFlowLogConfigure.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } } }, @@ -1121,7 +1151,6 @@ "TrafficAnalytics" ], "operationId": "NetworkWatchers_GetFlowLogStatus", - "x-ms-long-running-operation": true, "description": "Queries status of flow log and traffic analytics (optional) on a specified resource.", "parameters": [ { @@ -1176,6 +1205,10 @@ }, "x-ms-examples": { "Get flow log status": { "$ref": "./examples/NetworkWatcherFlowLogStatusQuery.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } } }, @@ -1185,7 +1218,6 @@ "NetworkWatchers" ], "operationId": "NetworkWatchers_CheckConnectivity", - "x-ms-long-running-operation": true, "description": "Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server.", "parameters": [ { @@ -1240,6 +1272,10 @@ }, "x-ms-examples": { "Check connectivity": { "$ref": "./examples/NetworkWatcherConnectivityCheck.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } } }, @@ -1249,7 +1285,6 @@ "NetworkWatchers" ], "operationId": "NetworkWatchers_GetAzureReachabilityReport", - "x-ms-long-running-operation": true, "description": "Gets the relative latency score for internet service providers from a specified location to Azure regions.", "parameters": [ { @@ -1306,6 +1341,10 @@ "Get Azure Reachability Report": { "$ref": "./examples/NetworkWatcherAzureReachabilityReportGet.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } } }, @@ -1315,7 +1354,6 @@ "NetworkWatchers" ], "operationId": "NetworkWatchers_ListAvailableProviders", - "x-ms-long-running-operation": true, "description": "Lists all available internet service providers for a specified Azure region.", "parameters": [ { @@ -1372,6 +1410,10 @@ "Get Available Providers List": { "$ref": "./examples/NetworkWatcherAvailableProvidersListGet.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } } }, @@ -1381,7 +1423,6 @@ "ConnectionMonitors" ], "operationId": "ConnectionMonitors_CreateOrUpdate", - "x-ms-long-running-operation": true, "description": "Create or update a connection monitor.", "parameters": [ { @@ -1443,6 +1484,10 @@ }, "x-ms-examples": { "Create connection monitor": { "$ref": "./examples/NetworkWatcherConnectionMonitorCreate.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" } }, "get": { @@ -1503,7 +1548,6 @@ "ConnectionMonitors" ], "operationId": "ConnectionMonitors_Delete", - "x-ms-long-running-operation": true, "description": "Deletes the specified connection monitor.", "parameters": [ { @@ -1550,6 +1594,10 @@ }, "x-ms-examples": { "Delete connection monitor": { "$ref": "./examples/NetworkWatcherConnectionMonitorDelete.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } } }, @@ -1559,7 +1607,6 @@ "ConnectionMonitors" ], "operationId": "ConnectionMonitors_Stop", - "x-ms-long-running-operation": true, "description": "Stops the specified connection monitor.", "parameters": [ { @@ -1606,6 +1653,10 @@ }, "x-ms-examples": { "Stop connection monitor": { "$ref": "./examples/NetworkWatcherConnectionMonitorStop.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } } }, @@ -1615,7 +1666,6 @@ "ConnectionMonitors" ], "operationId": "ConnectionMonitors_Start", - "x-ms-long-running-operation": true, "description": "Starts the specified connection monitor.", "parameters": [ { @@ -1662,6 +1712,10 @@ }, "x-ms-examples": { "Start connection monitor": { "$ref": "./examples/NetworkWatcherConnectionMonitorStart.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } } }, @@ -1671,7 +1725,6 @@ "ConnectionMonitors" ], "operationId": "ConnectionMonitors_Query", - "x-ms-long-running-operation": true, "description": "Query a snapshot of the most recent connection states.", "parameters": [ { @@ -1724,6 +1777,10 @@ }, "x-ms-examples": { "Query connection monitor": { "$ref": "./examples/NetworkWatcherConnectionMonitorQuery.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } } }, @@ -1784,10 +1841,6 @@ "NetworkWatchers" ], "operationId": "NetworkWatchers_GetNetworkConfigurationDiagnostic", - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, "description": "Get network configuration diagnostic.", "parameters": [ { @@ -1842,6 +1895,10 @@ }, "x-ms-examples": { "Network configuration diagnostic": { "$ref": "./examples/NetworkWatcherNetworkConfigurationDiagnostic.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-02-01/publicIpAddress.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/publicIpAddress.json index 2c67f263957d..10a7fe984406 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/publicIpAddress.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/publicIpAddress.json @@ -77,7 +77,10 @@ "x-ms-examples": { "Delete public IP address": { "$ref": "./examples/PublicIpAddressDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ @@ -182,7 +185,10 @@ "Create public IP address allocation method": { "$ref": "./examples/PublicIpAddressCreateCustomizedValues.json" }, "Create public IP address DNS": { "$ref": "./examples/PublicIpAddressCreateDns.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" + } }, "patch": { "tags": [ diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/publicIpPrefix.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/publicIpPrefix.json index b380433dc873..3f1e32929918 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/publicIpPrefix.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/publicIpPrefix.json @@ -77,7 +77,10 @@ "x-ms-examples": { "Delete public IP prefix": { "$ref": "./examples/PublicIpPrefixDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ @@ -181,7 +184,10 @@ "Create public IP prefix defaults": { "$ref": "./examples/PublicIpPrefixCreateDefaults.json" }, "Create public IP prefix allocation method": { "$ref": "./examples/PublicIpPrefixCreateCustomizedValues.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/routeFilter.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/routeFilter.json index 3a2c598dbdae..945710ebc7ee 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/routeFilter.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/routeFilter.json @@ -77,7 +77,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" + } }, "get": { "tags": [ @@ -180,7 +183,10 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "patch": { "tags": [ @@ -352,7 +358,10 @@ "description": "Rule was deleted or not found." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ @@ -462,7 +471,10 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "patch": { "tags": [ @@ -676,7 +688,7 @@ }, "description": "Collection of RouteFilterRules contained within a route filter." }, - "peerings": { + "peerings": { "type": "array", "items": { "$ref": "./expressRouteCircuit.json#/definitions/ExpressRouteCircuitPeering" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/routeTable.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/routeTable.json index 6026512cbd5c..26bbadb7acf9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/routeTable.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/routeTable.json @@ -75,6 +75,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Delete route table": { "$ref": "./examples/RouteTableDelete.json" } } @@ -181,7 +184,10 @@ "Create route table": { "$ref": "./examples/RouteTableCreate.json" }, "Create route table with route": { "$ref": "./examples/RouteTableCreateWithRoute.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" + } }, "patch": { "tags": [ @@ -353,7 +359,10 @@ "x-ms-examples": { "Delete route": { "$ref": "./examples/RouteTableRouteDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ @@ -463,7 +472,10 @@ "x-ms-examples": { "Create route": { "$ref": "./examples/RouteTableRouteCreate.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" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes": { @@ -510,7 +522,7 @@ "List routes": { "$ref": "./examples/RouteTableRouteList.json" } } } - } + } }, "definitions": { "RoutePropertiesFormat": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/serviceEndpointPolicy.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/serviceEndpointPolicy.json index 6e28235ddefd..13dcbac31cb9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/serviceEndpointPolicy.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/serviceEndpointPolicy.json @@ -77,7 +77,10 @@ "x-ms-examples": { "Delete service endpoint policy": { "$ref": "./examples/ServiceEndpointPolicyDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ @@ -181,7 +184,10 @@ "Create service endpoint policy": { "$ref": "./examples/ServiceEndpointPolicyCreate.json" }, "Create service endpoint policy with definition": { "$ref": "./examples/ServiceEndpointPolicyCreateWithDefinition.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" + } }, "patch": { "tags": [ @@ -353,7 +359,10 @@ "x-ms-examples": { "Delete service endpoint policy definitions from service endpoint policy": { "$ref": "./examples/ServiceEndpointPolicyDefinitionDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ @@ -463,7 +472,10 @@ "x-ms-examples": { "Create service endpoint policy definition": { "$ref": "./examples/ServiceEndpointPolicyDefinitionCreate.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" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetwork.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetwork.json index e848c6f760eb..04e5b6d583c2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetwork.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetwork.json @@ -75,6 +75,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Delete virtual network": { "$ref": "./examples/VirtualNetworkDelete.json" } } @@ -180,6 +183,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, "x-ms-examples": { "Create virtual network": { "$ref": "./examples/VirtualNetworkCreate.json" }, "Create virtual network with subnet": { "$ref": "./examples/VirtualNetworkCreateSubnet.json" }, @@ -358,7 +364,10 @@ "x-ms-examples": { "Delete subnet": { "$ref": "./examples/SubnetDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ @@ -474,6 +483,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, "x-ms-examples": { "Create subnet": { "$ref": "./examples/SubnetCreate.json" }, "Create subnet with service endpoints": { "$ref": "./examples/SubnetCreateServiceEndpoint.json" }, @@ -532,6 +544,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "x-ms-examples": { "Prepare Network Policies": { "$ref": "./examples/SubnetPrepareNetworkPolicies.json" } } @@ -632,7 +647,10 @@ "x-ms-examples": { "Delete peering": { "$ref": "./examples/VirtualNetworkPeeringDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ @@ -742,7 +760,10 @@ "x-ms-examples": { "Create peering": { "$ref": "./examples/VirtualNetworkPeeringCreate.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" + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings": { 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 da6ca9ada7ab..a3ca27643cf5 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 @@ -89,7 +89,10 @@ "x-ms-examples": { "UpdateVirtualNetworkGateway": { "$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": [ @@ -173,7 +176,10 @@ "x-ms-examples": { "DeleteVirtualNetworkGateway": { "$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": [ @@ -359,7 +365,10 @@ "x-ms-examples": { "ResetVirtualNetworkGateway": { "$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": { @@ -402,7 +411,10 @@ "x-ms-examples": { "ResetVpnClientSharedKey": { "$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": { @@ -562,7 +574,10 @@ "x-ms-examples": { "GetVirtualNetworkGatewayVPNProfilePackageURL": { "$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": { @@ -615,7 +630,10 @@ "x-ms-examples": { "GetVirtualNetworkGatewayBGPPeerStatus": { "$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": { @@ -703,7 +721,10 @@ "x-ms-examples": { "GetVirtualNetworkGatewayLearnedRoutes": { "$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": { @@ -756,7 +777,10 @@ "x-ms-examples": { "GetVirtualNetworkGatewayAdvertisedRoutes": { "$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": { @@ -809,6 +833,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" } } @@ -852,6 +879,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" } } @@ -963,7 +993,10 @@ "x-ms-examples": { "CreateVirtualNetworkGatewayConnection_S2S": { "$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": [ @@ -1047,7 +1080,10 @@ "x-ms-examples": { "DeleteVirtualNetworkGatewayConnection": { "$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": [ @@ -1155,7 +1191,10 @@ "x-ms-examples": { "SetVirtualNetworkGatewayConnectionSharedKey": { "$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": [ @@ -1288,7 +1327,10 @@ "x-ms-examples": { "ResetVirtualNetworkGatewayConnectionSharedKey": { "$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}": { @@ -1347,7 +1389,10 @@ "x-ms-examples": { "CreateLocalNetworkGateway": { "$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": [ @@ -1433,7 +1478,10 @@ "x-ms-examples": { "DeleteLocalNetworkGateway": { "$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/virtualNetworkTap.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetworkTap.json index bb13997b6f72..8bf023e7f225 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetworkTap.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetworkTap.json @@ -74,11 +74,13 @@ "description": "Request successful. Resource does not exist." } }, - "x-ms-examples": - { + "x-ms-examples": { "Delete Virtual Network Tap resource": { "$ref": "./examples/VirtualNetworkTapDelete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, "get": { "tags": [ @@ -116,8 +118,7 @@ } } }, - "x-ms-examples": - { + "x-ms-examples": { "Get Virtual Network Tap": { "$ref": "./examples/VirtualNetworkTapGet.json" } } }, @@ -172,11 +173,13 @@ } } }, - "x-ms-examples": - { + "x-ms-examples": { "Create Virtual Network Tap": { "$ref": "./examples/VirtualNetworkTapCreate.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" + } }, "patch": { "tags": [ @@ -298,7 +301,7 @@ } } } -}, +}, "definitions": { "VirtualNetworkTap": { "properties": { @@ -370,7 +373,7 @@ } }, "description": "Response for ListVirtualNetworkTap API service call." - } + } }, "parameters": { "SubscriptionIdParameter": { @@ -387,5 +390,5 @@ "type": "string", "description": "Client API version." } - } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualWan.json index 4184c597fbed..d27672230c3c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualWan.json @@ -139,7 +139,10 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "patch": { "tags": [ @@ -252,7 +255,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/virtualWans": { @@ -439,7 +445,10 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "patch": { "tags": [ @@ -552,7 +561,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/vpnSites": { @@ -688,7 +700,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/virtualWans/{virtualWANName}/supportedSecurityProviders": { @@ -843,7 +858,10 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "patch": { "tags": [ @@ -956,7 +974,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/virtualHubs": { @@ -1247,7 +1268,10 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "patch": { "tags": [ @@ -1360,7 +1384,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/vpnGateways": { @@ -1561,7 +1588,10 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "delete": { "operationId": "VpnConnections_Delete", @@ -1617,7 +1647,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/vpnGateways/{gatewayName}/vpnConnections": { @@ -1789,7 +1822,10 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "delete": { "operationId": "P2sVpnServerConfigurations_Delete", @@ -1845,7 +1881,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/virtualWans/{virtualWanName}/p2sVpnServerConfigurations": { @@ -2003,7 +2042,10 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } }, "patch": { "tags": [ @@ -2116,7 +2158,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/p2svpnGateways": { @@ -2250,7 +2295,10 @@ "x-ms-examples": { "GenerateP2SVpnGatewayVPNProfile": { "$ref": "./examples/P2SVpnGatewayGenerateVpnProfile.json" } }, - "x-ms-long-running-operation": true + "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-02-01/webapplicationfirewall.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/webapplicationfirewall.json index e803d4efd08c..a1b90209b123 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/webapplicationfirewall.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/webapplicationfirewall.json @@ -254,7 +254,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" + } } } },