Class: Azure::Network::Mgmt::V2019_07_01::Models::EffectiveRoute
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2019_07_01::Models::EffectiveRoute
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-07-01/generated/azure_mgmt_network/models/effective_route.rb
Overview
Effective Route.
Instance Attribute Summary collapse
-
#address_prefix ⇒ Array<String>
CIDR notation.
-
#disable_bgp_route_propagation ⇒ Boolean
network interfaces in the subnet.
-
#name ⇒ String
The name of the user defined route.
-
#next_hop_ip_address ⇒ Array<String>
route.
-
#next_hop_type ⇒ RouteNextHopType
sent to.
-
#source ⇒ EffectiveRouteSource
include: ‘Unknown’, ‘User’, ‘VirtualNetworkGateway’, ‘Default’.
-
#state ⇒ EffectiveRouteState
values include: ‘Active’, ‘Invalid’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EffectiveRoute class as Ruby Hash.
Instance Attribute Details
#address_prefix ⇒ Array<String>
CIDR notation.
32 33 34 |
# File 'lib/2019-07-01/generated/azure_mgmt_network/models/effective_route.rb', line 32 def address_prefix @address_prefix end |
#disable_bgp_route_propagation ⇒ Boolean
network interfaces in the subnet.
20 21 22 |
# File 'lib/2019-07-01/generated/azure_mgmt_network/models/effective_route.rb', line 20 def disable_bgp_route_propagation @disable_bgp_route_propagation end |
#name ⇒ String
Returns The name of the user defined route. This is optional.
16 17 18 |
# File 'lib/2019-07-01/generated/azure_mgmt_network/models/effective_route.rb', line 16 def name @name end |
#next_hop_ip_address ⇒ Array<String>
route.
36 37 38 |
# File 'lib/2019-07-01/generated/azure_mgmt_network/models/effective_route.rb', line 36 def next_hop_ip_address @next_hop_ip_address end |
#next_hop_type ⇒ RouteNextHopType
sent to. Possible values include: ‘VirtualNetworkGateway’, ‘VnetLocal’, ‘Internet’, ‘VirtualAppliance’, ‘None’
41 42 43 |
# File 'lib/2019-07-01/generated/azure_mgmt_network/models/effective_route.rb', line 41 def next_hop_type @next_hop_type end |
#source ⇒ EffectiveRouteSource
include: ‘Unknown’, ‘User’, ‘VirtualNetworkGateway’, ‘Default’
24 25 26 |
# File 'lib/2019-07-01/generated/azure_mgmt_network/models/effective_route.rb', line 24 def source @source end |
#state ⇒ EffectiveRouteState
values include: ‘Active’, ‘Invalid’
28 29 30 |
# File 'lib/2019-07-01/generated/azure_mgmt_network/models/effective_route.rb', line 28 def state @state end |
Class Method Details
.mapper ⇒ Object
Mapper for EffectiveRoute class as Ruby Hash. This will be used for serialization/deserialization.
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 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 |
# File 'lib/2019-07-01/generated/azure_mgmt_network/models/effective_route.rb', line 48 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EffectiveRoute', type: { name: 'Composite', class_name: 'EffectiveRoute', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, disable_bgp_route_propagation: { client_side_validation: true, required: false, serialized_name: 'disableBgpRoutePropagation', type: { name: 'Boolean' } }, source: { client_side_validation: true, required: false, serialized_name: 'source', type: { name: 'String' } }, state: { client_side_validation: true, required: false, serialized_name: 'state', type: { name: 'String' } }, address_prefix: { client_side_validation: true, required: false, serialized_name: 'addressPrefix', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, next_hop_ip_address: { client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', 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' } } } } } end |