Google Cloud v8.27.0 published on Thursday, Apr 17, 2025 by Pulumi
gcp.storage.getControlFolderIntelligenceConfig
Explore with Pulumi AI
Use this data source to get information about a Folder 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.getControlFolderIntelligenceConfig({
    name: "123456789",
});
import pulumi
import pulumi_gcp as gcp
sample_config = gcp.storage.get_control_folder_intelligence_config(name="123456789")
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.LookupControlFolderIntelligenceConfig(ctx, &storage.LookupControlFolderIntelligenceConfigArgs{
			Name: "123456789",
		}, 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.GetControlFolderIntelligenceConfig.Invoke(new()
    {
        Name = "123456789",
    });
});
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.GetControlFolderIntelligenceConfigArgs;
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.getControlFolderIntelligenceConfig(GetControlFolderIntelligenceConfigArgs.builder()
            .name("123456789")
            .build());
    }
}
variables:
  sample-config:
    fn::invoke:
      function: gcp:storage:getControlFolderIntelligenceConfig
      arguments:
        name: '123456789'
Using getControlFolderIntelligenceConfig
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 getControlFolderIntelligenceConfig(args: GetControlFolderIntelligenceConfigArgs, opts?: InvokeOptions): Promise<GetControlFolderIntelligenceConfigResult>
function getControlFolderIntelligenceConfigOutput(args: GetControlFolderIntelligenceConfigOutputArgs, opts?: InvokeOptions): Output<GetControlFolderIntelligenceConfigResult>def get_control_folder_intelligence_config(name: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetControlFolderIntelligenceConfigResult
def get_control_folder_intelligence_config_output(name: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetControlFolderIntelligenceConfigResult]func LookupControlFolderIntelligenceConfig(ctx *Context, args *LookupControlFolderIntelligenceConfigArgs, opts ...InvokeOption) (*LookupControlFolderIntelligenceConfigResult, error)
func LookupControlFolderIntelligenceConfigOutput(ctx *Context, args *LookupControlFolderIntelligenceConfigOutputArgs, opts ...InvokeOption) LookupControlFolderIntelligenceConfigResultOutput> Note: This function is named LookupControlFolderIntelligenceConfig in the Go SDK.
public static class GetControlFolderIntelligenceConfig 
{
    public static Task<GetControlFolderIntelligenceConfigResult> InvokeAsync(GetControlFolderIntelligenceConfigArgs args, InvokeOptions? opts = null)
    public static Output<GetControlFolderIntelligenceConfigResult> Invoke(GetControlFolderIntelligenceConfigInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetControlFolderIntelligenceConfigResult> getControlFolderIntelligenceConfig(GetControlFolderIntelligenceConfigArgs args, InvokeOptions options)
public static Output<GetControlFolderIntelligenceConfigResult> getControlFolderIntelligenceConfig(GetControlFolderIntelligenceConfigArgs args, InvokeOptions options)
fn::invoke:
  function: gcp:storage/getControlFolderIntelligenceConfig:getControlFolderIntelligenceConfig
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
 - The number of GCP folder.
 
- Name string
 - The number of GCP folder.
 
- name String
 - The number of GCP folder.
 
- name string
 - The number of GCP folder.
 
- name str
 - The number of GCP folder.
 
- name String
 - The number of GCP folder.
 
getControlFolderIntelligenceConfig Result
The following output properties are available:
- Edition
Config string - Effective
Intelligence List<GetConfigs Control Folder Intelligence Config Effective Intelligence Config>  - Filters
List<Get
Control Folder Intelligence Config Filter>  - Id string
 - The provider-assigned unique ID for this managed resource.
 - Name string
 - Trial
Configs List<GetControl Folder Intelligence Config Trial Config>  - Update
Time string 
- Edition
Config string - Effective
Intelligence []GetConfigs Control Folder Intelligence Config Effective Intelligence Config  - Filters
[]Get
Control Folder Intelligence Config Filter  - Id string
 - The provider-assigned unique ID for this managed resource.
 - Name string
 - Trial
Configs []GetControl Folder Intelligence Config Trial Config  - Update
Time string 
- edition
Config String - effective
Intelligence List<GetConfigs Control Folder Intelligence Config Effective Intelligence Config>  - filters
List<Get
Control Folder Intelligence Config Filter>  - id String
 - The provider-assigned unique ID for this managed resource.
 - name String
 - trial
Configs List<GetControl Folder Intelligence Config Trial Config>  - update
Time String 
- edition
Config string - effective
Intelligence GetConfigs Control Folder Intelligence Config Effective Intelligence Config[]  - filters
Get
Control Folder Intelligence Config Filter[]  - id string
 - The provider-assigned unique ID for this managed resource.
 - name string
 - trial
Configs GetControl Folder Intelligence Config Trial Config[]  - update
Time string 
- edition_
config str - effective_
intelligence_ Sequence[Getconfigs Control Folder Intelligence Config Effective Intelligence Config]  - filters
Sequence[Get
Control Folder Intelligence Config Filter]  - id str
 - The provider-assigned unique ID for this managed resource.
 - name str
 - trial_
configs Sequence[GetControl Folder Intelligence Config Trial Config]  - update_
time str 
- edition
Config String - effective
Intelligence List<Property Map>Configs  - filters List<Property Map>
 - id String
 - The provider-assigned unique ID for this managed resource.
 - name String
 - trial
Configs List<Property Map> - update
Time String 
Supporting Types
GetControlFolderIntelligenceConfigEffectiveIntelligenceConfig       
- Effective
Edition string - The 'StorageIntelligence' edition that is applicable for the resource.
 - Intelligence
Config string - The Intelligence config resource that is applied for the target resource.
 
- Effective
Edition string - The 'StorageIntelligence' edition that is applicable for the resource.
 - Intelligence
Config string - The Intelligence config resource that is applied for the target resource.
 
- effective
Edition String - The 'StorageIntelligence' edition that is applicable for the resource.
 - intelligence
Config String - The Intelligence config resource that is applied for the target resource.
 
- effective
Edition string - The 'StorageIntelligence' edition that is applicable for the resource.
 - intelligence
Config 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.
 
- effective
Edition String - The 'StorageIntelligence' edition that is applicable for the resource.
 - intelligence
Config String - The Intelligence config resource that is applied for the target resource.
 
GetControlFolderIntelligenceConfigFilter     
- Excluded
Cloud List<GetStorage Buckets Control Folder Intelligence Config Filter Excluded Cloud Storage Bucket>  - Buckets to exclude from the Storage Intelligence plan.
 - Excluded
Cloud List<GetStorage Locations Control Folder Intelligence Config Filter Excluded Cloud Storage Location>  - Locations to exclude from the Storage Intelligence plan.
 - Included
Cloud List<GetStorage Buckets Control Folder Intelligence Config Filter Included Cloud Storage Bucket>  - Buckets to include in the Storage Intelligence plan.
 - Included
Cloud List<GetStorage Locations Control Folder Intelligence Config Filter Included Cloud Storage Location>  - Locations to include in the Storage Intelligence plan.
 
- Excluded
Cloud []GetStorage Buckets Control Folder Intelligence Config Filter Excluded Cloud Storage Bucket  - Buckets to exclude from the Storage Intelligence plan.
 - Excluded
Cloud []GetStorage Locations Control Folder Intelligence Config Filter Excluded Cloud Storage Location  - Locations to exclude from the Storage Intelligence plan.
 - Included
Cloud []GetStorage Buckets Control Folder Intelligence Config Filter Included Cloud Storage Bucket  - Buckets to include in the Storage Intelligence plan.
 - Included
Cloud []GetStorage Locations Control Folder Intelligence Config Filter Included Cloud Storage Location  - Locations to include in the Storage Intelligence plan.
 
- excluded
Cloud List<GetStorage Buckets Control Folder Intelligence Config Filter Excluded Cloud Storage Bucket>  - Buckets to exclude from the Storage Intelligence plan.
 - excluded
Cloud List<GetStorage Locations Control Folder Intelligence Config Filter Excluded Cloud Storage Location>  - Locations to exclude from the Storage Intelligence plan.
 - included
Cloud List<GetStorage Buckets Control Folder Intelligence Config Filter Included Cloud Storage Bucket>  - Buckets to include in the Storage Intelligence plan.
 - included
Cloud List<GetStorage Locations Control Folder Intelligence Config Filter Included Cloud Storage Location>  - Locations to include in the Storage Intelligence plan.
 
- excluded
Cloud GetStorage Buckets Control Folder Intelligence Config Filter Excluded Cloud Storage Bucket[]  - Buckets to exclude from the Storage Intelligence plan.
 - excluded
Cloud GetStorage Locations Control Folder Intelligence Config Filter Excluded Cloud Storage Location[]  - Locations to exclude from the Storage Intelligence plan.
 - included
Cloud GetStorage Buckets Control Folder Intelligence Config Filter Included Cloud Storage Bucket[]  - Buckets to include in the Storage Intelligence plan.
 - included
Cloud GetStorage Locations Control Folder Intelligence Config Filter Included Cloud Storage Location[]  - Locations to include in the Storage Intelligence plan.
 
- excluded_
cloud_ Sequence[Getstorage_ buckets Control Folder Intelligence Config Filter Excluded Cloud Storage Bucket]  - Buckets to exclude from the Storage Intelligence plan.
 - excluded_
cloud_ Sequence[Getstorage_ locations Control Folder Intelligence Config Filter Excluded Cloud Storage Location]  - Locations to exclude from the Storage Intelligence plan.
 - included_
cloud_ Sequence[Getstorage_ buckets Control Folder Intelligence Config Filter Included Cloud Storage Bucket]  - Buckets to include in the Storage Intelligence plan.
 - included_
cloud_ Sequence[Getstorage_ locations Control Folder Intelligence Config Filter Included Cloud Storage Location]  - Locations to include in the Storage Intelligence plan.
 
- excluded
Cloud List<Property Map>Storage Buckets  - Buckets to exclude from the Storage Intelligence plan.
 - excluded
Cloud List<Property Map>Storage Locations  - Locations to exclude from the Storage Intelligence plan.
 - included
Cloud List<Property Map>Storage Buckets  - Buckets to include in the Storage Intelligence plan.
 - included
Cloud List<Property Map>Storage Locations  - Locations to include in the Storage Intelligence plan.
 
GetControlFolderIntelligenceConfigFilterExcludedCloudStorageBucket         
- Bucket
Id List<string>Regexes  - List of bucket id regexes to exclude in the storage intelligence plan.
 
- Bucket
Id []stringRegexes  - List of bucket id regexes to exclude in the storage intelligence plan.
 
- bucket
Id List<String>Regexes  - List of bucket id regexes to exclude in the storage intelligence plan.
 
- bucket
Id string[]Regexes  - List of bucket id regexes to exclude in the storage intelligence plan.
 
- bucket_
id_ Sequence[str]regexes  - List of bucket id regexes to exclude in the storage intelligence plan.
 
- bucket
Id List<String>Regexes  - List of bucket id regexes to exclude in the storage intelligence plan.
 
GetControlFolderIntelligenceConfigFilterExcludedCloudStorageLocation         
- 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.
 
GetControlFolderIntelligenceConfigFilterIncludedCloudStorageBucket         
- Bucket
Id List<string>Regexes  - List of bucket id regexes to exclude in the storage intelligence plan.
 
- Bucket
Id []stringRegexes  - List of bucket id regexes to exclude in the storage intelligence plan.
 
- bucket
Id List<String>Regexes  - List of bucket id regexes to exclude in the storage intelligence plan.
 
- bucket
Id string[]Regexes  - List of bucket id regexes to exclude in the storage intelligence plan.
 
- bucket_
id_ Sequence[str]regexes  - List of bucket id regexes to exclude in the storage intelligence plan.
 
- bucket
Id List<String>Regexes  - List of bucket id regexes to exclude in the storage intelligence plan.
 
GetControlFolderIntelligenceConfigFilterIncludedCloudStorageLocation         
- 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.
 
GetControlFolderIntelligenceConfigTrialConfig      
- Expire
Time string - The time at which the trial expires.
 
- Expire
Time string - The time at which the trial expires.
 
- expire
Time String - The time at which the trial expires.
 
- expire
Time string - The time at which the trial expires.
 
- expire_
time str - The time at which the trial expires.
 
- expire
Time 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-betaTerraform Provider.