Class: Azure::ARM::Network::Models::PacketCaptureQueryStatusResult
- Inherits:
-
Object
- Object
- Azure::ARM::Network::Models::PacketCaptureQueryStatusResult
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb
Overview
Status of packet capture session.
Instance Attribute Summary collapse
-
#capture_start_time ⇒ DateTime
The start time of the packet capture session.
-
#id ⇒ String
The ID of the packet capture resource.
-
#name ⇒ String
The name of the packet capture resource.
-
#packet_capture_error ⇒ Array<PcError>
List of errors of packet capture session.
-
#packet_capture_status ⇒ PcStatus
values include: ‘NotStarted’, ‘Running’, ‘Stopped’, ‘Error’, ‘Unknown’.
-
#stop_reason ⇒ String
stopped.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PacketCaptureQueryStatusResult class as Ruby Hash.
Instance Attribute Details
#capture_start_time ⇒ DateTime
Returns The start time of the packet capture session.
23 24 25 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb', line 23 def capture_start_time @capture_start_time end |
#id ⇒ String
Returns The ID of the packet capture resource.
20 21 22 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb', line 20 def id @id end |
#name ⇒ String
Returns The name of the packet capture resource.
17 18 19 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb', line 17 def name @name end |
#packet_capture_error ⇒ Array<PcError>
Returns List of errors of packet capture session.
34 35 36 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb', line 34 def packet_capture_error @packet_capture_error end |
#packet_capture_status ⇒ PcStatus
values include: ‘NotStarted’, ‘Running’, ‘Stopped’, ‘Error’, ‘Unknown’
27 28 29 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb', line 27 def packet_capture_status @packet_capture_status end |
#stop_reason ⇒ String
stopped.
31 32 33 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb', line 31 def stop_reason @stop_reason end |
Class Method Details
.mapper ⇒ Object
Mapper for PacketCaptureQueryStatusResult class as Ruby Hash. This will be used for serialization/deserialization.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 |
# File 'lib/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb', line 41 def self.mapper() { required: false, serialized_name: 'PacketCaptureQueryStatusResult', type: { name: 'Composite', class_name: 'PacketCaptureQueryStatusResult', model_properties: { name: { required: false, serialized_name: 'name', type: { name: 'String' } }, id: { required: false, serialized_name: 'id', type: { name: 'String' } }, capture_start_time: { required: false, serialized_name: 'captureStartTime', type: { name: 'DateTime' } }, packet_capture_status: { required: false, serialized_name: 'packetCaptureStatus', type: { name: 'String' } }, stop_reason: { required: false, serialized_name: 'stopReason', type: { name: 'String' } }, packet_capture_error: { required: false, serialized_name: 'packetCaptureError', type: { name: 'Sequence', element: { required: false, serialized_name: 'PcErrorElementType', type: { name: 'String' } } } } } } } end |