Class: Azure::Network::Mgmt::V2018_08_01::Models::ConnectionStateSnapshot
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2018_08_01::Models::ConnectionStateSnapshot
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-08-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb
Overview
Connection state snapshot.
Instance Attribute Summary collapse
-
#avg_latency_in_ms ⇒ Integer
Average latency in ms.
-
#connection_state ⇒ ConnectionState
include: 'Reachable', 'Unreachable', 'Unknown'.
-
#end_time ⇒ DateTime
The end time of the connection snapshot.
-
#evaluation_state ⇒ EvaluationState
Possible values include: 'NotStarted', 'InProgress', 'Completed'.
-
#hops ⇒ Array<ConnectivityHop>
the destination.
-
#max_latency_in_ms ⇒ Integer
Maximum latency in ms.
-
#min_latency_in_ms ⇒ Integer
Minimum latency in ms.
-
#probes_failed ⇒ Integer
The number of failed probes.
-
#probes_sent ⇒ Integer
The number of sent probes.
-
#start_time ⇒ DateTime
The start time of the connection snapshot.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ConnectionStateSnapshot class as Ruby Hash.
Instance Attribute Details
#avg_latency_in_ms ⇒ Integer
Returns Average latency in ms.
30 31 32 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb', line 30 def avg_latency_in_ms @avg_latency_in_ms end |
#connection_state ⇒ ConnectionState
include: 'Reachable', 'Unreachable', 'Unknown'
17 18 19 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb', line 17 def connection_state @connection_state end |
#end_time ⇒ DateTime
Returns The end time of the connection snapshot.
23 24 25 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb', line 23 def end_time @end_time end |
#evaluation_state ⇒ EvaluationState
Possible values include: 'NotStarted', 'InProgress', 'Completed'
27 28 29 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb', line 27 def evaluation_state @evaluation_state end |
#hops ⇒ Array<ConnectivityHop>
the destination.
46 47 48 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb', line 46 def hops @hops end |
#max_latency_in_ms ⇒ Integer
Returns Maximum latency in ms.
36 37 38 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb', line 36 def max_latency_in_ms @max_latency_in_ms end |
#min_latency_in_ms ⇒ Integer
Returns Minimum latency in ms.
33 34 35 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb', line 33 def min_latency_in_ms @min_latency_in_ms end |
#probes_failed ⇒ Integer
Returns The number of failed probes.
42 43 44 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb', line 42 def probes_failed @probes_failed end |
#probes_sent ⇒ Integer
Returns The number of sent probes.
39 40 41 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb', line 39 def probes_sent @probes_sent end |
#start_time ⇒ DateTime
Returns The start time of the connection snapshot.
20 21 22 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb', line 20 def start_time @start_time end |
Class Method Details
.mapper ⇒ Object
Mapper for ConnectionStateSnapshot class as Ruby Hash. This will be used for serialization/deserialization.
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 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb', line 53 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ConnectionStateSnapshot', type: { name: 'Composite', class_name: 'ConnectionStateSnapshot', model_properties: { connection_state: { client_side_validation: true, required: false, serialized_name: 'connectionState', type: { name: 'String' } }, start_time: { client_side_validation: true, required: false, serialized_name: 'startTime', type: { name: 'DateTime' } }, end_time: { client_side_validation: true, required: false, serialized_name: 'endTime', type: { name: 'DateTime' } }, evaluation_state: { client_side_validation: true, required: false, serialized_name: 'evaluationState', type: { name: 'String' } }, avg_latency_in_ms: { client_side_validation: true, required: false, serialized_name: 'avgLatencyInMs', type: { name: 'Number' } }, min_latency_in_ms: { client_side_validation: true, required: false, serialized_name: 'minLatencyInMs', type: { name: 'Number' } }, max_latency_in_ms: { client_side_validation: true, required: false, serialized_name: 'maxLatencyInMs', type: { name: 'Number' } }, probes_sent: { client_side_validation: true, required: false, serialized_name: 'probesSent', type: { name: 'Number' } }, probes_failed: { client_side_validation: true, required: false, serialized_name: 'probesFailed', type: { name: 'Number' } }, hops: { client_side_validation: true, required: false, read_only: true, serialized_name: 'hops', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ConnectivityHopElementType', type: { name: 'Composite', class_name: 'ConnectivityHop' } } } } } } } end |