Class: Azure::ARM::Network::Models::ConnectivityDestination
- Inherits:
-
Object
- Object
- Azure::ARM::Network::Models::ConnectivityDestination
- 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
-
#address ⇒ String
connection attempt will be made.
-
#port ⇒ Integer
Port on which check connectivity will be performed.
-
#resource_id ⇒ String
will be made.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ConnectivityDestination class as Ruby Hash.
Instance Attribute Details
#address ⇒ String
connection attempt will be made.
22 23 24 |
# File 'lib/generated/azure_mgmt_network/models/connectivity_destination.rb', line 22 def address @address end |
#port ⇒ Integer
Returns 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_id ⇒ String
will be made.
18 19 20 |
# File 'lib/generated/azure_mgmt_network/models/connectivity_destination.rb', line 18 def resource_id @resource_id end |
Class Method Details
.mapper ⇒ Object
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 |