Sha256: b858ec407931d13368be86bec491b6192b8ea311417cc9f2e76c8463b77a0f97

Contents?: true

Size: 1.98 KB

Versions: 23

Compression:

Stored size: 1.98 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Network::Mgmt::V2018_12_01
  module Models
    #
    # List of connection states snapshots.
    #
    class ConnectionMonitorQueryResult

      include MsRestAzure

      # @return [ConnectionMonitorSourceStatus] Status of connection monitor
      # source. Possible values include: 'Unknown', 'Active', 'Inactive'
      attr_accessor :source_status

      # @return [Array<ConnectionStateSnapshot>] Information about connection
      # states.
      attr_accessor :states


      #
      # Mapper for ConnectionMonitorQueryResult class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
azure_mgmt_network-0.18.6 lib/2018-12-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb
azure_mgmt_network-0.18.5 lib/2018-12-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb
azure_mgmt_network-0.18.4 lib/2018-12-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb