class Azure::Network::Mgmt::V2017_03_30::Models::Route
Route
resource.
Attributes
@return [String] The destination CIDR to which the route applies.
@return [String] A unique read-only string that changes whenever the resource is updated.
@return [String] The name of the resource that is unique within a resource group. This name can be used to access the resource.
@return [String] The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
@return [RouteNextHopType] The type of Azure
hop the packet should be sent to. Possible values include: 'VirtualNetworkGateway', 'VnetLocal', 'Internet', 'VirtualAppliance', 'None'
@return [String] The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
Public Class Methods
Mapper for Route
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-03-30/generated/azure_mgmt_network/models/route.rb, line 45 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Route', type: { name: 'Composite', class_name: 'Route', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, address_prefix: { client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { name: 'String' } }, next_hop_type: { client_side_validation: true, required: true, serialized_name: 'properties.nextHopType', type: { name: 'String' } }, next_hop_ip_address: { client_side_validation: true, required: false, serialized_name: 'properties.nextHopIpAddress', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, etag: { client_side_validation: true, required: false, serialized_name: 'etag', type: { name: 'String' } } } } } end