Interface PacketCapture.DefinitionStages.WithCreate
- All Superinterfaces:
Creatable<PacketCapture>,HasName,Indexable
- All Known Subinterfaces:
PacketCapture.Definition,PacketCapture.DefinitionStages.WithCreateAndStoragePath
- Enclosing interface:
- PacketCapture.DefinitionStages
The stage of the Packet Capture definition which contains all the minimum required inputs for the resource
to be created, but also allows for any other optional settings to be specified.
-
Method Summary
Modifier and TypeMethodDescriptionBegin the definition of packet capture filter.withBytesToCapturePerPacket(long bytesToCapturePerPacket) Set number of bytes captured per packet, the remaining bytes are truncated.withTimeLimitInSeconds(int timeLimitInSeconds) Set maximum duration of the capture session in seconds.withTotalBytesPerSession(long totalBytesPerSession) Set maximum size of the capture output.Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Creatable
create, create, createAsync, createAsync
-
Method Details
-
withBytesToCapturePerPacket
Set number of bytes captured per packet, the remaining bytes are truncated.- Parameters:
bytesToCapturePerPacket- Number of bytes captured per packet- Returns:
- the next stage
-
withTotalBytesPerSession
Set maximum size of the capture output.- Parameters:
totalBytesPerSession- Maximum size of the capture output- Returns:
- the next stage
-
withTimeLimitInSeconds
Set maximum duration of the capture session in seconds.- Parameters:
timeLimitInSeconds- Maximum duration of the capture session in seconds- Returns:
- the next stage
-
definePacketCaptureFilter
PCFilter.DefinitionStages.Blank<PacketCapture.DefinitionStages.WithCreate> definePacketCaptureFilter()Begin the definition of packet capture filter.- Returns:
- the next stage
-