class Azure::Network::Mgmt::V2016_06_01::Models::EffectiveRoute
Effective Route
Attributes
@return [Array<String>] Gets address prefixes of the effective routes in CIDR notation.
@return [String] Gets the name of the user defined route. This is optional.
@return [Array<String>] Gets the IP address of the next hop of the effective route
@return [RouteNextHopType] Gets or sets the type of Azure
hop the packet should be sent to. Possible values include: 'VirtualNetworkGateway', 'VnetLocal', 'Internet', 'VirtualAppliance', 'None'
@return [EffectiveRouteSource] Gets who created the route. Possible values include: 'Unknown', 'User', 'VirtualNetworkGateway', 'Default'
@return [EffectiveRouteState] Gets 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/2016-06-01/generated/azure_mgmt_network/models/effective_route.rb, line 46 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' } }, 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