@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
97 lines • 3.38 kB
TypeScript
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<GetBackupPlanAssociationsResult>;
/**
* 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<GetBackupPlanAssociationsResult>;
/**
* A collection of arguments for invoking getBackupPlanAssociations.
*/
export interface GetBackupPlanAssociationsOutputArgs {
/**
* The location where the Backup Plan Association resources reside.
*/
location: pulumi.Input<string>;
/**
* The project in which the resource belongs. If it
* is not provided, the provider project is used.
*/
project?: pulumi.Input<string | undefined>;
/**
* 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<string | undefined>;
}
//# sourceMappingURL=getBackupPlanAssociations.d.ts.map