From 004c022131549112797581ace4ee86544a9febba Mon Sep 17 00:00:00 2001 From: Supriya jha Date: Mon, 31 Oct 2022 07:34:23 +0530 Subject: [PATCH 1/2] Network Watcher S360 Correctness Fix for 2022-05-01 --- .../2022-05-01/examples/NetworkWatcherCreate.json | 8 +++++--- .../2022-05-01/examples/NetworkWatcherGet.json | 5 +++-- .../2022-05-01/examples/NetworkWatcherList.json | 8 +++++--- .../2022-05-01/examples/NetworkWatcherListAll.json | 8 +++++--- .../examples/NetworkWatcherUpdateTags.json | 5 +++-- .../stable/2022-05-01/networkWatcher.json | 12 ++++++++++-- 6 files changed, 31 insertions(+), 15 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..d96342c903da 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,9 +33,10 @@ "location": "eastus", "tags": {}, "properties": { - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "runningOperationIds": [] } } } } -} +} \ No newline at end of file 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..8e99d0e7d2b9 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,9 +15,10 @@ "location": "eastus", "tags": {}, "properties": { - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "runningOperationIds": [] } } } } -} +} \ No newline at end of file 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..60f154a46892 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,11 +28,12 @@ "location": "eastus", "tags": {}, "properties": { - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "runningOperationIds": [] } } ] } } } -} +} \ No newline at end of file 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..8f8285c00987 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,11 +27,12 @@ "location": "westus", "tags": {}, "properties": { - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "runningOperationIds": [] } } ] } } } -} +} \ No newline at end of file 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..b1f3d9d6e3cc 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,9 +24,10 @@ "tag2": "value2" }, "properties": { - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "runningOperationIds": [] } } } } -} +} \ No newline at end of file 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..92189b0e366a 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." @@ -4779,4 +4787,4 @@ "description": "List of connection states snapshots." } } -} +} \ No newline at end of file From 47a1c48f4e2f57183160de14610218fd2d13e74d Mon Sep 17 00:00:00 2001 From: Supriya jha Date: Mon, 31 Oct 2022 08:10:59 +0530 Subject: [PATCH 2/2] prettier fix --- .../stable/2022-05-01/examples/NetworkWatcherCreate.json | 2 +- .../stable/2022-05-01/examples/NetworkWatcherGet.json | 2 +- .../stable/2022-05-01/examples/NetworkWatcherList.json | 2 +- .../stable/2022-05-01/examples/NetworkWatcherListAll.json | 2 +- .../stable/2022-05-01/examples/NetworkWatcherUpdateTags.json | 2 +- .../Microsoft.Network/stable/2022-05-01/networkWatcher.json | 2 +- 6 files changed, 6 insertions(+), 6 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 d96342c903da..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 @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} 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 8e99d0e7d2b9..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 @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} 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 60f154a46892..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 @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} 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 8f8285c00987..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 @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} 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 b1f3d9d6e3cc..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 @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} 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 92189b0e366a..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 @@ -4787,4 +4787,4 @@ "description": "List of connection states snapshots." } } -} \ No newline at end of file +}