model

package
v0.0.71 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddProtectedInstanceNicRequest

type AddProtectedInstanceNicRequest struct {
	ProtectedInstanceId string `json:"protected_instance_id"`

	Body *ProtectedInstanceAddNicRequestBody `json:"body,omitempty"`
}

Request Object

func (AddProtectedInstanceNicRequest) String

type AddProtectedInstanceNicResponse

type AddProtectedInstanceNicResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (AddProtectedInstanceNicResponse) String

type AddProtectedInstanceTagsRequest

type AddProtectedInstanceTagsRequest struct {
	ProtectedInstanceId string `json:"protected_instance_id"`

	Body *ProtectedInstanceAddTagsRequestBody `json:"body,omitempty"`
}

Request Object

func (AddProtectedInstanceTagsRequest) String

type AddProtectedInstanceTagsResponse

type AddProtectedInstanceTagsResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (AddProtectedInstanceTagsResponse) String

type AttachProtectedInstanceReplicationRequest

type AttachProtectedInstanceReplicationRequest struct {
	ProtectedInstanceId string `json:"protected_instance_id"`

	Body *ProtectedInstanceAttachReplicationRequestBody `json:"body,omitempty"`
}

Request Object

func (AttachProtectedInstanceReplicationRequest) String

type AttachProtectedInstanceReplicationResponse

type AttachProtectedInstanceReplicationResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (AttachProtectedInstanceReplicationResponse) String

type BatchAddTagsRequest

type BatchAddTagsRequest struct {
	ProtectedInstanceId string `json:"protected_instance_id"`

	Body *BatchAddTagsRequestBody `json:"body,omitempty"`
}

Request Object

func (BatchAddTagsRequest) String

func (o BatchAddTagsRequest) String() string

type BatchAddTagsRequestBody

type BatchAddTagsRequestBody struct {
	Tags []ResourceTag `json:"tags"`

	Action BatchAddTagsRequestBodyAction `json:"action"`
}

批量添加保护实例标签请求体

func (BatchAddTagsRequestBody) String

func (o BatchAddTagsRequestBody) String() string

type BatchAddTagsRequestBodyAction

type BatchAddTagsRequestBodyAction struct {
	// contains filtered or unexported fields
}

func (BatchAddTagsRequestBodyAction) MarshalJSON

func (c BatchAddTagsRequestBodyAction) MarshalJSON() ([]byte, error)

func (*BatchAddTagsRequestBodyAction) UnmarshalJSON

func (c *BatchAddTagsRequestBodyAction) UnmarshalJSON(b []byte) error

type BatchAddTagsRequestBodyActionEnum

type BatchAddTagsRequestBodyActionEnum struct {
	CREATE BatchAddTagsRequestBodyAction
}

func GetBatchAddTagsRequestBodyActionEnum

func GetBatchAddTagsRequestBodyActionEnum() BatchAddTagsRequestBodyActionEnum

type BatchAddTagsResponse

type BatchAddTagsResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (BatchAddTagsResponse) String

func (o BatchAddTagsResponse) String() string

type BatchCreateProtectedInstancesRequest

type BatchCreateProtectedInstancesRequest struct {
	Body *BatchCreateProtectedInstancesRequestBody `json:"body,omitempty"`
}

Request Object

func (BatchCreateProtectedInstancesRequest) String

type BatchCreateProtectedInstancesRequestBody

type BatchCreateProtectedInstancesRequestBody struct {
	ProtectedInstances *BatchCreateProtectedInstancesRequestParams `json:"protected_instances"`
}

批量创建保护实例请求数据接口

func (BatchCreateProtectedInstancesRequestBody) String

type BatchCreateProtectedInstancesRequestParams

type BatchCreateProtectedInstancesRequestParams struct {
	NamePrefix string `json:"name_prefix"`

	Description *string `json:"description,omitempty"`

	ServerGroupId string `json:"server_group_id"`

	ClusterId *string `json:"cluster_id,omitempty"`

	PrimarySubnetId *string `json:"primary_subnet_id,omitempty"`

	Tenancy *BatchCreateProtectedInstancesRequestParamsTenancy `json:"tenancy,omitempty"`

	DedicatedHostId *string `json:"dedicated_host_id,omitempty"`

	Servers []ServerInfo `json:"servers"`

	Tags *[]ResourceTag `json:"tags,omitempty"`
}

批量创建保护实例请求数据接口

func (BatchCreateProtectedInstancesRequestParams) String

type BatchCreateProtectedInstancesRequestParamsTenancy

type BatchCreateProtectedInstancesRequestParamsTenancy struct {
	// contains filtered or unexported fields
}

func (BatchCreateProtectedInstancesRequestParamsTenancy) MarshalJSON

func (*BatchCreateProtectedInstancesRequestParamsTenancy) UnmarshalJSON

type BatchCreateProtectedInstancesResponse

type BatchCreateProtectedInstancesResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (BatchCreateProtectedInstancesResponse) String

type BatchDeleteProtectedInstancesRequest

type BatchDeleteProtectedInstancesRequest struct {
	Body *BatchDeleteProtectedInstancesRequestBody `json:"body,omitempty"`
}

Request Object

func (BatchDeleteProtectedInstancesRequest) String

type BatchDeleteProtectedInstancesRequestBody

type BatchDeleteProtectedInstancesRequestBody struct {
	ProtectedInstances []ResourceId `json:"protected_instances"`

	DeleteTargetServer *bool `json:"delete_target_server,omitempty"`

	DeleteTargetEip *bool `json:"delete_target_eip,omitempty"`
}

批量删除请求体

func (BatchDeleteProtectedInstancesRequestBody) String

type BatchDeleteProtectedInstancesResponse

type BatchDeleteProtectedInstancesResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (BatchDeleteProtectedInstancesResponse) String

type BatchDeleteTagsRequest

type BatchDeleteTagsRequest struct {
	ProtectedInstanceId string `json:"protected_instance_id"`

	Body *BatchDeleteTagsRequestBody `json:"body,omitempty"`
}

Request Object

func (BatchDeleteTagsRequest) String

func (o BatchDeleteTagsRequest) String() string

type BatchDeleteTagsRequestBody

type BatchDeleteTagsRequestBody struct {
	Tags []DeleteResourceTag `json:"tags"`

	Action BatchDeleteTagsRequestBodyAction `json:"action"`
}

批量删除保护实例标签请求体

func (BatchDeleteTagsRequestBody) String

type BatchDeleteTagsRequestBodyAction

type BatchDeleteTagsRequestBodyAction struct {
	// contains filtered or unexported fields
}

func (BatchDeleteTagsRequestBodyAction) MarshalJSON

func (c BatchDeleteTagsRequestBodyAction) MarshalJSON() ([]byte, error)

func (*BatchDeleteTagsRequestBodyAction) UnmarshalJSON

func (c *BatchDeleteTagsRequestBodyAction) UnmarshalJSON(b []byte) error

type BatchDeleteTagsRequestBodyActionEnum

type BatchDeleteTagsRequestBodyActionEnum struct {
	DELETE BatchDeleteTagsRequestBodyAction
}

func GetBatchDeleteTagsRequestBodyActionEnum

func GetBatchDeleteTagsRequestBodyActionEnum() BatchDeleteTagsRequestBodyActionEnum

type BatchDeleteTagsResponse

type BatchDeleteTagsResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (BatchDeleteTagsResponse) String

func (o BatchDeleteTagsResponse) String() string

type CreateDisasterRecoveryDrillRequest

type CreateDisasterRecoveryDrillRequest struct {
	Body *CreateDisasterRecoveryDrillRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateDisasterRecoveryDrillRequest) String

type CreateDisasterRecoveryDrillRequestBody

type CreateDisasterRecoveryDrillRequestBody struct {
	DisasterRecoveryDrill *CreateDisasterRecoveryDrillRequestParams `json:"disaster_recovery_drill"`
}

创建容灾演练请求体

func (CreateDisasterRecoveryDrillRequestBody) String

type CreateDisasterRecoveryDrillRequestParams

type CreateDisasterRecoveryDrillRequestParams struct {
	ServerGroupId string `json:"server_group_id"`

	DrillVpcId *string `json:"drill_vpc_id,omitempty"`

	Name string `json:"name"`
}

