Documentation ¶
Index ¶
- func CbrClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForAddMember() *def.HttpRequestDef
- func GenReqDefForAddVaultResource() *def.HttpRequestDef
- func GenReqDefForAssociateVaultPolicy() *def.HttpRequestDef
- func GenReqDefForBatchCreateAndDeleteVaultTags() *def.HttpRequestDef
- func GenReqDefForCopyBackup() *def.HttpRequestDef
- func GenReqDefForCopyCheckpoint() *def.HttpRequestDef
- func GenReqDefForCreateCheckpoint() *def.HttpRequestDef
- func GenReqDefForCreatePolicy() *def.HttpRequestDef
- func GenReqDefForCreateVault() *def.HttpRequestDef
- func GenReqDefForCreateVaultTags() *def.HttpRequestDef
- func GenReqDefForDeleteBackup() *def.HttpRequestDef
- func GenReqDefForDeleteMember() *def.HttpRequestDef
- func GenReqDefForDeletePolicy() *def.HttpRequestDef
- func GenReqDefForDeleteVault() *def.HttpRequestDef
- func GenReqDefForDeleteVaultTag() *def.HttpRequestDef
- func GenReqDefForDisassociateVaultPolicy() *def.HttpRequestDef
- func GenReqDefForImportBackup() *def.HttpRequestDef
- func GenReqDefForListBackups() *def.HttpRequestDef
- func GenReqDefForListOpLogs() *def.HttpRequestDef
- func GenReqDefForListPolicies() *def.HttpRequestDef
- func GenReqDefForListProtectable() *def.HttpRequestDef
- func GenReqDefForListVault() *def.HttpRequestDef
- func GenReqDefForMigrateVaultResource() *def.HttpRequestDef
- func GenReqDefForRemoveVaultResource() *def.HttpRequestDef
- func GenReqDefForRestoreBackup() *def.HttpRequestDef
- func GenReqDefForShowBackup() *def.HttpRequestDef
- func GenReqDefForShowCheckpoint() *def.HttpRequestDef
- func GenReqDefForShowMemberDetail() *def.HttpRequestDef
- func GenReqDefForShowMembersDetail() *def.HttpRequestDef
- func GenReqDefForShowOpLog() *def.HttpRequestDef
- func GenReqDefForShowPolicy() *def.HttpRequestDef
- func GenReqDefForShowProtectable() *def.HttpRequestDef
- func GenReqDefForShowReplicationCapabilities() *def.HttpRequestDef
- func GenReqDefForShowVault() *def.HttpRequestDef
- func GenReqDefForShowVaultProjectTag() *def.HttpRequestDef
- func GenReqDefForShowVaultResourceInstances() *def.HttpRequestDef
- func GenReqDefForShowVaultTag() *def.HttpRequestDef
- func GenReqDefForUpdateMemberStatus() *def.HttpRequestDef
- func GenReqDefForUpdatePolicy() *def.HttpRequestDef
- func GenReqDefForUpdateVault() *def.HttpRequestDef
- type CbrClient
- func (c *CbrClient) AddMember(request *model.AddMemberRequest) (*model.AddMemberResponse, error)
- func (c *CbrClient) AddVaultResource(request *model.AddVaultResourceRequest) (*model.AddVaultResourceResponse, error)
- func (c *CbrClient) AssociateVaultPolicy(request *model.AssociateVaultPolicyRequest) (*model.AssociateVaultPolicyResponse, error)
- func (c *CbrClient) BatchCreateAndDeleteVaultTags(request *model.BatchCreateAndDeleteVaultTagsRequest) (*model.BatchCreateAndDeleteVaultTagsResponse, error)
- func (c *CbrClient) CopyBackup(request *model.CopyBackupRequest) (*model.CopyBackupResponse, error)
- func (c *CbrClient) CopyCheckpoint(request *model.CopyCheckpointRequest) (*model.CopyCheckpointResponse, error)
- func (c *CbrClient) CreateCheckpoint(request *model.CreateCheckpointRequest) (*model.CreateCheckpointResponse, error)
- func (c *CbrClient) CreatePolicy(request *model.CreatePolicyRequest) (*model.CreatePolicyResponse, error)
- func (c *CbrClient) CreateVault(request *model.CreateVaultRequest) (*model.CreateVaultResponse, error)
- func (c *CbrClient) CreateVaultTags(request *model.CreateVaultTagsRequest) (*model.CreateVaultTagsResponse, error)
- func (c *CbrClient) DeleteBackup(request *model.DeleteBackupRequest) (*model.DeleteBackupResponse, error)
- func (c *CbrClient) DeleteMember(request *model.DeleteMemberRequest) (*model.DeleteMemberResponse, error)
- func (c *CbrClient) DeletePolicy(request *model.DeletePolicyRequest) (*model.DeletePolicyResponse, error)
- func (c *CbrClient) DeleteVault(request *model.DeleteVaultRequest) (*model.DeleteVaultResponse, error)
- func (c *CbrClient) DeleteVaultTag(request *model.DeleteVaultTagRequest) (*model.DeleteVaultTagResponse, error)
- func (c *CbrClient) DisassociateVaultPolicy(request *model.DisassociateVaultPolicyRequest) (*model.DisassociateVaultPolicyResponse, error)
- func (c *CbrClient) ImportBackup(request *model.ImportBackupRequest) (*model.ImportBackupResponse, error)
- func (c *CbrClient) ListBackups(request *model.ListBackupsRequest) (*model.ListBackupsResponse, error)
- func (c *CbrClient) ListOpLogs(request *model.ListOpLogsRequest) (*model.ListOpLogsResponse, error)
- func (c *CbrClient) ListPolicies(request *model.ListPoliciesRequest) (*model.ListPoliciesResponse, error)
- func (c *CbrClient) ListProtectable(request *model.ListProtectableRequest) (*model.ListProtectableResponse, error)
- func (c *CbrClient) ListVault(request *model.ListVaultRequest) (*model.ListVaultResponse, error)
- func (c *CbrClient) MigrateVaultResource(request *model.MigrateVaultResourceRequest) (*model.MigrateVaultResourceResponse, error)
- func (c *CbrClient) RemoveVaultResource(request *model.RemoveVaultResourceRequest) (*model.RemoveVaultResourceResponse, error)
- func (c *CbrClient) RestoreBackup(request *model.RestoreBackupRequest) (*model.RestoreBackupResponse, error)
- func (c *CbrClient) ShowBackup(request *model.ShowBackupRequest) (*model.ShowBackupResponse, error)
- func (c *CbrClient) ShowCheckpoint(request *model.ShowCheckpointRequest) (*model.ShowCheckpointResponse, error)
- func (c *CbrClient) ShowMemberDetail(request *model.ShowMemberDetailRequest) (*model.ShowMemberDetailResponse, error)
- func (c *CbrClient) ShowMembersDetail(request *model.ShowMembersDetailRequest) (*model.ShowMembersDetailResponse, error)
- func (c *CbrClient) ShowOpLog(request *model.ShowOpLogRequest) (*model.ShowOpLogResponse, error)
- func (c *CbrClient) ShowPolicy(request *model.ShowPolicyRequest) (*model.ShowPolicyResponse, error)
- func (c *CbrClient) ShowProtectable(request *model.ShowProtectableRequest) (*model.ShowProtectableResponse, error)
- func (c *CbrClient) ShowReplicationCapabilities(request *model.ShowReplicationCapabilitiesRequest) (*model.ShowReplicationCapabilitiesResponse, error)
- func (c *CbrClient) ShowVault(request *model.ShowVaultRequest) (*model.ShowVaultResponse, error)
- func (c *CbrClient) ShowVaultProjectTag(request *model.ShowVaultProjectTagRequest) (*model.ShowVaultProjectTagResponse, error)
- func (c *CbrClient) ShowVaultResourceInstances(request *model.ShowVaultResourceInstancesRequest) (*model.ShowVaultResourceInstancesResponse, error)
- func (c *CbrClient) ShowVaultTag(request *model.ShowVaultTagRequest) (*model.ShowVaultTagResponse, error)
- func (c *CbrClient) UpdateMemberStatus(request *model.UpdateMemberStatusRequest) (*model.UpdateMemberStatusResponse, error)
- func (c *CbrClient) UpdatePolicy(request *model.UpdatePolicyRequest) (*model.UpdatePolicyResponse, error)
- func (c *CbrClient) UpdateVault(request *model.UpdateVaultRequest) (*model.UpdateVaultResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CbrClientBuilder ¶
func CbrClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForAddMember ¶
func GenReqDefForAddMember() *def.HttpRequestDef
func GenReqDefForAddVaultResource ¶
func GenReqDefForAddVaultResource() *def.HttpRequestDef
func GenReqDefForAssociateVaultPolicy ¶
func GenReqDefForAssociateVaultPolicy() *def.HttpRequestDef
func GenReqDefForBatchCreateAndDeleteVaultTags ¶
func GenReqDefForBatchCreateAndDeleteVaultTags() *def.HttpRequestDef
func GenReqDefForCopyBackup ¶
func GenReqDefForCopyBackup() *def.HttpRequestDef
func GenReqDefForCopyCheckpoint ¶
func GenReqDefForCopyCheckpoint() *def.HttpRequestDef
func GenReqDefForCreateCheckpoint ¶
func GenReqDefForCreateCheckpoint() *def.HttpRequestDef
func GenReqDefForCreatePolicy ¶
func GenReqDefForCreatePolicy() *def.HttpRequestDef
func GenReqDefForCreateVault ¶
func GenReqDefForCreateVault() *def.HttpRequestDef
func GenReqDefForCreateVaultTags ¶
func GenReqDefForCreateVaultTags() *def.HttpRequestDef
func GenReqDefForDeleteBackup ¶
func GenReqDefForDeleteBackup() *def.HttpRequestDef
func GenReqDefForDeleteMember ¶
func GenReqDefForDeleteMember() *def.HttpRequestDef
func GenReqDefForDeletePolicy ¶
func GenReqDefForDeletePolicy() *def.HttpRequestDef
func GenReqDefForDeleteVault ¶
func GenReqDefForDeleteVault() *def.HttpRequestDef
func GenReqDefForDeleteVaultTag ¶
func GenReqDefForDeleteVaultTag() *def.HttpRequestDef
func GenReqDefForDisassociateVaultPolicy ¶
func GenReqDefForDisassociateVaultPolicy() *def.HttpRequestDef
func GenReqDefForImportBackup ¶
func GenReqDefForImportBackup() *def.HttpRequestDef
func GenReqDefForListBackups ¶
func GenReqDefForListBackups() *def.HttpRequestDef
func GenReqDefForListOpLogs ¶
func GenReqDefForListOpLogs() *def.HttpRequestDef
func GenReqDefForListPolicies ¶
func GenReqDefForListPolicies() *def.HttpRequestDef
func GenReqDefForListProtectable ¶
func GenReqDefForListProtectable() *def.HttpRequestDef
func GenReqDefForListVault ¶
func GenReqDefForListVault() *def.HttpRequestDef
func GenReqDefForMigrateVaultResource ¶
func GenReqDefForMigrateVaultResource() *def.HttpRequestDef
func GenReqDefForRemoveVaultResource ¶
func GenReqDefForRemoveVaultResource() *def.HttpRequestDef
func GenReqDefForRestoreBackup ¶
func GenReqDefForRestoreBackup() *def.HttpRequestDef
func GenReqDefForShowBackup ¶
func GenReqDefForShowBackup() *def.HttpRequestDef
func GenReqDefForShowCheckpoint ¶
func GenReqDefForShowCheckpoint() *def.HttpRequestDef
func GenReqDefForShowMemberDetail ¶
func GenReqDefForShowMemberDetail() *def.HttpRequestDef
func GenReqDefForShowMembersDetail ¶
func GenReqDefForShowMembersDetail() *def.HttpRequestDef
func GenReqDefForShowOpLog ¶
func GenReqDefForShowOpLog() *def.HttpRequestDef
func GenReqDefForShowPolicy ¶
func GenReqDefForShowPolicy() *def.HttpRequestDef
func GenReqDefForShowProtectable ¶
func GenReqDefForShowProtectable() *def.HttpRequestDef
func GenReqDefForShowReplicationCapabilities ¶
func GenReqDefForShowReplicationCapabilities() *def.HttpRequestDef
func GenReqDefForShowVault ¶
func GenReqDefForShowVault() *def.HttpRequestDef
func GenReqDefForShowVaultProjectTag ¶
func GenReqDefForShowVaultProjectTag() *def.HttpRequestDef
func GenReqDefForShowVaultResourceInstances ¶
func GenReqDefForShowVaultResourceInstances() *def.HttpRequestDef
func GenReqDefForShowVaultTag ¶
func GenReqDefForShowVaultTag() *def.HttpRequestDef
func GenReqDefForUpdateMemberStatus ¶
func GenReqDefForUpdateMemberStatus() *def.HttpRequestDef
func GenReqDefForUpdatePolicy ¶
func GenReqDefForUpdatePolicy() *def.HttpRequestDef
func GenReqDefForUpdateVault ¶
func GenReqDefForUpdateVault() *def.HttpRequestDef
Types ¶
type CbrClient ¶
type CbrClient struct {
HcClient *http_client.HcHttpClient
}
func NewCbrClient ¶
func NewCbrClient(hcClient *http_client.HcHttpClient) *CbrClient
func (*CbrClient) AddMember ¶
func (c *CbrClient) AddMember(request *model.AddMemberRequest) (*model.AddMemberResponse, error)
添加备份成员
添加备份可共享的成员,只有云服务器备份可以添加备份共享成员,且仅支持在同一区域的不同用户间共享。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) AddVaultResource ¶
func (c *CbrClient) AddVaultResource(request *model.AddVaultResourceRequest) (*model.AddVaultResourceResponse, error)
添加资源
存储库添加资源
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) AssociateVaultPolicy ¶
func (c *CbrClient) AssociateVaultPolicy(request *model.AssociateVaultPolicyRequest) (*model.AssociateVaultPolicyResponse, error)
设置存储库策略
存储库设置策略
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) BatchCreateAndDeleteVaultTags ¶
func (c *CbrClient) BatchCreateAndDeleteVaultTags(request *model.BatchCreateAndDeleteVaultTagsRequest) (*model.BatchCreateAndDeleteVaultTagsResponse, error)
批量添加删除存储库资源标签
为指定实例批量添加或删除标签 标签管理服务需要使用该接口批量管理实例的标签。 一个资源上最多有10个标签。 此接口为幂等接口:
创建时如果请求体中存在重复key则报错。 创建时,不允许重复key,如果数据库存在就覆盖。 删除时,允许重复key。 删除时,如果删除的标签不存在,默认处理成功,删除时不对标签字符集范围做校验。key长度127个字符,value为255个字符。删除时tags结构体不能缺失,key不能为空,或者空字符串。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) CopyBackup ¶
func (c *CbrClient) CopyBackup(request *model.CopyBackupRequest) (*model.CopyBackupResponse, error)
复制备份
跨区域复制备份。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) CopyCheckpoint ¶
func (c *CbrClient) CopyCheckpoint(request *model.CopyCheckpointRequest) (*model.CopyCheckpointResponse, error)
复制备份还原点
执行复制
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) CreateCheckpoint ¶
func (c *CbrClient) CreateCheckpoint(request *model.CreateCheckpointRequest) (*model.CreateCheckpointResponse, error)
创建备份还原点
对存储库执行备份,生成备份还原点
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) CreatePolicy ¶
func (c *CbrClient) CreatePolicy(request *model.CreatePolicyRequest) (*model.CreatePolicyResponse, error)
创建策略
创建策略,策略分为备份策略和复制策略。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) CreateVault ¶
func (c *CbrClient) CreateVault(request *model.CreateVaultRequest) (*model.CreateVaultResponse, error)
创建存储库
创建存储库
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) CreateVaultTags ¶
func (c *CbrClient) CreateVaultTags(request *model.CreateVaultTagsRequest) (*model.CreateVaultTagsResponse, error)
添加存储库资源标签
一个资源上最多有10个标签。 此接口为幂等接口:创建时,如果创建的标签已经存在(key相同),则覆盖。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) DeleteBackup ¶
func (c *CbrClient) DeleteBackup(request *model.DeleteBackupRequest) (*model.DeleteBackupResponse, error)
删除备份
删除单个备份。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) DeleteMember ¶
func (c *CbrClient) DeleteMember(request *model.DeleteMemberRequest) (*model.DeleteMemberResponse, error)
删除指定备份成员
删除指定的备份共享成员
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) DeletePolicy ¶
func (c *CbrClient) DeletePolicy(request *model.DeletePolicyRequest) (*model.DeletePolicyResponse, error)
删除策略
删除策略
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) DeleteVault ¶
func (c *CbrClient) DeleteVault(request *model.DeleteVaultRequest) (*model.DeleteVaultResponse, error)
删除存储库
删除存储库。若删除储存库,将一并删除存储库中的所有备份。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) DeleteVaultTag ¶
func (c *CbrClient) DeleteVaultTag(request *model.DeleteVaultTagRequest) (*model.DeleteVaultTagResponse, error)
删除存储库资源标签
幂等接口:删除时,如果删除的标签不存在,返回404。Key不能为空或者空字符串。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) DisassociateVaultPolicy ¶
func (c *CbrClient) DisassociateVaultPolicy(request *model.DisassociateVaultPolicyRequest) (*model.DisassociateVaultPolicyResponse, error)
解除存储库策略
存储库解除策略
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) ImportBackup ¶
func (c *CbrClient) ImportBackup(request *model.ImportBackupRequest) (*model.ImportBackupResponse, error)
同步备份
同步线下混合云VMware备份副本
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) ListBackups ¶
func (c *CbrClient) ListBackups(request *model.ListBackupsRequest) (*model.ListBackupsResponse, error)
查询所有备份
查询所有副本
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) ListOpLogs ¶
func (c *CbrClient) ListOpLogs(request *model.ListOpLogsRequest) (*model.ListOpLogsResponse, error)
查询任务列表
查询任务列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) ListPolicies ¶
func (c *CbrClient) ListPolicies(request *model.ListPoliciesRequest) (*model.ListPoliciesResponse, error)
查询策略列表
查询策略列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) ListProtectable ¶
func (c *CbrClient) ListProtectable(request *model.ListProtectableRequest) (*model.ListProtectableResponse, error)
查询可保护资源
查询可保护性资源列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) ListVault ¶
func (c *CbrClient) ListVault(request *model.ListVaultRequest) (*model.ListVaultResponse, error)
查询存储库列表
查询存储库列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) MigrateVaultResource ¶
func (c *CbrClient) MigrateVaultResource(request *model.MigrateVaultResourceRequest) (*model.MigrateVaultResourceResponse, error)
迁移资源
支持资源迁移到另一个存储库,不删除备份。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) RemoveVaultResource ¶
func (c *CbrClient) RemoveVaultResource(request *model.RemoveVaultResourceRequest) (*model.RemoveVaultResourceResponse, error)
移除资源
移除存储库中的资源,若移除资源,将一并删除该资源在保管库中的备份
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) RestoreBackup ¶
func (c *CbrClient) RestoreBackup(request *model.RestoreBackupRequest) (*model.RestoreBackupResponse, error)
备份恢复
恢复备份数据
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) ShowBackup ¶
func (c *CbrClient) ShowBackup(request *model.ShowBackupRequest) (*model.ShowBackupResponse, error)
查询指定备份
根据指定id查询单个副本。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) ShowCheckpoint ¶
func (c *CbrClient) ShowCheckpoint(request *model.ShowCheckpointRequest) (*model.ShowCheckpointResponse, error)
查询备份还原点
根据还原点ID查询指定还原点
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) ShowMemberDetail ¶
func (c *CbrClient) ShowMemberDetail(request *model.ShowMemberDetailRequest) (*model.ShowMemberDetailResponse, error)
获取备份成员详情
获取备份成员的详情
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) ShowMembersDetail ¶
func (c *CbrClient) ShowMembersDetail(request *model.ShowMembersDetailRequest) (*model.ShowMembersDetailResponse, error)
获取备份成员列表
获取备份共享成员的列表信息
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) ShowOpLog ¶
func (c *CbrClient) ShowOpLog(request *model.ShowOpLogRequest) (*model.ShowOpLogResponse, error)
查询单个任务
根据指定任务ID查询任务
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) ShowPolicy ¶
func (c *CbrClient) ShowPolicy(request *model.ShowPolicyRequest) (*model.ShowPolicyResponse, error)
查询单个策略
查询单个策略
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) ShowProtectable ¶
func (c *CbrClient) ShowProtectable(request *model.ShowProtectableRequest) (*model.ShowProtectableResponse, error)
查询指定可保护资源
根据ID查询可保护性资源
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) ShowReplicationCapabilities ¶
func (c *CbrClient) ShowReplicationCapabilities(request *model.ShowReplicationCapabilitiesRequest) (*model.ShowReplicationCapabilitiesResponse, error)
查询复制能力
查询本区域的复制能力
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) ShowVault ¶
func (c *CbrClient) ShowVault(request *model.ShowVaultRequest) (*model.ShowVaultResponse, error)
查询指定存储库
根据ID查询指定存储库
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) ShowVaultProjectTag ¶
func (c *CbrClient) ShowVaultProjectTag(request *model.ShowVaultProjectTagRequest) (*model.ShowVaultProjectTagResponse, error)
查询存储库项目标签
查询租户在指定Region和实例类型的所有标签集合 标签管理服务需要能够列出当前租户全部已使用的标签集合,为各服务Console打标签和过滤实例时提供标签联想功能
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) ShowVaultResourceInstances ¶
func (c *CbrClient) ShowVaultResourceInstances(request *model.ShowVaultResourceInstancesRequest) (*model.ShowVaultResourceInstancesResponse, error)
查询存储库资源实例
使用标签过滤实例 标签管理服务需要提供按标签过滤各服务实例并汇总显示在列表中,需要各服务提供查询能力
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) ShowVaultTag ¶
func (c *CbrClient) ShowVaultTag(request *model.ShowVaultTagRequest) (*model.ShowVaultTagResponse, error)
查询存储库资源标签
查询指定实例的标签信息 标签管理服务需要使用该接口查询指定实例的全部标签数据
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) UpdateMemberStatus ¶
func (c *CbrClient) UpdateMemberStatus(request *model.UpdateMemberStatusRequest) (*model.UpdateMemberStatusResponse, error)
更新备份成员状态
更新备份共享成员的状态,需要接收方执行此API。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) UpdatePolicy ¶
func (c *CbrClient) UpdatePolicy(request *model.UpdatePolicyRequest) (*model.UpdatePolicyResponse, error)
修改策略
修改策略
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CbrClient) UpdateVault ¶
func (c *CbrClient) UpdateVault(request *model.UpdateVaultRequest) (*model.UpdateVaultResponse, error)
修改存储库
根据存储库ID修改存储库
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.