import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get information about an Azure Site Recovery Plan within a Recovery Services vault. A recovery plan gathers machines into recovery groups for the purpose of failover. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const vault = azure.recoveryservices.getVault({ * name: "tfex-recovery_vault", * resourceGroupName: "tfex-resource_group", * }); * const example = vault.then(vault => azure.siterecovery.getReplicationRecoveryPlan({ * name: "example-recovery-plan", * recoveryVaultId: vault.id, * })); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.RecoveryServices` - 2024-04-01 */ export declare function getReplicationRecoveryPlan(args: GetReplicationRecoveryPlanArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getReplicationRecoveryPlan. */ export interface GetReplicationRecoveryPlanArgs { /** * The name of the Replication Plan. */ name: string; /** * The ID of the vault that should be updated. */ recoveryVaultId: string; } /** * A collection of values returned by getReplicationRecoveryPlan. */ export interface GetReplicationRecoveryPlanResult { readonly azureToAzureSettings: outputs.siterecovery.GetReplicationRecoveryPlanAzureToAzureSetting[]; readonly failoverDeploymentModel: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Name of the Action. */ readonly name: string; /** * `recoveryGroup` block defined as below. */ readonly recoveryGroups: outputs.siterecovery.GetReplicationRecoveryPlanRecoveryGroup[]; readonly recoveryVaultId: string; /** * The ID of source fabric to be recovered from. */ readonly sourceRecoveryFabricId: string; /** * The ID of target fabric to recover. */ readonly targetRecoveryFabricId: string; } /** * Get information about an Azure Site Recovery Plan within a Recovery Services vault. A recovery plan gathers machines into recovery groups for the purpose of failover. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const vault = azure.recoveryservices.getVault({ * name: "tfex-recovery_vault", * resourceGroupName: "tfex-resource_group", * }); * const example = vault.then(vault => azure.siterecovery.getReplicationRecoveryPlan({ * name: "example-recovery-plan", * recoveryVaultId: vault.id, * })); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.RecoveryServices` - 2024-04-01 */ export declare function getReplicationRecoveryPlanOutput(args: GetReplicationRecoveryPlanOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getReplicationRecoveryPlan. */ export interface GetReplicationRecoveryPlanOutputArgs { /** * The name of the Replication Plan. */ name: pulumi.Input; /** * The ID of the vault that should be updated. */ recoveryVaultId: pulumi.Input; }