创建容灾演练请求数据结构

func (CreateDisasterRecoveryDrillRequestParams) String

type CreateDisasterRecoveryDrillResponse

type CreateDisasterRecoveryDrillResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateDisasterRecoveryDrillResponse) String

type CreateProtectedInstanceRequest

type CreateProtectedInstanceRequest struct {
	Body *CreateProtectedInstanceRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateProtectedInstanceRequest) String

type CreateProtectedInstanceRequestBody

type CreateProtectedInstanceRequestBody struct {
	ProtectedInstance *CreateProtectedInstanceRequestParams `json:"protected_instance"`
}

创建保护实例请求体

func (CreateProtectedInstanceRequestBody) String

type CreateProtectedInstanceRequestParams

type CreateProtectedInstanceRequestParams struct {
	ServerGroupId string `json:"server_group_id"`

	ServerId string `json:"server_id"`

	Name string `json:"name"`

	Description *string `json:"description,omitempty"`

	ClusterId *string `json:"cluster_id,omitempty"`

	PrimarySubnetId *string `json:"primary_subnet_id,omitempty"`

	PrimaryIpAddress *string `json:"primary_ip_address,omitempty"`

	Tags *[]ResourceTag `json:"tags,omitempty"`

	FlavorRef *string `json:"flavorRef,omitempty"`

	Tenancy *CreateProtectedInstanceRequestParamsTenancy `json:"tenancy,omitempty"`

	DedicatedHostId *string `json:"dedicated_host_id,omitempty"`
}

创建保护实例数据结构

func (CreateProtectedInstanceRequestParams) String

type CreateProtectedInstanceRequestParamsTenancy

type CreateProtectedInstanceRequestParamsTenancy struct {
	// contains filtered or unexported fields
}

func (CreateProtectedInstanceRequestParamsTenancy) MarshalJSON

func (*CreateProtectedInstanceRequestParamsTenancy) UnmarshalJSON

type CreateProtectedInstanceRequestParamsTenancyEnum

type CreateProtectedInstanceRequestParamsTenancyEnum struct {
	SHARED    CreateProtectedInstanceRequestParamsTenancy
	DEDICATED CreateProtectedInstanceRequestParamsTenancy
}

func GetCreateProtectedInstanceRequestParamsTenancyEnum

func GetCreateProtectedInstanceRequestParamsTenancyEnum() CreateProtectedInstanceRequestParamsTenancyEnum

type CreateProtectedInstanceResponse

type CreateProtectedInstanceResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateProtectedInstanceResponse) String

type CreateProtectionGroupRequest

type CreateProtectionGroupRequest struct {
	Body *CreateProtectionGroupRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateProtectionGroupRequest) String

type CreateProtectionGroupRequestBody

type CreateProtectionGroupRequestBody struct {
	ServerGroup *CreateProtectionGroupRequestParams `json:"server_group"`
}

创建保护组请求体

func (CreateProtectionGroupRequestBody) String

type CreateProtectionGroupRequestParams

type CreateProtectionGroupRequestParams struct {
	Name string `json:"name"`

	Description *string `json:"description,omitempty"`

	SourceAvailabilityZone string `json:"source_availability_zone"`

	TargetAvailabilityZone string `json:"target_availability_zone"`

	DomainId string `json:"domain_id"`

	SourceVpcId string `json:"source_vpc_id"`

	DrType *CreateProtectionGroupRequestParamsDrType `json:"dr_type,omitempty"`
}

创建保护组请求体结构

func (CreateProtectionGroupRequestParams) String

type CreateProtectionGroupRequestParamsDrType

type CreateProtectionGroupRequestParamsDrType struct {
	// contains filtered or unexported fields
}

func (CreateProtectionGroupRequestParamsDrType) MarshalJSON

func (*CreateProtectionGroupRequestParamsDrType) UnmarshalJSON

func (c *CreateProtectionGroupRequestParamsDrType) UnmarshalJSON(b []byte) error

type CreateProtectionGroupRequestParamsDrTypeEnum

type CreateProtectionGroupRequestParamsDrTypeEnum struct {
	MIGRATION CreateProtectionGroupRequestParamsDrType
}

func GetCreateProtectionGroupRequestParamsDrTypeEnum

func GetCreateProtectionGroupRequestParamsDrTypeEnum() CreateProtectionGroupRequestParamsDrTypeEnum

type CreateProtectionGroupResponse

type CreateProtectionGroupResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateProtectionGroupResponse) String

type CreateReplicationRequest

type CreateReplicationRequest struct {
	Body *CreateReplicationRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateReplicationRequest) String

func (o CreateReplicationRequest) String() string

type CreateReplicationRequestBody

type CreateReplicationRequestBody struct {
	Replication *CreateReplicationRequestParams `json:"replication"`
}

创建复制对请求体

func (CreateReplicationRequestBody) String

type CreateReplicationRequestParams

type CreateReplicationRequestParams struct {
	ServerGroupId string `json:"server_group_id"`

	VolumeId string `json:"volume_id"`

	Name string `json:"name"`

	Description *string `json:"description,omitempty"`

	ClusterId *string `json:"cluster_id,omitempty"`
}

创建复制对请求体数据结构

func (CreateReplicationRequestParams) String

type CreateReplicationResponse

type CreateReplicationResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateReplicationResponse) String

func (o CreateReplicationResponse) String() string

type DeleteAllServerGroupFailureJobsRequest

type DeleteAllServerGroupFailureJobsRequest struct {
}

Request Object

func (DeleteAllServerGroupFailureJobsRequest) String

type DeleteAllServerGroupFailureJobsResponse

type DeleteAllServerGroupFailureJobsResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteAllServerGroupFailureJobsResponse) String

type DeleteDisasterRecoveryDrillRequest

type DeleteDisasterRecoveryDrillRequest struct {
	DisasterRecoveryDrillId string `json:"disaster_recovery_drill_id"`
}

Request Object

func (DeleteDisasterRecoveryDrillRequest) String

type DeleteDisasterRecoveryDrillResponse

type DeleteDisasterRecoveryDrillResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteDisasterRecoveryDrillResponse) String

type DeleteFailureJobRequest

type DeleteFailureJobRequest struct {
	FailureJobId string `json:"failure_job_id"`
}

Request Object

func (DeleteFailureJobRequest) String

func (o DeleteFailureJobRequest) String() string

type DeleteFailureJobResponse

type DeleteFailureJobResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteFailureJobResponse) String

func (o DeleteFailureJobResponse) String() string

type DeleteProtectedInstanceNicRequest

type DeleteProtectedInstanceNicRequest struct {
	ProtectedInstanceId string `json:"protected_instance_id"`

	Body *ProtectedInstanceDeleteNicRequestBody `json:"body,omitempty"`
}

Request Object

func (DeleteProtectedInstanceNicRequest) String

type DeleteProtectedInstanceNicResponse

type DeleteProtectedInstanceNicResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteProtectedInstanceNicResponse) String

type DeleteProtectedInstanceRequest

type DeleteProtectedInstanceRequest struct {
	ProtectedInstanceId string `json:"protected_instance_id"`

	Body *DeleteProtectedInstanceRequestBody `json:"body,omitempty"`
}

Request Object

func (DeleteProtectedInstanceRequest) String

type DeleteProtectedInstanceRequestBody

type DeleteProtectedInstanceRequestBody struct {
	DeleteTargetServer *bool `json:"delete_target_server,omitempty"`

	DeleteTargetEip *bool `json:"delete_target_eip,omitempty"`
}

删除保护实例请求体

func (DeleteProtectedInstanceRequestBody) String

type DeleteProtectedInstanceResponse

type DeleteProtectedInstanceResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteProtectedInstanceResponse) String

type DeleteProtectedInstanceTagRequest

type DeleteProtectedInstanceTagRequest struct {
	ProtectedInstanceId string `json:"protected_instance_id"`

	Key string `json:"key"`
}

Request Object

func (DeleteProtectedInstanceTagRequest) String

type DeleteProtectedInstanceTagResponse

type DeleteProtectedInstanceTagResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteProtectedInstanceTagResponse) String

type DeleteProtectionGroupRequest

