Class: Azure::ARM::Network::Models::NextHopParameters

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#destination_ipaddressString



24
25
26
# File 'lib/generated/azure_mgmt_network/models/next_hop_parameters.rb', line 24

def destination_ipaddress
  @destination_ipaddress
end

#source_ipaddressString



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_idString

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_idString

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

.mapperObject

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