class Azure::Network::Mgmt::V2018_04_01::Models::PacketCaptureQueryStatusResult
Status of packet capture session.
Attributes
capture_start_time[RW]
@return [DateTime] The start time of the packet capture session.
id[RW]
@return [String] The ID of the packet capture resource.
name[RW]
@return [String] The name of the packet capture resource.
packet_capture_error[RW]
@return [Array<PcError>] List of errors of packet capture session.
packet_capture_status[RW]
@return [PcStatus] The status of the packet capture session. Possible values include: 'NotStarted', 'Running', 'Stopped', 'Error', 'Unknown'
stop_reason[RW]
@return [String] The reason the current packet capture session was stopped.
Public Class Methods
mapper()
click to toggle source
Mapper for PacketCaptureQueryStatusResult
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-04-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb, line 40 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PacketCaptureQueryStatusResult', type: { name: 'Composite', class_name: 'PacketCaptureQueryStatusResult', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, capture_start_time: { client_side_validation: true, required: false, serialized_name: 'captureStartTime', type: { name: 'DateTime' } }, packet_capture_status: { client_side_validation: true, required: false, serialized_name: 'packetCaptureStatus', type: { name: 'String' } }, stop_reason: { client_side_validation: true, required: false, serialized_name: 'stopReason', type: { name: 'String' } }, packet_capture_error: { client_side_validation: true, required: false, serialized_name: 'packetCaptureError', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'PcErrorElementType', type: { name: 'String' } } } } } } } end