azure-native.servicebus.Rule
Explore with Pulumi AI
Description of Rule Resource. Azure REST API version: 2022-01-01-preview. Prior API version in Azure Native 1.x: 2017-04-01.
Other available API versions: 2022-10-01-preview, 2023-01-01-preview, 2024-01-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/v2"
"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: pulumi.String(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 com.pulumi.azurenative.servicebus.inputs.CorrelationFilterArgs;
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(CorrelationFilterArgs.builder()
.properties(Map.of("topicHint", "Crop"))
.build())
.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={
"properties": {
"topic_hint": "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/v2"
"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/v2"
"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: pulumi.String(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 com.pulumi.azurenative.servicebus.inputs.SqlFilterArgs;
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(SqlFilterArgs.builder()
.sqlExpression("myproperty=test")
.build())
.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={
"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[Union[str, 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 = new AzureNative.ServiceBus.Inputs.ActionArgs
{
CompatibilityLevel = 0,
RequiresPreprocessing = false,
SqlExpression = "string",
},
CorrelationFilter = new AzureNative.ServiceBus.Inputs.CorrelationFilterArgs
{
ContentType = "string",
CorrelationId = "string",
Label = "string",
MessageId = "string",
Properties =
{
{ "string", "string" },
},
ReplyTo = "string",
ReplyToSessionId = "string",
RequiresPreprocessing = false,
SessionId = "string",
To = "string",
},
FilterType = "string",
RuleName = "string",
SqlFilter = new AzureNative.ServiceBus.Inputs.SqlFilterArgs
{
CompatibilityLevel = 0,
RequiresPreprocessing = false,
SqlExpression = "string",
},
});
example, err := servicebus.NewRule(ctx, "azure-nativeRuleResource", &servicebus.RuleArgs{
NamespaceName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
SubscriptionName: pulumi.String("string"),
TopicName: pulumi.String("string"),
Action: &servicebus.ActionArgs{
CompatibilityLevel: pulumi.Int(0),
RequiresPreprocessing: pulumi.Bool(false),
SqlExpression: pulumi.String("string"),
},
CorrelationFilter: &servicebus.CorrelationFilterArgs{
ContentType: pulumi.String("string"),
CorrelationId: pulumi.String("string"),
Label: pulumi.String("string"),
MessageId: pulumi.String("string"),
Properties: pulumi.StringMap{
"string": pulumi.String("string"),
},
ReplyTo: pulumi.String("string"),
ReplyToSessionId: pulumi.String("string"),
RequiresPreprocessing: pulumi.Bool(false),
SessionId: pulumi.String("string"),
To: pulumi.String("string"),
},
FilterType: pulumi.String("string"),
RuleName: pulumi.String("string"),
SqlFilter: &servicebus.SqlFilterArgs{
CompatibilityLevel: pulumi.Int(0),
RequiresPreprocessing: pulumi.Bool(false),
SqlExpression: pulumi.String("string"),
},
})
var azure_nativeRuleResource = new Rule("azure-nativeRuleResource", RuleArgs.builder()
.namespaceName("string")
.resourceGroupName("string")
.subscriptionName("string")
.topicName("string")
.action(ActionArgs.builder()
.compatibilityLevel(0)
.requiresPreprocessing(false)
.sqlExpression("string")
.build())
.correlationFilter(CorrelationFilterArgs.builder()
.contentType("string")
.correlationId("string")
.label("string")
.messageId("string")
.properties(Map.of("string", "string"))
.replyTo("string")
.replyToSessionId("string")
.requiresPreprocessing(false)
.sessionId("string")
.to("string")
.build())
.filterType("string")
.ruleName("string")
.sqlFilter(SqlFilterArgs.builder()
.compatibilityLevel(0)
.requiresPreprocessing(false)
.sqlExpression("string")
.build())
.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="string",
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: "string",
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: string
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 string | 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 string | 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 String | 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 string | 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 str | 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 String | "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:
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Service Bus. Outputs. System Data Response - The system meta data relating to this resource.
- Type string
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- System
Data SystemData Response - The system meta data relating to this resource.
- Type string
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- system
Data SystemData Response - The system meta data relating to this resource.
- type String
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- id string
- The provider-assigned unique ID for this managed resource.
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- system
Data SystemData Response - The system meta data relating to this resource.
- type string
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- id str
- The provider-assigned unique ID for this managed resource.
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- system_
data SystemData Response - The system meta data relating to this resource.
- type str
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- system
Data Property Map - The system meta data relating to this resource.
- type String
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
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'
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The type of identity that last modified the resource.
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The type of identity that last modified the resource.
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The type of identity that last modified the resource.
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The type of identity that last modified the resource.
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The type of identity that last modified the resource.
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The type of identity that last modified the resource.
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
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/{namespaceName}/topics/{topicName}/subscriptions/{subscriptionName}/rules/{ruleName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0