From 87a4f8586a486ecfdf64904354b192c9b196540f Mon Sep 17 00:00:00 2001 From: supriyajha-ms <95672772+supriyajha-ms@users.noreply.github.com> Date: Mon, 14 Nov 2022 12:41:26 +0530 Subject: [PATCH] Network Watcher S360 Correctness Fix for 2022-05-01 (#21341) * Network Watcher S360 Correctness Fix for 2022-05-01 * prettier fix --- .../2022-05-01/examples/NetworkWatcherCreate.json | 6 ++++-- .../stable/2022-05-01/examples/NetworkWatcherGet.json | 3 ++- .../stable/2022-05-01/examples/NetworkWatcherList.json | 6 ++++-- .../2022-05-01/examples/NetworkWatcherListAll.json | 6 ++++-- .../2022-05-01/examples/NetworkWatcherUpdateTags.json | 3 ++- .../stable/2022-05-01/networkWatcher.json | 10 +++++++++- 6 files changed, 25 insertions(+), 9 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-05-01/examples/NetworkWatcherCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-05-01/examples/NetworkWatcherCreate.json index c3edd5ff3b39..ece400ee1ddc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2022-05-01/examples/NetworkWatcherCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-05-01/examples/NetworkWatcherCreate.json @@ -19,7 +19,8 @@ "location": "eastus", "tags": {}, "properties": { - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "runningOperationIds": [] } } }, @@ -32,7 +33,8 @@ "location": "eastus", "tags": {}, "properties": { - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "runningOperationIds": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-05-01/examples/NetworkWatcherGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-05-01/examples/NetworkWatcherGet.json index 1930060a421e..7adb00ec1727 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2022-05-01/examples/NetworkWatcherGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-05-01/examples/NetworkWatcherGet.json @@ -15,7 +15,8 @@ "location": "eastus", "tags": {}, "properties": { - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "runningOperationIds": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-05-01/examples/NetworkWatcherList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-05-01/examples/NetworkWatcherList.json index 583a94b64d90..ad845f370dbc 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2022-05-01/examples/NetworkWatcherList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-05-01/examples/NetworkWatcherList.json @@ -16,7 +16,8 @@ "location": "eastus", "tags": {}, "properties": { - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "runningOperationIds": [] } }, { @@ -27,7 +28,8 @@ "location": "eastus", "tags": {}, "properties": { - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "runningOperationIds": [] } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-05-01/examples/NetworkWatcherListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-05-01/examples/NetworkWatcherListAll.json index c5685343f739..0ee23b0d5726 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2022-05-01/examples/NetworkWatcherListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-05-01/examples/NetworkWatcherListAll.json @@ -15,7 +15,8 @@ "location": "eastus", "tags": {}, "properties": { - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "runningOperationIds": [] } }, { @@ -26,7 +27,8 @@ "location": "westus", "tags": {}, "properties": { - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "runningOperationIds": [] } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-05-01/examples/NetworkWatcherUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-05-01/examples/NetworkWatcherUpdateTags.json index 76220eab8039..db25858cd1c0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2022-05-01/examples/NetworkWatcherUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-05-01/examples/NetworkWatcherUpdateTags.json @@ -24,7 +24,8 @@ "tag2": "value2" }, "properties": { - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "runningOperationIds": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-05-01/networkWatcher.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-05-01/networkWatcher.json index 48256fd89725..dddeebe6021e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2022-05-01/networkWatcher.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-05-01/networkWatcher.json @@ -2346,7 +2346,7 @@ "properties": { "error": { "title": "Error", - "$ref": "./network.json#/definitions/ErrorDetails", + "$ref": "./network.json#/definitions/Error", "description": "The error details object." } } @@ -2377,6 +2377,14 @@ "readOnly": true, "$ref": "./network.json#/definitions/ProvisioningState", "description": "The provisioning state of the network watcher resource." + }, + "runningOperationIds": { + "type": "array", + "description": "List of running operation IDs.", + "items": { + "type": "integer", + "format": "int32" + } } }, "description": "The network watcher properties."