import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * A Backup and DR Data Source. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const foo = gcp.backupdisasterrecovery.getDataSource({ * location: "us-central1", * project: "project-test", * dataSourceId: "ds-test", * backupVaultId: "bv-test", * }); * ``` */ export declare function getDataSource(args: GetDataSourceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDataSource. */ export interface GetDataSourceArgs { /** * The ID of the Backup Vault in which the Data Source belongs. */ backupVaultId: string; /** * The ID of the Data Source. */ dataSourceId: string; /** * The location in which the Data Source belongs. */ location: string; /** * The Google Cloud Project in which the Data Source belongs. */ project: string; } /** * A collection of values returned by getDataSource. */ export interface GetDataSourceResult { readonly backupConfigInfos: outputs.backupdisasterrecovery.GetDataSourceBackupConfigInfo[]; readonly backupCount: string; readonly backupVaultId: string; readonly configState: string; readonly createTime: string; readonly dataSourceBackupApplianceApplications: outputs.backupdisasterrecovery.GetDataSourceDataSourceBackupApplianceApplication[]; readonly dataSourceGcpResources: outputs.backupdisasterrecovery.GetDataSourceDataSourceGcpResource[]; readonly dataSourceId: string; readonly etag: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly labels: { [key: string]: string; }; readonly location: string; readonly name: string; readonly project: string; readonly state: string; readonly totalStoredBytes: string; readonly updateTime: string; } /** * A Backup and DR Data Source. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const foo = gcp.backupdisasterrecovery.getDataSource({ * location: "us-central1", * project: "project-test", * dataSourceId: "ds-test", * backupVaultId: "bv-test", * }); * ``` */ export declare function getDataSourceOutput(args: GetDataSourceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDataSource. */ export interface GetDataSourceOutputArgs { /** * The ID of the Backup Vault in which the Data Source belongs. */ backupVaultId: pulumi.Input; /** * The ID of the Data Source. */ dataSourceId: pulumi.Input; /** * The location in which the Data Source belongs. */ location: pulumi.Input; /** * The Google Cloud Project in which the Data Source belongs. */ project: pulumi.Input; }