Documentation ¶
Index ¶
- func DataSourceInstance() *schema.Resource
- func DataSourceInstanceRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func NewAPIWithRegionAndID(m interface{}, id string) (*mongodb.API, scw.Region, string, error)
- func NewAPIWithZoneAndID(m interface{}, id string) (*mongodb.API, scw.Zone, string, error)
- func ResourceInstance() *schema.Resource
- func ResourceInstanceCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceInstanceDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceInstanceRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceInstanceUpdate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceSnapshot() *schema.Resource
- func ResourceSnapshotCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceSnapshotDelete(_ context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceSnapshotRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceSnapshotUpdate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataSourceInstance ¶
func DataSourceInstanceRead ¶
func DataSourceInstanceRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
func NewAPIWithRegionAndID ¶
func NewAPIWithZoneAndID ¶
NewAPIWithZoneAndID returns a mongoDB API with zone and ID extracted from the state
func ResourceInstance ¶
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 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.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.