Class: Azure::ARM::Network::Models::ConnectivityDestination

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/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



22
23
24
# File 'lib/generated/azure_mgmt_network/models/connectivity_destination.rb', line 22

def address
  @address
end

#portInteger

Returns Port on which check connectivity will be performed.

Returns:

  • (Integer)

    Port on which check connectivity will be performed.



25
26
27
# File 'lib/generated/azure_mgmt_network/models/connectivity_destination.rb', line 25

def port
  @port
end

#resource_idString

will be made.

Returns:

  • (String)

    The ID of the resource to which a connection attempt



18
19
20
# File 'lib/generated/azure_mgmt_network/models/connectivity_destination.rb', line 18

def resource_id
  @resource_id
end

Class Method Details

.mapperObject

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



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
64
# File 'lib/generated/azure_mgmt_network/models/connectivity_destination.rb', line 32

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