Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Swagger Spec for VMSS Packet Capture #19202

Merged
merged 2 commits into from
May 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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": "PacketCaptureTargetType",
"modelAsString": false
}
},
"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