documentdb

package
v2.42.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: MPL-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceDatabase

func DataSourceDatabase() *schema.Resource

func DataSourceDocumentDBDatabaseRead

func DataSourceDocumentDBDatabaseRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DataSourceDocumentDBInstanceRead

func DataSourceDocumentDBInstanceRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DataSourceDocumentDBLoadBalancerRead

func DataSourceDocumentDBLoadBalancerRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DataSourceEndpointLoadBalancer

func DataSourceEndpointLoadBalancer() *schema.Resource

func DataSourceInstance

func DataSourceInstance() *schema.Resource

func NewAPIWithRegionAndID

func NewAPIWithRegionAndID(m interface{}, regionalID string) (*documentdb.API, scw.Region, string, error)

NewAPIWithRegionAndID returns a new documentdb API with region and ID extracted from the state

func ResourceDatabase

func ResourceDatabase() *schema.Resource

func ResourceDocumentDBDatabaseCreate

func ResourceDocumentDBDatabaseCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceDocumentDBDatabaseName

func ResourceDocumentDBDatabaseName(id string) (string, string, error)

ResourceDocumentDBDatabaseName extract regional instanceID and databaseName from composed ID returned by resourceDocumentDBDatabaseID()

func ResourceDocumentDBUserParseID

func ResourceDocumentDBUserParseID(resourceID string) (region scw.Region, instanceID string, userName string, err error)

ResourceDocumentDBUserParseID extracts instance ID and username from the resource identifier. The resource identifier format is "Region/InstanceId/UserName"

func ResourceInstance

func ResourceInstance() *schema.Resource

func ResourcePrivateNetworkEndpoint

func ResourcePrivateNetworkEndpoint() *schema.Resource

func ResourcePrivilege

func ResourcePrivilege() *schema.Resource

func ResourceReadReplica

func ResourceReadReplica() *schema.Resource

func ResourceUser

func ResourceUser() *schema.Resource

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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