Share via


FunctionRouterRule Class

Definition

A rule providing a binding to an HTTP Triggered Azure Function.

public class FunctionRouterRule : Azure.Communication.JobRouter.RouterRule
public class FunctionRouterRule : Azure.Communication.JobRouter.RouterRule, System.ClientModel.Primitives.IJsonModel<Azure.Communication.JobRouter.FunctionRouterRule>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.JobRouter.FunctionRouterRule>
type FunctionRouterRule = class
    inherit RouterRule
type FunctionRouterRule = class
    inherit RouterRule
    interface IJsonModel<FunctionRouterRule>
    interface IPersistableModel<FunctionRouterRule>
Public Class FunctionRouterRule
Inherits RouterRule
Public Class FunctionRouterRule
Inherits RouterRule
Implements IJsonModel(Of FunctionRouterRule), IPersistableModel(Of FunctionRouterRule)
Inheritance
FunctionRouterRule
Implements

Constructors

FunctionRouterRule(Uri)

Initializes a new instance of AzureFunctionRule.

Properties

Credential

Credentials used to access Azure function rule.

FunctionUri

URL for Azure Function.

Kind

The type discriminator describing a sub-type of RouterRule.

(Inherited from RouterRule)

Explicit Interface Implementations

IJsonModel<FunctionRouterRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<FunctionRouterRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<RouterRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from RouterRule)
IJsonModel<RouterRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from RouterRule)
IPersistableModel<FunctionRouterRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FunctionRouterRule>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<FunctionRouterRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<RouterRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from RouterRule)
IPersistableModel<RouterRule>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from RouterRule)
IPersistableModel<RouterRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from RouterRule)

Applies to