class Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityDestination

Parameters that define destination of connection.

Attributes

address[RW]

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

port[RW]

@return [Integer] Port on which check connectivity will be performed.

resource_id[RW]

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

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_destination.rb, line 31
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