Class: Azure::ARM::Network::Models::NextHopResult

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_network/models/next_hop_result.rb

Overview

The information about next hop from the specified VM.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#next_hop_ip_addressString

Returns Next hop IP Address.

Returns:

  • (String)

    Next hop IP Address



22
23
24
# File 'lib/generated/azure_mgmt_network/models/next_hop_result.rb', line 22

def next_hop_ip_address
  @next_hop_ip_address
end

#next_hop_typeNextHopType

‘Internet’, ‘VirtualAppliance’, ‘VirtualNetworkGateway’, ‘VnetLocal’, ‘HyperNetGateway’, ‘None’

Returns:

  • (NextHopType)

    Next hop type. Possible values include:



19
20
21
# File 'lib/generated/azure_mgmt_network/models/next_hop_result.rb', line 19

def next_hop_type
  @next_hop_type
end

#route_table_idString

with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string ‘System Route’.

Returns:

  • (String)

    The resource identifier for the route table associated



28
29
30
# File 'lib/generated/azure_mgmt_network/models/next_hop_result.rb', line 28

def route_table_id
  @route_table_id
end

Class Method Details

.mapperObject

Mapper for NextHopResult 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
# File 'lib/generated/azure_mgmt_network/models/next_hop_result.rb', line 35

def self.mapper()
  {
    required: false,
    serialized_name: 'NextHopResult',
    type: {
      name: 'Composite',
      class_name: 'NextHopResult',
      model_properties: {
        next_hop_type: {
          required: false,
          serialized_name: 'nextHopType',
          type: {
            name: 'String'
          }
        },
        next_hop_ip_address: {
          required: false,
          serialized_name: 'nextHopIpAddress',
          type: {
            name: 'String'
          }
        },
        route_table_id: {
          required: false,
          serialized_name: 'routeTableId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end