1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. chronicle
  5. DataAccessLabel
Google Cloud v8.23.0 published on Monday, Mar 24, 2025 by Pulumi

gcp.chronicle.DataAccessLabel

Explore with Pulumi AI

Example Usage

Chronicle Dataaccesslabel Basic

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const example = new gcp.chronicle.DataAccessLabel("example", {
    location: "us",
    instance: "00000000-0000-0000-0000-000000000000",
    dataAccessLabelId: "label-id",
    udmQuery: "principal.hostname=\"google.com\"",
    description: "label-description",
});
Copy
import pulumi
import pulumi_gcp as gcp

example = gcp.chronicle.DataAccessLabel("example",
    location="us",
    instance="00000000-0000-0000-0000-000000000000",
    data_access_label_id="label-id",
    udm_query="principal.hostname=\"google.com\"",
    description="label-description")
Copy
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/chronicle"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := chronicle.NewDataAccessLabel(ctx, "example", &chronicle.DataAccessLabelArgs{
			Location:          pulumi.String("us"),
			Instance:          pulumi.String("00000000-0000-0000-0000-000000000000"),
			DataAccessLabelId: pulumi.String("label-id"),
			UdmQuery:          pulumi.String("principal.hostname=\"google.com\""),
			Description:       pulumi.String("label-description"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var example = new Gcp.Chronicle.DataAccessLabel("example", new()
    {
        Location = "us",
        Instance = "00000000-0000-0000-0000-000000000000",
        DataAccessLabelId = "label-id",
        UdmQuery = "principal.hostname=\"google.com\"",
        Description = "label-description",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.chronicle.DataAccessLabel;
import com.pulumi.gcp.chronicle.DataAccessLabelArgs;
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 example = new DataAccessLabel("example", DataAccessLabelArgs.builder()
            .location("us")
            .instance("00000000-0000-0000-0000-000000000000")
            .dataAccessLabelId("label-id")
            .udmQuery("principal.hostname=\"google.com\"")
            .description("label-description")
            .build());

    }
}
Copy
resources:
  example:
    type: gcp:chronicle:DataAccessLabel
    properties:
      location: us
      instance: 00000000-0000-0000-0000-000000000000
      dataAccessLabelId: label-id
      udmQuery: principal.hostname="google.com"
      description: label-description
Copy

Create DataAccessLabel Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new DataAccessLabel(name: string, args: DataAccessLabelArgs, opts?: CustomResourceOptions);
@overload
def DataAccessLabel(resource_name: str,
                    args: DataAccessLabelArgs,
                    opts: Optional[ResourceOptions] = None)

@overload
def DataAccessLabel(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    data_access_label_id: Optional[str] = None,
                    instance: Optional[str] = None,
                    location: Optional[str] = None,
                    udm_query: Optional[str] = None,
                    description: Optional[str] = None,
                    project: Optional[str] = None)
func NewDataAccessLabel(ctx *Context, name string, args DataAccessLabelArgs, opts ...ResourceOption) (*DataAccessLabel, error)
public DataAccessLabel(string name, DataAccessLabelArgs args, CustomResourceOptions? opts = null)
public DataAccessLabel(String name, DataAccessLabelArgs args)
public DataAccessLabel(String name, DataAccessLabelArgs args, CustomResourceOptions options)
type: gcp:chronicle:DataAccessLabel
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DataAccessLabelArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DataAccessLabelArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DataAccessLabelArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DataAccessLabelArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DataAccessLabelArgs
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 dataAccessLabelResource = new Gcp.Chronicle.DataAccessLabel("dataAccessLabelResource", new()
{
    DataAccessLabelId = "string",
    Instance = "string",
    Location = "string",
    UdmQuery = "string",
    Description = "string",
    Project = "string",
});
Copy
example, err := chronicle.NewDataAccessLabel(ctx, "dataAccessLabelResource", &chronicle.DataAccessLabelArgs{
	DataAccessLabelId: pulumi.String("string"),
	Instance:          pulumi.String("string"),
	Location:          pulumi.String("string"),
	UdmQuery:          pulumi.String("string"),
	Description:       pulumi.String("string"),
	Project:           pulumi.String("string"),
})
Copy
var dataAccessLabelResource = new DataAccessLabel("dataAccessLabelResource", DataAccessLabelArgs.builder()
    .dataAccessLabelId("string")
    .instance("string")
    .location("string")
    .udmQuery("string")
    .description("string")
    .project("string")
    .build());
Copy
data_access_label_resource = gcp.chronicle.DataAccessLabel("dataAccessLabelResource",
    data_access_label_id="string",
    instance="string",
    location="string",
    udm_query="string",
    description="string",
    project="string")
Copy
const dataAccessLabelResource = new gcp.chronicle.DataAccessLabel("dataAccessLabelResource", {
    dataAccessLabelId: "string",
    instance: "string",
    location: "string",
    udmQuery: "string",
    description: "string",
    project: "string",
});
Copy
type: gcp:chronicle:DataAccessLabel
properties:
    dataAccessLabelId: string
    description: string
    instance: string
    location: string
    project: string
    udmQuery: string
Copy

DataAccessLabel 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 DataAccessLabel resource accepts the following input properties:

DataAccessLabelId
This property is required.
Changes to this property will trigger replacement.
string
Required. The ID to use for the data access label, which will become the label's display name and the final component of the label's resource name. The maximum number of characters should be 63. Regex pattern is as per AIP: https://google.aip.dev/122#resource-id-segments


Instance
This property is required.
Changes to this property will trigger replacement.
string
The unique identifier for the Chronicle instance, which is the same as the customer ID.
Location
This property is required.
Changes to this property will trigger replacement.
string
The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
UdmQuery This property is required. string
A UDM query over event data.
Description string
Optional. A description of the data access label for a human reader.
Project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
DataAccessLabelId
This property is required.
Changes to this property will trigger replacement.
string
Required. The ID to use for the data access label, which will become the label's display name and the final component of the label's resource name. The maximum number of characters should be 63. Regex pattern is as per AIP: https://google.aip.dev/122#resource-id-segments


Instance
This property is required.
Changes to this property will trigger replacement.
string
The unique identifier for the Chronicle instance, which is the same as the customer ID.
Location
This property is required.
Changes to this property will trigger replacement.
string
The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
UdmQuery This property is required. string
A UDM query over event data.
Description string
Optional. A description of the data access label for a human reader.
Project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
dataAccessLabelId
This property is required.
Changes to this property will trigger replacement.
String
Required. The ID to use for the data access label, which will become the label's display name and the final component of the label's resource name. The maximum number of characters should be 63. Regex pattern is as per AIP: https://google.aip.dev/122#resource-id-segments


instance
This property is required.
Changes to this property will trigger replacement.
String
The unique identifier for the Chronicle instance, which is the same as the customer ID.
location
This property is required.
Changes to this property will trigger replacement.
String
The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
udmQuery This property is required. String
A UDM query over event data.
description String
Optional. A description of the data access label for a human reader.
project Changes to this property will trigger replacement. String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
dataAccessLabelId
This property is required.
Changes to this property will trigger replacement.
string
Required. The ID to use for the data access label, which will become the label's display name and the final component of the label's resource name. The maximum number of characters should be 63. Regex pattern is as per AIP: https://google.aip.dev/122#resource-id-segments


instance
This property is required.
Changes to this property will trigger replacement.
string
The unique identifier for the Chronicle instance, which is the same as the customer ID.
location
This property is required.
Changes to this property will trigger replacement.
string
The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
udmQuery This property is required. string
A UDM query over event data.
description string
Optional. A description of the data access label for a human reader.
project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
data_access_label_id
This property is required.
Changes to this property will trigger replacement.
str
Required. The ID to use for the data access label, which will become the label's display name and the final component of the label's resource name. The maximum number of characters should be 63. Regex pattern is as per AIP: https://google.aip.dev/122#resource-id-segments


instance
This property is required.
Changes to this property will trigger replacement.
str
The unique identifier for the Chronicle instance, which is the same as the customer ID.
location
This property is required.
Changes to this property will trigger replacement.
str
The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
udm_query This property is required. str
A UDM query over event data.
description str
Optional. A description of the data access label for a human reader.
project Changes to this property will trigger replacement. str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
dataAccessLabelId
This property is required.
Changes to this property will trigger replacement.
String
Required. The ID to use for the data access label, which will become the label's display name and the final component of the label's resource name. The maximum number of characters should be 63. Regex pattern is as per AIP: https://google.aip.dev/122#resource-id-segments


instance
This property is required.
Changes to this property will trigger replacement.
String
The unique identifier for the Chronicle instance, which is the same as the customer ID.
location
This property is required.
Changes to this property will trigger replacement.
String
The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
udmQuery This property is required. String
A UDM query over event data.
description String
Optional. A description of the data access label for a human reader.
project Changes to this property will trigger replacement. String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Outputs

All input properties are implicitly available as output properties. Additionally, the DataAccessLabel resource produces the following output properties:

Author string
Output only. The user who created the data access label.
CreateTime string
Output only. The time at which the data access label was created.
DisplayName string
Output only. The short name displayed for the label as it appears on event data. This is same as data access label id.
Id string
The provider-assigned unique ID for this managed resource.
LastEditor string
Output only. The user who last updated the data access label.
Name string
The unique resource name of the data access label. This unique identifier is generated using values provided for the URL parameters. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label_id}
UpdateTime string
Output only. The time at which the data access label was last updated.
Author string
Output only. The user who created the data access label.
CreateTime string
Output only. The time at which the data access label was created.
DisplayName string
Output only. The short name displayed for the label as it appears on event data. This is same as data access label id.
Id string
The provider-assigned unique ID for this managed resource.
LastEditor string
Output only. The user who last updated the data access label.
Name string
The unique resource name of the data access label. This unique identifier is generated using values provided for the URL parameters. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label_id}
UpdateTime string
Output only. The time at which the data access label was last updated.
author String
Output only. The user who created the data access label.
createTime String
Output only. The time at which the data access label was created.
displayName String
Output only. The short name displayed for the label as it appears on event data. This is same as data access label id.
id String
The provider-assigned unique ID for this managed resource.
lastEditor String
Output only. The user who last updated the data access label.
name String
The unique resource name of the data access label. This unique identifier is generated using values provided for the URL parameters. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label_id}
updateTime String
Output only. The time at which the data access label was last updated.
author string
Output only. The user who created the data access label.
createTime string
Output only. The time at which the data access label was created.
displayName string
Output only. The short name displayed for the label as it appears on event data. This is same as data access label id.
id string
The provider-assigned unique ID for this managed resource.
lastEditor string
Output only. The user who last updated the data access label.
name string
The unique resource name of the data access label. This unique identifier is generated using values provided for the URL parameters. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label_id}
updateTime string
Output only. The time at which the data access label was last updated.
author str
Output only. The user who created the data access label.
create_time str
Output only. The time at which the data access label was created.
display_name str
Output only. The short name displayed for the label as it appears on event data. This is same as data access label id.
id str
The provider-assigned unique ID for this managed resource.
last_editor str
Output only. The user who last updated the data access label.
name str
The unique resource name of the data access label. This unique identifier is generated using values provided for the URL parameters. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label_id}
update_time str
Output only. The time at which the data access label was last updated.
author String
Output only. The user who created the data access label.
createTime String
Output only. The time at which the data access label was created.
displayName String
Output only. The short name displayed for the label as it appears on event data. This is same as data access label id.
id String
The provider-assigned unique ID for this managed resource.
lastEditor String
Output only. The user who last updated the data access label.
name String
The unique resource name of the data access label. This unique identifier is generated using values provided for the URL parameters. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label_id}
updateTime String
Output only. The time at which the data access label was last updated.

