@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
74 lines (73 loc) • 2.24 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to get information about the supported alloydb database flags in a location.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const qa = gcp.alloydb.getSupportedDatabaseFlags({
* location: "us-central1",
* });
* ```
*/
export declare function getSupportedDatabaseFlags(args: GetSupportedDatabaseFlagsArgs, opts?: pulumi.InvokeOptions): Promise<GetSupportedDatabaseFlagsResult>;
/**
* A collection of arguments for invoking getSupportedDatabaseFlags.
*/
export interface GetSupportedDatabaseFlagsArgs {
/**
* The canonical id of the location. For example: `us-east1`.
*/
location: string;
/**
* The ID of the project.
*/
project?: string;
}
/**
* A collection of values returned by getSupportedDatabaseFlags.
*/
export interface GetSupportedDatabaseFlagsResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly location: string;
readonly project?: string;
/**
* Contains a list of `flag`, which contains the details about a particular flag.
*/
readonly supportedDatabaseFlags: outputs.alloydb.GetSupportedDatabaseFlagsSupportedDatabaseFlag[];
}
/**
* Use this data source to get information about the supported alloydb database flags in a location.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const qa = gcp.alloydb.getSupportedDatabaseFlags({
* location: "us-central1",
* });
* ```
*/
export declare function getSupportedDatabaseFlagsOutput(args: GetSupportedDatabaseFlagsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSupportedDatabaseFlagsResult>;
/**
* A collection of arguments for invoking getSupportedDatabaseFlags.
*/
export interface GetSupportedDatabaseFlagsOutputArgs {
/**
* The canonical id of the location. For example: `us-east1`.
*/
location: pulumi.Input<string>;
/**
* The ID of the project.
*/
project?: pulumi.Input<string>;
}