Sha256: 7eff6ac28859a442889ab2819233e4781d7afb33e71a0599c369abff8c45a41d

Contents?: true

Size: 1.9 KB

Versions: 32

Compression:

Stored size: 1.9 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_02_01
  module Models
    #
    # Parameters that define destination of connection.
    #
    class ConnectivityDestination

      include MsRestAzure

      # @return [String] The ID of the resource to which a connection attempt
      # will be made.
      attr_accessor :resource_id

      # @return [String] The IP address or URI the resource to which a
      # connection attempt will be made.
      attr_accessor :address

      # @return [Integer] Port on which check connectivity will be performed.
      attr_accessor :port


      #
      # Mapper for ConnectivityDestination class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ConnectivityDestination',
          type: {
            name: 'Composite',
            class_name: 'ConnectivityDestination',
            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

32 entries across 32 versions & 2 rubygems

Version Path
azure_mgmt_network-0.18.6 lib/2018-02-01/generated/azure_mgmt_network/models/connectivity_destination.rb
azure_mgmt_network-0.18.5 lib/2018-02-01/generated/azure_mgmt_network/models/connectivity_destination.rb
azure_mgmt_network-0.18.4 lib/2018-02-01/generated/azure_mgmt_network/models/connectivity_destination.rb
azure_mgmt_network-0.18.3 lib/2018-02-01/generated/azure_mgmt_network/models/connectivity_destination.rb
azure_mgmt_network-0.18.2 lib/2018-02-01/generated/azure_mgmt_network/models/connectivity_destination.rb
azure_mgmt_network-0.18.1 lib/2018-02-01/generated/azure_mgmt_network/models/connectivity_destination.rb
azure_mgmt_network-0.18.0 lib/2018-02-01/generated/azure_mgmt_network/models/connectivity_destination.rb
azure_mgmt_network-0.17.4 lib/2018-02-01/generated/azure_mgmt_network/models/connectivity_destination.rb
azure_mgmt_network-0.17.3 lib/2018-02-01/generated/azure_mgmt_network/models/connectivity_destination.rb
azure_mgmt_network-0.17.2 lib/2018-02-01/generated/azure_mgmt_network/models/connectivity_destination.rb
azure_mgmt_network-0.17.1 lib/2018-02-01/generated/azure_mgmt_network/models/connectivity_destination.rb
azure_mgmt_network-0.17.0 lib/2018-02-01/generated/azure_mgmt_network/models/connectivity_destination.rb