class Azure::Network::Mgmt::V2019_12_01::Models::ApplicationGatewayRequestRoutingRule

Request routing rule of an application gateway.

Attributes

backend_address_pool[RW]

@return [SubResource] Backend address pool resource of the application gateway.

backend_http_settings[RW]

@return [SubResource] Backend http settings resource of the application gateway.

etag[RW]

@return [String] A unique read-only string that changes whenever the resource is updated.

http_listener[RW]

@return [SubResource] Http listener resource of the application gateway.

name[RW]

@return [String] Name of the request routing rule that is unique within an Application Gateway.

priority[RW]

@return [Integer] Priority of the request routing rule.

provisioning_state[RW]

@return [ProvisioningState] The provisioning state of the request routing rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

redirect_configuration[RW]

@return [SubResource] Redirect configuration resource of the application gateway.

rewrite_rule_set[RW]

@return [SubResource] Rewrite Rule Set resource in Basic rule of the application gateway.

rule_type[RW]

@return [ApplicationGatewayRequestRoutingRuleType] Rule type. Possible values include: 'Basic', 'PathBasedRouting'

type[RW]

@return [String] Type of the resource.

url_path_map[RW]

@return [SubResource] URL path map resource of the application gateway.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-12-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb, line 66
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationGatewayRequestRoutingRule',
    type: {
      name: 'Composite',
      class_name: 'ApplicationGatewayRequestRoutingRule',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        rule_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.ruleType',
          type: {
            name: 'String'
          }
        },
        priority: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.priority',
          constraints: {
            InclusiveMaximum: 20000,
            InclusiveMinimum: 1
          },
          type: {
            name: 'Number'
          }
        },
        backend_address_pool: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.backendAddressPool',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        backend_http_settings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.backendHttpSettings',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        http_listener: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.httpListener',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        url_path_map: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.urlPathMap',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        rewrite_rule_set: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.rewriteRuleSet',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        redirect_configuration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.redirectConfiguration',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          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,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end