v1

package
v0.1.98 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenReqDefForAddProtectedInstanceNic

func GenReqDefForAddProtectedInstanceNic() *def.HttpRequestDef

func GenReqDefForAddProtectedInstanceTags

func GenReqDefForAddProtectedInstanceTags() *def.HttpRequestDef

func GenReqDefForAttachProtectedInstanceReplication

func GenReqDefForAttachProtectedInstanceReplication() *def.HttpRequestDef

func GenReqDefForBatchAddTags

func GenReqDefForBatchAddTags() *def.HttpRequestDef

func GenReqDefForBatchCreateProtectedInstances

func GenReqDefForBatchCreateProtectedInstances() *def.HttpRequestDef

func GenReqDefForBatchDeleteProtectedInstances

func GenReqDefForBatchDeleteProtectedInstances() *def.HttpRequestDef

func GenReqDefForBatchDeleteTags

func GenReqDefForBatchDeleteTags() *def.HttpRequestDef

func GenReqDefForCreateDisasterRecoveryDrill

func GenReqDefForCreateDisasterRecoveryDrill() *def.HttpRequestDef

func GenReqDefForCreateProtectedInstance

func GenReqDefForCreateProtectedInstance() *def.HttpRequestDef

func GenReqDefForCreateProtectionGroup

func GenReqDefForCreateProtectionGroup() *def.HttpRequestDef

func GenReqDefForCreateReplication

func GenReqDefForCreateReplication() *def.HttpRequestDef

func GenReqDefForDeleteAllServerGroupFailureJobs

func GenReqDefForDeleteAllServerGroupFailureJobs() *def.HttpRequestDef

func GenReqDefForDeleteDisasterRecoveryDrill

func GenReqDefForDeleteDisasterRecoveryDrill() *def.HttpRequestDef

func GenReqDefForDeleteFailureJob

func GenReqDefForDeleteFailureJob() *def.HttpRequestDef

func GenReqDefForDeleteProtectedInstance

func GenReqDefForDeleteProtectedInstance() *def.HttpRequestDef

func GenReqDefForDeleteProtectedInstanceNic

func GenReqDefForDeleteProtectedInstanceNic() *def.HttpRequestDef

func GenReqDefForDeleteProtectedInstanceTag

func GenReqDefForDeleteProtectedInstanceTag() *def.HttpRequestDef

func GenReqDefForDeleteProtectionGroup

func GenReqDefForDeleteProtectionGroup() *def.HttpRequestDef

func GenReqDefForDeleteReplication

func GenReqDefForDeleteReplication() *def.HttpRequestDef

func GenReqDefForDeleteServerGroupFailureJobs

func GenReqDefForDeleteServerGroupFailureJobs() *def.HttpRequestDef

func GenReqDefForDetachProtectedInstanceReplication

func GenReqDefForDetachProtectedInstanceReplication() *def.HttpRequestDef

func GenReqDefForExpandReplication

func GenReqDefForExpandReplication() *def.HttpRequestDef

func GenReqDefForListActiveActiveDomains

func GenReqDefForListActiveActiveDomains() *def.HttpRequestDef

func GenReqDefForListApiVersions

func GenReqDefForListApiVersions() *def.HttpRequestDef

func GenReqDefForListDisasterRecoveryDrills

func GenReqDefForListDisasterRecoveryDrills() *def.HttpRequestDef

func GenReqDefForListFailureJobs

func GenReqDefForListFailureJobs() *def.HttpRequestDef

func GenReqDefForListProtectedInstanceTags

func GenReqDefForListProtectedInstanceTags() *def.HttpRequestDef

func GenReqDefForListProtectedInstances

func GenReqDefForListProtectedInstances() *def.HttpRequestDef

func GenReqDefForListProtectedInstancesByTags

func GenReqDefForListProtectedInstancesByTags() *def.HttpRequestDef

func GenReqDefForListProtectedInstancesProjectTags

func GenReqDefForListProtectedInstancesProjectTags() *def.HttpRequestDef

func GenReqDefForListProtectionGroups

func GenReqDefForListProtectionGroups() *def.HttpRequestDef

func GenReqDefForListReplications

func GenReqDefForListReplications() *def.HttpRequestDef

func GenReqDefForListRpoStatistics

func GenReqDefForListRpoStatistics() *def.HttpRequestDef

func GenReqDefForResizeProtectedInstance

func GenReqDefForResizeProtectedInstance() *def.HttpRequestDef

func GenReqDefForShowDisasterRecoveryDrill

func GenReqDefForShowDisasterRecoveryDrill() *def.HttpRequestDef

func GenReqDefForShowJobStatus

func GenReqDefForShowJobStatus() *def.HttpRequestDef

func GenReqDefForShowProtectedInstance

func GenReqDefForShowProtectedInstance() *def.HttpRequestDef

func GenReqDefForShowProtectionGroup

func GenReqDefForShowProtectionGroup() *def.HttpRequestDef

func GenReqDefForShowQuota

func GenReqDefForShowQuota() *def.HttpRequestDef

func GenReqDefForShowReplication

func GenReqDefForShowReplication() *def.HttpRequestDef

func GenReqDefForShowSpecifiedApiVersion

