Condividi tramite


WebhookRouterRule Class

Definition

A rule providing a binding to an external web server.

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

Constructors

WebhookRouterRule(Uri, OAuth2WebhookClientCredential, Uri)

Initializes a new instance of WebhookRouterRule.

Properties

AuthorizationServerUri

Uri for Authorization Server.

ClientCredential

OAuth2.0 Credentials used to Contoso's Authorization server. Reference: https://www.oauth.com/oauth2-servers/access-tokens/client-credentials/.

Kind

The type discriminator describing a sub-type of RouterRule.

(Inherited from RouterRule)
WebhookUri

Uri for Contoso's Web Server.

Explicit Interface Implementations

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)
IJsonModel<WebhookRouterRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<WebhookRouterRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

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)
IPersistableModel<WebhookRouterRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WebhookRouterRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WebhookRouterRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to