Class: Azure::ARM::Network::Models::NextHopParameters
- Inherits:
-
Object
- Object
- Azure::ARM::Network::Models::NextHopParameters
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/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
24 25 26 |
# File 'lib/generated/azure_mgmt_network/models/next_hop_parameters.rb', line 24 def destination_ipaddress @destination_ipaddress end |
#source_ipaddress ⇒ String
21 22 23 |
# File 'lib/generated/azure_mgmt_network/models/next_hop_parameters.rb', line 21 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).
29 30 31 |
# File 'lib/generated/azure_mgmt_network/models/next_hop_parameters.rb', line 29 def target_nic_resource_id @target_nic_resource_id end |
#target_resource_id ⇒ String
which the action is to be performed.
18 19 20 |
# File 'lib/generated/azure_mgmt_network/models/next_hop_parameters.rb', line 18 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.
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 75 |
# File 'lib/generated/azure_mgmt_network/models/next_hop_parameters.rb', line 36 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 |