PacketCaptureData 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.
A class representing the PacketCapture data model. Information about packet capture session.
public class PacketCaptureData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.PacketCaptureData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.PacketCaptureData>
public class PacketCaptureData : Azure.ResourceManager.Models.ResourceData
type PacketCaptureData = class
inherit ResourceData
interface IJsonModel<PacketCaptureData>
interface IPersistableModel<PacketCaptureData>
type PacketCaptureData = class
inherit ResourceData
Public Class PacketCaptureData
Inherits ResourceData
Implements IJsonModel(Of PacketCaptureData), IPersistableModel(Of PacketCaptureData)
Public Class PacketCaptureData
Inherits ResourceData
- Inheritance
- Implements
Properties
BytesToCapturePerPacket |
Number of bytes captured per packet, the remaining bytes are truncated. |
CaptureSettings |
The capture setting holds the 'FileCount', 'FileSizeInBytes', 'SessionTimeLimitInSeconds' values. |
ETag |
A unique read-only string that changes whenever the resource is updated. |
Filters |
A list of packet capture filters. |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
IsContinuousCapture |
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'. |
Name |
The name of the resource. (Inherited from ResourceData) |
ProvisioningState |
The provisioning state of the packet capture session. |
ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
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. |
SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
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. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | (Inherited from ResourceData) |
Explicit Interface Implementations
IJsonModel<PacketCaptureData>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<PacketCaptureData>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<PacketCaptureData>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<PacketCaptureData>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<PacketCaptureData>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |