Class: Azure::Network::Mgmt::V2020_04_01::Models::ConnectivityInformation

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-04-01/generated/azure_mgmt_network/models/connectivity_information.rb

Overview

Information on the connectivity status.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#avg_latency_in_msInteger

Returns Average latency in milliseconds.

Returns:

  • (Integer)

    Average latency in milliseconds.


24
25
26
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connectivity_information.rb', line 24

def avg_latency_in_ms
  @avg_latency_in_ms
end

#connection_statusConnectionStatus

include: 'Unknown', 'Connected', 'Disconnected', 'Degraded'

Returns:


21
22
23
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connectivity_information.rb', line 21

def connection_status
  @connection_status
end

#hopsArray<ConnectivityHop>

the destination.

Returns:


17
18
19
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connectivity_information.rb', line 17

def hops
  @hops
end

#max_latency_in_msInteger

Returns Maximum latency in milliseconds.

Returns:

  • (Integer)

    Maximum latency in milliseconds.


30
31
32
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connectivity_information.rb', line 30

def max_latency_in_ms
  @max_latency_in_ms
end

#min_latency_in_msInteger

Returns Minimum latency in milliseconds.

Returns:

  • (Integer)

    Minimum latency in milliseconds.


27
28
29
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connectivity_information.rb', line 27

def min_latency_in_ms
  @min_latency_in_ms
end

#probes_failedInteger

Returns Number of failed probes.

Returns:

  • (Integer)

    Number of failed probes.


36
37
38
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connectivity_information.rb', line 36

def probes_failed
  @probes_failed
end

#probes_sentInteger

Returns Total number of probes sent.

Returns:

  • (Integer)

    Total number of probes sent.


33
34
35
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connectivity_information.rb', line 33

def probes_sent
  @probes_sent
end

Class Method Details

.mapperObject

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
119
120
121
122
123
124
125
126
127
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connectivity_information.rb', line 43

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConnectivityInformation',
    type: {
      name: 'Composite',
      class_name: 'ConnectivityInformation',
      model_properties: {
        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'
                }
            }
          }
        },
        connection_status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'connectionStatus',
          type: {
            name: 'String'
          }
        },
        avg_latency_in_ms: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'avgLatencyInMs',
          type: {
            name: 'Number'
          }
        },
        min_latency_in_ms: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'minLatencyInMs',
          type: {
            name: 'Number'
          }
        },
        max_latency_in_ms: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'maxLatencyInMs',
          type: {
            name: 'Number'
          }
        },
        probes_sent: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'probesSent',
          type: {
            name: 'Number'
          }
        },
        probes_failed: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'probesFailed',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end