Skip to content

Commit

Permalink
Update Swagger Spec for VMSS Packet Capture (Azure#17045)
Browse files Browse the repository at this point in the history
  • Loading branch information
snagpal99 authored Dec 17, 2021
1 parent e8560a5 commit 3187c7a
Showing 1 changed file with 37 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2725,7 +2725,23 @@
"properties": {
"target": {
"type": "string",
"description": "The ID of the targeted resource, only VM is currently supported."
"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
}
},
"bytesToCapturePerPacket": {
"type": "integer",
Expand Down Expand Up @@ -2769,6 +2785,26 @@
],
"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": {
Expand Down

0 comments on commit 3187c7a

Please sign in to comment.