PacketCaptureContent Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Parameters that define the create packet capture operation.
public class PacketCaptureContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.Models.PacketCaptureContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.Models.PacketCaptureContent>
type PacketCaptureContent = class
interface IJsonModel<PacketCaptureContent>
interface IPersistableModel<PacketCaptureContent>
Public Class PacketCaptureContent
Implements IJsonModel(Of PacketCaptureContent), IPersistableModel(Of PacketCaptureContent)
- Inheritance
-
PacketCaptureContent
- Implements
Constructors
| Name | Description |
|---|---|
| PacketCaptureContent(String, PacketCaptureStorageLocation) |
Initializes a new instance of PacketCaptureContent. |
Properties
| Name | Description |
|---|---|
| BytesToCapturePerPacket |
Number of bytes captured per packet, the remaining bytes are truncated. |
| CaptureSettings |
The capture setting holds the 'FileCount', 'FileSizeInBytes', 'SessionTimeLimitInSeconds' values. |
| ContinuousCapture |
This continuous capture is a nullable boolean, which can hold 'null', 'true' or 'false' value. If we do not pass this parameter, it would be consider as 'null', default value is 'null'. |
| Filters |
A list of packet capture filters. |
| IsContinuousCapture |
Gets or sets the IsContinuousCapture. |
| Scope |
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. |
| StorageLocation |
The storage location for a packet capture session. |
| Target |
The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported. |
| TargetType |
Target type of the resource provided. |
| TimeLimitInSeconds |
Maximum duration of the capture session in seconds. |
| TotalBytesPerSession |
Maximum size of the capture output. |