Documentation ¶
Index ¶
- func DataSourceDatabase() *schema.Resource
- func DataSourceDocumentDBDatabaseRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func DataSourceDocumentDBInstanceRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func DataSourceDocumentDBLoadBalancerRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func DataSourceEndpointLoadBalancer() *schema.Resource
- func DataSourceInstance() *schema.Resource
- func NewAPIWithRegionAndID(m interface{}, regionalID string) (*documentdb.API, scw.Region, string, error)
- func ResourceDatabase() *schema.Resource
- func ResourceDocumentDBDatabaseCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceDocumentDBDatabaseName(id string) (string, string, error)
- func ResourceDocumentDBUserParseID(resourceID string) (region scw.Region, instanceID string, userName string, err error)
- func ResourceInstance() *schema.Resource
- func ResourcePrivateNetworkEndpoint() *schema.Resource
- func ResourcePrivilege() *schema.Resource
- func ResourceReadReplica() *schema.Resource
- func ResourceUser() *schema.Resource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataSourceDatabase ¶
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 DataSourceInstance ¶
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 ResourceDocumentDBDatabaseCreate ¶
func ResourceDocumentDBDatabaseCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
func ResourceDocumentDBDatabaseName ¶
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 ResourcePrivilege ¶
func ResourceReadReplica ¶
func ResourceUser ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.