import * as pulumi from "@pulumi/pulumi"; /** * Manages a Front Door (standard/premium) Rule Set. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-cdn-frontdoor", * location: "West Europe", * }); * const exampleFrontdoorProfile = new azure.cdn.FrontdoorProfile("example", { * name: "example-profile", * resourceGroupName: example.name, * skuName: "Standard_AzureFrontDoor", * }); * const exampleFrontdoorRuleSet = new azure.cdn.FrontdoorRuleSet("example", { * name: "ExampleRuleSet", * cdnFrontdoorProfileId: exampleFrontdoorProfile.id, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Cdn` - 2024-02-01 * * ## Import * * Front Door Rule Sets can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:cdn/frontdoorRuleSet:FrontdoorRuleSet example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Cdn/profiles/profile1/ruleSets/ruleSet1 * ``` */ export declare class FrontdoorRuleSet extends pulumi.CustomResource { /** * Get an existing FrontdoorRuleSet 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: FrontdoorRuleSetState, opts?: pulumi.CustomResourceOptions): FrontdoorRuleSet; /** * Returns true if the given object is an instance of FrontdoorRuleSet. 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 FrontdoorRuleSet; /** * The ID of the Front Door Profile. Changing this forces a new Front Door Rule Set to be created. */ readonly cdnFrontdoorProfileId: pulumi.Output; /** * The name which should be used for this Front Door Rule Set. Changing this forces a new Front Door Rule Set to be created. */ readonly name: pulumi.Output; /** * Create a FrontdoorRuleSet 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: FrontdoorRuleSetArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering FrontdoorRuleSet resources. */ export interface FrontdoorRuleSetState { /** * The ID of the Front Door Profile. Changing this forces a new Front Door Rule Set to be created. */ cdnFrontdoorProfileId?: pulumi.Input; /** * The name which should be used for this Front Door Rule Set. Changing this forces a new Front Door Rule Set to be created. */ name?: pulumi.Input; } /** * The set of arguments for constructing a FrontdoorRuleSet resource. */ export interface FrontdoorRuleSetArgs { /** * The ID of the Front Door Profile. Changing this forces a new Front Door Rule Set to be created. */ cdnFrontdoorProfileId: pulumi.Input; /** * The name which should be used for this Front Door Rule Set. Changing this forces a new Front Door Rule Set to be created. */ name?: pulumi.Input; }