Look up Existing DataAccessLabel Resource

Get an existing DataAccessLabel 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?: DataAccessLabelState, opts?: CustomResourceOptions): DataAccessLabel
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        author: Optional[str] = None,
        create_time: Optional[str] = None,
        data_access_label_id: Optional[str] = None,
        description: Optional[str] = None,
        display_name: Optional[str] = None,
        instance: Optional[str] = None,
        last_editor: Optional[str] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        project: Optional[str] = None,
        udm_query: Optional[str] = None,
        update_time: Optional[str] = None) -> DataAccessLabel
func GetDataAccessLabel(ctx *Context, name string, id IDInput, state *DataAccessLabelState, opts ...ResourceOption) (*DataAccessLabel, error)
public static DataAccessLabel Get(string name, Input<string> id, DataAccessLabelState? state, CustomResourceOptions? opts = null)
public static DataAccessLabel get(String name, Output<String> id, DataAccessLabelState state, CustomResourceOptions options)
resources:  _:    type: gcp:chronicle:DataAccessLabel    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
Author string
Output only. The user who created the data access label.
CreateTime string
Output only. The time at which the data access label was created.
DataAccessLabelId Changes to this property will trigger replacement. string
Required. The ID to use for the data access label, which will become the label's display name and the final component of the label's resource name. The maximum number of characters should be 63. Regex pattern is as per AIP: https://google.aip.dev/122#resource-id-segments


