@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
88 lines • 2.73 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* A Backup and DR BackupPlanAssociation.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const my_backupplan_association = gcp.backupdisasterrecovery.getBackupPlanAssociation({
* location: "us-central1",
* backupPlanAssociationId: "bpa-id",
* });
* ```
*/
export declare function getBackupPlanAssociation(args: GetBackupPlanAssociationArgs, opts?: pulumi.InvokeOptions): Promise<GetBackupPlanAssociationResult>;
/**
* A collection of arguments for invoking getBackupPlanAssociation.
*/
export interface GetBackupPlanAssociationArgs {
/**
* The id of Backupplan association resource.
*
* - - -
*/
backupPlanAssociationId: string;
/**
* The location in which the Backupplan association resource belongs.
*/
location: string;
project?: string;
}
/**
* A collection of values returned by getBackupPlanAssociation.
*/
export interface GetBackupPlanAssociationResult {
readonly backupPlan: string;
readonly backupPlanAssociationId: string;
readonly createTime: string;
readonly dataSource: string;
readonly deletionPolicy: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly location: string;
readonly name: string;
readonly project?: string;
readonly resource: string;
readonly resourceType: string;
readonly rulesConfigInfos: outputs.backupdisasterrecovery.GetBackupPlanAssociationRulesConfigInfo[];
readonly updateTime: string;
}
/**
* A Backup and DR BackupPlanAssociation.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const my_backupplan_association = gcp.backupdisasterrecovery.getBackupPlanAssociation({
* location: "us-central1",
* backupPlanAssociationId: "bpa-id",
* });
* ```
*/
export declare function getBackupPlanAssociationOutput(args: GetBackupPlanAssociationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBackupPlanAssociationResult>;
/**
* A collection of arguments for invoking getBackupPlanAssociation.
*/
export interface GetBackupPlanAssociationOutputArgs {
/**
* The id of Backupplan association resource.
*
* - - -
*/
backupPlanAssociationId: pulumi.Input<string>;
/**
* The location in which the Backupplan association resource belongs.
*/
location: pulumi.Input<string>;
project?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getBackupPlanAssociation.d.ts.map