Class: Azure::Network::Mgmt::V2020_04_01::Models::ConnectionMonitorQueryResult

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

Overview

List of connection states snapshots.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#source_statusConnectionMonitorSourceStatus

source. Possible values include: 'Unknown', 'Active', 'Inactive'

Returns:


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

def source_status
  @source_status
end

#statesArray<ConnectionStateSnapshot>

states.

Returns:


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

def states
  @states
end

Class Method Details

.mapperObject

Mapper for ConnectionMonitorQueryResult class as Ruby Hash. This will be used for serialization/deserialization.


28
29
30
31
32
33
34
35
36
37
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
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb', line 28

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConnectionMonitorQueryResult',
    type: {
      name: 'Composite',
      class_name: 'ConnectionMonitorQueryResult',
      model_properties: {
        source_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sourceStatus',
          type: {
            name: 'String'
          }
        },
        states: {
          client_side_validation: true,
          required: false,
          serialized_name: 'states',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ConnectionStateSnapshotElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ConnectionStateSnapshot'
                }
            }
          }
        }
      }
    }
  }
end