class Azure::Network::Mgmt::V2019_12_01::Models::EffectiveRoute
Effective Route
.
Attributes
@return [Array<String>] The address prefixes of the effective routes in CIDR notation.
@return [Boolean] If true, on-premises routes are not propagated to the network interfaces in the subnet.
@return [String] The name of the user defined route. This is optional.
@return [Array<String>] The IP address of the next hop of the effective route.
@return [RouteNextHopType] The type of Azure
hop the packet should be sent to. Possible values include: 'VirtualNetworkGateway', 'VnetLocal', 'Internet', 'VirtualAppliance', 'None'
@return [EffectiveRouteSource] Who created the route. Possible values include: 'Unknown', 'User', 'VirtualNetworkGateway', 'Default'
@return [EffectiveRouteState] The value of effective route. Possible values include: 'Active', 'Invalid'
Public Class Methods
Mapper for EffectiveRoute
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-12-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