Catalog
Catalogs are top-level containers for Databases and Tables. To get more information about Catalog, see:
Example Usage
Bigquery Biglake Catalog
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const _default = new gcp.biglake.Catalog("default", {
name: "my_catalog",
location: "US",
});
import pulumi
import pulumi_gcp as gcp
default = gcp.biglake.Catalog("default",
name="my_catalog",
location="US")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var @default = new Gcp.BigLake.Catalog("default", new()
{
Name = "my_catalog",
Location = "US",
});
});
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/biglake"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := biglake.NewCatalog(ctx, "default", &biglake.CatalogArgs{
Name: pulumi.String("my_catalog"),
Location: pulumi.String("US"),
})
if err != nil {
return err
}
return nil
})
}
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()
.name("my_catalog")
.location("US")
.build());
}
}
resources:
default:
type: gcp:biglake:Catalog
properties:
name: my_catalog
location: US
Import
Catalog can be imported using any of these accepted formats:
projects/{{project}}/locations/{{location}}/catalogs/{{name}}
{{project}}/{{location}}/{{name}}
{{location}}/{{name}}
When using thepulumi import
command, Catalog can be imported using one of the formats above. For example:
$ 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}}
Properties
Output only. The creation time of the catalog. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
Output only. The deletion time of the catalog. Only set after the catalog is deleted. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
Output only. The time when this catalog is considered expired. Only set after the catalog is deleted. Only set after the catalog is deleted. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
Output only. The last modification time of the catalog. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.