biglake

package
v6.67.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Catalog

type Catalog struct {
	pulumi.CustomResourceState

	// Output only. The creation time of the catalog. A timestamp in RFC3339 UTC
	// "Zulu" format, with nanosecond resolution and up to nine fractional
	// digits.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// 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.
	DeleteTime pulumi.StringOutput `pulumi:"deleteTime"`
	// 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.
	ExpireTime pulumi.StringOutput `pulumi:"expireTime"`
	// The geographic location where the Catalog should reside.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name of the Catalog. Format:
	// projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}
	//
	// ***
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// 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.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Catalogs are top-level containers for Databases and Tables.

To get more information about Catalog, see:

* [API documentation](https://cloud.google.com/bigquery/docs/reference/biglake/rest/v1/projects.locations.catalogs) * How-to Guides

## Example Usage ### Bigquery Biglake Catalog

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/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{
			Location: pulumi.String("US"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Catalog can be imported using any of these accepted formats

```sh

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

```

```sh

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

```

```sh

$ pulumi import gcp:biglake/catalog:Catalog default {{location}}/{{name}}

```

func GetCatalog

func GetCatalog(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CatalogState, opts ...pulumi.ResourceOption) (*Catalog, error)

GetCatalog gets an existing Catalog resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCatalog

func NewCatalog(ctx *pulumi.Context,
	name string, args *CatalogArgs, opts ...pulumi.ResourceOption) (*Catalog, error)

NewCatalog registers a new resource with the given unique name, arguments, and options.

func (*Catalog) ElementType

func (*Catalog) ElementType() reflect.Type

func (*Catalog) ToCatalogOutput

func (i *Catalog) ToCatalogOutput() CatalogOutput

func (*Catalog) ToCatalogOutputWithContext

func (i *Catalog) ToCatalogOutputWithContext(ctx context.Context) CatalogOutput

func (*Catalog) ToOutput added in v6.65.1

func (i *Catalog) ToOutput(ctx context.Context) pulumix.Output[*Catalog]

type CatalogArgs

type CatalogArgs struct {
	// The geographic location where the Catalog should reside.
	Location pulumi.StringInput
	// The name of the Catalog. Format:
	// projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}
	//
	// ***
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a Catalog resource.

func (CatalogArgs) ElementType

func (CatalogArgs) ElementType() reflect.Type

type CatalogArray

type CatalogArray []CatalogInput

func (CatalogArray) ElementType

func (CatalogArray) ElementType() reflect.Type

func (CatalogArray) ToCatalogArrayOutput

func (i CatalogArray) ToCatalogArrayOutput() CatalogArrayOutput

func (CatalogArray) ToCatalogArrayOutputWithContext

func (i CatalogArray) ToCatalogArrayOutputWithContext(ctx context.Context) CatalogArrayOutput

func (CatalogArray) ToOutput added in v6.65.1

func (i CatalogArray) ToOutput(ctx context.Context) pulumix.Output[[]*Catalog]

type CatalogArrayInput

type CatalogArrayInput interface {
	pulumi.Input

	ToCatalogArrayOutput() CatalogArrayOutput
	ToCatalogArrayOutputWithContext(context.Context) CatalogArrayOutput
}

CatalogArrayInput is an input type that accepts CatalogArray and CatalogArrayOutput values. You can construct a concrete instance of `CatalogArrayInput` via:

CatalogArray{ CatalogArgs{...} }

type CatalogArrayOutput

type CatalogArrayOutput struct{ *pulumi.OutputState }

func (CatalogArrayOutput) ElementType

func (CatalogArrayOutput) ElementType() reflect.Type

func (CatalogArrayOutput) Index

func (CatalogArrayOutput) ToCatalogArrayOutput

func (o CatalogArrayOutput) ToCatalogArrayOutput() CatalogArrayOutput

func (CatalogArrayOutput) ToCatalogArrayOutputWithContext

func (o CatalogArrayOutput) ToCatalogArrayOutputWithContext(ctx context.Context) CatalogArrayOutput

func (CatalogArrayOutput) ToOutput added in v6.65.1

type CatalogInput

type CatalogInput interface {
	pulumi.Input

	ToCatalogOutput() CatalogOutput
	ToCatalogOutputWithContext(ctx context.Context) CatalogOutput
}

type CatalogMap

type CatalogMap map[string]CatalogInput

func (CatalogMap) ElementType

func (CatalogMap) ElementType() reflect.Type

func (CatalogMap) ToCatalogMapOutput

func (i CatalogMap) ToCatalogMapOutput() CatalogMapOutput

func (CatalogMap) ToCatalogMapOutputWithContext

func (i CatalogMap) ToCatalogMapOutputWithContext(ctx context.Context) CatalogMapOutput

func (CatalogMap) ToOutput added in v6.65.1

func (i CatalogMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Catalog]

type CatalogMapInput

type CatalogMapInput interface {
	pulumi.Input

	ToCatalogMapOutput() CatalogMapOutput
	ToCatalogMapOutputWithContext(context.Context) CatalogMapOutput
}

CatalogMapInput is an input type that accepts CatalogMap and CatalogMapOutput values. You can construct a concrete instance of `CatalogMapInput` via:

CatalogMap{ "key": CatalogArgs{...} }

type CatalogMapOutput

type CatalogMapOutput struct{ *pulumi.OutputState }

func (CatalogMapOutput) ElementType

func (CatalogMapOutput) ElementType() reflect.Type

func (CatalogMapOutput) MapIndex

func (CatalogMapOutput) ToCatalogMapOutput

func (o CatalogMapOutput) ToCatalogMapOutput() CatalogMapOutput

func (CatalogMapOutput) ToCatalogMapOutputWithContext

func (o CatalogMapOutput) ToCatalogMapOutputWithContext(ctx context.Context) CatalogMapOutput

func (CatalogMapOutput) ToOutput added in v6.65.1

type CatalogOutput

type CatalogOutput struct{ *pulumi.OutputState }

func (CatalogOutput) CreateTime

func (o CatalogOutput) CreateTime() pulumi.StringOutput

Output only. The creation time of the catalog. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

func (CatalogOutput) DeleteTime

func (o CatalogOutput) DeleteTime() pulumi.StringOutput

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.

func (CatalogOutput) ElementType

func (CatalogOutput) ElementType() reflect.Type

func (CatalogOutput) ExpireTime

func (o CatalogOutput) ExpireTime() pulumi.StringOutput

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.

func (CatalogOutput) Location

func (o CatalogOutput) Location() pulumi.StringOutput

The geographic location where the Catalog should reside.

func (CatalogOutput) Name

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

***

func (CatalogOutput) Project

func (o CatalogOutput) Project() pulumi.StringOutput

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

func (CatalogOutput) ToCatalogOutput

func (o CatalogOutput) ToCatalogOutput() CatalogOutput

func (CatalogOutput) ToCatalogOutputWithContext

func (o CatalogOutput) ToCatalogOutputWithContext(ctx context.Context) CatalogOutput

func (CatalogOutput) ToOutput added in v6.65.1

func (o CatalogOutput) ToOutput(ctx context.Context) pulumix.Output[*Catalog]

func (CatalogOutput) UpdateTime

func (o CatalogOutput) UpdateTime() pulumi.StringOutput

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.

type CatalogState

type CatalogState struct {
	// Output only. The creation time of the catalog. A timestamp in RFC3339 UTC
	// "Zulu" format, with nanosecond resolution and up to nine fractional
	// digits.
	CreateTime pulumi.StringPtrInput
	// 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.
	DeleteTime pulumi.StringPtrInput
	// 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.
	ExpireTime pulumi.StringPtrInput
	// The geographic location where the Catalog should reside.
	Location pulumi.StringPtrInput
	// The name of the Catalog. Format:
	// projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}
	//
	// ***
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// 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.
	UpdateTime pulumi.StringPtrInput
}

func (CatalogState) ElementType

func (CatalogState) ElementType() reflect.Type

type Database

type Database struct {
	pulumi.CustomResourceState

	// The parent catalog.
	Catalog pulumi.StringOutput `pulumi:"catalog"`
	// Output only. The creation time of the database. A timestamp in RFC3339
	// UTC "Zulu" format, with nanosecond resolution and up to nine fractional
	// digits. Examples: "2014-10-02T15:01:23Z" and
	// "2014-10-02T15:01:23.045123456Z".
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Output only. The deletion time of the database. Only set after the
	// database is deleted. A timestamp in RFC3339 UTC "Zulu" format, with
	// nanosecond resolution and up to nine fractional digits. Examples:
	// "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	DeleteTime pulumi.StringOutput `pulumi:"deleteTime"`
	// Output only. The time when this database is considered expired. Only set
	// after the database is deleted. A timestamp in RFC3339 UTC "Zulu" format,
	// with nanosecond resolution and up to nine fractional digits. Examples:
	// "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	ExpireTime pulumi.StringOutput `pulumi:"expireTime"`
	// Options of a Hive database.
	// Structure is documented below.
	HiveOptions DatabaseHiveOptionsOutput `pulumi:"hiveOptions"`
	// The name of the database.
	Name pulumi.StringOutput `pulumi:"name"`
	// The database type.
	Type pulumi.StringOutput `pulumi:"type"`
	// Output only. The last modification time of the database. A timestamp in
	// RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
	// fractional digits. Examples: "2014-10-02T15:01:23Z" and
	// "2014-10-02T15:01:23.045123456Z".
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Databases are containers of tables.

To get more information about Database, see:

* [API documentation](https://cloud.google.com/bigquery/docs/reference/biglake/rest/v1/projects.locations.catalogs.databases) * How-to Guides

## Example Usage ### Biglake Database

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/biglake"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		catalog, err := biglake.NewCatalog(ctx, "catalog", &biglake.CatalogArgs{
			Location: pulumi.String("US"),
		})
		if err != nil {
			return err
		}
		bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{
			Location:                 pulumi.String("US"),
			ForceDestroy:             pulumi.Bool(true),
			UniformBucketLevelAccess: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		metadataFolder, err := storage.NewBucketObject(ctx, "metadataFolder", &storage.BucketObjectArgs{
			Content: pulumi.String(" "),
			Bucket:  bucket.Name,
		})
		if err != nil {
			return err
		}
		_, err = biglake.NewDatabase(ctx, "database", &biglake.DatabaseArgs{
			Catalog: catalog.ID(),
			Type:    pulumi.String("HIVE"),
			HiveOptions: &biglake.DatabaseHiveOptionsArgs{
				LocationUri: pulumi.All(bucket.Name, metadataFolder.Name).ApplyT(func(_args []interface{}) (string, error) {
					bucketName := _args[0].(string)
					metadataFolderName := _args[1].(string)
					return fmt.Sprintf("gs://%v/%v", bucketName, metadataFolderName), nil
				}).(pulumi.StringOutput),
				Parameters: pulumi.StringMap{
					"owner": pulumi.String("John Doe"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Database can be imported using any of these accepted formats:

```sh

$ pulumi import gcp:biglake/database:Database default {{catalog}}/databases/{{name}}

```

func GetDatabase

func GetDatabase(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseState, opts ...pulumi.ResourceOption) (*Database, error)

GetDatabase gets an existing Database resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDatabase

func NewDatabase(ctx *pulumi.Context,
	name string, args *DatabaseArgs, opts ...pulumi.ResourceOption) (*Database, error)

NewDatabase registers a new resource with the given unique name, arguments, and options.

func (*Database) ElementType

func (*Database) ElementType() reflect.Type

func (*Database) ToDatabaseOutput

func (i *Database) ToDatabaseOutput() DatabaseOutput

func (*Database) ToDatabaseOutputWithContext

func (i *Database) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput

func (*Database) ToOutput added in v6.65.1

func (i *Database) ToOutput(ctx context.Context) pulumix.Output[*Database]

type DatabaseArgs

type DatabaseArgs struct {
	// The parent catalog.
	Catalog pulumi.StringInput
	// Options of a Hive database.
	// Structure is documented below.
	HiveOptions DatabaseHiveOptionsInput
	// The name of the database.
	Name pulumi.StringPtrInput
	// The database type.
	Type pulumi.StringInput
}

The set of arguments for constructing a Database resource.

func (DatabaseArgs) ElementType

func (DatabaseArgs) ElementType() reflect.Type

type DatabaseArray

type DatabaseArray []DatabaseInput

func (DatabaseArray) ElementType

func (DatabaseArray) ElementType() reflect.Type

func (DatabaseArray) ToDatabaseArrayOutput

func (i DatabaseArray) ToDatabaseArrayOutput() DatabaseArrayOutput

func (DatabaseArray) ToDatabaseArrayOutputWithContext

func (i DatabaseArray) ToDatabaseArrayOutputWithContext(ctx context.Context) DatabaseArrayOutput

func (DatabaseArray) ToOutput added in v6.65.1

func (i DatabaseArray) ToOutput(ctx context.Context) pulumix.Output[[]*Database]

type DatabaseArrayInput

type DatabaseArrayInput interface {
	pulumi.Input

	ToDatabaseArrayOutput() DatabaseArrayOutput
	ToDatabaseArrayOutputWithContext(context.Context) DatabaseArrayOutput
}

DatabaseArrayInput is an input type that accepts DatabaseArray and DatabaseArrayOutput values. You can construct a concrete instance of `DatabaseArrayInput` via:

DatabaseArray{ DatabaseArgs{...} }

type DatabaseArrayOutput

type DatabaseArrayOutput struct{ *pulumi.OutputState }

func (DatabaseArrayOutput) ElementType

func (DatabaseArrayOutput) ElementType() reflect.Type

func (DatabaseArrayOutput) Index

func (DatabaseArrayOutput) ToDatabaseArrayOutput

func (o DatabaseArrayOutput) ToDatabaseArrayOutput() DatabaseArrayOutput

func (DatabaseArrayOutput) ToDatabaseArrayOutputWithContext

func (o DatabaseArrayOutput) ToDatabaseArrayOutputWithContext(ctx context.Context) DatabaseArrayOutput

func (DatabaseArrayOutput) ToOutput added in v6.65.1

type DatabaseHiveOptions

type DatabaseHiveOptions struct {
	// Cloud Storage folder URI where the database data is stored, starting with "gs://".
	LocationUri *string `pulumi:"locationUri"`
	// Stores user supplied Hive database parameters. An object containing a
	// list of"key": value pairs.
	// Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	//
	// ***
	Parameters map[string]string `pulumi:"parameters"`
}

type DatabaseHiveOptionsArgs

type DatabaseHiveOptionsArgs struct {
	// Cloud Storage folder URI where the database data is stored, starting with "gs://".
	LocationUri pulumi.StringPtrInput `pulumi:"locationUri"`
	// Stores user supplied Hive database parameters. An object containing a
	// list of"key": value pairs.
	// Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	//
	// ***
	Parameters pulumi.StringMapInput `pulumi:"parameters"`
}

func (DatabaseHiveOptionsArgs) ElementType

func (DatabaseHiveOptionsArgs) ElementType() reflect.Type

func (DatabaseHiveOptionsArgs) ToDatabaseHiveOptionsOutput

func (i DatabaseHiveOptionsArgs) ToDatabaseHiveOptionsOutput() DatabaseHiveOptionsOutput

func (DatabaseHiveOptionsArgs) ToDatabaseHiveOptionsOutputWithContext

func (i DatabaseHiveOptionsArgs) ToDatabaseHiveOptionsOutputWithContext(ctx context.Context) DatabaseHiveOptionsOutput

func (DatabaseHiveOptionsArgs) ToDatabaseHiveOptionsPtrOutput

func (i DatabaseHiveOptionsArgs) ToDatabaseHiveOptionsPtrOutput() DatabaseHiveOptionsPtrOutput

func (DatabaseHiveOptionsArgs) ToDatabaseHiveOptionsPtrOutputWithContext

func (i DatabaseHiveOptionsArgs) ToDatabaseHiveOptionsPtrOutputWithContext(ctx context.Context) DatabaseHiveOptionsPtrOutput

func (DatabaseHiveOptionsArgs) ToOutput added in v6.65.1

type DatabaseHiveOptionsInput

type DatabaseHiveOptionsInput interface {
	pulumi.Input

	ToDatabaseHiveOptionsOutput() DatabaseHiveOptionsOutput
	ToDatabaseHiveOptionsOutputWithContext(context.Context) DatabaseHiveOptionsOutput
}

DatabaseHiveOptionsInput is an input type that accepts DatabaseHiveOptionsArgs and DatabaseHiveOptionsOutput values. You can construct a concrete instance of `DatabaseHiveOptionsInput` via:

DatabaseHiveOptionsArgs{...}

type DatabaseHiveOptionsOutput

type DatabaseHiveOptionsOutput struct{ *pulumi.OutputState }

func (DatabaseHiveOptionsOutput) ElementType

func (DatabaseHiveOptionsOutput) ElementType() reflect.Type

func (DatabaseHiveOptionsOutput) LocationUri

Cloud Storage folder URI where the database data is stored, starting with "gs://".

func (DatabaseHiveOptionsOutput) Parameters

Stores user supplied Hive database parameters. An object containing a list of"key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

***

func (DatabaseHiveOptionsOutput) ToDatabaseHiveOptionsOutput

func (o DatabaseHiveOptionsOutput) ToDatabaseHiveOptionsOutput() DatabaseHiveOptionsOutput

func (DatabaseHiveOptionsOutput) ToDatabaseHiveOptionsOutputWithContext

func (o DatabaseHiveOptionsOutput) ToDatabaseHiveOptionsOutputWithContext(ctx context.Context) DatabaseHiveOptionsOutput

func (DatabaseHiveOptionsOutput) ToDatabaseHiveOptionsPtrOutput

func (o DatabaseHiveOptionsOutput) ToDatabaseHiveOptionsPtrOutput() DatabaseHiveOptionsPtrOutput

func (DatabaseHiveOptionsOutput) ToDatabaseHiveOptionsPtrOutputWithContext

func (o DatabaseHiveOptionsOutput) ToDatabaseHiveOptionsPtrOutputWithContext(ctx context.Context) DatabaseHiveOptionsPtrOutput

func (DatabaseHiveOptionsOutput) ToOutput added in v6.65.1

type DatabaseHiveOptionsPtrInput

type DatabaseHiveOptionsPtrInput interface {
	pulumi.Input

	ToDatabaseHiveOptionsPtrOutput() DatabaseHiveOptionsPtrOutput
	ToDatabaseHiveOptionsPtrOutputWithContext(context.Context) DatabaseHiveOptionsPtrOutput
}

DatabaseHiveOptionsPtrInput is an input type that accepts DatabaseHiveOptionsArgs, DatabaseHiveOptionsPtr and DatabaseHiveOptionsPtrOutput values. You can construct a concrete instance of `DatabaseHiveOptionsPtrInput` via:

        DatabaseHiveOptionsArgs{...}

or:

        nil

type DatabaseHiveOptionsPtrOutput

type DatabaseHiveOptionsPtrOutput struct{ *pulumi.OutputState }

func (DatabaseHiveOptionsPtrOutput) Elem

func (DatabaseHiveOptionsPtrOutput) ElementType

func (DatabaseHiveOptionsPtrOutput) LocationUri

Cloud Storage folder URI where the database data is stored, starting with "gs://".

func (DatabaseHiveOptionsPtrOutput) Parameters

Stores user supplied Hive database parameters. An object containing a list of"key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

***

func (DatabaseHiveOptionsPtrOutput) ToDatabaseHiveOptionsPtrOutput

func (o DatabaseHiveOptionsPtrOutput) ToDatabaseHiveOptionsPtrOutput() DatabaseHiveOptionsPtrOutput

func (DatabaseHiveOptionsPtrOutput) ToDatabaseHiveOptionsPtrOutputWithContext

func (o DatabaseHiveOptionsPtrOutput) ToDatabaseHiveOptionsPtrOutputWithContext(ctx context.Context) DatabaseHiveOptionsPtrOutput

func (DatabaseHiveOptionsPtrOutput) ToOutput added in v6.65.1

type DatabaseInput

type DatabaseInput interface {
	pulumi.Input

	ToDatabaseOutput() DatabaseOutput
	ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
}

type DatabaseMap

type DatabaseMap map[string]DatabaseInput

func (DatabaseMap) ElementType

func (DatabaseMap) ElementType() reflect.Type

func (DatabaseMap) ToDatabaseMapOutput

func (i DatabaseMap) ToDatabaseMapOutput() DatabaseMapOutput

func (DatabaseMap) ToDatabaseMapOutputWithContext

func (i DatabaseMap) ToDatabaseMapOutputWithContext(ctx context.Context) DatabaseMapOutput

func (DatabaseMap) ToOutput added in v6.65.1

func (i DatabaseMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Database]

type DatabaseMapInput

type DatabaseMapInput interface {
	pulumi.Input

	ToDatabaseMapOutput() DatabaseMapOutput
	ToDatabaseMapOutputWithContext(context.Context) DatabaseMapOutput
}

DatabaseMapInput is an input type that accepts DatabaseMap and DatabaseMapOutput values. You can construct a concrete instance of `DatabaseMapInput` via:

DatabaseMap{ "key": DatabaseArgs{...} }

type DatabaseMapOutput

type DatabaseMapOutput struct{ *pulumi.OutputState }

func (DatabaseMapOutput) ElementType

func (DatabaseMapOutput) ElementType() reflect.Type

func (DatabaseMapOutput) MapIndex

func (DatabaseMapOutput) ToDatabaseMapOutput

func (o DatabaseMapOutput) ToDatabaseMapOutput() DatabaseMapOutput

func (DatabaseMapOutput) ToDatabaseMapOutputWithContext

func (o DatabaseMapOutput) ToDatabaseMapOutputWithContext(ctx context.Context) DatabaseMapOutput

func (DatabaseMapOutput) ToOutput added in v6.65.1

type DatabaseOutput

type DatabaseOutput struct{ *pulumi.OutputState }

func (DatabaseOutput) Catalog

func (o DatabaseOutput) Catalog() pulumi.StringOutput

The parent catalog.

func (DatabaseOutput) CreateTime

func (o DatabaseOutput) CreateTime() pulumi.StringOutput

Output only. The creation time of the database. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (DatabaseOutput) DeleteTime

func (o DatabaseOutput) DeleteTime() pulumi.StringOutput

Output only. The deletion time of the database. Only set after the database is deleted. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (DatabaseOutput) ElementType

func (DatabaseOutput) ElementType() reflect.Type

func (DatabaseOutput) ExpireTime

func (o DatabaseOutput) ExpireTime() pulumi.StringOutput

Output only. The time when this database is considered expired. Only set after the database is deleted. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (DatabaseOutput) HiveOptions

func (o DatabaseOutput) HiveOptions() DatabaseHiveOptionsOutput

Options of a Hive database. Structure is documented below.

func (DatabaseOutput) Name

The name of the database.

func (DatabaseOutput) ToDatabaseOutput

func (o DatabaseOutput) ToDatabaseOutput() DatabaseOutput

func (DatabaseOutput) ToDatabaseOutputWithContext

func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput

func (DatabaseOutput) ToOutput added in v6.65.1

func (DatabaseOutput) Type

The database type.

func (DatabaseOutput) UpdateTime

func (o DatabaseOutput) UpdateTime() pulumi.StringOutput

Output only. The last modification time of the database. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

type DatabaseState

type DatabaseState struct {
	// The parent catalog.
	Catalog pulumi.StringPtrInput
	// Output only. The creation time of the database. A timestamp in RFC3339
	// UTC "Zulu" format, with nanosecond resolution and up to nine fractional
	// digits. Examples: "2014-10-02T15:01:23Z" and
	// "2014-10-02T15:01:23.045123456Z".
	CreateTime pulumi.StringPtrInput
	// Output only. The deletion time of the database. Only set after the
	// database is deleted. A timestamp in RFC3339 UTC "Zulu" format, with
	// nanosecond resolution and up to nine fractional digits. Examples:
	// "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	DeleteTime pulumi.StringPtrInput
	// Output only. The time when this database is considered expired. Only set
	// after the database is deleted. A timestamp in RFC3339 UTC "Zulu" format,
	// with nanosecond resolution and up to nine fractional digits. Examples:
	// "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	ExpireTime pulumi.StringPtrInput
	// Options of a Hive database.
	// Structure is documented below.
	HiveOptions DatabaseHiveOptionsPtrInput
	// The name of the database.
	Name pulumi.StringPtrInput
	// The database type.
	Type pulumi.StringPtrInput
	// Output only. The last modification time of the database. A timestamp in
	// RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
	// fractional digits. Examples: "2014-10-02T15:01:23Z" and
	// "2014-10-02T15:01:23.045123456Z".
	UpdateTime pulumi.StringPtrInput
}

func (DatabaseState) ElementType

func (DatabaseState) ElementType() reflect.Type

type Table added in v6.67.0

type Table struct {
	pulumi.CustomResourceState

	// Output only. The creation time of the table. A timestamp in RFC3339 UTC
	// "Zulu" format, with nanosecond resolution and up to nine fractional
	// digits. Examples: "2014-10-02T15:01:23Z" and
	// "2014-10-02T15:01:23.045123456Z".
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The id of the parent database.
	Database pulumi.StringPtrOutput `pulumi:"database"`
	// Output only. The deletion time of the table. Only set after the
	// table is deleted. A timestamp in RFC3339 UTC "Zulu" format, with
	// nanosecond resolution and up to nine fractional digits. Examples:
	// "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	DeleteTime pulumi.StringOutput `pulumi:"deleteTime"`
	// The checksum of a table object computed by the server based on the value
	// of other fields. It may be sent on update requests to ensure the client
	// has an up-to-date value before proceeding. It is only checked for update
	// table operations.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// Output only. The time when this table is considered expired. Only set
	// after the table is deleted. A timestamp in RFC3339 UTC "Zulu" format,
	// with nanosecond resolution and up to nine fractional digits. Examples:
	// "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	ExpireTime pulumi.StringOutput `pulumi:"expireTime"`
	// Options of a Hive table.
	// Structure is documented below.
	HiveOptions TableHiveOptionsPtrOutput `pulumi:"hiveOptions"`
	// Output only. The name of the Table. Format:
	// projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}/databases/{databaseId}/tables/{tableId}
	//
	// ***
	Name pulumi.StringOutput `pulumi:"name"`
	// The database type.
	// Possible values are: `HIVE`.
	Type pulumi.StringPtrOutput `pulumi:"type"`
	// Output only. The last modification time of the table. A timestamp in
	// RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
	// fractional digits. Examples: "2014-10-02T15:01:23Z" and
	// "2014-10-02T15:01:23.045123456Z".
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Represents a table.

To get more information about Table, see:

* [API documentation](https://cloud.google.com/bigquery/docs/reference/biglake/rest/v1/projects.locations.catalogs.databases.tables) * How-to Guides

## Example Usage ### Biglake Table

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/biglake"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		catalog, err := biglake.NewCatalog(ctx, "catalog", &biglake.CatalogArgs{
			Location: pulumi.String("US"),
		})
		if err != nil {
			return err
		}
		bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{
			Location:                 pulumi.String("US"),
			ForceDestroy:             pulumi.Bool(true),
			UniformBucketLevelAccess: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		metadataFolder, err := storage.NewBucketObject(ctx, "metadataFolder", &storage.BucketObjectArgs{
			Content: pulumi.String(" "),
			Bucket:  bucket.Name,
		})
		if err != nil {
			return err
		}
		dataFolder, err := storage.NewBucketObject(ctx, "dataFolder", &storage.BucketObjectArgs{
			Content: pulumi.String(" "),
			Bucket:  bucket.Name,
		})
		if err != nil {
			return err
		}
		database, err := biglake.NewDatabase(ctx, "database", &biglake.DatabaseArgs{
			Catalog: catalog.ID(),
			Type:    pulumi.String("HIVE"),
			HiveOptions: &biglake.DatabaseHiveOptionsArgs{
				LocationUri: pulumi.All(bucket.Name, metadataFolder.Name).ApplyT(func(_args []interface{}) (string, error) {
					bucketName := _args[0].(string)
					metadataFolderName := _args[1].(string)
					return fmt.Sprintf("gs://%v/%v", bucketName, metadataFolderName), nil
				}).(pulumi.StringOutput),
				Parameters: pulumi.StringMap{
					"owner": pulumi.String("Alex"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = biglake.NewTable(ctx, "table", &biglake.TableArgs{
			Database: database.ID(),
			Type:     pulumi.String("HIVE"),
			HiveOptions: &biglake.TableHiveOptionsArgs{
				TableType: pulumi.String("MANAGED_TABLE"),
				StorageDescriptor: &biglake.TableHiveOptionsStorageDescriptorArgs{
					LocationUri: pulumi.All(bucket.Name, dataFolder.Name).ApplyT(func(_args []interface{}) (string, error) {
						bucketName := _args[0].(string)
						dataFolderName := _args[1].(string)
						return fmt.Sprintf("gs://%v/%v", bucketName, dataFolderName), nil
					}).(pulumi.StringOutput),
					InputFormat:  pulumi.String("org.apache.hadoop.mapred.SequenceFileInputFormat"),
					OutputFormat: pulumi.String("org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat"),
				},
				Parameters: pulumi.StringMap{
					"spark.sql.create.version":          pulumi.String("3.1.3"),
					"spark.sql.sources.schema.numParts": pulumi.String("1"),
					"transient_lastDdlTime":             pulumi.String("1680894197"),
					"spark.sql.partitionProvider":       pulumi.String("catalog"),
					"owner":                             pulumi.String("John Doe"),
					"spark.sql.sources.schema.part.0":   pulumi.String("{\"type\":\"struct\",\"fields\":[{\"name\":\"id\",\"type\":\"integer\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"age\",\"type\":\"integer\",\"nullable\":true,\"metadata\":{}}]}"),
					"spark.sql.sources.provider":        pulumi.String("iceberg"),
					"provider":                          pulumi.String("iceberg"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Table can be imported using any of these accepted formats:

```sh

$ pulumi import gcp:biglake/table:Table default {{database}}/tables/{{name}}

```

func GetTable added in v6.67.0

func GetTable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TableState, opts ...pulumi.ResourceOption) (*Table, error)

GetTable gets an existing Table resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTable added in v6.67.0

func NewTable(ctx *pulumi.Context,
	name string, args *TableArgs, opts ...pulumi.ResourceOption) (*Table, error)

NewTable registers a new resource with the given unique name, arguments, and options.

func (*Table) ElementType added in v6.67.0

func (*Table) ElementType() reflect.Type

func (*Table) ToOutput added in v6.67.0

func (i *Table) ToOutput(ctx context.Context) pulumix.Output[*Table]

func (*Table) ToTableOutput added in v6.67.0

func (i *Table) ToTableOutput() TableOutput

func (*Table) ToTableOutputWithContext added in v6.67.0

func (i *Table) ToTableOutputWithContext(ctx context.Context) TableOutput

type TableArgs added in v6.67.0

type TableArgs struct {
	// The id of the parent database.
	Database pulumi.StringPtrInput
	// Options of a Hive table.
	// Structure is documented below.
	HiveOptions TableHiveOptionsPtrInput
	// Output only. The name of the Table. Format:
	// projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}/databases/{databaseId}/tables/{tableId}
	//
	// ***
	Name pulumi.StringPtrInput
	// The database type.
	// Possible values are: `HIVE`.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a Table resource.

func (TableArgs) ElementType added in v6.67.0

func (TableArgs) ElementType() reflect.Type

type TableArray added in v6.67.0

type TableArray []TableInput

func (TableArray) ElementType added in v6.67.0

func (TableArray) ElementType() reflect.Type

func (TableArray) ToOutput added in v6.67.0

func (i TableArray) ToOutput(ctx context.Context) pulumix.Output[[]*Table]

func (TableArray) ToTableArrayOutput added in v6.67.0

func (i TableArray) ToTableArrayOutput() TableArrayOutput

func (TableArray) ToTableArrayOutputWithContext added in v6.67.0

func (i TableArray) ToTableArrayOutputWithContext(ctx context.Context) TableArrayOutput

type TableArrayInput added in v6.67.0

type TableArrayInput interface {
	pulumi.Input

	ToTableArrayOutput() TableArrayOutput
	ToTableArrayOutputWithContext(context.Context) TableArrayOutput
}

TableArrayInput is an input type that accepts TableArray and TableArrayOutput values. You can construct a concrete instance of `TableArrayInput` via:

TableArray{ TableArgs{...} }

type TableArrayOutput added in v6.67.0

type TableArrayOutput struct{ *pulumi.OutputState }

func (TableArrayOutput) ElementType added in v6.67.0

func (TableArrayOutput) ElementType() reflect.Type

func (TableArrayOutput) Index added in v6.67.0

func (TableArrayOutput) ToOutput added in v6.67.0

func (o TableArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Table]

func (TableArrayOutput) ToTableArrayOutput added in v6.67.0

func (o TableArrayOutput) ToTableArrayOutput() TableArrayOutput

func (TableArrayOutput) ToTableArrayOutputWithContext added in v6.67.0

func (o TableArrayOutput) ToTableArrayOutputWithContext(ctx context.Context) TableArrayOutput

type TableHiveOptions added in v6.67.0

type TableHiveOptions struct {
	// Stores user supplied Hive table parameters. An object containing a
	// list of "key": value pairs.
	// Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	Parameters map[string]string `pulumi:"parameters"`
	// Stores physical storage information on the data.
	// Structure is documented below.
	StorageDescriptor *TableHiveOptionsStorageDescriptor `pulumi:"storageDescriptor"`
	// Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
	TableType *string `pulumi:"tableType"`
}

type TableHiveOptionsArgs added in v6.67.0

type TableHiveOptionsArgs struct {
	// Stores user supplied Hive table parameters. An object containing a
	// list of "key": value pairs.
	// Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	Parameters pulumi.StringMapInput `pulumi:"parameters"`
	// Stores physical storage information on the data.
	// Structure is documented below.
	StorageDescriptor TableHiveOptionsStorageDescriptorPtrInput `pulumi:"storageDescriptor"`
	// Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
	TableType pulumi.StringPtrInput `pulumi:"tableType"`
}

func (TableHiveOptionsArgs) ElementType added in v6.67.0

func (TableHiveOptionsArgs) ElementType() reflect.Type

func (TableHiveOptionsArgs) ToOutput added in v6.67.0

func (TableHiveOptionsArgs) ToTableHiveOptionsOutput added in v6.67.0

func (i TableHiveOptionsArgs) ToTableHiveOptionsOutput() TableHiveOptionsOutput

func (TableHiveOptionsArgs) ToTableHiveOptionsOutputWithContext added in v6.67.0

func (i TableHiveOptionsArgs) ToTableHiveOptionsOutputWithContext(ctx context.Context) TableHiveOptionsOutput

func (TableHiveOptionsArgs) ToTableHiveOptionsPtrOutput added in v6.67.0

func (i TableHiveOptionsArgs) ToTableHiveOptionsPtrOutput() TableHiveOptionsPtrOutput

func (TableHiveOptionsArgs) ToTableHiveOptionsPtrOutputWithContext added in v6.67.0

func (i TableHiveOptionsArgs) ToTableHiveOptionsPtrOutputWithContext(ctx context.Context) TableHiveOptionsPtrOutput

type TableHiveOptionsInput added in v6.67.0

type TableHiveOptionsInput interface {
	pulumi.Input

	ToTableHiveOptionsOutput() TableHiveOptionsOutput
	ToTableHiveOptionsOutputWithContext(context.Context) TableHiveOptionsOutput
}

TableHiveOptionsInput is an input type that accepts TableHiveOptionsArgs and TableHiveOptionsOutput values. You can construct a concrete instance of `TableHiveOptionsInput` via:

TableHiveOptionsArgs{...}

type TableHiveOptionsOutput added in v6.67.0

type TableHiveOptionsOutput struct{ *pulumi.OutputState }

func (TableHiveOptionsOutput) ElementType added in v6.67.0

func (TableHiveOptionsOutput) ElementType() reflect.Type

func (TableHiveOptionsOutput) Parameters added in v6.67.0

Stores user supplied Hive table parameters. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

func (TableHiveOptionsOutput) StorageDescriptor added in v6.67.0

Stores physical storage information on the data. Structure is documented below.

func (TableHiveOptionsOutput) TableType added in v6.67.0

Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.

func (TableHiveOptionsOutput) ToOutput added in v6.67.0

func (TableHiveOptionsOutput) ToTableHiveOptionsOutput added in v6.67.0

func (o TableHiveOptionsOutput) ToTableHiveOptionsOutput() TableHiveOptionsOutput

func (TableHiveOptionsOutput) ToTableHiveOptionsOutputWithContext added in v6.67.0

func (o TableHiveOptionsOutput) ToTableHiveOptionsOutputWithContext(ctx context.Context) TableHiveOptionsOutput

func (TableHiveOptionsOutput) ToTableHiveOptionsPtrOutput added in v6.67.0

func (o TableHiveOptionsOutput) ToTableHiveOptionsPtrOutput() TableHiveOptionsPtrOutput

func (TableHiveOptionsOutput) ToTableHiveOptionsPtrOutputWithContext added in v6.67.0

func (o TableHiveOptionsOutput) ToTableHiveOptionsPtrOutputWithContext(ctx context.Context) TableHiveOptionsPtrOutput

type TableHiveOptionsPtrInput added in v6.67.0

type TableHiveOptionsPtrInput interface {
	pulumi.Input

	ToTableHiveOptionsPtrOutput() TableHiveOptionsPtrOutput
	ToTableHiveOptionsPtrOutputWithContext(context.Context) TableHiveOptionsPtrOutput
}

TableHiveOptionsPtrInput is an input type that accepts TableHiveOptionsArgs, TableHiveOptionsPtr and TableHiveOptionsPtrOutput values. You can construct a concrete instance of `TableHiveOptionsPtrInput` via:

        TableHiveOptionsArgs{...}

or:

        nil

func TableHiveOptionsPtr added in v6.67.0

func TableHiveOptionsPtr(v *TableHiveOptionsArgs) TableHiveOptionsPtrInput

type TableHiveOptionsPtrOutput added in v6.67.0

type TableHiveOptionsPtrOutput struct{ *pulumi.OutputState }

func (TableHiveOptionsPtrOutput) Elem added in v6.67.0

func (TableHiveOptionsPtrOutput) ElementType added in v6.67.0

func (TableHiveOptionsPtrOutput) ElementType() reflect.Type

func (TableHiveOptionsPtrOutput) Parameters added in v6.67.0

Stores user supplied Hive table parameters. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

func (TableHiveOptionsPtrOutput) StorageDescriptor added in v6.67.0

Stores physical storage information on the data. Structure is documented below.

func (TableHiveOptionsPtrOutput) TableType added in v6.67.0

Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.

func (TableHiveOptionsPtrOutput) ToOutput added in v6.67.0

func (TableHiveOptionsPtrOutput) ToTableHiveOptionsPtrOutput added in v6.67.0

func (o TableHiveOptionsPtrOutput) ToTableHiveOptionsPtrOutput() TableHiveOptionsPtrOutput

func (TableHiveOptionsPtrOutput) ToTableHiveOptionsPtrOutputWithContext added in v6.67.0

func (o TableHiveOptionsPtrOutput) ToTableHiveOptionsPtrOutputWithContext(ctx context.Context) TableHiveOptionsPtrOutput

type TableHiveOptionsStorageDescriptor added in v6.67.0

type TableHiveOptionsStorageDescriptor struct {
	// The fully qualified Java class name of the input format.
	InputFormat *string `pulumi:"inputFormat"`
	// Cloud Storage folder URI where the table data is stored, starting with "gs://".
	LocationUri *string `pulumi:"locationUri"`
	// The fully qualified Java class name of the output format.
	OutputFormat *string `pulumi:"outputFormat"`
}

type TableHiveOptionsStorageDescriptorArgs added in v6.67.0

type TableHiveOptionsStorageDescriptorArgs struct {
	// The fully qualified Java class name of the input format.
	InputFormat pulumi.StringPtrInput `pulumi:"inputFormat"`
	// Cloud Storage folder URI where the table data is stored, starting with "gs://".
	LocationUri pulumi.StringPtrInput `pulumi:"locationUri"`
	// The fully qualified Java class name of the output format.
	OutputFormat pulumi.StringPtrInput `pulumi:"outputFormat"`
}

func (TableHiveOptionsStorageDescriptorArgs) ElementType added in v6.67.0

func (TableHiveOptionsStorageDescriptorArgs) ToOutput added in v6.67.0

func (TableHiveOptionsStorageDescriptorArgs) ToTableHiveOptionsStorageDescriptorOutput added in v6.67.0

func (i TableHiveOptionsStorageDescriptorArgs) ToTableHiveOptionsStorageDescriptorOutput() TableHiveOptionsStorageDescriptorOutput

func (TableHiveOptionsStorageDescriptorArgs) ToTableHiveOptionsStorageDescriptorOutputWithContext added in v6.67.0

func (i TableHiveOptionsStorageDescriptorArgs) ToTableHiveOptionsStorageDescriptorOutputWithContext(ctx context.Context) TableHiveOptionsStorageDescriptorOutput

func (TableHiveOptionsStorageDescriptorArgs) ToTableHiveOptionsStorageDescriptorPtrOutput added in v6.67.0

func (i TableHiveOptionsStorageDescriptorArgs) ToTableHiveOptionsStorageDescriptorPtrOutput() TableHiveOptionsStorageDescriptorPtrOutput

func (TableHiveOptionsStorageDescriptorArgs) ToTableHiveOptionsStorageDescriptorPtrOutputWithContext added in v6.67.0

func (i TableHiveOptionsStorageDescriptorArgs) ToTableHiveOptionsStorageDescriptorPtrOutputWithContext(ctx context.Context) TableHiveOptionsStorageDescriptorPtrOutput

type TableHiveOptionsStorageDescriptorInput added in v6.67.0

type TableHiveOptionsStorageDescriptorInput interface {
	pulumi.Input

	ToTableHiveOptionsStorageDescriptorOutput() TableHiveOptionsStorageDescriptorOutput
	ToTableHiveOptionsStorageDescriptorOutputWithContext(context.Context) TableHiveOptionsStorageDescriptorOutput
}

TableHiveOptionsStorageDescriptorInput is an input type that accepts TableHiveOptionsStorageDescriptorArgs and TableHiveOptionsStorageDescriptorOutput values. You can construct a concrete instance of `TableHiveOptionsStorageDescriptorInput` via:

TableHiveOptionsStorageDescriptorArgs{...}

type TableHiveOptionsStorageDescriptorOutput added in v6.67.0

type TableHiveOptionsStorageDescriptorOutput struct{ *pulumi.OutputState }

func (TableHiveOptionsStorageDescriptorOutput) ElementType added in v6.67.0

func (TableHiveOptionsStorageDescriptorOutput) InputFormat added in v6.67.0

The fully qualified Java class name of the input format.

func (TableHiveOptionsStorageDescriptorOutput) LocationUri added in v6.67.0

Cloud Storage folder URI where the table data is stored, starting with "gs://".

func (TableHiveOptionsStorageDescriptorOutput) OutputFormat added in v6.67.0

The fully qualified Java class name of the output format.

func (TableHiveOptionsStorageDescriptorOutput) ToOutput added in v6.67.0

func (TableHiveOptionsStorageDescriptorOutput) ToTableHiveOptionsStorageDescriptorOutput added in v6.67.0

func (o TableHiveOptionsStorageDescriptorOutput) ToTableHiveOptionsStorageDescriptorOutput() TableHiveOptionsStorageDescriptorOutput

func (TableHiveOptionsStorageDescriptorOutput) ToTableHiveOptionsStorageDescriptorOutputWithContext added in v6.67.0

func (o TableHiveOptionsStorageDescriptorOutput) ToTableHiveOptionsStorageDescriptorOutputWithContext(ctx context.Context) TableHiveOptionsStorageDescriptorOutput

func (TableHiveOptionsStorageDescriptorOutput) ToTableHiveOptionsStorageDescriptorPtrOutput added in v6.67.0

func (o TableHiveOptionsStorageDescriptorOutput) ToTableHiveOptionsStorageDescriptorPtrOutput() TableHiveOptionsStorageDescriptorPtrOutput

func (TableHiveOptionsStorageDescriptorOutput) ToTableHiveOptionsStorageDescriptorPtrOutputWithContext added in v6.67.0

func (o TableHiveOptionsStorageDescriptorOutput) ToTableHiveOptionsStorageDescriptorPtrOutputWithContext(ctx context.Context) TableHiveOptionsStorageDescriptorPtrOutput

type TableHiveOptionsStorageDescriptorPtrInput added in v6.67.0

type TableHiveOptionsStorageDescriptorPtrInput interface {
	pulumi.Input

	ToTableHiveOptionsStorageDescriptorPtrOutput() TableHiveOptionsStorageDescriptorPtrOutput
	ToTableHiveOptionsStorageDescriptorPtrOutputWithContext(context.Context) TableHiveOptionsStorageDescriptorPtrOutput
}

TableHiveOptionsStorageDescriptorPtrInput is an input type that accepts TableHiveOptionsStorageDescriptorArgs, TableHiveOptionsStorageDescriptorPtr and TableHiveOptionsStorageDescriptorPtrOutput values. You can construct a concrete instance of `TableHiveOptionsStorageDescriptorPtrInput` via:

        TableHiveOptionsStorageDescriptorArgs{...}

or:

        nil

type TableHiveOptionsStorageDescriptorPtrOutput added in v6.67.0

type TableHiveOptionsStorageDescriptorPtrOutput struct{ *pulumi.OutputState }

func (TableHiveOptionsStorageDescriptorPtrOutput) Elem added in v6.67.0

func (TableHiveOptionsStorageDescriptorPtrOutput) ElementType added in v6.67.0

func (TableHiveOptionsStorageDescriptorPtrOutput) InputFormat added in v6.67.0

The fully qualified Java class name of the input format.

func (TableHiveOptionsStorageDescriptorPtrOutput) LocationUri added in v6.67.0

Cloud Storage folder URI where the table data is stored, starting with "gs://".

func (TableHiveOptionsStorageDescriptorPtrOutput) OutputFormat added in v6.67.0

The fully qualified Java class name of the output format.

func (TableHiveOptionsStorageDescriptorPtrOutput) ToOutput added in v6.67.0

func (TableHiveOptionsStorageDescriptorPtrOutput) ToTableHiveOptionsStorageDescriptorPtrOutput added in v6.67.0

func (o TableHiveOptionsStorageDescriptorPtrOutput) ToTableHiveOptionsStorageDescriptorPtrOutput() TableHiveOptionsStorageDescriptorPtrOutput

func (TableHiveOptionsStorageDescriptorPtrOutput) ToTableHiveOptionsStorageDescriptorPtrOutputWithContext added in v6.67.0

func (o TableHiveOptionsStorageDescriptorPtrOutput) ToTableHiveOptionsStorageDescriptorPtrOutputWithContext(ctx context.Context) TableHiveOptionsStorageDescriptorPtrOutput

type TableInput added in v6.67.0

type TableInput interface {
	pulumi.Input

	ToTableOutput() TableOutput
	ToTableOutputWithContext(ctx context.Context) TableOutput
}

type TableMap added in v6.67.0

type TableMap map[string]TableInput

func (TableMap) ElementType added in v6.67.0

func (TableMap) ElementType() reflect.Type

func (TableMap) ToOutput added in v6.67.0

func (i TableMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Table]

func (TableMap) ToTableMapOutput added in v6.67.0

func (i TableMap) ToTableMapOutput() TableMapOutput

func (TableMap) ToTableMapOutputWithContext added in v6.67.0

func (i TableMap) ToTableMapOutputWithContext(ctx context.Context) TableMapOutput

type TableMapInput added in v6.67.0

type TableMapInput interface {
	pulumi.Input

	ToTableMapOutput() TableMapOutput
	ToTableMapOutputWithContext(context.Context) TableMapOutput
}

TableMapInput is an input type that accepts TableMap and TableMapOutput values. You can construct a concrete instance of `TableMapInput` via:

TableMap{ "key": TableArgs{...} }

type TableMapOutput added in v6.67.0

type TableMapOutput struct{ *pulumi.OutputState }

func (TableMapOutput) ElementType added in v6.67.0

func (TableMapOutput) ElementType() reflect.Type

func (TableMapOutput) MapIndex added in v6.67.0

func (TableMapOutput) ToOutput added in v6.67.0

func (o TableMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Table]

func (TableMapOutput) ToTableMapOutput added in v6.67.0

func (o TableMapOutput) ToTableMapOutput() TableMapOutput

func (TableMapOutput) ToTableMapOutputWithContext added in v6.67.0

func (o TableMapOutput) ToTableMapOutputWithContext(ctx context.Context) TableMapOutput

type TableOutput added in v6.67.0

type TableOutput struct{ *pulumi.OutputState }

func (TableOutput) CreateTime added in v6.67.0

func (o TableOutput) CreateTime() pulumi.StringOutput

Output only. The creation time of the table. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (TableOutput) Database added in v6.67.0

func (o TableOutput) Database() pulumi.StringPtrOutput

The id of the parent database.

func (TableOutput) DeleteTime added in v6.67.0

func (o TableOutput) DeleteTime() pulumi.StringOutput

Output only. The deletion time of the table. Only set after the table is deleted. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (TableOutput) ElementType added in v6.67.0

func (TableOutput) ElementType() reflect.Type

func (TableOutput) Etag added in v6.67.0

func (o TableOutput) Etag() pulumi.StringOutput

The checksum of a table object computed by the server based on the value of other fields. It may be sent on update requests to ensure the client has an up-to-date value before proceeding. It is only checked for update table operations.

func (TableOutput) ExpireTime added in v6.67.0

func (o TableOutput) ExpireTime() pulumi.StringOutput

Output only. The time when this table is considered expired. Only set after the table is deleted. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (TableOutput) HiveOptions added in v6.67.0

func (o TableOutput) HiveOptions() TableHiveOptionsPtrOutput

Options of a Hive table. Structure is documented below.

func (TableOutput) Name added in v6.67.0

func (o TableOutput) Name() pulumi.StringOutput

Output only. The name of the Table. Format: projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}/databases/{databaseId}/tables/{tableId}

***

func (TableOutput) ToOutput added in v6.67.0

func (o TableOutput) ToOutput(ctx context.Context) pulumix.Output[*Table]

func (TableOutput) ToTableOutput added in v6.67.0

func (o TableOutput) ToTableOutput() TableOutput

func (TableOutput) ToTableOutputWithContext added in v6.67.0

func (o TableOutput) ToTableOutputWithContext(ctx context.Context) TableOutput

func (TableOutput) Type added in v6.67.0

The database type. Possible values are: `HIVE`.

func (TableOutput) UpdateTime added in v6.67.0

func (o TableOutput) UpdateTime() pulumi.StringOutput

Output only. The last modification time of the table. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

type TableState added in v6.67.0

type TableState struct {
	// Output only. The creation time of the table. A timestamp in RFC3339 UTC
	// "Zulu" format, with nanosecond resolution and up to nine fractional
	// digits. Examples: "2014-10-02T15:01:23Z" and
	// "2014-10-02T15:01:23.045123456Z".
	CreateTime pulumi.StringPtrInput
	// The id of the parent database.
	Database pulumi.StringPtrInput
	// Output only. The deletion time of the table. Only set after the
	// table is deleted. A timestamp in RFC3339 UTC "Zulu" format, with
	// nanosecond resolution and up to nine fractional digits. Examples:
	// "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	DeleteTime pulumi.StringPtrInput
	// The checksum of a table object computed by the server based on the value
	// of other fields. It may be sent on update requests to ensure the client
	// has an up-to-date value before proceeding. It is only checked for update
	// table operations.
	Etag pulumi.StringPtrInput
	// Output only. The time when this table is considered expired. Only set
	// after the table is deleted. A timestamp in RFC3339 UTC "Zulu" format,
	// with nanosecond resolution and up to nine fractional digits. Examples:
	// "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	ExpireTime pulumi.StringPtrInput
	// Options of a Hive table.
	// Structure is documented below.
	HiveOptions TableHiveOptionsPtrInput
	// Output only. The name of the Table. Format:
	// projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}/databases/{databaseId}/tables/{tableId}
	//
	// ***
	Name pulumi.StringPtrInput
	// The database type.
	// Possible values are: `HIVE`.
	Type pulumi.StringPtrInput
	// Output only. The last modification time of the table. A timestamp in
	// RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
	// fractional digits. Examples: "2014-10-02T15:01:23Z" and
	// "2014-10-02T15:01:23.045123456Z".
	UpdateTime pulumi.StringPtrInput
}

func (TableState) ElementType added in v6.67.0

func (TableState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL