1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. storage
  5. getControlProjectIntelligenceConfig
Google Cloud v8.25.1 published on Wednesday, Apr 9, 2025 by Pulumi

gcp.storage.getControlProjectIntelligenceConfig

Explore with Pulumi AI

Use this data source to get information about a Project Storage Intelligence config resource. See the official documentation and API.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const sample_config = gcp.storage.getControlProjectIntelligenceConfig({
    name: "my-project",
});
Copy
import pulumi
import pulumi_gcp as gcp

sample_config = gcp.storage.get_control_project_intelligence_config(name="my-project")
Copy
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/storage"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := storage.LookupControlProjectIntelligenceConfig(ctx, &storage.LookupControlProjectIntelligenceConfigArgs{
			Name: "my-project",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var sample_config = Gcp.Storage.GetControlProjectIntelligenceConfig.Invoke(new()
    {
        Name = "my-project",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.storage.StorageFunctions;
import com.pulumi.gcp.storage.inputs.GetControlProjectIntelligenceConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var sample-config = StorageFunctions.getControlProjectIntelligenceConfig(GetControlProjectIntelligenceConfigArgs.builder()
            .name("my-project")
            .build());

    }
}
Copy
variables:
  sample-config:
    fn::invoke:
      function: gcp:storage:getControlProjectIntelligenceConfig
      arguments:
        name: my-project
Copy