func GenReqDefForShowSpecifiedApiVersion() *def.HttpRequestDef

func GenReqDefForStartFailoverProtectionGroup

func GenReqDefForStartFailoverProtectionGroup() *def.HttpRequestDef

func GenReqDefForStartProtectionGroup

func GenReqDefForStartProtectionGroup() *def.HttpRequestDef

func GenReqDefForStartReverseProtectionGroup

func GenReqDefForStartReverseProtectionGroup() *def.HttpRequestDef

func GenReqDefForStopProtectionGroup

func GenReqDefForStopProtectionGroup() *def.HttpRequestDef

func GenReqDefForUpdateDisasterRecoveryDrillName

func GenReqDefForUpdateDisasterRecoveryDrillName() *def.HttpRequestDef

func GenReqDefForUpdateProtectedInstanceName

func GenReqDefForUpdateProtectedInstanceName() *def.HttpRequestDef

func GenReqDefForUpdateProtectionGroupName

func GenReqDefForUpdateProtectionGroupName() *def.HttpRequestDef

func GenReqDefForUpdateReplicationName

func GenReqDefForUpdateReplicationName() *def.HttpRequestDef

func SdrsClientBuilder

func SdrsClientBuilder() *httpclient.HcHttpClientBuilder

Types

type AddProtectedInstanceNicInvoker added in v0.0.90

type AddProtectedInstanceNicInvoker struct {
	*invoker.BaseInvoker
}

func (*AddProtectedInstanceNicInvoker) Invoke added in v0.0.90

type AddProtectedInstanceTagsInvoker added in v0.0.90

type AddProtectedInstanceTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*AddProtectedInstanceTagsInvoker) Invoke added in v0.0.90

type AttachProtectedInstanceReplicationInvoker added in v0.0.90

type AttachProtectedInstanceReplicationInvoker struct {
	*invoker.BaseInvoker
}

func (*AttachProtectedInstanceReplicationInvoker) Invoke added in v0.0.90

type BatchAddTagsInvoker added in v0.0.90

type BatchAddTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchAddTagsInvoker) Invoke added in v0.0.90

type BatchCreateProtectedInstancesInvoker added in v0.0.90

type BatchCreateProtectedInstancesInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchCreateProtectedInstancesInvoker) Invoke added in v0.0.90

type BatchDeleteProtectedInstancesInvoker added in v0.0.90

type BatchDeleteProtectedInstancesInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchDeleteProtectedInstancesInvoker) Invoke added in v0.0.90

type BatchDeleteTagsInvoker added in v0.0.90

type BatchDeleteTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchDeleteTagsInvoker) Invoke added in v0.0.90

type CreateDisasterRecoveryDrillInvoker added in v0.0.90

type CreateDisasterRecoveryDrillInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateDisasterRecoveryDrillInvoker) Invoke added in v0.0.90

type CreateProtectedInstanceInvoker added in v0.0.90

type CreateProtectedInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateProtectedInstanceInvoker) Invoke added in v0.0.90

type CreateProtectionGroupInvoker added in v0.0.90

type CreateProtectionGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateProtectionGroupInvoker) Invoke added in v0.0.90

type CreateReplicationInvoker added in v0.0.90

type CreateReplicationInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateReplicationInvoker) Invoke added in v0.0.90

type DeleteAllServerGroupFailureJobsInvoker added in v0.0.90

type DeleteAllServerGroupFailureJobsInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteAllServerGroupFailureJobsInvoker) Invoke added in v0.0.90

type DeleteDisasterRecoveryDrillInvoker added in v0.0.90

type DeleteDisasterRecoveryDrillInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteDisasterRecoveryDrillInvoker) Invoke added in v0.0.90

type DeleteFailureJobInvoker added in v0.0.90

type DeleteFailureJobInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteFailureJobInvoker) Invoke added in v0.0.90

type DeleteProtectedInstanceInvoker added in v0.0.90

type DeleteProtectedInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteProtectedInstanceInvoker) Invoke added in v0.0.90

type DeleteProtectedInstanceNicInvoker added in v0.0.90

type DeleteProtectedInstanceNicInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteProtectedInstanceNicInvoker) Invoke added in v0.0.90

type DeleteProtectedInstanceTagInvoker added in v0.0.90

type DeleteProtectedInstanceTagInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteProtectedInstanceTagInvoker) Invoke added in v0.0.90

type DeleteProtectionGroupInvoker added in v0.0.90

type DeleteProtectionGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteProtectionGroupInvoker) Invoke added in v0.0.90

type DeleteReplicationInvoker added in v0.0.90

type DeleteReplicationInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteReplicationInvoker) Invoke added in v0.0.90

type DeleteServerGroupFailureJobsInvoker added in v0.0.90

type DeleteServerGroupFailureJobsInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteServerGroupFailureJobsInvoker) Invoke added in v0.0.90

type DetachProtectedInstanceReplicationInvoker added in v0.0.90

type DetachProtectedInstanceReplicationInvoker struct {
	*invoker.BaseInvoker
}

func (*DetachProtectedInstanceReplicationInvoker) Invoke added in v0.0.90

type ExpandReplicationInvoker added in v0.0.90

