Class: Azure::Network::Mgmt::V2017_03_01::Models::ConnectivityInformation
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2017_03_01::Models::ConnectivityInformation
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-03-01/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.
24 25 26 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_information.rb', line 24 def avg_latency_in_ms @avg_latency_in_ms end |
#connection_status ⇒ ConnectionStatus
include: ‘Unknown’, ‘Connected’, ‘Disconnected’, ‘Degraded’
21 22 23 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_information.rb', line 21 def connection_status @connection_status end |
#hops ⇒ Array<ConnectivityHop>
the destination.
17 18 19 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_information.rb', line 17 def hops @hops end |
#max_latency_in_ms ⇒ Integer
Returns Maximum latency in milliseconds.
30 31 32 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_information.rb', line 30 def max_latency_in_ms @max_latency_in_ms end |
#min_latency_in_ms ⇒ Integer
Returns Minimum latency in milliseconds.
27 28 29 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_information.rb', line 27 def min_latency_in_ms @min_latency_in_ms end |
#probes_failed ⇒ Integer
Returns Number of failed probes.
36 37 38 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_information.rb', line 36 def probes_failed @probes_failed end |
#probes_sent ⇒ Integer
Returns Total number of probes sent.
33 34 35 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_information.rb', line 33 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.
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 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_information.rb', line 43 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 |