From f024fb1dad4e2322a64ccb95c08aaaca39808907 Mon Sep 17 00:00:00 2001 From: Shreyansh Nagpal Date: Thu, 13 Jan 2022 23:47:54 +0530 Subject: [PATCH] Revert "Update Swagger Spec for VMSS Packet Capture (#17045)" This reverts commit 3187c7aa38341fcff1aee7bb594e0feaa8eb3c8e. --- .../stable/2021-06-01/networkWatcher.json | 38 +------------------ 1 file changed, 1 insertion(+), 37 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-06-01/networkWatcher.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-06-01/networkWatcher.json index 0f936efca5eb..cddf659f6936 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-06-01/networkWatcher.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-06-01/networkWatcher.json @@ -2725,23 +2725,7 @@ "properties": { "target": { "type": "string", - "description": "The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported." - }, - "scope": { - "$ref": "#/definitions/PacketCaptureMachineScope", - "description": "A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS." - }, - "targetType": { - "description": "Target type of the resource provided.", - "type": "string", - "enum": [ - "AzureVM", - "AzureVMSS" - ], - "x-ms-enum": { - "name": "PcTargetType", - "modelAsString": true - } + "description": "The ID of the targeted resource, only VM is currently supported." }, "bytesToCapturePerPacket": { "type": "integer", @@ -2785,26 +2769,6 @@ ], "description": "Parameters that define the create packet capture operation." }, - "PacketCaptureMachineScope": { - "type": "object", - "properties": { - "include": { - "type": "array", - "description": "List of AzureVMSS instances to run packet capture on.", - "items": { - "type": "string" - } - }, - "exclude": { - "type": "array", - "description": "List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.", - "items": { - "type": "string" - } - } - }, - "description": "A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS." - }, "PacketCaptureStorageLocation": { "properties": { "storageId": {