type ExpandReplicationInvoker struct {
	*invoker.BaseInvoker
}

func (*ExpandReplicationInvoker) Invoke added in v0.0.90

type ListActiveActiveDomainsInvoker added in v0.0.90

type ListActiveActiveDomainsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListActiveActiveDomainsInvoker) Invoke added in v0.0.90

type ListApiVersionsInvoker added in v0.0.90

type ListApiVersionsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListApiVersionsInvoker) Invoke added in v0.0.90

type ListDisasterRecoveryDrillsInvoker added in v0.0.90

type ListDisasterRecoveryDrillsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListDisasterRecoveryDrillsInvoker) Invoke added in v0.0.90

type ListFailureJobsInvoker added in v0.0.90

type ListFailureJobsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListFailureJobsInvoker) Invoke added in v0.0.90

type ListProtectedInstanceTagsInvoker added in v0.0.90

type ListProtectedInstanceTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListProtectedInstanceTagsInvoker) Invoke added in v0.0.90

type ListProtectedInstancesByTagsInvoker added in v0.0.90

type ListProtectedInstancesByTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListProtectedInstancesByTagsInvoker) Invoke added in v0.0.90

type ListProtectedInstancesInvoker added in v0.0.90

type ListProtectedInstancesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListProtectedInstancesInvoker) Invoke added in v0.0.90

type ListProtectedInstancesProjectTagsInvoker added in v0.0.90

type ListProtectedInstancesProjectTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListProtectedInstancesProjectTagsInvoker) Invoke added in v0.0.90

type ListProtectionGroupsInvoker added in v0.0.90

type ListProtectionGroupsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListProtectionGroupsInvoker) Invoke added in v0.0.90

type ListReplicationsInvoker added in v0.0.90

type ListReplicationsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListReplicationsInvoker) Invoke added in v0.0.90

type ListRpoStatisticsInvoker added in v0.0.90

type ListRpoStatisticsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListRpoStatisticsInvoker) Invoke added in v0.0.90

type ResizeProtectedInstanceInvoker added in v0.0.90

type ResizeProtectedInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*ResizeProtectedInstanceInvoker) Invoke added in v0.0.90

type SdrsClient

type SdrsClient struct {
	HcClient *httpclient.HcHttpClient
}

func NewSdrsClient

func NewSdrsClient(hcClient *httpclient.HcHttpClient) *SdrsClient

func (*SdrsClient) AddProtectedInstanceNic

AddProtectedInstanceNic 保护实例添加网卡

给指定的保护实例添加网卡。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) AddProtectedInstanceNicInvoker added in v0.0.90

func (c *SdrsClient) AddProtectedInstanceNicInvoker(request *model.AddProtectedInstanceNicRequest) *AddProtectedInstanceNicInvoker

AddProtectedInstanceNicInvoker 保护实例添加网卡

func (*SdrsClient) AddProtectedInstanceTags

AddProtectedInstanceTags 添加保护实例标签

一个保护实例上最多有10个标签。此接口为幂等接口:创建时,如果创建的标签已经存在(key相同),则覆盖。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) AddProtectedInstanceTagsInvoker added in v0.0.90

func (c *SdrsClient) AddProtectedInstanceTagsInvoker(request *model.AddProtectedInstanceTagsRequest) *AddProtectedInstanceTagsInvoker

AddProtectedInstanceTagsInvoker 添加保护实例标签

func (*SdrsClient) AttachProtectedInstanceReplication

AttachProtectedInstanceReplication 保护实例挂载复制对

将指定的复制对挂载到指定的保护实例上。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) AttachProtectedInstanceReplicationInvoker added in v0.0.90

func (c *SdrsClient) AttachProtectedInstanceReplicationInvoker(request *model.AttachProtectedInstanceReplicationRequest) *AttachProtectedInstanceReplicationInvoker

AttachProtectedInstanceReplicationInvoker 保护实例挂载复制对

func (*SdrsClient) BatchAddTags

func (c *SdrsClient) BatchAddTags(request *model.BatchAddTagsRequest) (*model.BatchAddTagsResponse, error)

BatchAddTags 批量添加保护实例标签

为指定保护实例批量添加或删除标签。一个资源上最多有10个标签。 此接口为幂等接口: 创建时如果请求体中存在重复key则报错。 创建时,不允许设置重复key数据,如果数据库已存在该key,就覆盖value的值。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) BatchAddTagsInvoker added in v0.0.90

func (c *SdrsClient) BatchAddTagsInvoker(request *model.BatchAddTagsRequest) *BatchAddTagsInvoker

BatchAddTagsInvoker 批量添加保护实例标签

func (*SdrsClient) BatchCreateProtectedInstances

BatchCreateProtectedInstances 批量创建保护实例

典型场景:没有特殊操作场景 接口功能:批量创建保护实例。保护实例创建完成后,系统默认容灾站点云服务器名称与生产站点云服务器名称相同,但ID不同。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) BatchCreateProtectedInstancesInvoker added in v0.0.90

func (c *SdrsClient) BatchCreateProtectedInstancesInvoker(request *model.BatchCreateProtectedInstancesRequest) *BatchCreateProtectedInstancesInvoker