Using getControlProjectIntelligenceConfig

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getControlProjectIntelligenceConfig(args: GetControlProjectIntelligenceConfigArgs, opts?: InvokeOptions): Promise<GetControlProjectIntelligenceConfigResult>
function getControlProjectIntelligenceConfigOutput(args: GetControlProjectIntelligenceConfigOutputArgs, opts?: InvokeOptions): Output<GetControlProjectIntelligenceConfigResult>
Copy
def get_control_project_intelligence_config(name: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> GetControlProjectIntelligenceConfigResult
def get_control_project_intelligence_config_output(name: Optional[pulumi.Input[str]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[GetControlProjectIntelligenceConfigResult]
Copy
func LookupControlProjectIntelligenceConfig(ctx *Context, args *LookupControlProjectIntelligenceConfigArgs, opts ...InvokeOption) (*LookupControlProjectIntelligenceConfigResult, error)
func LookupControlProjectIntelligenceConfigOutput(ctx *Context, args *LookupControlProjectIntelligenceConfigOutputArgs, opts ...InvokeOption) LookupControlProjectIntelligenceConfigResultOutput
Copy

> Note: This function is named LookupControlProjectIntelligenceConfig in the Go SDK.

public static class GetControlProjectIntelligenceConfig 
{
    public static Task<GetControlProjectIntelligenceConfigResult> InvokeAsync(GetControlProjectIntelligenceConfigArgs args, InvokeOptions? opts = null)
    public static Output<GetControlProjectIntelligenceConfigResult> Invoke(GetControlProjectIntelligenceConfigInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetControlProjectIntelligenceConfigResult> getControlProjectIntelligenceConfig(GetControlProjectIntelligenceConfigArgs args, InvokeOptions options)
public static Output<GetControlProjectIntelligenceConfigResult> getControlProjectIntelligenceConfig(GetControlProjectIntelligenceConfigArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: gcp:storage/getControlProjectIntelligenceConfig:getControlProjectIntelligenceConfig
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
The name or number of the GCP project.
Name This property is required. string
The name or number of the GCP project.
name This property is required. String
The name or number of the GCP project.
name This property is required. string
The name or number of the GCP project.
name This property is required. str
The name or number of the GCP project.
name This property is required. String
The name or number of the GCP project.

getControlProjectIntelligenceConfig Result

The following output properties are available:

editionConfig String
effectiveIntelligenceConfigs List<Property Map>
filters List<Property Map>
id String
The provider-assigned unique ID for this managed resource.
name String
updateTime String

Supporting Types

GetControlProjectIntelligenceConfigEffectiveIntelligenceConfig

EffectiveEdition This property is required. string
The 'StorageIntelligence' edition that is applicable for the resource.
IntelligenceConfig This property is required. string
The Intelligence config resource that is applied for the target resource.
EffectiveEdition This property is required. string
The 'StorageIntelligence' edition that is applicable for the resource.
IntelligenceConfig This property is required. string
The Intelligence config resource that is applied for the target resource.
effectiveEdition This property is required. String
The 'StorageIntelligence' edition that is applicable for the resource.
intelligenceConfig This property is required. String
The Intelligence config resource that is applied for the target resource.
effectiveEdition This property is required. string
The 'StorageIntelligence' edition that is applicable for the resource.
intelligenceConfig This property is required. string
The Intelligence config resource that is applied for the target resource.
effective_edition This property is required. str
The 'StorageIntelligence' edition that is applicable for the resource.
intelligence_config This property is required. str
The Intelligence config resource that is applied for the target resource.
effectiveEdition This property is required. String
The 'StorageIntelligence' edition that is applicable for the resource.
intelligenceConfig This property is required. String
The Intelligence config resource that is applied for the target resource.

GetControlProjectIntelligenceConfigFilter

ExcludedCloudStorageBuckets This property is required. List<GetControlProjectIntelligenceConfigFilterExcludedCloudStorageBucket>
Buckets to exclude from the Storage Intelligence plan.
ExcludedCloudStorageLocations This property is required. List<GetControlProjectIntelligenceConfigFilterExcludedCloudStorageLocation>
Locations to exclude from the Storage Intelligence plan.
IncludedCloudStorageBuckets This property is required. List<GetControlProjectIntelligenceConfigFilterIncludedCloudStorageBucket>
Buckets to include in the Storage Intelligence plan.
IncludedCloudStorageLocations This property is required. List<GetControlProjectIntelligenceConfigFilterIncludedCloudStorageLocation>
Locations to include in the Storage Intelligence plan.
ExcludedCloudStorageBuckets This property is required. []GetControlProjectIntelligenceConfigFilterExcludedCloudStorageBucket
Buckets to exclude from the Storage Intelligence plan.
ExcludedCloudStorageLocations This property is required. []GetControlProjectIntelligenceConfigFilterExcludedCloudStorageLocation
Locations to exclude from the Storage Intelligence plan.
IncludedCloudStorageBuckets This property is required. []GetControlProjectIntelligenceConfigFilterIncludedCloudStorageBucket
Buckets to include in the Storage Intelligence plan.
IncludedCloudStorageLocations This property is required. []GetControlProjectIntelligenceConfigFilterIncludedCloudStorageLocation
Locations to include in the Storage Intelligence plan.
excludedCloudStorageBuckets This property is required. List<GetControlProjectIntelligenceConfigFilterExcludedCloudStorageBucket>
Buckets to exclude from the Storage Intelligence plan.
excludedCloudStorageLocations This property is required. List<GetControlProjectIntelligenceConfigFilterExcludedCloudStorageLocation>
Locations to exclude from the Storage Intelligence plan.
includedCloudStorageBuckets This property is required. List<GetControlProjectIntelligenceConfigFilterIncludedCloudStorageBucket>
Buckets to include in the Storage Intelligence plan.
includedCloudStorageLocations This property is required. List<GetControlProjectIntelligenceConfigFilterIncludedCloudStorageLocation>
Locations to include in the Storage Intelligence plan.
excludedCloudStorageBuckets This property is required. GetControlProjectIntelligenceConfigFilterExcludedCloudStorageBucket[]
Buckets to exclude from the Storage Intelligence plan.
excludedCloudStorageLocations This property is required. GetControlProjectIntelligenceConfigFilterExcludedCloudStorageLocation[]
Locations to exclude from the Storage Intelligence plan.
includedCloudStorageBuckets This property is required. GetControlProjectIntelligenceConfigFilterIncludedCloudStorageBucket[]
Buckets to include in the Storage Intelligence plan.
includedCloudStorageLocations This property is required. GetControlProjectIntelligenceConfigFilterIncludedCloudStorageLocation[]
Locations to include in the Storage Intelligence plan.
excluded_cloud_storage_buckets This property is required. Sequence[GetControlProjectIntelligenceConfigFilterExcludedCloudStorageBucket]
Buckets to exclude from the Storage Intelligence plan.
excluded_cloud_storage_locations This property is required. Sequence[GetControlProjectIntelligenceConfigFilterExcludedCloudStorageLocation]
Locations to exclude from the Storage Intelligence plan.
included_cloud_storage_buckets This property is required. Sequence[GetControlProjectIntelligenceConfigFilterIncludedCloudStorageBucket]
Buckets to include in the Storage Intelligence plan.
included_cloud_storage_locations This property is required. Sequence[GetControlProjectIntelligenceConfigFilterIncludedCloudStorageLocation]
Locations to include in the Storage Intelligence plan.
excludedCloudStorageBuckets This property is required. List<Property Map>
Buckets to exclude from the Storage Intelligence plan.
excludedCloudStorageLocations This property is required. List<Property Map>
Locations to exclude from the Storage Intelligence plan.
includedCloudStorageBuckets This property is required. List<Property Map>
Buckets to include in the Storage Intelligence plan.
includedCloudStorageLocations This property is required. List<Property Map>
Locations to include in the Storage Intelligence plan.

GetControlProjectIntelligenceConfigFilterExcludedCloudStorageBucket

BucketIdRegexes This property is required. List<string>
List of bucket id regexes to exclude in the storage intelligence plan.
BucketIdRegexes This property is required. []string
List of bucket id regexes to exclude in the storage intelligence plan.
bucketIdRegexes This property is required. List<String>
List of bucket id regexes to exclude in the storage intelligence plan.
bucketIdRegexes This property is required. string[]
List of bucket id regexes to exclude in the storage intelligence plan.
bucket_id_regexes This property is required. Sequence[str]
List of bucket id regexes to exclude in the storage intelligence plan.
bucketIdRegexes This property is required. List<String>
List of bucket id regexes to exclude in the storage intelligence plan.

GetControlProjectIntelligenceConfigFilterExcludedCloudStorageLocation

Locations This property is required. List<string>
List of locations.
Locations This property is required. []string
List of locations.
locations This property is required. List<String>
List of locations.
locations This property is required. string[]
List of locations.
locations This property is required. Sequence[str]
List of locations.
locations This property is required. List<String>
List of locations.

GetControlProjectIntelligenceConfigFilterIncludedCloudStorageBucket

BucketIdRegexes This property is required. List<string>
List of bucket id regexes to exclude in the storage intelligence plan.
BucketIdRegexes This property is required. []string
List of bucket id regexes to exclude in the storage intelligence plan.
bucketIdRegexes This property is required. List<String>
List of bucket id regexes to exclude in the storage intelligence plan.
bucketIdRegexes This property is required. string[]
List of bucket id regexes to exclude in the storage intelligence plan.
bucket_id_regexes This property is required. Sequence[str]
List of bucket id regexes to exclude in the storage intelligence plan.
bucketIdRegexes This property is required. List<String>
List of bucket id regexes to exclude in the storage intelligence plan.

GetControlProjectIntelligenceConfigFilterIncludedCloudStorageLocation

Locations This property is required. List<string>
List of locations.
Locations This property is required. []string
List of locations.
locations This property is required. List<String>
List of locations.
locations This property is required. string[]
List of locations.
locations This property is required. Sequence[str]
List of locations.
locations This property is required. List<String>
List of locations.

Package Details

Repository
Google Cloud (GCP) Classic pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.