import * as pulumi from "@pulumi/pulumi"; /** * Manages an association of a Resource Guard and Recovery Services Vault. * * ## 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, * }); * const vault = new azure.recoveryservices.Vault("vault", { * name: "example-recovery-vault", * location: example.location, * resourceGroupName: example.name, * sku: "Standard", * softDeleteEnabled: true, * }); * const test = new azure.recoveryservices.VaultResourceGuardAssociation("test", { * vaultId: testAzurermRecoveryServicesVault.id, * resourceGuardId: testAzurermDataProtectionResourceGuard.id, * }); * ``` * * ## Import * * Resource Guards can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:recoveryservices/vaultResourceGuardAssociation:VaultResourceGuardAssociation example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.RecoveryServices/vaults/vault1/backupResourceGuardProxies/proxy1 * ``` */ export declare class VaultResourceGuardAssociation extends pulumi.CustomResource { /** * Get an existing VaultResourceGuardAssociation 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?: VaultResourceGuardAssociationState, opts?: pulumi.CustomResourceOptions): VaultResourceGuardAssociation; /** * Returns true if the given object is an instance of VaultResourceGuardAssociation. 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 VaultResourceGuardAssociation; /** * ID of the Resource Guard which should be associated with. Changing this forces a new resource to be created. */ readonly resourceGuardId: pulumi.Output; /** * ID of the Recovery Services Vault which should be associated with. Changing this forces a new resource to be created. */ readonly vaultId: pulumi.Output; /** * Create a VaultResourceGuardAssociation 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: VaultResourceGuardAssociationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VaultResourceGuardAssociation resources. */ export interface VaultResourceGuardAssociationState { /** * ID of the Resource Guard which should be associated with. Changing this forces a new resource to be created. */ resourceGuardId?: pulumi.Input; /** * ID of the Recovery Services Vault which should be associated with. Changing this forces a new resource to be created. */ vaultId?: pulumi.Input; } /** * The set of arguments for constructing a VaultResourceGuardAssociation resource. */ export interface VaultResourceGuardAssociationArgs { /** * ID of the Resource Guard which should be associated with. Changing this forces a new resource to be created. */ resourceGuardId: pulumi.Input; /** * ID of the Recovery Services Vault which should be associated with. Changing this forces a new resource to be created. */ vaultId: pulumi.Input; }