class Azure::Web::Mgmt::V2018_02_01::Models::VnetRoute
Virtual Network route contract used to pass routing information for a Virtual Network.
Attributes
@return [String] The ending address for this route. If the start address is specified in CIDR notation, this must be omitted.
@return [RouteType] The type of route this is: DEFAULT - By default, every app has routes to the local address ranges specified by RFC1918 INHERITED - Routes inherited from the real Virtual Network routes STATIC - Static route set on the app only
These values will be used for syncing an app's routes with those from a Virtual Network. Possible values include: 'DEFAULT', 'INHERITED', 'STATIC'
@return [String] The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified.
Private Class Methods
Mapper for VnetRoute
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-02-01/generated/azure_mgmt_web/models/vnet_route.rb, line 41 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VnetRoute', type: { name: 'Composite', class_name: 'VnetRoute', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, kind: { client_side_validation: true, required: false, serialized_name: 'kind', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, start_address: { client_side_validation: true, required: false, serialized_name: 'properties.startAddress', type: { name: 'String' } }, end_address: { client_side_validation: true, required: false, serialized_name: 'properties.endAddress', type: { name: 'String' } }, route_type: { client_side_validation: true, required: false, serialized_name: 'properties.routeType', type: { name: 'String' } } } } } end