type DeleteProtectionGroupRequest struct {
	ServerGroupId string `json:"server_group_id"`
}

Request Object

func (DeleteProtectionGroupRequest) String

type DeleteProtectionGroupResponse

type DeleteProtectionGroupResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteProtectionGroupResponse) String

type DeleteReplicationRequest

type DeleteReplicationRequest struct {
	ReplicationId string `json:"replication_id"`

	Body *DeleteReplicationRequestBody `json:"body,omitempty"`
}

Request Object

func (DeleteReplicationRequest) String

func (o DeleteReplicationRequest) String() string

type DeleteReplicationRequestBody

type DeleteReplicationRequestBody struct {
	Replication *DeleteReplicationRequestParams `json:"replication"`
}

删除复制对请求体

func (DeleteReplicationRequestBody) String

type DeleteReplicationRequestParams

type DeleteReplicationRequestParams struct {
	ServerGroupId *string `json:"server_group_id,omitempty"`

	DeleteTargetVolume *bool `json:"delete_target_volume,omitempty"`
}

删除复制对请求数据结构

func (DeleteReplicationRequestParams) String

type DeleteReplicationResponse

type DeleteReplicationResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteReplicationResponse) String

func (o DeleteReplicationResponse) String() string

type DeleteResourceTag

type DeleteResourceTag struct {
	Key string `json:"key"`

	Value *string `json:"value,omitempty"`
}

删除单个标签资源结构

func (DeleteResourceTag) String

func (o DeleteResourceTag) String() string

type DeleteServerGroupFailureJobsRequest

type DeleteServerGroupFailureJobsRequest struct {
	ServerGroupId string `json:"server_group_id"`
}

Request Object

func (DeleteServerGroupFailureJobsRequest) String

type DeleteServerGroupFailureJobsResponse

type DeleteServerGroupFailureJobsResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteServerGroupFailureJobsResponse) String

type DetachProtectedInstanceReplicationRequest

type DetachProtectedInstanceReplicationRequest struct {
	ProtectedInstanceId string `json:"protected_instance_id"`

	ReplicationId string `json:"replication_id"`
}

Request Object

func (DetachProtectedInstanceReplicationRequest) String

type DetachProtectedInstanceReplicationResponse

type DetachProtectedInstanceReplicationResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DetachProtectedInstanceReplicationResponse) String

type DrillServerParams

type DrillServerParams struct {
	ProtectedInstance string `json:"protected_instance"`

	DrillServerId string `json:"drill_server_id"`
}

容灾演练虚拟机数据结构

func (DrillServerParams) String

func (o DrillServerParams) String() string

type ExpandReplicationRequest

type ExpandReplicationRequest struct {
	ReplicationId string `json:"replication_id"`

	Body *ExtendReplicationRequestBody `json:"body,omitempty"`
}

Request Object

func (ExpandReplicationRequest) String

func (o ExpandReplicationRequest) String() string

type ExpandReplicationResponse

type ExpandReplicationResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ExpandReplicationResponse) String

func (o ExpandReplicationResponse) String() string

type ExtendReplicationRequestBody

type ExtendReplicationRequestBody struct {
	ExtendReplication *ExtendReplicationRequestParams `json:"extend-replication"`
}

复制对扩容请求体

func (ExtendReplicationRequestBody) String

type ExtendReplicationRequestParams

type ExtendReplicationRequestParams struct {
	NewSize int32 `json:"new_size"`
}

复制对扩容请求数据结构

func (ExtendReplicationRequestParams) String

type FailoverProtectionGroupRequestBody

type FailoverProtectionGroupRequestBody struct {
	FailoverServerGroup *interface{} `json:"failover-server-group"`
}

保护组故障切换请求体

func (FailoverProtectionGroupRequestBody) String

type FailureJobParams

type FailureJobParams struct {
	JobType string `json:"job_type"`

	JobStatus FailureJobParamsJobStatus `json:"job_status"`

	BeginTime string `json:"begin_time"`

	JobId string `json:"job_id"`

	FailureStatus FailureJobParamsFailureStatus `json:"failure_status"`

	ResourceId string `json:"resource_id"`

	ResourceName string `json:"resource_name"`

	ErrorCode string `json:"error_code"`

	FailReason string `json:"fail_reason"`

	ResourceType FailureJobParamsResourceType `json:"resource_type"`
}

失败任务数据结构

func (FailureJobParams) String

func (o FailureJobParams) String() string

type FailureJobParamsFailureStatus

type FailureJobParamsFailureStatus struct {
	// contains filtered or unexported fields
}

func (FailureJobParamsFailureStatus) MarshalJSON

func (c FailureJobParamsFailureStatus) MarshalJSON() ([]byte, error)

func (*FailureJobParamsFailureStatus) UnmarshalJSON

func (c *FailureJobParamsFailureStatus) UnmarshalJSON(b []byte) error

type FailureJobParamsJobStatus

type FailureJobParamsJobStatus struct {
	// contains filtered or unexported fields
}

func (FailureJobParamsJobStatus) MarshalJSON

func (c FailureJobParamsJobStatus) MarshalJSON() ([]byte, error)

func (*FailureJobParamsJobStatus) UnmarshalJSON

func (c *FailureJobParamsJobStatus) UnmarshalJSON(b []byte) error

type FailureJobParamsJobStatusEnum

type FailureJobParamsJobStatusEnum struct {
	FAIL FailureJobParamsJobStatus
}

func GetFailureJobParamsJobStatusEnum

func GetFailureJobParamsJobStatusEnum() FailureJobParamsJobStatusEnum

type FailureJobParamsResourceType

type FailureJobParamsResourceType struct {
	// contains filtered or unexported fields
}

func (FailureJobParamsResourceType) MarshalJSON

func (c FailureJobParamsResourceType) MarshalJSON() ([]byte, error)

func (*FailureJobParamsResourceType) UnmarshalJSON

func (c *FailureJobParamsResourceType) UnmarshalJSON(b []byte) error

type FailureJobParamsResourceTypeEnum

type FailureJobParamsResourceTypeEnum struct {
	SERVER_GROUPS            FailureJobParamsResourceType
	PROTECTED_INSTANCES      FailureJobParamsResourceType
	REPLICATIONS             FailureJobParamsResourceType
	DISASTER_RECOVERY_DRILLS FailureJobParamsResourceType
}

func GetFailureJobParamsResourceTypeEnum

func GetFailureJobParamsResourceTypeEnum() FailureJobParamsResourceTypeEnum

type JobEntities

type JobEntities struct {
	ReplicationPairId *string `json:"replication_pair_id,omitempty"`

	VolumeIds *string `json:"volume_ids,omitempty"`

	ServerGroupId *string `json:"server_group_id,omitempty"`

	ProtectedInstanceId *string `json:"protected_instance_id,omitempty"`

	NativeServerId *string `json:"native_server_id,omitempty"`

	NicId *string `json:"nic_id,omitempty"`

	SubJobs *[]SubJobParams `json:"sub_jobs,omitempty"`
}

func (JobEntities) String

func (o JobEntities) String() string

type ListActiveActiveDomainsRequest

type ListActiveActiveDomainsRequest struct {
}

Request Object

func (ListActiveActiveDomainsRequest) String

type ListActiveActiveDomainsResponse

type ListActiveActiveDomainsResponse struct {
	Domains        *[]ShowActiveActiveDomainParams `json:"domains,omitempty"`
	HttpStatusCode int                             `json:"-"`
}

Response Object

func (ListActiveActiveDomainsResponse) String

type ListApiVersionsRequest

type ListApiVersionsRequest struct {
}

Request Object

func (ListApiVersionsRequest) String

func (o ListApiVersionsRequest) String() string

type ListApiVersionsResponse

type ListApiVersionsResponse struct {
	Versions       *[]ShowApiVersionParams `json:"versions,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

Response Object

func (ListApiVersionsResponse) String

func (o ListApiVersionsResponse) String() string

type ListDisasterRecoveryDrillsRequest

type ListDisasterRecoveryDrillsRequest struct {
	ServerGroupId *string `json:"server_group_id,omitempty"`

	Name *string `json:"name,omitempty"`

	Status *string `json:"status,omitempty"`

	DrillVpcId *string `json:"drill_vpc_id,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`
}