BatchCreateProtectedInstancesInvoker 批量创建保护实例

func (*SdrsClient) BatchDeleteProtectedInstances

BatchDeleteProtectedInstances 批量删除保护实例

典型场景:没有特殊操作场景 接口功能:批量删除保护实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) BatchDeleteProtectedInstancesInvoker added in v0.0.90

func (c *SdrsClient) BatchDeleteProtectedInstancesInvoker(request *model.BatchDeleteProtectedInstancesRequest) *BatchDeleteProtectedInstancesInvoker

BatchDeleteProtectedInstancesInvoker 批量删除保护实例

func (*SdrsClient) BatchDeleteTags

func (c *SdrsClient) BatchDeleteTags(request *model.BatchDeleteTagsRequest) (*model.BatchDeleteTagsResponse, error)

BatchDeleteTags 批量删除保护实例标签

为指定保护实例批量删除标签。一个资源上最多有10个标签。 此接口为幂等接口: 删除时,如果删除的标签不存在,默认处理成功,删除时不对标签字符集范围做校验。删除时tags结构体不能缺失,key不能为空,或者空字符串。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) BatchDeleteTagsInvoker added in v0.0.90

func (c *SdrsClient) BatchDeleteTagsInvoker(request *model.BatchDeleteTagsRequest) *BatchDeleteTagsInvoker

BatchDeleteTagsInvoker 批量删除保护实例标签

func (*SdrsClient) CreateDisasterRecoveryDrill

CreateDisasterRecoveryDrill 创建容灾演练

创建容灾演练。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) CreateDisasterRecoveryDrillInvoker added in v0.0.90

func (c *SdrsClient) CreateDisasterRecoveryDrillInvoker(request *model.CreateDisasterRecoveryDrillRequest) *CreateDisasterRecoveryDrillInvoker

CreateDisasterRecoveryDrillInvoker 创建容灾演练

func (*SdrsClient) CreateProtectedInstance

CreateProtectedInstance 创建保护实例

创建保护实例。保护实例创建完成后,系统默认容灾站点云服务器名称与生产站点云服务器名称相同,但ID不同。如果需要修改云服务器名称,请在保护实例详情页面单击云服务器名称,进入云服务器详情页面进行修改

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) CreateProtectedInstanceInvoker added in v0.0.90

func (c *SdrsClient) CreateProtectedInstanceInvoker(request *model.CreateProtectedInstanceRequest) *CreateProtectedInstanceInvoker

CreateProtectedInstanceInvoker 创建保护实例

func (*SdrsClient) CreateProtectionGroup

CreateProtectionGroup 创建保护组

创建保护组。 说明: 本接口为异步接口,调用成功只是表示请求下发,创建结果需要通过“查询job状态”接口获取

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) CreateProtectionGroupInvoker added in v0.0.90

func (c *SdrsClient) CreateProtectionGroupInvoker(request *model.CreateProtectionGroupRequest) *CreateProtectionGroupInvoker

CreateProtectionGroupInvoker 创建保护组

func (*SdrsClient) CreateReplication

CreateReplication 创建复制对

创建复制对,并将其添加到指定的保护组中。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) CreateReplicationInvoker added in v0.0.90

func (c *SdrsClient) CreateReplicationInvoker(request *model.CreateReplicationRequest) *CreateReplicationInvoker

CreateReplicationInvoker 创建复制对

func (*SdrsClient) DeleteAllServerGroupFailureJobs

DeleteAllServerGroupFailureJobs 删除所有保护组失败任务

删除所有保护组层级的失败任务,创建、删除保护组失败等。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) DeleteAllServerGroupFailureJobsInvoker added in v0.0.90

func (c *SdrsClient) DeleteAllServerGroupFailureJobsInvoker(request *model.DeleteAllServerGroupFailureJobsRequest) *DeleteAllServerGroupFailureJobsInvoker

DeleteAllServerGroupFailureJobsInvoker 删除所有保护组失败任务

func (*SdrsClient) DeleteDisasterRecoveryDrill

DeleteDisasterRecoveryDrill 删除容灾演练

删除指定的容灾演练。删除后: 容灾演练服务器、容灾演练服务器上挂载的磁盘和网卡将被一并删除。 演练VPC、演练VPC的子网不会被删除。您可以继续使用该VPC创建其他云服务器。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) DeleteDisasterRecoveryDrillInvoker added in v0.0.90

func (c *SdrsClient) DeleteDisasterRecoveryDrillInvoker(request *model.DeleteDisasterRecoveryDrillRequest) *DeleteDisasterRecoveryDrillInvoker

DeleteDisasterRecoveryDrillInvoker 删除容灾演练

func (*SdrsClient) DeleteFailureJob

func (c *SdrsClient) DeleteFailureJob(request *model.DeleteFailureJobRequest) (*model.DeleteFailureJobResponse, error)

DeleteFailureJob 删除单个失败任务

删除单个失败任务。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) DeleteFailureJobInvoker added in v0.0.90

func (c *SdrsClient) DeleteFailureJobInvoker(request *model.DeleteFailureJobRequest) *DeleteFailureJobInvoker

DeleteFailureJobInvoker 删除单个失败任务

