PacketCaptureResult Class

Information about packet capture session.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
PacketCaptureResult

Constructor

PacketCaptureResult(*, etag: typing.Union[str, NoneType] = 'A unique read-only string that changes whenever the resource is updated.', target: typing.Union[str, NoneType] = None, bytes_to_capture_per_packet: typing.Union[int, NoneType] = 0, total_bytes_per_session: typing.Union[int, NoneType] = 1073741824, time_limit_in_seconds: typing.Union[int, NoneType] = 18000, storage_location: typing.Union[_ForwardRef('PacketCaptureStorageLocation'), NoneType] = None, filters: typing.Union[typing.List[_ForwardRef('PacketCaptureFilter')], NoneType] = None, provisioning_state: typing.Union[str, _ForwardRef('ProvisioningState'), NoneType] = None, **kwargs)

Parameters

etag
str
target
str

The ID of the targeted resource, only VM is currently supported.

bytes_to_capture_per_packet
int

Number of bytes captured per packet, the remaining bytes are truncated.

total_bytes_per_session
int

Maximum size of the capture output.

time_limit_in_seconds
int

Maximum duration of the capture session in seconds.

storage_location
PacketCaptureStorageLocation

Describes the storage location for a packet capture session.

provisioning_state
str or ProvisioningState

The provisioning state of the packet capture session. Possible values include: "Succeeded", "Updating", "Deleting", "Failed".

Variables

name
str

Name of the packet capture session.

id
str

ID of the packet capture operation.