DaprSubscriptionRouteRule Class

Definition

Dapr Pubsub Event Subscription Route Rule is used to specify the condition for sending a message to a specific path.

public class DaprSubscriptionRouteRule : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppContainers.Models.DaprSubscriptionRouteRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppContainers.Models.DaprSubscriptionRouteRule>
type DaprSubscriptionRouteRule = class
    interface IJsonModel<DaprSubscriptionRouteRule>
    interface IPersistableModel<DaprSubscriptionRouteRule>
Public Class DaprSubscriptionRouteRule
Implements IJsonModel(Of DaprSubscriptionRouteRule), IPersistableModel(Of DaprSubscriptionRouteRule)
Inheritance
DaprSubscriptionRouteRule
Implements

Constructors

Name Description
DaprSubscriptionRouteRule()

Initializes a new instance of DaprSubscriptionRouteRule.

Properties

Name Description
Match

The optional CEL expression used to match the event. If the match is not specified, then the route is considered the default. The rules are tested in the order specified, so they should be define from most-to-least specific. The default route should appear last in the list.

Path

The path for events that match this rule.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<DaprSubscriptionRouteRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<DaprSubscriptionRouteRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<DaprSubscriptionRouteRule>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<DaprSubscriptionRouteRule>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<DaprSubscriptionRouteRule>.Write(ModelReaderWriterOptions)

Applies to