datastore

package
v3.9.0 Latest Latest
Warning

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

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

Documentation

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.
	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.  Structure is documented below.
	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

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.
	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.  Structure is documented below.
	Properties DataStoreIndexPropertyArrayInput
}

The set of arguments for constructing a DataStoreIndex resource.

func (DataStoreIndexArgs) ElementType

func (DataStoreIndexArgs) ElementType() reflect.Type

type DataStoreIndexProperty

type DataStoreIndexProperty struct {
	// The direction the index should optimize for sorting.
	Direction string `pulumi:"direction"`
	// The property name to index.
	Name string `pulumi:"name"`
}

type DataStoreIndexPropertyArgs

type DataStoreIndexPropertyArgs struct {
	// The direction the index should optimize for sorting.
	Direction pulumi.StringInput `pulumi:"direction"`
	// The property name to index.
	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
}

DataStoreIndexPropertyArrayInput is an input type that accepts DataStoreIndexPropertyArray and DataStoreIndexPropertyArrayOutput values. You can construct a concrete instance of `DataStoreIndexPropertyArrayInput` via:

DataStoreIndexPropertyArray{ DataStoreIndexPropertyArgs{...} }

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
}

DataStoreIndexPropertyInput is an input type that accepts DataStoreIndexPropertyArgs and DataStoreIndexPropertyOutput values. You can construct a concrete instance of `DataStoreIndexPropertyInput` via:

DataStoreIndexPropertyArgs{...}

type DataStoreIndexPropertyOutput

type DataStoreIndexPropertyOutput struct{ *pulumi.OutputState }

func (DataStoreIndexPropertyOutput) Direction

The direction the index should optimize for sorting.

func (DataStoreIndexPropertyOutput) ElementType

func (DataStoreIndexPropertyOutput) Name

The property name to index.

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.
	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.  Structure is documented below.
	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