1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. storage
  5. getControlProjectIntelligenceConfig
Google Cloud v8.29.0 published on Thursday, May 1, 2025 by Pulumi

gcp.storage.getControlProjectIntelligenceConfig

Explore with Pulumi AI

gcp logo
Google Cloud v8.29.0 published on Thursday, May 1, 2025 by Pulumi

    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",
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    sample_config = gcp.storage.get_control_project_intelligence_config(name="my-project")
    
    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
    	})
    }
    
    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",
        });
    
    });
    
    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());
    
        }
    }
    
    variables:
      sample-config:
        fn::invoke:
          function: gcp:storage:getControlProjectIntelligenceConfig
          arguments:
            name: my-project
    

    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>
    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]
    func LookupControlProjectIntelligenceConfig(ctx *Context, args *LookupControlProjectIntelligenceConfigArgs, opts ...InvokeOption) (*LookupControlProjectIntelligenceConfigResult, error)
    func LookupControlProjectIntelligenceConfigOutput(ctx *Context, args *LookupControlProjectIntelligenceConfigOutputArgs, opts ...InvokeOption) LookupControlProjectIntelligenceConfigResultOutput

    > 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)
    }
    public static CompletableFuture<GetControlProjectIntelligenceConfigResult> getControlProjectIntelligenceConfig(GetControlProjectIntelligenceConfigArgs args, InvokeOptions options)
    public static Output<GetControlProjectIntelligenceConfigResult> getControlProjectIntelligenceConfig(GetControlProjectIntelligenceConfigArgs args, InvokeOptions options)
    
    fn::invoke:
      function: gcp:storage/getControlProjectIntelligenceConfig:getControlProjectIntelligenceConfig
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name or number of the GCP project.
    Name string
    The name or number of the GCP project.
    name String
    The name or number of the GCP project.
    name string
    The name or number of the GCP project.
    name str
    The name or number of the GCP project.
    name 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
    trialConfigs List<Property Map>
    updateTime String

    Supporting Types

    GetControlProjectIntelligenceConfigEffectiveIntelligenceConfig

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

    GetControlProjectIntelligenceConfigFilter

    excludedCloudStorageBuckets List<Property Map>
    Buckets to exclude from the Storage Intelligence plan.
    excludedCloudStorageLocations List<Property Map>
    Locations to exclude from the Storage Intelligence plan.
    includedCloudStorageBuckets List<Property Map>
    Buckets to include in the Storage Intelligence plan.
    includedCloudStorageLocations List<Property Map>
    Locations to include in the Storage Intelligence plan.

    GetControlProjectIntelligenceConfigFilterExcludedCloudStorageBucket

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

    GetControlProjectIntelligenceConfigFilterExcludedCloudStorageLocation

    Locations List<string>
    List of locations.
    Locations []string
    List of locations.
    locations List<String>
    List of locations.
    locations string[]
    List of locations.
    locations Sequence[str]
    List of locations.
    locations List<String>
    List of locations.

    GetControlProjectIntelligenceConfigFilterIncludedCloudStorageBucket

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

    GetControlProjectIntelligenceConfigFilterIncludedCloudStorageLocation

    Locations List<string>
    List of locations.
    Locations []string
    List of locations.
    locations List<String>
    List of locations.
    locations string[]
    List of locations.
    locations Sequence[str]
    List of locations.
    locations List<String>
    List of locations.

    GetControlProjectIntelligenceConfigTrialConfig

    ExpireTime string
    The time at which the trial expires.
    ExpireTime string
    The time at which the trial expires.
    expireTime String
    The time at which the trial expires.
    expireTime string
    The time at which the trial expires.
    expire_time str
    The time at which the trial expires.
    expireTime String
    The time at which the trial expires.

    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.
    gcp logo
    Google Cloud v8.29.0 published on Thursday, May 1, 2025 by Pulumi