mongodb

package
v2.48.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MPL-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceInstance

func DataSourceInstance() *schema.Resource

func DataSourceInstanceRead

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

func NewAPIWithRegionAndID

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

func NewAPIWithZoneAndID

func NewAPIWithZoneAndID(m interface{}, id string) (*mongodb.API, scw.Zone, string, error)

NewAPIWithZoneAndID returns a mongoDB API with zone and ID extracted from the state

func ResourceInstance

func ResourceInstance() *schema.Resource

func ResourceInstanceCreate

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

func ResourceInstanceDelete

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

func ResourceInstanceRead

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

func ResourceInstanceUpdate

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

func ResourceSnapshot

func ResourceSnapshot() *schema.Resource

func ResourceSnapshotCreate

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

func ResourceSnapshotDelete

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

func ResourceSnapshotRead

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

func ResourceSnapshotUpdate

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

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