diff --git a/docs/cbr/api-ref/ALL_META.TXT.json b/docs/cbr/api-ref/ALL_META.TXT.json index 100f3233e..db268644b 100644 --- a/docs/cbr/api-ref/ALL_META.TXT.json +++ b/docs/cbr/api-ref/ALL_META.TXT.json @@ -1,4 +1,7 @@ [ + { + "dockw":"API Reference" + }, { "uri":"cbr_04_0001.html", "node_id":"cbr_04_0001.xml", @@ -107,30 +110,11 @@ "title":"Tasks", "githuburl":"" }, - { - "uri":"ShowOpLog.html", - "node_id":"showoplog.xml", - "product_code":"", - "code":"7", - "des":"This API is used to query a task by task ID.GET /v3/{project_id}/operation-logs/{operation_log_id}Status code: 200Status code: 404Status code: 200OKStatus code: 404The ta", - "doc_type":"api", - "kw":"Querying a Single Task,Tasks,API Reference", - "search_title":"", - "metedata":[ - { - "opensource":"true", - "documenttype":"api", - "operation_id":"ShowOpLog" - } - ], - "title":"Querying a Single Task", - "githuburl":"" - }, { "uri":"ListOpLogs.html", "node_id":"listoplogs.xml", "product_code":"", - "code":"8", + "code":"7", "des":"This API is used to query the task list.GET /v3/{project_id}/operation-logsStatus code: 200Status code: 404Status code: 200OKSee Error Codes.", "doc_type":"api", "kw":"Querying the Task List,Tasks,API Reference", @@ -145,6 +129,25 @@ "title":"Querying the Task List", "githuburl":"" }, + { + "uri":"ShowOpLog.html", + "node_id":"showoplog.xml", + "product_code":"", + "code":"8", + "des":"This API is used to query a task by task ID.GET /v3/{project_id}/operation-logs/{operation_log_id}Status code: 200Status code: 404Status code: 200OKStatus code: 404The ta", + "doc_type":"api", + "kw":"Querying a Single Task,Tasks,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "operation_id":"ShowOpLog" + } + ], + "title":"Querying a Single Task", + "githuburl":"" + }, { "uri":"topic_300000002.html", "node_id":"topic_300000002.xml", @@ -152,378 +155,40 @@ "code":"9", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", - "kw":"Backup Sharing", + "kw":"Protection", "search_title":"", "metedata":[ { "documenttype":"api" } ], - "title":"Backup Sharing", + "title":"Protection", "githuburl":"" }, { - "uri":"AddMember.html", - "node_id":"addmember.xml", + "uri":"ShowReplicationCapabilities.html", + "node_id":"showreplicationcapabilities.xml", "product_code":"", "code":"10", - "des":"This API is used to add a member with whom the backup can be shared. Only cloud server backups can be shared among tenants in the same region.POST /v3/{project_id}/backup", + "des":"This API is used to query the replication capability of the current region.GET /v3/{project_id}/replication-capabilitiesStatus code: 200Status code: 200OKSee Error Codes.", "doc_type":"api", - "kw":"Adding a Share Member,Backup Sharing,API Reference", + "kw":"Querying the Replication Capability,Protection,API Reference", "search_title":"", "metedata":[ { "opensource":"true", "documenttype":"api", - "operation_id":"AddMember" + "operation_id":"ShowReplicationCapabilities" } ], - "title":"Adding a Share Member", - "githuburl":"" - }, - { - "uri":"ShowMembersDetail.html", - "node_id":"showmembersdetail.xml", - "product_code":"", - "code":"11", - "des":"This API is used to obtain the list of backup share members.GET /v3/{project_id}/backups/{backup_id}/membersStatus code: 200Status code: 200OKSee Error Codes.", - "doc_type":"api", - "kw":"Obtaining the Share Member List,Backup Sharing,API Reference", - "search_title":"", - "metedata":[ - { - "opensource":"true", - "documenttype":"api", - "operation_id":"ShowMembersDetail" - } - ], - "title":"Obtaining the Share Member List", - "githuburl":"" - }, - { - "uri":"UpdateMemberStatus.html", - "node_id":"updatememberstatus.xml", - "product_code":"", - "code":"12", - "des":"This API is used to update the status of a backup share member.PUT /v3/{project_id}/backups/{backup_id}/members/{member_id}Status code: 200Status code: 200OKSee Error Cod", - "doc_type":"api", - "kw":"Updating the Share Member Status,Backup Sharing,API Reference", - "search_title":"", - "metedata":[ - { - "opensource":"true", - "documenttype":"api", - "operation_id":"UpdateMemberStatus" - } - ], - "title":"Updating the Share Member Status", - "githuburl":"" - }, - { - "uri":"DeleteMember.html", - "node_id":"deletemember.xml", - "product_code":"", - "code":"13", - "des":"This API is used to delete a specified backup share member.DELETE /v3/{project_id}/backups/{backup_id}/members/{member_id}NoneNoneSee Error Codes.", - "doc_type":"api", - "kw":"Deleting a Specified Share Member,Backup Sharing,API Reference", - "search_title":"", - "metedata":[ - { - "opensource":"true", - "documenttype":"api", - "operation_id":"DeleteMember" - } - ], - "title":"Deleting a Specified Share Member", - "githuburl":"" - }, - { - "uri":"ShowMemberDetail.html", - "node_id":"showmemberdetail.xml", - "product_code":"", - "code":"14", - "des":"This API is used to obtain the details of a backup share member.GET /v3/{project_id}/backups/{backup_id}/members/{member_id}Status code: 200Status code: 200OKSee Error Co", - "doc_type":"api", - "kw":"Querying Share Member Details,Backup Sharing,API Reference", - "search_title":"", - "metedata":[ - { - "opensource":"true", - "documenttype":"api", - "operation_id":"ShowMemberDetail" - } - ], - "title":"Querying Share Member Details", + "title":"Querying the Replication Capability", "githuburl":"" }, { "uri":"topic_300000003.html", "node_id":"topic_300000003.xml", "product_code":"", - "code":"15", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"api", - "kw":"Restore Points", - "search_title":"", - "metedata":[ - { - "documenttype":"api" - } - ], - "title":"Restore Points", - "githuburl":"" - }, - { - "uri":"ShowCheckpoint.html", - "node_id":"showcheckpoint.xml", - "product_code":"", - "code":"16", - "des":"This API is used to query a specified restore point based on its ID.GET /v3/{project_id}/checkpoints/{checkpoint_id}Status code: 200Status code: 200OKSee Error Codes.", - "doc_type":"api", - "kw":"Querying a Restore Point,Restore Points,API Reference", - "search_title":"", - "metedata":[ - { - "opensource":"true", - "documenttype":"api", - "operation_id":"ShowCheckpoint" - } - ], - "title":"Querying a Restore Point", - "githuburl":"" - }, - { - "uri":"CreateCheckpoint.html", - "node_id":"createcheckpoint.xml", - "product_code":"", - "code":"17", - "des":"This API is used to back up a vault and generate a restore point.POST /v3/{project_id}/checkpointsStatus code: 200Creating backupsStatus code: 200OKSee Error Codes.", - "doc_type":"api", - "kw":"Creating a Restore Point,Restore Points,API Reference", - "search_title":"", - "metedata":[ - { - "opensource":"true", - "documenttype":"api", - "operation_id":"CreateCheckpoint" - } - ], - "title":"Creating a Restore Point", - "githuburl":"" - }, - { - "uri":"topic_300000004.html", - "node_id":"topic_300000004.xml", - "product_code":"", - "code":"18", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"api", - "kw":"Vaults", - "search_title":"", - "metedata":[ - { - "documenttype":"api" - } - ], - "title":"Vaults", - "githuburl":"" - }, - { - "uri":"CreateVault.html", - "node_id":"createvault.xml", - "product_code":"", - "code":"19", - "des":"This API is used to create a vault.POST /v3/{project_id}/vaultsStatus code: 200Status code: 400Creating a server backup vault, associating resources, and adding tagsPOST ", - "doc_type":"api", - "kw":"Creating a Vault,Vaults,API Reference", - "search_title":"", - "metedata":[ - { - "opensource":"true", - "documenttype":"api", - "operation_id":"CreateVault" - } - ], - "title":"Creating a Vault", - "githuburl":"" - }, - { - "uri":"ShowVault.html", - "node_id":"showvault.xml", - "product_code":"", - "code":"20", - "des":"This API is used to query a specified vault based on its ID.GET /v3/{project_id}/vaults/{vault_id}Status code: 200Status code: 404Status code: 200OKSee Error Codes.", - "doc_type":"api", - "kw":"Querying a Specified Vault,Vaults,API Reference", - "search_title":"", - "metedata":[ - { - "opensource":"true", - "documenttype":"api", - "operation_id":"ShowVault" - } - ], - "title":"Querying a Specified Vault", - "githuburl":"" - }, - { - "uri":"ListVault.html", - "node_id":"listvault.xml", - "product_code":"", - "code":"21", - "des":"This API is used to query the vault list.GET /v3/{project_id}/vaultsStatus code: 200Status code: 200OKSee Error Codes.", - "doc_type":"api", - "kw":"Querying the Vault List,Vaults,API Reference", - "search_title":"", - "metedata":[ - { - "opensource":"true", - "documenttype":"api", - "operation_id":"ListVault" - } - ], - "title":"Querying the Vault List", - "githuburl":"" - }, - { - "uri":"UpdateVault.html", - "node_id":"updatevault.xml", - "product_code":"", - "code":"22", - "des":"This API is used to modify a vault based on its ID.PUT /v3/{project_id}/vaults/{vault_id}Status code: 200Status code: 200OKSee Error Codes.", - "doc_type":"api", - "kw":"Modifying a Vault,Vaults,API Reference", - "search_title":"", - "metedata":[ - { - "opensource":"true", - "documenttype":"api", - "operation_id":"UpdateVault" - } - ], - "title":"Modifying a Vault", - "githuburl":"" - }, - { - "uri":"DeleteVault.html", - "node_id":"deletevault.xml", - "product_code":"", - "code":"23", - "des":"This API is used to delete vaults. Once a vault is deleted, all backups in the vault are cleared.DELETE /v3/{project_id}/vaults/{vault_id}NoneNoneSee Error Codes.", - "doc_type":"api", - "kw":"Deleting a Vault,Vaults,API Reference", - "search_title":"", - "metedata":[ - { - "opensource":"true", - "documenttype":"api", - "operation_id":"DeleteVault" - } - ], - "title":"Deleting a Vault", - "githuburl":"" - }, - { - "uri":"RemoveVaultResource.html", - "node_id":"removevaultresource.xml", - "product_code":"", - "code":"24", - "des":"This API is used to dissociate resources from a vault.POST /v3/{project_id}/vaults/{vault_id}/removeresourcesStatus code: 200Status code: 200OKSee Error Codes.", - "doc_type":"api", - "kw":"Dissociating Resources,Vaults,API Reference", - "search_title":"", - "metedata":[ - { - "opensource":"true", - "documenttype":"api", - "operation_id":"RemoveVaultResource" - } - ], - "title":"Dissociating Resources", - "githuburl":"" - }, - { - "uri":"AddVaultResource.html", - "node_id":"addvaultresource.xml", - "product_code":"", - "code":"25", - "des":"This API is used to associate resources with a vault.POST /v3/{project_id}/vaults/{vault_id}/addresourcesStatus code: 200Status code: 200OKSee Error Codes.", - "doc_type":"api", - "kw":"Associating Resources,Vaults,API Reference", - "search_title":"", - "metedata":[ - { - "opensource":"true", - "documenttype":"api", - "operation_id":"AddVaultResource" - } - ], - "title":"Associating Resources", - "githuburl":"" - }, - { - "uri":"AssociateVaultPolicy.html", - "node_id":"associatevaultpolicy.xml", - "product_code":"", - "code":"26", - "des":"This API is used to apply a policy to a vault.POST /v3/{project_id}/vaults/{vault_id}/associatepolicyStatus code: 200Status code: 200OKSee Error Codes.", - "doc_type":"api", - "kw":"Applying a Policy to a Vault,Vaults,API Reference", - "search_title":"", - "metedata":[ - { - "opensource":"true", - "documenttype":"api", - "operation_id":"AssociateVaultPolicy" - } - ], - "title":"Applying a Policy to a Vault", - "githuburl":"" - }, - { - "uri":"DisassociateVaultPolicy.html", - "node_id":"disassociatevaultpolicy.xml", - "product_code":"", - "code":"27", - "des":"This API is used to remove a policy from a vault.POST /v3/{project_id}/vaults/{vault_id}/dissociatepolicyStatus code: 200Status code: 200OKSee Error Codes.", - "doc_type":"api", - "kw":"Removing a Policy from a Vault,Vaults,API Reference", - "search_title":"", - "metedata":[ - { - "opensource":"true", - "documenttype":"api", - "operation_id":"DisassociateVaultPolicy" - } - ], - "title":"Removing a Policy from a Vault", - "githuburl":"" - }, - { - "uri":"MigrateVaultResource.html", - "node_id":"migratevaultresource.xml", - "product_code":"", - "code":"28", - "des":"This API is used to associate resources with another vault and migrate the resource backups to that destination vault.POST /v3/{project_id}/vaults/{vault_id}/migrateresou", - "doc_type":"api", - "kw":"Migrating Resources,Vaults,API Reference", - "search_title":"", - "metedata":[ - { - "opensource":"true", - "documenttype":"api", - "operation_id":"MigrateVaultResource" - } - ], - "title":"Migrating Resources", - "githuburl":"" - }, - { - "uri":"topic_300000005.html", - "node_id":"topic_300000005.xml", - "product_code":"", - "code":"29", + "code":"11", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Backups", @@ -536,30 +201,11 @@ "title":"Backups", "githuburl":"" }, - { - "uri":"ShowBackup.html", - "node_id":"showbackup.xml", - "product_code":"", - "code":"30", - "des":"This API is used to query the backup of a specific ID.GET /v3/{project_id}/backups/{backup_id}Status code: 200Status code: 200OKSee Error Codes.", - "doc_type":"api", - "kw":"Querying a Specified Backup,Backups,API Reference", - "search_title":"", - "metedata":[ - { - "opensource":"true", - "documenttype":"api", - "operation_id":"ShowBackup" - } - ], - "title":"Querying a Specified Backup", - "githuburl":"" - }, { "uri":"ListBackups.html", "node_id":"listbackups.xml", "product_code":"", - "code":"31", + "code":"12", "des":"This API is used to query all backups.GET /v3/{project_id}/backupsStatus code: 200Status code: 200OKSee Error Codes.", "doc_type":"api", "kw":"Querying All Backups,Backups,API Reference", @@ -578,7 +224,7 @@ "uri":"DeleteBackup.html", "node_id":"deletebackup.xml", "product_code":"", - "code":"32", + "code":"13", "des":"This API is used to delete a single backup.DELETE /v3/{project_id}/backups/{backup_id}NoneNoneSee Error Codes.", "doc_type":"api", "kw":"Deleting a Backup,Backups,API Reference", @@ -593,11 +239,49 @@ "title":"Deleting a Backup", "githuburl":"" }, + { + "uri":"ShowBackup.html", + "node_id":"showbackup.xml", + "product_code":"", + "code":"14", + "des":"This API is used to query the backup of a specific ID.GET /v3/{project_id}/backups/{backup_id}Status code: 200Status code: 200OKSee Error Codes.", + "doc_type":"api", + "kw":"Querying a Specified Backup,Backups,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "operation_id":"ShowBackup" + } + ], + "title":"Querying a Specified Backup", + "githuburl":"" + }, + { + "uri":"CopyBackup.html", + "node_id":"copybackup.xml", + "product_code":"", + "code":"15", + "des":"This API is used to replicate a backup across regions.POST /v3/{project_id}/backups/{backup_id}/replicateStatus code: 200Status code: 200OKSee Error Codes.", + "doc_type":"api", + "kw":"Replicating a Backup,Backups,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "operation_id":"CopyBackup" + } + ], + "title":"Replicating a Backup", + "githuburl":"" + }, { "uri":"RestoreBackup.html", "node_id":"restorebackup.xml", "product_code":"", - "code":"33", + "code":"16", "des":"This API is used to restore backup data.POST /v3/{project_id}/backups/{backup_id}/restoreNoneNoneSee Error Codes.", "doc_type":"api", "kw":"Restoring a Backup,Backups,API Reference", @@ -612,6 +296,325 @@ "title":"Restoring a Backup", "githuburl":"" }, + { + "uri":"topic_300000004.html", + "node_id":"topic_300000004.xml", + "product_code":"", + "code":"17", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"Backup Sharing", + "search_title":"", + "metedata":[ + { + "documenttype":"api" + } + ], + "title":"Backup Sharing", + "githuburl":"" + }, + { + "uri":"AddMember.html", + "node_id":"addmember.xml", + "product_code":"", + "code":"18", + "des":"This API is used to add a member with whom the backup can be shared. Only cloud server backups can be shared among tenants in the same region.POST /v3/{project_id}/backup", + "doc_type":"api", + "kw":"Adding a Share Member,Backup Sharing,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "operation_id":"AddMember" + } + ], + "title":"Adding a Share Member", + "githuburl":"" + }, + { + "uri":"ShowMembersDetail.html", + "node_id":"showmembersdetail.xml", + "product_code":"", + "code":"19", + "des":"This API is used to obtain the list of backup share members.GET /v3/{project_id}/backups/{backup_id}/membersStatus code: 200Status code: 200OKSee Error Codes.", + "doc_type":"api", + "kw":"Obtaining the Share Member List,Backup Sharing,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "operation_id":"ShowMembersDetail" + } + ], + "title":"Obtaining the Share Member List", + "githuburl":"" + }, + { + "uri":"UpdateMemberStatus.html", + "node_id":"updatememberstatus.xml", + "product_code":"", + "code":"20", + "des":"This API is used to update the status of a backup share member.PUT /v3/{project_id}/backups/{backup_id}/members/{member_id}Status code: 200Status code: 200OKSee Error Cod", + "doc_type":"api", + "kw":"Updating the Share Member Status,Backup Sharing,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "operation_id":"UpdateMemberStatus" + } + ], + "title":"Updating the Share Member Status", + "githuburl":"" + }, + { + "uri":"DeleteMember.html", + "node_id":"deletemember.xml", + "product_code":"", + "code":"21", + "des":"This API is used to delete a specified backup share member.DELETE /v3/{project_id}/backups/{backup_id}/members/{member_id}NoneNoneSee Error Codes.", + "doc_type":"api", + "kw":"Deleting a Specified Share Member,Backup Sharing,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "operation_id":"DeleteMember" + } + ], + "title":"Deleting a Specified Share Member", + "githuburl":"" + }, + { + "uri":"ShowMemberDetail.html", + "node_id":"showmemberdetail.xml", + "product_code":"", + "code":"22", + "des":"This API is used to obtain the details of a backup share member.GET /v3/{project_id}/backups/{backup_id}/members/{member_id}Status code: 200Status code: 200OKSee Error Co", + "doc_type":"api", + "kw":"Querying Share Member Details,Backup Sharing,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "operation_id":"ShowMemberDetail" + } + ], + "title":"Querying Share Member Details", + "githuburl":"" + }, + { + "uri":"topic_300000005.html", + "node_id":"topic_300000005.xml", + "product_code":"", + "code":"23", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", + "kw":"Vaults", + "search_title":"", + "metedata":[ + { + "documenttype":"api" + } + ], + "title":"Vaults", + "githuburl":"" + }, + { + "uri":"CreateVault.html", + "node_id":"createvault.xml", + "product_code":"", + "code":"24", + "des":"This API is used to create a vault.POST /v3/{project_id}/vaultsStatus code: 200Status code: 400Creating a server backup vault, associating resources, and adding tagsPOST ", + "doc_type":"api", + "kw":"Creating a Vault,Vaults,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "operation_id":"CreateVault" + } + ], + "title":"Creating a Vault", + "githuburl":"" + }, + { + "uri":"ListVault.html", + "node_id":"listvault.xml", + "product_code":"", + "code":"25", + "des":"This API is used to query the vault list.GET /v3/{project_id}/vaultsStatus code: 200Status code: 200OKSee Error Codes.", + "doc_type":"api", + "kw":"Querying the Vault List,Vaults,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "operation_id":"ListVault" + } + ], + "title":"Querying the Vault List", + "githuburl":"" + }, + { + "uri":"ShowVault.html", + "node_id":"showvault.xml", + "product_code":"", + "code":"26", + "des":"This API is used to query a specified vault based on its ID.GET /v3/{project_id}/vaults/{vault_id}Status code: 200Status code: 404Status code: 200OKSee Error Codes.", + "doc_type":"api", + "kw":"Querying a Specified Vault,Vaults,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "operation_id":"ShowVault" + } + ], + "title":"Querying a Specified Vault", + "githuburl":"" + }, + { + "uri":"UpdateVault.html", + "node_id":"updatevault.xml", + "product_code":"", + "code":"27", + "des":"This API is used to modify a vault based on its ID.PUT /v3/{project_id}/vaults/{vault_id}Status code: 200Status code: 200OKSee Error Codes.", + "doc_type":"api", + "kw":"Modifying a Vault,Vaults,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "operation_id":"UpdateVault" + } + ], + "title":"Modifying a Vault", + "githuburl":"" + }, + { + "uri":"DeleteVault.html", + "node_id":"deletevault.xml", + "product_code":"", + "code":"28", + "des":"This API is used to delete vaults. Once a vault is deleted, all backups in the vault are cleared.DELETE /v3/{project_id}/vaults/{vault_id}NoneNoneSee Error Codes.", + "doc_type":"api", + "kw":"Deleting a Vault,Vaults,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "operation_id":"DeleteVault" + } + ], + "title":"Deleting a Vault", + "githuburl":"" + }, + { + "uri":"AddVaultResource.html", + "node_id":"addvaultresource.xml", + "product_code":"", + "code":"29", + "des":"This API is used to associate resources with a vault.POST /v3/{project_id}/vaults/{vault_id}/addresourcesStatus code: 200Status code: 200OKSee Error Codes.", + "doc_type":"api", + "kw":"Associating Resources,Vaults,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "operation_id":"AddVaultResource" + } + ], + "title":"Associating Resources", + "githuburl":"" + }, + { + "uri":"AssociateVaultPolicy.html", + "node_id":"associatevaultpolicy.xml", + "product_code":"", + "code":"30", + "des":"This API is used to apply a policy to a vault.POST /v3/{project_id}/vaults/{vault_id}/associatepolicyStatus code: 200Status code: 200OKSee Error Codes.", + "doc_type":"api", + "kw":"Applying a Policy to a Vault,Vaults,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "operation_id":"AssociateVaultPolicy" + } + ], + "title":"Applying a Policy to a Vault", + "githuburl":"" + }, + { + "uri":"DisassociateVaultPolicy.html", + "node_id":"disassociatevaultpolicy.xml", + "product_code":"", + "code":"31", + "des":"This API is used to remove a policy from a vault.POST /v3/{project_id}/vaults/{vault_id}/dissociatepolicyStatus code: 200Status code: 200OKSee Error Codes.", + "doc_type":"api", + "kw":"Removing a Policy from a Vault,Vaults,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "operation_id":"DisassociateVaultPolicy" + } + ], + "title":"Removing a Policy from a Vault", + "githuburl":"" + }, + { + "uri":"MigrateVaultResource.html", + "node_id":"migratevaultresource.xml", + "product_code":"", + "code":"32", + "des":"This API is used to associate resources with another vault and migrate the resource backups to that destination vault.POST /v3/{project_id}/vaults/{vault_id}/migrateresou", + "doc_type":"api", + "kw":"Migrating Resources,Vaults,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "operation_id":"MigrateVaultResource" + } + ], + "title":"Migrating Resources", + "githuburl":"" + }, + { + "uri":"RemoveVaultResource.html", + "node_id":"removevaultresource.xml", + "product_code":"", + "code":"33", + "des":"This API is used to dissociate resources from a vault.POST /v3/{project_id}/vaults/{vault_id}/removeresourcesStatus code: 200Status code: 200OKSee Error Codes.", + "doc_type":"api", + "kw":"Dissociating Resources,Vaults,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "operation_id":"RemoveVaultResource" + } + ], + "title":"Dissociating Resources", + "githuburl":"" + }, { "uri":"topic_300000006.html", "node_id":"topic_300000006.xml", @@ -619,6 +622,137 @@ "code":"34", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", + "kw":"Tags", + "search_title":"", + "metedata":[ + { + "documenttype":"api" + } + ], + "title":"Tags", + "githuburl":"" + }, + { + "uri":"ShowVaultResourceInstances.html", + "node_id":"showvaultresourceinstances.xml", + "product_code":"", + "code":"35", + "des":"This API is used to filter resources by tag. Tag Management Service (TMS) uses this API to filter and list resources of each service by tag. These services must have the ", + "doc_type":"api", + "kw":"Querying Vault Resources,Tags,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "operation_id":"ShowVaultResourceInstances" + } + ], + "title":"Querying Vault Resources", + "githuburl":"" + }, + { + "uri":"ShowVaultProjectTag.html", + "node_id":"showvaultprojecttag.xml", + "product_code":"", + "code":"36", + "des":"This API is used to query a tenant's tag set in a specific region and of a specific instance type. TMS uses this API to list tags created by a tenant to facilitate tag cr", + "doc_type":"api", + "kw":"Querying Tags of a Vault Project,Tags,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "operation_id":"ShowVaultProjectTag" + } + ], + "title":"Querying Tags of a Vault Project", + "githuburl":"" + }, + { + "uri":"CreateVaultTags.html", + "node_id":"createvaulttags.xml", + "product_code":"", + "code":"37", + "des":"This API is used to add a tag to an associated resource. A resource can have a maximum of 20 tags. This API is idempotent. If a to-be-added tag has the same key as an exi", + "doc_type":"api", + "kw":"Adding a Tag to an Associated Resource,Tags,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "operation_id":"CreateVaultTags" + } + ], + "title":"Adding a Tag to an Associated Resource", + "githuburl":"" + }, + { + "uri":"ShowVaultTag.html", + "node_id":"showvaulttag.xml", + "product_code":"", + "code":"38", + "des":"This API is used to query tags of a specified resource. TMS uses this API to query all tags of a specified resource.GET /v3/{project_id}/vault/{vault_id}/tagsNoneStatus c", + "doc_type":"api", + "kw":"Querying Tags of an Associated Resource,Tags,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "operation_id":"ShowVaultTag" + } + ], + "title":"Querying Tags of an Associated Resource", + "githuburl":"" + }, + { + "uri":"BatchCreateAndDeleteVaultTags.html", + "node_id":"batchcreateanddeletevaulttags.xml", + "product_code":"", + "code":"39", + "des":"This API is used to batch add or delete tags for a specified instance. TMS uses this API to manage service resource tags. A resource can have a maximum of 20 tags. This A", + "doc_type":"api", + "kw":"Batch Adding or Deleting Tags of a Vault,Tags,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "operation_id":"BatchCreateAndDeleteVaultTags" + } + ], + "title":"Batch Adding or Deleting Tags of a Vault", + "githuburl":"" + }, + { + "uri":"DeleteVaultTag.html", + "node_id":"deletevaulttag.xml", + "product_code":"", + "code":"40", + "des":"This API is used to delete a tag from an associated resource. The API is idempotent. When you delete a nonexistent tag, error code 404 will be returned. Tag keys cannot b", + "doc_type":"api", + "kw":"Deleting a Tag from an Associated Resource,Tags,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "operation_id":"DeleteVaultTag" + } + ], + "title":"Deleting a Tag from an Associated Resource", + "githuburl":"" + }, + { + "uri":"topic_300000007.html", + "node_id":"topic_300000007.xml", + "product_code":"", + "code":"41", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"api", "kw":"Policies", "search_title":"", "metedata":[ @@ -629,49 +763,11 @@ "title":"Policies", "githuburl":"" }, - { - "uri":"CreatePolicy.html", - "node_id":"createpolicy.xml", - "product_code":"", - "code":"35", - "des":"This API is used to create a backup policy.POST /v3/{project_id}/policiesStatus code: 200Status code: 200OKSee Error Codes.", - "doc_type":"api", - "kw":"Creating a Policy,Policies,API Reference", - "search_title":"", - "metedata":[ - { - "opensource":"true", - "documenttype":"api", - "operation_id":"CreatePolicy" - } - ], - "title":"Creating a Policy", - "githuburl":"" - }, - { - "uri":"ShowPolicy.html", - "node_id":"showpolicy.xml", - "product_code":"", - "code":"36", - "des":"This API is used to query a single policy.GET /v3/{project_id}/policies/{policy_id}Status code: 200Status code: 200OKSee Error Codes.", - "doc_type":"api", - "kw":"Querying a Single Policy,Policies,API Reference", - "search_title":"", - "metedata":[ - { - "opensource":"true", - "documenttype":"api", - "operation_id":"ShowPolicy" - } - ], - "title":"Querying a Single Policy", - "githuburl":"" - }, { "uri":"ListPolicies.html", "node_id":"listpolicies.xml", "product_code":"", - "code":"37", + "code":"42", "des":"This API is used to query the policy list.GET /v3/{project_id}/policiesStatus code: 200Status code: 200OKSee Error Codes.", "doc_type":"api", "kw":"Querying the Policy List,Policies,API Reference", @@ -686,11 +782,30 @@ "title":"Querying the Policy List", "githuburl":"" }, + { + "uri":"CreatePolicy.html", + "node_id":"createpolicy.xml", + "product_code":"", + "code":"43", + "des":"This API is used to create a backup policy.POST /v3/{project_id}/policiesStatus code: 200Status code: 200OKSee Error Codes.", + "doc_type":"api", + "kw":"Creating a Policy,Policies,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "operation_id":"CreatePolicy" + } + ], + "title":"Creating a Policy", + "githuburl":"" + }, { "uri":"UpdatePolicy.html", "node_id":"updatepolicy.xml", "product_code":"", - "code":"38", + "code":"44", "des":"This API is used to modify a policy.PUT /v3/{project_id}/policies/{policy_id}Status code: 200Status code: 200OKSee Error Codes.", "doc_type":"api", "kw":"Modifying a Policy,Policies,API Reference", @@ -709,7 +824,7 @@ "uri":"DeletePolicy.html", "node_id":"deletepolicy.xml", "product_code":"", - "code":"39", + "code":"45", "des":"This API is used to delete a policy.DELETE /v3/{project_id}/policies/{policy_id}NoneNoneSee Error Codes.", "doc_type":"api", "kw":"Deleting a Policy,Policies,API Reference", @@ -724,142 +839,104 @@ "title":"Deleting a Policy", "githuburl":"" }, + { + "uri":"ShowPolicy.html", + "node_id":"showpolicy.xml", + "product_code":"", + "code":"46", + "des":"This API is used to query a single policy.GET /v3/{project_id}/policies/{policy_id}Status code: 200Status code: 200OKSee Error Codes.", + "doc_type":"api", + "kw":"Querying a Single Policy,Policies,API Reference", + "search_title":"", + "metedata":[ + { + "opensource":"true", + "documenttype":"api", + "operation_id":"ShowPolicy" + } + ], + "title":"Querying a Single Policy", + "githuburl":"" + }, { "uri":"topic_300000008.html", "node_id":"topic_300000008.xml", "product_code":"", - "code":"40", + "code":"47", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", - "kw":"Tags", + "kw":"Restore Points", "search_title":"", "metedata":[ { "documenttype":"api" } ], - "title":"Tags", + "title":"Restore Points", "githuburl":"" }, { - "uri":"ShowVaultResourceInstances.html", - "node_id":"showvaultresourceinstances.xml", + "uri":"CreateCheckpoint.html", + "node_id":"createcheckpoint.xml", "product_code":"", - "code":"41", - "des":"This API is used to filter resources by tag. Tag Management Service (TMS) uses this API to filter and list resources of each service by tag. These services must have the ", + "code":"48", + "des":"This API is used to back up a vault and generate a restore point.POST /v3/{project_id}/checkpointsStatus code: 200Creating backupsStatus code: 200OKSee Error Codes.", "doc_type":"api", - "kw":"Querying Vault Resources,Tags,API Reference", + "kw":"Creating a Restore Point,Restore Points,API Reference", "search_title":"", "metedata":[ { "opensource":"true", "documenttype":"api", - "operation_id":"ShowVaultResourceInstances" + "operation_id":"CreateCheckpoint" } ], - "title":"Querying Vault Resources", + "title":"Creating a Restore Point", "githuburl":"" }, { - "uri":"BatchCreateAndDeleteVaultTags.html", - "node_id":"batchcreateanddeletevaulttags.xml", + "uri":"CopyCheckpoint.html", + "node_id":"copycheckpoint.xml", "product_code":"", - "code":"42", - "des":"This API is used to batch add or delete tags for a specified instance. TMS uses this API to manage service resource tags. A resource can have a maximum of 20 tags. This A", + "code":"49", + "des":"This API is used to replicate a restore point. In compare to console, it is vault replication and this API replicates all backups from source vault to destination vault.P", "doc_type":"api", - "kw":"Batch Adding or Deleting Tags of a Vault,Tags,API Reference", + "kw":"Replicating a Restore Point,Restore Points,API Reference", "search_title":"", "metedata":[ { "opensource":"true", "documenttype":"api", - "operation_id":"BatchCreateAndDeleteVaultTags" + "operation_id":"CopyCheckpoint" } ], - "title":"Batch Adding or Deleting Tags of a Vault", + "title":"Replicating a Restore Point", "githuburl":"" }, { - "uri":"CreateVaultTags.html", - "node_id":"createvaulttags.xml", + "uri":"ShowCheckpoint.html", + "node_id":"showcheckpoint.xml", "product_code":"", - "code":"43", - "des":"This API is used to add a tag to an associated resource. A resource can have a maximum of 20 tags. This API is idempotent. If a to-be-added tag has the same key as an exi", + "code":"50", + "des":"This API is used to query a specified restore point based on its ID.GET /v3/{project_id}/checkpoints/{checkpoint_id}Status code: 200Status code: 200OKSee Error Codes.", "doc_type":"api", - "kw":"Adding a Tag to an Associated Resource,Tags,API Reference", + "kw":"Querying a Restore Point,Restore Points,API Reference", "search_title":"", "metedata":[ { "opensource":"true", "documenttype":"api", - "operation_id":"CreateVaultTags" + "operation_id":"ShowCheckpoint" } ], - "title":"Adding a Tag to an Associated Resource", - "githuburl":"" - }, - { - "uri":"DeleteVaultTag.html", - "node_id":"deletevaulttag.xml", - "product_code":"", - "code":"44", - "des":"This API is used to delete a tag from an associated resource. The API is idempotent. When you delete a nonexistent tag, error code 404 will be returned. Tag keys cannot b", - "doc_type":"api", - "kw":"Deleting a Tag from an Associated Resource,Tags,API Reference", - "search_title":"", - "metedata":[ - { - "opensource":"true", - "documenttype":"api", - "operation_id":"DeleteVaultTag" - } - ], - "title":"Deleting a Tag from an Associated Resource", - "githuburl":"" - }, - { - "uri":"ShowVaultTag.html", - "node_id":"showvaulttag.xml", - "product_code":"", - "code":"45", - "des":"This API is used to query tags of a specified resource. TMS uses this API to query all tags of a specified resource.GET /v3/{project_id}/vault/{vault_id}/tagsNoneStatus c", - "doc_type":"api", - "kw":"Querying Tags of an Associated Resource,Tags,API Reference", - "search_title":"", - "metedata":[ - { - "opensource":"true", - "documenttype":"api", - "operation_id":"ShowVaultTag" - } - ], - "title":"Querying Tags of an Associated Resource", - "githuburl":"" - }, - { - "uri":"ShowVaultProjectTag.html", - "node_id":"showvaultprojecttag.xml", - "product_code":"", - "code":"46", - "des":"This API is used to query a tenant's tag set in a specific region and of a specific instance type. TMS uses this API to list tags created by a tenant to facilitate tag cr", - "doc_type":"api", - "kw":"Querying Tags of a Vault Project,Tags,API Reference", - "search_title":"", - "metedata":[ - { - "opensource":"true", - "documenttype":"api", - "operation_id":"ShowVaultProjectTag" - } - ], - "title":"Querying Tags of a Vault Project", + "title":"Querying a Restore Point", "githuburl":"" }, { "uri":"cbr_04_0016.html", "node_id":"cbr_04_0016.xml", "product_code":"cbr", - "code":"47", + "code":"51", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Permissions Policies and Supported Actions", @@ -877,7 +954,7 @@ "uri":"cbr_04_0017.html", "node_id":"cbr_04_0017.xml", "product_code":"cbr", - "code":"48", + "code":"52", "des":"You can use Identity and Access Management (IAM) for fine-grained permissions management of your CBR resources. If your cloud account does not need individual IAM users, ", "doc_type":"api", "kw":"Introduction,Permissions Policies and Supported Actions,API Reference", @@ -895,7 +972,7 @@ "uri":"cbr_04_0018.html", "node_id":"cbr_04_0018.xml", "product_code":"cbr", - "code":"49", + "code":"53", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Category of CBR Actions,Permissions Policies and Supported Actions,API Reference", @@ -913,7 +990,7 @@ "uri":"cbr_04_0019.html", "node_id":"cbr_04_0019.xml", "product_code":"cbr", - "code":"50", + "code":"54", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Appendix", @@ -931,7 +1008,7 @@ "uri":"cbr_04_0020.html", "node_id":"cbr_04_0020.xml", "product_code":"cbr", - "code":"51", + "code":"55", "des":"NormalStatus CodeDescription200 OKSpecifies the normal response code for the GET and PUT operations.201 CreatedSpecifies the normal response code for the POST operation.2", "doc_type":"api", "kw":"Status Codes,Appendix,API Reference", @@ -949,7 +1026,7 @@ "uri":"ErrorCode.html", "node_id":"errorcode.xml", "product_code":"cbr", - "code":"52", + "code":"56", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Error Codes,Appendix,API Reference", @@ -967,7 +1044,7 @@ "uri":"cbr_04_0025.html", "node_id":"cbr_04_0025.xml", "product_code":"cbr", - "code":"53", + "code":"57", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Change History,API Reference", diff --git a/docs/cbr/api-ref/AddMember.html b/docs/cbr/api-ref/AddMember.html index 8f024feff..adacdde3d 100644 --- a/docs/cbr/api-ref/AddMember.html +++ b/docs/cbr/api-ref/AddMember.html @@ -206,12 +206,9 @@
{
   "members" : [ {
     "status" : "pending",
-    "image_id" : null,
     "backup_id" : "0b07081e-3ec7-4e77-8571-54e2947da422",
-    "vault_id" : null,
     "dest_project_id" : "075e6035d300d48c2fd0c00b78b71ebf",
-    "created_at" : "2020-02-05T10:38:34.209782",
-    "updated_at" : null,
+    "created_at" : "2020-02-05T10:38:34.210+00:00",
     "id" : "3c5a3015-c3a0-4dc6-a1e2-917b90f62319"
   } ]
 }
@@ -237,7 +234,7 @@
diff --git a/docs/cbr/api-ref/AddVaultResource.html b/docs/cbr/api-ref/AddVaultResource.html index 39ed3a494..438aa0ab0 100644 --- a/docs/cbr/api-ref/AddVaultResource.html +++ b/docs/cbr/api-ref/AddVaultResource.html @@ -220,7 +220,7 @@
diff --git a/docs/cbr/api-ref/AssociateVaultPolicy.html b/docs/cbr/api-ref/AssociateVaultPolicy.html index 3b12ca6f7..51bc2ae4c 100644 --- a/docs/cbr/api-ref/AssociateVaultPolicy.html +++ b/docs/cbr/api-ref/AssociateVaultPolicy.html @@ -167,7 +167,7 @@
diff --git a/docs/cbr/api-ref/BatchCreateAndDeleteVaultTags.html b/docs/cbr/api-ref/BatchCreateAndDeleteVaultTags.html index 5169ed5ff..765f4fd5b 100644 --- a/docs/cbr/api-ref/BatchCreateAndDeleteVaultTags.html +++ b/docs/cbr/api-ref/BatchCreateAndDeleteVaultTags.html @@ -190,7 +190,7 @@
diff --git a/docs/cbr/api-ref/CLASS.TXT.json b/docs/cbr/api-ref/CLASS.TXT.json index 6e4d19417..397a8bc81 100644 --- a/docs/cbr/api-ref/CLASS.TXT.json +++ b/docs/cbr/api-ref/CLASS.TXT.json @@ -54,19 +54,19 @@ "code":"6" }, { - "desc":"This API is used to query a task by task ID.GET /v3/{project_id}/operation-logs/{operation_log_id}Status code: 200Status code: 404Status code: 200OKStatus code: 404The ta", + "desc":"This API is used to query the task list.GET /v3/{project_id}/operation-logsStatus code: 200Status code: 404Status code: 200OKSee Error Codes.", "product_code":"", - "title":"Querying a Single Task", - "uri":"ShowOpLog.html", + "title":"Querying the Task List", + "uri":"ListOpLogs.html", "doc_type":"api", "p_code":"6", "code":"7" }, { - "desc":"This API is used to query the task list.GET /v3/{project_id}/operation-logsStatus code: 200Status code: 404Status code: 200OKSee Error Codes.", + "desc":"This API is used to query a task by task ID.GET /v3/{project_id}/operation-logs/{operation_log_id}Status code: 200Status code: 404Status code: 200OKStatus code: 404The ta", "product_code":"", - "title":"Querying the Task List", - "uri":"ListOpLogs.html", + "title":"Querying a Single Task", + "uri":"ShowOpLog.html", "doc_type":"api", "p_code":"6", "code":"8" @@ -74,200 +74,29 @@ { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"", - "title":"Backup Sharing", + "title":"Protection", "uri":"topic_300000002.html", "doc_type":"api", "p_code":"2", "code":"9" }, { - "desc":"This API is used to add a member with whom the backup can be shared. Only cloud server backups can be shared among tenants in the same region.POST /v3/{project_id}/backup", + "desc":"This API is used to query the replication capability of the current region.GET /v3/{project_id}/replication-capabilitiesStatus code: 200Status code: 200OKSee Error Codes.", "product_code":"", - "title":"Adding a Share Member", - "uri":"AddMember.html", + "title":"Querying the Replication Capability", + "uri":"ShowReplicationCapabilities.html", "doc_type":"api", "p_code":"9", "code":"10" }, - { - "desc":"This API is used to obtain the list of backup share members.GET /v3/{project_id}/backups/{backup_id}/membersStatus code: 200Status code: 200OKSee Error Codes.", - "product_code":"", - "title":"Obtaining the Share Member List", - "uri":"ShowMembersDetail.html", - "doc_type":"api", - "p_code":"9", - "code":"11" - }, - { - "desc":"This API is used to update the status of a backup share member.PUT /v3/{project_id}/backups/{backup_id}/members/{member_id}Status code: 200Status code: 200OKSee Error Cod", - "product_code":"", - "title":"Updating the Share Member Status", - "uri":"UpdateMemberStatus.html", - "doc_type":"api", - "p_code":"9", - "code":"12" - }, - { - "desc":"This API is used to delete a specified backup share member.DELETE /v3/{project_id}/backups/{backup_id}/members/{member_id}NoneNoneSee Error Codes.", - "product_code":"", - "title":"Deleting a Specified Share Member", - "uri":"DeleteMember.html", - "doc_type":"api", - "p_code":"9", - "code":"13" - }, - { - "desc":"This API is used to obtain the details of a backup share member.GET /v3/{project_id}/backups/{backup_id}/members/{member_id}Status code: 200Status code: 200OKSee Error Co", - "product_code":"", - "title":"Querying Share Member Details", - "uri":"ShowMemberDetail.html", - "doc_type":"api", - "p_code":"9", - "code":"14" - }, - { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "product_code":"", - "title":"Restore Points", - "uri":"topic_300000003.html", - "doc_type":"api", - "p_code":"2", - "code":"15" - }, - { - "desc":"This API is used to query a specified restore point based on its ID.GET /v3/{project_id}/checkpoints/{checkpoint_id}Status code: 200Status code: 200OKSee Error Codes.", - "product_code":"", - "title":"Querying a Restore Point", - "uri":"ShowCheckpoint.html", - "doc_type":"api", - "p_code":"15", - "code":"16" - }, - { - "desc":"This API is used to back up a vault and generate a restore point.POST /v3/{project_id}/checkpointsStatus code: 200Creating backupsStatus code: 200OKSee Error Codes.", - "product_code":"", - "title":"Creating a Restore Point", - "uri":"CreateCheckpoint.html", - "doc_type":"api", - "p_code":"15", - "code":"17" - }, - { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "product_code":"", - "title":"Vaults", - "uri":"topic_300000004.html", - "doc_type":"api", - "p_code":"2", - "code":"18" - }, - { - "desc":"This API is used to create a vault.POST /v3/{project_id}/vaultsStatus code: 200Status code: 400Creating a server backup vault, associating resources, and adding tagsPOST ", - "product_code":"", - "title":"Creating a Vault", - "uri":"CreateVault.html", - "doc_type":"api", - "p_code":"18", - "code":"19" - }, - { - "desc":"This API is used to query a specified vault based on its ID.GET /v3/{project_id}/vaults/{vault_id}Status code: 200Status code: 404Status code: 200OKSee Error Codes.", - "product_code":"", - "title":"Querying a Specified Vault", - "uri":"ShowVault.html", - "doc_type":"api", - "p_code":"18", - "code":"20" - }, - { - "desc":"This API is used to query the vault list.GET /v3/{project_id}/vaultsStatus code: 200Status code: 200OKSee Error Codes.", - "product_code":"", - "title":"Querying the Vault List", - "uri":"ListVault.html", - "doc_type":"api", - "p_code":"18", - "code":"21" - }, - { - "desc":"This API is used to modify a vault based on its ID.PUT /v3/{project_id}/vaults/{vault_id}Status code: 200Status code: 200OKSee Error Codes.", - "product_code":"", - "title":"Modifying a Vault", - "uri":"UpdateVault.html", - "doc_type":"api", - "p_code":"18", - "code":"22" - }, - { - "desc":"This API is used to delete vaults. Once a vault is deleted, all backups in the vault are cleared.DELETE /v3/{project_id}/vaults/{vault_id}NoneNoneSee Error Codes.", - "product_code":"", - "title":"Deleting a Vault", - "uri":"DeleteVault.html", - "doc_type":"api", - "p_code":"18", - "code":"23" - }, - { - "desc":"This API is used to dissociate resources from a vault.POST /v3/{project_id}/vaults/{vault_id}/removeresourcesStatus code: 200Status code: 200OKSee Error Codes.", - "product_code":"", - "title":"Dissociating Resources", - "uri":"RemoveVaultResource.html", - "doc_type":"api", - "p_code":"18", - "code":"24" - }, - { - "desc":"This API is used to associate resources with a vault.POST /v3/{project_id}/vaults/{vault_id}/addresourcesStatus code: 200Status code: 200OKSee Error Codes.", - "product_code":"", - "title":"Associating Resources", - "uri":"AddVaultResource.html", - "doc_type":"api", - "p_code":"18", - "code":"25" - }, - { - "desc":"This API is used to apply a policy to a vault.POST /v3/{project_id}/vaults/{vault_id}/associatepolicyStatus code: 200Status code: 200OKSee Error Codes.", - "product_code":"", - "title":"Applying a Policy to a Vault", - "uri":"AssociateVaultPolicy.html", - "doc_type":"api", - "p_code":"18", - "code":"26" - }, - { - "desc":"This API is used to remove a policy from a vault.POST /v3/{project_id}/vaults/{vault_id}/dissociatepolicyStatus code: 200Status code: 200OKSee Error Codes.", - "product_code":"", - "title":"Removing a Policy from a Vault", - "uri":"DisassociateVaultPolicy.html", - "doc_type":"api", - "p_code":"18", - "code":"27" - }, - { - "desc":"This API is used to associate resources with another vault and migrate the resource backups to that destination vault.POST /v3/{project_id}/vaults/{vault_id}/migrateresou", - "product_code":"", - "title":"Migrating Resources", - "uri":"MigrateVaultResource.html", - "doc_type":"api", - "p_code":"18", - "code":"28" - }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"", "title":"Backups", - "uri":"topic_300000005.html", + "uri":"topic_300000003.html", "doc_type":"api", "p_code":"2", - "code":"29" - }, - { - "desc":"This API is used to query the backup of a specific ID.GET /v3/{project_id}/backups/{backup_id}Status code: 200Status code: 200OKSee Error Codes.", - "product_code":"", - "title":"Querying a Specified Backup", - "uri":"ShowBackup.html", - "doc_type":"api", - "p_code":"29", - "code":"30" + "code":"11" }, { "desc":"This API is used to query all backups.GET /v3/{project_id}/backupsStatus code: 200Status code: 200OKSee Error Codes.", @@ -275,8 +104,8 @@ "title":"Querying All Backups", "uri":"ListBackups.html", "doc_type":"api", - "p_code":"29", - "code":"31" + "p_code":"11", + "code":"12" }, { "desc":"This API is used to delete a single backup.DELETE /v3/{project_id}/backups/{backup_id}NoneNoneSee Error Codes.", @@ -284,8 +113,26 @@ "title":"Deleting a Backup", "uri":"DeleteBackup.html", "doc_type":"api", - "p_code":"29", - "code":"32" + "p_code":"11", + "code":"13" + }, + { + "desc":"This API is used to query the backup of a specific ID.GET /v3/{project_id}/backups/{backup_id}Status code: 200Status code: 200OKSee Error Codes.", + "product_code":"", + "title":"Querying a Specified Backup", + "uri":"ShowBackup.html", + "doc_type":"api", + "p_code":"11", + "code":"14" + }, + { + "desc":"This API is used to replicate a backup across regions.POST /v3/{project_id}/backups/{backup_id}/replicateStatus code: 200Status code: 200OKSee Error Codes.", + "product_code":"", + "title":"Replicating a Backup", + "uri":"CopyBackup.html", + "doc_type":"api", + "p_code":"11", + "code":"15" }, { "desc":"This API is used to restore backup data.POST /v3/{project_id}/backups/{backup_id}/restoreNoneNoneSee Error Codes.", @@ -293,116 +140,179 @@ "title":"Restoring a Backup", "uri":"RestoreBackup.html", "doc_type":"api", - "p_code":"29", + "p_code":"11", + "code":"16" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"", + "title":"Backup Sharing", + "uri":"topic_300000004.html", + "doc_type":"api", + "p_code":"2", + "code":"17" + }, + { + "desc":"This API is used to add a member with whom the backup can be shared. Only cloud server backups can be shared among tenants in the same region.POST /v3/{project_id}/backup", + "product_code":"", + "title":"Adding a Share Member", + "uri":"AddMember.html", + "doc_type":"api", + "p_code":"17", + "code":"18" + }, + { + "desc":"This API is used to obtain the list of backup share members.GET /v3/{project_id}/backups/{backup_id}/membersStatus code: 200Status code: 200OKSee Error Codes.", + "product_code":"", + "title":"Obtaining the Share Member List", + "uri":"ShowMembersDetail.html", + "doc_type":"api", + "p_code":"17", + "code":"19" + }, + { + "desc":"This API is used to update the status of a backup share member.PUT /v3/{project_id}/backups/{backup_id}/members/{member_id}Status code: 200Status code: 200OKSee Error Cod", + "product_code":"", + "title":"Updating the Share Member Status", + "uri":"UpdateMemberStatus.html", + "doc_type":"api", + "p_code":"17", + "code":"20" + }, + { + "desc":"This API is used to delete a specified backup share member.DELETE /v3/{project_id}/backups/{backup_id}/members/{member_id}NoneNoneSee Error Codes.", + "product_code":"", + "title":"Deleting a Specified Share Member", + "uri":"DeleteMember.html", + "doc_type":"api", + "p_code":"17", + "code":"21" + }, + { + "desc":"This API is used to obtain the details of a backup share member.GET /v3/{project_id}/backups/{backup_id}/members/{member_id}Status code: 200Status code: 200OKSee Error Co", + "product_code":"", + "title":"Querying Share Member Details", + "uri":"ShowMemberDetail.html", + "doc_type":"api", + "p_code":"17", + "code":"22" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"", + "title":"Vaults", + "uri":"topic_300000005.html", + "doc_type":"api", + "p_code":"2", + "code":"23" + }, + { + "desc":"This API is used to create a vault.POST /v3/{project_id}/vaultsStatus code: 200Status code: 400Creating a server backup vault, associating resources, and adding tagsPOST ", + "product_code":"", + "title":"Creating a Vault", + "uri":"CreateVault.html", + "doc_type":"api", + "p_code":"23", + "code":"24" + }, + { + "desc":"This API is used to query the vault list.GET /v3/{project_id}/vaultsStatus code: 200Status code: 200OKSee Error Codes.", + "product_code":"", + "title":"Querying the Vault List", + "uri":"ListVault.html", + "doc_type":"api", + "p_code":"23", + "code":"25" + }, + { + "desc":"This API is used to query a specified vault based on its ID.GET /v3/{project_id}/vaults/{vault_id}Status code: 200Status code: 404Status code: 200OKSee Error Codes.", + "product_code":"", + "title":"Querying a Specified Vault", + "uri":"ShowVault.html", + "doc_type":"api", + "p_code":"23", + "code":"26" + }, + { + "desc":"This API is used to modify a vault based on its ID.PUT /v3/{project_id}/vaults/{vault_id}Status code: 200Status code: 200OKSee Error Codes.", + "product_code":"", + "title":"Modifying a Vault", + "uri":"UpdateVault.html", + "doc_type":"api", + "p_code":"23", + "code":"27" + }, + { + "desc":"This API is used to delete vaults. Once a vault is deleted, all backups in the vault are cleared.DELETE /v3/{project_id}/vaults/{vault_id}NoneNoneSee Error Codes.", + "product_code":"", + "title":"Deleting a Vault", + "uri":"DeleteVault.html", + "doc_type":"api", + "p_code":"23", + "code":"28" + }, + { + "desc":"This API is used to associate resources with a vault.POST /v3/{project_id}/vaults/{vault_id}/addresourcesStatus code: 200Status code: 200OKSee Error Codes.", + "product_code":"", + "title":"Associating Resources", + "uri":"AddVaultResource.html", + "doc_type":"api", + "p_code":"23", + "code":"29" + }, + { + "desc":"This API is used to apply a policy to a vault.POST /v3/{project_id}/vaults/{vault_id}/associatepolicyStatus code: 200Status code: 200OKSee Error Codes.", + "product_code":"", + "title":"Applying a Policy to a Vault", + "uri":"AssociateVaultPolicy.html", + "doc_type":"api", + "p_code":"23", + "code":"30" + }, + { + "desc":"This API is used to remove a policy from a vault.POST /v3/{project_id}/vaults/{vault_id}/dissociatepolicyStatus code: 200Status code: 200OKSee Error Codes.", + "product_code":"", + "title":"Removing a Policy from a Vault", + "uri":"DisassociateVaultPolicy.html", + "doc_type":"api", + "p_code":"23", + "code":"31" + }, + { + "desc":"This API is used to associate resources with another vault and migrate the resource backups to that destination vault.POST /v3/{project_id}/vaults/{vault_id}/migrateresou", + "product_code":"", + "title":"Migrating Resources", + "uri":"MigrateVaultResource.html", + "doc_type":"api", + "p_code":"23", + "code":"32" + }, + { + "desc":"This API is used to dissociate resources from a vault.POST /v3/{project_id}/vaults/{vault_id}/removeresourcesStatus code: 200Status code: 200OKSee Error Codes.", + "product_code":"", + "title":"Dissociating Resources", + "uri":"RemoveVaultResource.html", + "doc_type":"api", + "p_code":"23", "code":"33" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"", - "title":"Policies", + "title":"Tags", "uri":"topic_300000006.html", "doc_type":"api", "p_code":"2", "code":"34" }, - { - "desc":"This API is used to create a backup policy.POST /v3/{project_id}/policiesStatus code: 200Status code: 200OKSee Error Codes.", - "product_code":"", - "title":"Creating a Policy", - "uri":"CreatePolicy.html", - "doc_type":"api", - "p_code":"34", - "code":"35" - }, - { - "desc":"This API is used to query a single policy.GET /v3/{project_id}/policies/{policy_id}Status code: 200Status code: 200OKSee Error Codes.", - "product_code":"", - "title":"Querying a Single Policy", - "uri":"ShowPolicy.html", - "doc_type":"api", - "p_code":"34", - "code":"36" - }, - { - "desc":"This API is used to query the policy list.GET /v3/{project_id}/policiesStatus code: 200Status code: 200OKSee Error Codes.", - "product_code":"", - "title":"Querying the Policy List", - "uri":"ListPolicies.html", - "doc_type":"api", - "p_code":"34", - "code":"37" - }, - { - "desc":"This API is used to modify a policy.PUT /v3/{project_id}/policies/{policy_id}Status code: 200Status code: 200OKSee Error Codes.", - "product_code":"", - "title":"Modifying a Policy", - "uri":"UpdatePolicy.html", - "doc_type":"api", - "p_code":"34", - "code":"38" - }, - { - "desc":"This API is used to delete a policy.DELETE /v3/{project_id}/policies/{policy_id}NoneNoneSee Error Codes.", - "product_code":"", - "title":"Deleting a Policy", - "uri":"DeletePolicy.html", - "doc_type":"api", - "p_code":"34", - "code":"39" - }, - { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "product_code":"", - "title":"Tags", - "uri":"topic_300000008.html", - "doc_type":"api", - "p_code":"2", - "code":"40" - }, { "desc":"This API is used to filter resources by tag. Tag Management Service (TMS) uses this API to filter and list resources of each service by tag. These services must have the ", "product_code":"", "title":"Querying Vault Resources", "uri":"ShowVaultResourceInstances.html", "doc_type":"api", - "p_code":"40", - "code":"41" - }, - { - "desc":"This API is used to batch add or delete tags for a specified instance. TMS uses this API to manage service resource tags. A resource can have a maximum of 20 tags. This A", - "product_code":"", - "title":"Batch Adding or Deleting Tags of a Vault", - "uri":"BatchCreateAndDeleteVaultTags.html", - "doc_type":"api", - "p_code":"40", - "code":"42" - }, - { - "desc":"This API is used to add a tag to an associated resource. A resource can have a maximum of 20 tags. This API is idempotent. If a to-be-added tag has the same key as an exi", - "product_code":"", - "title":"Adding a Tag to an Associated Resource", - "uri":"CreateVaultTags.html", - "doc_type":"api", - "p_code":"40", - "code":"43" - }, - { - "desc":"This API is used to delete a tag from an associated resource. The API is idempotent. When you delete a nonexistent tag, error code 404 will be returned. Tag keys cannot b", - "product_code":"", - "title":"Deleting a Tag from an Associated Resource", - "uri":"DeleteVaultTag.html", - "doc_type":"api", - "p_code":"40", - "code":"44" - }, - { - "desc":"This API is used to query tags of a specified resource. TMS uses this API to query all tags of a specified resource.GET /v3/{project_id}/vault/{vault_id}/tagsNoneStatus c", - "product_code":"", - "title":"Querying Tags of an Associated Resource", - "uri":"ShowVaultTag.html", - "doc_type":"api", - "p_code":"40", - "code":"45" + "p_code":"34", + "code":"35" }, { "desc":"This API is used to query a tenant's tag set in a specific region and of a specific instance type. TMS uses this API to list tags created by a tenant to facilitate tag cr", @@ -410,9 +320,135 @@ "title":"Querying Tags of a Vault Project", "uri":"ShowVaultProjectTag.html", "doc_type":"api", - "p_code":"40", + "p_code":"34", + "code":"36" + }, + { + "desc":"This API is used to add a tag to an associated resource. A resource can have a maximum of 20 tags. This API is idempotent. If a to-be-added tag has the same key as an exi", + "product_code":"", + "title":"Adding a Tag to an Associated Resource", + "uri":"CreateVaultTags.html", + "doc_type":"api", + "p_code":"34", + "code":"37" + }, + { + "desc":"This API is used to query tags of a specified resource. TMS uses this API to query all tags of a specified resource.GET /v3/{project_id}/vault/{vault_id}/tagsNoneStatus c", + "product_code":"", + "title":"Querying Tags of an Associated Resource", + "uri":"ShowVaultTag.html", + "doc_type":"api", + "p_code":"34", + "code":"38" + }, + { + "desc":"This API is used to batch add or delete tags for a specified instance. TMS uses this API to manage service resource tags. A resource can have a maximum of 20 tags. This A", + "product_code":"", + "title":"Batch Adding or Deleting Tags of a Vault", + "uri":"BatchCreateAndDeleteVaultTags.html", + "doc_type":"api", + "p_code":"34", + "code":"39" + }, + { + "desc":"This API is used to delete a tag from an associated resource. The API is idempotent. When you delete a nonexistent tag, error code 404 will be returned. Tag keys cannot b", + "product_code":"", + "title":"Deleting a Tag from an Associated Resource", + "uri":"DeleteVaultTag.html", + "doc_type":"api", + "p_code":"34", + "code":"40" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"", + "title":"Policies", + "uri":"topic_300000007.html", + "doc_type":"api", + "p_code":"2", + "code":"41" + }, + { + "desc":"This API is used to query the policy list.GET /v3/{project_id}/policiesStatus code: 200Status code: 200OKSee Error Codes.", + "product_code":"", + "title":"Querying the Policy List", + "uri":"ListPolicies.html", + "doc_type":"api", + "p_code":"41", + "code":"42" + }, + { + "desc":"This API is used to create a backup policy.POST /v3/{project_id}/policiesStatus code: 200Status code: 200OKSee Error Codes.", + "product_code":"", + "title":"Creating a Policy", + "uri":"CreatePolicy.html", + "doc_type":"api", + "p_code":"41", + "code":"43" + }, + { + "desc":"This API is used to modify a policy.PUT /v3/{project_id}/policies/{policy_id}Status code: 200Status code: 200OKSee Error Codes.", + "product_code":"", + "title":"Modifying a Policy", + "uri":"UpdatePolicy.html", + "doc_type":"api", + "p_code":"41", + "code":"44" + }, + { + "desc":"This API is used to delete a policy.DELETE /v3/{project_id}/policies/{policy_id}NoneNoneSee Error Codes.", + "product_code":"", + "title":"Deleting a Policy", + "uri":"DeletePolicy.html", + "doc_type":"api", + "p_code":"41", + "code":"45" + }, + { + "desc":"This API is used to query a single policy.GET /v3/{project_id}/policies/{policy_id}Status code: 200Status code: 200OKSee Error Codes.", + "product_code":"", + "title":"Querying a Single Policy", + "uri":"ShowPolicy.html", + "doc_type":"api", + "p_code":"41", "code":"46" }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"", + "title":"Restore Points", + "uri":"topic_300000008.html", + "doc_type":"api", + "p_code":"2", + "code":"47" + }, + { + "desc":"This API is used to back up a vault and generate a restore point.POST /v3/{project_id}/checkpointsStatus code: 200Creating backupsStatus code: 200OKSee Error Codes.", + "product_code":"", + "title":"Creating a Restore Point", + "uri":"CreateCheckpoint.html", + "doc_type":"api", + "p_code":"47", + "code":"48" + }, + { + "desc":"This API is used to replicate a restore point. In compare to console, it is vault replication and this API replicates all backups from source vault to destination vault.P", + "product_code":"", + "title":"Replicating a Restore Point", + "uri":"CopyCheckpoint.html", + "doc_type":"api", + "p_code":"47", + "code":"49" + }, + { + "desc":"This API is used to query a specified restore point based on its ID.GET /v3/{project_id}/checkpoints/{checkpoint_id}Status code: 200Status code: 200OKSee Error Codes.", + "product_code":"", + "title":"Querying a Restore Point", + "uri":"ShowCheckpoint.html", + "doc_type":"api", + "p_code":"47", + "code":"50" + }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"cbr", @@ -420,7 +456,7 @@ "uri":"cbr_04_0016.html", "doc_type":"api", "p_code":"", - "code":"47" + "code":"51" }, { "desc":"You can use Identity and Access Management (IAM) for fine-grained permissions management of your CBR resources. If your cloud account does not need individual IAM users, ", @@ -428,8 +464,8 @@ "title":"Introduction", "uri":"cbr_04_0017.html", "doc_type":"api", - "p_code":"47", - "code":"48" + "p_code":"51", + "code":"52" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -437,8 +473,8 @@ "title":"Category of CBR Actions", "uri":"cbr_04_0018.html", "doc_type":"api", - "p_code":"47", - "code":"49" + "p_code":"51", + "code":"53" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -447,7 +483,7 @@ "uri":"cbr_04_0019.html", "doc_type":"api", "p_code":"", - "code":"50" + "code":"54" }, { "desc":"NormalStatus CodeDescription200 OKSpecifies the normal response code for the GET and PUT operations.201 CreatedSpecifies the normal response code for the POST operation.2", @@ -455,8 +491,8 @@ "title":"Status Codes", "uri":"cbr_04_0020.html", "doc_type":"api", - "p_code":"50", - "code":"51" + "p_code":"54", + "code":"55" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -464,8 +500,8 @@ "title":"Error Codes", "uri":"ErrorCode.html", "doc_type":"api", - "p_code":"50", - "code":"52" + "p_code":"54", + "code":"56" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -474,6 +510,6 @@ "uri":"cbr_04_0025.html", "doc_type":"api", "p_code":"", - "code":"53" + "code":"57" } ] \ No newline at end of file diff --git a/docs/cbr/api-ref/Cloud Backup and Recovery API Reference.doc b/docs/cbr/api-ref/Cloud Backup and Recovery API Reference.doc new file mode 100644 index 000000000..bb900960c Binary files /dev/null and b/docs/cbr/api-ref/Cloud Backup and Recovery API Reference.doc differ diff --git a/docs/cbr/api-ref/CopyBackup.html b/docs/cbr/api-ref/CopyBackup.html new file mode 100644 index 000000000..e2dbe0e3f --- /dev/null +++ b/docs/cbr/api-ref/CopyBackup.html @@ -0,0 +1,303 @@ + + +