Description string
Optional. A description of the data access label for a human reader.
DisplayName string
Output only. The short name displayed for the label as it appears on event data. This is same as data access label id.
Instance Changes to this property will trigger replacement. string
The unique identifier for the Chronicle instance, which is the same as the customer ID.
LastEditor string
Output only. The user who last updated the data access label.
Location Changes to this property will trigger replacement. string
The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
Name string
The unique resource name of the data access label. This unique identifier is generated using values provided for the URL parameters. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label_id}
Project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
UdmQuery string
A UDM query over event data.
UpdateTime string
Output only. The time at which the data access label was last updated.
Author string
Output only. The user who created the data access label.
CreateTime string
Output only. The time at which the data access label was created.
DataAccessLabelId Changes to this property will trigger replacement. string
Required. The ID to use for the data access label, which will become the label's display name and the final component of the label's resource name. The maximum number of characters should be 63. Regex pattern is as per AIP: https://google.aip.dev/122#resource-id-segments


Description string
Optional. A description of the data access label for a human reader.
DisplayName string
Output only. The short name displayed for the label as it appears on event data. This is same as data access label id.
Instance Changes to this property will trigger replacement. string
The unique identifier for the Chronicle instance, which is the same as the customer ID.
LastEditor string
Output only. The user who last updated the data access label.
Location Changes to this property will trigger replacement. string
The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
Name string
The unique resource name of the data access label. This unique identifier is generated using values provided for the URL parameters. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label_id}
Project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
UdmQuery string
A UDM query over event data.
UpdateTime string
Output only. The time at which the data access label was last updated.
author String
Output only. The user who created the data access label.
createTime String
Output only. The time at which the data access label was created.
dataAccessLabelId Changes to this property will trigger replacement. String
Required. The ID to use for the data access label, which will become the label's display name and the final component of the label's resource name. The maximum number of characters should be 63. Regex pattern is as per AIP: https://google.aip.dev/122#resource-id-segments


