block

package
v2.47.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

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 DataSourceSnapshot() *schema.Resource

func DataSourceVolume

func DataSourceVolume() *schema.Resource

func NewAPIWithZoneAndID

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

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 ResourceSnapshot() *schema.Resource

func ResourceVolume

func ResourceVolume() *schema.Resource

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