Replicating a Backup

+

Function

This API is used to replicate a backup across regions.

+
+

URI

POST /v3/{project_id}/backups/{backup_id}/replicate

+ +
+ + + + + + + + + + + + + + + + +
Table 1 Path Parameters

Parameter

+

Mandatory

+

Type

+

Description

+

backup_id

+

Yes

+

String

+

ID of the backup to be replicated

+

project_id

+

Yes

+

String

+

Project ID

+
+
+
+

Request Parameters

+
+ + + + + + + + + + + +
Table 2 Request header parameters

Parameter

+

Mandatory

+

Type

+

Description

+

X-Auth-Token

+

Yes

+

String

+

User token The token can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.

+
+
+ +
+ + + + + + + + + + + +
Table 3 Request body parameters

Parameter

+

Mandatory

+

Type

+

Description

+

replicate

+

Yes

+

BackupReplicateReqBody object

+

Replication parameter

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 4 BackupReplicateReqBody

Parameter

+

Mandatory

+

Type

+

Description

+

description

+

No

+

String

+

Replica description

+

Minimum: 0

+

Maximum: 255

+

destination_project_id

+

Yes

+

String

+

ID of the replication destination project

+

destination_region

+

Yes

+

String

+

Replication destination region

+

Minimum: 0

+

Maximum: 255

+

destination_vault_id

+

Yes

+

String

+

ID of the vault in the replication destination region

+

enable_acceleration

+

No

+

Boolean

+

Whether to enable the acceleration function to shorten the replication time for cross-region replication. If this parameter is not set, the acceleration function is disabled.

+

Default: false

+

name

+

No

+

String

+

Replica name

+

Minimum: 1

+

Maximum: 64

+
+
+
+

Response Parameters

Status code: 200

+ +
+ + + + + + + + + +
Table 5 Response body parameters

Parameter

+

Type

+

Description

+

replication

+

BackupReplicateRespBody object

+

Replication response parameter

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 6 BackupReplicateRespBody

Parameter

+

Type

+

Description

+

backup_id

+

String

+

ID of the source backup used for replication

+

destination_project_id

+

String

+

ID of the replication destination project

+

destination_region

+

String

+

Replication destination region

+

destination_vault_id

+

String

+

ID of the vault in the replication destination region

+

project_id

+

String

+

ID of the project where replication is performed

+

provider_id

+

String

+

Resource type ID

+

replication_record_id

+

String

+

Replication record ID

+

source_region

+

String

+

Replication source region

+
+
+
+

Example Requests

POST https://{endpoint}/v3/f841e01fd2b14e7fa41b6ae7aa6b0594/backups/a5200268-74a5-4806-acc6-95793ab0228b/replicate
+
+{
+  "replicate" : {
+    "description" : "backup_description",
+    "destination_project_id" : "68589cac08274b82b4e254268a3862d8",
+    "destination_region" : "region2",
+    "destination_vault_id" : "0ca3eb86-8800-46da-9c37-9d657a825274",
+    "enable_acceleration" : false,
+    "name" : "backup_name"
+  }
+}
+
+

Example Responses

Status code: 200

+

OK

+
{
+  "replication" : {
+    "destination_vault_id" : "0ca3eb86-8800-46da-9c37-9d657a825274",
+    "provider_id" : "0daac4c5-6707-4851-97ba-169e36266b66",
+    "backup_id" : "6df2b54c-dd62-4059-a07c-1b8f24f2725d",
+    "destination_project_id" : "68589cac08274b82b4e254268a3862d8",
+    "destination_region" : "region2",
+    "source_region" : "region1",
+    "project_id" : "4229d7a45436489f8c3dc2b1d35d4987",
+    "replication_record_id" : "1579a71e-8d8d-41e6-85dc-d77f5ce8d91a"
+  }
+}
+
+

Status Codes

+
+ + + + + + + +

Status Code

+

Description

+

200

+

OK

+
+
+
+

Error Codes

See Error Codes.

+
+
+
+ +
+ diff --git a/docs/cbr/api-ref/CopyCheckpoint.html b/docs/cbr/api-ref/CopyCheckpoint.html new file mode 100644 index 000000000..8e5f3ce4d --- /dev/null +++ b/docs/cbr/api-ref/CopyCheckpoint.html @@ -0,0 +1,324 @@ + + +

Replicating a Restore Point

+

Function

This API is used to replicate a restore point. In compare to console, it is vault replication and this API replicates all backups from source vault to destination vault.

+
+

URI

POST /v3/{project_id}/checkpoints/replicate

+ +
+ + + + + + + + + + + +
Table 1 Path Parameters

Parameter

+

Mandatory

+

Type

+

Description

+

project_id

+

Yes

+

String

+

Project ID

+
+
+
+

Request Parameters

+
+ + + + + + + + + + + +
Table 2 Request header parameters

Parameter

+

Mandatory

+

Type

+

Description

+

X-Auth-Token

+

Yes

+

String

+

User token The token can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.

+
+
+ +
+ + + + + + + + + + + +
Table 3 Request body parameters

Parameter

+

Mandatory

+

Type

+

Description

+

replicate

+

Yes

+

CheckpointReplicateParam object

+

Parameters in the request body of performing a replication

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 4 CheckpointReplicateParam

Parameter

+

Mandatory

+

Type

+

Description

+

auto_trigger

+

No

+

Boolean

+

Whether to automatically trigger replication this time. The default value is false, indicating the replication needs to be manually triggered.

+

destination_project_id

+

Yes

+

String

+

ID of the replication destination project

+

destination_region

+

Yes

+

String

+

ID of the replication destination region

+

Minimum: 0

+

Maximum: 255

+

destination_vault_id

+

Yes

+

String

+

ID of the vault in the replication destination region

+

enable_acceleration

+

No

+

Boolean

+

Whether to enable the acceleration function to shorten the time spent on cross-region replication.

+

vault_id

+

Yes

+

String

+

Vault ID (UUID)

+
+
+
+

Response Parameters

Status code: 200

+ +
+ + + + + + + + + +
Table 5 Response body parameters

Parameter

+

Type

+

Description

+

replication

+

CheckpointReplicateRespBody object

+
  
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table 6 CheckpointReplicateRespBody

Parameter

+

Type

+

Description

+

backups

+

Array of CheckpointReplicateRespbackups objects

+

List of backups to be replicated

+

destination_project_id

+

String

+

ID of the replication destination project

+

destination_region

+

String

+

Replication destination region

+

destination_vault_id

+

String

+

ID of the vault in the replication destination region

+

project_id

+

String

+

ID of the project where replication is performed

+

provider_id

+

String

+

Backup provider ID, which specifies whether the backup object is a server or disk

+

source_region

+

String

+

Replication source region

+

vault_id

+

String

+

Vault ID

+
+
+ +
+ + + + + + + + + + + + + +
Table 7 CheckpointReplicateRespbackups

Parameter

+

Type

+

Description

+

backup_id

+

String

+

ID of the source backup used for replication

+

replication_record_id

+

String

+

Replication record ID

+
+
+
+

Example Requests

Replicating backups

+
POST https://{endpoint}/v3/f841e01fd2b14e7fa41b6ae7aa6b0594/checkpoints/replicate
+
+{
+  "replicate" : {
+    "auto_trigger" : false,
+    "destination_project_id" : "68589cac08274b82b4e254268a3862d8",
+    "destination_region" : "region2",
+    "destination_vault_id" : "0ca3eb86-8800-46da-9c37-9d657a825274",
+    "enable_acceleration" : false,
+    "vault_id" : "3b5816b5-f29c-4172-9d9a-76c719a659ce"
+  }
+}
+
+

Example Responses

Status code: 200

+

OK

+
{
+  "replication" : {
+    "destination_vault_id" : "0ca3eb86-8800-46da-9c37-9d657a825274",
+    "provider_id" : "0daac4c5-6707-4851-97ba-169e36266b66",
+    "source_region" : "region1",
+    "vault_id" : "3b5816b5-f29c-4172-9d9a-76c719a659ce",
+    "destination_region" : "region2",
+    "destination_project_id" : "68589cac08274b82b4e254268a3862d8",
+    "backups" : [ {
+      "replication_record_id" : "de128dfa-5451-4905-9c11-8fc842b2f41e",
+      "backup_id" : "7558e1a3-7046-4787-95cd-14b0ad0642a8"
+    }, {
+      "replication_record_id" : "892a7d1e-17c8-4751-ad75-cfbed7051857",
+      "backup_id" : "6df2b54c-dd62-4059-a07c-1b8f24f2725d"
+    }, {
+      "replication_record_id" : "8bf5ce8f-bfa1-4d57-98de-d6159ab9d86d",
+      "backup_id" : "aa00034d-ef40-443d-ab7a-dc846d988cdf"
+    } ],
+    "project_id" : "4229d7a45436489f8c3dc2b1d35d4987"
+  }
+}
+
+

Status Codes

+
+ + + + + + + +

Status Code

+

Description

+

200

+

OK

+
+
+
+

Error Codes

See Error Codes.