description String
Optional. A description of the data access label for a human reader.
displayName String
Output only. The short name displayed for the label as it appears on event data. This is same as data access label id.
instance Changes to this property will trigger replacement. String
The unique identifier for the Chronicle instance, which is the same as the customer ID.
lastEditor String
Output only. The user who last updated the data access label.
location Changes to this property will trigger replacement. String
The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
name String
The unique resource name of the data access label. This unique identifier is generated using values provided for the URL parameters. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label_id}
project Changes to this property will trigger replacement. String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
udmQuery String
A UDM query over event data.
updateTime String
Output only. The time at which the data access label was last updated.
author string
Output only. The user who created the data access label.
createTime string
Output only. The time at which the data access label was created.
dataAccessLabelId Changes to this property will trigger replacement. string
Required. The ID to use for the data access label, which will become the label's display name and the final component of the label's resource name. The maximum number of characters should be 63. Regex pattern is as per AIP: https://google.aip.dev/122#resource-id-segments


description string
Optional. A description of the data access label for a human reader.
displayName string
Output only. The short name displayed for the label as it appears on event data. This is same as data access label id.
instance Changes to this property will trigger replacement. string
The unique identifier for the Chronicle instance, which is the same as the customer ID.
lastEditor string
Output only. The user who last updated the data access label.
location Changes to this property will trigger replacement. string
The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
name string
The unique resource name of the data access label. This unique identifier is generated using values provided for the URL parameters. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label_id}
project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
udmQuery string
A UDM query over event data.
updateTime string
Output only. The time at which the data access label was last updated.
author str
Output only. The user who created the data access label.
create_time str
Output only. The time at which the data access label was created.
data_access_label_id Changes to this property will trigger replacement. str
Required. The ID to use for the data access label, which will become the label's display name and the final component of the label's resource name. The maximum number of characters should be 63. Regex pattern is as per AIP: https://google.aip.dev/122#resource-id-segments


