@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
73 lines (72 loc) • 2.19 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to list the Parameter Manager Parameters.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const parameters = gcp.parametermanager.getParameters({});
* ```
*/
export declare function getParameters(args?: GetParametersArgs, opts?: pulumi.InvokeOptions): Promise<GetParametersResult>;
/**
* A collection of arguments for invoking getParameters.
*/
export interface GetParametersArgs {
/**
* Filter string, adhering to the rules in List-operation filtering. List only parameters matching the filter. If filter is empty, all parameters are listed.
*/
filter?: string;
/**
* The ID of the project.
*/
project?: string;
}
/**
* A collection of values returned by getParameters.
*/
export interface GetParametersResult {
readonly filter?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* A list of parameters matching the filter. Structure is defined below.
*/
readonly parameters: outputs.parametermanager.GetParametersParameter[];
/**
* The ID of the project in which the resource belongs.
*/
readonly project: string;
}
/**
* Use this data source to list the Parameter Manager Parameters.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const parameters = gcp.parametermanager.getParameters({});
* ```
*/
export declare function getParametersOutput(args?: GetParametersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetParametersResult>;
/**
* A collection of arguments for invoking getParameters.
*/
export interface GetParametersOutputArgs {
/**
* Filter string, adhering to the rules in List-operation filtering. List only parameters matching the filter. If filter is empty, all parameters are listed.
*/
filter?: pulumi.Input<string>;
/**
* The ID of the project.
*/
project?: pulumi.Input<string>;
}