ArmNetworkModelFactory.PacketCaptureSettings Method
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.
public static Azure.ResourceManager.Network.Models.PacketCaptureSettings PacketCaptureSettings(int? fileCount = default, long? fileSizeInBytes = default, int? sessionTimeLimitInSeconds = default);
static member PacketCaptureSettings : Nullable<int> * Nullable<int64> * Nullable<int> -> Azure.ResourceManager.Network.Models.PacketCaptureSettings
Public Shared Function PacketCaptureSettings (Optional fileCount As Nullable(Of Integer) = Nothing, Optional fileSizeInBytes As Nullable(Of Long) = Nothing, Optional sessionTimeLimitInSeconds As Nullable(Of Integer) = Nothing) As PacketCaptureSettings
Parameters
Number of file count. Default value of count is 10 and maximum number is 10000.
Number of bytes captured per packet. Default value in bytes 104857600 (100MB) and maximum in bytes 4294967295 (4GB).
Maximum duration of the capture session in seconds is 604800s (7 days) for a file. Default value in second 86400s (1 day).
Returns
A new PacketCaptureSettings instance for mocking.