From a7a0de33e017c6527390bbc2e5c91ee3e436c6b5 Mon Sep 17 00:00:00 2001 From: Supriya Jha Date: Wed, 21 Sep 2022 12:03:07 +0530 Subject: [PATCH 1/2] Adding runningOperationIds and Error --- .../2022-01-01/examples/NetworkWatcherCreate.json | 8 +++++--- .../2022-01-01/examples/NetworkWatcherGet.json | 5 +++-- .../2022-01-01/examples/NetworkWatcherList.json | 8 +++++--- .../2022-01-01/examples/NetworkWatcherListAll.json | 8 +++++--- .../examples/NetworkWatcherUpdateTags.json | 5 +++-- .../stable/2022-01-01/networkWatcher.json | 12 ++++++++++-- 6 files changed, 31 insertions(+), 15 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..ac03e954f905 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,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-01-01/examples/NetworkWatcherGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherGet.json index 2c456fbb257d..9db9384c55e6 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,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-01-01/examples/NetworkWatcherList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherList.json index 251bb56051d2..76ac8feb2216 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,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-01-01/examples/NetworkWatcherListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherListAll.json index b55b7032fa6c..5bdef7732a24 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,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-01-01/examples/NetworkWatcherUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/NetworkWatcherUpdateTags.json index 2a44f24f0b23..6556278d9265 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,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-01-01/networkWatcher.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/networkWatcher.json index b818ca24ec6c..e55bf1104b8c 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." @@ -4779,4 +4787,4 @@ "description": "List of connection states snapshots." } } -} +} \ No newline at end of file From 69c9537cc1e9b656a96960c299f758a5ce57fd58 Mon Sep 17 00:00:00 2001 From: Supriya jha Date: Tue, 27 Sep 2022 09:48:25 +0530 Subject: [PATCH 2/2] prettier fix --- .../stable/2022-01-01/examples/NetworkWatcherCreate.json | 2 +- .../stable/2022-01-01/examples/NetworkWatcherGet.json | 2 +- .../stable/2022-01-01/examples/NetworkWatcherList.json | 2 +- .../stable/2022-01-01/examples/NetworkWatcherListAll.json | 2 +- .../stable/2022-01-01/examples/NetworkWatcherUpdateTags.json | 2 +- .../Microsoft.Network/stable/2022-01-01/networkWatcher.json | 2 +- 6 files changed, 6 insertions(+), 6 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 ac03e954f905..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 @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} 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 9db9384c55e6..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 @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} 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 76ac8feb2216..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 @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} 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 5bdef7732a24..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 @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} 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 6556278d9265..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 @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} 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 e55bf1104b8c..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 @@ -4787,4 +4787,4 @@ "description": "List of connection states snapshots." } } -} \ No newline at end of file +}