Request Object

func (ListDisasterRecoveryDrillsRequest) String

type ListDisasterRecoveryDrillsResponse

type ListDisasterRecoveryDrillsResponse struct {
	DisasterRecoveryDrills *[]ShowDisasterRecoveryDrillParams `json:"disaster_recovery_drills,omitempty"`

	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListDisasterRecoveryDrillsResponse) String

type ListFailureJobsRequest

type ListFailureJobsRequest struct {
	FailureStatus *ListFailureJobsRequestFailureStatus `json:"failure_status,omitempty"`

	ResourceName *string `json:"resource_name,omitempty"`

	ServerGroupId *string `json:"server_group_id,omitempty"`

	ResourceType *ListFailureJobsRequestResourceType `json:"resource_type,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`
}

Request Object

func (ListFailureJobsRequest) String

func (o ListFailureJobsRequest) String() string

type ListFailureJobsRequestFailureStatus

type ListFailureJobsRequestFailureStatus struct {
	// contains filtered or unexported fields
}

func (ListFailureJobsRequestFailureStatus) MarshalJSON

func (c ListFailureJobsRequestFailureStatus) MarshalJSON() ([]byte, error)

func (*ListFailureJobsRequestFailureStatus) UnmarshalJSON

func (c *ListFailureJobsRequestFailureStatus) UnmarshalJSON(b []byte) error

type ListFailureJobsRequestResourceType

type ListFailureJobsRequestResourceType struct {
	// contains filtered or unexported fields
}

func (ListFailureJobsRequestResourceType) MarshalJSON

func (c ListFailureJobsRequestResourceType) MarshalJSON() ([]byte, error)

func (*ListFailureJobsRequestResourceType) UnmarshalJSON

func (c *ListFailureJobsRequestResourceType) UnmarshalJSON(b []byte) error

type ListFailureJobsRequestResourceTypeEnum

type ListFailureJobsRequestResourceTypeEnum struct {
	SERVER_GROUPS            ListFailureJobsRequestResourceType
	PROTECTED_INSTANCES      ListFailureJobsRequestResourceType
	REPLICATIONS             ListFailureJobsRequestResourceType
	DISASTER_RECOVERY_DRILLS ListFailureJobsRequestResourceType
}

func GetListFailureJobsRequestResourceTypeEnum

func GetListFailureJobsRequestResourceTypeEnum() ListFailureJobsRequestResourceTypeEnum

type ListFailureJobsResponse

type ListFailureJobsResponse struct {
	FailureJobs *[]FailureJobParams `json:"failure_jobs,omitempty"`

	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListFailureJobsResponse) String

func (o ListFailureJobsResponse) String() string

type ListProtectedInstanceTagsRequest

type ListProtectedInstanceTagsRequest struct {
	ProtectedInstanceId string `json:"protected_instance_id"`
}

Request Object

func (ListProtectedInstanceTagsRequest) String

type ListProtectedInstanceTagsResponse

