PacketCaptureParameters Class
- java.
lang. Object - com.
microsoft. azure. management. network. PacketCaptureParameters
- com.
public class PacketCaptureParameters
Parameters that define the create packet capture operation.
Constructor | Description | |
---|---|---|
Packet |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
bytes Get number of bytes captured per packet, the remaining bytes are truncated. |
java.util.List<Packet |
filters()
Get a list of packet capture filters. |
Packet |
storage Get the storage location for a packet capture session. |
java.lang.String |
target()
Get the ID of the targeted resource, only VM is currently supported. |
java.lang.Integer |
time Get maximum duration of the capture session in seconds. |
java.lang.Integer |
total Get maximum size of the capture output. |
Packet |
with Set number of bytes captured per packet, the remaining bytes are truncated. |
Packet |
with Set a list of packet capture filters. |
Packet |
with Set the storage location for a packet capture session. |
Packet |
with Set the ID of the targeted resource, only VM is currently supported. |
Packet |
with Set maximum duration of the capture session in seconds. |
Packet |
with Set maximum size of the capture output. |
PacketCaptureParameters
public PacketCaptureParameters()
bytesToCapturePerPacket
public Integer bytesToCapturePerPacket()
Get number of bytes captured per packet, the remaining bytes are truncated.
Returns:
filters
public List
Get a list of packet capture filters.
Returns:
storageLocation
public PacketCaptureStorageLocation storageLocation()
Get the storage location for a packet capture session.
Returns:
target
public String target()
Get the ID of the targeted resource, only VM is currently supported.
Returns:
timeLimitInSeconds
public Integer timeLimitInSeconds()
Get maximum duration of the capture session in seconds.
Returns:
totalBytesPerSession
public Integer totalBytesPerSession()
Get maximum size of the capture output.
Returns:
withBytesToCapturePerPacket
public PacketCaptureParameters withBytesToCapturePerPacket(Integer bytesToCapturePerPacket)
Set number of bytes captured per packet, the remaining bytes are truncated.
Parameters:
Returns:
withFilters
public PacketCaptureParameters withFilters(List
Set a list of packet capture filters.
Parameters:
Returns:
withStorageLocation
public PacketCaptureParameters withStorageLocation(PacketCaptureStorageLocation storageLocation)
Set the storage location for a packet capture session.
Parameters:
Returns:
withTarget
public PacketCaptureParameters withTarget(String target)
Set the ID of the targeted resource, only VM is currently supported.
Parameters:
Returns:
withTimeLimitInSeconds
public PacketCaptureParameters withTimeLimitInSeconds(Integer timeLimitInSeconds)
Set maximum duration of the capture session in seconds.
Parameters:
Returns:
withTotalBytesPerSession
public PacketCaptureParameters withTotalBytesPerSession(Integer totalBytesPerSession)
Set maximum size of the capture output.
Parameters:
Returns: