Class: Azure::Network::Mgmt::V2020_07_01::Models::VnetRoute
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2020_07_01::Models::VnetRoute
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-07-01/generated/azure_mgmt_network/models/vnet_route.rb
Overview
List of routes that control routing from VirtualHub into a virtual network connection.
Instance Attribute Summary collapse
-
#static_routes ⇒ Array<StaticRoute>
List of all Static Routes.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VnetRoute class as Ruby Hash.
Instance Attribute Details
#static_routes ⇒ Array<StaticRoute>
Returns List of all Static Routes.
17 18 19 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/vnet_route.rb', line 17 def static_routes @static_routes end |
Class Method Details
.mapper ⇒ Object
Mapper for VnetRoute class as Ruby Hash. This will be used for serialization/deserialization.
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 53 |
# File 'lib/2020-07-01/generated/azure_mgmt_network/models/vnet_route.rb', line 24 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VnetRoute', type: { name: 'Composite', class_name: 'VnetRoute', model_properties: { static_routes: { client_side_validation: true, required: false, serialized_name: 'staticRoutes', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StaticRouteElementType', type: { name: 'Composite', class_name: 'StaticRoute' } } } } } } } end |