azure-native.servicebus.Rule

Explore with Pulumi AI

Description of Rule Resource. API Version: 2017-04-01.

Example Usage

RulesCreateCorrelationFilter

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var rule = new AzureNative.ServiceBus.Rule("rule", new()
    {
        CorrelationFilter = new AzureNative.ServiceBus.Inputs.CorrelationFilterArgs
        {
            Properties = 
            {
                { "topicHint", "Crop" },
            },
        },
        FilterType = AzureNative.ServiceBus.FilterType.CorrelationFilter,
        NamespaceName = "sdk-Namespace-1319",
        ResourceGroupName = "resourceGroupName",
        RuleName = "sdk-Rules-6571",
        SubscriptionName = "sdk-Subscriptions-8691",
        TopicName = "sdk-Topics-2081",
    });

});
package main

import (
	servicebus "github.com/pulumi/pulumi-azure-native-sdk/servicebus"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicebus.NewRule(ctx, "rule", &servicebus.RuleArgs{
			CorrelationFilter: &servicebus.CorrelationFilterArgs{
				Properties: pulumi.StringMap{
					"topicHint": pulumi.String("Crop"),
				},
			},
			FilterType:        servicebus.FilterTypeCorrelationFilter,
			NamespaceName:     pulumi.String("sdk-Namespace-1319"),
			ResourceGroupName: pulumi.String("resourceGroupName"),
			RuleName:          pulumi.String("sdk-Rules-6571"),
			SubscriptionName:  pulumi.String("sdk-Subscriptions-8691"),
			TopicName:         pulumi.String("sdk-Topics-2081"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.servicebus.Rule;
import com.pulumi.azurenative.servicebus.RuleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var rule = new Rule("rule", RuleArgs.builder()        
            .correlationFilter(Map.of("properties", Map.of("topicHint", "Crop")))
            .filterType("CorrelationFilter")
            .namespaceName("sdk-Namespace-1319")
            .resourceGroupName("resourceGroupName")
            .ruleName("sdk-Rules-6571")
            .subscriptionName("sdk-Subscriptions-8691")
            .topicName("sdk-Topics-2081")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

rule = azure_native.servicebus.Rule("rule",
    correlation_filter=azure_native.servicebus.CorrelationFilterArgs(
        properties={
            "topicHint": "Crop",
        },
    ),
    filter_type=azure_native.servicebus.FilterType.CORRELATION_FILTER,
    namespace_name="sdk-Namespace-1319",
    resource_group_name="resourceGroupName",
    rule_name="sdk-Rules-6571",
    subscription_name="sdk-Subscriptions-8691",
    topic_name="sdk-Topics-2081")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const rule = new azure_native.servicebus.Rule("rule", {
    correlationFilter: {
        properties: {
            topicHint: "Crop",
        },
    },
    filterType: azure_native.servicebus.FilterType.CorrelationFilter,
    namespaceName: "sdk-Namespace-1319",
    resourceGroupName: "resourceGroupName",
    ruleName: "sdk-Rules-6571",
    subscriptionName: "sdk-Subscriptions-8691",
    topicName: "sdk-Topics-2081",
});
resources:
  rule:
    type: azure-native:servicebus:Rule
    properties:
      correlationFilter:
        properties:
          topicHint: Crop
      filterType: CorrelationFilter
      namespaceName: sdk-Namespace-1319
      resourceGroupName: resourceGroupName
      ruleName: sdk-Rules-6571
      subscriptionName: sdk-Subscriptions-8691
      topicName: sdk-Topics-2081

RulesCreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var rule = new AzureNative.ServiceBus.Rule("rule", new()
    {
        NamespaceName = "sdk-Namespace-1319",
        ResourceGroupName = "resourceGroupName",
        RuleName = "sdk-Rules-6571",
        SubscriptionName = "sdk-Subscriptions-8691",
        TopicName = "sdk-Topics-2081",
    });

});
package main

import (
	servicebus "github.com/pulumi/pulumi-azure-native-sdk/servicebus"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicebus.NewRule(ctx, "rule", &servicebus.RuleArgs{
			NamespaceName:     pulumi.String("sdk-Namespace-1319"),
			ResourceGroupName: pulumi.String("resourceGroupName"),
			RuleName:          pulumi.String("sdk-Rules-6571"),
			SubscriptionName:  pulumi.String("sdk-Subscriptions-8691"),
			TopicName:         pulumi.String("sdk-Topics-2081"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.servicebus.Rule;
import com.pulumi.azurenative.servicebus.RuleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var rule = new Rule("rule", RuleArgs.builder()        
            .namespaceName("sdk-Namespace-1319")
            .resourceGroupName("resourceGroupName")
            .ruleName("sdk-Rules-6571")
            .subscriptionName("sdk-Subscriptions-8691")
            .topicName("sdk-Topics-2081")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

rule = azure_native.servicebus.Rule("rule",
    namespace_name="sdk-Namespace-1319",
    resource_group_name="resourceGroupName",
    rule_name="sdk-Rules-6571",
    subscription_name="sdk-Subscriptions-8691",
    topic_name="sdk-Topics-2081")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const rule = new azure_native.servicebus.Rule("rule", {
    namespaceName: "sdk-Namespace-1319",
    resourceGroupName: "resourceGroupName",
    ruleName: "sdk-Rules-6571",
    subscriptionName: "sdk-Subscriptions-8691",
    topicName: "sdk-Topics-2081",
});
resources:
  rule:
    type: azure-native:servicebus:Rule
    properties:
      namespaceName: sdk-Namespace-1319
      resourceGroupName: resourceGroupName
      ruleName: sdk-Rules-6571
      subscriptionName: sdk-Subscriptions-8691
      topicName: sdk-Topics-2081

RulesCreateSqlFilter

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var rule = new AzureNative.ServiceBus.Rule("rule", new()
    {
        FilterType = AzureNative.ServiceBus.FilterType.SqlFilter,
        NamespaceName = "sdk-Namespace-1319",
        ResourceGroupName = "resourceGroupName",
        RuleName = "sdk-Rules-6571",
        SqlFilter = new AzureNative.ServiceBus.Inputs.SqlFilterArgs
        {
            SqlExpression = "myproperty=test",
        },
        SubscriptionName = "sdk-Subscriptions-8691",
        TopicName = "sdk-Topics-2081",
    });

});
package main

import (
	servicebus "github.com/pulumi/pulumi-azure-native-sdk/servicebus"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicebus.NewRule(ctx, "rule", &servicebus.RuleArgs{
			FilterType:        servicebus.FilterTypeSqlFilter,
			NamespaceName:     pulumi.String("sdk-Namespace-1319"),
			ResourceGroupName: pulumi.String("resourceGroupName"),
			RuleName:          pulumi.String("sdk-Rules-6571"),
			SqlFilter: &servicebus.SqlFilterArgs{
				SqlExpression: pulumi.String("myproperty=test"),
			},
			SubscriptionName: pulumi.String("sdk-Subscriptions-8691"),
			TopicName:        pulumi.String("sdk-Topics-2081"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.servicebus.Rule;
import com.pulumi.azurenative.servicebus.RuleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var rule = new Rule("rule", RuleArgs.builder()        
            .filterType("SqlFilter")
            .namespaceName("sdk-Namespace-1319")
            .resourceGroupName("resourceGroupName")
            .ruleName("sdk-Rules-6571")
            .sqlFilter(Map.of("sqlExpression", "myproperty=test"))
            .subscriptionName("sdk-Subscriptions-8691")
            .topicName("sdk-Topics-2081")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

rule = azure_native.servicebus.Rule("rule",
    filter_type=azure_native.servicebus.FilterType.SQL_FILTER,
    namespace_name="sdk-Namespace-1319",
    resource_group_name="resourceGroupName",
    rule_name="sdk-Rules-6571",
    sql_filter=azure_native.servicebus.SqlFilterArgs(
        sql_expression="myproperty=test",
    ),
    subscription_name="sdk-Subscriptions-8691",
    topic_name="sdk-Topics-2081")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const rule = new azure_native.servicebus.Rule("rule", {
    filterType: azure_native.servicebus.FilterType.SqlFilter,
    namespaceName: "sdk-Namespace-1319",
    resourceGroupName: "resourceGroupName",
    ruleName: "sdk-Rules-6571",
    sqlFilter: {
        sqlExpression: "myproperty=test",
    },
    subscriptionName: "sdk-Subscriptions-8691",
    topicName: "sdk-Topics-2081",
});
resources:
  rule:
    type: azure-native:servicebus:Rule
    properties:
      filterType: SqlFilter
      namespaceName: sdk-Namespace-1319
      resourceGroupName: resourceGroupName
      ruleName: sdk-Rules-6571
      sqlFilter:
        sqlExpression: myproperty=test
      subscriptionName: sdk-Subscriptions-8691
      topicName: sdk-Topics-2081

Create Rule Resource

new Rule(name: string, args: RuleArgs, opts?: CustomResourceOptions);
@overload
def Rule(resource_name: str,
         opts: Optional[ResourceOptions] = None,
         action: Optional[ActionArgs] = None,
         correlation_filter: Optional[CorrelationFilterArgs] = None,
         filter_type: Optional[FilterType] = None,
         namespace_name: Optional[str] = None,
         resource_group_name: Optional[str] = None,
         rule_name: Optional[str] = None,
         sql_filter: Optional[SqlFilterArgs] = None,
         subscription_name: Optional[str] = None,
         topic_name: Optional[str] = None)
@overload
def Rule(resource_name: str,
         args: RuleArgs,
         opts: Optional[ResourceOptions] = None)
func NewRule(ctx *Context, name string, args RuleArgs, opts ...ResourceOption) (*Rule, error)
public Rule(string name, RuleArgs args, CustomResourceOptions? opts = null)
public Rule(String name, RuleArgs args)
public Rule(String name, RuleArgs args, CustomResourceOptions options)
type: azure-native:servicebus:Rule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args RuleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args RuleArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args RuleArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args RuleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args RuleArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Rule Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Rule resource accepts the following input properties:

NamespaceName string

The namespace name

ResourceGroupName string

Name of the Resource group within the Azure subscription.

SubscriptionName string

The subscription name.

TopicName string

The topic name.

Action Pulumi.AzureNative.ServiceBus.Inputs.ActionArgs

Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression.

CorrelationFilter Pulumi.AzureNative.ServiceBus.Inputs.CorrelationFilterArgs

Properties of correlationFilter

FilterType Pulumi.AzureNative.ServiceBus.FilterType

Filter type that is evaluated against a BrokeredMessage.

RuleName string

The rule name.

SqlFilter Pulumi.AzureNative.ServiceBus.Inputs.SqlFilterArgs

Properties of sqlFilter

NamespaceName string

The namespace name

ResourceGroupName string

Name of the Resource group within the Azure subscription.

SubscriptionName string

The subscription name.

TopicName string

The topic name.

Action ActionArgs

Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression.

CorrelationFilter CorrelationFilterArgs

Properties of correlationFilter

FilterType FilterType

Filter type that is evaluated against a BrokeredMessage.

RuleName string

The rule name.

SqlFilter SqlFilterArgs

Properties of sqlFilter

namespaceName String

The namespace name

resourceGroupName String

Name of the Resource group within the Azure subscription.

subscriptionName String

The subscription name.

topicName String

The topic name.

action ActionArgs

Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression.

correlationFilter CorrelationFilterArgs

Properties of correlationFilter

filterType FilterType

Filter type that is evaluated against a BrokeredMessage.

ruleName String

The rule name.

sqlFilter SqlFilterArgs

Properties of sqlFilter

namespaceName string

The namespace name

resourceGroupName string

Name of the Resource group within the Azure subscription.

subscriptionName string

The subscription name.

topicName string

The topic name.

action ActionArgs

Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression.

correlationFilter CorrelationFilterArgs

Properties of correlationFilter

filterType FilterType

Filter type that is evaluated against a BrokeredMessage.

ruleName string

The rule name.

sqlFilter SqlFilterArgs

Properties of sqlFilter

namespace_name str

The namespace name

resource_group_name str

Name of the Resource group within the Azure subscription.

subscription_name str

The subscription name.

topic_name str

The topic name.

action ActionArgs

Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression.

correlation_filter CorrelationFilterArgs

Properties of correlationFilter

filter_type FilterType

Filter type that is evaluated against a BrokeredMessage.

rule_name str

The rule name.

sql_filter SqlFilterArgs

Properties of sqlFilter

namespaceName String

The namespace name

resourceGroupName String

Name of the Resource group within the Azure subscription.

subscriptionName String

The subscription name.

topicName String

The topic name.

action Property Map

Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression.

correlationFilter Property Map

Properties of correlationFilter

filterType "SqlFilter" | "CorrelationFilter"

Filter type that is evaluated against a BrokeredMessage.

ruleName String

The rule name.

sqlFilter Property Map

Properties of sqlFilter

Outputs

All input properties are implicitly available as output properties. Additionally, the Rule resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Name string

Resource name

Type string

Resource type

Id string

The provider-assigned unique ID for this managed resource.

Name string

Resource name

Type string

Resource type

id String

The provider-assigned unique ID for this managed resource.

name String

Resource name

type String

Resource type

id string

The provider-assigned unique ID for this managed resource.

name string

Resource name

type string

Resource type

id str

The provider-assigned unique ID for this managed resource.

name str

Resource name

type str

Resource type

id String

The provider-assigned unique ID for this managed resource.

name String

Resource name

type String

Resource type

Supporting Types

Action

CompatibilityLevel int

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

RequiresPreprocessing bool

Value that indicates whether the rule action requires preprocessing.

SqlExpression string

SQL expression. e.g. MyProperty='ABC'

CompatibilityLevel int

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

RequiresPreprocessing bool

Value that indicates whether the rule action requires preprocessing.

SqlExpression string

SQL expression. e.g. MyProperty='ABC'

compatibilityLevel Integer

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

requiresPreprocessing Boolean

Value that indicates whether the rule action requires preprocessing.

sqlExpression String

SQL expression. e.g. MyProperty='ABC'

compatibilityLevel number

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

requiresPreprocessing boolean

Value that indicates whether the rule action requires preprocessing.

sqlExpression string

SQL expression. e.g. MyProperty='ABC'

compatibility_level int

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

requires_preprocessing bool

Value that indicates whether the rule action requires preprocessing.

sql_expression str

SQL expression. e.g. MyProperty='ABC'

compatibilityLevel Number

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

requiresPreprocessing Boolean

Value that indicates whether the rule action requires preprocessing.

sqlExpression String

SQL expression. e.g. MyProperty='ABC'

ActionResponse

CompatibilityLevel int

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

RequiresPreprocessing bool

Value that indicates whether the rule action requires preprocessing.

SqlExpression string

SQL expression. e.g. MyProperty='ABC'

CompatibilityLevel int

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

RequiresPreprocessing bool

Value that indicates whether the rule action requires preprocessing.

SqlExpression string

SQL expression. e.g. MyProperty='ABC'

compatibilityLevel Integer

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

requiresPreprocessing Boolean

Value that indicates whether the rule action requires preprocessing.

sqlExpression String

SQL expression. e.g. MyProperty='ABC'

compatibilityLevel number

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

requiresPreprocessing boolean

Value that indicates whether the rule action requires preprocessing.

sqlExpression string

SQL expression. e.g. MyProperty='ABC'

compatibility_level int

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

requires_preprocessing bool

Value that indicates whether the rule action requires preprocessing.

sql_expression str

SQL expression. e.g. MyProperty='ABC'

compatibilityLevel Number

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

requiresPreprocessing Boolean

Value that indicates whether the rule action requires preprocessing.

sqlExpression String

SQL expression. e.g. MyProperty='ABC'

CorrelationFilter

ContentType string

Content type of the message.

CorrelationId string

Identifier of the correlation.

Label string

Application specific label.

MessageId string

Identifier of the message.

Properties Dictionary<string, string>

dictionary object for custom filters

ReplyTo string

Address of the queue to reply to.

ReplyToSessionId string

Session identifier to reply to.

RequiresPreprocessing bool

Value that indicates whether the rule action requires preprocessing.

SessionId string

Session identifier.

To string

Address to send to.

ContentType string

Content type of the message.

CorrelationId string

Identifier of the correlation.

Label string

Application specific label.

MessageId string

Identifier of the message.

Properties map[string]string

dictionary object for custom filters

ReplyTo string

Address of the queue to reply to.

ReplyToSessionId string

Session identifier to reply to.

RequiresPreprocessing bool

Value that indicates whether the rule action requires preprocessing.

SessionId string

Session identifier.

To string

Address to send to.

contentType String

Content type of the message.

correlationId String

Identifier of the correlation.

label String

Application specific label.

messageId String

Identifier of the message.

properties Map<String,String>

dictionary object for custom filters

replyTo String

Address of the queue to reply to.

replyToSessionId String

Session identifier to reply to.

requiresPreprocessing Boolean

Value that indicates whether the rule action requires preprocessing.

sessionId String

Session identifier.

to String

Address to send to.

contentType string

Content type of the message.

correlationId string

Identifier of the correlation.

label string

Application specific label.

messageId string

Identifier of the message.

properties {[key: string]: string}

dictionary object for custom filters

replyTo string

Address of the queue to reply to.

replyToSessionId string

Session identifier to reply to.

requiresPreprocessing boolean

Value that indicates whether the rule action requires preprocessing.

sessionId string

Session identifier.

to string

Address to send to.

content_type str

Content type of the message.

correlation_id str

Identifier of the correlation.

label str

Application specific label.

message_id str

Identifier of the message.

properties Mapping[str, str]

dictionary object for custom filters

reply_to str

Address of the queue to reply to.

reply_to_session_id str

Session identifier to reply to.

requires_preprocessing bool

Value that indicates whether the rule action requires preprocessing.

session_id str

Session identifier.

to str

Address to send to.

contentType String

Content type of the message.

correlationId String

Identifier of the correlation.

label String

Application specific label.

messageId String

Identifier of the message.

properties Map<String>

dictionary object for custom filters

replyTo String

Address of the queue to reply to.

replyToSessionId String

Session identifier to reply to.

requiresPreprocessing Boolean

Value that indicates whether the rule action requires preprocessing.

sessionId String

Session identifier.

to String

Address to send to.

CorrelationFilterResponse

ContentType string

Content type of the message.

CorrelationId string

Identifier of the correlation.

Label string

Application specific label.

MessageId string

Identifier of the message.

Properties Dictionary<string, string>

dictionary object for custom filters

ReplyTo string

Address of the queue to reply to.

ReplyToSessionId string

Session identifier to reply to.

RequiresPreprocessing bool

Value that indicates whether the rule action requires preprocessing.

SessionId string

Session identifier.

To string

Address to send to.

ContentType string

Content type of the message.

CorrelationId string

Identifier of the correlation.

Label string

Application specific label.

MessageId string

Identifier of the message.

Properties map[string]string

dictionary object for custom filters

ReplyTo string

Address of the queue to reply to.

ReplyToSessionId string

Session identifier to reply to.

RequiresPreprocessing bool

Value that indicates whether the rule action requires preprocessing.

SessionId string

Session identifier.

To string

Address to send to.

contentType String

Content type of the message.

correlationId String

Identifier of the correlation.

label String

Application specific label.

messageId String

Identifier of the message.

properties Map<String,String>

dictionary object for custom filters

replyTo String

Address of the queue to reply to.

replyToSessionId String

Session identifier to reply to.

requiresPreprocessing Boolean

Value that indicates whether the rule action requires preprocessing.

sessionId String

Session identifier.

to String

Address to send to.

contentType string

Content type of the message.

correlationId string

Identifier of the correlation.

label string

Application specific label.

messageId string

Identifier of the message.

properties {[key: string]: string}

dictionary object for custom filters

replyTo string

Address of the queue to reply to.

replyToSessionId string

Session identifier to reply to.

requiresPreprocessing boolean

Value that indicates whether the rule action requires preprocessing.

sessionId string

Session identifier.

to string

Address to send to.

content_type str

Content type of the message.

correlation_id str

Identifier of the correlation.

label str

Application specific label.

message_id str

Identifier of the message.

properties Mapping[str, str]

dictionary object for custom filters

reply_to str

Address of the queue to reply to.

reply_to_session_id str

Session identifier to reply to.

requires_preprocessing bool

Value that indicates whether the rule action requires preprocessing.

session_id str

Session identifier.

to str

Address to send to.

contentType String

Content type of the message.

correlationId String

Identifier of the correlation.

label String

Application specific label.

messageId String

Identifier of the message.

properties Map<String>

dictionary object for custom filters

replyTo String

Address of the queue to reply to.

replyToSessionId String

Session identifier to reply to.

requiresPreprocessing Boolean

Value that indicates whether the rule action requires preprocessing.

sessionId String

Session identifier.

to String

Address to send to.

FilterType

SqlFilter
SqlFilter
CorrelationFilter
CorrelationFilter
FilterTypeSqlFilter
SqlFilter
FilterTypeCorrelationFilter
CorrelationFilter
SqlFilter
SqlFilter
CorrelationFilter
CorrelationFilter
SqlFilter
SqlFilter
CorrelationFilter
CorrelationFilter
SQL_FILTER
SqlFilter
CORRELATION_FILTER
CorrelationFilter
"SqlFilter"
SqlFilter
"CorrelationFilter"
CorrelationFilter

SqlFilter

CompatibilityLevel int

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

RequiresPreprocessing bool

Value that indicates whether the rule action requires preprocessing.

SqlExpression string

The SQL expression. e.g. MyProperty='ABC'

CompatibilityLevel int

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

RequiresPreprocessing bool

Value that indicates whether the rule action requires preprocessing.

SqlExpression string

The SQL expression. e.g. MyProperty='ABC'

compatibilityLevel Integer

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

requiresPreprocessing Boolean

Value that indicates whether the rule action requires preprocessing.

sqlExpression String

The SQL expression. e.g. MyProperty='ABC'

compatibilityLevel number

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

requiresPreprocessing boolean

Value that indicates whether the rule action requires preprocessing.

sqlExpression string

The SQL expression. e.g. MyProperty='ABC'

compatibility_level int

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

requires_preprocessing bool

Value that indicates whether the rule action requires preprocessing.

sql_expression str

The SQL expression. e.g. MyProperty='ABC'

compatibilityLevel Number

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

requiresPreprocessing Boolean

Value that indicates whether the rule action requires preprocessing.

sqlExpression String

The SQL expression. e.g. MyProperty='ABC'

SqlFilterResponse

CompatibilityLevel int

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

RequiresPreprocessing bool

Value that indicates whether the rule action requires preprocessing.

SqlExpression string

The SQL expression. e.g. MyProperty='ABC'

CompatibilityLevel int

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

RequiresPreprocessing bool

Value that indicates whether the rule action requires preprocessing.

SqlExpression string

The SQL expression. e.g. MyProperty='ABC'

compatibilityLevel Integer

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

requiresPreprocessing Boolean

Value that indicates whether the rule action requires preprocessing.

sqlExpression String

The SQL expression. e.g. MyProperty='ABC'

compatibilityLevel number

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

requiresPreprocessing boolean

Value that indicates whether the rule action requires preprocessing.

sqlExpression string

The SQL expression. e.g. MyProperty='ABC'

compatibility_level int

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

requires_preprocessing bool

Value that indicates whether the rule action requires preprocessing.

sql_expression str

The SQL expression. e.g. MyProperty='ABC'

compatibilityLevel Number

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

requiresPreprocessing Boolean

Value that indicates whether the rule action requires preprocessing.

sqlExpression String

The SQL expression. e.g. MyProperty='ABC'

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:servicebus:Rule sdk-Rules-6571 /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1319/topics/sdk-Topics-2081/subscriptions/sdk-Subscriptions-8691/rules/sdk-Rules-6571 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0