Class: Azure::Network::Mgmt::V2017_03_01::Models::ConnectivityDestination
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2017_03_01::Models::ConnectivityDestination
- 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
-
#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.
21 22 23 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_destination.rb', line 21 def address @address end |
#port ⇒ Integer
Returns 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_id ⇒ String
will be made.
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
.mapper ⇒ Object
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 |