@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
92 lines • 3.52 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Retrieves a list of Cloud Storage intelligence findings in a specified project and location.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const all = gcp.storage.getControlProjectIntelligenceFindings({
* project: "my-project-id",
* });
* ```
*/
export declare function getControlProjectIntelligenceFindings(args?: GetControlProjectIntelligenceFindingsArgs, opts?: pulumi.InvokeOptions): Promise<GetControlProjectIntelligenceFindingsResult>;
/**
* A collection of arguments for invoking getControlProjectIntelligenceFindings.
*/
export interface GetControlProjectIntelligenceFindingsArgs {
/**
* The filter expression to apply. Supports filtering by type and associated_resources.
*/
filter?: string;
/**
* The location of the intelligence findings. Currently default value is global and users cannot use for input for now.
*/
location?: string;
/**
* The maximum number of IntelligenceFinding resources to return. The maximum value is 100; values greater than 100 become 100. The default value is 100.
*/
pageSize?: number;
/**
* 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 getControlProjectIntelligenceFindings.
*/
export interface GetControlProjectIntelligenceFindingsResult {
readonly filter?: string;
/**
* The list of intelligence findings. Structure is documented below.
*/
readonly findings: outputs.storage.GetControlProjectIntelligenceFindingsFinding[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly location?: string;
readonly pageSize?: number;
readonly project: string;
}
/**
* Retrieves a list of Cloud Storage intelligence findings in a specified project and location.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const all = gcp.storage.getControlProjectIntelligenceFindings({
* project: "my-project-id",
* });
* ```
*/
export declare function getControlProjectIntelligenceFindingsOutput(args?: GetControlProjectIntelligenceFindingsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetControlProjectIntelligenceFindingsResult>;
/**
* A collection of arguments for invoking getControlProjectIntelligenceFindings.
*/
export interface GetControlProjectIntelligenceFindingsOutputArgs {
/**
* The filter expression to apply. Supports filtering by type and associated_resources.
*/
filter?: pulumi.Input<string | undefined>;
/**
* The location of the intelligence findings. Currently default value is global and users cannot use for input for now.
*/
location?: pulumi.Input<string | undefined>;
/**
* The maximum number of IntelligenceFinding resources to return. The maximum value is 100; values greater than 100 become 100. The default value is 100.
*/
pageSize?: pulumi.Input<number | undefined>;
/**
* 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=getControlProjectIntelligenceFindings.d.ts.map