Viewing docs for Google Cloud v9.16.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 by Pulumi
Viewing docs for Google Cloud v9.16.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 by Pulumi
Use this data source to get information about a Storage Insights Dataset 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.getInsightsDatasetConfig({
project: "sample_project",
location: "sample_location",
datasetConfigId: "sample_dataset_config_id",
});
import pulumi
import pulumi_gcp as gcp
sample_config = gcp.storage.get_insights_dataset_config(project="sample_project",
location="sample_location",
dataset_config_id="sample_dataset_config_id")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := storage.LookupInsightsDatasetConfig(ctx, &storage.LookupInsightsDatasetConfigArgs{
Project: pulumi.StringRef("sample_project"),
Location: "sample_location",
DatasetConfigId: "sample_dataset_config_id",
}, 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.GetInsightsDatasetConfig.Invoke(new()
{
Project = "sample_project",
Location = "sample_location",
DatasetConfigId = "sample_dataset_config_id",
});
});
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.GetInsightsDatasetConfigArgs;
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.getInsightsDatasetConfig(GetInsightsDatasetConfigArgs.builder()
.project("sample_project")
.location("sample_location")
.datasetConfigId("sample_dataset_config_id")
.build());
}
}
variables:
sample-config:
fn::invoke:
function: gcp:storage:getInsightsDatasetConfig
arguments:
project: sample_project
location: sample_location
datasetConfigId: sample_dataset_config_id
Using getInsightsDatasetConfig
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 getInsightsDatasetConfig(args: GetInsightsDatasetConfigArgs, opts?: InvokeOptions): Promise<GetInsightsDatasetConfigResult>
function getInsightsDatasetConfigOutput(args: GetInsightsDatasetConfigOutputArgs, opts?: InvokeOptions): Output<GetInsightsDatasetConfigResult>def get_insights_dataset_config(dataset_config_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInsightsDatasetConfigResult
def get_insights_dataset_config_output(dataset_config_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInsightsDatasetConfigResult]func LookupInsightsDatasetConfig(ctx *Context, args *LookupInsightsDatasetConfigArgs, opts ...InvokeOption) (*LookupInsightsDatasetConfigResult, error)
func LookupInsightsDatasetConfigOutput(ctx *Context, args *LookupInsightsDatasetConfigOutputArgs, opts ...InvokeOption) LookupInsightsDatasetConfigResultOutput> Note: This function is named LookupInsightsDatasetConfig in the Go SDK.
public static class GetInsightsDatasetConfig
{
public static Task<GetInsightsDatasetConfigResult> InvokeAsync(GetInsightsDatasetConfigArgs args, InvokeOptions? opts = null)
public static Output<GetInsightsDatasetConfigResult> Invoke(GetInsightsDatasetConfigInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInsightsDatasetConfigResult> getInsightsDatasetConfig(GetInsightsDatasetConfigArgs args, InvokeOptions options)
public static Output<GetInsightsDatasetConfigResult> getInsightsDatasetConfig(GetInsightsDatasetConfigArgs args, InvokeOptions options)
fn::invoke:
function: gcp:storage/getInsightsDatasetConfig:getInsightsDatasetConfig
arguments:
# arguments dictionaryThe following arguments are supported:
- Dataset
Config stringId - The user-defined ID of the DatasetConfig
- Location string
- The location of the Dataset Config.
- Project string
- The name of the GCP project in which dataset config exists. Can be configured through config as well.
- Dataset
Config stringId - The user-defined ID of the DatasetConfig
- Location string
- The location of the Dataset Config.
- Project string
- The name of the GCP project in which dataset config exists. Can be configured through config as well.
- dataset
Config StringId - The user-defined ID of the DatasetConfig
- location String
- The location of the Dataset Config.
- project String
- The name of the GCP project in which dataset config exists. Can be configured through config as well.
- dataset
Config stringId - The user-defined ID of the DatasetConfig
- location string
- The location of the Dataset Config.
- project string
- The name of the GCP project in which dataset config exists. Can be configured through config as well.
- dataset_
config_ strid - The user-defined ID of the DatasetConfig
- location str
- The location of the Dataset Config.
- project str
- The name of the GCP project in which dataset config exists. Can be configured through config as well.
- dataset
Config StringId - The user-defined ID of the DatasetConfig
- location String
- The location of the Dataset Config.
- project String
- The name of the GCP project in which dataset config exists. Can be configured through config as well.
getInsightsDatasetConfig Result
The following output properties are available:
- Activity
Data intRetention Period Days - Create
Time string - Dataset
Config stringId - Dataset
Config stringState - Description string
- Exclude
Cloud List<GetStorage Buckets Insights Dataset Config Exclude Cloud Storage Bucket> - Exclude
Cloud List<GetStorage Locations Insights Dataset Config Exclude Cloud Storage Location> - Id string
- The provider-assigned unique ID for this managed resource.
- Identities
List<Get
Insights Dataset Config Identity> - Include
Cloud List<GetStorage Buckets Insights Dataset Config Include Cloud Storage Bucket> - Include
Cloud List<GetStorage Locations Insights Dataset Config Include Cloud Storage Location> - Include
Newly boolCreated Buckets - Link
Dataset bool - Links
List<Get
Insights Dataset Config Link> - Location string
- Name string
- Organization
Number string - Organization
Scope bool - Retention
Period intDays - Source
Folders List<GetInsights Dataset Config Source Folder> - Source
Projects List<GetInsights Dataset Config Source Project> - Uid string
- Update
Time string - Project string
- Activity
Data intRetention Period Days - Create
Time string - Dataset
Config stringId - Dataset
Config stringState - Description string
- Exclude
Cloud []GetStorage Buckets Insights Dataset Config Exclude Cloud Storage Bucket - Exclude
Cloud []GetStorage Locations Insights Dataset Config Exclude Cloud Storage Location - Id string
- The provider-assigned unique ID for this managed resource.
- Identities
[]Get
Insights Dataset Config Identity - Include
Cloud []GetStorage Buckets Insights Dataset Config Include Cloud Storage Bucket - Include
Cloud []GetStorage Locations Insights Dataset Config Include Cloud Storage Location - Include
Newly boolCreated Buckets - Link
Dataset bool - Links
[]Get
Insights Dataset Config Link - Location string
- Name string
- Organization
Number string - Organization
Scope bool - Retention
Period intDays - Source
Folders []GetInsights Dataset Config Source Folder - Source
Projects []GetInsights Dataset Config Source Project - Uid string
- Update
Time string - Project string
- activity
Data IntegerRetention Period Days - create
Time String - dataset
Config StringId - dataset
Config StringState - description String
- exclude
Cloud List<GetStorage Buckets Insights Dataset Config Exclude Cloud Storage Bucket> - exclude
Cloud List<GetStorage Locations Insights Dataset Config Exclude Cloud Storage Location> - id String
- The provider-assigned unique ID for this managed resource.
- identities
List<Get
Insights Dataset Config Identity> - include
Cloud List<GetStorage Buckets Insights Dataset Config Include Cloud Storage Bucket> - include
Cloud List<GetStorage Locations Insights Dataset Config Include Cloud Storage Location> - include
Newly BooleanCreated Buckets - link
Dataset Boolean - links
List<Get
Insights Dataset Config Link> - location String
- name String
- organization
Number String - organization
Scope Boolean - retention
Period IntegerDays - source
Folders List<GetInsights Dataset Config Source Folder> - source
Projects List<GetInsights Dataset Config Source Project> - uid String
- update
Time String - project String
- activity
Data numberRetention Period Days - create
Time string - dataset
Config stringId - dataset
Config stringState - description string
- exclude
Cloud GetStorage Buckets Insights Dataset Config Exclude Cloud Storage Bucket[] - exclude
Cloud GetStorage Locations Insights Dataset Config Exclude Cloud Storage Location[] - id string
- The provider-assigned unique ID for this managed resource.
- identities
Get
Insights Dataset Config Identity[] - include
Cloud GetStorage Buckets Insights Dataset Config Include Cloud Storage Bucket[] - include
Cloud GetStorage Locations Insights Dataset Config Include Cloud Storage Location[] - include
Newly booleanCreated Buckets - link
Dataset boolean - links
Get
Insights Dataset Config Link[] - location string
- name string
- organization
Number string - organization
Scope boolean - retention
Period numberDays - source
Folders GetInsights Dataset Config Source Folder[] - source
Projects GetInsights Dataset Config Source Project[] - uid string
- update
Time string - project string
- activity_
data_ intretention_ period_ days - create_
time str - dataset_
config_ strid - dataset_
config_ strstate - description str
- exclude_
cloud_ Sequence[Getstorage_ buckets Insights Dataset Config Exclude Cloud Storage Bucket] - exclude_
cloud_ Sequence[Getstorage_ locations Insights Dataset Config Exclude Cloud Storage Location] - id str
- The provider-assigned unique ID for this managed resource.
- identities
Sequence[Get
Insights Dataset Config Identity] - include_
cloud_ Sequence[Getstorage_ buckets Insights Dataset Config Include Cloud Storage Bucket] - include_
cloud_ Sequence[Getstorage_ locations Insights Dataset Config Include Cloud Storage Location] - include_
newly_ boolcreated_ buckets - link_
dataset bool - links
Sequence[Get
Insights Dataset Config Link] - location str
- name str
- organization_
number str - organization_
scope bool - retention_
period_ intdays - source_
folders Sequence[GetInsights Dataset Config Source Folder] - source_
projects Sequence[GetInsights Dataset Config Source Project] - uid str
- update_
time str - project str
- activity
Data NumberRetention Period Days - create
Time String - dataset
Config StringId - dataset
Config StringState - description String
- exclude
Cloud List<Property Map>Storage Buckets - exclude
Cloud List<Property Map>Storage Locations - id String
- The provider-assigned unique ID for this managed resource.
- identities List<Property Map>
- include
Cloud List<Property Map>Storage Buckets - include
Cloud List<Property Map>Storage Locations - include
Newly BooleanCreated Buckets - link
Dataset Boolean - links List<Property Map>
- location String
- name String
- organization
Number String - organization
Scope Boolean - retention
Period NumberDays - source
Folders List<Property Map> - source
Projects List<Property Map> - uid String
- update
Time String - project String
Supporting Types
GetInsightsDatasetConfigExcludeCloudStorageBucket
- Cloud
Storage List<GetBuckets Insights Dataset Config Exclude Cloud Storage Bucket Cloud Storage Bucket> - The list of cloud storage buckets/bucket prefix regexes to exclude in the DatasetConfig.
- Cloud
Storage []GetBuckets Insights Dataset Config Exclude Cloud Storage Bucket Cloud Storage Bucket - The list of cloud storage buckets/bucket prefix regexes to exclude in the DatasetConfig.
- cloud
Storage List<GetBuckets Insights Dataset Config Exclude Cloud Storage Bucket Cloud Storage Bucket> - The list of cloud storage buckets/bucket prefix regexes to exclude in the DatasetConfig.
- cloud
Storage GetBuckets Insights Dataset Config Exclude Cloud Storage Bucket Cloud Storage Bucket[] - The list of cloud storage buckets/bucket prefix regexes to exclude in the DatasetConfig.
- cloud_
storage_ Sequence[Getbuckets Insights Dataset Config Exclude Cloud Storage Bucket Cloud Storage Bucket] - The list of cloud storage buckets/bucket prefix regexes to exclude in the DatasetConfig.
- cloud
Storage List<Property Map>Buckets - The list of cloud storage buckets/bucket prefix regexes to exclude in the DatasetConfig.
GetInsightsDatasetConfigExcludeCloudStorageBucketCloudStorageBucket
- Bucket
Name string - The list of cloud storage bucket names to exclude in the DatasetConfig. Exactly one of the bucket_name and bucket_prefix_regex should be specified.
- Bucket
Prefix stringRegex - The list of regex patterns for bucket names matching the regex. Regex should follow the syntax specified in google/re2 on GitHub. Exactly one of the bucket_name and bucket_prefix_regex should be specified.
- Bucket
Name string - The list of cloud storage bucket names to exclude in the DatasetConfig. Exactly one of the bucket_name and bucket_prefix_regex should be specified.
- Bucket
Prefix stringRegex - The list of regex patterns for bucket names matching the regex. Regex should follow the syntax specified in google/re2 on GitHub. Exactly one of the bucket_name and bucket_prefix_regex should be specified.
- bucket
Name String - The list of cloud storage bucket names to exclude in the DatasetConfig. Exactly one of the bucket_name and bucket_prefix_regex should be specified.
- bucket
Prefix StringRegex - The list of regex patterns for bucket names matching the regex. Regex should follow the syntax specified in google/re2 on GitHub. Exactly one of the bucket_name and bucket_prefix_regex should be specified.
- bucket
Name string - The list of cloud storage bucket names to exclude in the DatasetConfig. Exactly one of the bucket_name and bucket_prefix_regex should be specified.
- bucket
Prefix stringRegex - The list of regex patterns for bucket names matching the regex. Regex should follow the syntax specified in google/re2 on GitHub. Exactly one of the bucket_name and bucket_prefix_regex should be specified.
- bucket_
name str - The list of cloud storage bucket names to exclude in the DatasetConfig. Exactly one of the bucket_name and bucket_prefix_regex should be specified.
- bucket_
prefix_ strregex - The list of regex patterns for bucket names matching the regex. Regex should follow the syntax specified in google/re2 on GitHub. Exactly one of the bucket_name and bucket_prefix_regex should be specified.
- bucket
Name String - The list of cloud storage bucket names to exclude in the DatasetConfig. Exactly one of the bucket_name and bucket_prefix_regex should be specified.
- bucket
Prefix StringRegex - The list of regex patterns for bucket names matching the regex. Regex should follow the syntax specified in google/re2 on GitHub. Exactly one of the bucket_name and bucket_prefix_regex should be specified.
GetInsightsDatasetConfigExcludeCloudStorageLocation
- Locations List<string>
- The list of cloud storage locations to exclude in the DatasetConfig.
- Locations []string
- The list of cloud storage locations to exclude in the DatasetConfig.
- locations List<String>
- The list of cloud storage locations to exclude in the DatasetConfig.
- locations string[]
- The list of cloud storage locations to exclude in the DatasetConfig.
- locations Sequence[str]
- The list of cloud storage locations to exclude in the DatasetConfig.
- locations List<String>
- The list of cloud storage locations to exclude in the DatasetConfig.
GetInsightsDatasetConfigIdentity
GetInsightsDatasetConfigIncludeCloudStorageBucket
- Cloud
Storage List<GetBuckets Insights Dataset Config Include Cloud Storage Bucket Cloud Storage Bucket> - The list of cloud storage buckets/bucket prefix regexes to include in the DatasetConfig.
- Cloud
Storage []GetBuckets Insights Dataset Config Include Cloud Storage Bucket Cloud Storage Bucket - The list of cloud storage buckets/bucket prefix regexes to include in the DatasetConfig.
- cloud
Storage List<GetBuckets Insights Dataset Config Include Cloud Storage Bucket Cloud Storage Bucket> - The list of cloud storage buckets/bucket prefix regexes to include in the DatasetConfig.
- cloud
Storage GetBuckets Insights Dataset Config Include Cloud Storage Bucket Cloud Storage Bucket[] - The list of cloud storage buckets/bucket prefix regexes to include in the DatasetConfig.
- cloud_
storage_ Sequence[Getbuckets Insights Dataset Config Include Cloud Storage Bucket Cloud Storage Bucket] - The list of cloud storage buckets/bucket prefix regexes to include in the DatasetConfig.
- cloud
Storage List<Property Map>Buckets - The list of cloud storage buckets/bucket prefix regexes to include in the DatasetConfig.
GetInsightsDatasetConfigIncludeCloudStorageBucketCloudStorageBucket
- Bucket
Name string - The list of cloud storage bucket names to include in the DatasetConfig. Exactly one of the bucket_name and bucket_prefix_regex should be specified.
- Bucket
Prefix stringRegex - The list of regex patterns for bucket names matching the regex. Regex should follow the syntax specified in google/re2 on GitHub. Exactly one of the bucket_name and bucket_prefix_regex should be specified.
- Bucket
Name string - The list of cloud storage bucket names to include in the DatasetConfig. Exactly one of the bucket_name and bucket_prefix_regex should be specified.
- Bucket
Prefix stringRegex - The list of regex patterns for bucket names matching the regex. Regex should follow the syntax specified in google/re2 on GitHub. Exactly one of the bucket_name and bucket_prefix_regex should be specified.
- bucket
Name String - The list of cloud storage bucket names to include in the DatasetConfig. Exactly one of the bucket_name and bucket_prefix_regex should be specified.
- bucket
Prefix StringRegex - The list of regex patterns for bucket names matching the regex. Regex should follow the syntax specified in google/re2 on GitHub. Exactly one of the bucket_name and bucket_prefix_regex should be specified.
- bucket
Name string - The list of cloud storage bucket names to include in the DatasetConfig. Exactly one of the bucket_name and bucket_prefix_regex should be specified.
- bucket
Prefix stringRegex - The list of regex patterns for bucket names matching the regex. Regex should follow the syntax specified in google/re2 on GitHub. Exactly one of the bucket_name and bucket_prefix_regex should be specified.
- bucket_
name str - The list of cloud storage bucket names to include in the DatasetConfig. Exactly one of the bucket_name and bucket_prefix_regex should be specified.
- bucket_
prefix_ strregex - The list of regex patterns for bucket names matching the regex. Regex should follow the syntax specified in google/re2 on GitHub. Exactly one of the bucket_name and bucket_prefix_regex should be specified.
- bucket
Name String - The list of cloud storage bucket names to include in the DatasetConfig. Exactly one of the bucket_name and bucket_prefix_regex should be specified.
- bucket
Prefix StringRegex - The list of regex patterns for bucket names matching the regex. Regex should follow the syntax specified in google/re2 on GitHub. Exactly one of the bucket_name and bucket_prefix_regex should be specified.
GetInsightsDatasetConfigIncludeCloudStorageLocation
- Locations List<string>
- The list of cloud storage locations to include in the DatasetConfig.
- Locations []string
- The list of cloud storage locations to include in the DatasetConfig.
- locations List<String>
- The list of cloud storage locations to include in the DatasetConfig.
- locations string[]
- The list of cloud storage locations to include in the DatasetConfig.
- locations Sequence[str]
- The list of cloud storage locations to include in the DatasetConfig.
- locations List<String>
- The list of cloud storage locations to include in the DatasetConfig.
GetInsightsDatasetConfigLink
GetInsightsDatasetConfigSourceFolder
- Folder
Numbers List<string> - The list of folder numbers to include in the DatasetConfig.
- Folder
Numbers []string - The list of folder numbers to include in the DatasetConfig.
- folder
Numbers List<String> - The list of folder numbers to include in the DatasetConfig.
- folder
Numbers string[] - The list of folder numbers to include in the DatasetConfig.
- folder_
numbers Sequence[str] - The list of folder numbers to include in the DatasetConfig.
- folder
Numbers List<String> - The list of folder numbers to include in the DatasetConfig.
GetInsightsDatasetConfigSourceProject
- Project
Numbers List<string> - The list of project numbers to include in the DatasetConfig.
- Project
Numbers []string - The list of project numbers to include in the DatasetConfig.
- project
Numbers List<String> - The list of project numbers to include in the DatasetConfig.
- project
Numbers string[] - The list of project numbers to include in the DatasetConfig.
- project_
numbers Sequence[str] - The list of project numbers to include in the DatasetConfig.
- project
Numbers List<String> - The list of project numbers to include in the DatasetConfig.
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.
Viewing docs for Google Cloud v9.16.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 by Pulumi
