Class: Azure::Network::Mgmt::V2020_05_01::Models::RoutingConfiguration

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-05-01/generated/azure_mgmt_network/models/routing_configuration.rb

Overview

Routing Configuration indicating the associated and propagated route tables for this connection.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#associated_route_tableSubResource

RoutingConfiguration.

Returns:

  • (SubResource)

    The resource id RouteTable associated with this



18
19
20
# File 'lib/2020-05-01/generated/azure_mgmt_network/models/routing_configuration.rb', line 18

def associated_route_table
  @associated_route_table
end

#propagated_route_tablesPropagatedRouteTable

routes to.

Returns:



22
23
24
# File 'lib/2020-05-01/generated/azure_mgmt_network/models/routing_configuration.rb', line 22

def propagated_route_tables
  @propagated_route_tables
end

#vnet_routesVnetRoute

into a virtual network connection.

Returns:

  • (VnetRoute)

    List of routes that control routing from VirtualHub



26
27
28
# File 'lib/2020-05-01/generated/azure_mgmt_network/models/routing_configuration.rb', line 26

def vnet_routes
  @vnet_routes
end

Class Method Details

.mapperObject

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



33
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
67
68
69
70
71
72
# File 'lib/2020-05-01/generated/azure_mgmt_network/models/routing_configuration.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RoutingConfiguration',
    type: {
      name: 'Composite',
      class_name: 'RoutingConfiguration',
      model_properties: {
        associated_route_table: {
          client_side_validation: true,
          required: false,
          serialized_name: 'associatedRouteTable',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        propagated_route_tables: {
          client_side_validation: true,
          required: false,
          serialized_name: 'propagatedRouteTables',
          type: {
            name: 'Composite',
            class_name: 'PropagatedRouteTable'
          }
        },
        vnet_routes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'vnetRoutes',
          type: {
            name: 'Composite',
            class_name: 'VnetRoute'
          }
        }
      }
    }
  }
end