Class: Azure::Network::Mgmt::V2017_03_01::Models::NextHopParameters
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2017_03_01::Models::NextHopParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-03-01/generated/azure_mgmt_network/models/next_hop_parameters.rb
Overview
Parameters that define the source and destination endpoint.
Instance Attribute Summary collapse
-
#destination_ipaddress ⇒ String
The destination IP address.
-
#source_ipaddress ⇒ String
The source IP address.
-
#target_nic_resource_id ⇒ String
is enabled on any of the nics, then this parameter must be specified.
-
#target_resource_id ⇒ String
which the action is to be performed.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for NextHopParameters class as Ruby Hash.
Instance Attribute Details
#destination_ipaddress ⇒ String
Returns The destination IP address.
23 24 25 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/next_hop_parameters.rb', line 23 def destination_ipaddress @destination_ipaddress end |
#source_ipaddress ⇒ String
Returns The source IP address.
20 21 22 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/next_hop_parameters.rb', line 20 def source_ipaddress @source_ipaddress end |
#target_nic_resource_id ⇒ String
is enabled on any of the nics, then this parameter must be specified. Otherwise optional).
28 29 30 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/next_hop_parameters.rb', line 28 def target_nic_resource_id @target_nic_resource_id end |
#target_resource_id ⇒ String
which the action is to be performed.
17 18 19 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/next_hop_parameters.rb', line 17 def target_resource_id @target_resource_id end |
Class Method Details
.mapper ⇒ Object
Mapper for NextHopParameters class as Ruby Hash. This will be used for serialization/deserialization.
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 65 66 67 68 69 70 71 72 73 74 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/next_hop_parameters.rb', line 35 def self.mapper() { required: false, serialized_name: 'NextHopParameters', type: { name: 'Composite', class_name: 'NextHopParameters', model_properties: { target_resource_id: { required: true, serialized_name: 'targetResourceId', type: { name: 'String' } }, source_ipaddress: { required: true, serialized_name: 'sourceIPAddress', type: { name: 'String' } }, destination_ipaddress: { required: true, serialized_name: 'destinationIPAddress', type: { name: 'String' } }, target_nic_resource_id: { required: false, serialized_name: 'targetNicResourceId', type: { name: 'String' } } } } } end |