class Azure::Network::Mgmt::V2017_09_01::Models::EffectiveRoute
Effective Route
Attributes
@return [Array<String>] The address prefixes of the effective routes in CIDR notation.
@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 are: 'VirtualNetworkGateway', 'VnetLocal', 'Internet', 'VirtualAppliance', and 'None'. Possible values include: 'VirtualNetworkGateway', 'VnetLocal', 'Internet', 'VirtualAppliance', 'None'
@return [EffectiveRouteSource] Who created the route. Possible values are: 'Unknown', 'User', 'VirtualNetworkGateway', and 'Default'. Possible values include: 'Unknown', 'User', 'VirtualNetworkGateway', 'Default'
@return [EffectiveRouteState] The value of effective route. Possible values are: 'Active' and 'Invalid'. Possible values include: 'Active', 'Invalid'
Public Class Methods
Mapper for EffectiveRoute class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-09-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' } }, 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