Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.logging/v2.OrganizationBucketLink
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link. Auto-naming is currently not supported for this resource.
Create OrganizationBucketLink Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OrganizationBucketLink(name: string, args: OrganizationBucketLinkArgs, opts?: CustomResourceOptions);
@overload
def OrganizationBucketLink(resource_name: str,
args: OrganizationBucketLinkArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OrganizationBucketLink(resource_name: str,
opts: Optional[ResourceOptions] = None,
bucket_id: Optional[str] = None,
link_id: Optional[str] = None,
organization_id: Optional[str] = None,
bigquery_dataset: Optional[BigQueryDatasetArgs] = None,
description: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None)
func NewOrganizationBucketLink(ctx *Context, name string, args OrganizationBucketLinkArgs, opts ...ResourceOption) (*OrganizationBucketLink, error)
public OrganizationBucketLink(string name, OrganizationBucketLinkArgs args, CustomResourceOptions? opts = null)
public OrganizationBucketLink(String name, OrganizationBucketLinkArgs args)
public OrganizationBucketLink(String name, OrganizationBucketLinkArgs args, CustomResourceOptions options)
type: google-native:logging/v2:OrganizationBucketLink
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 OrganizationBucketLinkArgs
- 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 OrganizationBucketLinkArgs
- 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 OrganizationBucketLinkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OrganizationBucketLinkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OrganizationBucketLinkArgs
- 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 organizationBucketLinkResource = new GoogleNative.Logging.V2.OrganizationBucketLink("organizationBucketLinkResource", new()
{
BucketId = "string",
LinkId = "string",
OrganizationId = "string",
BigqueryDataset = null,
Description = "string",
Location = "string",
Name = "string",
});
example, err := logging.NewOrganizationBucketLink(ctx, "organizationBucketLinkResource", &logging.OrganizationBucketLinkArgs{
BucketId: pulumi.String("string"),
LinkId: pulumi.String("string"),
OrganizationId: pulumi.String("string"),
BigqueryDataset: &logging.BigQueryDatasetArgs{},
Description: pulumi.String("string"),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
})
var organizationBucketLinkResource = new OrganizationBucketLink("organizationBucketLinkResource", OrganizationBucketLinkArgs.builder()
.bucketId("string")
.linkId("string")
.organizationId("string")
.bigqueryDataset()
.description("string")
.location("string")
.name("string")
.build());
organization_bucket_link_resource = google_native.logging.v2.OrganizationBucketLink("organizationBucketLinkResource",
bucket_id="string",
link_id="string",
organization_id="string",
bigquery_dataset={},
description="string",
location="string",
name="string")
const organizationBucketLinkResource = new google_native.logging.v2.OrganizationBucketLink("organizationBucketLinkResource", {
bucketId: "string",
linkId: "string",
organizationId: "string",
bigqueryDataset: {},
description: "string",
location: "string",
name: "string",
});
type: google-native:logging/v2:OrganizationBucketLink
properties:
bigqueryDataset: {}
bucketId: string
description: string
linkId: string
location: string
name: string
organizationId: string
OrganizationBucketLink Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The OrganizationBucketLink resource accepts the following input properties:
- Bucket
Id string - Link
Id string - Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.
- Organization
Id string - Bigquery
Dataset Pulumi.Google Native. Logging. V2. Inputs. Big Query 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.
- Description string
- Describes this link.The maximum length of the description is 8000 characters.
- Location string
- Name string
- The resource name of the link. 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. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link
- Bucket
Id string - Link
Id string - Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.
- Organization
Id string - Bigquery
Dataset 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.
- Description string
- Describes this link.The maximum length of the description is 8000 characters.
- Location string
- Name string
- The resource name of the link. 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. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link
- bucket
Id String - link
Id String - Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.
- organization
Id String - bigquery
Dataset 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.
- description String
- Describes this link.The maximum length of the description is 8000 characters.
- location String
- name String
- The resource name of the link. 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. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link
- bucket
Id string - link
Id string - Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.
- organization
Id string - bigquery
Dataset 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.
- description string
- Describes this link.The maximum length of the description is 8000 characters.
- location string
- name string
- The resource name of the link. 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. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link
- bucket_
id str - link_
id str - Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.
- organization_
id str - bigquery_
dataset 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.
- description str
- Describes this link.The maximum length of the description is 8000 characters.
- location str
- name str
- The resource name of the link. 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. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link
- bucket
Id String - link
Id String - Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.
- organization
Id String - bigquery
Dataset 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.
- description String
- Describes this link.The maximum length of the description is 8000 characters.
- location String
- name String
- The resource name of the link. 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. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" For example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link
Outputs
All input properties are implicitly available as output properties. Additionally, the OrganizationBucketLink resource produces the following output properties:
- Create
Time string - The creation timestamp of the link.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
State string - The resource lifecycle state.
- Create
Time string - The creation timestamp of the link.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
State string - The resource lifecycle state.
- create
Time String - The creation timestamp of the link.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
State String - The resource lifecycle state.
- create
Time string - The creation timestamp of the link.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
State string - The resource lifecycle state.
- create_
time str - The creation timestamp of the link.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
state str - The resource lifecycle state.
- create
Time String - The creation timestamp of the link.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
State String - The resource lifecycle state.
Supporting Types
BigQueryDatasetResponse, BigQueryDatasetResponseArgs
- Dataset
Id string - 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 - 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 - 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 - 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 - 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 - 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"
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.