class Azure::Web::Mgmt::V2020_09_01::Models::HandlerMapping

The IIS handler mappings used to define which handler processes HTTP requests with certain extension. For example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.

Attributes

arguments[RW]

@return [String] Command-line arguments to be passed to the script processor.

extension[RW]

@return [String] Requests with this extension will be handled using the specified FastCGI application.

script_processor[RW]

@return [String] The absolute path to the FastCGI application.

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-09-01/generated/azure_mgmt_web/models/handler_mapping.rb, line 34
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'HandlerMapping',
    type: {
      name: 'Composite',
      class_name: 'HandlerMapping',
      model_properties: {
        extension: {
          client_side_validation: true,
          required: false,
          serialized_name: 'extension',
          type: {
            name: 'String'
          }
        },
        script_processor: {
          client_side_validation: true,
          required: false,
          serialized_name: 'scriptProcessor',
          type: {
            name: 'String'
          }
        },
        arguments: {
          client_side_validation: true,
          required: false,
          serialized_name: 'arguments',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end