Share via


MobileNetworkPacketCaptureData Class

Definition

A class representing the MobileNetworkPacketCapture data model. Packet capture session resource.

public class MobileNetworkPacketCaptureData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MobileNetwork.MobileNetworkPacketCaptureData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MobileNetwork.MobileNetworkPacketCaptureData>
type MobileNetworkPacketCaptureData = class
    inherit ResourceData
    interface IJsonModel<MobileNetworkPacketCaptureData>
    interface IPersistableModel<MobileNetworkPacketCaptureData>
Public Class MobileNetworkPacketCaptureData
Inherits ResourceData
Implements IJsonModel(Of MobileNetworkPacketCaptureData), IPersistableModel(Of MobileNetworkPacketCaptureData)
Inheritance
MobileNetworkPacketCaptureData
Implements

Constructors

MobileNetworkPacketCaptureData()

Initializes a new instance of MobileNetworkPacketCaptureData.

Properties

BytesToCapturePerPacket

Number of bytes captured per packet, the remaining bytes are truncated. The default "0" means the entire packet is captured.

CaptureStartOn

The start time of the packet capture session.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
NetworkInterfaces

List of network interfaces to capture on.

OutputFiles

The list of output files of a packet capture session.

ProvisioningState

The provisioning state of the packet capture session resource.

Reason

The reason the current packet capture session state.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
Status

The status of the packet capture session.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
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<MobileNetworkPacketCaptureData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MobileNetworkPacketCaptureData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MobileNetworkPacketCaptureData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MobileNetworkPacketCaptureData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MobileNetworkPacketCaptureData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to