Class: Azure::Network::Mgmt::V2017_03_01::Models::ConnectivityDestination

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_destination.rb

Overview

Parameters that define destination of connection.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#addressString

connection attempt will be made.

Returns:

  • (String)

    The IP address or URI the resource to which a



21
22
23
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_destination.rb', line 21

def address
  @address
end

#portInteger

Returns Port on which check connectivity will be performed.

Returns:

  • (Integer)

    Port on which check connectivity will be performed.



24
25
26
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_destination.rb', line 24

def port
  @port
end

#resource_idString

will be made.

Returns:

  • (String)

    The ID of the resource to which a connection attempt



17
18
19
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_destination.rb', line 17

def resource_id
  @resource_id
end

Class Method Details

.mapperObject

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



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

def self.mapper()
  {
    required: false,
    serialized_name: 'ConnectivityDestination',
    type: {
      name: 'Composite',
      class_name: 'ConnectivityDestination',
      model_properties: {
        resource_id: {
          required: false,
          serialized_name: 'resourceId',
          type: {
            name: 'String'
          }
        },
        address: {
          required: false,
          serialized_name: 'address',
          type: {
            name: 'String'
          }
        },
        port: {
          required: false,
          serialized_name: 'port',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end