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

gcp.storage.getControlOrganizationIntelligenceConfig

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 Organization 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.getControlOrganizationIntelligenceConfig({
        name: "123456789",
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    sample_config = gcp.storage.get_control_organization_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.LookupControlOrganizationIntelligenceConfig(ctx, &storage.LookupControlOrganizationIntelligenceConfigArgs{
    			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.GetControlOrganizationIntelligenceConfig.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.GetControlOrganizationIntelligenceConfigArgs;
    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.getControlOrganizationIntelligenceConfig(GetControlOrganizationIntelligenceConfigArgs.builder()
                .name("123456789")
                .build());
    
        }
    }
    
    variables:
      sample-config:
        fn::invoke:
          function: gcp:storage:getControlOrganizationIntelligenceConfig
          arguments:
            name: '123456789'
    

    Using getControlOrganizationIntelligenceConfig

    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 getControlOrganizationIntelligenceConfig(args: GetControlOrganizationIntelligenceConfigArgs, opts?: InvokeOptions): Promise<GetControlOrganizationIntelligenceConfigResult>
    function getControlOrganizationIntelligenceConfigOutput(args: GetControlOrganizationIntelligenceConfigOutputArgs, opts?: InvokeOptions): Output<GetControlOrganizationIntelligenceConfigResult>
    def get_control_organization_intelligence_config(name: Optional[str] = None,
                                                     opts: Optional[InvokeOptions] = None) -> GetControlOrganizationIntelligenceConfigResult
    def get_control_organization_intelligence_config_output(name: Optional[pulumi.Input[str]] = None,
                                                     opts: Optional[InvokeOptions] = None) -> Output[GetControlOrganizationIntelligenceConfigResult]
    func LookupControlOrganizationIntelligenceConfig(ctx *Context, args *LookupControlOrganizationIntelligenceConfigArgs, opts ...InvokeOption) (*LookupControlOrganizationIntelligenceConfigResult, error)
    func LookupControlOrganizationIntelligenceConfigOutput(ctx *Context, args *LookupControlOrganizationIntelligenceConfigOutputArgs, opts ...InvokeOption) LookupControlOrganizationIntelligenceConfigResultOutput

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

    public static class GetControlOrganizationIntelligenceConfig 
    {
        public static Task<GetControlOrganizationIntelligenceConfigResult> InvokeAsync(GetControlOrganizationIntelligenceConfigArgs args, InvokeOptions? opts = null)
        public static Output<GetControlOrganizationIntelligenceConfigResult> Invoke(GetControlOrganizationIntelligenceConfigInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetControlOrganizationIntelligenceConfigResult> getControlOrganizationIntelligenceConfig(GetControlOrganizationIntelligenceConfigArgs args, InvokeOptions options)
    public static Output<GetControlOrganizationIntelligenceConfigResult> getControlOrganizationIntelligenceConfig(GetControlOrganizationIntelligenceConfigArgs args, InvokeOptions options)
    
    fn::invoke:
      function: gcp:storage/getControlOrganizationIntelligenceConfig:getControlOrganizationIntelligenceConfig
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The id of GCP organization.
    Name string
    The id of GCP organization.
    name String
    The id of GCP organization.
    name string
    The id of GCP organization.
    name str
    The id of GCP organization.
    name String
    The id of GCP organization.

    getControlOrganizationIntelligenceConfig 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

    GetControlOrganizationIntelligenceConfigEffectiveIntelligenceConfig

    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.

    GetControlOrganizationIntelligenceConfigFilter

    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.

    GetControlOrganizationIntelligenceConfigFilterExcludedCloudStorageBucket

    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.

    GetControlOrganizationIntelligenceConfigFilterExcludedCloudStorageLocation

    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.

    GetControlOrganizationIntelligenceConfigFilterIncludedCloudStorageBucket

    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.

    GetControlOrganizationIntelligenceConfigFilterIncludedCloudStorageLocation

    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.

    GetControlOrganizationIntelligenceConfigTrialConfig

    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