public class PacketCaptureResultInner extends Object
| Constructor and Description |
|---|
PacketCaptureResultInner() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
bytesToCapturePerPacket()
Get the bytesToCapturePerPacket property: Number of bytes captured per packet, the remaining bytes are truncated.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
List<PacketCaptureFilter> |
filters()
Get the filters property: A list of packet capture filters.
|
String |
id()
Get the id property: ID of the packet capture operation.
|
String |
name()
Get the name property: Name of the packet capture session.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the packet capture session.
|
PacketCaptureStorageLocation |
storageLocation()
Get the storageLocation property: The storage location for a packet capture session.
|
String |
target()
Get the target property: The ID of the targeted resource, only VM is currently supported.
|
Integer |
timeLimitInSeconds()
Get the timeLimitInSeconds property: Maximum duration of the capture session in seconds.
|
Integer |
totalBytesPerSession()
Get the totalBytesPerSession property: Maximum size of the capture output.
|
void |
validate()
Validates the instance.
|
PacketCaptureResultInner |
withBytesToCapturePerPacket(Integer bytesToCapturePerPacket)
Set the bytesToCapturePerPacket property: Number of bytes captured per packet, the remaining bytes are truncated.
|
PacketCaptureResultInner |
withFilters(List<PacketCaptureFilter> filters)
Set the filters property: A list of packet capture filters.
|
PacketCaptureResultInner |
withStorageLocation(PacketCaptureStorageLocation storageLocation)
Set the storageLocation property: The storage location for a packet capture session.
|
PacketCaptureResultInner |
withTarget(String target)
Set the target property: The ID of the targeted resource, only VM is currently supported.
|
PacketCaptureResultInner |
withTimeLimitInSeconds(Integer timeLimitInSeconds)
Set the timeLimitInSeconds property: Maximum duration of the capture session in seconds.
|
PacketCaptureResultInner |
withTotalBytesPerSession(Integer totalBytesPerSession)
Set the totalBytesPerSession property: Maximum size of the capture output.
|
public String name()
public String id()
public String etag()
public String target()
public PacketCaptureResultInner withTarget(String target)
target - the target value to set.public Integer bytesToCapturePerPacket()
public PacketCaptureResultInner withBytesToCapturePerPacket(Integer bytesToCapturePerPacket)
bytesToCapturePerPacket - the bytesToCapturePerPacket value to set.public Integer totalBytesPerSession()
public PacketCaptureResultInner withTotalBytesPerSession(Integer totalBytesPerSession)
totalBytesPerSession - the totalBytesPerSession value to set.public Integer timeLimitInSeconds()
public PacketCaptureResultInner withTimeLimitInSeconds(Integer timeLimitInSeconds)
timeLimitInSeconds - the timeLimitInSeconds value to set.public PacketCaptureStorageLocation storageLocation()
public PacketCaptureResultInner withStorageLocation(PacketCaptureStorageLocation storageLocation)
storageLocation - the storageLocation value to set.public List<PacketCaptureFilter> filters()
public PacketCaptureResultInner withFilters(List<PacketCaptureFilter> filters)
filters - the filters value to set.public ProvisioningState provisioningState()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.