Partager via


HandlerMapping Class

Definition

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.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.HandlerMappingTypeConverter))]
public class HandlerMapping : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IHandlerMapping
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.HandlerMappingTypeConverter))>]
type HandlerMapping = class
    interface IHandlerMapping
    interface IJsonSerializable
Public Class HandlerMapping
Implements IHandlerMapping
Inheritance
HandlerMapping
Attributes
Implements

Constructors

HandlerMapping()

Creates an new HandlerMapping instance.

Properties

Argument

Command-line arguments to be passed to the script processor.

Extension

Requests with this extension will be handled using the specified FastCGI application.

ScriptProcessor

The absolute path to the FastCGI application.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of HandlerMapping.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of HandlerMapping.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IHandlerMapping.

FromJsonString(String)

Creates a new instance of HandlerMapping, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of HandlerMapping into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to