import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * The "$Default" rule that Azure automatically creates alongside every ServiceBus subscription. * * By default this rule has a TrueFilter, which allows all messages through to the subscription. This resource lets * you manage that rule directly: update its filter (e.g. to a SqlFilter or CorrelationFilter), or delete this * resource to remove the rule entirely. * * Unlike `Rule`, this resource has no `ruleName` input since it always refers to the "$Default" rule that Azure * creates for you; there's no need to construct or import its resource ID by hand. * * Note: deleting this resource permanently removes the "$Default" rule from the subscription. If no other rules * exist afterwards, the subscription will not receive any messages from the topic. * * See [Issue #4489](https://github.com/pulumi/pulumi-azure-native/issues/4489) for more details on the problem this * resource solves. */ export declare class DefaultRule extends pulumi.CustomResource { /** * Get an existing DefaultRule resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): DefaultRule; /** * Returns true if the given object is an instance of DefaultRule. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DefaultRule; /** * Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression. */ readonly action: pulumi.Output; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output; /** * Properties of correlationFilter */ readonly correlationFilter: pulumi.Output; /** * Filter type that is evaluated against a BrokeredMessage. */ readonly filterType: pulumi.Output; /** * The geo-location where the resource lives */ readonly location: pulumi.Output; /** * The name of the resource */ readonly name: pulumi.Output; /** * Properties of sqlFilter */ readonly sqlFilter: pulumi.Output; /** * The system meta data relating to this resource. */ readonly systemData: pulumi.Output; /** * The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs" */ readonly type: pulumi.Output; /** * Create a DefaultRule resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DefaultRuleArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DefaultRule resource. */ export interface DefaultRuleArgs { /** * Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression. */ action?: pulumi.Input; /** * Properties of correlationFilter */ correlationFilter?: pulumi.Input; /** * Filter type that is evaluated against a BrokeredMessage. */ filterType?: pulumi.Input; /** * The namespace name */ namespaceName: pulumi.Input; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input; /** * Properties of sqlFilter */ sqlFilter?: pulumi.Input; /** * The subscription name. */ subscriptionName: pulumi.Input; /** * The topic name. */ topicName: pulumi.Input; } //# sourceMappingURL=defaultRule.d.ts.map