cosmosdbgremlingraph

package
v0.0.0-...-c2cc54e Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoscaleSettings

type AutoscaleSettings struct {
	// MaxThroughput: number, optional
	MaxThroughput terra.NumberValue `hcl:"max_throughput,attr"`
}

type AutoscaleSettingsAttributes

type AutoscaleSettingsAttributes struct {
	// contains filtered or unexported fields
}

func (AutoscaleSettingsAttributes) InternalRef

func (as AutoscaleSettingsAttributes) InternalRef() (terra.Reference, error)

func (AutoscaleSettingsAttributes) InternalTokens

func (as AutoscaleSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AutoscaleSettingsAttributes) InternalWithRef

func (AutoscaleSettingsAttributes) MaxThroughput

func (as AutoscaleSettingsAttributes) MaxThroughput() terra.NumberValue

type AutoscaleSettingsState

type AutoscaleSettingsState struct {
	MaxThroughput float64 `json:"max_throughput"`
}

type CompositeIndex

type CompositeIndex struct {
	// Index: min=1
	Index []Index `hcl:"index,block" validate:"min=1"`
}

type CompositeIndexAttributes

type CompositeIndexAttributes struct {
	// contains filtered or unexported fields
}

func (CompositeIndexAttributes) Index

func (CompositeIndexAttributes) InternalRef

func (ci CompositeIndexAttributes) InternalRef() (terra.Reference, error)

func (CompositeIndexAttributes) InternalTokens

func (ci CompositeIndexAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CompositeIndexAttributes) InternalWithRef

type CompositeIndexState

type CompositeIndexState struct {
	Index []IndexState `json:"index"`
}

type ConflictResolutionPolicy

type ConflictResolutionPolicy struct {
	// ConflictResolutionPath: string, optional
	ConflictResolutionPath terra.StringValue `hcl:"conflict_resolution_path,attr"`
	// ConflictResolutionProcedure: string, optional
	ConflictResolutionProcedure terra.StringValue `hcl:"conflict_resolution_procedure,attr"`
	// Mode: string, required
	Mode terra.StringValue `hcl:"mode,attr" validate:"required"`
}

type ConflictResolutionPolicyAttributes

type ConflictResolutionPolicyAttributes struct {
	// contains filtered or unexported fields
}

func (ConflictResolutionPolicyAttributes) ConflictResolutionPath

func (crp ConflictResolutionPolicyAttributes) ConflictResolutionPath() terra.StringValue

func (ConflictResolutionPolicyAttributes) ConflictResolutionProcedure

func (crp ConflictResolutionPolicyAttributes) ConflictResolutionProcedure() terra.StringValue

func (ConflictResolutionPolicyAttributes) InternalRef

func (ConflictResolutionPolicyAttributes) InternalTokens

func (crp ConflictResolutionPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConflictResolutionPolicyAttributes) InternalWithRef

func (ConflictResolutionPolicyAttributes) Mode

type ConflictResolutionPolicyState

type ConflictResolutionPolicyState struct {
	ConflictResolutionPath      string `json:"conflict_resolution_path"`
	ConflictResolutionProcedure string `json:"conflict_resolution_procedure"`
	Mode                        string `json:"mode"`
}

type Index

type Index struct {
	// Order: string, required
	Order terra.StringValue `hcl:"order,attr" validate:"required"`
	// Path: string, required
	Path terra.StringValue `hcl:"path,attr" validate:"required"`
}

type IndexAttributes

type IndexAttributes struct {
	// contains filtered or unexported fields
}

func (IndexAttributes) InternalRef

func (i IndexAttributes) InternalRef() (terra.Reference, error)

func (IndexAttributes) InternalTokens

func (i IndexAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IndexAttributes) InternalWithRef

func (i IndexAttributes) InternalWithRef(ref terra.Reference) IndexAttributes

func (IndexAttributes) Order

func (i IndexAttributes) Order() terra.StringValue

func (IndexAttributes) Path

type IndexPolicy

