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",
});
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 dictionary
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:
- 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
- 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
- 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
- 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
- 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
- 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
- update
Time String
Supporting Types
GetControlFolderIntelligenceConfigEffectiveIntelligenceConfig
- Effective
Edition This property is required. string - The 'StorageIntelligence' edition that is applicable for the resource.
- Intelligence
Config This property is required. string - The Intelligence config resource that is applied for the target resource.
- Effective
Edition This property is required. string - The 'StorageIntelligence' edition that is applicable for the resource.
- Intelligence
Config This property is required. string - The Intelligence config resource that is applied for the target resource.
- effective
Edition This property is required. String - The 'StorageIntelligence' edition that is applicable for the resource.
- intelligence
Config This property is required. String - The Intelligence config resource that is applied for the target resource.
- effective
Edition This property is required. string - The 'StorageIntelligence' edition that is applicable for the resource.
- intelligence
Config 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.
- effective
Edition This property is required. String - The 'StorageIntelligence' edition that is applicable for the resource.
- intelligence
Config This property is required. String - The Intelligence config resource that is applied for the target resource.
GetControlFolderIntelligenceConfigFilter
- Excluded
Cloud Storage Buckets This property is required. List<GetControl Folder Intelligence Config Filter Excluded Cloud Storage Bucket> - Buckets to exclude from the Storage Intelligence plan.
- Excluded
Cloud Storage Locations This property is required. List<GetControl Folder Intelligence Config Filter Excluded Cloud Storage Location> - Locations to exclude from the Storage Intelligence plan.
- Included
Cloud Storage Buckets This property is required. List<GetControl Folder Intelligence Config Filter Included Cloud Storage Bucket> - Buckets to include in the Storage Intelligence plan.
- Included
Cloud Storage Locations This property is required. List<GetControl Folder Intelligence Config Filter Included Cloud Storage Location> - Locations to include in the Storage Intelligence plan.
- Excluded
Cloud Storage Buckets This property is required. []GetControl Folder Intelligence Config Filter Excluded Cloud Storage Bucket - Buckets to exclude from the Storage Intelligence plan.
- Excluded
Cloud Storage Locations This property is required. []GetControl Folder Intelligence Config Filter Excluded Cloud Storage Location - Locations to exclude from the Storage Intelligence plan.
- Included
Cloud Storage Buckets This property is required. []GetControl Folder Intelligence Config Filter Included Cloud Storage Bucket - Buckets to include in the Storage Intelligence plan.
- Included
Cloud Storage Locations This property is required. []GetControl Folder Intelligence Config Filter Included Cloud Storage Location - Locations to include in the Storage Intelligence plan.
- excluded
Cloud Storage Buckets This property is required. List<GetControl Folder Intelligence Config Filter Excluded Cloud Storage Bucket> - Buckets to exclude from the Storage Intelligence plan.
- excluded
Cloud Storage Locations This property is required. List<GetControl Folder Intelligence Config Filter Excluded Cloud Storage Location> - Locations to exclude from the Storage Intelligence plan.
- included
Cloud Storage Buckets This property is required. List<GetControl Folder Intelligence Config Filter Included Cloud Storage Bucket> - Buckets to include in the Storage Intelligence plan.
- included
Cloud Storage Locations This property is required. List<GetControl Folder Intelligence Config Filter Included Cloud Storage Location> - Locations to include in the Storage Intelligence plan.
- excluded
Cloud Storage Buckets This property is required. GetControl Folder Intelligence Config Filter Excluded Cloud Storage Bucket[] - Buckets to exclude from the Storage Intelligence plan.
- excluded
Cloud Storage Locations This property is required. GetControl Folder Intelligence Config Filter Excluded Cloud Storage Location[] - Locations to exclude from the Storage Intelligence plan.
- included
Cloud Storage Buckets This property is required. GetControl Folder Intelligence Config Filter Included Cloud Storage Bucket[] - Buckets to include in the Storage Intelligence plan.
- included
Cloud Storage Locations This property is required. GetControl Folder Intelligence Config Filter Included Cloud Storage Location[] - Locations to include in the Storage Intelligence plan.
- excluded_
cloud_ storage_ buckets This property is required. Sequence[GetControl Folder Intelligence Config Filter Excluded Cloud Storage Bucket] - Buckets to exclude from the Storage Intelligence plan.
- excluded_
cloud_ storage_ locations This property is required. Sequence[GetControl Folder Intelligence Config Filter Excluded Cloud Storage Location] - Locations to exclude from the Storage Intelligence plan.
- included_
cloud_ storage_ buckets This property is required. Sequence[GetControl Folder Intelligence Config Filter Included Cloud Storage Bucket] - Buckets to include in the Storage Intelligence plan.
- included_
cloud_ storage_ locations This property is required. Sequence[GetControl Folder Intelligence Config Filter Included Cloud Storage Location] - Locations to include in the Storage Intelligence plan.
- excluded
Cloud Storage Buckets This property is required. List<Property Map> - Buckets to exclude from the Storage Intelligence plan.
- excluded
Cloud Storage Locations This property is required. List<Property Map> - Locations to exclude from the Storage Intelligence plan.
- included
Cloud Storage Buckets This property is required. List<Property Map> - Buckets to include in the Storage Intelligence plan.
- included
Cloud Storage Locations This property is required. List<Property Map> - Locations to include in the Storage Intelligence plan.
GetControlFolderIntelligenceConfigFilterExcludedCloudStorageBucket
- Bucket
Id Regexes This property is required. List<string> - List of bucket id regexes to exclude in the storage intelligence plan.
- Bucket
Id Regexes This property is required. []string - List of bucket id regexes to exclude in the storage intelligence plan.
- bucket
Id Regexes This property is required. List<String> - List of bucket id regexes to exclude in the storage intelligence plan.
- bucket
Id Regexes 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.
- bucket
Id Regexes 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
- Bucket
Id Regexes This property is required. List<string> - List of bucket id regexes to exclude in the storage intelligence plan.
- Bucket
Id Regexes This property is required. []string - List of bucket id regexes to exclude in the storage intelligence plan.
- bucket
Id Regexes This property is required. List<String> - List of bucket id regexes to exclude in the storage intelligence plan.
- bucket
Id Regexes 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.
- bucket
Id Regexes 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.