import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Provides a list of Backup and DR BackupPlanAssociations. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const allAssociations = gcp.backupdisasterrecovery.getBackupPlanAssociations({ * location: "us-central1", * }); * ``` */ export declare function getBackupPlanAssociations(args: GetBackupPlanAssociationsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBackupPlanAssociations. */ export interface GetBackupPlanAssociationsArgs { /** * The location where the Backup Plan Association resources reside. */ location: string; /** * The project in which the resource belongs. If it * is not provided, the provider project is used. */ project?: string; /** * The resource type of the workload. For example, sqladmin.googleapis.com/Instance or compute.googleapis.com/Instance. `resourceType` is deprecated and will be removed in a future major release. * - - - * * @deprecated `resourceType` is deprecated and will be removed in a future major release. */ resourceType?: string; } /** * A collection of values returned by getBackupPlanAssociations. */ export interface GetBackupPlanAssociationsResult { /** * A list of the backup plan associations found. */ readonly associations: outputs.backupdisasterrecovery.GetBackupPlanAssociationsAssociation[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly location: string; /** * The ID of the project in which the resource belongs. */ readonly project: string; /** * @deprecated `resourceType` is deprecated and will be removed in a future major release. */ readonly resourceType?: string; } /** * Provides a list of Backup and DR BackupPlanAssociations. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const allAssociations = gcp.backupdisasterrecovery.getBackupPlanAssociations({ * location: "us-central1", * }); * ``` */ export declare function getBackupPlanAssociationsOutput(args: GetBackupPlanAssociationsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBackupPlanAssociations. */ export interface GetBackupPlanAssociationsOutputArgs { /** * The location where the Backup Plan Association resources reside. */ location: pulumi.Input; /** * The project in which the resource belongs. If it * is not provided, the provider project is used. */ project?: pulumi.Input; /** * The resource type of the workload. For example, sqladmin.googleapis.com/Instance or compute.googleapis.com/Instance. `resourceType` is deprecated and will be removed in a future major release. * - - - * * @deprecated `resourceType` is deprecated and will be removed in a future major release. */ resourceType?: pulumi.Input; }