Class: Azure::Network::Mgmt::V2018_08_01::Models::VirtualHubRouteTable

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-08-01/generated/azure_mgmt_network/models/virtual_hub_route_table.rb

Overview

VirtualHub route table

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#routesArray<VirtualHubRoute>

Returns list of all routes.

Returns:


16
17
18
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/virtual_hub_route_table.rb', line 16

def routes
  @routes
end

Class Method Details

.mapperObject

Mapper for VirtualHubRouteTable class as Ruby Hash. This will be used for serialization/deserialization.


23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/virtual_hub_route_table.rb', line 23

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VirtualHubRouteTable',
    type: {
      name: 'Composite',
      class_name: 'VirtualHubRouteTable',
      model_properties: {
        routes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'routes',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'VirtualHubRouteElementType',
                type: {
                  name: 'Composite',
                  class_name: 'VirtualHubRoute'
                }
            }
          }
        }
      }
    }
  }
end