1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. storage
  5. getControlFolderIntelligenceConfig
Google Cloud v8.26.0 published on Thursday, Apr 10, 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",
});
Copy
import pulumi
import pulumi_gcp as gcp

sample_config = gcp.storage.get_control_folder_intelligence_config(name="123456789")
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.LookupControlFolderIntelligenceConfig(ctx, &storage.LookupControlFolderIntelligenceConfigArgs{
			Name: "123456789",
		}, 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.GetControlFolderIntelligenceConfig.Invoke(new()
    {
        Name = "123456789",
    });

});
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.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());

    }
}
Copy
variables:
  sample-config:
    fn::invoke:
      function: gcp:storage:getControlFolderIntelligenceConfig
      arguments:
        name: '123456789'
Copy

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>
Copy
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]
Copy
func LookupControlFolderIntelligenceConfig(ctx *Context, args *LookupControlFolderIntelligenceConfigArgs, opts ...InvokeOption) (*LookupControlFolderIntelligenceConfigResult, error)
func LookupControlFolderIntelligenceConfigOutput(ctx *Context, args *LookupControlFolderIntelligenceConfigOutputArgs, opts ...InvokeOption) LookupControlFolderIntelligenceConfigResultOutput
Copy

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

The following arguments are supported:

Name This property is required. string
The number of GCP folder.
Name This property is required. string
The number of GCP folder.
name This property is required. String
The number of GCP folder.
name This property is required. string
The number of GCP folder.
name This property is required. str
The number of GCP folder.
name This property is required. String
The number of GCP folder.

getControlFolderIntelligenceConfig 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

GetControlFolderIntelligenceConfigEffectiveIntelligenceConfig

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.

GetControlFolderIntelligenceConfigFilter

ExcludedCloudStorageBuckets This property is required. List<GetControlFolderIntelligenceConfigFilterExcludedCloudStorageBucket>
Buckets to exclude from the Storage Intelligence plan.
ExcludedCloudStorageLocations This property is required. List<GetControlFolderIntelligenceConfigFilterExcludedCloudStorageLocation>
Locations to exclude from the Storage Intelligence plan.
IncludedCloudStorageBuckets This property is required. List<GetControlFolderIntelligenceConfigFilterIncludedCloudStorageBucket>
Buckets to include in the Storage Intelligence plan.
IncludedCloudStorageLocations This property is required. List<GetControlFolderIntelligenceConfigFilterIncludedCloudStorageLocation>
Locations to include in the Storage Intelligence plan.
ExcludedCloudStorageBuckets This property is required. []GetControlFolderIntelligenceConfigFilterExcludedCloudStorageBucket
Buckets to exclude from the Storage Intelligence plan.
ExcludedCloudStorageLocations This property is required. []GetControlFolderIntelligenceConfigFilterExcludedCloudStorageLocation
Locations to exclude from the Storage Intelligence plan.
IncludedCloudStorageBuckets This property is required. []GetControlFolderIntelligenceConfigFilterIncludedCloudStorageBucket
Buckets to include in the Storage Intelligence plan.
IncludedCloudStorageLocations This property is required. []GetControlFolderIntelligenceConfigFilterIncludedCloudStorageLocation
Locations to include in the Storage Intelligence plan.
excludedCloudStorageBuckets This property is required. List<GetControlFolderIntelligenceConfigFilterExcludedCloudStorageBucket>
Buckets to exclude from the Storage Intelligence plan.
excludedCloudStorageLocations This property is required. List<GetControlFolderIntelligenceConfigFilterExcludedCloudStorageLocation>
Locations to exclude from the Storage Intelligence plan.
includedCloudStorageBuckets This property is required. List<GetControlFolderIntelligenceConfigFilterIncludedCloudStorageBucket>
Buckets to include in the Storage Intelligence plan.
includedCloudStorageLocations This property is required. List<GetControlFolderIntelligenceConfigFilterIncludedCloudStorageLocation>
Locations to include in the Storage Intelligence plan.
excludedCloudStorageBuckets This property is required. GetControlFolderIntelligenceConfigFilterExcludedCloudStorageBucket[]
Buckets to exclude from the Storage Intelligence plan.
excludedCloudStorageLocations This property is required. GetControlFolderIntelligenceConfigFilterExcludedCloudStorageLocation[]
Locations to exclude from the Storage Intelligence plan.
includedCloudStorageBuckets This property is required. GetControlFolderIntelligenceConfigFilterIncludedCloudStorageBucket[]
Buckets to include in the Storage Intelligence plan.
includedCloudStorageLocations This property is required. GetControlFolderIntelligenceConfigFilterIncludedCloudStorageLocation[]
Locations to include in the Storage Intelligence plan.
excluded_cloud_storage_buckets This property is required. Sequence[GetControlFolderIntelligenceConfigFilterExcludedCloudStorageBucket]
Buckets to exclude from the Storage Intelligence plan.
excluded_cloud_storage_locations This property is required. Sequence[GetControlFolderIntelligenceConfigFilterExcludedCloudStorageLocation]
Locations to exclude from the Storage Intelligence plan.
included_cloud_storage_buckets This property is required. Sequence[GetControlFolderIntelligenceConfigFilterIncludedCloudStorageBucket]
Buckets to include in the Storage Intelligence plan.
included_cloud_storage_locations This property is required. Sequence[GetControlFolderIntelligenceConfigFilterIncludedCloudStorageLocation]
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.

GetControlFolderIntelligenceConfigFilterExcludedCloudStorageBucket

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.

GetControlFolderIntelligenceConfigFilterExcludedCloudStorageLocation

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.

GetControlFolderIntelligenceConfigFilterIncludedCloudStorageBucket

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.

GetControlFolderIntelligenceConfigFilterIncludedCloudStorageLocation

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.