datastore

package
v2.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataStoreIndex

type DataStoreIndex struct {
	pulumi.CustomResourceState

	// Policy for including ancestors in the index. Either 'ALL_ANCESTORS' or 'NONE', the default is 'NONE'.
	Ancestor pulumi.StringPtrOutput `pulumi:"ancestor"`
	// The index id.
	IndexId pulumi.StringOutput `pulumi:"indexId"`
	// The entity kind which the index applies to.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// 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"`
	// An ordered list of properties to index on.
	Properties DataStoreIndexPropertyArrayOutput `pulumi:"properties"`
}

Describes a composite index for Cloud Datastore.

To get more information about Index, see:

* [API documentation](https://cloud.google.com/datastore/docs/reference/admin/rest/v1/projects.indexes) * How-to Guides

> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/datastore_index.html.markdown.

func GetDataStoreIndex

func GetDataStoreIndex(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DataStoreIndexState, opts ...pulumi.ResourceOption) (*DataStoreIndex, error)

GetDataStoreIndex gets an existing DataStoreIndex 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 NewDataStoreIndex

func NewDataStoreIndex(ctx *pulumi.Context,
	name string, args *DataStoreIndexArgs, opts ...pulumi.ResourceOption) (*DataStoreIndex, error)

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

type DataStoreIndexArgs

type DataStoreIndexArgs struct {
	// Policy for including ancestors in the index. Either 'ALL_ANCESTORS' or 'NONE', the default is 'NONE'.
	Ancestor pulumi.StringPtrInput
	// The entity kind which the index applies to.
	Kind pulumi.StringInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// An ordered list of properties to index on.
	Properties DataStoreIndexPropertyArrayInput
}

The set of arguments for constructing a DataStoreIndex resource.

func (DataStoreIndexArgs) ElementType

func (DataStoreIndexArgs) ElementType() reflect.Type

type DataStoreIndexProperty

type DataStoreIndexProperty struct {
	Direction string `pulumi:"direction"`
	Name      string `pulumi:"name"`
}

type DataStoreIndexPropertyArgs

type DataStoreIndexPropertyArgs struct {
	Direction pulumi.StringInput `pulumi:"direction"`
	Name      pulumi.StringInput `pulumi:"name"`
}

func (DataStoreIndexPropertyArgs) ElementType

func (DataStoreIndexPropertyArgs) ElementType() reflect.Type

func (DataStoreIndexPropertyArgs) ToDataStoreIndexPropertyOutput

func (i DataStoreIndexPropertyArgs) ToDataStoreIndexPropertyOutput() DataStoreIndexPropertyOutput

func (DataStoreIndexPropertyArgs) ToDataStoreIndexPropertyOutputWithContext

func (i DataStoreIndexPropertyArgs) ToDataStoreIndexPropertyOutputWithContext(ctx context.Context) DataStoreIndexPropertyOutput

type DataStoreIndexPropertyArray

type DataStoreIndexPropertyArray []DataStoreIndexPropertyInput

func (DataStoreIndexPropertyArray) ElementType

func (DataStoreIndexPropertyArray) ToDataStoreIndexPropertyArrayOutput

func (i DataStoreIndexPropertyArray) ToDataStoreIndexPropertyArrayOutput() DataStoreIndexPropertyArrayOutput

func (DataStoreIndexPropertyArray) ToDataStoreIndexPropertyArrayOutputWithContext

func (i DataStoreIndexPropertyArray) ToDataStoreIndexPropertyArrayOutputWithContext(ctx context.Context) DataStoreIndexPropertyArrayOutput

type DataStoreIndexPropertyArrayInput

type DataStoreIndexPropertyArrayInput interface {
	pulumi.Input

	ToDataStoreIndexPropertyArrayOutput() DataStoreIndexPropertyArrayOutput
	ToDataStoreIndexPropertyArrayOutputWithContext(context.Context) DataStoreIndexPropertyArrayOutput
}

type DataStoreIndexPropertyArrayOutput

type DataStoreIndexPropertyArrayOutput struct{ *pulumi.OutputState }

func (DataStoreIndexPropertyArrayOutput) ElementType

func (DataStoreIndexPropertyArrayOutput) Index

func (DataStoreIndexPropertyArrayOutput) ToDataStoreIndexPropertyArrayOutput

func (o DataStoreIndexPropertyArrayOutput) ToDataStoreIndexPropertyArrayOutput() DataStoreIndexPropertyArrayOutput

func (DataStoreIndexPropertyArrayOutput) ToDataStoreIndexPropertyArrayOutputWithContext

func (o DataStoreIndexPropertyArrayOutput) ToDataStoreIndexPropertyArrayOutputWithContext(ctx context.Context) DataStoreIndexPropertyArrayOutput

type DataStoreIndexPropertyInput

type DataStoreIndexPropertyInput interface {
	pulumi.Input

	ToDataStoreIndexPropertyOutput() DataStoreIndexPropertyOutput
	ToDataStoreIndexPropertyOutputWithContext(context.Context) DataStoreIndexPropertyOutput
}

type DataStoreIndexPropertyOutput

type DataStoreIndexPropertyOutput struct{ *pulumi.OutputState }

func (DataStoreIndexPropertyOutput) Direction

func (DataStoreIndexPropertyOutput) ElementType

func (DataStoreIndexPropertyOutput) Name

func (DataStoreIndexPropertyOutput) ToDataStoreIndexPropertyOutput

func (o DataStoreIndexPropertyOutput) ToDataStoreIndexPropertyOutput() DataStoreIndexPropertyOutput

func (DataStoreIndexPropertyOutput) ToDataStoreIndexPropertyOutputWithContext

func (o DataStoreIndexPropertyOutput) ToDataStoreIndexPropertyOutputWithContext(ctx context.Context) DataStoreIndexPropertyOutput

type DataStoreIndexState

type DataStoreIndexState struct {
	// Policy for including ancestors in the index. Either 'ALL_ANCESTORS' or 'NONE', the default is 'NONE'.
	Ancestor pulumi.StringPtrInput
	// The index id.
	IndexId pulumi.StringPtrInput
	// The entity kind which the index applies to.
	Kind 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
	// An ordered list of properties to index on.
	Properties DataStoreIndexPropertyArrayInput
}

func (DataStoreIndexState) ElementType

func (DataStoreIndexState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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