Class: Azure::ARM::Web::Models::HandlerMapping

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_web/models/handler_mapping.rb

Overview

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.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#argumentsString

processor.

Returns:

  • (String)

    Command-line arguments to be passed to the script



28
29
30
# File 'lib/generated/azure_mgmt_web/models/handler_mapping.rb', line 28

def arguments
  @arguments
end

#extensionString

specified FastCGI application.

Returns:

  • (String)

    Requests with this extension will be handled using the



21
22
23
# File 'lib/generated/azure_mgmt_web/models/handler_mapping.rb', line 21

def extension
  @extension
end

#script_processorString

Returns The absolute path to the FastCGI application.

Returns:

  • (String)

    The absolute path to the FastCGI application.



24
25
26
# File 'lib/generated/azure_mgmt_web/models/handler_mapping.rb', line 24

def script_processor
  @script_processor
end

Class Method Details

.mapperObject

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



35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# File 'lib/generated/azure_mgmt_web/models/handler_mapping.rb', line 35

def self.mapper()
  {
    required: false,
    serialized_name: 'HandlerMapping',
    type: {
      name: 'Composite',
      class_name: 'HandlerMapping',
      model_properties: {
        extension: {
          required: false,
          serialized_name: 'extension',
          type: {
            name: 'String'
          }
        },
        script_processor: {
          required: false,
          serialized_name: 'scriptProcessor',
          type: {
            name: 'String'
          }
        },
        arguments: {
          required: false,
          serialized_name: 'arguments',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end