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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Rule(name: string, args: RuleArgs, opts?: CustomResourceOptions);
@overload
def Rule(resource_name: str,
args: RuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Rule(resource_name: str,
opts: Optional[ResourceOptions] = None,
namespace_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
subscription_name: Optional[str] = None,
topic_name: Optional[str] = None,
action: Optional[ActionArgs] = None,
correlation_filter: Optional[CorrelationFilterArgs] = None,
filter_type: Optional[FilterType] = None,
rule_name: Optional[str] = None,
sql_filter: Optional[SqlFilterArgs] = None)
func NewRule(ctx *Context, name string, args RuleArgs, opts ...ResourceOption) (*Rule, error)
public Rule(string name, RuleArgs args, CustomResourceOptions? opts = null)
type: azure-native:servicebus:Rule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var azure_nativeRuleResource = new AzureNative.Servicebus.Rule("azure-nativeRuleResource", new()
{
NamespaceName = "string",
ResourceGroupName = "string",
SubscriptionName = "string",
TopicName = "string",
Action =
{
{ "compatibilityLevel", 0 },
{ "requiresPreprocessing", false },
{ "sqlExpression", "string" },
},
CorrelationFilter =
{
{ "contentType", "string" },
{ "correlationId", "string" },
{ "label", "string" },
{ "messageId", "string" },
{ "properties",
{
{ "string", "string" },
} },
{ "replyTo", "string" },
{ "replyToSessionId", "string" },
{ "requiresPreprocessing", false },
{ "sessionId", "string" },
{ "to", "string" },
},
FilterType = "SqlFilter",
RuleName = "string",
SqlFilter =
{
{ "compatibilityLevel", 0 },
{ "requiresPreprocessing", false },
{ "sqlExpression", "string" },
},
});
example, err := servicebus.NewRule(ctx, "azure-nativeRuleResource", &servicebus.RuleArgs{
NamespaceName: "string",
ResourceGroupName: "string",
SubscriptionName: "string",
TopicName: "string",
Action: map[string]interface{}{
"compatibilityLevel": 0,
"requiresPreprocessing": false,
"sqlExpression": "string",
},
CorrelationFilter: map[string]interface{}{
"contentType": "string",
"correlationId": "string",
"label": "string",
"messageId": "string",
"properties": map[string]interface{}{
"string": "string",
},
"replyTo": "string",
"replyToSessionId": "string",
"requiresPreprocessing": false,
"sessionId": "string",
"to": "string",
},
FilterType: "SqlFilter",
RuleName: "string",
SqlFilter: map[string]interface{}{
"compatibilityLevel": 0,
"requiresPreprocessing": false,
"sqlExpression": "string",
},
})
var azure_nativeRuleResource = new Rule("azure-nativeRuleResource", RuleArgs.builder()
.namespaceName("string")
.resourceGroupName("string")
.subscriptionName("string")
.topicName("string")
.action(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.correlationFilter(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.filterType("SqlFilter")
.ruleName("string")
.sqlFilter(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
azure_native_rule_resource = azure_native.servicebus.Rule("azure-nativeRuleResource",
namespace_name=string,
resource_group_name=string,
subscription_name=string,
topic_name=string,
action={
compatibilityLevel: 0,
requiresPreprocessing: False,
sqlExpression: string,
},
correlation_filter={
contentType: string,
correlationId: string,
label: string,
messageId: string,
properties: {
string: string,
},
replyTo: string,
replyToSessionId: string,
requiresPreprocessing: False,
sessionId: string,
to: string,
},
filter_type=SqlFilter,
rule_name=string,
sql_filter={
compatibilityLevel: 0,
requiresPreprocessing: False,
sqlExpression: string,
})
const azure_nativeRuleResource = new azure_native.servicebus.Rule("azure-nativeRuleResource", {
namespaceName: "string",
resourceGroupName: "string",
subscriptionName: "string",
topicName: "string",
action: {
compatibilityLevel: 0,
requiresPreprocessing: false,
sqlExpression: "string",
},
correlationFilter: {
contentType: "string",
correlationId: "string",
label: "string",
messageId: "string",
properties: {
string: "string",
},
replyTo: "string",
replyToSessionId: "string",
requiresPreprocessing: false,
sessionId: "string",
to: "string",
},
filterType: "SqlFilter",
ruleName: "string",
sqlFilter: {
compatibilityLevel: 0,
requiresPreprocessing: false,
sqlExpression: "string",
},
});
type: azure-native:servicebus:Rule
properties:
action:
compatibilityLevel: 0
requiresPreprocessing: false
sqlExpression: string
correlationFilter:
contentType: string
correlationId: string
label: string
messageId: string
properties:
string: string
replyTo: string
replyToSessionId: string
requiresPreprocessing: false
sessionId: string
to: string
filterType: SqlFilter
namespaceName: string
resourceGroupName: string
ruleName: string
sqlFilter:
compatibilityLevel: 0
requiresPreprocessing: false
sqlExpression: string
subscriptionName: string
topicName: string
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:
- Namespace
Name string - The namespace name
- Resource
Group stringName - Name of the Resource group within the Azure subscription.
- Subscription
Name string - The subscription name.
- Topic
Name string - The topic name.
- Action
Pulumi.
Azure Native. Service Bus. Inputs. Action - Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression.
- Correlation
Filter Pulumi.Azure Native. Service Bus. Inputs. Correlation Filter - Properties of correlationFilter
- Filter
Type Pulumi.Azure Native. Service Bus. Filter Type - Filter type that is evaluated against a BrokeredMessage.
- Rule
Name string - The rule name.
- Sql
Filter Pulumi.Azure Native. Service Bus. Inputs. Sql Filter - Properties of sqlFilter
- Namespace
Name string - The namespace name
- Resource
Group stringName - Name of the Resource group within the Azure subscription.
- Subscription
Name string - The subscription name.
- Topic
Name string - The topic name.
- Action
Action
Args - Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression.
- Correlation
Filter CorrelationFilter Args - Properties of correlationFilter
- Filter
Type FilterType - Filter type that is evaluated against a BrokeredMessage.
- Rule
Name string - The rule name.
- Sql
Filter SqlFilter Args - Properties of sqlFilter
- namespace
Name String - The namespace name
- resource
Group StringName - Name of the Resource group within the Azure subscription.
- subscription
Name String - The subscription name.
- topic
Name String - The topic name.
- action Action
- Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression.
- correlation
Filter CorrelationFilter - Properties of correlationFilter
- filter
Type FilterType - Filter type that is evaluated against a BrokeredMessage.
- rule
Name String - The rule name.
- sql
Filter SqlFilter - Properties of sqlFilter
- namespace
Name string - The namespace name
- resource
Group stringName - Name of the Resource group within the Azure subscription.
- subscription
Name string - The subscription name.
- topic
Name string - The topic name.
- action Action
- Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression.
- correlation
Filter CorrelationFilter - Properties of correlationFilter
- filter
Type FilterType - Filter type that is evaluated against a BrokeredMessage.
- rule
Name string - The rule name.
- sql
Filter SqlFilter - Properties of sqlFilter
- namespace_
name str - The namespace name
- resource_
group_ strname - Name of the Resource group within the Azure subscription.
- subscription_
name str - The subscription name.
- topic_
name str - The topic name.
- action
Action
Args - Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression.
- correlation_
filter CorrelationFilter Args - Properties of correlationFilter
- filter_
type FilterType - Filter type that is evaluated against a BrokeredMessage.
- rule_
name str - The rule name.
- sql_
filter SqlFilter Args - Properties of sqlFilter
- namespace
Name String - The namespace name
- resource
Group StringName - Name of the Resource group within the Azure subscription.
- subscription
Name String - The subscription name.
- topic
Name 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.
- correlation
Filter Property Map - Properties of correlationFilter
- filter
Type "SqlFilter" | "Correlation Filter" - Filter type that is evaluated against a BrokeredMessage.
- rule
Name String - The rule name.
- sql
Filter Property Map - Properties of sqlFilter
Outputs
All input properties are implicitly available as output properties. Additionally, the Rule resource produces the following output properties:
Supporting Types
Action, ActionArgs
- 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 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 string - SQL expression. e.g. MyProperty='ABC'
- compatibility
Level Integer - This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
- requires
Preprocessing Boolean - Value that indicates whether the rule action requires preprocessing.
- sql
Expression String - SQL expression. e.g. MyProperty='ABC'
- compatibility
Level number - This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
- requires
Preprocessing boolean - Value that indicates whether the rule action requires preprocessing.
- sql
Expression 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'
- compatibility
Level Number - This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
- requires
Preprocessing Boolean - Value that indicates whether the rule action requires preprocessing.
- sql
Expression String - SQL expression. e.g. MyProperty='ABC'
ActionResponse, ActionResponseArgs
- 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 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 string - SQL expression. e.g. MyProperty='ABC'
- compatibility
Level Integer - This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
- requires
Preprocessing Boolean - Value that indicates whether the rule action requires preprocessing.
- sql
Expression String - SQL expression. e.g. MyProperty='ABC'
- compatibility
Level number - This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
- requires
Preprocessing boolean - Value that indicates whether the rule action requires preprocessing.
- sql
Expression 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'
- compatibility
Level Number - This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
- requires
Preprocessing Boolean - Value that indicates whether the rule action requires preprocessing.
- sql
Expression String - SQL expression. e.g. MyProperty='ABC'
CorrelationFilter, CorrelationFilterArgs
- Content
Type string - Content type of the message.
- Correlation
Id string - Identifier of the correlation.
- Label string
- Application specific label.
- Message
Id string - Identifier of the message.
- Properties Dictionary<string, string>
- dictionary object for custom filters
- Reply
To string - Address of the queue to reply to.
- Reply
To stringSession Id - Session identifier to reply to.
- Requires
Preprocessing bool - Value that indicates whether the rule action requires preprocessing.
- Session
Id string - Session identifier.
- To string
- Address to send to.
- Content
Type string - Content type of the message.
- Correlation
Id string - Identifier of the correlation.
- Label string
- Application specific label.
- Message
Id string - Identifier of the message.
- Properties map[string]string
- dictionary object for custom filters
- Reply
To string - Address of the queue to reply to.
- Reply
To stringSession Id - Session identifier to reply to.
- Requires
Preprocessing bool - Value that indicates whether the rule action requires preprocessing.
- Session
Id string - Session identifier.
- To string
- Address to send to.
- content
Type String - Content type of the message.
- correlation
Id String - Identifier of the correlation.
- label String
- Application specific label.
- message
Id String - Identifier of the message.
- properties Map<String,String>
- dictionary object for custom filters
- reply
To String - Address of the queue to reply to.
- reply
To StringSession Id - Session identifier to reply to.
- requires
Preprocessing Boolean - Value that indicates whether the rule action requires preprocessing.
- session
Id String - Session identifier.
- to String
- Address to send to.
- content
Type string - Content type of the message.
- correlation
Id string - Identifier of the correlation.
- label string
- Application specific label.
- message
Id string - Identifier of the message.
- properties {[key: string]: string}
- dictionary object for custom filters
- reply
To string - Address of the queue to reply to.
- reply
To stringSession Id - Session identifier to reply to.
- requires
Preprocessing boolean - Value that indicates whether the rule action requires preprocessing.
- session
Id 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_ strsession_ id - 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.
- content
Type String - Content type of the message.
- correlation
Id String - Identifier of the correlation.
- label String
- Application specific label.
- message
Id String - Identifier of the message.
- properties Map<String>
- dictionary object for custom filters
- reply
To String - Address of the queue to reply to.
- reply
To StringSession Id - Session identifier to reply to.
- requires
Preprocessing Boolean - Value that indicates whether the rule action requires preprocessing.
- session
Id String - Session identifier.
- to String
- Address to send to.
CorrelationFilterResponse, CorrelationFilterResponseArgs
- Content
Type string - Content type of the message.
- Correlation
Id string - Identifier of the correlation.
- Label string
- Application specific label.
- Message
Id string - Identifier of the message.
- Properties Dictionary<string, string>
- dictionary object for custom filters
- Reply
To string - Address of the queue to reply to.
- Reply
To stringSession Id - Session identifier to reply to.
- Requires
Preprocessing bool - Value that indicates whether the rule action requires preprocessing.
- Session
Id string - Session identifier.
- To string
- Address to send to.
- Content
Type string - Content type of the message.
- Correlation
Id string - Identifier of the correlation.
- Label string
- Application specific label.
- Message
Id string - Identifier of the message.
- Properties map[string]string
- dictionary object for custom filters
- Reply
To string - Address of the queue to reply to.
- Reply
To stringSession Id - Session identifier to reply to.
- Requires
Preprocessing bool - Value that indicates whether the rule action requires preprocessing.
- Session
Id string - Session identifier.
- To string
- Address to send to.
- content
Type String - Content type of the message.
- correlation
Id String - Identifier of the correlation.
- label String
- Application specific label.
- message
Id String - Identifier of the message.
- properties Map<String,String>
- dictionary object for custom filters
- reply
To String - Address of the queue to reply to.
- reply
To StringSession Id - Session identifier to reply to.
- requires
Preprocessing Boolean - Value that indicates whether the rule action requires preprocessing.
- session
Id String - Session identifier.
- to String
- Address to send to.
- content
Type string - Content type of the message.
- correlation
Id string - Identifier of the correlation.
- label string
- Application specific label.
- message
Id string - Identifier of the message.
- properties {[key: string]: string}
- dictionary object for custom filters
- reply
To string - Address of the queue to reply to.
- reply
To stringSession Id - Session identifier to reply to.
- requires
Preprocessing boolean - Value that indicates whether the rule action requires preprocessing.
- session
Id 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_ strsession_ id - 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.
- content
Type String - Content type of the message.
- correlation
Id String - Identifier of the correlation.
- label String
- Application specific label.
- message
Id String - Identifier of the message.
- properties Map<String>
- dictionary object for custom filters
- reply
To String - Address of the queue to reply to.
- reply
To StringSession Id - Session identifier to reply to.
- requires
Preprocessing Boolean - Value that indicates whether the rule action requires preprocessing.
- session
Id String - Session identifier.
- to String
- Address to send to.
FilterType, FilterTypeArgs
- Sql
Filter - SqlFilter
- Correlation
Filter - CorrelationFilter
- Filter
Type Sql Filter - SqlFilter
- Filter
Type Correlation Filter - CorrelationFilter
- Sql
Filter - SqlFilter
- Correlation
Filter - CorrelationFilter
- Sql
Filter - SqlFilter
- Correlation
Filter - CorrelationFilter
- SQL_FILTER
- SqlFilter
- CORRELATION_FILTER
- CorrelationFilter
- "Sql
Filter" - SqlFilter
- "Correlation
Filter" - CorrelationFilter
SqlFilter, SqlFilterArgs
- 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 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 string - The SQL expression. e.g. MyProperty='ABC'
- compatibility
Level Integer - This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
- requires
Preprocessing Boolean - Value that indicates whether the rule action requires preprocessing.
- sql
Expression String - The SQL expression. e.g. MyProperty='ABC'
- compatibility
Level number - This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
- requires
Preprocessing boolean - Value that indicates whether the rule action requires preprocessing.
- sql
Expression 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'
- compatibility
Level Number - This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
- requires
Preprocessing Boolean - Value that indicates whether the rule action requires preprocessing.
- sql
Expression String - The SQL expression. e.g. MyProperty='ABC'
SqlFilterResponse, SqlFilterResponseArgs
- 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 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 string - The SQL expression. e.g. MyProperty='ABC'
- compatibility
Level Integer - This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
- requires
Preprocessing Boolean - Value that indicates whether the rule action requires preprocessing.
- sql
Expression String - The SQL expression. e.g. MyProperty='ABC'
- compatibility
Level number - This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
- requires
Preprocessing boolean - Value that indicates whether the rule action requires preprocessing.
- sql
Expression 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'
- compatibility
Level Number - This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
- requires
Preprocessing Boolean - Value that indicates whether the rule action requires preprocessing.
- sql
Expression 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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0