"use strict";
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getBackupPlanAssociationsOutput = exports.getBackupPlanAssociations = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Provides a list of Backup and DR BackupPlanAssociations for a specific resource type.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as gcp from "@pulumi/gcp";
 *
 * const computeInstanceAssociations = gcp.backupdisasterrecovery.getBackupPlanAssociations({
 *     location: "us-central1",
 *     resourceType: "compute.googleapis.com/Instance",
 * });
 * ```
 */
function getBackupPlanAssociations(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("gcp:backupdisasterrecovery/getBackupPlanAssociations:getBackupPlanAssociations", {
        "location": args.location,
        "project": args.project,
        "resourceType": args.resourceType,
    }, opts);
}
exports.getBackupPlanAssociations = getBackupPlanAssociations;
/**
 * Provides a list of Backup and DR BackupPlanAssociations for a specific resource type.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as gcp from "@pulumi/gcp";
 *
 * const computeInstanceAssociations = gcp.backupdisasterrecovery.getBackupPlanAssociations({
 *     location: "us-central1",
 *     resourceType: "compute.googleapis.com/Instance",
 * });
 * ```
 */
function getBackupPlanAssociationsOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("gcp:backupdisasterrecovery/getBackupPlanAssociations:getBackupPlanAssociations", {
        "location": args.location,
        "project": args.project,
        "resourceType": args.resourceType,
    }, opts);
}
exports.getBackupPlanAssociationsOutput = getBackupPlanAssociationsOutput;
//# sourceMappingURL=getBackupPlanAssociations.js.map