func (*SdrsClient) DeleteProtectedInstance

DeleteProtectedInstance 删除保护实例

删除指定的保护实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) DeleteProtectedInstanceInvoker added in v0.0.90

func (c *SdrsClient) DeleteProtectedInstanceInvoker(request *model.DeleteProtectedInstanceRequest) *DeleteProtectedInstanceInvoker

DeleteProtectedInstanceInvoker 删除保护实例

func (*SdrsClient) DeleteProtectedInstanceNic

DeleteProtectedInstanceNic 保护实例删除网卡

删除指定保护实例的指定网卡。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) DeleteProtectedInstanceNicInvoker added in v0.0.90

func (c *SdrsClient) DeleteProtectedInstanceNicInvoker(request *model.DeleteProtectedInstanceNicRequest) *DeleteProtectedInstanceNicInvoker

DeleteProtectedInstanceNicInvoker 保护实例删除网卡

func (*SdrsClient) DeleteProtectedInstanceTag

DeleteProtectedInstanceTag 删除保护实例标签

幂等接口:删除时,不对标签字符集做校验,调用接口前必须要做encodeURI,服务端需要对接口URI做decodeURI。

说明:请自行选择工具执行URI编码。

删除的key不存在报404,Key不能为空或者空字符串。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) DeleteProtectedInstanceTagInvoker added in v0.0.90

func (c *SdrsClient) DeleteProtectedInstanceTagInvoker(request *model.DeleteProtectedInstanceTagRequest) *DeleteProtectedInstanceTagInvoker

DeleteProtectedInstanceTagInvoker 删除保护实例标签

func (*SdrsClient) DeleteProtectionGroup

DeleteProtectionGroup 删除保护组

删除指定的保护组。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) DeleteProtectionGroupInvoker added in v0.0.90

func (c *SdrsClient) DeleteProtectionGroupInvoker(request *model.DeleteProtectionGroupRequest) *DeleteProtectionGroupInvoker

DeleteProtectionGroupInvoker 删除保护组

func (*SdrsClient) DeleteReplication

DeleteReplication 删除复制对

删除指定的复制对。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) DeleteReplicationInvoker added in v0.0.90

func (c *SdrsClient) DeleteReplicationInvoker(request *model.DeleteReplicationRequest) *DeleteReplicationInvoker

DeleteReplicationInvoker 删除复制对

func (*SdrsClient) DeleteServerGroupFailureJobs

DeleteServerGroupFailureJobs 删除指定保护组内的所有失败任务

删除指定保护组内的所有失败任务,创建保护实例失败、创建复制对失败、删除保护实例失败、删除复制对失败等。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) DeleteServerGroupFailureJobsInvoker added in v0.0.90

func (c *SdrsClient) DeleteServerGroupFailureJobsInvoker(request *model.DeleteServerGroupFailureJobsRequest) *DeleteServerGroupFailureJobsInvoker

DeleteServerGroupFailureJobsInvoker 删除指定保护组内的所有失败任务

func (*SdrsClient) DetachProtectedInstanceReplication

DetachProtectedInstanceReplication 保护实例卸载复制对

将指定的复制对从指定的保护实例上卸载。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) DetachProtectedInstanceReplicationInvoker added in v0.0.90

func (c *SdrsClient) DetachProtectedInstanceReplicationInvoker(request *model.DetachProtectedInstanceReplicationRequest) *DetachProtectedInstanceReplicationInvoker

DetachProtectedInstanceReplicationInvoker 保护实例卸载复制对

func (*SdrsClient) ExpandReplication

ExpandReplication 复制对扩容

对复制对包含的两个磁盘进行扩容操作。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) ExpandReplicationInvoker added in v0.0.90

func (c *SdrsClient) ExpandReplicationInvoker(request *model.ExpandReplicationRequest) *ExpandReplicationInvoker

ExpandReplicationInvoker 复制对扩容

func (*SdrsClient) ListActiveActiveDomains

ListActiveActiveDomains 查询双活域

查询双活域。双活域由本端存储设备、远端存储设备组成,通过双活域,应用服务器可以实现跨站点的数据访问。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) ListActiveActiveDomainsInvoker added in v0.0.90

func (c *SdrsClient) ListActiveActiveDomainsInvoker(request *model.ListActiveActiveDomainsRequest) *ListActiveActiveDomainsInvoker

ListActiveActiveDomainsInvoker 查询双活域

func (*SdrsClient) ListApiVersions

func (c *SdrsClient) ListApiVersions(request *model.ListApiVersionsRequest) (*model.ListApiVersionsResponse, error)

ListApiVersions 查询API版本信息

查询存储容灾当前所有可用的版本信息列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) ListApiVersionsInvoker added in v0.0.90

func (c *SdrsClient) ListApiVersionsInvoker(request *model.ListApiVersionsRequest) *ListApiVersionsInvoker

ListApiVersionsInvoker 查询API版本信息

func (*SdrsClient) ListDisasterRecoveryDrills

ListDisasterRecoveryDrills 查询容灾演练列表

查询指定保护组下的所有容灾演练列表,当未指定保护组时查询当前租户下的所有容灾演练列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) ListDisasterRecoveryDrillsInvoker added in v0.0.90

