ArmMobileNetworkModelFactory.MobileNetworkPacketCaptureData Method

Definition

Initializes a new instance of MobileNetworkPacketCaptureData.

public static Azure.ResourceManager.MobileNetwork.MobileNetworkPacketCaptureData MobileNetworkPacketCaptureData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.MobileNetwork.Models.MobileNetworkProvisioningState? provisioningState = default, Azure.ResourceManager.MobileNetwork.Models.MobileNetworkPacketCaptureStatus? status = default, string reason = default, DateTimeOffset? captureStartOn = default, System.Collections.Generic.IEnumerable<string> networkInterfaces = default, long? bytesToCapturePerPacket = default, long? totalBytesPerSession = default, int? timeLimitInSeconds = default, System.Collections.Generic.IEnumerable<string> outputFiles = default);
static member MobileNetworkPacketCaptureData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.MobileNetwork.Models.MobileNetworkProvisioningState> * Nullable<Azure.ResourceManager.MobileNetwork.Models.MobileNetworkPacketCaptureStatus> * string * Nullable<DateTimeOffset> * seq<string> * Nullable<int64> * Nullable<int64> * Nullable<int> * seq<string> -> Azure.ResourceManager.MobileNetwork.MobileNetworkPacketCaptureData
Public Shared Function MobileNetworkPacketCaptureData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional provisioningState As Nullable(Of MobileNetworkProvisioningState) = Nothing, Optional status As Nullable(Of MobileNetworkPacketCaptureStatus) = Nothing, Optional reason As String = Nothing, Optional captureStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional networkInterfaces As IEnumerable(Of String) = Nothing, Optional bytesToCapturePerPacket As Nullable(Of Long) = Nothing, Optional totalBytesPerSession As Nullable(Of Long) = Nothing, Optional timeLimitInSeconds As Nullable(Of Integer) = Nothing, Optional outputFiles As IEnumerable(Of String) = Nothing) As MobileNetworkPacketCaptureData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

provisioningState
Nullable<MobileNetworkProvisioningState>

The provisioning state of the packet capture session resource.

status
Nullable<MobileNetworkPacketCaptureStatus>

The status of the packet capture session.

reason
String

The reason the current packet capture session state.

captureStartOn
Nullable<DateTimeOffset>

The start time of the packet capture session.

networkInterfaces
IEnumerable<String>

List of network interfaces to capture on.

bytesToCapturePerPacket
Nullable<Int64>

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

totalBytesPerSession
Nullable<Int64>

Maximum size of the capture output.

timeLimitInSeconds
Nullable<Int32>

Maximum duration of the capture session in seconds.

outputFiles
IEnumerable<String>

The list of output files of a packet capture session.

Returns

A new MobileNetworkPacketCaptureData instance for mocking.

Applies to