gcp.logging.LinkedDataset
Explore with Pulumi AI
Describes a BigQuery linked dataset
To get more information about LinkedDataset, see:
- API documentation
- How-to Guides
Example Usage
Logging Linked Dataset Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const loggingLinkedDataset = new gcp.logging.ProjectBucketConfig("logging_linked_dataset", {
location: "global",
project: "my-project-name",
enableAnalytics: true,
bucketId: "my-bucket",
});
const loggingLinkedDatasetLinkedDataset = new gcp.logging.LinkedDataset("logging_linked_dataset", {
linkId: "mylink",
bucket: loggingLinkedDataset.id,
description: "Linked dataset test",
});
import pulumi
import pulumi_gcp as gcp
logging_linked_dataset = gcp.logging.ProjectBucketConfig("logging_linked_dataset",
location="global",
project="my-project-name",
enable_analytics=True,
bucket_id="my-bucket")
logging_linked_dataset_linked_dataset = gcp.logging.LinkedDataset("logging_linked_dataset",
link_id="mylink",
bucket=logging_linked_dataset.id,
description="Linked dataset test")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/logging"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
loggingLinkedDataset, err := logging.NewProjectBucketConfig(ctx, "logging_linked_dataset", &logging.ProjectBucketConfigArgs{
Location: pulumi.String("global"),
Project: pulumi.String("my-project-name"),
EnableAnalytics: pulumi.Bool(true),
BucketId: pulumi.String("my-bucket"),
})
if err != nil {
return err
}
_, err = logging.NewLinkedDataset(ctx, "logging_linked_dataset", &logging.LinkedDatasetArgs{
LinkId: pulumi.String("mylink"),
Bucket: loggingLinkedDataset.ID(),
Description: pulumi.String("Linked dataset test"),
})
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 loggingLinkedDataset = new Gcp.Logging.ProjectBucketConfig("logging_linked_dataset", new()
{
Location = "global",
Project = "my-project-name",
EnableAnalytics = true,
BucketId = "my-bucket",
});
var loggingLinkedDatasetLinkedDataset = new Gcp.Logging.LinkedDataset("logging_linked_dataset", new()
{
LinkId = "mylink",
Bucket = loggingLinkedDataset.Id,
Description = "Linked dataset test",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.logging.ProjectBucketConfig;
import com.pulumi.gcp.logging.ProjectBucketConfigArgs;
import com.pulumi.gcp.logging.LinkedDataset;
import com.pulumi.gcp.logging.LinkedDatasetArgs;
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) {
var loggingLinkedDataset = new ProjectBucketConfig("loggingLinkedDataset", ProjectBucketConfigArgs.builder()
.location("global")
.project("my-project-name")
.enableAnalytics(true)
.bucketId("my-bucket")
.build());
var loggingLinkedDatasetLinkedDataset = new LinkedDataset("loggingLinkedDatasetLinkedDataset", LinkedDatasetArgs.builder()
.linkId("mylink")
.bucket(loggingLinkedDataset.id())
.description("Linked dataset test")
.build());
}
}
resources:
loggingLinkedDataset:
type: gcp:logging:ProjectBucketConfig
name: logging_linked_dataset
properties:
location: global
project: my-project-name
enableAnalytics: true
bucketId: my-bucket
loggingLinkedDatasetLinkedDataset:
type: gcp:logging:LinkedDataset
name: logging_linked_dataset
properties:
linkId: mylink
bucket: ${loggingLinkedDataset.id}
description: Linked dataset test
Logging Linked Dataset All Params
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const loggingLinkedDataset = new gcp.logging.ProjectBucketConfig("logging_linked_dataset", {
location: "global",
project: "my-project-name",
enableAnalytics: true,
bucketId: "my-bucket",
});
const loggingLinkedDatasetLinkedDataset = new gcp.logging.LinkedDataset("logging_linked_dataset", {
linkId: "mylink",
bucket: "my-bucket",
parent: "projects/my-project-name",
location: "global",
description: "Linked dataset test",
}, {
dependsOn: [loggingLinkedDataset],
});
import pulumi
import pulumi_gcp as gcp
logging_linked_dataset = gcp.logging.ProjectBucketConfig("logging_linked_dataset",
location="global",
project="my-project-name",
enable_analytics=True,
bucket_id="my-bucket")
logging_linked_dataset_linked_dataset = gcp.logging.LinkedDataset("logging_linked_dataset",
link_id="mylink",
bucket="my-bucket",
parent="projects/my-project-name",
location="global",
description="Linked dataset test",
opts = pulumi.ResourceOptions(depends_on=[logging_linked_dataset]))
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/logging"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
loggingLinkedDataset, err := logging.NewProjectBucketConfig(ctx, "logging_linked_dataset", &logging.ProjectBucketConfigArgs{
Location: pulumi.String("global"),
Project: pulumi.String("my-project-name"),
EnableAnalytics: pulumi.Bool(true),
BucketId: pulumi.String("my-bucket"),
})
if err != nil {
return err
}
_, err = logging.NewLinkedDataset(ctx, "logging_linked_dataset", &logging.LinkedDatasetArgs{
LinkId: pulumi.String("mylink"),
Bucket: pulumi.String("my-bucket"),
Parent: pulumi.String("projects/my-project-name"),
Location: pulumi.String("global"),
Description: pulumi.String("Linked dataset test"),
}, pulumi.DependsOn([]pulumi.Resource{
loggingLinkedDataset,
}))
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 loggingLinkedDataset = new Gcp.Logging.ProjectBucketConfig("logging_linked_dataset", new()
{
Location = "global",
Project = "my-project-name",
EnableAnalytics = true,
BucketId = "my-bucket",
});
var loggingLinkedDatasetLinkedDataset = new Gcp.Logging.LinkedDataset("logging_linked_dataset", new()
{
LinkId = "mylink",
Bucket = "my-bucket",
Parent = "projects/my-project-name",
Location = "global",
Description = "Linked dataset test",
}, new CustomResourceOptions
{
DependsOn =
{
loggingLinkedDataset,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.logging.ProjectBucketConfig;
import com.pulumi.gcp.logging.ProjectBucketConfigArgs;
import com.pulumi.gcp.logging.LinkedDataset;
import com.pulumi.gcp.logging.LinkedDatasetArgs;
import com.pulumi.resources.CustomResourceOptions;
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) {
var loggingLinkedDataset = new ProjectBucketConfig("loggingLinkedDataset", ProjectBucketConfigArgs.builder()
.location("global")
.project("my-project-name")
.enableAnalytics(true)
.bucketId("my-bucket")
.build());
var loggingLinkedDatasetLinkedDataset = new LinkedDataset("loggingLinkedDatasetLinkedDataset", LinkedDatasetArgs.builder()
.linkId("mylink")
.bucket("my-bucket")
.parent("projects/my-project-name")
.location("global")
.description("Linked dataset test")
.build(), CustomResourceOptions.builder()
.dependsOn(loggingLinkedDataset)
.build());
}
}
resources:
loggingLinkedDataset:
type: gcp:logging:ProjectBucketConfig
name: logging_linked_dataset
properties:
location: global
project: my-project-name
enableAnalytics: true
bucketId: my-bucket
loggingLinkedDatasetLinkedDataset:
type: gcp:logging:LinkedDataset
name: logging_linked_dataset
properties:
linkId: mylink
bucket: my-bucket
parent: projects/my-project-name
location: global
description: Linked dataset test
options:
dependson:
- ${loggingLinkedDataset}
Create LinkedDataset Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LinkedDataset(name: string, args: LinkedDatasetArgs, opts?: CustomResourceOptions);
@overload
def LinkedDataset(resource_name: str,
args: LinkedDatasetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LinkedDataset(resource_name: str,
opts: Optional[ResourceOptions] = None,
bucket: Optional[str] = None,
link_id: Optional[str] = None,
bigquery_datasets: Optional[Sequence[LinkedDatasetBigqueryDatasetArgs]] = None,
description: Optional[str] = None,
location: Optional[str] = None,
parent: Optional[str] = None)
func NewLinkedDataset(ctx *Context, name string, args LinkedDatasetArgs, opts ...ResourceOption) (*LinkedDataset, error)
public LinkedDataset(string name, LinkedDatasetArgs args, CustomResourceOptions? opts = null)
public LinkedDataset(String name, LinkedDatasetArgs args)
public LinkedDataset(String name, LinkedDatasetArgs args, CustomResourceOptions options)
type: gcp:logging:LinkedDataset
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args LinkedDatasetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LinkedDatasetArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LinkedDatasetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LinkedDatasetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LinkedDatasetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var linkedDatasetResource = new Gcp.Logging.LinkedDataset("linkedDatasetResource", new()
{
Bucket = "string",
LinkId = "string",
BigqueryDatasets = new[]
{
new Gcp.Logging.Inputs.LinkedDatasetBigqueryDatasetArgs
{
DatasetId = "string",
},
},
Description = "string",
Location = "string",
Parent = "string",
});
example, err := logging.NewLinkedDataset(ctx, "linkedDatasetResource", &logging.LinkedDatasetArgs{
Bucket: pulumi.String("string"),
LinkId: pulumi.String("string"),
BigqueryDatasets: logging.LinkedDatasetBigqueryDatasetArray{
&logging.LinkedDatasetBigqueryDatasetArgs{
DatasetId: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
Location: pulumi.String("string"),
Parent: pulumi.String("string"),
})
var linkedDatasetResource = new LinkedDataset("linkedDatasetResource", LinkedDatasetArgs.builder()
.bucket("string")
.linkId("string")
.bigqueryDatasets(LinkedDatasetBigqueryDatasetArgs.builder()
.datasetId("string")
.build())
.description("string")
.location("string")
.parent("string")
.build());
linked_dataset_resource = gcp.logging.LinkedDataset("linkedDatasetResource",
bucket="string",
link_id="string",
bigquery_datasets=[gcp.logging.LinkedDatasetBigqueryDatasetArgs(
dataset_id="string",
)],
description="string",
location="string",
parent="string")
const linkedDatasetResource = new gcp.logging.LinkedDataset("linkedDatasetResource", {
bucket: "string",
linkId: "string",
bigqueryDatasets: [{
datasetId: "string",
}],
description: "string",
location: "string",
parent: "string",
});
type: gcp:logging:LinkedDataset
properties:
bigqueryDatasets:
- datasetId: string
bucket: string
description: string
linkId: string
location: string
parent: string
LinkedDataset Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The LinkedDataset resource accepts the following input properties:
- Bucket string
- The bucket to which the linked dataset is attached.
- Link
Id string - The id of the linked dataset.
- Bigquery
Datasets List<LinkedDataset Bigquery Dataset> - The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket. Structure is documented below.
- Description string
- Describes this link. The maximum length of the description is 8000 characters.
- Location string
- The location of the linked dataset.
- Parent string
- The parent of the linked dataset.
- Bucket string
- The bucket to which the linked dataset is attached.
- Link
Id string - The id of the linked dataset.
- Bigquery
Datasets []LinkedDataset Bigquery Dataset Args - The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket. Structure is documented below.
- Description string
- Describes this link. The maximum length of the description is 8000 characters.
- Location string
- The location of the linked dataset.
- Parent string
- The parent of the linked dataset.
- bucket String
- The bucket to which the linked dataset is attached.
- link
Id String - The id of the linked dataset.
- bigquery
Datasets List<LinkedDataset Bigquery Dataset> - The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket. Structure is documented below.
- description String
- Describes this link. The maximum length of the description is 8000 characters.
- location String
- The location of the linked dataset.
- parent String
- The parent of the linked dataset.
- bucket string
- The bucket to which the linked dataset is attached.
- link
Id string - The id of the linked dataset.
- bigquery
Datasets LinkedDataset Bigquery Dataset[] - The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket. Structure is documented below.
- description string
- Describes this link. The maximum length of the description is 8000 characters.
- location string
- The location of the linked dataset.
- parent string
- The parent of the linked dataset.
- bucket str
- The bucket to which the linked dataset is attached.
- link_
id str - The id of the linked dataset.
- bigquery_
datasets Sequence[LinkedDataset Bigquery Dataset Args] - The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket. Structure is documented below.
- description str
- Describes this link. The maximum length of the description is 8000 characters.
- location str
- The location of the linked dataset.
- parent str
- The parent of the linked dataset.
- bucket String
- The bucket to which the linked dataset is attached.
- link
Id String - The id of the linked dataset.
- bigquery
Datasets List<Property Map> - The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket. Structure is documented below.
- description String
- Describes this link. The maximum length of the description is 8000 characters.
- location String
- The location of the linked dataset.
- parent String
- The parent of the linked dataset.
Outputs
All input properties are implicitly available as output properties. Additionally, the LinkedDataset resource produces the following output properties:
- Create
Time string - Output only. The creation timestamp of the link. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
State string - Output only. The linked dataset lifecycle state.
- Name string
- The resource name of the linked dataset. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it.
- Create
Time string - Output only. The creation timestamp of the link. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
State string - Output only. The linked dataset lifecycle state.
- Name string
- The resource name of the linked dataset. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it.
- create
Time String - Output only. The creation timestamp of the link. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
State String - Output only. The linked dataset lifecycle state.
- name String
- The resource name of the linked dataset. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it.
- create
Time string - Output only. The creation timestamp of the link. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
State string - Output only. The linked dataset lifecycle state.
- name string
- The resource name of the linked dataset. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it.
- create_
time str - Output only. The creation timestamp of the link. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
state str - Output only. The linked dataset lifecycle state.
- name str
- The resource name of the linked dataset. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it.
- create
Time String - Output only. The creation timestamp of the link. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
State String - Output only. The linked dataset lifecycle state.
- name String
- The resource name of the linked dataset. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it.
Look up Existing LinkedDataset Resource
Get an existing LinkedDataset resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: LinkedDatasetState, opts?: CustomResourceOptions): LinkedDataset
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bigquery_datasets: Optional[Sequence[LinkedDatasetBigqueryDatasetArgs]] = None,
bucket: Optional[str] = None,
create_time: Optional[str] = None,
description: Optional[str] = None,
lifecycle_state: Optional[str] = None,
link_id: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
parent: Optional[str] = None) -> LinkedDataset
func GetLinkedDataset(ctx *Context, name string, id IDInput, state *LinkedDatasetState, opts ...ResourceOption) (*LinkedDataset, error)
public static LinkedDataset Get(string name, Input<string> id, LinkedDatasetState? state, CustomResourceOptions? opts = null)
public static LinkedDataset get(String name, Output<String> id, LinkedDatasetState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Bigquery
Datasets List<LinkedDataset Bigquery Dataset> - The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket. Structure is documented below.
- Bucket string
- The bucket to which the linked dataset is attached.
- Create
Time string - Output only. The creation timestamp of the link. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- Description string
- Describes this link. The maximum length of the description is 8000 characters.
- Lifecycle
State string - Output only. The linked dataset lifecycle state.
- Link
Id string - The id of the linked dataset.
- Location string
- The location of the linked dataset.
- Name string
- The resource name of the linked dataset. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it.
- Parent string
- The parent of the linked dataset.
- Bigquery
Datasets []LinkedDataset Bigquery Dataset Args - The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket. Structure is documented below.
- Bucket string
- The bucket to which the linked dataset is attached.
- Create
Time string - Output only. The creation timestamp of the link. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- Description string
- Describes this link. The maximum length of the description is 8000 characters.
- Lifecycle
State string - Output only. The linked dataset lifecycle state.
- Link
Id string - The id of the linked dataset.
- Location string
- The location of the linked dataset.
- Name string
- The resource name of the linked dataset. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it.
- Parent string
- The parent of the linked dataset.
- bigquery
Datasets List<LinkedDataset Bigquery Dataset> - The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket. Structure is documented below.
- bucket String
- The bucket to which the linked dataset is attached.
- create
Time String - Output only. The creation timestamp of the link. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- description String
- Describes this link. The maximum length of the description is 8000 characters.
- lifecycle
State String - Output only. The linked dataset lifecycle state.
- link
Id String - The id of the linked dataset.
- location String
- The location of the linked dataset.
- name String
- The resource name of the linked dataset. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it.
- parent String
- The parent of the linked dataset.
- bigquery
Datasets LinkedDataset Bigquery Dataset[] - The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket. Structure is documented below.
- bucket string
- The bucket to which the linked dataset is attached.
- create
Time string - Output only. The creation timestamp of the link. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- description string
- Describes this link. The maximum length of the description is 8000 characters.
- lifecycle
State string - Output only. The linked dataset lifecycle state.
- link
Id string - The id of the linked dataset.
- location string
- The location of the linked dataset.
- name string
- The resource name of the linked dataset. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it.
- parent string
- The parent of the linked dataset.
- bigquery_
datasets Sequence[LinkedDataset Bigquery Dataset Args] - The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket. Structure is documented below.
- bucket str
- The bucket to which the linked dataset is attached.
- create_
time str - Output only. The creation timestamp of the link. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- description str
- Describes this link. The maximum length of the description is 8000 characters.
- lifecycle_
state str - Output only. The linked dataset lifecycle state.
- link_
id str - The id of the linked dataset.
- location str
- The location of the linked dataset.
- name str
- The resource name of the linked dataset. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it.
- parent str
- The parent of the linked dataset.
- bigquery
Datasets List<Property Map> - The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket. Structure is documented below.
- bucket String
- The bucket to which the linked dataset is attached.
- create
Time String - Output only. The creation timestamp of the link. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- description String
- Describes this link. The maximum length of the description is 8000 characters.
- lifecycle
State String - Output only. The linked dataset lifecycle state.
- link
Id String - The id of the linked dataset.
- location String
- The location of the linked dataset.
- name String
- The resource name of the linked dataset. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it.
- parent String
- The parent of the linked dataset.
Supporting Types
LinkedDatasetBigqueryDataset, LinkedDatasetBigqueryDatasetArgs
- Dataset
Id string - (Output) Output only. The full resource name of the BigQuery dataset. The DATASET_ID will match the ID of the link, so the link must match the naming restrictions of BigQuery datasets (alphanumeric characters and underscores only). The dataset will have a resource path of "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]"
- Dataset
Id string - (Output) Output only. The full resource name of the BigQuery dataset. The DATASET_ID will match the ID of the link, so the link must match the naming restrictions of BigQuery datasets (alphanumeric characters and underscores only). The dataset will have a resource path of "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]"
- dataset
Id String - (Output) Output only. The full resource name of the BigQuery dataset. The DATASET_ID will match the ID of the link, so the link must match the naming restrictions of BigQuery datasets (alphanumeric characters and underscores only). The dataset will have a resource path of "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]"
- dataset
Id string - (Output) Output only. The full resource name of the BigQuery dataset. The DATASET_ID will match the ID of the link, so the link must match the naming restrictions of BigQuery datasets (alphanumeric characters and underscores only). The dataset will have a resource path of "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]"
- dataset_
id str - (Output) Output only. The full resource name of the BigQuery dataset. The DATASET_ID will match the ID of the link, so the link must match the naming restrictions of BigQuery datasets (alphanumeric characters and underscores only). The dataset will have a resource path of "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]"
- dataset
Id String - (Output) Output only. The full resource name of the BigQuery dataset. The DATASET_ID will match the ID of the link, so the link must match the naming restrictions of BigQuery datasets (alphanumeric characters and underscores only). The dataset will have a resource path of "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]"
Import
LinkedDataset can be imported using any of these accepted formats:
{{parent}}/locations/{{location}}/buckets/{{bucket}}/links/{{link_id}}
When using the pulumi import
command, LinkedDataset can be imported using one of the formats above. For example:
$ pulumi import gcp:logging/linkedDataset:LinkedDataset default {{parent}}/locations/{{location}}/buckets/{{bucket}}/links/{{link_id}}
To learn more about importing existing cloud resources, see Importing resources.
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.