Class: Azure::Network::Mgmt::V2020_05_01::Models::VirtualHubRouteV2
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2020_05_01::Models::VirtualHubRouteV2
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-05-01/generated/azure_mgmt_network/models/virtual_hub_route_v2.rb
Overview
VirtualHubRouteTableV2 route.
Instance Attribute Summary collapse
-
#destination_type ⇒ String
The type of destinations.
-
#destinations ⇒ Array<String>
List of all destinations.
-
#next_hop_type ⇒ String
The type of next hops.
-
#next_hops ⇒ Array<String>
NextHops ip address.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VirtualHubRouteV2 class as Ruby Hash.
Instance Attribute Details
#destination_type ⇒ String
Returns The type of destinations.
16 17 18 |
# File 'lib/2020-05-01/generated/azure_mgmt_network/models/virtual_hub_route_v2.rb', line 16 def destination_type @destination_type end |
#destinations ⇒ Array<String>
Returns List of all destinations.
19 20 21 |
# File 'lib/2020-05-01/generated/azure_mgmt_network/models/virtual_hub_route_v2.rb', line 19 def destinations @destinations end |
#next_hop_type ⇒ String
Returns The type of next hops.
22 23 24 |
# File 'lib/2020-05-01/generated/azure_mgmt_network/models/virtual_hub_route_v2.rb', line 22 def next_hop_type @next_hop_type end |
#next_hops ⇒ Array<String>
Returns NextHops ip address.
25 26 27 |
# File 'lib/2020-05-01/generated/azure_mgmt_network/models/virtual_hub_route_v2.rb', line 25 def next_hops @next_hops end |
Class Method Details
.mapper ⇒ Object
Mapper for VirtualHubRouteV2 class as Ruby Hash. This will be used for serialization/deserialization.
32 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 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'lib/2020-05-01/generated/azure_mgmt_network/models/virtual_hub_route_v2.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VirtualHubRouteV2', type: { name: 'Composite', class_name: 'VirtualHubRouteV2', model_properties: { destination_type: { client_side_validation: true, required: false, serialized_name: 'destinationType', type: { name: 'String' } }, destinations: { client_side_validation: true, required: false, serialized_name: 'destinations', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, next_hop_type: { client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { name: 'String' } }, next_hops: { client_side_validation: true, required: false, serialized_name: 'nextHops', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |