Sha256: c9b3a06516d3249173778baa6f8a1cfd0a2031598f75e960b3c6d2da7f8c2d2f

Contents?: true

Size: 1.91 KB

Versions: 26

Compression:

Stored size: 1.91 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_10_01
  module Models
    #
    # Describes the destination of connection monitor.
    #
    class ConnectionMonitorDestination

      include MsRestAzure

      # @return [String] The ID of the resource used as the destination by
      # connection monitor.
      attr_accessor :resource_id

      # @return [String] Address of the connection monitor destination (IP or
      # domain name).
      attr_accessor :address

      # @return [Integer] The destination port used by connection monitor.
      attr_accessor :port


      #
      # Mapper for ConnectionMonitorDestination class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ConnectionMonitorDestination',
          type: {
            name: 'Composite',
            class_name: 'ConnectionMonitorDestination',
            model_properties: {
              resource_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'resourceId',
                type: {
                  name: 'String'
                }
              },
              address: {
                client_side_validation: true,
                required: false,
                serialized_name: 'address',
                type: {
                  name: 'String'
                }
              },
              port: {
                client_side_validation: true,
                required: false,
                serialized_name: 'port',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
azure_mgmt_network-0.18.6 lib/2018-10-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb
azure_mgmt_network-0.18.5 lib/2018-10-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb
azure_mgmt_network-0.18.4 lib/2018-10-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb
azure_mgmt_network-0.18.3 lib/2018-10-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb
azure_mgmt_network-0.18.2 lib/2018-10-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb
azure_mgmt_network-0.18.1 lib/2018-10-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb