Documentation ¶
Index ¶
- Constants
- func DataSourceBackup() *schema.Resource
- func DataSourcePolicies() *schema.Resource
- func DataSourceVaults() *schema.Resource
- func ResourceBackupShare() *schema.Resource
- func ResourceBackupShareAccepter() *schema.Resource
- func ResourceCheckpoint() *schema.Resource
- func ResourcePolicy() *schema.Resource
- func ResourceVault() *schema.Resource
Constants ¶
const ( // VaultTypeServer is the object type of the Cloud Server Backups. VaultTypeServer = "server" // VaultTypeDisk is the object type of the Cloud Disk Backups. VaultTypeDisk = "disk" // VaultTypeTurbo is the object type of the SFS Turbo Backups. VaultTypeTurbo = "turbo" // VaultTypeTurbo is the object type of the Cloud desktop Backups. VaultTypeWorkspace = "workspace" // VaultTypeTurbo is the object type of the VM Ware Backups. VaultTypeVMware = "vmware" // VaultTypeTurbo is the object type of the Cloud files Backups. VaultTypeFile = "file" // ResourceTypeServer is the type of the Cloud Server resources to be backed up. ResourceTypeServer = "OS::Nova::Server" // ResourceTypeDisk is the type of the Cloud Disk resources to be backed up. ResourceTypeDisk = "OS::Cinder::Volume" // ResourceTypeTurbo is the type of the SFS Turbo resources to be backed up. ResourceTypeTurbo = "OS::Sfs::Turbo" // ResourceTypeWorkspace is the type of the Cloud desktop resources to be backed up. ResourceTypeWorkspace = "OS::Workspace::DesktopV2" // ResourceTypeNone is the type that used to mark no resource needs to be backed up. ResourceTypeNone = "No resource to backup" )
Variables ¶
This section is empty.
Functions ¶
func DataSourceBackup ¶ added in v1.49.0
@API CBR GET /v3/{project_id}/backups/{backup_id}
func DataSourcePolicies ¶ added in v1.58.0
@API CBR GET /v3/{project_id}/policies
func DataSourceVaults ¶ added in v1.51.0
@API CBR GET /v3/{project_id}/policies @API CBR GET /v3/{project_id}/vaults
func ResourceBackupShare ¶ added in v1.58.0
@API CBR POST /v3/{project_id}/backups/{backup_id}/members @API CBR GET /v3/{project_id}/backups/{backup_id}/members @API CBR DELETE /v3/{project_id}/backups/{backup_id}/members/{member_id}
func ResourceBackupShareAccepter ¶ added in v1.60.0
@API CBR PUT /v3/{project_id}/backups/{backup_id}/members/{member_id} @API CBR GET /v3/{project_id}/backups/{backup_id}
func ResourceCheckpoint ¶ added in v1.57.0
@API CBR POST /v3/{project_id}/checkpoints @API CBR GET /v3/{project_id}/checkpoints/{checkpoint_id} @API CBR GET /v3/{project_id}/backups @API CBR DELETE /v3/{project_id}/backups/{backup_id}
func ResourcePolicy ¶ added in v1.51.0
@API CBR POST /v3/{project_id}/policies @API CBR GET /v3/{project_id}/policies/{policy_id} @API CBR PUT /v3/{project_id}/policies/{policy_id} @API CBR DELETE /v3/{project_id}/policies/{policy_id}
func ResourceVault ¶ added in v1.38.0
@API CBR POST /v3/{project_id}/vaults @API CBR POST /v3/{project_id}/vaults/{vault_id}/associatepolicy @API CBR POST /v3/{project_id}/vaults/{vault_id}/dissociatepolicy @API CBR GET /v3/{project_id}/vaults/{vault_id} @API CBR GET /v3/{project_id}/policies @API CBR PUT /v3/{project_id}/vaults/{vault_id} @API CBR POST /v3/{project_id}/vaults/{vault_id}/addresources @API CBR POST /v3/{project_id}/vaults/{vault_id}/removeresources @API CBR POST /v3/{project_id}/vault/{vault_id}/tags/action @API CBR DELETE /v3/{project_id}/vaults/{vault_id}
Types ¶
This section is empty.
Source Files ¶
- data_source_huaweicloud_cbr_backup.go
- data_source_huaweicloud_cbr_policies.go
- data_source_huaweicloud_cbr_vaults.go
- resource_huaweicloud_cbr_backup_share.go
- resource_huaweicloud_cbr_backup_share_accepter.go
- resource_huaweicloud_cbr_checkpoint.go
- resource_huaweicloud_cbr_policy.go
- resource_huaweicloud_cbr_vault.go