func (c *SdrsClient) ListDisasterRecoveryDrillsInvoker(request *model.ListDisasterRecoveryDrillsRequest) *ListDisasterRecoveryDrillsInvoker

ListDisasterRecoveryDrillsInvoker 查询容灾演练列表

func (*SdrsClient) ListFailureJobs

func (c *SdrsClient) ListFailureJobs(request *model.ListFailureJobsRequest) (*model.ListFailureJobsResponse, error)

ListFailureJobs 查询失败任务列表

查询所有保护组失败任务列表或者指定保护组下的所有失败任务列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) ListFailureJobsInvoker added in v0.0.90

func (c *SdrsClient) ListFailureJobsInvoker(request *model.ListFailureJobsRequest) *ListFailureJobsInvoker

ListFailureJobsInvoker 查询失败任务列表

func (*SdrsClient) ListProtectedInstanceTags

ListProtectedInstanceTags 查询保护实例标签

查询指定保护实例的标签信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) ListProtectedInstanceTagsInvoker added in v0.0.90

func (c *SdrsClient) ListProtectedInstanceTagsInvoker(request *model.ListProtectedInstanceTagsRequest) *ListProtectedInstanceTagsInvoker

ListProtectedInstanceTagsInvoker 查询保护实例标签

func (*SdrsClient) ListProtectedInstances

ListProtectedInstances 查询保护实例列表

查询当前租户下的所有保护实例列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) ListProtectedInstancesByTags

ListProtectedInstancesByTags 通过标签查询保护实例

使用标签过滤保护实例

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) ListProtectedInstancesByTagsInvoker added in v0.0.90

func (c *SdrsClient) ListProtectedInstancesByTagsInvoker(request *model.ListProtectedInstancesByTagsRequest) *ListProtectedInstancesByTagsInvoker

ListProtectedInstancesByTagsInvoker 通过标签查询保护实例

func (*SdrsClient) ListProtectedInstancesInvoker added in v0.0.90

func (c *SdrsClient) ListProtectedInstancesInvoker(request *model.ListProtectedInstancesRequest) *ListProtectedInstancesInvoker

ListProtectedInstancesInvoker 查询保护实例列表

func (*SdrsClient) ListProtectedInstancesProjectTags

ListProtectedInstancesProjectTags 查询保护实例项目标签

查询租户在指定Project中保护实例的所有资源标签集合。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) ListProtectedInstancesProjectTagsInvoker added in v0.0.90

func (c *SdrsClient) ListProtectedInstancesProjectTagsInvoker(request *model.ListProtectedInstancesProjectTagsRequest) *ListProtectedInstancesProjectTagsInvoker

ListProtectedInstancesProjectTagsInvoker 查询保护实例项目标签

func (*SdrsClient) ListProtectionGroups

ListProtectionGroups 查询保护组列表

查询当前租户所有的保护组列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) ListProtectionGroupsInvoker added in v0.0.90

func (c *SdrsClient) ListProtectionGroupsInvoker(request *model.ListProtectionGroupsRequest) *ListProtectionGroupsInvoker

ListProtectionGroupsInvoker 查询保护组列表

func (*SdrsClient) ListReplications

func (c *SdrsClient) ListReplications(request *model.ListReplicationsRequest) (*model.ListReplicationsResponse, error)

ListReplications 查询复制对列表

查询指定保护组下的所有复制对列表,如果不给定指定保护组则查询当前租户下的所有复制对列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) ListReplicationsInvoker added in v0.0.90

func (c *SdrsClient) ListReplicationsInvoker(request *model.ListReplicationsRequest) *ListReplicationsInvoker

ListReplicationsInvoker 查询复制对列表

func (*SdrsClient) ListRpoStatistics

ListRpoStatistics 查询资源的RPO超标趋势记录列表

查询当前租户大屏显示中,资源的RPO超标趋势记录列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) ListRpoStatisticsInvoker added in v0.0.90

func (c *SdrsClient) ListRpoStatisticsInvoker(request *model.ListRpoStatisticsRequest) *ListRpoStatisticsInvoker

ListRpoStatisticsInvoker 查询资源的RPO超标趋势记录列表

func (*SdrsClient) ResizeProtectedInstance

ResizeProtectedInstance 保护实例变更规格

变更指定保护实例中弹性云服务器的规格,包括:同时变更生产站点云服务器和容灾站点云服务器的规格。 仅变更生产站点云服务器的规格,容灾站点云服务器规格不变。 生产站点云服务器规格不变,仅变更容灾站点云服务器的规格。 当且仅当待变更规格的云服务器处于关机状态时,才能执行此操作。

说明:不同规格的云服务器在性能上存在差异,可能会对云服务器上运行的应用产生影响。

为保证切换/故障切换后云服务器的性能,建议容灾站点服务器的规格(CPU、内存)不低于生产站点云服务器的规格(CPU、内存)。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) ResizeProtectedInstanceInvoker added in v0.0.90

func (c *SdrsClient) ResizeProtectedInstanceInvoker(request *model.ResizeProtectedInstanceRequest) *ResizeProtectedInstanceInvoker

ResizeProtectedInstanceInvoker 保护实例变更规格

