UNPKG

@pulumi/gcp

Version:

A Pulumi package for creating and managing Google Cloud Platform resources.

137 lines 5.19 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Retrieves information about a specific Cloud Storage intelligence finding in a project and location. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const finding = gcp.storage.getControlProjectIntelligenceFinding({ * project: "my-project-id", * findingId: "cross_region_egress_spike_insight_1", * }); * ``` */ export declare function getControlProjectIntelligenceFinding(args: GetControlProjectIntelligenceFindingArgs, opts?: pulumi.InvokeOptions): Promise<GetControlProjectIntelligenceFindingResult>; /** * A collection of arguments for invoking getControlProjectIntelligenceFinding. */ export interface GetControlProjectIntelligenceFindingArgs { /** * The ID of the intelligence finding. */ findingId: string; /** * The location of the intelligence finding. Currently default value is global and users cannot use for input for now. */ location?: string; /** * 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 getControlProjectIntelligenceFinding. */ export interface GetControlProjectIntelligenceFindingResult { /** * Google Cloud resource names that are relevant to the IntelligenceFinding. This list also includes the targetResource. */ readonly associatedResources: string[]; /** * The category of the finding. */ readonly category: string; /** * A finding about a spike in Class A or Class B operations on Coldline or Archive Cloud Storage objects. Structure is documented below. */ readonly coldlineAndArchivalStorageOperationsSpikes: outputs.storage.GetControlProjectIntelligenceFindingColdlineAndArchivalStorageOperationsSpike[]; /** * The time when the finding was created. */ readonly createTime: string; /** * A finding about a spike in cross-region egress from Cloud Storage. Structure is documented below. */ readonly crossRegionEgressSpikes: outputs.storage.GetControlProjectIntelligenceFindingCrossRegionEgressSpike[]; /** * A short description of the finding. */ readonly description: string; readonly findingId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly location?: string; /** * The resource name of the finding. */ readonly name: string; /** * The time interval from which the underlying data generated this IntelligenceFinding was observed. Structure is documented below. */ readonly observationPeriods: outputs.storage.GetControlProjectIntelligenceFindingObservationPeriod[]; readonly project: string; /** * The severity of the finding. */ readonly severity: string; /** * A finding about a spike in storage growth (bytes or object count) that is outside the normal historical trend. Structure is documented below. */ readonly storageGrowthAboveTrends: outputs.storage.GetControlProjectIntelligenceFindingStorageGrowthAboveTrend[]; /** * The fully qualified resource name of the resource that this IntelligenceFinding applies to. */ readonly targetResource: string; /** * A finding about a spike in throttled requests (429 errors) within a project. Structure is documented below. */ readonly throttledRequestsSpikes: outputs.storage.GetControlProjectIntelligenceFindingThrottledRequestsSpike[]; /** * The type of this finding. */ readonly type: string; /** * The time when the finding was last updated. */ readonly updateTime: string; } /** * Retrieves information about a specific Cloud Storage intelligence finding in a project and location. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const finding = gcp.storage.getControlProjectIntelligenceFinding({ * project: "my-project-id", * findingId: "cross_region_egress_spike_insight_1", * }); * ``` */ export declare function getControlProjectIntelligenceFindingOutput(args: GetControlProjectIntelligenceFindingOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetControlProjectIntelligenceFindingResult>; /** * A collection of arguments for invoking getControlProjectIntelligenceFinding. */ export interface GetControlProjectIntelligenceFindingOutputArgs { /** * The ID of the intelligence finding. */ findingId: pulumi.Input<string>; /** * The location of the intelligence finding. Currently default value is global and users cannot use for input for now. */ location?: pulumi.Input<string | 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=getControlProjectIntelligenceFinding.d.ts.map