Documentation ¶
Index ¶
- func CbrClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForAddMember(request *model.AddMemberRequest) *def.HttpRequestDef
- func GenReqDefForAddVaultResource(request *model.AddVaultResourceRequest) *def.HttpRequestDef
- func GenReqDefForAssociateVaultPolicy(request *model.AssociateVaultPolicyRequest) *def.HttpRequestDef
- func GenReqDefForCopyBackup(request *model.CopyBackupRequest) *def.HttpRequestDef
- func GenReqDefForCopyCheckpoint(request *model.CopyCheckpointRequest) *def.HttpRequestDef
- func GenReqDefForCreateCheckpoint(request *model.CreateCheckpointRequest) *def.HttpRequestDef
- func GenReqDefForCreatePolicy(request *model.CreatePolicyRequest) *def.HttpRequestDef
- func GenReqDefForCreateVault(request *model.CreateVaultRequest) *def.HttpRequestDef
- func GenReqDefForDeleteBackup(request *model.DeleteBackupRequest) *def.HttpRequestDef
- func GenReqDefForDeleteMember(request *model.DeleteMemberRequest) *def.HttpRequestDef
- func GenReqDefForDeletePolicy(request *model.DeletePolicyRequest) *def.HttpRequestDef
- func GenReqDefForDeleteVault(request *model.DeleteVaultRequest) *def.HttpRequestDef
- func GenReqDefForDisassociateVaultPolicy(request *model.DisassociateVaultPolicyRequest) *def.HttpRequestDef
- func GenReqDefForImportBackup(request *model.ImportBackupRequest) *def.HttpRequestDef
- func GenReqDefForListBackups(request *model.ListBackupsRequest) *def.HttpRequestDef
- func GenReqDefForListOpLogs(request *model.ListOpLogsRequest) *def.HttpRequestDef
- func GenReqDefForListPolicies(request *model.ListPoliciesRequest) *def.HttpRequestDef
- func GenReqDefForListProtectable(request *model.ListProtectableRequest) *def.HttpRequestDef
- func GenReqDefForListVault(request *model.ListVaultRequest) *def.HttpRequestDef
- func GenReqDefForRemoveVaultResource(request *model.RemoveVaultResourceRequest) *def.HttpRequestDef
- func GenReqDefForRestoreBackup(request *model.RestoreBackupRequest) *def.HttpRequestDef
- func GenReqDefForShowBackup(request *model.ShowBackupRequest) *def.HttpRequestDef
- func GenReqDefForShowCheckpoint(request *model.ShowCheckpointRequest) *def.HttpRequestDef
- func GenReqDefForShowMemberDetail(request *model.ShowMemberDetailRequest) *def.HttpRequestDef
- func GenReqDefForShowMembersDetail(request *model.ShowMembersDetailRequest) *def.HttpRequestDef
- func GenReqDefForShowOpLog(request *model.ShowOpLogRequest) *def.HttpRequestDef
- func GenReqDefForShowPolicy(request *model.ShowPolicyRequest) *def.HttpRequestDef
- func GenReqDefForShowProtectable(request *model.ShowProtectableRequest) *def.HttpRequestDef
- func GenReqDefForShowReplicationCapabilities(request *model.ShowReplicationCapabilitiesRequest) *def.HttpRequestDef
- func GenReqDefForShowVault(request *model.ShowVaultRequest) *def.HttpRequestDef
- func GenReqDefForUpdateMemberStatus(request *model.UpdateMemberStatusRequest) *def.HttpRequestDef
- func GenReqDefForUpdatePolicy(request *model.UpdatePolicyRequest) *def.HttpRequestDef
- func GenReqDefForUpdateVault(request *model.UpdateVaultRequest) *def.HttpRequestDef
- func GenRespForAddMember() (*model.AddMemberResponse, *def.HttpResponseDef)
- func GenRespForAddVaultResource() (*model.AddVaultResourceResponse, *def.HttpResponseDef)
- func GenRespForAssociateVaultPolicy() (*model.AssociateVaultPolicyResponse, *def.HttpResponseDef)
- func GenRespForCopyBackup() (*model.CopyBackupResponse, *def.HttpResponseDef)
- func GenRespForCopyCheckpoint() (*model.CopyCheckpointResponse, *def.HttpResponseDef)
- func GenRespForCreateCheckpoint() (*model.CreateCheckpointResponse, *def.HttpResponseDef)
- func GenRespForCreatePolicy() (*model.CreatePolicyResponse, *def.HttpResponseDef)
- func GenRespForCreateVault() (*model.CreateVaultResponse, *def.HttpResponseDef)
- func GenRespForDeleteBackup() (*model.DeleteBackupResponse, *def.HttpResponseDef)
- func GenRespForDeleteMember() (*model.DeleteMemberResponse, *def.HttpResponseDef)
- func GenRespForDeletePolicy() (*model.DeletePolicyResponse, *def.HttpResponseDef)
- func GenRespForDeleteVault() (*model.DeleteVaultResponse, *def.HttpResponseDef)
- func GenRespForDisassociateVaultPolicy() (*model.DisassociateVaultPolicyResponse, *def.HttpResponseDef)
- func GenRespForImportBackup() (*model.ImportBackupResponse, *def.HttpResponseDef)
- func GenRespForListBackups() (*model.ListBackupsResponse, *def.HttpResponseDef)
- func GenRespForListOpLogs() (*model.ListOpLogsResponse, *def.HttpResponseDef)
- func GenRespForListPolicies() (*model.ListPoliciesResponse, *def.HttpResponseDef)
- func GenRespForListProtectable() (*model.ListProtectableResponse, *def.HttpResponseDef)
- func GenRespForListVault() (*model.ListVaultResponse, *def.HttpResponseDef)
- func GenRespForRemoveVaultResource() (*model.RemoveVaultResourceResponse, *def.HttpResponseDef)
- func GenRespForRestoreBackup() (*model.RestoreBackupResponse, *def.HttpResponseDef)
- func GenRespForShowBackup() (*model.ShowBackupResponse, *def.HttpResponseDef)
- func GenRespForShowCheckpoint() (*model.ShowCheckpointResponse, *def.HttpResponseDef)
- func GenRespForShowMemberDetail() (*model.ShowMemberDetailResponse, *def.HttpResponseDef)
- func GenRespForShowMembersDetail() (*model.ShowMembersDetailResponse, *def.HttpResponseDef)
- func GenRespForShowOpLog() (*model.ShowOpLogResponse, *def.HttpResponseDef)
- func GenRespForShowPolicy() (*model.ShowPolicyResponse, *def.HttpResponseDef)
- func GenRespForShowProtectable() (*model.ShowProtectableResponse, *def.HttpResponseDef)
- func GenRespForShowReplicationCapabilities() (*model.ShowReplicationCapabilitiesResponse, *def.HttpResponseDef)
- func GenRespForShowVault() (*model.ShowVaultResponse, *def.HttpResponseDef)
- func GenRespForUpdateMemberStatus() (*model.UpdateMemberStatusResponse, *def.HttpResponseDef)
- func GenRespForUpdatePolicy() (*model.UpdatePolicyResponse, *def.HttpResponseDef)
- func GenRespForUpdateVault() (*model.UpdateVaultResponse, *def.HttpResponseDef)
- 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) 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) 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) 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) 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) 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(request *model.AddMemberRequest) *def.HttpRequestDef
func GenReqDefForAddVaultResource ¶
func GenReqDefForAddVaultResource(request *model.AddVaultResourceRequest) *def.HttpRequestDef
func GenReqDefForAssociateVaultPolicy ¶
func GenReqDefForAssociateVaultPolicy(request *model.AssociateVaultPolicyRequest) *def.HttpRequestDef
func GenReqDefForCopyBackup ¶
func GenReqDefForCopyBackup(request *model.CopyBackupRequest) *def.HttpRequestDef
func GenReqDefForCopyCheckpoint ¶
func GenReqDefForCopyCheckpoint(request *model.CopyCheckpointRequest) *def.HttpRequestDef
func GenReqDefForCreateCheckpoint ¶
func GenReqDefForCreateCheckpoint(request *model.CreateCheckpointRequest) *def.HttpRequestDef
func GenReqDefForCreatePolicy ¶
func GenReqDefForCreatePolicy(request *model.CreatePolicyRequest) *def.HttpRequestDef
func GenReqDefForCreateVault ¶
func GenReqDefForCreateVault(request *model.CreateVaultRequest) *def.HttpRequestDef
func GenReqDefForDeleteBackup ¶
func GenReqDefForDeleteBackup(request *model.DeleteBackupRequest) *def.HttpRequestDef
func GenReqDefForDeleteMember ¶
func GenReqDefForDeleteMember(request *model.DeleteMemberRequest) *def.HttpRequestDef
func GenReqDefForDeletePolicy ¶
func GenReqDefForDeletePolicy(request *model.DeletePolicyRequest) *def.HttpRequestDef
func GenReqDefForDeleteVault ¶
func GenReqDefForDeleteVault(request *model.DeleteVaultRequest) *def.HttpRequestDef
func GenReqDefForDisassociateVaultPolicy ¶
func GenReqDefForDisassociateVaultPolicy(request *model.DisassociateVaultPolicyRequest) *def.HttpRequestDef
func GenReqDefForImportBackup ¶
func GenReqDefForImportBackup(request *model.ImportBackupRequest) *def.HttpRequestDef
func GenReqDefForListBackups ¶
func GenReqDefForListBackups(request *model.ListBackupsRequest) *def.HttpRequestDef
func GenReqDefForListOpLogs ¶
func GenReqDefForListOpLogs(request *model.ListOpLogsRequest) *def.HttpRequestDef
func GenReqDefForListPolicies ¶
func GenReqDefForListPolicies(request *model.ListPoliciesRequest) *def.HttpRequestDef
func GenReqDefForListProtectable ¶
func GenReqDefForListProtectable(request *model.ListProtectableRequest) *def.HttpRequestDef
func GenReqDefForListVault ¶
func GenReqDefForListVault(request *model.ListVaultRequest) *def.HttpRequestDef
func GenReqDefForRemoveVaultResource ¶
func GenReqDefForRemoveVaultResource(request *model.RemoveVaultResourceRequest) *def.HttpRequestDef
func GenReqDefForRestoreBackup ¶
func GenReqDefForRestoreBackup(request *model.RestoreBackupRequest) *def.HttpRequestDef
func GenReqDefForShowBackup ¶
func GenReqDefForShowBackup(request *model.ShowBackupRequest) *def.HttpRequestDef
func GenReqDefForShowCheckpoint ¶
func GenReqDefForShowCheckpoint(request *model.ShowCheckpointRequest) *def.HttpRequestDef
func GenReqDefForShowMemberDetail ¶
func GenReqDefForShowMemberDetail(request *model.ShowMemberDetailRequest) *def.HttpRequestDef
func GenReqDefForShowMembersDetail ¶
func GenReqDefForShowMembersDetail(request *model.ShowMembersDetailRequest) *def.HttpRequestDef
func GenReqDefForShowOpLog ¶
func GenReqDefForShowOpLog(request *model.ShowOpLogRequest) *def.HttpRequestDef
func GenReqDefForShowPolicy ¶
func GenReqDefForShowPolicy(request *model.ShowPolicyRequest) *def.HttpRequestDef
func GenReqDefForShowProtectable ¶
func GenReqDefForShowProtectable(request *model.ShowProtectableRequest) *def.HttpRequestDef
func GenReqDefForShowReplicationCapabilities ¶
func GenReqDefForShowReplicationCapabilities(request *model.ShowReplicationCapabilitiesRequest) *def.HttpRequestDef
func GenReqDefForShowVault ¶
func GenReqDefForShowVault(request *model.ShowVaultRequest) *def.HttpRequestDef
func GenReqDefForUpdateMemberStatus ¶
func GenReqDefForUpdateMemberStatus(request *model.UpdateMemberStatusRequest) *def.HttpRequestDef
func GenReqDefForUpdatePolicy ¶
func GenReqDefForUpdatePolicy(request *model.UpdatePolicyRequest) *def.HttpRequestDef
func GenReqDefForUpdateVault ¶
func GenReqDefForUpdateVault(request *model.UpdateVaultRequest) *def.HttpRequestDef
func GenRespForAddMember ¶
func GenRespForAddMember() (*model.AddMemberResponse, *def.HttpResponseDef)
func GenRespForAddVaultResource ¶
func GenRespForAddVaultResource() (*model.AddVaultResourceResponse, *def.HttpResponseDef)
func GenRespForAssociateVaultPolicy ¶
func GenRespForAssociateVaultPolicy() (*model.AssociateVaultPolicyResponse, *def.HttpResponseDef)
func GenRespForCopyBackup ¶
func GenRespForCopyBackup() (*model.CopyBackupResponse, *def.HttpResponseDef)
func GenRespForCopyCheckpoint ¶
func GenRespForCopyCheckpoint() (*model.CopyCheckpointResponse, *def.HttpResponseDef)
func GenRespForCreateCheckpoint ¶
func GenRespForCreateCheckpoint() (*model.CreateCheckpointResponse, *def.HttpResponseDef)
func GenRespForCreatePolicy ¶
func GenRespForCreatePolicy() (*model.CreatePolicyResponse, *def.HttpResponseDef)
func GenRespForCreateVault ¶
func GenRespForCreateVault() (*model.CreateVaultResponse, *def.HttpResponseDef)
func GenRespForDeleteBackup ¶
func GenRespForDeleteBackup() (*model.DeleteBackupResponse, *def.HttpResponseDef)
func GenRespForDeleteMember ¶
func GenRespForDeleteMember() (*model.DeleteMemberResponse, *def.HttpResponseDef)
func GenRespForDeletePolicy ¶
func GenRespForDeletePolicy() (*model.DeletePolicyResponse, *def.HttpResponseDef)
func GenRespForDeleteVault ¶
func GenRespForDeleteVault() (*model.DeleteVaultResponse, *def.HttpResponseDef)
func GenRespForDisassociateVaultPolicy ¶
func GenRespForDisassociateVaultPolicy() (*model.DisassociateVaultPolicyResponse, *def.HttpResponseDef)
func GenRespForImportBackup ¶
func GenRespForImportBackup() (*model.ImportBackupResponse, *def.HttpResponseDef)
func GenRespForListBackups ¶
func GenRespForListBackups() (*model.ListBackupsResponse, *def.HttpResponseDef)
func GenRespForListOpLogs ¶
func GenRespForListOpLogs() (*model.ListOpLogsResponse, *def.HttpResponseDef)
func GenRespForListPolicies ¶
func GenRespForListPolicies() (*model.ListPoliciesResponse, *def.HttpResponseDef)
func GenRespForListProtectable ¶
func GenRespForListProtectable() (*model.ListProtectableResponse, *def.HttpResponseDef)
func GenRespForListVault ¶
func GenRespForListVault() (*model.ListVaultResponse, *def.HttpResponseDef)
func GenRespForRemoveVaultResource ¶
func GenRespForRemoveVaultResource() (*model.RemoveVaultResourceResponse, *def.HttpResponseDef)
func GenRespForRestoreBackup ¶
func GenRespForRestoreBackup() (*model.RestoreBackupResponse, *def.HttpResponseDef)
func GenRespForShowBackup ¶
func GenRespForShowBackup() (*model.ShowBackupResponse, *def.HttpResponseDef)
func GenRespForShowCheckpoint ¶
func GenRespForShowCheckpoint() (*model.ShowCheckpointResponse, *def.HttpResponseDef)
func GenRespForShowMemberDetail ¶
func GenRespForShowMemberDetail() (*model.ShowMemberDetailResponse, *def.HttpResponseDef)
func GenRespForShowMembersDetail ¶
func GenRespForShowMembersDetail() (*model.ShowMembersDetailResponse, *def.HttpResponseDef)
func GenRespForShowOpLog ¶
func GenRespForShowOpLog() (*model.ShowOpLogResponse, *def.HttpResponseDef)
func GenRespForShowPolicy ¶
func GenRespForShowPolicy() (*model.ShowPolicyResponse, *def.HttpResponseDef)
func GenRespForShowProtectable ¶
func GenRespForShowProtectable() (*model.ShowProtectableResponse, *def.HttpResponseDef)
func GenRespForShowReplicationCapabilities ¶
func GenRespForShowReplicationCapabilities() (*model.ShowReplicationCapabilitiesResponse, *def.HttpResponseDef)
func GenRespForShowVault ¶
func GenRespForShowVault() (*model.ShowVaultResponse, *def.HttpResponseDef)
func GenRespForUpdateMemberStatus ¶
func GenRespForUpdateMemberStatus() (*model.UpdateMemberStatusResponse, *def.HttpResponseDef)
func GenRespForUpdatePolicy ¶
func GenRespForUpdatePolicy() (*model.UpdatePolicyResponse, *def.HttpResponseDef)
func GenRespForUpdateVault ¶
func GenRespForUpdateVault() (*model.UpdateVaultResponse, *def.HttpResponseDef)
Types ¶
type CbrClient ¶
type CbrClient struct {
// contains filtered or unexported fields
}
func NewCbrClient ¶
func NewCbrClient(hcClient *http_client.HcHttpClient) *CbrClient
func (*CbrClient) AddMember ¶
func (c *CbrClient) AddMember(request *model.AddMemberRequest) (*model.AddMemberResponse, error)
添加备份可共享的成员,只有云服务器备份可以添加备份共享成员,且仅支持在同一区域的不同用户间共享。
func (*CbrClient) AddVaultResource ¶
func (c *CbrClient) AddVaultResource(request *model.AddVaultResourceRequest) (*model.AddVaultResourceResponse, error)
存储库添加资源
func (*CbrClient) AssociateVaultPolicy ¶
func (c *CbrClient) AssociateVaultPolicy(request *model.AssociateVaultPolicyRequest) (*model.AssociateVaultPolicyResponse, error)
存储库设置策略
func (*CbrClient) CopyBackup ¶
func (c *CbrClient) CopyBackup(request *model.CopyBackupRequest) (*model.CopyBackupResponse, error)
跨区域复制备份。
func (*CbrClient) CopyCheckpoint ¶
func (c *CbrClient) CopyCheckpoint(request *model.CopyCheckpointRequest) (*model.CopyCheckpointResponse, error)
执行复制
func (*CbrClient) CreateCheckpoint ¶
func (c *CbrClient) CreateCheckpoint(request *model.CreateCheckpointRequest) (*model.CreateCheckpointResponse, error)
对存储库执行备份,生成备份还原点
func (*CbrClient) CreatePolicy ¶
func (c *CbrClient) CreatePolicy(request *model.CreatePolicyRequest) (*model.CreatePolicyResponse, error)
[创建策略,策略分为备份策略和复制策略。](tag:hws,hws_hk) [创建备份策略。](tag:dt,ocb,tlf,sbc,fcs_vm,ctc)
func (*CbrClient) CreateVault ¶
func (c *CbrClient) CreateVault(request *model.CreateVaultRequest) (*model.CreateVaultResponse, error)
创建存储库
func (*CbrClient) DeleteBackup ¶
func (c *CbrClient) DeleteBackup(request *model.DeleteBackupRequest) (*model.DeleteBackupResponse, error)
删除单个备份。
func (*CbrClient) DeleteMember ¶
func (c *CbrClient) DeleteMember(request *model.DeleteMemberRequest) (*model.DeleteMemberResponse, error)
删除指定的备份共享成员
func (*CbrClient) DeletePolicy ¶
func (c *CbrClient) DeletePolicy(request *model.DeletePolicyRequest) (*model.DeletePolicyResponse, error)
删除策略
func (*CbrClient) DeleteVault ¶
func (c *CbrClient) DeleteVault(request *model.DeleteVaultRequest) (*model.DeleteVaultResponse, error)
删除存储库。若删除储存库,将一并删除存储库中的所有备份。
func (*CbrClient) DisassociateVaultPolicy ¶
func (c *CbrClient) DisassociateVaultPolicy(request *model.DisassociateVaultPolicyRequest) (*model.DisassociateVaultPolicyResponse, error)
存储库解除策略
func (*CbrClient) ImportBackup ¶
func (c *CbrClient) ImportBackup(request *model.ImportBackupRequest) (*model.ImportBackupResponse, error)
同步备份副本
func (*CbrClient) ListBackups ¶
func (c *CbrClient) ListBackups(request *model.ListBackupsRequest) (*model.ListBackupsResponse, error)
查询所有副本
func (*CbrClient) ListOpLogs ¶
func (c *CbrClient) ListOpLogs(request *model.ListOpLogsRequest) (*model.ListOpLogsResponse, error)
查询任务列表
func (*CbrClient) ListPolicies ¶
func (c *CbrClient) ListPolicies(request *model.ListPoliciesRequest) (*model.ListPoliciesResponse, error)
查询策略列表
func (*CbrClient) ListProtectable ¶
func (c *CbrClient) ListProtectable(request *model.ListProtectableRequest) (*model.ListProtectableResponse, error)
查询可保护性资源列表
func (*CbrClient) ListVault ¶
func (c *CbrClient) ListVault(request *model.ListVaultRequest) (*model.ListVaultResponse, error)
查询存储库列表
func (*CbrClient) RemoveVaultResource ¶
func (c *CbrClient) RemoveVaultResource(request *model.RemoveVaultResourceRequest) (*model.RemoveVaultResourceResponse, error)
移除存储库中的资源,若移除资源,将一并删除该资源在保管库中的备份
func (*CbrClient) RestoreBackup ¶
func (c *CbrClient) RestoreBackup(request *model.RestoreBackupRequest) (*model.RestoreBackupResponse, error)
恢复备份数据
func (*CbrClient) ShowBackup ¶
func (c *CbrClient) ShowBackup(request *model.ShowBackupRequest) (*model.ShowBackupResponse, error)
根据指定id查询单个副本。
func (*CbrClient) ShowCheckpoint ¶
func (c *CbrClient) ShowCheckpoint(request *model.ShowCheckpointRequest) (*model.ShowCheckpointResponse, error)
根据还原点ID查询指定还原点
func (*CbrClient) ShowMemberDetail ¶
func (c *CbrClient) ShowMemberDetail(request *model.ShowMemberDetailRequest) (*model.ShowMemberDetailResponse, error)
获取备份成员的详情
func (*CbrClient) ShowMembersDetail ¶
func (c *CbrClient) ShowMembersDetail(request *model.ShowMembersDetailRequest) (*model.ShowMembersDetailResponse, error)
获取备份共享成员的列表信息
func (*CbrClient) ShowOpLog ¶
func (c *CbrClient) ShowOpLog(request *model.ShowOpLogRequest) (*model.ShowOpLogResponse, error)
根据指定任务ID查询任务
func (*CbrClient) ShowPolicy ¶
func (c *CbrClient) ShowPolicy(request *model.ShowPolicyRequest) (*model.ShowPolicyResponse, error)
查询单个策略
func (*CbrClient) ShowProtectable ¶
func (c *CbrClient) ShowProtectable(request *model.ShowProtectableRequest) (*model.ShowProtectableResponse, error)
根据ID查询可保护性资源
func (*CbrClient) ShowReplicationCapabilities ¶
func (c *CbrClient) ShowReplicationCapabilities(request *model.ShowReplicationCapabilitiesRequest) (*model.ShowReplicationCapabilitiesResponse, error)
查询本区域的复制能力
func (*CbrClient) ShowVault ¶
func (c *CbrClient) ShowVault(request *model.ShowVaultRequest) (*model.ShowVaultResponse, error)
根据ID查询指定存储库
func (*CbrClient) UpdateMemberStatus ¶
func (c *CbrClient) UpdateMemberStatus(request *model.UpdateMemberStatusRequest) (*model.UpdateMemberStatusResponse, error)
更新备份共享成员的状态,需要接收方执行此API。
func (*CbrClient) UpdatePolicy ¶
func (c *CbrClient) UpdatePolicy(request *model.UpdatePolicyRequest) (*model.UpdatePolicyResponse, error)
修改策略
func (*CbrClient) UpdateVault ¶
func (c *CbrClient) UpdateVault(request *model.UpdateVaultRequest) (*model.UpdateVaultResponse, error)
根据存储库ID修改存储库
Click to show internal directories.
Click to hide internal directories.