description str
Optional. A description of the data access label for a human reader.
display_name str
Output only. The short name displayed for the label as it appears on event data. This is same as data access label id.
instance Changes to this property will trigger replacement. str
The unique identifier for the Chronicle instance, which is the same as the customer ID.
last_editor str
Output only. The user who last updated the data access label.
location Changes to this property will trigger replacement. str
The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
name str
The unique resource name of the data access label. This unique identifier is generated using values provided for the URL parameters. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label_id}
project Changes to this property will trigger replacement. str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
udm_query str
A UDM query over event data.
update_time str
Output only. The time at which the data access label was last updated.
author String
Output only. The user who created the data access label.
createTime String
Output only. The time at which the data access label was created.
dataAccessLabelId Changes to this property will trigger replacement. String
Required. The ID to use for the data access label, which will become the label's display name and the final component of the label's resource name. The maximum number of characters should be 63. Regex pattern is as per AIP: https://google.aip.dev/122#resource-id-segments


description String
Optional. A description of the data access label for a human reader.
displayName String
Output only. The short name displayed for the label as it appears on event data. This is same as data access label id.
instance Changes to this property will trigger replacement. String
The unique identifier for the Chronicle instance, which is the same as the customer ID.
lastEditor String
Output only. The user who last updated the data access label.
location Changes to this property will trigger replacement. String
The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
name String
The unique resource name of the data access label. This unique identifier is generated using values provided for the URL parameters. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label_id}
project Changes to this property will trigger replacement. String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
udmQuery String
A UDM query over event data.
updateTime String
Output only. The time at which the data access label was last updated.

Import

DataAccessLabel can be imported using any of these accepted formats:

  • projects/{{project}}/locations/{{location}}/instances/{{instance}}/dataAccessLabels/{{data_access_label_id}}

  • {{project}}/{{location}}/{{instance}}/{{data_access_label_id}}

  • {{location}}/{{instance}}/{{data_access_label_id}}

When using the pulumi import command, DataAccessLabel can be imported using one of the formats above. For example:

$ pulumi import gcp:chronicle/dataAccessLabel:DataAccessLabel default projects/{{project}}/locations/{{location}}/instances/{{instance}}/dataAccessLabels/{{data_access_label_id}}
Copy
$ pulumi import gcp:chronicle/dataAccessLabel:DataAccessLabel default {{project}}/{{location}}/{{instance}}/{{data_access_label_id}}
Copy
$ pulumi import gcp:chronicle/dataAccessLabel:DataAccessLabel default {{location}}/{{instance}}/{{data_access_label_id}}
Copy

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.