@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
59 lines • 2.58 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* A list of Backup and DR data source references.
*/
export declare function getDataSourceReferences(args: GetDataSourceReferencesArgs, opts?: pulumi.InvokeOptions): Promise<GetDataSourceReferencesResult>;
/**
* A collection of arguments for invoking getDataSourceReferences.
*/
export interface GetDataSourceReferencesArgs {
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;
/**
* The resource type to get the data source references for. Examples include, "sqladmin.googleapis.com/Instance" , "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 getDataSourceReferences.
*/
export interface GetDataSourceReferencesResult {
readonly dataSourceReferences: outputs.backupdisasterrecovery.GetDataSourceReferencesDataSourceReference[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly location: string;
readonly project: string;
/**
* @deprecated `resourceType` is deprecated and will be removed in a future major release.
*/
readonly resourceType?: string;
}
/**
* A list of Backup and DR data source references.
*/
export declare function getDataSourceReferencesOutput(args: GetDataSourceReferencesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDataSourceReferencesResult>;
/**
* A collection of arguments for invoking getDataSourceReferences.
*/
export interface GetDataSourceReferencesOutputArgs {
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>;
/**
* The resource type to get the data source references for. Examples include, "sqladmin.googleapis.com/Instance" , "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=getDataSourceReferences.d.ts.map