class Azure::Web::Mgmt::V2015_08_01::Models::VnetRoute

Virtual Network route contract used to pass routing information for a Virtual Network.

Attributes

end_address[RW]

@return [String] The ending address for this route. If the start address is specified in CIDR notation, this must be omitted.

route_type[RW]

@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'

start_address[RW]

@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.

vnet_route_name[RW]

@return [String] The name of this route. This is only returned by the server and does not need to be set by the client.

Public Class Methods

mapper() click to toggle source

Mapper for VnetRoute class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2015-08-01/generated/azure_mgmt_web/models/vnet_route.rb, line 45
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'
          }
        },
        vnet_route_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.name',
          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