CatalogArgs

data class CatalogArgs(val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<CatalogArgs>

Catalogs are top-level containers for Databases and Tables. To get more information about Catalog, see:

Example Usage

Bigquery Biglake Catalog

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.biglake.Catalog;
import com.pulumi.gcp.biglake.CatalogArgs;
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 default_ = new Catalog("default", CatalogArgs.builder()
.location("US")
.build());
}
}

Import

Catalog can be imported using any of these accepted formats

$ pulumi import gcp:biglake/catalog:Catalog default projects/{{project}}/locations/{{location}}/catalogs/{{name}}
$ pulumi import gcp:biglake/catalog:Catalog default {{project}}/{{location}}/{{name}}
$ pulumi import gcp:biglake/catalog:Catalog default {{location}}/{{name}}

Constructors

Link copied to clipboard
constructor(location: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null)

Properties

Link copied to clipboard
val location: Output<String>? = null

The geographic location where the Catalog should reside.

Link copied to clipboard
val name: Output<String>? = null

The name of the Catalog. Format: projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}

Link copied to clipboard
val project: Output<String>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): CatalogArgs