Taxonomy

Example Usage

Data Catalog Taxonomy Basic

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.datacatalog.Taxonomy;
import com.pulumi.gcp.datacatalog.TaxonomyArgs;
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 basicTaxonomy = new Taxonomy("basicTaxonomy", TaxonomyArgs.builder()
.region("us")
.displayName("my_display_name")
.description("A collection of policy tags")
.activatedPolicyTypes("FINE_GRAINED_ACCESS_CONTROL")
.build(), CustomResourceOptions.builder()
.provider(google_beta)
.build());
}
}

Import

Taxonomy can be imported using any of these accepted formats

$ pulumi import gcp:datacatalog/taxonomy:Taxonomy default {{name}}

Properties

Link copied to clipboard

A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list. Each value may be one of POLICY_TYPE_UNSPECIFIED and FINE_GRAINED_ACCESS_CONTROL.

Link copied to clipboard
val description: Output<String>?

Description of this taxonomy. It must: contain only unicode characters, tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes long when encoded in UTF-8. If not set, defaults to an empty description.

Link copied to clipboard
val displayName: Output<String>

User defined name of this taxonomy. It must: contain only unicode letters, numbers, underscores, dashes and spaces; not start or end with spaces; and be at most 200 bytes long when encoded in UTF-8.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

Resource name of this taxonomy, whose format is: "projects/{project}/locations/{region}/taxonomies/{taxonomy}".

Link copied to clipboard
val project: Output<String>

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val region: Output<String>

Taxonomy location region.

Link copied to clipboard
val urn: Output<String>