From 34c4ade88deb48e9a8f0cb46d0ee3ec79a245d56 Mon Sep 17 00:00:00 2001 From: supriyajha-ms <95672772+supriyajha-ms@users.noreply.github.com> Date: Mon, 24 Oct 2022 13:30:44 +0530 Subject: [PATCH] Network Watcher S360 Correctness Fix (#20804) * Adding runningOperationIds and Error * prettier fix --- .../2022-01-01/examples/NetworkWatcherCreate.json | 6 ++++-- .../stable/2022-01-01/examples/NetworkWatcherGet.json | 3 ++- .../stable/2022-01-01/examples/NetworkWatcherList.json | 6 ++++-- .../2022-01-01/examples/NetworkWatcherListAll.json | 6 ++++-- .../2022-01-01/examples/NetworkWatcherUpdateTags.json | 3 ++- .../stable/2022-01-01/networkWatcher.json | 10 +++++++++- 6 files changed, 25 insertions(+), 9 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherCreate.json index bcd6618c64c5..f8bb194f613c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-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-01-01/examples/NetworkWatcherGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherGet.json index 2c456fbb257d..9738ffb0e1db 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-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-01-01/examples/NetworkWatcherList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherList.json index 251bb56051d2..ed8fddae4683 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-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-01-01/examples/NetworkWatcherListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherListAll.json index b55b7032fa6c..3d55e385f52a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-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-01-01/examples/NetworkWatcherUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherUpdateTags.json index 2a44f24f0b23..3ea1fbd65eb2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-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-01-01/networkWatcher.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/networkWatcher.json index b818ca24ec6c..0a1bec77b165 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/networkWatcher.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-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."