+
+
+
+ +
+ diff --git a/docs/cbr/api-ref/CreateCheckpoint.html b/docs/cbr/api-ref/CreateCheckpoint.html index 3b5e71360..9be84e91f 100644 --- a/docs/cbr/api-ref/CreateCheckpoint.html +++ b/docs/cbr/api-ref/CreateCheckpoint.html @@ -556,17 +556,16 @@
{
   "checkpoint" : {
     "status" : "protecting",
-    "created_at" : "2019-05-10T07:59:12.733403",
+    "created_at" : "2019-05-10T07:59:12.733+00:00",
     "vault" : {
       "skipped_resources" : [ ],
       "id" : "3b5816b5-f29c-4172-9d9a-76c719a659ce",
       "resources" : [ {
         "name" : "ecs-1f0f-0002",
-        "resource_size" : "40",
+        "resource_size" : 40,
         "protect_status" : "available",
         "type" : "OS::Nova::Server",
-        "id" : "94eba8b2-acc9-4d82-badc-127144cc5526",
-        "extra_info" : null
+        "id" : "94eba8b2-acc9-4d82-badc-127144cc5526"
       } ],
       "name" : "vault-be94"
     },
@@ -601,7 +600,7 @@
 
 
diff --git a/docs/cbr/api-ref/CreatePolicy.html b/docs/cbr/api-ref/CreatePolicy.html index fe62e0791..3f278086e 100644 --- a/docs/cbr/api-ref/CreatePolicy.html +++ b/docs/cbr/api-ref/CreatePolicy.html @@ -1,529 +1,577 @@

Creating a Policy

-

Function

This API is used to create a backup policy.

+

Function

This API is used to create a backup policy.

-

URI

POST /v3/{project_id}/policies

+

URI

POST /v3/{project_id}/policies

-
Table 1 Path Parameters

Parameter

+
- - - - - - -
Table 1 Path Parameters

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

project_id

+

project_id

Yes

+

Yes

String

+

String

Project ID

+

Project ID

-

Request Parameters

-
Table 2 Request header parameters

Parameter

+

Request Parameters

+
- - - - - - -
Table 2 Request header parameters

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

X-Auth-Token

+

X-Auth-Token

Yes

+

Yes

String

+

String

User token The token can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.

+

User token The token can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.

-
Table 3 Request body parameters

Parameter

+
- - - - - - -
Table 3 Request body parameters

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

policy

+

policy

Yes

+

Yes

PolicyCreate object

+

PolicyCreate object

Request body for creating a policy

+

Request body for creating a policy

-
Table 4 PolicyCreate

Parameter

+
- - - - - - - - - - - - - - - - - - - - - - -
Table 4 PolicyCreate

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

enabled

+

enabled

No

+

No

Boolean

+

Boolean

Whether to enable the policy

-

Default: true

+

Whether to enable the policy

+

Default: true

name

+

name

Yes

+

Yes

String

+

String

Specifies the policy name. The value consists of 1 to 64 characters and can contain only letters, digits, underscores (_), and hyphens (-).

-

Minimum: 1

-

Maximum: 64

+

Specifies the policy name. The value consists of 1 to 64 characters and can contain only letters, digits, underscores (_), and hyphens (-).

+

Minimum: 1

+

Maximum: 64

operation_definition

+

operation_definition

Yes

+

Yes

PolicyoODCreate object

+

PolicyoODCreate object

Scheduling parameter

+

Scheduling parameter

operation_type

+

operation_type

Yes

+

Yes

String

+

String

Protection type, which is backup

+

Protection type, which can be backup or replication

trigger

+

trigger

Yes

+

Yes

PolicyTriggerReq object

+

PolicyTriggerReq object

Time rule for the policy execution

+

Time rule for the policy execution

-
Table 5 PolicyoODCreate

Parameter

+
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + +
Table 5 PolicyoODCreate

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

day_backups

+

day_backups

No

+

No

Integer

+

Integer

Specifies the number of retained daily backups. The latest backup of each day is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

-

Minimum: 0

-

Maximum: 100

+

Specifies the number of retained daily backups. The latest backup of each day is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

+

Minimum: 0

+

Maximum: 100

max_backups

+

destination_project_id

No

+

No

Integer

+

String

Maximum number of retained backups. The value can be -1 or ranges from 0 to 99999. If the value is set to -1, the backups will not be cleared even though the configured retained backup quantity is exceeded. If this parameter and retention_duration_days are both left blank, the backups will be retained permanently.

-

Minimum: 1

-

Maximum: 99999

-

Default: -1

+

ID of the replication destination project, which is mandatory for cross-region replication

month_backups

+

destination_region

No

+

No

Integer

+

String

Specifies the number of retained monthly backups. The latest backup of each month is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

-

Minimum: 0

-

Maximum: 100

+

ID of the replication destination region, which is mandatory for cross-region replication. The value consists of 0 to 255 characters and can contain only letters, digits, underscores (_), and hyphens (-).

retention_duration_days

+

enable_acceleration

No

+

No

Integer

+

Boolean

Duration of retaining a backup, in days. The maximum value is 99999. -1 indicates that the backups will not be cleared based on the retention duration. If this parameter and max_backups are left blank at the same time, the backups will be retained permanently.

-

Minimum: 1

-

Maximum: 99999

-

Default: -1

+

Whether to enable the acceleration function to shorten the replication time for cross-region replication. If this parameter is not set, the acceleration function is disabled.

timezone

+

max_backups

No

+

No

String

+

Integer

Time zone where the user is located, for example, UTC+08:00. Set this parameter if you have configured any of the parameters: day_backups, week_backups, month_backups, year_backups.

+

Maximum number of retained backups. The value can be -1 or ranges from 0 to 99999. If the value is set to -1, the backups will not be cleared even though the configured retained backup quantity is exceeded. If this parameter and retention_duration_days are both left blank, the backups will be retained permanently.

+

Minimum: 1

+

Maximum: 99999

+

Default: -1

week_backups

+

month_backups

No

+

No

Integer

+

Integer

Specifies the number of retained weekly backups. The latest backup of each week is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

+

Specifies the number of retained monthly backups. The latest backup of each month is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

+

Minimum: 0

+

Maximum: 100

year_backups

+

retention_duration_days

No

+

No

Integer

+

Integer

Specifies the number of retained yearly backups. The latest backup of each year is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

-

Minimum: 0

-

Maximum: 100

+

Duration of retaining a backup, in days. The maximum value is 99999. -1 indicates that the backups will not be cleared based on the retention duration. If this parameter and max_backups are left blank at the same time, the backups will be retained permanently.

+

Minimum: 1

+

Maximum: 99999

+

Default: -1

+

timezone

+

No

+

String

+

Time zone where the user is located, for example, UTC+08:00. Set this parameter if you have configured any of the parameters: day_backups, week_backups, month_backups, year_backups.

+

week_backups

+

No

+

Integer

+

Specifies the number of retained weekly backups. The latest backup of each week is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

+

year_backups

+

No

+

Integer

+

Specifies the number of retained yearly backups. The latest backup of each year is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

+

Minimum: 0

+

Maximum: 100

-
Table 6 PolicyTriggerReq

Parameter

+
- - - - - - -
Table 6 PolicyTriggerReq

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

properties

+

properties

Yes

+

Yes

PolicyTriggerPropertiesReq object

+

PolicyTriggerPropertiesReq object

Scheduler attributes

+

Scheduler attributes

-
Table 7 PolicyTriggerPropertiesReq

Parameter

+
- - - - - - -
Table 7 PolicyTriggerPropertiesReq

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

pattern

+

pattern

Yes

+

Yes

Array of strings

+

Array of strings

Scheduling rule of the scheduler. A maximum of 24 rules can be configured. The scheduling rule complies with iCalendar RFC 2445, but it supports only the FREQ, BYDAY, BYHOUR, BYMINUTE, and INTERVAL parameters. FREQ can be set only to WEEKLY or DAILY. BYDAY can be set to MO, TU, WE, TH, FR, SA, and SU (seven days of a week). BYHOUR ranges from 0 to 23 hours. BYMINUTE ranges from 0 to 59 minutes. The scheduling interval cannot be less than 1 hour. A maximum of 24 time points are allowed in a day. For example, if the scheduling time is 14:00 (UTC) from Monday to Sunday, set the scheduling rule as follows: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR,SA,SU;BYHOUR=14;BYMINUTE=00. If the scheduling time is 14:00 (UTC+8) every day, set the scheduling rule as follows: FREQ=DAILY;INTERVAL=1;BYHOUR=6;BYMINUTE=00

+

Scheduling rule of the scheduler. A maximum of 24 rules can be configured. The scheduling rule complies with iCalendar RFC 2445, but it supports only the FREQ, BYDAY, BYHOUR, BYMINUTE, and INTERVAL parameters. FREQ can be set only to WEEKLY or DAILY. BYDAY can be set to MO, TU, WE, TH, FR, SA, and SU (seven days of a week). BYHOUR ranges from 0 to 23 hours. BYMINUTE ranges from 0 to 59 minutes. The scheduling interval cannot be less than 1 hour. A maximum of 24 time points are allowed in a day. For example, if the scheduling time is 14:00 (UTC) from Monday to Sunday, set the scheduling rule as follows: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR,SA,SU;BYHOUR=14;BYMINUTE=00. If the scheduling time is 14:00 (UTC+8) every day, set the scheduling rule as follows: FREQ=DAILY;INTERVAL=1;BYHOUR=6;BYMINUTE=00

-

Response Parameters

Status code: 200

+

Response Parameters

Status code: 200

-
Table 8 Response body parameters

Parameter

+
- - - - -
Table 8 Response body parameters

Parameter

Type

+

Type

Description

+

Description

policy

+

policy

Policy object

+

Policy object

Response to the request for creating a policy

+

Response to the request for creating a policy

-
Table 9 Policy

Parameter

+
- - - - - - - - - - - - - - - - - - - - - - -
Table 9 Policy

Parameter

Type

+

Type

Description

+

Description

enabled

+

enabled

Boolean

+

Boolean

Whether the policy is enabled

+

Whether the policy is enabled

id

+

id

String

+

String

Policy ID

+

Policy ID

name

+

name

String

+

String

Policy Name

+

Policy Name

operation_definition

+

operation_definition

PolicyoODCreate object

+

PolicyoODCreate object

Policy attributes

+

Policy attributes

operation_type

+

operation_type

String

+

String

Protection type, which is backup

-

Enumeration values:

-
  • backup
+

Protection type, which is backup or replication

+

Enumeration values:

+
  • backup
  • replication

trigger

+

trigger

PolicyTriggerResp object

+

PolicyTriggerResp object

Time scheduling rule for the policy

+

Time scheduling rule for the policy

associated_vaults

+

associated_vaults

Array of PolicyAssociateVault objects

+

Array of PolicyAssociateVault objects

Associated vault

+

Associated vault

-
Table 10 PolicyoODCreate

Parameter

+
- - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + +
Table 10 PolicyoODCreate

Parameter

Type

+

Type

Description

+

Description

day_backups

+

day_backups

Integer

+

Integer

Specifies the number of retained daily backups. The latest backup of each day is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

-

Minimum: 0

-

Maximum: 100

+

Specifies the number of retained daily backups. The latest backup of each day is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

+

Minimum: 0

+

Maximum: 100

max_backups

+

destination_project_id

Integer

+

String

Maximum number of retained backups. The value can be -1 or ranges from 0 to 99999. If the value is set to -1, the backups will not be cleared even though the configured retained backup quantity is exceeded. If this parameter and retention_duration_days are both left blank, the backups will be retained permanently.

-

Minimum: 1

-

Maximum: 99999

-

Default: -1

+

ID of the replication destination project, which is mandatory for cross-region replication

month_backups

+

destination_region

Integer

+

String

Specifies the number of retained monthly backups. The latest backup of each month is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

-

Minimum: 0

-

Maximum: 100

+

ID of the replication destination region, which is mandatory for cross-region replication. The value consists of 0 to 255 characters and can contain only letters, digits, underscores (_), and hyphens (-).

retention_duration_days

+

enable_acceleration

Integer

+

Boolean

Duration of retaining a backup, in days. The maximum value is 99999. -1 indicates that the backups will not be cleared based on the retention duration. If this parameter and max_backups are left blank at the same time, the backups will be retained permanently.

-

Minimum: 1

-

Maximum: 99999

-

Default: -1

+

Whether to enable the acceleration function to shorten the replication time for cross-region replication. If this parameter is not set, the acceleration function is disabled.

timezone

+

max_backups

String

+

Integer

Time zone where the user is located, for example, UTC+08:00. Set this parameter if you have configured any of the parameters: day_backups, week_backups, month_backups, year_backups.

+

Maximum number of retained backups. The value can be -1 or ranges from 0 to 99999. If the value is set to -1, the backups will not be cleared even though the configured retained backup quantity is exceeded. If this parameter and retention_duration_days are both left blank, the backups will be retained permanently.

+

Minimum: 1

+

Maximum: 99999

+

Default: -1

week_backups

+

month_backups

Integer

+

Integer

Specifies the number of retained weekly backups. The latest backup of each week is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

+

Specifies the number of retained monthly backups. The latest backup of each month is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

+

Minimum: 0

+

Maximum: 100

year_backups

+

retention_duration_days

Integer

+

Integer

Specifies the number of retained yearly backups. The latest backup of each year is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

-

Minimum: 0

-

Maximum: 100

+

Duration of retaining a backup, in days. The maximum value is 99999. -1 indicates that the backups will not be cleared based on the retention duration. If this parameter and max_backups are left blank at the same time, the backups will be retained permanently.

+

Minimum: 1

+

Maximum: 99999

+

Default: -1

+

timezone

+

String

+

Time zone where the user is located, for example, UTC+08:00. Set this parameter if you have configured any of the parameters: day_backups, week_backups, month_backups, year_backups.

+

week_backups

+

Integer

+

Specifies the number of retained weekly backups. The latest backup of each week is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

+

year_backups

+

Integer

+

Specifies the number of retained yearly backups. The latest backup of each year is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

+

Minimum: 0

+

Maximum: 100

-
Table 11 PolicyTriggerResp

Parameter

+
- - - - - - - - - - - - - -
Table 11 PolicyTriggerResp

Parameter

Type

+

Type

Description

+

Description

id

+

id

String

+

String

Scheduler ID

+

Scheduler ID

name

+

name

String

+

String

Scheduler name

+

Scheduler name

properties

+

properties

PolicyTriggerPropertiesResp object

+

PolicyTriggerPropertiesResp object

Scheduler attributes

+

Scheduler attributes

type

+

type

String

+

String

Scheduler type. Currently, only time (periodic scheduling) is supported.

-

Enumeration values:

-
  • time
+

Scheduler type. Currently, only time (periodic scheduling) is supported.

+

Enumeration values:

+
  • time
-
Table 12 PolicyTriggerPropertiesResp

Parameter

+
- - - - - - - -
Table 12 PolicyTriggerPropertiesResp

Parameter

Type

+

Type

Description

+

Description

pattern

+

pattern

Array of strings

+

Array of strings

Scheduling rule of the scheduler. A maximum of 24 rules can be configured. The scheduling rule complies with iCalendar RFC 2445, but it supports only the FREQ, BYDAY, BYHOUR, BYMINUTE, and INTERVAL parameters. FREQ can be set only to WEEKLY or DAILY. BYDAY can be set to MO, TU, WE, TH, FR, SA, and SU (seven days of a week). BYHOUR ranges from 0 to 23 hours. BYMINUTE ranges from 0 to 59 minutes. The scheduling interval cannot be less than 1 hour. A maximum of 24 time points are allowed in a day. For example, if the scheduling time is 14:00 (UTC) from Monday to Sunday, set the scheduling rule as follows: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR,SA,SU;BYHOUR=14;BYMINUTE=00. If the scheduling time is 14:00 (UTC+8) every day, set the scheduling rule as follows: FREQ=DAILY;INTERVAL=1;BYHOUR=6;BYMINUTE=00

+

Scheduling rule of the scheduler. A maximum of 24 rules can be configured. The scheduling rule complies with iCalendar RFC 2445, but it supports only the FREQ, BYDAY, BYHOUR, BYMINUTE, and INTERVAL parameters. FREQ can be set only to WEEKLY or DAILY. BYDAY can be set to MO, TU, WE, TH, FR, SA, and SU (seven days of a week). BYHOUR ranges from 0 to 23 hours. BYMINUTE ranges from 0 to 59 minutes. The scheduling interval cannot be less than 1 hour. A maximum of 24 time points are allowed in a day. For example, if the scheduling time is 14:00 (UTC) from Monday to Sunday, set the scheduling rule as follows: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR,SA,SU;BYHOUR=14;BYMINUTE=00. If the scheduling time is 14:00 (UTC+8) every day, set the scheduling rule as follows: FREQ=DAILY;INTERVAL=1;BYHOUR=6;BYMINUTE=00

start_time

+

start_time

String

+

String

Start time of the scheduler, for example, 2020-01-08 09:59:49

+

Start time of the scheduler, for example, 2020-01-08 09:59:49

-
Table 13 PolicyAssociateVault

Parameter

+
- - - - - - - -
Table 13 PolicyAssociateVault

Parameter

Type

+

Type

Description

+

Description

destination_vault_id

+

destination_vault_id

String

+

String

ID of the associated remote vault

+

ID of the associated remote vault

vault_id

+

vault_id

String

+

String

Vault ID

+

Vault ID

-

Example Requests

POST https://{endpoint}/v3/f841e01fd2b14e7fa41b6ae7aa6b0594/policies
+

Example Requests

POST https://{endpoint}/v3/f841e01fd2b14e7fa41b6ae7aa6b0594/policies
 
 {
   "policy" : {
@@ -546,17 +594,16 @@
   }
 }
-

Example Responses

Status code: 200

-

OK

-
{
+

Example Responses

Status code: 200

+

OK

+
{
   "policy" : {
     "name" : "policy001",
-    "associated_vaults" : null,
     "enabled" : true,
     "trigger" : {
       "properties" : {
         "pattern" : [ "FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR,SA,SU;BYHOUR=14;BYMINUTE=00" ],
-        "start_time" : "2019-05-08 06:57:05"
+        "start_time" : "2019-05-08T06:57:05.000+00:00"
       },
       "type" : "time",
       "id" : "d67269a6-5369-42d7-8150-5254bd446328",
@@ -575,28 +622,28 @@
   }
 }
-

Status Codes

-

Status Code

+

Status Codes

+
- - -

Status Code

Description

+

Description

200

+

200

OK

+

OK

-

Error Codes

See Error Codes.

+

Error Codes

See Error Codes.

diff --git a/docs/cbr/api-ref/CreateVault.html b/docs/cbr/api-ref/CreateVault.html index 43ed7eb45..20ce669e4 100644 --- a/docs/cbr/api-ref/CreateVault.html +++ b/docs/cbr/api-ref/CreateVault.html @@ -1,893 +1,904 @@

Creating a Vault

-

Function

This API is used to create a vault.

+

Function

This API is used to create a vault.

-

URI

POST /v3/{project_id}/vaults

+

URI

POST /v3/{project_id}/vaults

-
Table 1 Path Parameters

Parameter

+
- - - - - - -
Table 1 Path Parameters

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

project_id

+

project_id

Yes

+

Yes

String

+

String

Project ID

+

Project ID

-

Request Parameters

-
Table 2 Request header parameters

Parameter

+

Request Parameters

+
- - - - - - -
Table 2 Request header parameters

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

X-Auth-Token

+

X-Auth-Token

Yes

+

Yes

String

+

String

User token The token can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.

+

User token The token can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.

-
Table 3 Request body parameters

Parameter

+
- - - - - - -
Table 3 Request body parameters

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

vault

+

vault

Yes

+

Yes

VaultCreate object

+

VaultCreate object

Parameters for creating a vault

+

Parameters for creating a vault

-
Table 4 VaultCreate

Parameter

+
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Table 4 VaultCreate

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

backup_policy_id

+

backup_policy_id

No

+

No

String

+

String

Backup policy ID. If the value of this parameter is null, automatic backup is not performed.

+

Backup policy ID. If the value of this parameter is null, automatic backup is not performed.

billing

+

billing

Yes

+

Yes

BillingCreate object

+

BillingCreate object

Parameter information for creation

+

Parameter information for creation

description

+

description

No

+

No

String

+

String

User-defined vault description

-

Minimum: 0

-

Maximum: 64

+

User-defined vault description

+

Minimum: 0

+

Maximum: 64

name

+

name

Yes

+

Yes

String

+

String

Vault name

-

Minimum: 1

-

Maximum: 64

+

Vault name

+

Minimum: 1

+

Maximum: 64

resources

+

resources

Yes

+

Yes

Array of ResourceCreate objects

+

Array of ResourceCreate objects

Associated resources. Set this parameter to [] if no resources are associated when creating a vault.

-

Array Length: 0 - 255

+

Associated resources. Set this parameter to [] if no resources are associated when creating a vault.

+

Array Length: 0 - 255

tags

+

tags

No

+

No

Array of Tag objects

+

Array of Tag objects

Tag list This list cannot be an empty list. The list can contain up to 20 keys. Keys in this list must be unique.

+

Tag list This list cannot be an empty list. The list can contain up to 20 keys. Keys in this list must be unique.

auto_bind

+

auto_bind

No

+

No

Boolean

+

Boolean

Whether automatic association is supported

+

Whether automatic association is supported

bind_rules

+

bind_rules

No

+

No

VaultBindRules object

+

VaultBindRules object

Rules for automatic association

+

Rules for automatic association

-
Table 5 BillingCreate

Parameter

+
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Table 5 BillingCreate

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

cloud_type

+

cloud_type

No

+

No

String

+

String

Cloud type, which is public

+

Cloud type, which is public

consistent_level

+

consistent_level

Yes

+

Yes

String

+

String

Vault specification, which is crash_consistent by default (crash consistent backup)

+

Vault specification, which is crash_consistent by default (crash consistent backup)

object_type

+

object_type

Yes

+

Yes

String

+

String

Object type, which can be server, disk, or turbo

+

Object type, which can be server, disk, or turbo

protect_type

+

protect_type

Yes

+

Yes

String

+

String

Protection type, which is backup

+

Protection type, which can be backup or replication

size

+

size

Yes

+

Yes

Integer

+

Integer

Capacity, in GB

-

Minimum: 10

-

Maximum: 10485760

+

Capacity, in GB

+

Minimum: 10

+

Maximum: 10485760

charging_mode

+

charging_mode

No

+

No

String

+

String

Billing mode, which is post_paid

-

Default: post_paid

+

Billing mode, which is post_paid

+

Default: post_paid

is_auto_renew

+

is_auto_renew

No

+

No

Boolean

+

Boolean

Whether to automatically renew the subscription after expiration. By default, it is not renewed.

-

Default: false

+

Whether to automatically renew the subscription after expiration. By default, it is not renewed.

+

Default: false

is_auto_pay

+

is_auto_pay

No

+

No

Boolean

+

Boolean

Whether the fee is automatically deducted from the customer's account balance after an order is submitted. The non-automatic payment mode is used by default.

-

Default: false

+

Whether the fee is automatically deducted from the customer's account balance after an order is submitted. The non-automatic payment mode is used by default.

+

Default: false

console_url

+

console_url

No

+

No

String

+

String

Redirection URL

-

Minimum: 1

-

Maximum: 255

+

Redirection URL

+

Minimum: 1

+

Maximum: 255

-
Table 6 ResourceCreate

Parameter

+
- - - - - - - - - - - - - - - - - - -
Table 6 ResourceCreate

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

extra_info

+

extra_info

No

+

No

ResourceExtraInfo object

+

ResourceExtraInfo object

Additional information of the resource

+

Additional information of the resource

id

+

id

Yes

+

Yes

String

+

String

ID of the resource to be backed up

+

ID of the resource to be backed up

type

+

type

Yes

+

Yes

String

+

String

Type of the resource to be backed up, which can be OS::Nova::Server, OS::Cinder::Volume, or OS::Sfs::Turbo

+

Type of the resource to be backed up, which can be OS::Nova::Server, OS::Cinder::Volume, or OS::Sfs::Turbo

name

+

name

No

+

No

String

+

String

Resource name

-

Minimum: 0

-

Maximum: 255

+

Resource name

+

Minimum: 0

+

Maximum: 255

-
Table 7 ResourceExtraInfo

Parameter

+
- - - - - - -
Table 7 ResourceExtraInfo

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

exclude_volumes

+

exclude_volumes

No

+

No

Array of strings

+

Array of strings

IDs of the disks that will not be backed up. This parameter is used when servers are added to a vault, which include all server disks. But some disks do not need to be backed up. Or in case that a server was previously added and some disks on this server do not need to be backed up.

+

IDs of the disks that will not be backed up. This parameter is used when servers are added to a vault, which include all server disks. But some disks do not need to be backed up. Or in case that a server was previously added and some disks on this server do not need to be backed up.

-
Table 8 Tag

Parameter

+
- - - - - - - - - - -
Table 8 Tag

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

key

+

key

Yes

+

Yes

String

+

String

Key

-

It can contain a maximum of 36 characters.

-

It cannot be an empty string.

-

Spaces before and after a key will be discarded.

-

It cannot contain the following characters: ASCII (0-31), equal signs (=), asterisks (*), left angle brackets (<), right angle brackets (>), backslashes (), commas (,), vertical bars (|), and slashes (/)

-

It can contain only letters, digits, hyphens (-), and underscores (_).

+

Key

+

It can contain a maximum of 36 characters.

+

It cannot be an empty string.

+

Spaces before and after a key will be discarded.

+

It cannot contain the following characters: ASCII (0-31), equal signs (=), asterisks (*), left angle brackets (<), right angle brackets (>), backslashes (), commas (,), vertical bars (|), and slashes (/)

+

It can contain only letters, digits, hyphens (-), and underscores (_).

value

+

value

No

+

No

String

+

String

Value

-

It is mandatory when a tag is added and optional when a tag is deleted.

-

It can contain a maximum of 43 characters.

-

It can be an empty string.

-

Spaces before and after a value will be discarded.

-

It cannot contain the following characters: ASCII (0-31), equal signs (=), asterisks (*), left angle brackets (<), right angle brackets (>), backslashes (), commas (,), vertical bars (|), and slashes (/)

-

It can contain only letters, digits, hyphens (-), and underscores (_).

+

Value

+

It is mandatory when a tag is added and optional when a tag is deleted.

+

It can contain a maximum of 43 characters.

+

It can be an empty string.

+

Spaces before and after a value will be discarded.

+

It cannot contain the following characters: ASCII (0-31), equal signs (=), asterisks (*), left angle brackets (<), right angle brackets (>), backslashes (), commas (,), vertical bars (|), and slashes (/)

+

It can contain only letters, digits, hyphens (-), and underscores (_).

-
Table 9 VaultBindRules

Parameter

+
- - - - - - -
Table 9 VaultBindRules

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

tags

+

tags

No

+

No

Array of BindRulesTags objects

+

Array of BindRulesTags objects

Filters automatically associated resources by tag.

+

Filters automatically associated resources by tag.

-
Table 10 BindRulesTags

Parameter

+
- - - - - - - - - - -
Table 10 BindRulesTags

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

key

+

key

Yes

+

Yes

String

+

String

The key cannot contain non-printable ASCII characters (0–31) and the following characters: =*<>\,|/

-

The key can contain only letters, digits, underscores (_), and hyphens (-).

+

The key cannot contain non-printable ASCII characters (0–31) and the following characters: =*<>\,|/

+

The key can contain only letters, digits, underscores (_), and hyphens (-).

value

+

value

No

+

No

String

+

String

The value cannot contain non-printable ASCII characters (0–31) and the following characters: =*<>,|/

-

The value can contain only letters, digits, underscores (_), and hyphens (-).

+

The value cannot contain non-printable ASCII characters (0–31) and the following characters: =*<>,|/

+

The value can contain only letters, digits, underscores (_), and hyphens (-).

-

Response Parameters

Status code: 200

+

Response Parameters

Status code: 200

-
Table 11 Response body parameters

Parameter

+
- - - - -
Table 11 Response body parameters

Parameter

Type

+

Type

Description

+

Description

vault

+

vault

VaultCreateResource object

+

VaultCreateResource object

Objects returned after a vault query

+

Objects returned after a vault query

-
Table 12 VaultCreateResource

Parameter

+
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Table 12 VaultCreateResource

Parameter

Type

+

Type

Description

+

Description

billing

+

billing

Billing object

+

Billing object

Operations information

+

Operations information

description

+

description

String

+

String

User-defined vault description

-

Minimum: 0

-

Maximum: 255

+

User-defined vault description

+

Minimum: 0

+

Maximum: 255

id

+

id

String

+

String

Vault ID

+

Vault ID

name

+

name

String

+

String

Vault name

-

Minimum: 1

-

Maximum: 64

+

Vault name

+

Minimum: 1

+

Maximum: 64

project_id

+

project_id

String

+

String

Project ID

+

Project ID

provider_id

+

provider_id

String

+

String

ID of the vault resource type

+

ID of the vault resource type

resources

+

resources

Array of ResourceResp objects

+

Array of ResourceResp objects

Vault resources

+

Vault resources

tags

+

tags

Array of Tag objects

+

Array of Tag objects

Vault tags

+

Vault tags

auto_bind

+

auto_bind

Boolean

+

Boolean

Whether to enable automatic association. Its default value is false (not enable).

+

Whether to enable automatic association. Its default value is false (not enable).

bind_rules

+

bind_rules

VaultBindRules object

+

VaultBindRules object

Association rules

+

Association rules

user_id

+

user_id

String

+

String

User ID

+

User ID

created_at

+

created_at

String

+

String

Creation time, for example, 2020-02-05T10:38:34.209782

+

Creation time, for example, 2020-02-05T10:38:34.209782

auto_expand

+

auto_expand

Boolean

+

Boolean

Whether to enable auto capacity expansion for the vault.

+

Whether to enable auto capacity expansion for the vault.

-
Table 13 Billing

Parameter

+
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Table 13 Billing

Parameter

Type

+

Type

Description

+

Description

allocated

+

allocated

Integer

+

Integer

Allocated capacity, in GB.

+

Allocated capacity, in GB.

charging_mode

+

charging_mode

String

+

String

Billing mode, which is post_paid

+

Billing mode, which is post_paid

cloud_type

+

cloud_type

String

+

String

Cloud type, which is public

+

Cloud type, which is public

consistent_level

+

consistent_level

String

+

String

Vault specification, which is crash_consistent by default (crash consistent backup)

+

Vault specification, which is crash_consistent by default (crash consistent backup)

object_type

+

object_type

String

+

String

Object type, which can be server, disk, or turbo

+

Object type, which can be server, disk, or turbo

order_id

+

order_id

String

+

String

Order ID

+

Order ID

product_id

+

product_id

String

+

String

Product ID

+

Product ID

protect_type

+

protect_type

String

+

String

Protection type, which is backup

+

Protection type, which can be backup or replication

size

+

size

Integer

+

Integer

Capacity, in GB

-

Minimum: 1

-

Maximum: 10485760

+

Capacity, in GB

+

Minimum: 1

+

Maximum: 10485760

spec_code

+

spec_code

String

+

String

Specification code Server backup vault: vault.backup.server.normal; Disk backup vault: vault.backup.volume.normal; File system backup vault: vault.backup.turbo.normal

+

Specification code Server backup vault: vault.backup.server.normal; Disk backup vault: vault.backup.volume.normal; File system backup vault: vault.backup.turbo.normal

status

+

status

String

+

String

Vault status

-

Enumeration values:

-
  • available
  • lock
  • frozen
  • deleting
  • error
+

Vault status

+

Enumeration values:

+
  • available

    +
  • lock

    +
  • frozen

    +
  • deleting

    +
  • error

    +

storage_unit

+

storage_unit

String

+

String

Name of the bucket for the vault

+

Name of the bucket for the vault

used

+

used

Integer

+

Integer

Used capacity, in MB.

+

Used capacity, in MB.

frozen_scene

+

frozen_scene

String

+

String

Scenario when an account is frozen

+

Scenario when an account is frozen

-
Table 14 ResourceResp

Parameter

+
- - - - - - - - - - - - - - - - - - - - - - - - - -
Table 14 ResourceResp

Parameter

Type

+

Type

Description

+

Description

extra_info

+

extra_info

ResourceExtraInfo object

+

ResourceExtraInfo object

Additional information of the resource

+

Additional information of the resource

id

+

id

String

+

String

ID of the resource to be backed up

+

ID of the resource to be backed up

name

+

name

String

+

String

Name of the resource to be backed up

-

Minimum: 0

-

Maximum: 255

+

Name of the resource to be backed up

+

Minimum: 0

+

Maximum: 255

protect_status

+

protect_status

String

+

String

Protection status

-

Enumeration values:

-
  • available
  • error
  • protecting
  • restoring
  • removing
+

Protection status

+

Enumeration values:

+
  • available

    +
  • error

    +
  • protecting

    +
  • restoring

    +
  • removing

    +

size

+

size

Integer

+

Integer

Allocated capacity for the associated resources, in GB

+

Allocated capacity for the associated resources, in GB

type

+

type

String

+

String

Type of the resource to be backed up, which can be OS::Nova::Server, OS::Cinder::Volume, or OS::Sfs::Turbo

+

Type of the resource to be backed up, which can be OS::Nova::Server, OS::Cinder::Volume, or OS::Sfs::Turbo

backup_size

+

backup_size

Integer

+

Integer

Backup size

+

Backup size

backup_count

+

backup_count

Integer

+

Integer

Number of backups

+

Number of backups

-
Table 15 ResourceExtraInfo

Parameter

+
- - - - -
Table 15 ResourceExtraInfo

Parameter

Type

+

Type

Description

+

Description

exclude_volumes

+

exclude_volumes

Array of strings

+

Array of strings

IDs of the disks that will not be backed up. This parameter is used when servers are added to a vault, which include all server disks. But some disks do not need to be backed up. Or in case that a server was previously added and some disks on this server do not need to be backed up.

+

IDs of the disks that will not be backed up. This parameter is used when servers are added to a vault, which include all server disks. But some disks do not need to be backed up. Or in case that a server was previously added and some disks on this server do not need to be backed up.

-
Table 16 Tag

Parameter

+
- - - - - - - -
Table 16 Tag

Parameter

Type

+

Type

Description

+

Description

key

+

key

String

+

String

Key

-

It can contain a maximum of 36 characters.

-

It cannot be an empty string.

-

Spaces before and after a key will be discarded.

-

It cannot contain the following characters: ASCII (0-31), equal signs (=), asterisks (*), left angle brackets (<), right angle brackets (>), backslashes (), commas (,), vertical bars (|), and slashes (/)

-

It can contain only letters, digits, hyphens (-), and underscores (_).

+

Key

+

It can contain a maximum of 36 characters.

+

It cannot be an empty string.

+

Spaces before and after a key will be discarded.

+

It cannot contain the following characters: ASCII (0-31), equal signs (=), asterisks (*), left angle brackets (<), right angle brackets (>), backslashes (), commas (,), vertical bars (|), and slashes (/)

+

It can contain only letters, digits, hyphens (-), and underscores (_).

value

+

value

String

+

String

Value

-

It is mandatory when a tag is added and optional when a tag is deleted.

-

It can contain a maximum of 43 characters.

-

It can be an empty string.

-

Spaces before and after a value will be discarded.

-

It cannot contain the following characters: ASCII (0-31), equal signs (=), asterisks (*), left angle brackets (<), right angle brackets (>), backslashes (), commas (,), vertical bars (|), and slashes (/)

-

It can contain only letters, digits, hyphens (-), and underscores (_).

+

Value

+

It is mandatory when a tag is added and optional when a tag is deleted.

+

It can contain a maximum of 43 characters.

+

It can be an empty string.

+

Spaces before and after a value will be discarded.

+

It cannot contain the following characters: ASCII (0-31), equal signs (=), asterisks (*), left angle brackets (<), right angle brackets (>), backslashes (), commas (,), vertical bars (|), and slashes (/)

+

It can contain only letters, digits, hyphens (-), and underscores (_).

-
Table 17 VaultBindRules

Parameter

+
- - - - -
Table 17 VaultBindRules

Parameter

Type

+

Type

Description

+

Description

tags

+

tags

Array of BindRulesTags objects

+

Array of BindRulesTags objects

Filters automatically associated resources by tag.

+

Filters automatically associated resources by tag.

-
Table 18 BindRulesTags

Parameter

+
- - - - - - - -
Table 18 BindRulesTags

Parameter

Type

+

Type

Description

+

Description

key

+

key

String

+

String

The key cannot contain non-printable ASCII characters (0–31) and the following characters: =*<>\,|/

-

The key can contain only letters, digits, underscores (_), and hyphens (-).

+

The key cannot contain non-printable ASCII characters (0–31) and the following characters: =*<>\,|/

+

The key can contain only letters, digits, underscores (_), and hyphens (-).

value

+

value

String

+

String

The value cannot contain non-printable ASCII characters (0–31) and the following characters: =*<>,|/

-

The value can contain only letters, digits, underscores (_), and hyphens (-).

+

The value cannot contain non-printable ASCII characters (0–31) and the following characters: =*<>,|/

+

The value can contain only letters, digits, underscores (_), and hyphens (-).

-

Status code: 400

+

Status code: 400

-
Table 19 Response body parameters

Parameter

+
- - - - - - - -
Table 19 Response body parameters

Parameter

Type

+

Type

Description

+

Description

error_code

+

error_code

String

+

String

For details, see Error Codes.

+

For details, see Error Codes.

error_msg

+

error_msg

String

+

String

Error message

+

Error message

-

Example Requests

  • Creating a server backup vault, associating resources, and adding tags
    POST https://{endpoint}/v3/f841e01fd2b14e7fa41b6ae7aa6b0594/vaults
    +

    Example Requests

    • Creating a server backup vault, associating resources, and adding tags

      +
      POST https://{endpoint}/v3/f841e01fd2b14e7fa41b6ae7aa6b0594/vaults
       
       {
         "vault" : {
      @@ -919,7 +930,8 @@
           "enterprise_project_id" : "0"
         }
       }
      -
    • Creating a disk backup vault (with mandatory parameters only)
       POST https://{endpoint}/v3/f841e01fd2b14e7fa41b6ae7aa6b0594/vaults
      +
    • Creating a disk backup vault (with mandatory parameters only)

      +
       POST https://{endpoint}/v3/f841e01fd2b14e7fa41b6ae7aa6b0594/vaults
       
       {
         "vault" : {
      @@ -938,9 +950,9 @@
       }
    -

    Example Responses

    Status code: 200

    -

    OK

    -
    {
    +

    Example Responses

    Status code: 200

    +

    OK

    +
    {
       "vault" : {
         "provider_id" : "0daac4c5-6707-4851-97ba-169e36266b66",
         "description" : "vault_description",
    @@ -948,7 +960,7 @@
           "value" : "value01",
           "key" : "key01"
         } ],
    -    "enterprise_project_id" : "0",
    +    "enterprise_project_id" : 0,
         "auto_bind" : false,
         "id" : "ad7627ae-5b0b-492e-b6bd-cd809b745197",
         "user_id" : "38d65be2ecd840d19046e239e841a734",
    @@ -957,18 +969,15 @@
           "status" : "available",
           "used" : 0,
           "protect_type" : "backup",
    -      "order_id" : null,
           "object_type" : "server",
           "allocated" : 40,
           "spec_code" : "vault.backup.server.normal",
           "size" : 100,
           "cloud_type" : "public",
    -      "product_id" : null,
           "consistent_level" : "crash_consistent",
    -      "storage_unit" : null,
           "charging_mode" : "post_paid"
         },
    -    "created_at" : "2019-05-23T12:51:10.071232",
    +    "created_at" : "2019-05-23T12:51:10.071+00:00",
         "project_id" : "fc347bc64ccd4589ae52e4f44b7433c7",
         "resources" : [ {
           "name" : "ecs-b977-0002",
    @@ -985,33 +994,33 @@
       }
     }
    -

    Status Codes

    -
    @@ -758,7 +759,7 @@ - @@ -793,7 +794,7 @@

    Status Code

    +

    Status Codes

    +
    - - - - -

    Status Code

    Description

    +

    Description

    200

    +

    200

    OK

    +

    OK

    400

    +

    400

    Bad Request

    +

    Bad Request

    -

    Error Codes

    See Error Codes.

    +

    Error Codes

    See Error Codes.

    diff --git a/docs/cbr/api-ref/CreateVaultTags.html b/docs/cbr/api-ref/CreateVaultTags.html index 22f5bba71..9425895f1 100644 --- a/docs/cbr/api-ref/CreateVaultTags.html +++ b/docs/cbr/api-ref/CreateVaultTags.html @@ -170,7 +170,7 @@
    diff --git a/docs/cbr/api-ref/DeleteBackup.html b/docs/cbr/api-ref/DeleteBackup.html index 4b6d19101..264b8cb81 100644 --- a/docs/cbr/api-ref/DeleteBackup.html +++ b/docs/cbr/api-ref/DeleteBackup.html @@ -88,7 +88,7 @@
    diff --git a/docs/cbr/api-ref/DeleteMember.html b/docs/cbr/api-ref/DeleteMember.html index d03481a09..4497168ea 100644 --- a/docs/cbr/api-ref/DeleteMember.html +++ b/docs/cbr/api-ref/DeleteMember.html @@ -97,7 +97,7 @@
    diff --git a/docs/cbr/api-ref/DeletePolicy.html b/docs/cbr/api-ref/DeletePolicy.html index 1ddec14d2..d303a6adb 100644 --- a/docs/cbr/api-ref/DeletePolicy.html +++ b/docs/cbr/api-ref/DeletePolicy.html @@ -88,7 +88,7 @@
    diff --git a/docs/cbr/api-ref/DeleteVault.html b/docs/cbr/api-ref/DeleteVault.html index 060182231..dc1cb5943 100644 --- a/docs/cbr/api-ref/DeleteVault.html +++ b/docs/cbr/api-ref/DeleteVault.html @@ -88,7 +88,7 @@
    diff --git a/docs/cbr/api-ref/DeleteVaultTag.html b/docs/cbr/api-ref/DeleteVaultTag.html index 033a42a8f..f9ab749c1 100644 --- a/docs/cbr/api-ref/DeleteVaultTag.html +++ b/docs/cbr/api-ref/DeleteVaultTag.html @@ -106,7 +106,7 @@
    diff --git a/docs/cbr/api-ref/DisassociateVaultPolicy.html b/docs/cbr/api-ref/DisassociateVaultPolicy.html index 22b68e3ed..ef38e81b8 100644 --- a/docs/cbr/api-ref/DisassociateVaultPolicy.html +++ b/docs/cbr/api-ref/DisassociateVaultPolicy.html @@ -167,7 +167,7 @@
    diff --git a/docs/cbr/api-ref/ListBackups.html b/docs/cbr/api-ref/ListBackups.html index 56038683a..e452eaee6 100644 --- a/docs/cbr/api-ref/ListBackups.html +++ b/docs/cbr/api-ref/ListBackups.html @@ -600,7 +600,7 @@ "backups" : [ { "provider_id" : "0daac4c5-6707-4851-97ba-169e36266b66", "checkpoint_id" : "1fced58b-2a31-4851-bcbb-96216f83ce99", - "updated_at" : "2020-02-21T07:07:25.113761", + "updated_at" : "2020-02-21T07:07:25.114+00:00", "vault_id" : "cca85ea5-00a4-418d-9222-bd83985bc515", "id" : "b1c4afd9-e7a6-4888-9010-c2bac3aa7910", "resource_az" : "br-iaas-odin1a", @@ -619,14 +619,14 @@ "status" : "available", "resource_name" : "test001-02", "description" : "", - "expired_at" : "2020-05-21T07:00:54.060493", + "expired_at" : "2020-05-21T07:00:54.060+00:00", "name" : "autobk_b629", - "created_at" : "2020-02-21T07:00:54.065135", + "created_at" : "2020-02-21T07:00:54.065+00:00", "resource_type" : "OS::Nova::Server" }, { "provider_id" : "d1603440-187d-4516-af25-121250c7cc97", "checkpoint_id" : "f64c351f-769f-4c04-8806-fd90a59e9b12", - "updated_at" : "2020-02-21T07:09:37.767084", + "updated_at" : "2020-02-21T07:09:37.767+00:00", "vault_id" : "79bd9daa-884f-4f84-b8fe-235d58cd927d", "id" : "5606aab5-2dc2-4498-8144-dc848d099af5", "resource_az" : "br-iaas-odin1a", @@ -646,9 +646,9 @@ "status" : "available", "resource_name" : "qsy_000", "description" : "", - "expired_at" : "2020-03-22T07:00:34.877896", + "expired_at" : "2020-03-22T07:00:34.878+00:00", "name" : "autobk_6809", - "created_at" : "2020-02-21T07:00:34.882174", + "created_at" : "2020-02-21T07:00:34.882+00:00", "resource_type" : "OS::Cinder::Volume" } ] } @@ -674,7 +674,7 @@
    diff --git a/docs/cbr/api-ref/ListOpLogs.html b/docs/cbr/api-ref/ListOpLogs.html index 57ae3e7b4..2be0c2c9a 100644 --- a/docs/cbr/api-ref/ListOpLogs.html +++ b/docs/cbr/api-ref/ListOpLogs.html @@ -291,6 +291,7 @@
  • delete

  • vault_delete

  • remove_resource

    +
  • replication

  • operation_logs

    Array of OperationLog objects

    +

    Array of OperationLog objects

    Task list

    -
    Table 18 OperationLog

    Parameter

    +
    @@ -824,14 +825,14 @@ - - @@ -854,6 +855,7 @@
  • delete

  • vault_delete

  • remove_resource

    +
  • replication

  • @@ -925,7 +927,7 @@
    Table 18 OperationLog

    Parameter

    Type

    error_info

    OpErrorInfo object

    +

    OpErrorInfo object

    Task error message

    extra_info

    OpExtraInfo object

    +

    OpExtraInfo object

    Task extension information

    -
    Table 19 OpErrorInfo

    Parameter

    +
    @@ -951,7 +953,7 @@
    Table 19 OpErrorInfo

    Parameter

    Type

    -
    Table 20 OpExtraInfo

    Parameter

    +
    @@ -961,56 +963,56 @@ - - - - - - - - @@ -1019,7 +1021,7 @@
    Table 20 OpExtraInfo

    Parameter

    Type

    backup

    OpExtendInfoBckup object

    +

    OpExtendInfoBckup object

    Extended parameters of backup

    common

    OpExtendInfoCommon object

    +

    OpExtendInfoCommon object

    Common parameters

    delete

    OpExtendInfoDelete object

    +

    OpExtendInfoDelete object

    Extended parameters of deletion

    sync

    OpExtendInfoSync object

    +

    OpExtendInfoSync object

    Extended parameters of synchronization

    remove_resources

    OpExtendInfoRemoveResources object

    +

    OpExtendInfoRemoveResources object

    Extended parameters of removing resources from a vault

    resource

    Resource object

    +

    Resource object

    Resource information

    restore

    OpExtendInfoRestore object

    +

    OpExtendInfoRestore object

    Extended parameters of restoration

    vault_delete

    OpExtendInfoVaultDelete object

    +

    OpExtendInfoVaultDelete object

    Extended parameters of deleting a vault

    -
    Table 21 OpExtendInfoBckup

    Parameter

    +
    @@ -1056,7 +1058,7 @@
    Table 21 OpExtendInfoBckup

    Parameter

    Type

    -
    Table 22 OpExtendInfoCommon

    Parameter

    +
    @@ -1091,7 +1093,7 @@
    Table 22 OpExtendInfoCommon

    Parameter

    Type

    -
    Table 23 OpExtendInfoDelete

    Parameter

    +
    @@ -1117,7 +1119,7 @@
    Table 23 OpExtendInfoDelete

    Parameter

    Type

    -
    Table 24 OpExtendInfoSync

    Parameter

    +
    @@ -1150,7 +1152,7 @@
    Table 24 OpExtendInfoSync

    Parameter

    Type

    -
    Table 25 OpExtendInfoRemoveResources

    Parameter

    +
    @@ -1174,7 +1176,7 @@ - @@ -1183,7 +1185,7 @@
    Table 25 OpExtendInfoRemoveResources

    Parameter

    Type

    resources

    Array of Resource objects

    +

    Array of Resource objects

    Resource information

    -
    Table 26 Resource

    Parameter

    +
    @@ -1193,7 +1195,7 @@ - @@ -1225,7 +1227,7 @@
    Table 26 Resource

    Parameter

    Type

    extra_info

    ResourceExtraInfo object

    +

    ResourceExtraInfo object

    Vault name

    -
    Table 27 ResourceExtraInfo

    Parameter

    +
    @@ -1244,7 +1246,7 @@
    Table 27 ResourceExtraInfo

    Parameter

    Type

    -
    Table 28 OpExtendInfoRestore

    Parameter

    +
    @@ -1284,7 +1286,7 @@
    Table 28 OpExtendInfoRestore

    Parameter

    Type

    -
    Table 29 OpExtendInfoVaultDelete

    Parameter

    +
    @@ -1320,13 +1322,12 @@ "status" : "success", "provider_id" : "0daac4c5-6707-4851-97ba-169e36266b66", "checkpoint_id" : "b432511f-d889-428f-8b0e-5f47c524c6b6", - "updated_at" : "2019-05-23T14:35:23.584418", + "updated_at" : "2019-05-23T14:35:23.584+00:00", "error_info" : { "message" : "", "code" : "" }, - "vault_id" : null, - "started_at" : "2019-05-23T14:31:36.007230", + "started_at" : "2019-05-23T14:31:36.007+00:00", "id" : "4827f2da-b008-4507-ab7d-42d0df5ed912", "extra_info" : { "resource" : { @@ -1343,12 +1344,10 @@ "request_id" : "req-cdb98cc4-e87b-4f40-9b4a-57ec036620bc" } }, - "ended_at" : "2019-05-23T14:35:23.511155", - "created_at" : "2019-05-23T14:31:36.039365", + "ended_at" : "2019-05-23T14:35:23.511+00:00", + "created_at" : "2019-05-23T14:31:36.039+00:00", "operation_type" : "backup", - "vault_name" : null, - "project_id" : "04f1829c788037ac2fb8c01eb2b04b95", - "policy_id" : null + "project_id" : "04f1829c788037ac2fb8c01eb2b04b95" } ] } diff --git a/docs/cbr/api-ref/ListPolicies.html b/docs/cbr/api-ref/ListPolicies.html index 493e17f2b..5923d16ee 100644 --- a/docs/cbr/api-ref/ListPolicies.html +++ b/docs/cbr/api-ref/ListPolicies.html @@ -1,353 +1,375 @@

    Querying the Policy List

    -

    Function

    This API is used to query the policy list.

    +

    Function

    This API is used to query the policy list.

    -

    URI

    GET /v3/{project_id}/policies

    +

    URI

    GET /v3/{project_id}/policies

    -
    Table 29 OpExtendInfoVaultDelete

    Parameter

    Type

    Table 1 Path Parameters

    Parameter

    +
    - - - - - - -
    Table 1 Path Parameters

    Parameter

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    project_id

    +

    project_id

    Yes

    +

    Yes

    String

    +

    String

    Project ID

    +

    Project ID

    -
    Table 2 Query Parameters

    Parameter

    +
    - - - - - - - - - - -
    Table 2 Query Parameters

    Parameter

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    operation_type

    +

    operation_type

    No

    +

    No

    String

    +

    String

    Policy type, which is backup

    -

    Enumeration values: backup

    +

    Policy type, which can be backup or replication

    +

    Enumeration values:

    +
    • backup
    • replication

    vault_id

    +

    vault_id

    No

    +

    No

    String

    +

    String

    Vault ID

    +

    Vault ID

    -

    Request Parameters

    -
    Table 3 Request header parameters

    Parameter

    +

    Request Parameters

    +
    - - - - - - -
    Table 3 Request header parameters

    Parameter

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    X-Auth-Token

    +

    X-Auth-Token

    Yes

    +

    Yes

    String

    +

    String

    User token The token can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.

    +

    User token The token can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.

    -

    Response Parameters

    Status code: 200

    +

    Response Parameters

    Status code: 200

    -
    Table 4 Response body parameters

    Parameter

    +
    - - - - - - - -
    Table 4 Response body parameters

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    policies

    +

    policies

    Array of Policy objects

    +

    Array of Policy objects

    Policy list

    +

    Policy list

    count

    +

    count

    Integer

    +

    Integer

    Total number of policies

    +

    Total number of policies

    -
    Table 5 Policy

    Parameter

    +
    - - - - - - - - - - - - - - - - - - - - - - -
    Table 5 Policy

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    enabled

    +

    enabled

    Boolean

    +

    Boolean

    Whether the policy is enabled

    +

    Whether the policy is enabled

    id

    +

    id

    String

    +

    String

    Policy ID

    +

    Policy ID

    name

    +

    name

    String

    +

    String

    Policy Name

    +

    Policy Name

    operation_definition

    +

    operation_definition

    PolicyoODCreate object

    +

    PolicyoODCreate object

    Policy attributes

    +

    Policy attributes

    operation_type

    +

    operation_type

    String

    +

    String

    Protection type, which is backup

    -

    Enumeration values:

    -
    • backup
    +

    Protection type, which is backup or replication

    +

    Enumeration values:

    +
    • backup
    • replication

    trigger

    +

    trigger

    PolicyTriggerResp object

    +

    PolicyTriggerResp object

    Time scheduling rule for the policy

    +

    Time scheduling rule for the policy

    associated_vaults

    +

    associated_vaults

    Array of PolicyAssociateVault objects

    +

    Array of PolicyAssociateVault objects

    Associated vault

    +

    Associated vault

    -
    Table 6 PolicyoODCreate

    Parameter

    +
    - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + +
    Table 6 PolicyoODCreate

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    day_backups

    +

    day_backups

    Integer

    +

    Integer

    Specifies the number of retained daily backups. The latest backup of each day is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    -

    Minimum: 0

    -

    Maximum: 100

    +

    Specifies the number of retained daily backups. The latest backup of each day is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    +

    Minimum: 0

    +

    Maximum: 100

    max_backups

    +

    destination_project_id

    Integer

    +

    String

    Maximum number of retained backups. The value can be -1 or ranges from 0 to 99999. If the value is set to -1, the backups will not be cleared even though the configured retained backup quantity is exceeded. If this parameter and retention_duration_days are both left blank, the backups will be retained permanently.

    -

    Minimum: 1

    -

    Maximum: 99999

    -

    Default: -1

    +

    ID of the replication destination project, which is mandatory for cross-region replication

    month_backups

    +

    destination_region

    Integer

    +

    String

    Specifies the number of retained monthly backups. The latest backup of each month is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    -

    Minimum: 0

    -

    Maximum: 100

    +

    ID of the replication destination region, which is mandatory for cross-region replication. The value consists of 0 to 255 characters and can contain only letters, digits, underscores (_), and hyphens (-).

    retention_duration_days

    +

    enable_acceleration

    Integer

    +

    Boolean

    Duration of retaining a backup, in days. The maximum value is 99999. -1 indicates that the backups will not be cleared based on the retention duration. If this parameter and max_backups are left blank at the same time, the backups will be retained permanently.

    -

    Minimum: 1

    -

    Maximum: 99999

    -

    Default: -1

    +

    Whether to enable the acceleration function to shorten the replication time for cross-region replication. If this parameter is not set, the acceleration function is disabled.

    timezone

    +

    max_backups

    String

    +

    Integer

    Time zone where the user is located, for example, UTC+08:00. Set this parameter if you have configured any of the parameters: day_backups, week_backups, month_backups, year_backups.

    +

    Maximum number of retained backups. The value can be -1 or ranges from 0 to 99999. If the value is set to -1, the backups will not be cleared even though the configured retained backup quantity is exceeded. If this parameter and retention_duration_days are both left blank, the backups will be retained permanently.

    +

    Minimum: 1

    +

    Maximum: 99999

    +

    Default: -1

    week_backups

    +

    month_backups

    Integer

    +

    Integer

    Specifies the number of retained weekly backups. The latest backup of each week is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    +

    Specifies the number of retained monthly backups. The latest backup of each month is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    +

    Minimum: 0

    +

    Maximum: 100

    year_backups

    +

    retention_duration_days

    Integer

    +

    Integer

    Specifies the number of retained yearly backups. The latest backup of each year is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    -

    Minimum: 0

    -

    Maximum: 100

    +

    Duration of retaining a backup, in days. The maximum value is 99999. -1 indicates that the backups will not be cleared based on the retention duration. If this parameter and max_backups are left blank at the same time, the backups will be retained permanently.

    +

    Minimum: 1

    +

    Maximum: 99999

    +

    Default: -1

    +

    timezone

    +

    String

    +

    Time zone where the user is located, for example, UTC+08:00. Set this parameter if you have configured any of the parameters: day_backups, week_backups, month_backups, year_backups.

    +

    week_backups

    +

    Integer

    +

    Specifies the number of retained weekly backups. The latest backup of each week is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    +

    year_backups

    +

    Integer

    +

    Specifies the number of retained yearly backups. The latest backup of each year is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    +

    Minimum: 0

    +

    Maximum: 100

    -
    Table 7 PolicyTriggerResp

    Parameter

    +
    - - - - - - - - - - - - - -
    Table 7 PolicyTriggerResp

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    id

    +

    id

    String

    +

    String

    Scheduler ID

    +

    Scheduler ID

    name

    +

    name

    String

    +

    String

    Scheduler name

    +

    Scheduler name

    properties

    +

    properties

    PolicyTriggerPropertiesResp object

    +

    PolicyTriggerPropertiesResp object

    Scheduler attributes

    +

    Scheduler attributes

    type

    +

    type

    String

    +

    String

    Scheduler type. Currently, only time (periodic scheduling) is supported.

    -

    Enumeration values:

    -
    • time
    +

    Scheduler type. Currently, only time (periodic scheduling) is supported.

    +

    Enumeration values:

    +
    • time
    -
    Table 8 PolicyTriggerPropertiesResp

    Parameter

    +
    - - - - - - - -
    Table 8 PolicyTriggerPropertiesResp

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    pattern

    +

    pattern

    Array of strings

    +

    Array of strings

    Scheduling rule of the scheduler. A maximum of 24 rules can be configured. The scheduling rule complies with iCalendar RFC 2445, but it supports only the FREQ, BYDAY, BYHOUR, BYMINUTE, and INTERVAL parameters. FREQ can be set only to WEEKLY or DAILY. BYDAY can be set to MO, TU, WE, TH, FR, SA, and SU (seven days of a week). BYHOUR ranges from 0 to 23 hours. BYMINUTE ranges from 0 to 59 minutes. The scheduling interval cannot be less than 1 hour. A maximum of 24 time points are allowed in a day. For example, if the scheduling time is 14:00 (UTC) from Monday to Sunday, set the scheduling rule as follows: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR,SA,SU;BYHOUR=14;BYMINUTE=00. If the scheduling time is 14:00 (UTC+8) every day, set the scheduling rule as follows: FREQ=DAILY;INTERVAL=1;BYHOUR=6;BYMINUTE=00

    +

    Scheduling rule of the scheduler. A maximum of 24 rules can be configured. The scheduling rule complies with iCalendar RFC 2445, but it supports only the FREQ, BYDAY, BYHOUR, BYMINUTE, and INTERVAL parameters. FREQ can be set only to WEEKLY or DAILY. BYDAY can be set to MO, TU, WE, TH, FR, SA, and SU (seven days of a week). BYHOUR ranges from 0 to 23 hours. BYMINUTE ranges from 0 to 59 minutes. The scheduling interval cannot be less than 1 hour. A maximum of 24 time points are allowed in a day. For example, if the scheduling time is 14:00 (UTC) from Monday to Sunday, set the scheduling rule as follows: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR,SA,SU;BYHOUR=14;BYMINUTE=00. If the scheduling time is 14:00 (UTC+8) every day, set the scheduling rule as follows: FREQ=DAILY;INTERVAL=1;BYHOUR=6;BYMINUTE=00

    start_time

    +

    start_time

    String

    +

    String

    Start time of the scheduler, for example, 2020-01-08 09:59:49

    +

    Start time of the scheduler, for example, 2020-01-08 09:59:49

    -
    Table 9 PolicyAssociateVault

    Parameter

    +
    - - - - - - - -
    Table 9 PolicyAssociateVault

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    destination_vault_id

    +

    destination_vault_id

    String

    +

    String

    ID of the associated remote vault

    +

    ID of the associated remote vault

    vault_id

    +

    vault_id

    String

    +

    String

    Vault ID

    +

    Vault ID

    -

    Example Requests

    GET  https://{endpoint}/v3/{project_id}/policies
    +

    Example Requests

    GET  https://{endpoint}/v3/{project_id}/policies
    -

    Example Responses

    Status code: 200

    -

    OK

    -
    {
    +

    Example Responses

    Status code: 200

    +

    OK

    +
    {
       "policies" : [ {
         "name" : "policy001",
         "associated_vaults" : [ ],
    @@ -355,7 +377,7 @@
         "trigger" : {
           "properties" : {
             "pattern" : [ "FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR,SA,SU;BYHOUR=14;BYMINUTE=00" ],
    -        "start_time" : "2019-05-08 06:57:05"
    +        "start_time" : "2019-05-08T06:57:05.000+00:00"
           },
           "type" : "time",
           "id" : "d67269a6-5369-42d7-8150-5254bd446328",
    @@ -375,28 +397,28 @@
       "count" : 10
     }
    -

    Status Codes

    -
    -

    Status Code

    +

    Status Codes

    +
    - - -

    Status Code

    Description

    +

    Description

    200

    +

    200

    OK

    +

    OK

    -

    Error Codes

    See Error Codes.

    +

    Error Codes

    See Error Codes.

    diff --git a/docs/cbr/api-ref/ListVault.html b/docs/cbr/api-ref/ListVault.html index 8d891359c..7c14f3a17 100644 --- a/docs/cbr/api-ref/ListVault.html +++ b/docs/cbr/api-ref/ListVault.html @@ -373,7 +373,7 @@

    String

    Protection type, which is backup

    +

    Protection type, which can be backup or replication

    size

    @@ -619,12 +619,11 @@ "vaults" : [ { "id" : "a335f9e1-1628-4c64-a7be-38656e5ec19c", "name" : "vault-8538", - "description" : null, "resources" : [ ], "provider_id" : "0daac4c5-6707-4851-97ba-169e36266b66", - "created_at" : "2020-09-04T06:57:37.343535", + "created_at" : "2020-09-04T06:57:37.344+00:00", "project_id" : "0605767b5780d5762fc5c0118072a564", - "enterprise_project_id" : "0", + "enterprise_project_id" : 0, "auto_bind" : false, "bind_rules" : { }, "auto_expand" : false, @@ -633,15 +632,11 @@ "allocated" : 0, "cloud_type" : "public", "consistent_level" : "crash_consistent", - "frozen_scene" : null, "charging_mode" : "post_paid", - "order_id" : null, - "product_id" : null, "protect_type" : "backup", "object_type" : "server", "spec_code" : "vault.backup.server.normal", "used" : 0, - "storage_unit" : null, "status" : "available", "size" : 100 }, @@ -671,7 +666,7 @@
    diff --git a/docs/cbr/api-ref/MigrateVaultResource.html b/docs/cbr/api-ref/MigrateVaultResource.html index f0a6f8e2c..05e4dab88 100644 --- a/docs/cbr/api-ref/MigrateVaultResource.html +++ b/docs/cbr/api-ref/MigrateVaultResource.html @@ -1,9 +1,9 @@

    Migrating Resources

    -

    Function

    This API is used to associate resources with another vault and migrate the resource backups to that destination vault.

    +

    Function

    This API is used to associate resources with another vault and migrate the resource backups to that destination vault.

    -

    URI

    POST /v3/{project_id}/vaults/{vault_id}/migrateresources

    +

    URI

    POST /v3/{project_id}/vaults/{vault_id}/migrateresources

    @@ -148,7 +148,7 @@
    diff --git a/docs/cbr/api-ref/RemoveVaultResource.html b/docs/cbr/api-ref/RemoveVaultResource.html index 39c1a0279..3b104dc59 100644 --- a/docs/cbr/api-ref/RemoveVaultResource.html +++ b/docs/cbr/api-ref/RemoveVaultResource.html @@ -1,144 +1,144 @@

    Dissociating Resources

    -

    Function

    This API is used to dissociate resources from a vault.

    +

    Function

    This API is used to dissociate resources from a vault.

    -

    URI

    POST /v3/{project_id}/vaults/{vault_id}/removeresources

    +

    URI

    POST /v3/{project_id}/vaults/{vault_id}/removeresources

    -
    Table 1 Path Parameters

    Parameter

    Table 1 Path Parameters

    Parameter

    +
    - - - - - - - - - - -
    Table 1 Path Parameters

    Parameter

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    project_id

    +

    project_id

    Yes

    +

    Yes

    String

    +

    String

    Project ID

    +

    Project ID

    vault_id

    +

    vault_id

    Yes

    +

    Yes

    String

    +

    String

    Vault ID

    +

    Vault ID

    -

    Request Parameters

    -
    Table 2 Request header parameters

    Parameter

    +

    Request Parameters

    +
    - - - - - - -
    Table 2 Request header parameters

    Parameter

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    X-Auth-Token

    +

    X-Auth-Token

    Yes

    +

    Yes

    String

    +

    String

    User token The token can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.

    +

    User token The token can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.

    -
    Table 3 Request body parameters

    Parameter

    +
    - - - - - - -
    Table 3 Request body parameters

    Parameter

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    resource_ids

    +

    resource_ids

    Yes

    +

    Yes

    Array of strings

    +

    Array of strings

    List of resource IDs to be removed

    +

    List of resource IDs to be removed

    -

    Response Parameters

    Status code: 200

    +

    Response Parameters

    Status code: 200

    -
    Table 4 Response body parameters

    Parameter

    +
    - - - - -
    Table 4 Response body parameters

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    remove_resource_ids

    +

    remove_resource_ids

    Array of strings

    +

    Array of strings

    Removed resource IDs

    +

    Removed resource IDs

    -

    Example Requests

    POST https://{endpoint}/v3/f841e01fd2b14e7fa41b6ae7aa6b0594/vaults/79bd9daa-884f-4f84-b8fe-235d58cd927d/removeresources
    +

    Example Requests

    POST https://{endpoint}/v3/f841e01fd2b14e7fa41b6ae7aa6b0594/vaults/79bd9daa-884f-4f84-b8fe-235d58cd927d/removeresources
     
     {
       "resource_ids" : [ "97595625-198e-4e4d-879b-9d53f68ba551" ]
     }
    -

    Example Responses

    Status code: 200

    -

    OK

    -
    {
    +

    Example Responses

    Status code: 200

    +

    OK

    +
    {
       "remove_resource_ids" : [ "97595625-198e-4e4d-879b-9d53f68ba551" ]
     }
    -

    Status Codes

    -
    @@ -635,13 +636,12 @@ "status" : "success", "provider_id" : "0daac4c5-6707-4851-97ba-169e36266b66", "checkpoint_id" : "b432511f-d889-428f-8b0e-5f47c524c6b6", - "updated_at" : "2019-05-23T14:35:23.584418", + "updated_at" : "2019-05-23T14:35:23.584+00:00", "error_info" : { "message" : "", "code" : "" }, - "vault_id" : null, - "started_at" : "2019-05-23T14:31:36.007230", + "started_at" : "2019-05-23T14:31:36.007+00:00", "id" : "4827f2da-b008-4507-ab7d-42d0df5ed912", "extra_info" : { "resource" : { @@ -658,12 +658,10 @@ "request_id" : "req-cdb98cc4-e87b-4f40-9b4a-57ec036620bc" } }, - "ended_at" : "2019-05-23T14:35:23.511155", - "created_at" : "2019-05-23T14:31:36.039365", + "ended_at" : "2019-05-23T14:35:23.511+00:00", + "created_at" : "2019-05-23T14:31:36.039+00:00", "operation_type" : "backup", - "vault_name" : null, - "project_id" : "04f1829c788037ac2fb8c01eb2b04b95", - "policy_id" : null + "project_id" : "04f1829c788037ac2fb8c01eb2b04b95" } }

    Status code: 404

    diff --git a/docs/cbr/api-ref/ShowPolicy.html b/docs/cbr/api-ref/ShowPolicy.html index 67ba0ebad..fcb0b181c 100644 --- a/docs/cbr/api-ref/ShowPolicy.html +++ b/docs/cbr/api-ref/ShowPolicy.html @@ -1,325 +1,344 @@

    Querying a Single Policy

    -

    Function

    This API is used to query a single policy.

    +

    Function

    This API is used to query a single policy.

    -

    URI

    GET /v3/{project_id}/policies/{policy_id}

    +

    URI

    GET /v3/{project_id}/policies/{policy_id}

    -

    Status Code

    +

    Status Codes

    +
    - - -

    Status Code

    Description

    +

    Description

    200

    +

    200

    OK

    +

    OK

    -

    Error Codes

    See Error Codes.

    +

    Error Codes

    See Error Codes.

    diff --git a/docs/cbr/api-ref/RestoreBackup.html b/docs/cbr/api-ref/RestoreBackup.html index baacf7067..49ccdb129 100644 --- a/docs/cbr/api-ref/RestoreBackup.html +++ b/docs/cbr/api-ref/RestoreBackup.html @@ -205,7 +205,7 @@
    diff --git a/docs/cbr/api-ref/ShowBackup.html b/docs/cbr/api-ref/ShowBackup.html index a8c5b9d99..2b0bf7f6b 100644 --- a/docs/cbr/api-ref/ShowBackup.html +++ b/docs/cbr/api-ref/ShowBackup.html @@ -367,8 +367,7 @@ "backup" : { "provider_id" : "0daac4c5-6707-4851-97ba-169e36266b66", "checkpoint_id" : "8b0851a8-adf3-4f4c-a914-dead08bf9664", - "enterprise_project_id" : "0", - "updated_at" : null, + "enterprise_project_id" : 0, "vault_id" : "3b5816b5-f29c-4172-9d9a-76c719a659ce", "id" : "6df2b54c-dd62-4059-a07c-1b8f24f2725d", "resource_az" : "az1.dc1", @@ -378,10 +377,8 @@ "children" : [ { "provider_id" : "0daac4c5-6707-4851-97ba-169e36266b66", "checkpoint_id" : "8b0851a8-adf3-4f4c-a914-dead08bf9664", - "updated_at" : null, "vault_id" : "3b5816b5-f29c-4172-9d9a-76c719a659ce", "id" : "5d822633-2bbf-4af8-a16e-5ab1c7705235", - "resource_az" : null, "image_type" : "backup", "resource_id" : "eccbcfdd-f843-4bbb-b2c0-a5ce861f9376", "resource_size" : 40, @@ -389,41 +386,29 @@ "parent_id" : "6df2b54c-dd62-4059-a07c-1b8f24f2725d", "extend_info" : { "auto_trigger" : true, - "supported_restore_mode" : null, - "os_images_data" : null, "snapshot_id" : "5230a977-1a94-4092-8edd-519303a44cda", "bootable" : true, - "support_lld" : null, "encrypted" : true }, "project_id" : "4229d7a45436489f8c3dc2b1d35d4987", "status" : "available", "resource_name" : "ecs-1f0f-0002", - "description" : null, - "expired_at" : null, "name" : "autobk_a843_ecs-1f0f-0002", - "created_at" : "2019-05-10T07:59:59.450700", - "protected_at" : null, + "created_at" : "2019-05-10T07:59:59.451+00:00", "resource_type" : "OS::Cinder::Volume" } ], - "parent_id" : null, "extend_info" : { "auto_trigger" : true, "supported_restore_mode" : "backup", - "os_images_data" : null, "contain_system_disk" : true, - "snapshot_id" : null, - "bootable" : null, "support_lld" : true }, "project_id" : "4229d7a45436489f8c3dc2b1d35d4987", "status" : "available", "resource_name" : "ecs-1f0f-0002", "description" : "backup_description", - "expired_at" : null, "name" : "backup_name", - "created_at" : "2019-05-10T07:59:12.084695", - "protected_at" : null, + "created_at" : "2019-05-10T07:59:12.085+00:00", "resource_type" : "OS::Nova::Server" } } @@ -449,7 +434,7 @@
    diff --git a/docs/cbr/api-ref/ShowCheckpoint.html b/docs/cbr/api-ref/ShowCheckpoint.html index 1a7489e3b..10e8bd115 100644 --- a/docs/cbr/api-ref/ShowCheckpoint.html +++ b/docs/cbr/api-ref/ShowCheckpoint.html @@ -348,22 +348,20 @@
    {
       "checkpoint" : {
         "status" : "available",
    -    "created_at" : "2019-05-10T07:59:12.036982",
    +    "created_at" : "2019-05-10T07:59:12.037+00:00",
         "vault" : {
           "id" : "3b5816b5-f29c-4172-9d9a-76c719a659ce",
           "resources" : [ {
             "name" : "ecs-1f0f-0002",
    -        "resource_size" : "40",
    +        "resource_size" : 40,
             "protect_status" : "available",
             "type" : "OS::Nova::Server",
    -        "id" : "94eba8b2-acc9-4d82-badc-127144cc5526",
    -        "extra_info" : null
    +        "id" : "94eba8b2-acc9-4d82-badc-127144cc5526"
           } ],
           "name" : "vault-be94"
         },
         "project_id" : "4229d7a45436489f8c3dc2b1d35d4987",
    -    "id" : "8b0851a8-adf3-4f4c-a914-dead08bf9664",
    -    "extra_info" : null
    +    "id" : "8b0851a8-adf3-4f4c-a914-dead08bf9664"
       }
     }
    @@ -388,7 +386,7 @@
    diff --git a/docs/cbr/api-ref/ShowMemberDetail.html b/docs/cbr/api-ref/ShowMemberDetail.html index d89837592..aa02e7f78 100644 --- a/docs/cbr/api-ref/ShowMemberDetail.html +++ b/docs/cbr/api-ref/ShowMemberDetail.html @@ -171,12 +171,10 @@
    {
       "member" : {
         "status" : "accepted",
    -    "image_id" : null,
         "backup_id" : "17c9acd8-3af3-4401-bab9-ff1cfac15561",
         "vault_id" : "4b27c05b-8ad7-48c6-a886-526666c035f0",
         "dest_project_id" : "0761021b8900d2622f38c0115db0b331",
    -    "created_at" : "2020-02-24T09:36:00.479033",
    -    "updated_at" : null,
    +    "created_at" : "2020-02-24T09:36:00.479+00:00",
         "id" : "824a90b3-c562-448b-ab04-60ea4a97cf60"
       }
     }
    @@ -202,7 +200,7 @@
    diff --git a/docs/cbr/api-ref/ShowMembersDetail.html b/docs/cbr/api-ref/ShowMembersDetail.html index 6210e2211..e44a92d0a 100644 --- a/docs/cbr/api-ref/ShowMembersDetail.html +++ b/docs/cbr/api-ref/ShowMembersDetail.html @@ -255,12 +255,9 @@
    {
       "members" : [ {
         "status" : "pending",
    -    "image_id" : null,
         "backup_id" : "0b07081e-3ec7-4e77-8571-54e2947da422",
    -    "vault_id" : null,
         "dest_project_id" : "075e6035d300d48c2fd0c00b78b71ebf",
    -    "created_at" : "2020-02-05T10:38:34.209782",
    -    "updated_at" : null,
    +    "created_at" : "2020-02-05T10:38:34.210+00:00",
         "id" : "3c5a3015-c3a0-4dc6-a1e2-917b90f62319"
       } ],
       "count" : 50
    @@ -287,7 +284,7 @@
     
     
    diff --git a/docs/cbr/api-ref/ShowOpLog.html b/docs/cbr/api-ref/ShowOpLog.html index 26fc508e6..ec97e5656 100644 --- a/docs/cbr/api-ref/ShowOpLog.html +++ b/docs/cbr/api-ref/ShowOpLog.html @@ -143,6 +143,7 @@
  • delete

  • vault_delete

  • remove_resource

    +
  • replication

  • Table 1 Path Parameters

    Parameter

    +
    - - - - - - - - - - -
    Table 1 Path Parameters

    Parameter

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    policy_id

    +

    policy_id

    Yes

    +

    Yes

    String

    +

    String

    Policy ID

    +

    Policy ID

    project_id

    +

    project_id

    Yes

    +

    Yes

    String

    +

    String

    Project ID

    +

    Project ID

    -

    Request Parameters

    -
    Table 2 Request header parameters

    Parameter

    +

    Request Parameters

    +
    - - - - - - -
    Table 2 Request header parameters

    Parameter

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    X-Auth-Token

    +

    X-Auth-Token

    Yes

    +

    Yes

    String

    +

    String

    User token The token can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.

    -

    Default: MIIDkgYJKoZIhvcNAQcCoIIDgzCCXXXXX...

    +

    User token The token can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.

    +

    Default: MIIDkgYJKoZIhvcNAQcCoIIDgzCCXXXXX...

    -

    Response Parameters

    Status code: 200

    +

    Response Parameters

    Status code: 200

    -
    Table 3 Response body parameters

    Parameter

    +
    - - - - -
    Table 3 Response body parameters

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    policy

    +

    policy

    Policy object

    +

    Policy object

    Response to the request for creating a policy

    +

    Response to the request for creating a policy

    -
    Table 4 Policy

    Parameter

    +
    - - - - - - - - - - - - - - - - - - - - - - -
    Table 4 Policy

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    enabled

    +

    enabled

    Boolean

    +

    Boolean

    Whether the policy is enabled

    +

    Whether the policy is enabled

    id

    +

    id

    String

    +

    String

    Policy ID

    +

    Policy ID

    name

    +

    name

    String

    +

    String

    Policy Name

    +

    Policy Name

    operation_definition

    +

    operation_definition

    PolicyoODCreate object

    +

    PolicyoODCreate object

    Policy attributes

    +

    Policy attributes

    operation_type

    +

    operation_type

    String

    +

    String

    Protection type, which is backup

    -

    Enumeration values:

    -
    • backup

      -
    +

    Protection type, which is backup or replication

    +

    Enumeration values:

    +
    • backup
    • replication

    trigger

    +

    trigger

    PolicyTriggerResp object

    +

    PolicyTriggerResp object

    Time scheduling rule for the policy

    +

    Time scheduling rule for the policy

    associated_vaults

    +

    associated_vaults

    Array of PolicyAssociateVault objects

    +

    Array of PolicyAssociateVault objects

    Associated vault

    +

    Associated vault

    -
    Table 5 PolicyoODCreate

    Parameter

    +
    - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + +
    Table 5 PolicyoODCreate

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    day_backups

    +

    day_backups

    Integer

    +

    Integer

    Specifies the number of retained daily backups. The latest backup of each day is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    -

    Minimum: 0

    -

    Maximum: 100

    +

    Specifies the number of retained daily backups. The latest backup of each day is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    +

    Minimum: 0

    +

    Maximum: 100

    max_backups

    +

    destination_project_id

    Integer

    +

    String

    Maximum number of retained backups. The value can be -1 or ranges from 0 to 99999. If the value is set to -1, the backups will not be cleared even though the configured retained backup quantity is exceeded. If this parameter and retention_duration_days are both left blank, the backups will be retained permanently.

    -

    Minimum: 1

    -

    Maximum: 99999

    -

    Default: -1

    +

    ID of the replication destination project, which is mandatory for cross-region replication

    month_backups

    +

    destination_region

    Integer

    +

    String

    Specifies the number of retained monthly backups. The latest backup of each month is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    -

    Minimum: 0

    -

    Maximum: 100

    +

    ID of the replication destination region, which is mandatory for cross-region replication. The value consists of 0 to 255 characters and can contain only letters, digits, underscores (_), and hyphens (-).

    retention_duration_days

    +

    enable_acceleration

    Integer

    +

    Boolean

    Duration of retaining a backup, in days. The maximum value is 99999. -1 indicates that the backups will not be cleared based on the retention duration. If this parameter and max_backups are left blank at the same time, the backups will be retained permanently.

    -

    Minimum: 1

    -

    Maximum: 99999

    -

    Default: -1

    +

    Whether to enable the acceleration function to shorten the replication time for cross-region replication. If this parameter is not set, the acceleration function is disabled.

    timezone

    +

    max_backups

    String

    +

    Integer

    Time zone where the user is located, for example, UTC+08:00. Set this parameter if you have configured any of the parameters: day_backups, week_backups, month_backups, year_backups.

    +

    Maximum number of retained backups. The value can be -1 or ranges from 0 to 99999. If the value is set to -1, the backups will not be cleared even though the configured retained backup quantity is exceeded. If this parameter and retention_duration_days are both left blank, the backups will be retained permanently.

    +

    Minimum: 1

    +

    Maximum: 99999

    +

    Default: -1

    week_backups

    +

    month_backups

    Integer

    +

    Integer

    Specifies the number of retained weekly backups. The latest backup of each week is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    +

    Specifies the number of retained monthly backups. The latest backup of each month is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    +

    Minimum: 0

    +

    Maximum: 100

    year_backups

    +

    retention_duration_days

    Integer

    +

    Integer

    Specifies the number of retained yearly backups. The latest backup of each year is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    -

    Minimum: 0

    -

    Maximum: 100

    +

    Duration of retaining a backup, in days. The maximum value is 99999. -1 indicates that the backups will not be cleared based on the retention duration. If this parameter and max_backups are left blank at the same time, the backups will be retained permanently.

    +

    Minimum: 1

    +

    Maximum: 99999

    +

    Default: -1

    +

    timezone

    +

    String

    +

    Time zone where the user is located, for example, UTC+08:00. Set this parameter if you have configured any of the parameters: day_backups, week_backups, month_backups, year_backups.

    +

    week_backups

    +

    Integer

    +

    Specifies the number of retained weekly backups. The latest backup of each week is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    +

    year_backups

    +

    Integer

    +

    Specifies the number of retained yearly backups. The latest backup of each year is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    +

    Minimum: 0

    +

    Maximum: 100

    -
    Table 6 PolicyTriggerResp

    Parameter

    +
    - - - - - - - - - - - - - -
    Table 6 PolicyTriggerResp

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    id

    +

    id

    String

    +

    String

    Scheduler ID

    +

    Scheduler ID

    name

    +

    name

    String

    +

    String

    Scheduler name

    +

    Scheduler name

    properties

    +

    properties

    PolicyTriggerPropertiesResp object

    +

    PolicyTriggerPropertiesResp object

    Scheduler attributes

    +

    Scheduler attributes

    type

    +

    type

    String

    +

    String

    Scheduler type. Currently, only time (periodic scheduling) is supported.

    -

    Enumeration values:

    -
    • time

      -
    +

    Scheduler type. Currently, only time (periodic scheduling) is supported.

    +

    Enumeration values:

    +
    • time
    -
    Table 7 PolicyTriggerPropertiesResp

    Parameter

    +
    - - - - - - - -
    Table 7 PolicyTriggerPropertiesResp

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    pattern

    +

    pattern

    Array of strings

    +

    Array of strings

    Scheduling rule of the scheduler. A maximum of 24 rules can be configured. The scheduling rule complies with iCalendar RFC 2445, but it supports only the FREQ, BYDAY, BYHOUR, BYMINUTE, and INTERVAL parameters. FREQ can be set only to WEEKLY or DAILY. BYDAY can be set to MO, TU, WE, TH, FR, SA, and SU (seven days of a week). BYHOUR ranges from 0 to 23 hours. BYMINUTE ranges from 0 to 59 minutes. The scheduling interval cannot be less than 1 hour. A maximum of 24 time points are allowed in a day. For example, if the scheduling time is 14:00 (UTC) from Monday to Sunday, set the scheduling rule as follows: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR,SA,SU;BYHOUR=14;BYMINUTE=00. If the scheduling time is 14:00 (UTC+8) every day, set the scheduling rule as follows: FREQ=DAILY;INTERVAL=1;BYHOUR=6;BYMINUTE=00

    +

    Scheduling rule of the scheduler. A maximum of 24 rules can be configured. The scheduling rule complies with iCalendar RFC 2445, but it supports only the FREQ, BYDAY, BYHOUR, BYMINUTE, and INTERVAL parameters. FREQ can be set only to WEEKLY or DAILY. BYDAY can be set to MO, TU, WE, TH, FR, SA, and SU (seven days of a week). BYHOUR ranges from 0 to 23 hours. BYMINUTE ranges from 0 to 59 minutes. The scheduling interval cannot be less than 1 hour. A maximum of 24 time points are allowed in a day. For example, if the scheduling time is 14:00 (UTC) from Monday to Sunday, set the scheduling rule as follows: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR,SA,SU;BYHOUR=14;BYMINUTE=00. If the scheduling time is 14:00 (UTC+8) every day, set the scheduling rule as follows: FREQ=DAILY;INTERVAL=1;BYHOUR=6;BYMINUTE=00

    start_time

    +

    start_time

    String

    +

    String

    Start time of the scheduler, for example, 2020-01-08 09:59:49

    +

    Start time of the scheduler, for example, 2020-01-08 09:59:49

    -
    Table 8 PolicyAssociateVault

    Parameter

    +
    - - - - - - - -
    Table 8 PolicyAssociateVault

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    destination_vault_id

    +

    destination_vault_id

    String

    +

    String

    ID of the associated remote vault

    +

    ID of the associated remote vault

    vault_id

    +

    vault_id

    String

    +

    String

    Vault ID

    +

    Vault ID

    -

    Example Requests

    GET  https://{endpoint}/v3/{project_id}/policies/{policy_id}
    +

    Example Requests

    GET  https://{endpoint}/v3/{project_id}/policies/{policy_id}
    -

    Example Responses

    Status code: 200

    -

    OK

    -
    {
    +

    Example Responses

    Status code: 200

    +

    OK

    +
    {
       "policy" : {
         "name" : "policy001",
         "associated_vaults" : [ ],
    @@ -327,7 +346,7 @@
         "trigger" : {
           "properties" : {
             "pattern" : [ "FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR,SA,SU;BYHOUR=14;BYMINUTE=00" ],
    -        "start_time" : "2019-05-08 06:57:05"
    +        "start_time" : "2019-05-08T06:57:05.000+00:00"
           },
           "type" : "time",
           "id" : "d67269a6-5369-42d7-8150-5254bd446328",
    @@ -346,28 +365,28 @@
       }
     }
    -

    Status Codes

    -
    - - @@ -508,7 +508,7 @@

    Status Code

    +

    Status Codes

    +
    - - -

    Status Code

    Description

    +

    Description

    200

    +

    200

    OK

    +

    OK

    -

    Error Codes

    See Error Codes.

    +

    Error Codes

    See Error Codes.

    diff --git a/docs/cbr/api-ref/ShowReplicationCapabilities.html b/docs/cbr/api-ref/ShowReplicationCapabilities.html new file mode 100644 index 000000000..babcf4157 --- /dev/null +++ b/docs/cbr/api-ref/ShowReplicationCapabilities.html @@ -0,0 +1,137 @@ + + +

    Querying the Replication Capability

    +

    Function

    This API is used to query the replication capability of the current region.

    +
    +

    URI

    GET /v3/{project_id}/replication-capabilities

    + +
    + + + + + + + + + + + +
    Table 1 Path Parameters

    Parameter

    +

    Mandatory

    +

    Type

    +

    Description

    +

    project_id

    +

    Yes

    +

    String

    +

    Project ID

    +
    +
    +
    +

    Request Parameters

    +
    + + + + + + + + + + + +
    Table 2 Request header parameters

    Parameter

    +

    Mandatory

    +

    Type

    +

    Description

    +

    X-Auth-Token

    +

    Yes

    +

    String

    +

    User token The token can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.

    +
    +
    +
    +

    Response Parameters

    Status code: 200

    + +
    + + + + + + + + + +
    Table 3 Response body parameters

    Parameter

    +

    Type

    +

    Description

    +

    regions

    +

    Array of ProtectableReplicationCapabilitiesRespRegion objects

    +

    List of regions that support replication

    +
    +
    + +
    + + + + + + + + + + + + + +
    Table 4 ProtectableReplicationCapabilitiesRespRegion

    Parameter

    +

    Type

    +

    Description

    +

    name

    +

    String

    +

    Region where the cloud service resides

    +

    replication_destinations

    +

    Array of strings

    +

    List of supported destination regions

    +
    +
    +
    +

    Example Requests

    GET https://{endpoint}/v3/{project_id}/replication-capabilities
    +
    +

    Example Responses

    Status code: 200

    +

    OK

    +
    {
    +  "regions" : [ {
    +    "name" : "eu-de",
    +    "replication_destinations" : [ "eu-nl" ]
    +  } ]
    +}
    +
    +

    Status Codes

    +
    + + + + + + + +

    Status Code

    +

    Description

    +

    200

    +

    OK

    +
    +
    +
    +

    Error Codes

    See Error Codes.

    +
    +
    +
    + +
    + diff --git a/docs/cbr/api-ref/ShowVault.html b/docs/cbr/api-ref/ShowVault.html index 070d17dcf..8d8f6c05e 100644 --- a/docs/cbr/api-ref/ShowVault.html +++ b/docs/cbr/api-ref/ShowVault.html @@ -250,7 +250,7 @@

    String

    Protection type, which is backup

    +

    Protection type, which can be backup or replication

    size

    @@ -499,7 +499,7 @@

    vault

    Vault object

    +

    Vault object

    Objects returned after the query by a vault

    -
    Table 12 Vault

    Parameter

    +
    @@ -518,7 +518,7 @@ - @@ -564,14 +564,14 @@ - - @@ -585,7 +585,7 @@ - @@ -615,7 +615,7 @@
    Table 12 Vault

    Parameter

    Type

    billing

    Billing object

    +

    Billing object

    Operation info

    resources

    Array of ResourceResp objects

    +

    Array of ResourceResp objects

    Vault resources

    tags

    Array of Tag objects

    +

    Array of Tag objects

    Vault tags

    bind_rules

    VaultBindRules object

    +

    VaultBindRules object

    Association rule

    -
    Table 13 Billing

    Parameter

    +
    @@ -676,7 +676,7 @@ -
    Table 13 Billing

    Parameter

    Type

    String

    Protection type, which is backup

    +

    Protection type, which can be backup or replication

    size

    @@ -734,7 +734,7 @@
    -
    Table 14 ResourceResp

    Parameter

    +
    @@ -744,7 +744,7 @@ - @@ -811,7 +811,7 @@
    Table 14 ResourceResp

    Parameter

    Type

    extra_info

    ResourceExtraInfo object

    +

    ResourceExtraInfo object

    Additional information of the resource

    -
    Table 15 ResourceExtraInfo

    Parameter

    +
    @@ -830,7 +830,7 @@
    Table 15 ResourceExtraInfo

    Parameter

    Type

    -
    Table 16 Tag

    Parameter

    +
    @@ -867,7 +867,7 @@
    Table 16 Tag

    Parameter

    Type

    -
    Table 17 VaultBindRules

    Parameter

    +
    @@ -877,7 +877,7 @@ - @@ -886,7 +886,7 @@
    Table 17 VaultBindRules

    Parameter

    Type

    tags

    Array of BindRulesTags objects

    +

    Array of BindRulesTags objects

    Filters automatically associated resources by tag.

    -
    Table 18 BindRulesTags

    Parameter

    +
    @@ -922,12 +922,11 @@ "vault" : { "id" : "2b076f26-391f-40fa-bf71-a798940faccf", "name" : "sdk-vault1595581958", - "description" : null, "resources" : [ ], "provider_id" : "0daac4c5-6707-4851-97ba-169e36266b66", - "created_at" : "2020-07-24T09:12:49.491874", + "created_at" : "2020-07-24T09:12:49.492+00:00", "project_id" : "0605767b5780d5762fc5c0118072a564", - "enterprise_project_id" : "0", + "enterprise_project_id" : 0, "auto_bind" : true, "bind_rules" : { }, "auto_expand" : false, @@ -936,21 +935,16 @@ "allocated" : 0, "cloud_type" : "public", "consistent_level" : "crash_consistent", - "frozen_scene" : null, "charging_mode" : "post_paid", - "order_id" : null, - "product_id" : null, "protect_type" : "backup", "object_type" : "server", "spec_code" : "vault.backup.server.normal", "used" : 0, - "storage_unit" : null, "status" : "available", "size" : 40 }, "tags" : [ { - "key" : "fds", - "value" : null + "key" : "fds" } ] } } @@ -981,7 +975,7 @@
    diff --git a/docs/cbr/api-ref/ShowVaultProjectTag.html b/docs/cbr/api-ref/ShowVaultProjectTag.html index 805dbeee0..b4f2404c5 100644 --- a/docs/cbr/api-ref/ShowVaultProjectTag.html +++ b/docs/cbr/api-ref/ShowVaultProjectTag.html @@ -150,7 +150,7 @@
    diff --git a/docs/cbr/api-ref/ShowVaultResourceInstances.html b/docs/cbr/api-ref/ShowVaultResourceInstances.html index 0ccc43062..564240af6 100644 --- a/docs/cbr/api-ref/ShowVaultResourceInstances.html +++ b/docs/cbr/api-ref/ShowVaultResourceInstances.html @@ -483,7 +483,7 @@ -
    Table 18 BindRulesTags

    Parameter

    Type

    String

    Protection type, which is backup

    +

    Protection type, which can be backup or replication

    size

    @@ -762,8 +762,7 @@

    OK

    {
       "tags" : [ {
    -    "key" : "string",
    -    "value" : null
    +    "key" : "string"
       } ]
     }
    @@ -793,7 +792,7 @@
    diff --git a/docs/cbr/api-ref/ShowVaultTag.html b/docs/cbr/api-ref/ShowVaultTag.html index efac95286..5578d91b9 100644 --- a/docs/cbr/api-ref/ShowVaultTag.html +++ b/docs/cbr/api-ref/ShowVaultTag.html @@ -167,7 +167,7 @@
    diff --git a/docs/cbr/api-ref/UpdateMemberStatus.html b/docs/cbr/api-ref/UpdateMemberStatus.html index fa8461e10..79525ec72 100644 --- a/docs/cbr/api-ref/UpdateMemberStatus.html +++ b/docs/cbr/api-ref/UpdateMemberStatus.html @@ -213,12 +213,10 @@
    {
       "member" : {
         "status" : "accepted",
    -    "image_id" : null,
         "backup_id" : "17c9acd8-3af3-4401-bab9-ff1cfac15561",
         "vault_id" : "4b27c05b-8ad7-48c6-a886-526666c035f0",
         "dest_project_id" : "0761021b8900d2622f38c0115db0b331",
    -    "created_at" : "2020-02-24T09:36:00.479033",
    -    "updated_at" : null,
    +    "created_at" : "2020-02-24T09:36:00.479+00:00",
         "id" : "824a90b3-c562-448b-ab04-60ea4a97cf60"
       }
     }
    @@ -244,7 +242,7 @@
    diff --git a/docs/cbr/api-ref/UpdatePolicy.html b/docs/cbr/api-ref/UpdatePolicy.html index fc0b40e0e..8dceddc2d 100644 --- a/docs/cbr/api-ref/UpdatePolicy.html +++ b/docs/cbr/api-ref/UpdatePolicy.html @@ -1,531 +1,577 @@

    Modifying a Policy

    -

    Function

    This API is used to modify a policy.

    +

    Function

    This API is used to modify a policy.

    -

    URI

    PUT /v3/{project_id}/policies/{policy_id}

    +

    URI

    PUT /v3/{project_id}/policies/{policy_id}

    -
    Table 1 Path Parameters

    Parameter

    +
    - - - - - - - - - - -
    Table 1 Path Parameters

    Parameter

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    policy_id

    +

    policy_id

    Yes

    +

    Yes

    String

    +

    String

    Policy ID

    +

    Policy ID

    project_id

    +

    project_id

    Yes

    +

    Yes

    String

    +

    String

    Project ID

    +

    Project ID

    -

    Request Parameters

    -
    Table 2 Request header parameters

    Parameter

    +

    Request Parameters

    +
    - - - - - - -
    Table 2 Request header parameters

    Parameter

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    X-Auth-Token

    +

    X-Auth-Token

    Yes

    +

    Yes

    String

    +

    String

    User token The token can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.

    +

    User token The token can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.

    -
    Table 3 Request body parameters

    Parameter

    +
    - - - - - - -
    Table 3 Request body parameters

    Parameter

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    policy

    +

    policy

    Yes

    +

    Yes

    PolicyUpdate object

    +

    PolicyUpdate object

    Request body of modifying a policy

    +

    Request body of modifying a policy

    -
    Table 4 PolicyUpdate

    Parameter

    +
    - - - - - - - - - - - - - - - - - - -
    Table 4 PolicyUpdate

    Parameter

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    enabled

    +

    enabled

    No

    +

    No

    Boolean

    +

    Boolean

    Whether to enable the policy

    -

    Default: true

    +

    Whether to enable the policy

    +

    Default: true

    name

    +

    name

    No

    +

    No

    String

    +

    String

    Policy Name

    -

    Minimum: 1

    -

    Maximum: 64

    +

    Policy Name

    +

    Minimum: 1

    +

    Maximum: 64

    operation_definition

    +

    operation_definition

    No

    +

    No

    PolicyoODCreate object

    +

    PolicyoODCreate object

    Scheduling parameter

    +

    Scheduling parameter

    trigger

    +

    trigger

    No

    +

    No

    PolicyTriggerReq object

    +

    PolicyTriggerReq object

    Time rule for the policy execution

    +

    Time rule for the policy execution

    -
    Table 5 PolicyoODCreate

    Parameter

    +
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + +
    Table 5 PolicyoODCreate

    Parameter

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    day_backups

    +

    day_backups

    No

    +

    No

    Integer

    +

    Integer

    Specifies the number of retained daily backups. The latest backup of each day is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    -

    Minimum: 0

    -

    Maximum: 100

    +

    Specifies the number of retained daily backups. The latest backup of each day is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    +

    Minimum: 0

    +

    Maximum: 100

    max_backups

    +

    destination_project_id

    No

    +

    No

    Integer

    +

    String

    Maximum number of retained backups. The value can be -1 or ranges from 0 to 99999. If the value is set to -1, the backups will not be cleared even though the configured retained backup quantity is exceeded. If this parameter and retention_duration_days are both left blank, the backups will be retained permanently.

    -

    Minimum: 1

    -

    Maximum: 99999

    -

    Default: -1

    +

    ID of the replication destination project, which is mandatory for cross-region replication

    month_backups

    +

    destination_region

    No

    +

    No

    Integer

    +

    String

    Specifies the number of retained monthly backups. The latest backup of each month is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    -

    Minimum: 0

    -

    Maximum: 100

    +

    ID of the replication destination region, which is mandatory for cross-region replication. The value consists of 0 to 255 characters and can contain only letters, digits, underscores (_), and hyphens (-).

    retention_duration_days

    +

    enable_acceleration

    No

    +

    No

    Integer

    +

    Boolean

    Duration of retaining a backup, in days. The maximum value is 99999. -1 indicates that the backups will not be cleared based on the retention duration. If this parameter and max_backups are left blank at the same time, the backups will be retained permanently.

    -

    Minimum: 1

    -

    Maximum: 99999

    -

    Default: -1

    +

    Whether to enable the acceleration function to shorten the replication time for cross-region replication. If this parameter is not set, the acceleration function is disabled.

    timezone

    +

    max_backups

    No

    +

    No

    String

    +

    Integer

    Time zone where the user is located, for example, UTC+08:00. Set this parameter if you have configured any of the parameters: day_backups, week_backups, month_backups, year_backups.

    +

    Maximum number of retained backups. The value can be -1 or ranges from 0 to 99999. If the value is set to -1, the backups will not be cleared even though the configured retained backup quantity is exceeded. If this parameter and retention_duration_days are both left blank, the backups will be retained permanently.

    +

    Minimum: 1

    +

    Maximum: 99999

    +

    Default: -1

    week_backups

    +

    month_backups

    No

    +

    No

    Integer

    +

    Integer

    Specifies the number of retained weekly backups. The latest backup of each week is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    +

    Specifies the number of retained monthly backups. The latest backup of each month is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    +

    Minimum: 0

    +

    Maximum: 100

    year_backups

    +

    retention_duration_days

    No

    +

    No

    Integer

    +

    Integer

    Specifies the number of retained yearly backups. The latest backup of each year is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    -

    Minimum: 0

    -

    Maximum: 100

    +

    Duration of retaining a backup, in days. The maximum value is 99999. -1 indicates that the backups will not be cleared based on the retention duration. If this parameter and max_backups are left blank at the same time, the backups will be retained permanently.

    +

    Minimum: 1

    +

    Maximum: 99999

    +

    Default: -1

    +

    timezone

    +

    No

    +

    String

    +

    Time zone where the user is located, for example, UTC+08:00. Set this parameter if you have configured any of the parameters: day_backups, week_backups, month_backups, year_backups.

    +

    week_backups

    +

    No

    +

    Integer

    +

    Specifies the number of retained weekly backups. The latest backup of each week is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    +

    year_backups

    +

    No

    +

    Integer

    +

    Specifies the number of retained yearly backups. The latest backup of each year is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    +

    Minimum: 0

    +

    Maximum: 100

    -
    Table 6 PolicyTriggerReq

    Parameter

    +
    - - - - - - -
    Table 6 PolicyTriggerReq

    Parameter

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    properties

    +

    properties

    Yes

    +

    Yes

    PolicyTriggerPropertiesReq object

    +

    PolicyTriggerPropertiesReq object

    Scheduler attributes

    +

    Scheduler attributes

    -
    Table 7 PolicyTriggerPropertiesReq

    Parameter

    +
    - - - - - - -
    Table 7 PolicyTriggerPropertiesReq

    Parameter

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    pattern

    +

    pattern

    Yes

    +

    Yes

    Array of strings

    +

    Array of strings

    Scheduling rule of the scheduler. A maximum of 24 rules can be configured. The scheduling rule complies with iCalendar RFC 2445, but it supports only the FREQ, BYDAY, BYHOUR, BYMINUTE, and INTERVAL parameters. FREQ can be set only to WEEKLY or DAILY. BYDAY can be set to MO, TU, WE, TH, FR, SA, and SU (seven days of a week). BYHOUR ranges from 0 to 23 hours. BYMINUTE ranges from 0 to 59 minutes. The scheduling interval cannot be less than 1 hour. A maximum of 24 time points are allowed in a day. For example, if the scheduling time is 14:00 (UTC) from Monday to Sunday, set the scheduling rule as follows: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR,SA,SU;BYHOUR=14;BYMINUTE=00. If the scheduling time is 14:00 (UTC+8) every day, set the scheduling rule as follows: FREQ=DAILY;INTERVAL=1;BYHOUR=6;BYMINUTE=00

    +

    Scheduling rule of the scheduler. A maximum of 24 rules can be configured. The scheduling rule complies with iCalendar RFC 2445, but it supports only the FREQ, BYDAY, BYHOUR, BYMINUTE, and INTERVAL parameters. FREQ can be set only to WEEKLY or DAILY. BYDAY can be set to MO, TU, WE, TH, FR, SA, and SU (seven days of a week). BYHOUR ranges from 0 to 23 hours. BYMINUTE ranges from 0 to 59 minutes. The scheduling interval cannot be less than 1 hour. A maximum of 24 time points are allowed in a day. For example, if the scheduling time is 14:00 (UTC) from Monday to Sunday, set the scheduling rule as follows: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR,SA,SU;BYHOUR=14;BYMINUTE=00. If the scheduling time is 14:00 (UTC+8) every day, set the scheduling rule as follows: FREQ=DAILY;INTERVAL=1;BYHOUR=6;BYMINUTE=00

    -

    Response Parameters

    Status code: 200

    +

    Response Parameters

    Status code: 200

    -
    Table 8 Response body parameters

    Parameter

    +
    - - - - -
    Table 8 Response body parameters

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    policy

    +

    policy

    Policy object

    +

    Policy object

    Response to the request for creating a policy

    +

    Response to the request for creating a policy

    -
    Table 9 Policy

    Parameter

    +
    - - - - - - - - - - - - - - - - - - - - - - -
    Table 9 Policy

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    enabled

    +

    enabled

    Boolean

    +

    Boolean

    Whether the policy is enabled

    +

    Whether the policy is enabled

    id

    +

    id

    String

    +

    String

    Policy ID

    +

    Policy ID

    name

    +

    name

    String

    +

    String

    Policy Name

    +

    Policy Name

    operation_definition

    +

    operation_definition

    PolicyoODCreate object

    +

    PolicyoODCreate object

    Policy attributes

    +

    Policy attributes

    operation_type

    +

    operation_type

    String

    +

    String

    Protection type, which is backup

    -

    Enumeration values:

    -
    • backup

      -
    +

    Protection type, which is backup or replication

    +

    Enumeration values:

    +
    • backup
    • replication

    trigger

    +

    trigger

    PolicyTriggerResp object

    +

    PolicyTriggerResp object

    Time scheduling rule for the policy

    +

    Time scheduling rule for the policy

    associated_vaults

    +

    associated_vaults

    Array of PolicyAssociateVault objects

    +

    Array of PolicyAssociateVault objects

    Associated vault

    +

    Associated vault

    -
    Table 10 PolicyoODCreate

    Parameter

    +
    - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + +
    Table 10 PolicyoODCreate

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    day_backups

    +

    day_backups

    Integer

    +

    Integer

    Specifies the number of retained daily backups. The latest backup of each day is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    -

    Minimum: 0

    -

    Maximum: 100

    +

    Specifies the number of retained daily backups. The latest backup of each day is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    +

    Minimum: 0

    +

    Maximum: 100

    max_backups

    +

    destination_project_id

    Integer

    +

    String

    Maximum number of retained backups. The value can be -1 or ranges from 0 to 99999. If the value is set to -1, the backups will not be cleared even though the configured retained backup quantity is exceeded. If this parameter and retention_duration_days are both left blank, the backups will be retained permanently.

    -

    Minimum: 1

    -

    Maximum: 99999

    -

    Default: -1

    +

    ID of the replication destination project, which is mandatory for cross-region replication

    month_backups

    +

    destination_region

    Integer

    +

    String

    Specifies the number of retained monthly backups. The latest backup of each month is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    -

    Minimum: 0

    -

    Maximum: 100

    +

    ID of the replication destination region, which is mandatory for cross-region replication. The value consists of 0 to 255 characters and can contain only letters, digits, underscores (_), and hyphens (-).

    retention_duration_days

    +

    enable_acceleration

    Integer

    +

    Boolean

    Duration of retaining a backup, in days. The maximum value is 99999. -1 indicates that the backups will not be cleared based on the retention duration. If this parameter and max_backups are left blank at the same time, the backups will be retained permanently.

    -

    Minimum: 1

    -

    Maximum: 99999

    -

    Default: -1

    +

    Whether to enable the acceleration function to shorten the replication time for cross-region replication. If this parameter is not set, the acceleration function is disabled.

    timezone

    +

    max_backups

    String

    +

    Integer

    Time zone where the user is located, for example, UTC+08:00. Set this parameter if you have configured any of the parameters: day_backups, week_backups, month_backups, year_backups.

    +

    Maximum number of retained backups. The value can be -1 or ranges from 0 to 99999. If the value is set to -1, the backups will not be cleared even though the configured retained backup quantity is exceeded. If this parameter and retention_duration_days are both left blank, the backups will be retained permanently.

    +

    Minimum: 1

    +

    Maximum: 99999

    +

    Default: -1

    week_backups

    +

    month_backups

    Integer

    +

    Integer

    Specifies the number of retained weekly backups. The latest backup of each week is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    +

    Specifies the number of retained monthly backups. The latest backup of each month is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    +

    Minimum: 0

    +

    Maximum: 100

    year_backups

    +

    retention_duration_days

    Integer

    +

    Integer

    Specifies the number of retained yearly backups. The latest backup of each year is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    -

    Minimum: 0

    -

    Maximum: 100

    +

    Duration of retaining a backup, in days. The maximum value is 99999. -1 indicates that the backups will not be cleared based on the retention duration. If this parameter and max_backups are left blank at the same time, the backups will be retained permanently.

    +

    Minimum: 1

    +

    Maximum: 99999

    +

    Default: -1

    +

    timezone

    +

    String

    +

    Time zone where the user is located, for example, UTC+08:00. Set this parameter if you have configured any of the parameters: day_backups, week_backups, month_backups, year_backups.

    +

    week_backups

    +

    Integer

    +

    Specifies the number of retained weekly backups. The latest backup of each week is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    +

    year_backups

    +

    Integer

    +

    Specifies the number of retained yearly backups. The latest backup of each year is saved in the long term. This parameter can be effective together with the maximum number of retained backups specified by max_backups. The value ranges from 0 to 100. If this parameter is configured, timezone is mandatory.

    +

    Minimum: 0

    +

    Maximum: 100

    -
    Table 11 PolicyTriggerResp

    Parameter

    +
    - - - - - - - - - - - - - -
    Table 11 PolicyTriggerResp

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    id

    +

    id

    String

    +

    String

    Scheduler ID

    +

    Scheduler ID

    name

    +

    name

    String

    +

    String

    Scheduler name

    +

    Scheduler name

    properties

    +

    properties

    PolicyTriggerPropertiesResp object

    +

    PolicyTriggerPropertiesResp object

    Scheduler attributes

    +

    Scheduler attributes

    type

    +

    type

    String

    +

    String

    Scheduler type. Currently, only time (periodic scheduling) is supported.

    -

    Enumeration values:

    -
    • time

      -
    +

    Scheduler type. Currently, only time (periodic scheduling) is supported.

    +

    Enumeration values:

    +
    • time
    -
    Table 12 PolicyTriggerPropertiesResp

    Parameter

    +
    - - - - - - - -
    Table 12 PolicyTriggerPropertiesResp

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    pattern

    +

    pattern

    Array of strings

    +

    Array of strings

    Scheduling rule of the scheduler. A maximum of 24 rules can be configured. The scheduling rule complies with iCalendar RFC 2445, but it supports only the FREQ, BYDAY, BYHOUR, BYMINUTE, and INTERVAL parameters. FREQ can be set only to WEEKLY or DAILY. BYDAY can be set to MO, TU, WE, TH, FR, SA, and SU (seven days of a week). BYHOUR ranges from 0 to 23 hours. BYMINUTE ranges from 0 to 59 minutes. The scheduling interval cannot be less than 1 hour. A maximum of 24 time points are allowed in a day. For example, if the scheduling time is 14:00 (UTC) from Monday to Sunday, set the scheduling rule as follows: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR,SA,SU;BYHOUR=14;BYMINUTE=00. If the scheduling time is 14:00 (UTC+8) every day, set the scheduling rule as follows: FREQ=DAILY;INTERVAL=1;BYHOUR=6;BYMINUTE=00

    +

    Scheduling rule of the scheduler. A maximum of 24 rules can be configured. The scheduling rule complies with iCalendar RFC 2445, but it supports only the FREQ, BYDAY, BYHOUR, BYMINUTE, and INTERVAL parameters. FREQ can be set only to WEEKLY or DAILY. BYDAY can be set to MO, TU, WE, TH, FR, SA, and SU (seven days of a week). BYHOUR ranges from 0 to 23 hours. BYMINUTE ranges from 0 to 59 minutes. The scheduling interval cannot be less than 1 hour. A maximum of 24 time points are allowed in a day. For example, if the scheduling time is 14:00 (UTC) from Monday to Sunday, set the scheduling rule as follows: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR,SA,SU;BYHOUR=14;BYMINUTE=00. If the scheduling time is 14:00 (UTC+8) every day, set the scheduling rule as follows: FREQ=DAILY;INTERVAL=1;BYHOUR=6;BYMINUTE=00

    start_time

    +

    start_time

    String

    +

    String

    Start time of the scheduler, for example, 2020-01-08 09:59:49

    +

    Start time of the scheduler, for example, 2020-01-08 09:59:49

    -
    Table 13 PolicyAssociateVault

    Parameter

    +
    - - - - - - - -
    Table 13 PolicyAssociateVault

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    destination_vault_id

    +

    destination_vault_id

    String

    +

    String

    ID of the associated remote vault

    +

    ID of the associated remote vault

    vault_id

    +

    vault_id

    String

    +

    String

    Vault ID

    +

    Vault ID

    -

    Example Requests

    PUT https://{endpoint}/v3/f841e01fd2b14e7fa41b6ae7aa6b0594/policies/cbb3ce6f-3332-4e7c-b98e-77290d8471ff
    +

    Example Requests

    PUT https://{endpoint}/v3/f841e01fd2b14e7fa41b6ae7aa6b0594/policies/cbb3ce6f-3332-4e7c-b98e-77290d8471ff
     
     {
       "policy" : {
    @@ -547,9 +593,9 @@
       }
     }
    -

    Example Responses

    Status code: 200

    -

    OK

    -
    {
    +

    Example Responses

    Status code: 200

    +

    OK

    +
    {
       "policy" : {
         "name" : "policy001",
         "associated_vaults" : [ ],
    @@ -557,7 +603,7 @@
         "trigger" : {
           "properties" : {
             "pattern" : [ "FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR,SA,SU;BYHOUR=14;BYMINUTE=00" ],
    -        "start_time" : "2019-05-08 06:57:05"
    +        "start_time" : "2019-05-08T06:57:05.000+00:00"
           },
           "type" : "time",
           "id" : "d67269a6-5369-42d7-8150-5254bd446328",
    @@ -576,28 +622,28 @@
       }
     }
    -

    Status Codes

    -
    - - + + +

    Status Code

    +

    Status Codes

    +
    - - -

    Status Code

    Description

    +

    Description

    200

    +

    200

    OK

    +

    OK

    -

    Error Codes

    See Error Codes.

    +

    Error Codes

    See Error Codes.

    diff --git a/docs/cbr/api-ref/UpdateVault.html b/docs/cbr/api-ref/UpdateVault.html index f8049553b..9034320b6 100644 --- a/docs/cbr/api-ref/UpdateVault.html +++ b/docs/cbr/api-ref/UpdateVault.html @@ -438,7 +438,7 @@

    String

    Protection type, which is backup

    +

    Protection type, which can be backup or replication

    size

    @@ -696,24 +696,21 @@ "status" : "available", "used" : 0, "protect_type" : "backup", - "order_id" : null, "object_type" : "server", "allocated" : 40, "spec_code" : "vault.backup.server.normal", "size" : 200, "cloud_type" : "public", - "product_id" : null, "consistent_level" : "crash_consistent", - "storage_unit" : null, "charging_mode" : "post_paid" }, "tags" : [ { "value" : "value01", "key" : "key01" } ], - "created_at" : "2019-05-08T09:31:21.840431", + "created_at" : "2019-05-08T09:31:21.840+00:00", "project_id" : "4229d7a45436489f8c3dc2b1d35d4987", - "enterprise_project_id" : "0", + "enterprise_project_id" : 0, "id" : "2402058d-8373-4b0a-b848-d3c0dfdc71a8", "resources" : [ { "name" : "ecs-1f0f-0003", @@ -750,7 +747,7 @@
    diff --git a/docs/cbr/api-ref/cbr_04_0015.html b/docs/cbr/api-ref/cbr_04_0015.html index f01ec7098..cbdbf92ae 100644 --- a/docs/cbr/api-ref/cbr_04_0015.html +++ b/docs/cbr/api-ref/cbr_04_0015.html @@ -9,17 +9,19 @@ - - - - - - + diff --git a/docs/cbr/api-ref/cbr_04_0025.html b/docs/cbr/api-ref/cbr_04_0025.html index f8015a486..f5e12233a 100644 --- a/docs/cbr/api-ref/cbr_04_0025.html +++ b/docs/cbr/api-ref/cbr_04_0025.html @@ -8,7 +8,13 @@

    2023-09-14

    +

    2023-10-23

    +

    Updated the following content:

    +
    • Added support for cross-region replication.
    +

    2023-09-14

    Updated the following content:

    • Added support for resource migration.
    diff --git a/docs/cbr/api-ref/topic_300000001.html b/docs/cbr/api-ref/topic_300000001.html index 527c87efa..fd411234a 100644 --- a/docs/cbr/api-ref/topic_300000001.html +++ b/docs/cbr/api-ref/topic_300000001.html @@ -5,10 +5,10 @@