func (*SdrsClient) ShowDisasterRecoveryDrill

ShowDisasterRecoveryDrill 查询单个容灾演练详情

查询单个容灾演练的详细信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) ShowDisasterRecoveryDrillInvoker added in v0.0.90

func (c *SdrsClient) ShowDisasterRecoveryDrillInvoker(request *model.ShowDisasterRecoveryDrillRequest) *ShowDisasterRecoveryDrillInvoker

ShowDisasterRecoveryDrillInvoker 查询单个容灾演练详情

func (*SdrsClient) ShowJobStatus

func (c *SdrsClient) ShowJobStatus(request *model.ShowJobStatusRequest) (*model.ShowJobStatusResponse, error)

ShowJobStatus 查询job状态

查询job的执行状态。 对于创建保护组、删除保护组、创建保护实例、删除保护实例、创建复制对、删除复制对等异步API,命令下发后,会返回job_id,通过job_id可以查询任务的执行状态。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) ShowJobStatusInvoker added in v0.0.90

func (c *SdrsClient) ShowJobStatusInvoker(request *model.ShowJobStatusRequest) *ShowJobStatusInvoker

ShowJobStatusInvoker 查询job状态

func (*SdrsClient) ShowProtectedInstance

ShowProtectedInstance 查询单个保护实例详情

查询单个保护实例的详细信息,如名称、ID等。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) ShowProtectedInstanceInvoker added in v0.0.90

func (c *SdrsClient) ShowProtectedInstanceInvoker(request *model.ShowProtectedInstanceRequest) *ShowProtectedInstanceInvoker

ShowProtectedInstanceInvoker 查询单个保护实例详情

func (*SdrsClient) ShowProtectionGroup

ShowProtectionGroup 查询保护组详情

查询单个保护组的详细信息,如ID、名称等。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) ShowProtectionGroupInvoker added in v0.0.90

func (c *SdrsClient) ShowProtectionGroupInvoker(request *model.ShowProtectionGroupRequest) *ShowProtectionGroupInvoker

ShowProtectionGroupInvoker 查询保护组详情

func (*SdrsClient) ShowQuota

func (c *SdrsClient) ShowQuota(request *model.ShowQuotaRequest) (*model.ShowQuotaResponse, error)

ShowQuota 查询租户配额

查询资源的配额相关信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) ShowQuotaInvoker added in v0.0.90

func (c *SdrsClient) ShowQuotaInvoker(request *model.ShowQuotaRequest) *ShowQuotaInvoker

ShowQuotaInvoker 查询租户配额

func (*SdrsClient) ShowReplication

func (c *SdrsClient) ShowReplication(request *model.ShowReplicationRequest) (*model.ShowReplicationResponse, error)

ShowReplication 查询单个复制对详情

查询单个复制对的详细信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) ShowReplicationInvoker added in v0.0.90

func (c *SdrsClient) ShowReplicationInvoker(request *model.ShowReplicationRequest) *ShowReplicationInvoker

ShowReplicationInvoker 查询单个复制对详情

func (*SdrsClient) ShowSpecifiedApiVersion

ShowSpecifiedApiVersion 查询指定API版本信息

查询存储容灾指定API版本信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) ShowSpecifiedApiVersionInvoker added in v0.0.90

func (c *SdrsClient) ShowSpecifiedApiVersionInvoker(request *model.ShowSpecifiedApiVersionRequest) *ShowSpecifiedApiVersionInvoker

ShowSpecifiedApiVersionInvoker 查询指定API版本信息

func (*SdrsClient) StartFailoverProtectionGroup

StartFailoverProtectionGroup 保护组故障切换

当保护组的生产站点发生故障时,将保护组的生产站点切到当前的容灾站点,即另一端AZ,启用当前容灾站点的云硬盘以及云服务器等资源。 故障切换完成之后,保护组的当前生产站点变成故障切换发生之前的容灾站点,且生产站点和容灾站点之间的数据已停止保护,必须调用5.4.6-保护组开启保护/重保护接口成功后,两端的数据才会重新被保护。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) StartFailoverProtectionGroupInvoker added in v0.0.90

func (c *SdrsClient) StartFailoverProtectionGroupInvoker(request *model.StartFailoverProtectionGroupRequest) *StartFailoverProtectionGroupInvoker

StartFailoverProtectionGroupInvoker 保护组故障切换

func (*SdrsClient) StartProtectionGroup

StartProtectionGroup 保护组开启保护/重保护

对某一个保护组的“开启保护”或“重保护”操作。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) StartProtectionGroupInvoker added in v0.0.90

func (c *SdrsClient) StartProtectionGroupInvoker(request *model.StartProtectionGroupRequest) *StartProtectionGroupInvoker

StartProtectionGroupInvoker 保护组开启保护/重保护

func (*SdrsClient) StartReverseProtectionGroup

StartReverseProtectionGroup 保护组切换

对保护组进行切换操作,可以将保护组的当前生产站点,从创建保护组时指定的生产站点切换到创建保护组时指定的容灾站点,也可以从创建保护组时指定的容灾站点切换到创建保护组时指定的生产站点。切换后,生产站点和容灾站点的数据仍然处于被保护状态,只是复制方向与操作之前相反。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) StartReverseProtectionGroupInvoker added in v0.0.90