type IndexPolicy struct {
	// Automatic: bool, optional
	Automatic terra.BoolValue `hcl:"automatic,attr"`
	// ExcludedPaths: set of string, optional
	ExcludedPaths terra.SetValue[terra.StringValue] `hcl:"excluded_paths,attr"`
	// IncludedPaths: set of string, optional
	IncludedPaths terra.SetValue[terra.StringValue] `hcl:"included_paths,attr"`
	// IndexingMode: string, required
	IndexingMode terra.StringValue `hcl:"indexing_mode,attr" validate:"required"`
	// CompositeIndex: min=0
	CompositeIndex []CompositeIndex `hcl:"composite_index,block" validate:"min=0"`
	// SpatialIndex: min=0
	SpatialIndex []SpatialIndex `hcl:"spatial_index,block" validate:"min=0"`
}

type IndexPolicyAttributes

type IndexPolicyAttributes struct {
	// contains filtered or unexported fields
}

func (IndexPolicyAttributes) Automatic

func (ip IndexPolicyAttributes) Automatic() terra.BoolValue

func (IndexPolicyAttributes) CompositeIndex

func (IndexPolicyAttributes) ExcludedPaths

func (IndexPolicyAttributes) IncludedPaths

func (IndexPolicyAttributes) IndexingMode

func (ip IndexPolicyAttributes) IndexingMode() terra.StringValue

func (IndexPolicyAttributes) InternalRef

func (ip IndexPolicyAttributes) InternalRef() (terra.Reference, error)

func (IndexPolicyAttributes) InternalTokens

func (ip IndexPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IndexPolicyAttributes) InternalWithRef

func (IndexPolicyAttributes) SpatialIndex

type IndexPolicyState

type IndexPolicyState struct {
	Automatic      bool                  `json:"automatic"`
	ExcludedPaths  []string              `json:"excluded_paths"`
	IncludedPaths  []string              `json:"included_paths"`
	IndexingMode   string                `json:"indexing_mode"`
	CompositeIndex []CompositeIndexState `json:"composite_index"`
	SpatialIndex   []SpatialIndexState   `json:"spatial_index"`
}

type IndexState

type IndexState struct {
	Order string `json:"order"`
	Path  string `json:"path"`
}

type SpatialIndex

type SpatialIndex struct {
	// Path: string, required
	Path terra.StringValue `hcl:"path,attr" validate:"required"`
}

type SpatialIndexAttributes

type SpatialIndexAttributes struct {
	// contains filtered or unexported fields
}

func (SpatialIndexAttributes) InternalRef

func (si SpatialIndexAttributes) InternalRef() (terra.Reference, error)

func (SpatialIndexAttributes) InternalTokens

func (si SpatialIndexAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpatialIndexAttributes) InternalWithRef

func (SpatialIndexAttributes) Path

func (SpatialIndexAttributes) Types

type SpatialIndexState

type SpatialIndexState struct {
	Path  string   `json:"path"`
	Types []string `json:"types"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Read: string, optional
	Read terra.StringValue `hcl:"read,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Read

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Read   string `json:"read"`
	Update string `json:"update"`
}

type UniqueKey

type UniqueKey struct {
	// Paths: set of string, required
	Paths terra.SetValue[terra.StringValue] `hcl:"paths,attr" validate:"required"`
}

type UniqueKeyAttributes

type UniqueKeyAttributes struct {
	// contains filtered or unexported fields
}

func (UniqueKeyAttributes) InternalRef

func (uk UniqueKeyAttributes) InternalRef() (terra.Reference, error)

func (UniqueKeyAttributes) InternalTokens

func (uk UniqueKeyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (UniqueKeyAttributes) InternalWithRef

func (uk UniqueKeyAttributes) InternalWithRef(ref terra.Reference) UniqueKeyAttributes

func (UniqueKeyAttributes) Paths

type UniqueKeyState

type UniqueKeyState struct {
	Paths []string `json:"paths"`
}

Jump to

Keyboard shortcuts

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