Class: Azure::Network::Mgmt::V2017_09_01::Models::NextHopResult

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-09-01/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



21
22
23
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/next_hop_result.rb', line 21

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:



18
19
20
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/next_hop_result.rb', line 18

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



27
28
29
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/next_hop_result.rb', line 27

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.



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
64
65
66
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/next_hop_result.rb', line 34

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