Documentation ¶
Index ¶
- func NewAPIWithRegionAndID(m interface{}, regionalID string) (*sdbSDK.API, scw.Region, string, error)
- func ResourceDatabase() *schema.Resource
- func ResourceDatabaseCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceDatabaseDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceDatabaseRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceDatabaseUpdate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAPIWithRegionAndID ¶
func NewAPIWithRegionAndID(m interface{}, regionalID string) (*sdbSDK.API, scw.Region, string, error)
NewAPIWithRegionAndID returns a new serverless_sqldb API with region and ID extracted from the state
func ResourceDatabase ¶
func ResourceDatabaseCreate ¶
func ResourceDatabaseCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
func ResourceDatabaseDelete ¶
func ResourceDatabaseDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
func ResourceDatabaseRead ¶
func ResourceDatabaseRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
func ResourceDatabaseUpdate ¶
func ResourceDatabaseUpdate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.