import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a Front Door (standard/premium) Profile which contains a collection of endpoints and origin groups. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleUserAssignedIdentity = new azure.authorization.UserAssignedIdentity("example", { * location: example.location, * name: "example-identity", * resourceGroupName: example.name, * }); * const exampleFrontdoorProfile = new azure.cdn.FrontdoorProfile("example", { * name: "example-cdn-profile", * resourceGroupName: example.name, * skuName: "Premium_AzureFrontDoor", * responseTimeoutSeconds: 120, * identity: { * type: "SystemAssigned, UserAssigned", * identityIds: [exampleUserAssignedIdentity.id], * }, * logScrubbingRules: [{ * matchVariable: "RequestIPAddress", * }], * tags: { * environment: "Production", * }, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Cdn` - 2024-02-01 * * ## Import * * Front Door Profiles can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:cdn/frontdoorProfile:FrontdoorProfile example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Cdn/profiles/myprofile1 * ``` */ export declare class FrontdoorProfile extends pulumi.CustomResource { /** * Get an existing FrontdoorProfile 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?: FrontdoorProfileState, opts?: pulumi.CustomResourceOptions): FrontdoorProfile; /** * Returns true if the given object is an instance of FrontdoorProfile. 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 FrontdoorProfile; /** * An `identity` block as defined below. */ readonly identity: pulumi.Output; /** * One or more `logScrubbingRule` blocks as defined below. * * > **Note:** When no `logScrubbingRule` blocks are defined, log scrubbing will be automatically `disabled`. When one or more `logScrubbingRule` blocks are present, log scrubbing will be `enabled`. */ readonly logScrubbingRules: pulumi.Output; /** * Specifies the name of the Front Door Profile. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * The name of the Resource Group where this Front Door Profile should exist. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * The UUID of this Front Door Profile which will be sent in the HTTP Header as the `X-Azure-FDID` attribute. */ readonly resourceGuid: pulumi.Output; /** * Specifies the maximum response timeout in seconds. Possible values are between `16` and `240` seconds (inclusive). Defaults to `120` seconds. */ readonly responseTimeoutSeconds: pulumi.Output; /** * Specifies the SKU for this Front Door Profile. Possible values include `Standard_AzureFrontDoor` and `Premium_AzureFrontDoor`. Changing this forces a new resource to be created. */ readonly skuName: pulumi.Output; /** * Specifies a mapping of tags to assign to the resource. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a FrontdoorProfile 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: FrontdoorProfileArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering FrontdoorProfile resources. */ export interface FrontdoorProfileState { /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * One or more `logScrubbingRule` blocks as defined below. * * > **Note:** When no `logScrubbingRule` blocks are defined, log scrubbing will be automatically `disabled`. When one or more `logScrubbingRule` blocks are present, log scrubbing will be `enabled`. */ logScrubbingRules?: pulumi.Input[]>; /** * Specifies the name of the Front Door Profile. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the Resource Group where this Front Door Profile should exist. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * The UUID of this Front Door Profile which will be sent in the HTTP Header as the `X-Azure-FDID` attribute. */ resourceGuid?: pulumi.Input; /** * Specifies the maximum response timeout in seconds. Possible values are between `16` and `240` seconds (inclusive). Defaults to `120` seconds. */ responseTimeoutSeconds?: pulumi.Input; /** * Specifies the SKU for this Front Door Profile. Possible values include `Standard_AzureFrontDoor` and `Premium_AzureFrontDoor`. Changing this forces a new resource to be created. */ skuName?: pulumi.Input; /** * Specifies a mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a FrontdoorProfile resource. */ export interface FrontdoorProfileArgs { /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * One or more `logScrubbingRule` blocks as defined below. * * > **Note:** When no `logScrubbingRule` blocks are defined, log scrubbing will be automatically `disabled`. When one or more `logScrubbingRule` blocks are present, log scrubbing will be `enabled`. */ logScrubbingRules?: pulumi.Input[]>; /** * Specifies the name of the Front Door Profile. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the Resource Group where this Front Door Profile should exist. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * Specifies the maximum response timeout in seconds. Possible values are between `16` and `240` seconds (inclusive). Defaults to `120` seconds. */ responseTimeoutSeconds?: pulumi.Input; /** * Specifies the SKU for this Front Door Profile. Possible values include `Standard_AzureFrontDoor` and `Premium_AzureFrontDoor`. Changing this forces a new resource to be created. */ skuName: pulumi.Input; /** * Specifies a mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }