import * as pulumi from "@pulumi/pulumi"; /** * Manages a Resource Guard. * * ## 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 exampleResourceGuard = new azure.dataprotection.ResourceGuard("example", { * name: "example-resourceguard", * resourceGroupName: example.name, * location: example.location, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.DataProtection` - 2025-07-01 * * ## Import * * Resource Guards can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:dataprotection/resourceGuard:ResourceGuard example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataProtection/resourceGuards/resourceGuard1 * ``` */ export declare class ResourceGuard extends pulumi.CustomResource { /** * Get an existing ResourceGuard 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?: ResourceGuardState, opts?: pulumi.CustomResourceOptions): ResourceGuard; /** * Returns true if the given object is an instance of ResourceGuard. 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 ResourceGuard; /** * The Azure Region where the Resource Guard should exist. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * The name of the Resource Guard. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * The name of the Resource Group where the Resource Guard should exist. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * A mapping of tags which should be assigned to the Resource Guard. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * A list of the critical operations which are not protected by this Resource Guard. */ readonly vaultCriticalOperationExclusionLists: pulumi.Output; /** * Create a ResourceGuard 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: ResourceGuardArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ResourceGuard resources. */ export interface ResourceGuardState { /** * The Azure Region where the Resource Guard should exist. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * The name of the Resource Guard. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the Resource Group where the Resource Guard should exist. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * A mapping of tags which should be assigned to the Resource Guard. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * A list of the critical operations which are not protected by this Resource Guard. */ vaultCriticalOperationExclusionLists?: pulumi.Input[]>; } /** * The set of arguments for constructing a ResourceGuard resource. */ export interface ResourceGuardArgs { /** * The Azure Region where the Resource Guard should exist. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * The name of the Resource Guard. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the Resource Group where the Resource Guard should exist. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * A mapping of tags which should be assigned to the Resource Guard. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * A list of the critical operations which are not protected by this Resource Guard. */ vaultCriticalOperationExclusionLists?: pulumi.Input[]>; }