Class: Azure::Network::Mgmt::V2018_10_01::Models::ConnectionStateSnapshot

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-10-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb

Overview

Connection state snapshot.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#avg_latency_in_msInteger

Returns Average latency in ms.

Returns:

  • (Integer)

    Average latency in ms.


30
31
32
# File 'lib/2018-10-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb', line 30

def avg_latency_in_ms
  @avg_latency_in_ms
end

#connection_stateConnectionState

include: 'Reachable', 'Unreachable', 'Unknown'

Returns:


17
18
19
# File 'lib/2018-10-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb', line 17

def connection_state
  @connection_state
end

#end_timeDateTime

Returns The end time of the connection snapshot.

Returns:

  • (DateTime)

    The end time of the connection snapshot.


23
24
25
# File 'lib/2018-10-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb', line 23

def end_time
  @end_time
end

#evaluation_stateEvaluationState

Possible values include: 'NotStarted', 'InProgress', 'Completed'

Returns:


27
28
29
# File 'lib/2018-10-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb', line 27

def evaluation_state
  @evaluation_state
end

#hopsArray<ConnectivityHop>

the destination.

Returns:


46
47
48
# File 'lib/2018-10-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb', line 46

def hops
  @hops
end

#max_latency_in_msInteger

Returns Maximum latency in ms.

Returns:

  • (Integer)

    Maximum latency in ms.


36
37
38
# File 'lib/2018-10-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_msInteger

Returns Minimum latency in ms.

Returns:

  • (Integer)

    Minimum latency in ms.


33
34
35
# File 'lib/2018-10-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb', line 33

def min_latency_in_ms
  @min_latency_in_ms
end

#probes_failedInteger

Returns The number of failed probes.

Returns:

  • (Integer)

    The number of failed probes.


42
43
44
# File 'lib/2018-10-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb', line 42

def probes_failed
  @probes_failed
end

#probes_sentInteger

Returns The number of sent probes.

Returns:

  • (Integer)

    The number of sent probes.


39
40
41
# File 'lib/2018-10-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb', line 39

def probes_sent
  @probes_sent
end

#start_timeDateTime

Returns The start time of the connection snapshot.

Returns:

  • (DateTime)

    The start time of the connection snapshot.


20
21
22
# File 'lib/2018-10-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb', line 20

def start_time
  @start_time
end

Class Method Details

.mapperObject

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-10-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