Class: Azure::ARM::Network::Models::ConnectivityInformation
- Inherits:
-
Object
- Object
- Azure::ARM::Network::Models::ConnectivityInformation
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_network/models/connectivity_information.rb
Overview
Information on the connectivity status.
Instance Attribute Summary collapse
-
#avg_latency_in_ms ⇒ Integer
Average latency in milliseconds.
-
#connection_status ⇒ ConnectionStatus
include: ‘Unknown’, ‘Connected’, ‘Disconnected’, ‘Degraded’.
-
#hops ⇒ Array<ConnectivityHop>
the destination.
-
#max_latency_in_ms ⇒ Integer
Maximum latency in milliseconds.
-
#min_latency_in_ms ⇒ Integer
Minimum latency in milliseconds.
-
#probes_failed ⇒ Integer
Number of failed probes.
-
#probes_sent ⇒ Integer
Total number of probes sent.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ConnectivityInformation class as Ruby Hash.
Instance Attribute Details
#avg_latency_in_ms ⇒ Integer
Returns Average latency in milliseconds.
25 26 27 |
# File 'lib/generated/azure_mgmt_network/models/connectivity_information.rb', line 25 def avg_latency_in_ms @avg_latency_in_ms end |
#connection_status ⇒ ConnectionStatus
include: ‘Unknown’, ‘Connected’, ‘Disconnected’, ‘Degraded’
22 23 24 |
# File 'lib/generated/azure_mgmt_network/models/connectivity_information.rb', line 22 def connection_status @connection_status end |
#hops ⇒ Array<ConnectivityHop>
the destination.
18 19 20 |
# File 'lib/generated/azure_mgmt_network/models/connectivity_information.rb', line 18 def hops @hops end |
#max_latency_in_ms ⇒ Integer
Returns Maximum latency in milliseconds.
31 32 33 |
# File 'lib/generated/azure_mgmt_network/models/connectivity_information.rb', line 31 def max_latency_in_ms @max_latency_in_ms end |
#min_latency_in_ms ⇒ Integer
Returns Minimum latency in milliseconds.
28 29 30 |
# File 'lib/generated/azure_mgmt_network/models/connectivity_information.rb', line 28 def min_latency_in_ms @min_latency_in_ms end |
#probes_failed ⇒ Integer
Returns Number of failed probes.
37 38 39 |
# File 'lib/generated/azure_mgmt_network/models/connectivity_information.rb', line 37 def probes_failed @probes_failed end |
#probes_sent ⇒ Integer
Returns Total number of probes sent.
34 35 36 |
# File 'lib/generated/azure_mgmt_network/models/connectivity_information.rb', line 34 def probes_sent @probes_sent end |
Class Method Details
.mapper ⇒ Object
Mapper for ConnectivityInformation class as Ruby Hash. This will be used for serialization/deserialization.
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 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 |
# File 'lib/generated/azure_mgmt_network/models/connectivity_information.rb', line 44 def self.mapper() { required: false, serialized_name: 'ConnectivityInformation', type: { name: 'Composite', class_name: 'ConnectivityInformation', model_properties: { hops: { required: false, read_only: true, serialized_name: 'hops', type: { name: 'Sequence', element: { required: false, serialized_name: 'ConnectivityHopElementType', type: { name: 'Composite', class_name: 'ConnectivityHop' } } } }, connection_status: { required: false, read_only: true, serialized_name: 'connectionStatus', type: { name: 'String' } }, avg_latency_in_ms: { required: false, read_only: true, serialized_name: 'avgLatencyInMs', type: { name: 'Number' } }, min_latency_in_ms: { required: false, read_only: true, serialized_name: 'minLatencyInMs', type: { name: 'Number' } }, max_latency_in_ms: { required: false, read_only: true, serialized_name: 'maxLatencyInMs', type: { name: 'Number' } }, probes_sent: { required: false, read_only: true, serialized_name: 'probesSent', type: { name: 'Number' } }, probes_failed: { required: false, read_only: true, serialized_name: 'probesFailed', type: { name: 'Number' } } } } } end |