func (c *SdrsClient) StartReverseProtectionGroupInvoker(request *model.StartReverseProtectionGroupRequest) *StartReverseProtectionGroupInvoker

StartReverseProtectionGroupInvoker 保护组切换

func (*SdrsClient) StopProtectionGroup

StopProtectionGroup 保护组停止保护

对某一个保护组的停止保护操作。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) StopProtectionGroupInvoker added in v0.0.90

func (c *SdrsClient) StopProtectionGroupInvoker(request *model.StopProtectionGroupRequest) *StopProtectionGroupInvoker

StopProtectionGroupInvoker 保护组停止保护

func (*SdrsClient) UpdateDisasterRecoveryDrillName

UpdateDisasterRecoveryDrillName 更新容灾演练名称

更新容灾演练的名称。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) UpdateDisasterRecoveryDrillNameInvoker added in v0.0.90

func (c *SdrsClient) UpdateDisasterRecoveryDrillNameInvoker(request *model.UpdateDisasterRecoveryDrillNameRequest) *UpdateDisasterRecoveryDrillNameInvoker

UpdateDisasterRecoveryDrillNameInvoker 更新容灾演练名称

func (*SdrsClient) UpdateProtectedInstanceName

UpdateProtectedInstanceName 更新保护实例名称

更新某一个保护实例的名称。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) UpdateProtectedInstanceNameInvoker added in v0.0.90

func (c *SdrsClient) UpdateProtectedInstanceNameInvoker(request *model.UpdateProtectedInstanceNameRequest) *UpdateProtectedInstanceNameInvoker

UpdateProtectedInstanceNameInvoker 更新保护实例名称

func (*SdrsClient) UpdateProtectionGroupName

UpdateProtectionGroupName 更新保护组名称

更新某一个保护组的名称。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) UpdateProtectionGroupNameInvoker added in v0.0.90

func (c *SdrsClient) UpdateProtectionGroupNameInvoker(request *model.UpdateProtectionGroupNameRequest) *UpdateProtectionGroupNameInvoker

UpdateProtectionGroupNameInvoker 更新保护组名称

func (*SdrsClient) UpdateReplicationName

UpdateReplicationName 更新复制对名称

更新复制对名称。

Please refer to HUAWEI cloud API Explorer for details.

func (*SdrsClient) UpdateReplicationNameInvoker added in v0.0.90

func (c *SdrsClient) UpdateReplicationNameInvoker(request *model.UpdateReplicationNameRequest) *UpdateReplicationNameInvoker

UpdateReplicationNameInvoker 更新复制对名称

type ShowDisasterRecoveryDrillInvoker added in v0.0.90

type ShowDisasterRecoveryDrillInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDisasterRecoveryDrillInvoker) Invoke added in v0.0.90

type ShowJobStatusInvoker added in v0.0.90

type ShowJobStatusInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowJobStatusInvoker) Invoke added in v0.0.90

type ShowProtectedInstanceInvoker added in v0.0.90

type ShowProtectedInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowProtectedInstanceInvoker) Invoke added in v0.0.90

type ShowProtectionGroupInvoker added in v0.0.90

type ShowProtectionGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowProtectionGroupInvoker) Invoke added in v0.0.90

type ShowQuotaInvoker added in v0.0.90

type ShowQuotaInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowQuotaInvoker) Invoke added in v0.0.90

type ShowReplicationInvoker added in v0.0.90

type ShowReplicationInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowReplicationInvoker) Invoke added in v0.0.90

type ShowSpecifiedApiVersionInvoker added in v0.0.90

type ShowSpecifiedApiVersionInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowSpecifiedApiVersionInvoker) Invoke added in v0.0.90

type StartFailoverProtectionGroupInvoker added in v0.0.90

type StartFailoverProtectionGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*StartFailoverProtectionGroupInvoker) Invoke added in v0.0.90

type StartProtectionGroupInvoker added in v0.0.90

type StartProtectionGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*StartProtectionGroupInvoker) Invoke added in v0.0.90

type StartReverseProtectionGroupInvoker added in v0.0.90

type StartReverseProtectionGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*StartReverseProtectionGroupInvoker) Invoke added in v0.0.90

type StopProtectionGroupInvoker added in v0.0.90

type StopProtectionGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*StopProtectionGroupInvoker) Invoke added in v0.0.90

type UpdateDisasterRecoveryDrillNameInvoker added in v0.0.90

type UpdateDisasterRecoveryDrillNameInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateDisasterRecoveryDrillNameInvoker) Invoke added in v0.0.90

type UpdateProtectedInstanceNameInvoker added in v0.0.90

type UpdateProtectedInstanceNameInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateProtectedInstanceNameInvoker) Invoke added in v0.0.90

type UpdateProtectionGroupNameInvoker added in v0.0.90

type UpdateProtectionGroupNameInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateProtectionGroupNameInvoker) Invoke added in v0.0.90

type UpdateReplicationNameInvoker added in v0.0.90

type UpdateReplicationNameInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateReplicationNameInvoker) Invoke added in v0.0.90

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL