PacketCaptureResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. PacketCaptureResultInner
- com.
Implements
public final class PacketCaptureResultInner
implements JsonSerializable<PacketCaptureResultInner>
Information about packet capture session.
Constructor Summary
Constructor | Description |
---|---|
PacketCaptureResultInner() |
Creates an instance of Packet |
Method Summary
Modifier and Type | Method and Description |
---|---|
Long |
bytesToCapturePerPacket()
Get the bytes |
Packet |
captureSettings()
Get the capture |
Boolean |
continuousCapture()
Get the continuous |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
List<Packet |
filters()
Get the filters property: A list of packet capture filters. |
static
Packet |
fromJson(JsonReader jsonReader)
Reads an instance of Packet |
String |
id()
Get the id property: ID of the packet capture operation. |
String |
name()
Get the name property: Name of the packet capture session. |
Provisioning |
provisioningState()
Get the provisioning |
Packet |
scope()
Get the scope property: A list of AzureVMSS instances which can be included or excluded to run packet capture. |
Packet |
storageLocation()
Get the storage |
String |
target()
Get the target property: The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported. |
Packet |
targetType()
Get the target |
Integer |
timeLimitInSeconds()
Get the time |
Json |
toJson(JsonWriter jsonWriter) |
Long |
totalBytesPerSession()
Get the total |
void |
validate()
Validates the instance. |
Packet |
withBytesToCapturePerPacket(Long bytesToCapturePerPacket)
Set the bytes |
Packet |
withCaptureSettings(PacketCaptureSettings captureSettings)
Set the capture |
Packet |
withContinuousCapture(Boolean continuousCapture)
Set the continuous |
Packet |
withFilters(List<PacketCaptureFilter> filters)
Set the filters property: A list of packet capture filters. |
Packet |
withScope(PacketCaptureMachineScope scope)
Set the scope property: A list of AzureVMSS instances which can be included or excluded to run packet capture. |
Packet |
withStorageLocation(PacketCaptureStorageLocation storageLocation)
Set the storage |
Packet |
withTarget(String target)
Set the target property: The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported. |
Packet |
withTargetType(PacketCaptureTargetType targetType)
Set the target |
Packet |
withTimeLimitInSeconds(Integer timeLimitInSeconds)
Set the time |
Packet |
withTotalBytesPerSession(Long totalBytesPerSession)
Set the total |
Methods inherited from java.lang.Object
Constructor Details
PacketCaptureResultInner
public PacketCaptureResultInner()
Creates an instance of PacketCaptureResultInner class.
Method Details
bytesToCapturePerPacket
public Long bytesToCapturePerPacket()
Get the bytesToCapturePerPacket property: Number of bytes captured per packet, the remaining bytes are truncated.
Returns:
captureSettings
public PacketCaptureSettings captureSettings()
Get the captureSettings property: The capture setting holds the 'FileCount', 'FileSizeInBytes', 'SessionTimeLimitInSeconds' values.
Returns:
continuousCapture
public Boolean continuousCapture()
Get the continuousCapture property: This continuous capture is a nullable boolean, which can hold 'null', 'true' or 'false' value. If we do not pass this parameter, it would be consider as 'null', default value is 'null'.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
filters
public List
Get the filters property: A list of packet capture filters.
Returns:
fromJson
public static PacketCaptureResultInner fromJson(JsonReader jsonReader)
Reads an instance of PacketCaptureResultInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: ID of the packet capture operation.
Returns:
name
public String name()
Get the name property: Name of the packet capture session.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the packet capture session.
Returns:
scope
public PacketCaptureMachineScope scope()
Get the scope property: A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS.
Returns:
storageLocation
public PacketCaptureStorageLocation storageLocation()
Get the storageLocation property: The storage location for a packet capture session.
Returns:
target
public String target()
Get the target property: The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported.
Returns:
targetType
public PacketCaptureTargetType targetType()
Get the targetType property: Target type of the resource provided.
Returns:
timeLimitInSeconds
public Integer timeLimitInSeconds()
Get the timeLimitInSeconds property: Maximum duration of the capture session in seconds.
Returns:
toJson
totalBytesPerSession
public Long totalBytesPerSession()
Get the totalBytesPerSession property: Maximum size of the capture output.
Returns:
validate
public void validate()
Validates the instance.
withBytesToCapturePerPacket
public PacketCaptureResultInner withBytesToCapturePerPacket(Long bytesToCapturePerPacket)
Set the bytesToCapturePerPacket property: Number of bytes captured per packet, the remaining bytes are truncated.
Parameters:
Returns:
withCaptureSettings
public PacketCaptureResultInner withCaptureSettings(PacketCaptureSettings captureSettings)
Set the captureSettings property: The capture setting holds the 'FileCount', 'FileSizeInBytes', 'SessionTimeLimitInSeconds' values.
Parameters:
Returns:
withContinuousCapture
public PacketCaptureResultInner withContinuousCapture(Boolean continuousCapture)
Set the continuousCapture property: This continuous capture is a nullable boolean, which can hold 'null', 'true' or 'false' value. If we do not pass this parameter, it would be consider as 'null', default value is 'null'.
Parameters:
Returns:
withFilters
public PacketCaptureResultInner withFilters(List
Set the filters property: A list of packet capture filters.
Parameters:
Returns:
withScope
public PacketCaptureResultInner withScope(PacketCaptureMachineScope scope)
Set the scope property: A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS.
Parameters:
Returns:
withStorageLocation
public PacketCaptureResultInner withStorageLocation(PacketCaptureStorageLocation storageLocation)
Set the storageLocation property: The storage location for a packet capture session.
Parameters:
Returns:
withTarget
public PacketCaptureResultInner withTarget(String target)
Set the target property: The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported.
Parameters:
Returns:
withTargetType
public PacketCaptureResultInner withTargetType(PacketCaptureTargetType targetType)
Set the targetType property: Target type of the resource provided.
Parameters:
Returns:
withTimeLimitInSeconds
public PacketCaptureResultInner withTimeLimitInSeconds(Integer timeLimitInSeconds)
Set the timeLimitInSeconds property: Maximum duration of the capture session in seconds.
Parameters:
Returns:
withTotalBytesPerSession
public PacketCaptureResultInner withTotalBytesPerSession(Long totalBytesPerSession)
Set the totalBytesPerSession property: Maximum size of the capture output.
Parameters:
Returns:
Applies to
Azure SDK for Java