Documentation ¶
Index ¶
- Constants
- func BackupRule(backupRule map[string]interface{}) *upcloud.BackupRule
- func BackupRuleBlock() schema.ListNestedBlock
- func BackupRuleSchema() *sdkv2_schema.Schema
- func NewStorageDataSource() datasource.DataSource
- func NewStorageResource() resource.Resource
- func NewStorageTemplateResource() resource.Resource
- func ResizeStoragePartitionAndFs(ctx context.Context, client *service.Service, UUID string, deleteBackup bool) diag.Diagnostics
- type BackupRuleModel
Constants ¶
View Source
const ( BackupRuleSimpleBackupWarning = `Also, due to how UpCloud API works with simple backups and how Terraform orders the update operations, it is advised to never switch between ` + "`" + `simple_backup` + "`" + ` on the server and individual storages ` + "`" + `backup_rules` + "`" + ` in one apply. If you want to switch from using server simple backup to per-storage defined backup rules, please first remove ` + "`" + `simple_backup` + "`" + ` block from a server, run ` + "`" + `terraform apply` + "`" + `, then add ` + "`" + `backup_rule` + "`" + ` to desired storages and run ` + "`" + `terraform apply` + "`" + ` again.` BackupRuleDescription = `The criteria to backup the storage. Please keep in mind that it's not possible to have a storage with ` + "`" + `backup_rule` + "`" + ` attached to a server with ` + "`" + `simple_backup` + "`" + ` specified. Such configurations will throw errors during execution. ` + BackupRuleSimpleBackupWarning )
Lines > 1 should have one level of indentation to keep them under the right list item
Variables ¶
This section is empty.
Functions ¶
func BackupRule ¶
func BackupRule(backupRule map[string]interface{}) *upcloud.BackupRule
func BackupRuleBlock ¶
func BackupRuleBlock() schema.ListNestedBlock
func BackupRuleSchema ¶
func BackupRuleSchema() *sdkv2_schema.Schema
func NewStorageDataSource ¶
func NewStorageDataSource() datasource.DataSource
func NewStorageResource ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.