Class: Azure::Network::Mgmt::V2018_04_01::Models::ConnectionStateSnapshot

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-04-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

#connection_stateConnectionState

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


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

def connection_state
  @connection_state
end

#end_timeDateTime


23
24
25
# File 'lib/2018-04-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'


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

def evaluation_state
  @evaluation_state
end

#hopsArray<ConnectivityHop>

the destination.


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

def hops
  @hops
end

#start_timeDateTime


20
21
22
# File 'lib/2018-04-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.


38
39
40
41
42
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
# File 'lib/2018-04-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb', line 38

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'
          }
        },
        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