@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
72 lines (71 loc) • 2.72 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to get information about a Project Storage Intelligence config resource.
* See [the official documentation](https://cloud.google.com/storage/docs/storage-intelligence/overview#resource)
* and
* [API](https://cloud.google.com/storage/docs/json_api/v1/intelligenceConfig).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const sample_config = gcp.storage.getControlProjectIntelligenceConfig({
* name: "my-project",
* });
* ```
*/
export declare function getControlProjectIntelligenceConfig(args: GetControlProjectIntelligenceConfigArgs, opts?: pulumi.InvokeOptions): Promise<GetControlProjectIntelligenceConfigResult>;
/**
* A collection of arguments for invoking getControlProjectIntelligenceConfig.
*/
export interface GetControlProjectIntelligenceConfigArgs {
/**
* The name or number of the GCP project.
*/
name: string;
}
/**
* A collection of values returned by getControlProjectIntelligenceConfig.
*/
export interface GetControlProjectIntelligenceConfigResult {
readonly editionConfig: string;
readonly effectiveIntelligenceConfigs: outputs.storage.GetControlProjectIntelligenceConfigEffectiveIntelligenceConfig[];
readonly filters: outputs.storage.GetControlProjectIntelligenceConfigFilter[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly name: string;
readonly trialConfigs: outputs.storage.GetControlProjectIntelligenceConfigTrialConfig[];
readonly updateTime: string;
}
/**
* Use this data source to get information about a Project Storage Intelligence config resource.
* See [the official documentation](https://cloud.google.com/storage/docs/storage-intelligence/overview#resource)
* and
* [API](https://cloud.google.com/storage/docs/json_api/v1/intelligenceConfig).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const sample_config = gcp.storage.getControlProjectIntelligenceConfig({
* name: "my-project",
* });
* ```
*/
export declare function getControlProjectIntelligenceConfigOutput(args: GetControlProjectIntelligenceConfigOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetControlProjectIntelligenceConfigResult>;
/**
* A collection of arguments for invoking getControlProjectIntelligenceConfig.
*/
export interface GetControlProjectIntelligenceConfigOutputArgs {
/**
* The name or number of the GCP project.
*/
name: pulumi.Input<string>;
}