DaprSubscriptionRouteRule Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |