UNPKG

@pulumi/gcp

Version:

A Pulumi package for creating and managing Google Cloud Platform resources.

58 lines 2.1 kB
import * as pulumi from "@pulumi/pulumi"; /** * Get information about a specific Backup and DR data source reference. */ export declare function getDataSourceReference(args: GetDataSourceReferenceArgs, opts?: pulumi.InvokeOptions): Promise<GetDataSourceReferenceResult>; /** * A collection of arguments for invoking getDataSourceReference. */ export interface GetDataSourceReferenceArgs { /** * - (Required) The id of the data source reference. */ dataSourceReferenceId: string; location: string; /** * - (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used. */ project?: string; } /** * A collection of values returned by getDataSourceReference. */ export interface GetDataSourceReferenceResult { readonly backupConfigState: string; readonly backupCount: number; readonly dataSource: string; readonly dataSourceReferenceId: string; readonly gcpResourceName: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly lastBackupState: string; readonly lastSuccessfulBackupTime: string; readonly location: string; readonly name: string; readonly project: string; readonly resourceType: string; } /** * Get information about a specific Backup and DR data source reference. */ export declare function getDataSourceReferenceOutput(args: GetDataSourceReferenceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDataSourceReferenceResult>; /** * A collection of arguments for invoking getDataSourceReference. */ export interface GetDataSourceReferenceOutputArgs { /** * - (Required) The id of the data source reference. */ dataSourceReferenceId: pulumi.Input<string>; location: pulumi.Input<string>; /** * - (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used. */ project?: pulumi.Input<string | undefined>; } //# sourceMappingURL=getDataSourceReference.d.ts.map