type ListProtectedInstanceTagsResponse struct {
	Tags           *[]ResourceTag `json:"tags,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ListProtectedInstanceTagsResponse) String

type ListProtectedInstancesByTagsRequest

type ListProtectedInstancesByTagsRequest struct {
	Body *ListProtectedInstancesByTagsRequestBody `json:"body,omitempty"`
}

Request Object

func (ListProtectedInstancesByTagsRequest) String

type ListProtectedInstancesByTagsRequestBody

type ListProtectedInstancesByTagsRequestBody struct {
	Tags *[]TagParams `json:"tags,omitempty"`

	TagsAny *[]TagParams `json:"tags_any,omitempty"`

	NotTags *[]TagParams `json:"not_tags,omitempty"`

	NotTagsAny *[]TagParams `json:"not_tags_any,omitempty"`

	Limit *string `json:"limit,omitempty"`

	Offset *string `json:"offset,omitempty"`

	Action ListProtectedInstancesByTagsRequestBodyAction `json:"action"`

	Matches *[]MatchParams `json:"matches,omitempty"`
}

通过标签查询保护实例请求体

func (ListProtectedInstancesByTagsRequestBody) String

type ListProtectedInstancesByTagsRequestBodyAction

type ListProtectedInstancesByTagsRequestBodyAction struct {
	// contains filtered or unexported fields
}

func (ListProtectedInstancesByTagsRequestBodyAction) MarshalJSON

func (*ListProtectedInstancesByTagsRequestBodyAction) UnmarshalJSON

type ListProtectedInstancesByTagsResponse

type ListProtectedInstancesByTagsResponse struct {
	Resources *[]ResourceParams `json:"resources,omitempty"`

	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListProtectedInstancesByTagsResponse) String

type ListProtectedInstancesProjectTagsRequest

type ListProtectedInstancesProjectTagsRequest struct {
}

Request Object

func (ListProtectedInstancesProjectTagsRequest) String

type ListProtectedInstancesProjectTagsResponse

type ListProtectedInstancesProjectTagsResponse struct {
	Tags           *[]TagParams `json:"tags,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ListProtectedInstancesProjectTagsResponse) String

type ListProtectedInstancesRequest

type ListProtectedInstancesRequest struct {
	ServerGroupId *string `json:"server_group_id,omitempty"`

	ServerGroupIds *string `json:"server_group_ids,omitempty"`

	ProtectedInstanceIds *string `json:"protected_instance_ids,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	Status *string `json:"status,omitempty"`

	Name *string `json:"name,omitempty"`

	QueryType *ListProtectedInstancesRequestQueryType `json:"query_type,omitempty"`

	AvailabilityZone *string `json:"availability_zone,omitempty"`
}

Request Object

func (ListProtectedInstancesRequest) String

type ListProtectedInstancesRequestQueryType

type ListProtectedInstancesRequestQueryType struct {
	// contains filtered or unexported fields
}

func (ListProtectedInstancesRequestQueryType) MarshalJSON

func (c ListProtectedInstancesRequestQueryType) MarshalJSON() ([]byte, error)

func (*ListProtectedInstancesRequestQueryType) UnmarshalJSON

func (c *ListProtectedInstancesRequestQueryType) UnmarshalJSON(b []byte) error

type ListProtectedInstancesRequestQueryTypeEnum

type ListProtectedInstancesRequestQueryTypeEnum struct {
	STATUS_ABNORMAL ListProtectedInstancesRequestQueryType
	GENERAL         ListProtectedInstancesRequestQueryType
}

func GetListProtectedInstancesRequestQueryTypeEnum

func GetListProtectedInstancesRequestQueryTypeEnum() ListProtectedInstancesRequestQueryTypeEnum

type ListProtectedInstancesResponse

type ListProtectedInstancesResponse struct {
	ProtectedInstances *[]ShowProtectedInstanceParams `json:"protected_instances,omitempty"`

	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListProtectedInstancesResponse) String

type ListProtectionGroupsRequest

type ListProtectionGroupsRequest struct {
	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	Status *string `json:"status,omitempty"`

	Name *string `json:"name,omitempty"`

	QueryType *ListProtectionGroupsRequestQueryType `json:"query_type,omitempty"`

	AvailabilityZone *string `json:"availability_zone,omitempty"`
}

Request Object

func (ListProtectionGroupsRequest) String

type ListProtectionGroupsRequestQueryType

type ListProtectionGroupsRequestQueryType struct {
	// contains filtered or unexported fields
}

func (ListProtectionGroupsRequestQueryType) MarshalJSON

func (c ListProtectionGroupsRequestQueryType) MarshalJSON() ([]byte, error)

func (*ListProtectionGroupsRequestQueryType) UnmarshalJSON

func (c *ListProtectionGroupsRequestQueryType) UnmarshalJSON(b []byte) error

type ListProtectionGroupsRequestQueryTypeEnum

type ListProtectionGroupsRequestQueryTypeEnum struct {
	STATUS_ABNORMAL    ListProtectionGroupsRequestQueryType
	STOP_PROTECTED     ListProtectionGroupsRequestQueryType
	PERIOD_NO_DR_DRILL ListProtectionGroupsRequestQueryType
	GENERAL            ListProtectionGroupsRequestQueryType
}

func GetListProtectionGroupsRequestQueryTypeEnum

func GetListProtectionGroupsRequestQueryTypeEnum() ListProtectionGroupsRequestQueryTypeEnum

type ListProtectionGroupsResponse

type ListProtectionGroupsResponse struct {
	ServerGroups *[]ShowProtectionGroupParams `json:"server_groups,omitempty"`

	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListProtectionGroupsResponse) String

type ListReplicationsRequest

type ListReplicationsRequest struct {
	ServerGroupId *string `json:"server_group_id,omitempty"`

	ServerGroupIds *string `json:"server_group_ids,omitempty"`

	ProtectedInstanceId *string `json:"protected_instance_id,omitempty"`

	ProtectedInstanceIds *string `json:"protected_instance_ids,omitempty"`

	Name *string `json:"name,omitempty"`

	Status *string `json:"status,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	QueryType *ListReplicationsRequestQueryType `json:"query_type,omitempty"`

	AvailabilityZone *string `json:"availability_zone,omitempty"`
}

Request Object

func (ListReplicationsRequest) String

func (o ListReplicationsRequest) String() string

type ListReplicationsRequestQueryType

type ListReplicationsRequestQueryType struct {
	// contains filtered or unexported fields
}

func (ListReplicationsRequestQueryType) MarshalJSON

func (c ListReplicationsRequestQueryType) MarshalJSON() ([]byte, error)

func (*ListReplicationsRequestQueryType) UnmarshalJSON

func (c *ListReplicationsRequestQueryType) UnmarshalJSON(b []byte) error

type ListReplicationsRequestQueryTypeEnum

type ListReplicationsRequestQueryTypeEnum struct {
	STATUS_ABNORMAL ListReplicationsRequestQueryType
	GENERAL         ListReplicationsRequestQueryType
}

func GetListReplicationsRequestQueryTypeEnum

func GetListReplicationsRequestQueryTypeEnum() ListReplicationsRequestQueryTypeEnum

type ListReplicationsResponse

type ListReplicationsResponse struct {
	Replications *[]ShowReplicationParams `json:"replications,omitempty"`

	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListReplicationsResponse) String

func (o ListReplicationsResponse) String() string

type ListRpoStatisticsRequest

type ListRpoStatisticsRequest struct {
	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	StartTime *string `json:"start_time,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

	ResourceType *string `json:"resource_type,omitempty"`
}

Request Object

func (ListRpoStatisticsRequest) String

func (o ListRpoStatisticsRequest) String() string

type ListRpoStatisticsResponse

type ListRpoStatisticsResponse struct {
	ResourceRpoStatistics *[]RpoStattisticsParams `json:"resource_rpo_statistics,omitempty"`

	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListRpoStatisticsResponse) String

func (o ListRpoStatisticsResponse) String() string

type MatchParams

type MatchParams struct {
	Key string `json:"key"`

	Value string `json:"value"`
}

match数据结构

func (MatchParams) String

func (o MatchParams) String() string

type MetadataParams

type MetadataParams struct {
	SystemFrozen string `json:"__system__frozen"`
}

保护实例元数据数据结构

func (MetadataParams) String

func (o MetadataParams) String() string

type ProtectedInstanceAddNicRequestBody

type ProtectedInstanceAddNicRequestBody struct {
	SubnetId string `json:"subnet_id"`

	SecurityGroups *[]SecurityGroupsParams `json:"security_groups,omitempty"`

	IpAddress *string `json:"ip_address,omitempty"`
}

保护实例添加网卡请求体

func (ProtectedInstanceAddNicRequestBody) String

type ProtectedInstanceAddTagsRequestBody

type ProtectedInstanceAddTagsRequestBody struct {
	Tag *ResourceTag `json:"tag"`
}

添加保护实例标签请求体

func (ProtectedInstanceAddTagsRequestBody) String

type ProtectedInstanceAttachReplicationRequestBody

type ProtectedInstanceAttachReplicationRequestBody struct {
	ReplicationAttachment *ProtectedInstanceAttachReplicationRequestParams `json:"replicationAttachment"`
}

保护实例挂载复制对请求体

func (ProtectedInstanceAttachReplicationRequestBody) String

type ProtectedInstanceAttachReplicationRequestParams

type ProtectedInstanceAttachReplicationRequestParams struct {
	ReplicationId string `json:"replication_id"`

	Device string `json:"device"`
}

保护实例挂载复制对请求数据结构

func (ProtectedInstanceAttachReplicationRequestParams) String

type ProtectedInstanceAttachment

type ProtectedInstanceAttachment struct {
	Replication string `json:"replication"`

	Device string `json:"device"`
}

保护实例挂载信息结构

func (ProtectedInstanceAttachment) String

type ProtectedInstanceDeleteNicRequestBody

type ProtectedInstanceDeleteNicRequestBody struct {
	NicId string `json:"nic_id"`
}

保护实例删除网卡请求体

func (ProtectedInstanceDeleteNicRequestBody) String

type QuotaParams

type QuotaParams struct {
	Resources []QuotaResourceParams `json:"resources"`
}

配额数据结构

func (QuotaParams) String

func (o QuotaParams) String() string

type QuotaResourceParams

type QuotaResourceParams struct {
	Type string `json:"type"`

	Used int32 `json:"used"`

	Quota int32 `json:"quota"`

	Min int32 `json:"min"`

	Max int32 `json:"max"`
}

配额资源数据结构

func (QuotaResourceParams) String

func (o QuotaResourceParams) String() string

type ReplicationAttachment

type ReplicationAttachment struct {
	ProtectedInstance string `json:"protected_instance"`

	Device string `json:"device"`
}

复制对挂载信息数据结构

func (ReplicationAttachment) String

func (o ReplicationAttachment) String() string

type ReplicationClusterParams

type ReplicationClusterParams struct {
	AvailabilityZone string `json:"availability_zone"`
}

复制集群相关参数

func (ReplicationClusterParams) String

func (o ReplicationClusterParams) String() string

type ReplicationRecordMetadata

type ReplicationRecordMetadata struct {
	Multiattach bool `json:"multiattach"`

	Bootable bool `json:"bootable"`

	VolumeSize int32 `json:"volume_size"`

	VolumeType ReplicationRecordMetadataVolumeType `json:"volume_type"`
}

复制对元数据

func (ReplicationRecordMetadata) String

func (o ReplicationRecordMetadata) String() string

type ReplicationRecordMetadataVolumeType

type ReplicationRecordMetadataVolumeType struct {
	// contains filtered or unexported fields
}

func (ReplicationRecordMetadataVolumeType) MarshalJSON

func (c ReplicationRecordMetadataVolumeType) MarshalJSON() ([]byte, error)

func (*ReplicationRecordMetadataVolumeType) UnmarshalJSON

func (c *ReplicationRecordMetadataVolumeType) UnmarshalJSON(b []byte) error

type ResizeProtectedInstanceRequest

type ResizeProtectedInstanceRequest struct {
	ProtectedInstanceId string `json:"protected_instance_id"`

	Body *ResizeProtectedInstanceRequestBody `json:"body,omitempty"`
}

Request Object

func (ResizeProtectedInstanceRequest) String

type ResizeProtectedInstanceRequestBody

type ResizeProtectedInstanceRequestBody struct {
	Resize *ResizeProtectedInstanceRequestParams `json:"resize"`
}

保护实例变更规格请求体

func (ResizeProtectedInstanceRequestBody) String

type ResizeProtectedInstanceRequestParams

type ResizeProtectedInstanceRequestParams struct {
	FlavorRef *string `json:"flavorRef,omitempty"`

	ProductionFlavorRef *string `json:"production_flavorRef,omitempty"`

	DrFlavorRef *string `json:"dr_flavorRef,omitempty"`

	ProductionDedicatedHostId *string `json:"production_dedicated_host_id,omitempty"`

	DrDedicatedHostId *string `json:"dr_dedicated_host_id,omitempty"`
}

保护实例变更规格请求数据结构

func (ResizeProtectedInstanceRequestParams) String

type ResizeProtectedInstanceResponse

type ResizeProtectedInstanceResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ResizeProtectedInstanceResponse) String

type ResourceId

type ResourceId struct {
	Id string `json:"id"`
}

保护实例Id

func (ResourceId) String

func (o ResourceId) String() string

type ResourceParams

type ResourceParams struct {
	ResourceId string `json:"resource_id"`

	ResourceDetail *ShowProtectedInstanceParams `json:"resource_detail"`

	Tags []ResourceTag `json:"tags"`

	ResourceName *string `json:"resource_name,omitempty"`
}

资源参数数据结构

func (ResourceParams) String

func (o ResourceParams) String() string

type ResourceTag

type ResourceTag struct {
	Key string `json:"key"`

	Value string `json:"value"`
}

单个标签资源结构

func (ResourceTag) String

func (o ResourceTag) String() string

type ReverseProtectionGroupRequestBody

type ReverseProtectionGroupRequestBody struct {
	ReverseServerGroup *ReverseProtectionGroupRequestParams `json:"reverse-server-group"`
}

保护组切换请求体

func (ReverseProtectionGroupRequestBody) String

type ReverseProtectionGroupRequestParams

type ReverseProtectionGroupRequestParams struct {
	PriorityStation ReverseProtectionGroupRequestParamsPriorityStation `json:"priority_station"`
}

保护组切换请求参数数据结构

func (ReverseProtectionGroupRequestParams) String

type ReverseProtectionGroupRequestParamsPriorityStation

type ReverseProtectionGroupRequestParamsPriorityStation struct {
	// contains filtered or unexported fields
}

func (ReverseProtectionGroupRequestParamsPriorityStation) MarshalJSON

func (*ReverseProtectionGroupRequestParamsPriorityStation) UnmarshalJSON

type RpoStattisticsParams

type RpoStattisticsParams struct {
	Id string `json:"id"`

	PointTime string `json:"point_time"`

	ResourceNum int32 `json:"resource_num"`

	ResourceType RpoStattisticsParamsResourceType `json:"resource_type"`

	CreatedAt string `json:"created_at"`

	UpdatedAt string `json:"updated_at"`
}

rpo超标记录

func (RpoStattisticsParams) String

func (o RpoStattisticsParams) String() string

type RpoStattisticsParamsResourceType

type RpoStattisticsParamsResourceType struct {
	// contains filtered or unexported fields
}

func (RpoStattisticsParamsResourceType) MarshalJSON

func (c RpoStattisticsParamsResourceType) MarshalJSON() ([]byte, error)

func (*RpoStattisticsParamsResourceType) UnmarshalJSON

func (c *RpoStattisticsParamsResourceType) UnmarshalJSON(b []byte) error

type RpoStattisticsParamsResourceTypeEnum

type RpoStattisticsParamsResourceTypeEnum struct {
	REPLICATION RpoStattisticsParamsResourceType
}

func GetRpoStattisticsParamsResourceTypeEnum

func GetRpoStattisticsParamsResourceTypeEnum() RpoStattisticsParamsResourceTypeEnum

type SecurityGroupsParams

type SecurityGroupsParams struct {
	Id string `json:"id"`
}

安全组数据结构

func (SecurityGroupsParams) String

func (o SecurityGroupsParams) String() string

type ServerInfo

type ServerInfo struct {
	ServerId string `json:"server_id"`

	FlavorRef *string `json:"flavorRef,omitempty"`
}

批量创建保护实例虚拟机信息

func (ServerInfo) String

func (o ServerInfo) String() string

type ShowActiveActiveDomainParams

type ShowActiveActiveDomainParams struct {
	Id string `json:"id"`

	Name string `json:"name"`

	Description string `json:"description"`

	SoldOut bool `json:"sold_out"`

	LocalReplicationCluster *ReplicationClusterParams `json:"local_replication_cluster"`

	RemoteReplicationCluster *ReplicationClusterParams `json:"remote_replication_cluster"`
}

查询双活域响应体结构

func (ShowActiveActiveDomainParams) String

type ShowApiVersionLinksParams

type ShowApiVersionLinksParams struct {
	Rel string `json:"rel"`

	Href string `json:"href"`
}

API的URL地址。

func (ShowApiVersionLinksParams) String

func (o ShowApiVersionLinksParams) String() string

type ShowApiVersionParams

type ShowApiVersionParams struct {
	Id string `json:"id"`

	Links []ShowApiVersionLinksParams `json:"links"`

	Version string `json:"version"`

	Status ShowApiVersionParamsStatus `json:"status"`

	Updated string `json:"updated"`

	MinVersion string `json:"min_version"`
}

查询api版本结构

func (ShowApiVersionParams) String

func (o ShowApiVersionParams) String() string

type ShowApiVersionParamsStatus

type ShowApiVersionParamsStatus struct {
	// contains filtered or unexported fields
}

func (ShowApiVersionParamsStatus) MarshalJSON

func (c ShowApiVersionParamsStatus) MarshalJSON() ([]byte, error)

func (*ShowApiVersionParamsStatus) UnmarshalJSON

func (c *ShowApiVersionParamsStatus) UnmarshalJSON(b []byte) error

type ShowApiVersionParamsStatusEnum

type ShowApiVersionParamsStatusEnum struct {
	CURRENT    ShowApiVersionParamsStatus
	SUPPORTED  ShowApiVersionParamsStatus
	DEPRECATED ShowApiVersionParamsStatus
}

func GetShowApiVersionParamsStatusEnum

func GetShowApiVersionParamsStatusEnum() ShowApiVersionParamsStatusEnum

type ShowDisasterRecoveryDrillParams

type ShowDisasterRecoveryDrillParams struct {
	Id string `json:"id"`

	Name string `json:"name"`

	Status string `json:"status"`

	DrillVpcId string `json:"drill_vpc_id"`

	CreatedAt string `json:"created_at"`

	UpdatedAt string `json:"updated_at"`

	ServerGroupId string `json:"server_group_id"`

	DrillServers []DrillServerParams `json:"drill_servers"`
}

查询容灾演练数据结构

func (ShowDisasterRecoveryDrillParams) String

type ShowDisasterRecoveryDrillRequest

type ShowDisasterRecoveryDrillRequest struct {
	DisasterRecoveryDrillId string `json:"disaster_recovery_drill_id"`
}

Request Object

func (ShowDisasterRecoveryDrillRequest) String

type ShowDisasterRecoveryDrillResponse

type ShowDisasterRecoveryDrillResponse struct {
	DisasterRecoveryDrill *ShowDisasterRecoveryDrillParams `json:"disaster_recovery_drill,omitempty"`
	HttpStatusCode        int                              `json:"-"`
}

Response Object

func (ShowDisasterRecoveryDrillResponse) String

type ShowJobStatusRequest

type ShowJobStatusRequest struct {
	JobId string `json:"job_id"`
}

Request Object

func (ShowJobStatusRequest) String

func (o ShowJobStatusRequest) String() string

type ShowJobStatusResponse

type ShowJobStatusResponse struct {
	Status *ShowJobStatusResponseStatus `json:"status,omitempty"`

	Entities *JobEntities `json:"entities,omitempty"`

	JobId *string `json:"job_id,omitempty"`

	JobType *string `json:"job_type,omitempty"`

	BeginTime *string `json:"begin_time,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	FailReason     *string `json:"fail_reason,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowJobStatusResponse) String

func (o ShowJobStatusResponse) String() string

type ShowJobStatusResponseStatus

type ShowJobStatusResponseStatus struct {
	// contains filtered or unexported fields
}

func (ShowJobStatusResponseStatus) MarshalJSON

func (c ShowJobStatusResponseStatus) MarshalJSON() ([]byte, error)

func (*ShowJobStatusResponseStatus) UnmarshalJSON

func (c *ShowJobStatusResponseStatus) UnmarshalJSON(b []byte) error

type ShowProtectedInstanceParams

type ShowProtectedInstanceParams struct {
	Id string `json:"id"`

	Name string `json:"name"`

	Description string `json:"description"`

	Status string `json:"status"`

	SourceServer string `json:"source_server"`

	TargetServer string `json:"target_server"`

	ServerGroupId string `json:"server_group_id"`

	CreatedAt string `json:"created_at"`

	UpdatedAt string `json:"updated_at"`

	Metadata *MetadataParams `json:"metadata"`

	Attachment []ProtectedInstanceAttachment `json:"attachment"`

	Tags *[]ResourceTag `json:"tags,omitempty"`

	Progress int32 `json:"progress"`

	PriorityStation string `json:"priority_station"`
}

查询保护实例数据结构

func (ShowProtectedInstanceParams) String

type ShowProtectedInstanceRequest

type ShowProtectedInstanceRequest struct {
	ProtectedInstanceId string `json:"protected_instance_id"`
}

Request Object

func (ShowProtectedInstanceRequest) String

type ShowProtectedInstanceResponse

type ShowProtectedInstanceResponse struct {
	ProtectedInstance *ShowProtectedInstanceParams `json:"protected_instance,omitempty"`
	HttpStatusCode    int                          `json:"-"`
}

Response Object

func (ShowProtectedInstanceResponse) String

type ShowProtectionGroupParams

type ShowProtectionGroupParams struct {
	Id string `json:"id"`

	Name string `json:"name"`

	Description string `json:"description"`

	Status string `json:"status"`

	Progress int32 `json:"progress"`

	SourceAvailabilityZone string `json:"source_availability_zone"`

	TargetAvailabilityZone string `json:"target_availability_zone"`

	DomainId string `json:"domain_id"`

	DomainName string `json:"domain_name"`

	PriorityStation string `json:"priority_station"`

	ProtectedInstanceNum int32 `json:"protected_instance_num"`

	ReplicationNum int32 `json:"replication_num"`

	DisasterRecoveryDrillNum int32 `json:"disaster_recovery_drill_num"`

	ProtectedStatus ShowProtectionGroupParamsProtectedStatus `json:"protected_status"`

	ReplicationStatus ShowProtectionGroupParamsReplicationStatus `json:"replication_status"`

	HealthStatus ShowProtectionGroupParamsHealthStatus `json:"health_status"`

	SourceVpcId string `json:"source_vpc_id"`

	TargetVpcId string `json:"target_vpc_id"`

	TestVpcId string `json:"test_vpc_id"`

	DrType string `json:"dr_type"`

	CreatedAt string `json:"created_at"`

	UpdatedAt string `json:"updated_at"`

	ProtectionType ShowProtectionGroupParamsProtectionType `json:"protection_type"`

	ReplicationModel string `json:"replication_model"`

	ServerType string `json:"server_type"`
}

查询保护组数据结构

func (ShowProtectionGroupParams) String

func (o ShowProtectionGroupParams) String() string

type ShowProtectionGroupParamsHealthStatus

type ShowProtectionGroupParamsHealthStatus struct {
	// contains filtered or unexported fields
}

func (ShowProtectionGroupParamsHealthStatus) MarshalJSON

func (c ShowProtectionGroupParamsHealthStatus) MarshalJSON() ([]byte, error)

func (*ShowProtectionGroupParamsHealthStatus) UnmarshalJSON

func (c *ShowProtectionGroupParamsHealthStatus) UnmarshalJSON(b []byte) error

type ShowProtectionGroupParamsProtectedStatus

type ShowProtectionGroupParamsProtectedStatus struct {
	// contains filtered or unexported fields
}

func (ShowProtectionGroupParamsProtectedStatus) MarshalJSON

func (*ShowProtectionGroupParamsProtectedStatus) UnmarshalJSON

func (c *ShowProtectionGroupParamsProtectedStatus) UnmarshalJSON(b []byte) error

type ShowProtectionGroupParamsProtectedStatusEnum

type ShowProtectionGroupParamsProtectedStatusEnum struct {
	STARTED ShowProtectionGroupParamsProtectedStatus
	STOPPED ShowProtectionGroupParamsProtectedStatus
}

func GetShowProtectionGroupParamsProtectedStatusEnum

func GetShowProtectionGroupParamsProtectedStatusEnum() ShowProtectionGroupParamsProtectedStatusEnum

type ShowProtectionGroupParamsProtectionType

type ShowProtectionGroupParamsProtectionType struct {
	// contains filtered or unexported fields
}

func (ShowProtectionGroupParamsProtectionType) MarshalJSON

func (c ShowProtectionGroupParamsProtectionType) MarshalJSON() ([]byte, error)

func (*ShowProtectionGroupParamsProtectionType) UnmarshalJSON

func (c *ShowProtectionGroupParamsProtectionType) UnmarshalJSON(b []byte) error

type ShowProtectionGroupParamsProtectionTypeEnum

type ShowProtectionGroupParamsProtectionTypeEnum struct {
	REPLICATION_PAIR ShowProtectionGroupParamsProtectionType
	NULL             ShowProtectionGroupParamsProtectionType
}

func GetShowProtectionGroupParamsProtectionTypeEnum

func GetShowProtectionGroupParamsProtectionTypeEnum() ShowProtectionGroupParamsProtectionTypeEnum

type ShowProtectionGroupParamsReplicationStatus

type ShowProtectionGroupParamsReplicationStatus struct {
	// contains filtered or unexported fields
}

func (ShowProtectionGroupParamsReplicationStatus) MarshalJSON

func (*ShowProtectionGroupParamsReplicationStatus) UnmarshalJSON

type ShowProtectionGroupRequest

type ShowProtectionGroupRequest struct {
	ServerGroupId string `json:"server_group_id"`
}

Request Object

func (ShowProtectionGroupRequest) String

type ShowProtectionGroupResponse

type ShowProtectionGroupResponse struct {
	ServerGroup    *ShowProtectionGroupParams `json:"server_group,omitempty"`
	HttpStatusCode int                        `json:"-"`
}

Response Object

func (ShowProtectionGroupResponse) String

type ShowQuotaRequest

type ShowQuotaRequest struct {
}

Request Object

func (ShowQuotaRequest) String

func (o ShowQuotaRequest) String() string

type ShowQuotaResponse

type ShowQuotaResponse struct {
	Quotas         *QuotaParams `json:"quotas,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ShowQuotaResponse) String

func (o ShowQuotaResponse) String() string

type ShowReplicationParams

type ShowReplicationParams struct {
	Id string `json:"id"`

	Name string `json:"name"`

	Description string `json:"description"`

	Status string `json:"status"`

	VolumeIds string `json:"volume_ids"`

	Attachment []ReplicationAttachment `json:"attachment"`

	CreatedAt string `json:"created_at"`

	UpdatedAt string `json:"updated_at"`

	ReplicationModel string `json:"replication_model"`

	Progress int32 `json:"progress"`

	FailureDetail string `json:"failure_detail"`

	RecordMetadata *ReplicationRecordMetadata `json:"record_metadata"`

	FaultLevel string `json:"fault_level"`

	ServerGroupId string `json:"server_group_id"`

	PriorityStation string `json:"priority_station"`

	ReplicationStatus ShowReplicationParamsReplicationStatus `json:"replication_status"`
}

查询复制对数据结构

func (ShowReplicationParams) String

func (o ShowReplicationParams) String() string

type ShowReplicationParamsReplicationStatus

type ShowReplicationParamsReplicationStatus struct {
	// contains filtered or unexported fields
}

func (ShowReplicationParamsReplicationStatus) MarshalJSON

func (c ShowReplicationParamsReplicationStatus) MarshalJSON() ([]byte, error)

func (*ShowReplicationParamsReplicationStatus) UnmarshalJSON

func (c *ShowReplicationParamsReplicationStatus) UnmarshalJSON(b []byte) error

type ShowReplicationRequest

type ShowReplicationRequest struct {
	ReplicationId string `json:"replication_id"`
}

Request Object

func (ShowReplicationRequest) String

func (o ShowReplicationRequest) String() string

type ShowReplicationResponse

type ShowReplicationResponse struct {
	Replication    *ShowReplicationParams `json:"replication,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ShowReplicationResponse) String

func (o ShowReplicationResponse) String() string

type ShowSpecifiedApiVersionRequest

type ShowSpecifiedApiVersionRequest struct {
	ApiVersion string `json:"api_version"`
}

Request Object

func (ShowSpecifiedApiVersionRequest) String

type ShowSpecifiedApiVersionResponse

type ShowSpecifiedApiVersionResponse struct {
	Version        *ShowApiVersionParams `json:"version,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (ShowSpecifiedApiVersionResponse) String

type StartFailoverProtectionGroupRequest

type StartFailoverProtectionGroupRequest struct {
	ServerGroupId string `json:"server_group_id"`

	Body *FailoverProtectionGroupRequestBody `json:"body,omitempty"`
}

Request Object

func (StartFailoverProtectionGroupRequest) String

type StartFailoverProtectionGroupResponse

type StartFailoverProtectionGroupResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (StartFailoverProtectionGroupResponse) String

type StartProtectionGroupRequest

type StartProtectionGroupRequest struct {
	ServerGroupId string `json:"server_group_id"`

	Body *StartProtectionGroupRequestBody `json:"body,omitempty"`
}

Request Object

func (StartProtectionGroupRequest) String

type StartProtectionGroupRequestBody

type StartProtectionGroupRequestBody struct {
	StartServerGroup *interface{} `json:"start-server-group"`
}

开启保护/重保护请求体

func (StartProtectionGroupRequestBody) String

type StartProtectionGroupResponse

type StartProtectionGroupResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (StartProtectionGroupResponse) String

type StartReverseProtectionGroupRequest

type StartReverseProtectionGroupRequest struct {
	ServerGroupId string `json:"server_group_id"`

	Body *ReverseProtectionGroupRequestBody `json:"body,omitempty"`
}

Request Object

func (StartReverseProtectionGroupRequest) String

type StartReverseProtectionGroupResponse

type StartReverseProtectionGroupResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (StartReverseProtectionGroupResponse) String

type StopProtectionGroupRequest

type StopProtectionGroupRequest struct {
	ServerGroupId string `json:"server_group_id"`

	Body *StopProtectionGroupRequestBody `json:"body,omitempty"`
}

Request Object

func (StopProtectionGroupRequest) String

type StopProtectionGroupRequestBody

type StopProtectionGroupRequestBody struct {
	StopServerGroup *interface{} `json:"stop-server-group"`
}

保护组停止保护请求体

func (StopProtectionGroupRequestBody) String

type StopProtectionGroupResponse

type StopProtectionGroupResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (StopProtectionGroupResponse) String

type SubJobEntities

type SubJobEntities struct {
	ReplicationPairId *string `json:"replication_pair_id,omitempty"`

	VolumeIds *string `json:"volume_ids,omitempty"`

	ServerGroupId *string `json:"server_group_id,omitempty"`

	ProtectedInstanceId *string `json:"protected_instance_id,omitempty"`

	NativeServerId *string `json:"native_server_id,omitempty"`

	NicId *string `json:"nic_id,omitempty"`
}

func (SubJobEntities) String

func (o SubJobEntities) String() string

type SubJobParams

type SubJobParams struct {
	Status SubJobParamsStatus `json:"status"`

	Entities *SubJobEntities `json:"entities"`

	JobId string `json:"job_id"`

	JobType string `json:"job_type"`

	BeginTime string `json:"begin_time"`

	EndTime string `json:"end_time"`

	ErrorCode string `json:"error_code"`

	FailReason string `json:"fail_reason"`
}

func (SubJobParams) String

func (o SubJobParams) String() string

type SubJobParamsStatus

type SubJobParamsStatus struct {
	// contains filtered or unexported fields
}

func (SubJobParamsStatus) MarshalJSON

func (c SubJobParamsStatus) MarshalJSON() ([]byte, error)

func (*SubJobParamsStatus) UnmarshalJSON

func (c *SubJobParamsStatus) UnmarshalJSON(b []byte) error

type SubJobParamsStatusEnum

type SubJobParamsStatusEnum struct {
	SUCCESS SubJobParamsStatus
	RUNNING SubJobParamsStatus
	FAIL    SubJobParamsStatus
	INIT    SubJobParamsStatus
}

func GetSubJobParamsStatusEnum

func GetSubJobParamsStatusEnum() SubJobParamsStatusEnum

type TagParams

type TagParams struct {
	Key string `json:"key"`

	Values []string `json:"values"`
}

值为列表的tag结构

func (TagParams) String

func (o TagParams) String() string

type UpdateDisasterRecoveryDrillNameRequest

type UpdateDisasterRecoveryDrillNameRequest struct {
	DisasterRecoveryDrillId string `json:"disaster_recovery_drill_id"`

	Body *UpdateDisasterRecoveryDrillNameRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateDisasterRecoveryDrillNameRequest) String

type UpdateDisasterRecoveryDrillNameRequestBody

type UpdateDisasterRecoveryDrillNameRequestBody struct {
	DisasterRecoveryDrill *UpdateDisasterRecoveryDrillNameRequestParams `json:"disaster_recovery_drill"`
}

更新容灾演练名称请求体

func (UpdateDisasterRecoveryDrillNameRequestBody) String

type UpdateDisasterRecoveryDrillNameRequestParams

type UpdateDisasterRecoveryDrillNameRequestParams struct {
	Name string `json:"name"`
}

更新容灾演练名称数据结构

func (UpdateDisasterRecoveryDrillNameRequestParams) String

type UpdateDisasterRecoveryDrillNameResponse

type UpdateDisasterRecoveryDrillNameResponse struct {
	DisasterRecoveryDrill *ShowDisasterRecoveryDrillParams `json:"disaster_recovery_drill,omitempty"`
	HttpStatusCode        int                              `json:"-"`
}

Response Object

func (UpdateDisasterRecoveryDrillNameResponse) String

type UpdateProtectedInstanceNameRequest

type UpdateProtectedInstanceNameRequest struct {
	ProtectedInstanceId string `json:"protected_instance_id"`

	Body *UpdateProtectedInstanceNameRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateProtectedInstanceNameRequest) String

type UpdateProtectedInstanceNameRequestBody

type UpdateProtectedInstanceNameRequestBody struct {
	ProtectedInstance *UpdateProtectedInstanceNameRequestParams `json:"protected_instance"`
}

更新保护实例名称请求体

func (UpdateProtectedInstanceNameRequestBody) String

type UpdateProtectedInstanceNameRequestParams

type UpdateProtectedInstanceNameRequestParams struct {
	Name string `json:"name"`
}

更新保护实例名称请求数据结构

func (UpdateProtectedInstanceNameRequestParams) String

type UpdateProtectedInstanceNameResponse

type UpdateProtectedInstanceNameResponse struct {
	ProtectedInstance *ShowProtectedInstanceParams `json:"protected_instance,omitempty"`
	HttpStatusCode    int                          `json:"-"`
}

Response Object

func (UpdateProtectedInstanceNameResponse) String

type UpdateProtectionGroupNameRequest

type UpdateProtectionGroupNameRequest struct {
	ServerGroupId string `json:"server_group_id"`

	Body *UpdateProtectionGroupNameRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateProtectionGroupNameRequest) String

type UpdateProtectionGroupNameRequestBody

type UpdateProtectionGroupNameRequestBody struct {
	ServerGroup *UpdateProtectionGroupNameRequestParams `json:"server_group"`
}

更新保护组名称请求体

func (UpdateProtectionGroupNameRequestBody) String

type UpdateProtectionGroupNameRequestParams

type UpdateProtectionGroupNameRequestParams struct {
	Name string `json:"name"`
}

更新保护组名称请求数据结构

func (UpdateProtectionGroupNameRequestParams) String

type UpdateProtectionGroupNameResponse

type UpdateProtectionGroupNameResponse struct {
	ServerGroup    *ShowProtectionGroupParams `json:"server_group,omitempty"`
	HttpStatusCode int                        `json:"-"`
}

Response Object

func (UpdateProtectionGroupNameResponse) String

type UpdateReplicationNameRequest

type UpdateReplicationNameRequest struct {
	ReplicationId string `json:"replication_id"`

	Body *UpdateReplicationNameRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateReplicationNameRequest) String

type UpdateReplicationNameRequestBody

type UpdateReplicationNameRequestBody struct {
	Replication *UpdateReplicationNameRequestParams `json:"replication"`
}

更新复制对名称请求体

func (UpdateReplicationNameRequestBody) String

type UpdateReplicationNameRequestParams

type UpdateReplicationNameRequestParams struct {
	Name string `json:"name"`
}

更新复制对名称请求体数据结构

func (UpdateReplicationNameRequestParams) String

type UpdateReplicationNameResponse

type UpdateReplicationNameResponse struct {
	Replication    *ShowReplicationParams `json:"replication,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (UpdateReplicationNameResponse) String

Source Files

Jump to

Keyboard shortcuts

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