Documentation ¶
Index ¶
- Constants
- func DataSourceBlockSnapshotRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func DataSourceBlockVolumeRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func DataSourceSnapshot() *schema.Resource
- func DataSourceVolume() *schema.Resource
- func NewAPIWithZoneAndID(m interface{}, zonedID string) (*block.API, scw.Zone, string, error)
- func ResourceBlockSnapshotCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceBlockSnapshotDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceBlockSnapshotRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceBlockSnapshotUpdate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceBlockVolumeCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceBlockVolumeDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceBlockVolumeRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceBlockVolumeUpdate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceSnapshot() *schema.Resource
- func ResourceVolume() *schema.Resource
Constants ¶
View Source
const (
BlockVolumeType = instance.VolumeServerVolumeType("sbs_volume")
)
Variables ¶
This section is empty.
Functions ¶
func DataSourceBlockSnapshotRead ¶
func DataSourceBlockSnapshotRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
func DataSourceBlockVolumeRead ¶
func DataSourceBlockVolumeRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
func DataSourceSnapshot ¶
func DataSourceVolume ¶
func NewAPIWithZoneAndID ¶
NewAPIWithZoneAndID returns a new block API with zone and ID extracted from the state
func ResourceBlockSnapshotCreate ¶
func ResourceBlockSnapshotCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
func ResourceBlockSnapshotDelete ¶
func ResourceBlockSnapshotDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
func ResourceBlockSnapshotRead ¶
func ResourceBlockSnapshotRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
func ResourceBlockSnapshotUpdate ¶
func ResourceBlockSnapshotUpdate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
func ResourceBlockVolumeCreate ¶
func ResourceBlockVolumeCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
func ResourceBlockVolumeDelete ¶
func ResourceBlockVolumeDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
func ResourceBlockVolumeRead ¶
func ResourceBlockVolumeRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
func ResourceBlockVolumeUpdate ¶
func ResourceBlockVolumeUpdate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
func ResourceSnapshot ¶
func ResourceVolume ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.