model

package
v0.0.50 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 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 AddShardingNodeRequest

type AddShardingNodeRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (AddShardingNodeRequest) String

func (o AddShardingNodeRequest) String() string

type AddShardingNodeResponse

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

Response Object

func (AddShardingNodeResponse) String

func (o AddShardingNodeResponse) String() string

type AddShardingNodeVolumeOption

type AddShardingNodeVolumeOption struct {
	Size string `json:"size"`
}

func (AddShardingNodeVolumeOption) String

type ApiVersion

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

	Links []Links `json:"links"`

	Status string `json:"status"`

	Version string `json:"version"`

	MinVersion string `json:"min_version"`

	Updated string `json:"updated"`
}

API版本详细信息列表。

func (ApiVersion) String

func (o ApiVersion) String() string

type AttachEipRequest

type AttachEipRequest struct {
	NodeId string `json:"node_id"`

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

Request Object

func (AttachEipRequest) String

func (o AttachEipRequest) String() string

type AttachEipRequestBody

type AttachEipRequestBody struct {
	PublicIpId string `json:"public_ip_id"`

	PublicIp string `json:"public_ip"`
}

func (AttachEipRequestBody) String

func (o AttachEipRequestBody) String() string

type AttachEipResponse

type AttachEipResponse struct {
	JobId *string `json:"job_id,omitempty"`

	NodeId *string `json:"node_id,omitempty"`

	NodeName *string `json:"node_name,omitempty"`

	PublicIpId *string `json:"public_ip_id,omitempty"`

	PublicIp       *string `json:"public_ip,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (AttachEipResponse) String

func (o AttachEipResponse) String() string

type AttachInternalIpRequest

type AttachInternalIpRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (AttachInternalIpRequest) String

func (o AttachInternalIpRequest) String() string

type AttachInternalIpRequestBody

type AttachInternalIpRequestBody struct {
	NodeId string `json:"node_id"`

	NewIp string `json:"new_ip"`
}

func (AttachInternalIpRequestBody) String

type AttachInternalIpResponse

type AttachInternalIpResponse struct {
	JobId *string `json:"job_id,omitempty"`

	NodeId *string `json:"node_id,omitempty"`

	NewIp          *string `json:"new_ip,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (AttachInternalIpResponse) String

func (o AttachInternalIpResponse) String() string

type Az2Migrate

type Az2Migrate struct {
	Code string `json:"code"`

	Description string `json:"description"`

	Status string `json:"status"`
}

规格信息。

func (Az2Migrate) String

func (o Az2Migrate) String() string

type BackupDatabase

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

	Version string `json:"version"`
}

func (BackupDatabase) String

func (o BackupDatabase) String() string

type BackupForList

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

	Name string `json:"name"`

	InstanceId string `json:"instance_id"`

	InstanceName string `json:"instance_name"`

	Datastore *BackupDatabase `json:"datastore"`

	Type BackupForListType `json:"type"`

	BeginTime string `json:"begin_time"`

	EndTime string `json:"end_time"`

	Status BackupForListStatus `json:"status"`

	Size int64 `json:"size"`

	Description string `json:"description"`
}

备份信息。

func (BackupForList) String

func (o BackupForList) String() string

type BackupForListStatus

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

func (BackupForListStatus) MarshalJSON

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

func (*BackupForListStatus) UnmarshalJSON

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

type BackupForListStatusEnum

type BackupForListStatusEnum struct {
	BUILDING  BackupForListStatus
	COMPLETED BackupForListStatus
	FAILED    BackupForListStatus
	DELETING  BackupForListStatus
}

func GetBackupForListStatusEnum

func GetBackupForListStatusEnum() BackupForListStatusEnum

type BackupForListType

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

func (BackupForListType) MarshalJSON

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

func (*BackupForListType) UnmarshalJSON

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

type BackupForListTypeEnum

type BackupForListTypeEnum struct {
	AUTO        BackupForListType
	MANUAL      BackupForListType
	FRAGMENT    BackupForListType
	INCREMENTAL BackupForListType
}

func GetBackupForListTypeEnum

func GetBackupForListTypeEnum() BackupForListTypeEnum

type BackupPolicy

type BackupPolicy struct {
	KeepDays string `json:"keep_days"`

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

	Period *string `json:"period,omitempty"`
}

备份策略对象,包括备份保留的天数和备份开始时间。

func (BackupPolicy) String

func (o BackupPolicy) String() string

type BackupPolicyItem

type BackupPolicyItem struct {
	KeepDays int32 `json:"keep_days"`

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

	Period *string `json:"period,omitempty"`
}

备份策略对象,包括备份保留的天数和备份开始时间。

func (BackupPolicyItem) String

func (o BackupPolicyItem) String() string

type BackupStrategy

type BackupStrategy struct {
	StartTime string `json:"start_time"`

	KeepDays *string `json:"keep_days,omitempty"`
}

高级备份策略。

func (BackupStrategy) String

func (o BackupStrategy) String() string

type BackupStrategyForItemResponse

type BackupStrategyForItemResponse struct {
	StartTime string `json:"start_time"`

	KeepDays int32 `json:"keep_days"`
}

自动备份策略。

func (BackupStrategyForItemResponse) String

type BalancerActiveWindow

type BalancerActiveWindow struct {
	StartTime string `json:"start_time"`

	StopTime string `json:"stop_time"`
}

活动时间窗设置。

func (BalancerActiveWindow) String

func (o BalancerActiveWindow) String() string

type BatchOperateInstanceTagRequestBody

type BatchOperateInstanceTagRequestBody struct {
	Action BatchOperateInstanceTagRequestBodyAction `json:"action"`

	Tags []TagItem `json:"tags"`
}

func (BatchOperateInstanceTagRequestBody) String

type BatchOperateInstanceTagRequestBodyAction

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

func (BatchOperateInstanceTagRequestBodyAction) MarshalJSON

func (*BatchOperateInstanceTagRequestBodyAction) UnmarshalJSON

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

type BatchOperateInstanceTagRequestBodyActionEnum

type BatchOperateInstanceTagRequestBodyActionEnum struct {
	CREATE BatchOperateInstanceTagRequestBodyAction
	DELETE BatchOperateInstanceTagRequestBodyAction
}

func GetBatchOperateInstanceTagRequestBodyActionEnum

func GetBatchOperateInstanceTagRequestBodyActionEnum() BatchOperateInstanceTagRequestBodyActionEnum

type BatchTagActionRequest

type BatchTagActionRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (BatchTagActionRequest) String

func (o BatchTagActionRequest) String() string

type BatchTagActionResponse

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

Response Object

func (BatchTagActionResponse) String

func (o BatchTagActionResponse) String() string

type CancelEipRequest

type CancelEipRequest struct {
	NodeId string `json:"node_id"`
}

Request Object

func (CancelEipRequest) String

func (o CancelEipRequest) String() string

type CancelEipResponse

type CancelEipResponse struct {
	JobId *string `json:"job_id,omitempty"`

	NodeId *string `json:"node_id,omitempty"`

	NodeName       *string `json:"node_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CancelEipResponse) String

func (o CancelEipResponse) String() string

type CheckPasswordRequest

type CheckPasswordRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (CheckPasswordRequest) String

func (o CheckPasswordRequest) String() string

type CheckPasswordRequestBody

type CheckPasswordRequestBody struct {
	UserPwd string `json:"user_pwd"`

	UserName *string `json:"user_name,omitempty"`

	DbName *string `json:"db_name,omitempty"`
}

func (CheckPasswordRequestBody) String

func (o CheckPasswordRequestBody) String() string

type CheckPasswordResponse

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

Response Object

func (CheckPasswordResponse) String

func (o CheckPasswordResponse) String() string

type CreateDatabaseRoleRequest

type CreateDatabaseRoleRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (CreateDatabaseRoleRequest) String

func (o CreateDatabaseRoleRequest) String() string

type CreateDatabaseRoleRequestBody

type CreateDatabaseRoleRequestBody struct {
	RoleName string `json:"role_name"`

	DbName *string `json:"db_name,omitempty"`

	Roles *[]RolesOption `json:"roles,omitempty"`
}

func (CreateDatabaseRoleRequestBody) String

type CreateDatabaseRoleResponse

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

Response Object

func (CreateDatabaseRoleResponse) String

type CreateDatabaseUserRequest

type CreateDatabaseUserRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (CreateDatabaseUserRequest) String

func (o CreateDatabaseUserRequest) String() string

type CreateDatabaseUserRequestBody

type CreateDatabaseUserRequestBody struct {
	UserName string `json:"user_name"`

	UserPwd string `json:"user_pwd"`

	DbName *string `json:"db_name,omitempty"`

	Roles []RolesOption `json:"roles"`
}

func (CreateDatabaseUserRequestBody) String

type CreateDatabaseUserResponse

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

Response Object

func (CreateDatabaseUserResponse) String

type CreateInstanceFlavorOption

type CreateInstanceFlavorOption struct {
	Type CreateInstanceFlavorOptionType `json:"type"`

	Num string `json:"num"`

	Storage *string `json:"storage,omitempty"`

	Size *string `json:"size,omitempty"`

	SpecCode string `json:"spec_code"`
}

实例规格详情。

func (CreateInstanceFlavorOption) String

type CreateInstanceFlavorOptionType

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

func (CreateInstanceFlavorOptionType) MarshalJSON

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

func (*CreateInstanceFlavorOptionType) UnmarshalJSON

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

type CreateInstanceRequest

type CreateInstanceRequest struct {
	Body *CreateInstanceRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateInstanceRequest) String

func (o CreateInstanceRequest) String() string

type CreateInstanceRequestBody

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

	Datastore *Datastore `json:"datastore"`

	Region string `json:"region"`

	AvailabilityZone string `json:"availability_zone"`

	VpcId string `json:"vpc_id"`

	SubnetId string `json:"subnet_id"`

	SecurityGroupId string `json:"security_group_id"`

	Password *string `json:"password,omitempty"`

	DiskEncryptionId *string `json:"disk_encryption_id,omitempty"`

	Mode string `json:"mode"`

	Flavor []CreateInstanceFlavorOption `json:"flavor"`

	BackupStrategy *BackupStrategy `json:"backup_strategy,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	SslOption *string `json:"ssl_option,omitempty"`

	DssPoolId *string `json:"dss_pool_id,omitempty"`

	ServerGroupPolicies *[]string `json:"server_group_policies,omitempty"`
}

实例信息。

func (CreateInstanceRequestBody) String

func (o CreateInstanceRequestBody) String() string

type CreateInstanceResponse

type CreateInstanceResponse struct {
	Id *string `json:"id,omitempty"`

	Datastore *Datastore `json:"datastore,omitempty"`

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

	Created *string `json:"created,omitempty"`

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

	Region *string `json:"region,omitempty"`

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

	VpcId *string `json:"vpc_id,omitempty"`

	SubnetId *string `json:"subnet_id,omitempty"`

	SecurityGroupId *string `json:"security_group_id,omitempty"`

	DiskEncryptionId *string `json:"disk_encryption_id,omitempty"`

	Mode *string `json:"mode,omitempty"`

	Flavor *[]CreateInstanceFlavorOption `json:"flavor,omitempty"`

	BackupStrategy *BackupStrategy `json:"backup_strategy,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	SslOption *string `json:"ssl_option,omitempty"`

	DssPoolId *string `json:"dss_pool_id,omitempty"`

	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateInstanceResponse) String

func (o CreateInstanceResponse) String() string

type CreateIpRequest

type CreateIpRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (CreateIpRequest) String

func (o CreateIpRequest) String() string

type CreateIpRequestBody

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

	TargetId *string `json:"target_id,omitempty"`

	Password string `json:"password"`
}

func (CreateIpRequestBody) String

func (o CreateIpRequestBody) String() string

type CreateIpResponse

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

Response Object

func (CreateIpResponse) String

func (o CreateIpResponse) String() string

type CreateManualBackupOption

type CreateManualBackupOption struct {
	InstanceId string `json:"instance_id"`

	Name string `json:"name"`

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

备份参数对象。

func (CreateManualBackupOption) String

func (o CreateManualBackupOption) String() string

type CreateManualBackupRequest

type CreateManualBackupRequest struct {
	Body *CreateManualBackupRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateManualBackupRequest) String

func (o CreateManualBackupRequest) String() string

type CreateManualBackupRequestBody

type CreateManualBackupRequestBody struct {
	Backup *CreateManualBackupOption `json:"backup"`
}

func (CreateManualBackupRequestBody) String

type CreateManualBackupResponse

type CreateManualBackupResponse struct {
	BackupId       *string `json:"backup_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateManualBackupResponse) String

type Datastore

type Datastore struct {
	Type DatastoreType `json:"type"`

	Version string `json:"version"`

	StorageEngine DatastoreStorageEngine `json:"storage_engine"`
}

数据库信息。

func (Datastore) String

func (o Datastore) String() string

type DatastoreItem

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

	Version string `json:"version"`
}

数据库信息。

func (DatastoreItem) String

func (o DatastoreItem) String() string

type DatastoreStorageEngine

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

func (DatastoreStorageEngine) MarshalJSON

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

func (*DatastoreStorageEngine) UnmarshalJSON

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

type DatastoreStorageEngineEnum

type DatastoreStorageEngineEnum struct {
	WIRED_TIGER DatastoreStorageEngine
	ROCKS_DB    DatastoreStorageEngine
}

func GetDatastoreStorageEngineEnum

func GetDatastoreStorageEngineEnum() DatastoreStorageEngineEnum

type DatastoreType

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

func (DatastoreType) MarshalJSON

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

func (*DatastoreType) UnmarshalJSON

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

type DatastoreTypeEnum

type DatastoreTypeEnum struct {
	DDS_COMMUNITY DatastoreType
}

func GetDatastoreTypeEnum

func GetDatastoreTypeEnum() DatastoreTypeEnum

type DeleteDatabaseRoleRequest

type DeleteDatabaseRoleRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (DeleteDatabaseRoleRequest) String

func (o DeleteDatabaseRoleRequest) String() string

type DeleteDatabaseRoleRequestBody

type DeleteDatabaseRoleRequestBody struct {
	RoleName string `json:"role_name"`

	DbName string `json:"db_name"`
}

func (DeleteDatabaseRoleRequestBody) String

type DeleteDatabaseRoleResponse

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

Response Object

func (DeleteDatabaseRoleResponse) String

type DeleteDatabaseUserRequest

type DeleteDatabaseUserRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (DeleteDatabaseUserRequest) String

func (o DeleteDatabaseUserRequest) String() string

type DeleteDatabaseUserRequestBody

type DeleteDatabaseUserRequestBody struct {
	UserName string `json:"user_name"`

	DbName string `json:"db_name"`
}

func (DeleteDatabaseUserRequestBody) String

type DeleteDatabaseUserResponse

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

Response Object

func (DeleteDatabaseUserResponse) String

type DeleteInstanceRequest

type DeleteInstanceRequest struct {
	InstanceId string `json:"instance_id"`
}

Request Object

func (DeleteInstanceRequest) String

func (o DeleteInstanceRequest) String() string

type DeleteInstanceResponse

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

Response Object

func (DeleteInstanceResponse) String

func (o DeleteInstanceResponse) String() string

type DeleteManualBackupRequest

type DeleteManualBackupRequest struct {
	BackupId string `json:"backup_id"`
}

Request Object

func (DeleteManualBackupRequest) String

func (o DeleteManualBackupRequest) String() string

type DeleteManualBackupResponse

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

Response Object

func (DeleteManualBackupResponse) String

type DeleteSessionRequest

type DeleteSessionRequest struct {
	NodeId string `json:"node_id"`

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

Request Object

func (DeleteSessionRequest) String

func (o DeleteSessionRequest) String() string

type DeleteSessionRequestBody

type DeleteSessionRequestBody struct {
	Sessions []string `json:"sessions"`
}

func (DeleteSessionRequestBody) String

func (o DeleteSessionRequestBody) String() string

type DeleteSessionResponse

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

Response Object

func (DeleteSessionResponse) String

func (o DeleteSessionResponse) String() string

type DownloadErrorlogRequest

type DownloadErrorlogRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (DownloadErrorlogRequest) String

func (o DownloadErrorlogRequest) String() string

type DownloadErrorlogRequestBody

type DownloadErrorlogRequestBody struct {
	FileNameList *[]string `json:"file_name_list,omitempty"`

	NodeIdList *[]string `json:"node_id_list,omitempty"`
}

func (DownloadErrorlogRequestBody) String

type DownloadErrorlogResponse

type DownloadErrorlogResponse struct {
	List *[]DownloadSlowlogResult `json:"list,omitempty"`

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

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

Response Object

func (DownloadErrorlogResponse) String

func (o DownloadErrorlogResponse) String() string

type DownloadSlowlogRequest

type DownloadSlowlogRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (DownloadSlowlogRequest) String

func (o DownloadSlowlogRequest) String() string

type DownloadSlowlogRequestBody

type DownloadSlowlogRequestBody struct {
	FileNameList *[]string `json:"file_name_list,omitempty"`

	NodeIdList *[]string `json:"node_id_list,omitempty"`
}

func (DownloadSlowlogRequestBody) String

type DownloadSlowlogResponse

type DownloadSlowlogResponse struct {
	List *[]DownloadSlowlogResult `json:"list,omitempty"`

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

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

Response Object

func (DownloadSlowlogResponse) String

func (o DownloadSlowlogResponse) String() string

type DownloadSlowlogResult

type DownloadSlowlogResult struct {
	NodeName string `json:"node_name"`

	FileName string `json:"file_name"`

	Status string `json:"status"`

	FileSize string `json:"file_size"`

	FileLink string `json:"file_link"`

	UpdateAt int64 `json:"update_at"`
}

func (DownloadSlowlogResult) String

func (o DownloadSlowlogResult) String() string

type DssPoolInfo

type DssPoolInfo struct {
	AzName string `json:"az_name"`

	FreeCapacityGb string `json:"free_capacity_gb"`

	DssPoolVolumeType string `json:"dss_pool_volume_type"`

	DssPoolId string `json:"dss_pool_id"`

	DssPoolStatus string `json:"dss_pool_status"`
}

实例专属存储信息。

func (DssPoolInfo) String

func (o DssPoolInfo) String() string

type EnlargeInstanceRequestBody

type EnlargeInstanceRequestBody struct {
	Type EnlargeInstanceRequestBodyType `json:"type"`

	SpecCode string `json:"spec_code"`

	Num string `json:"num"`

	Volume *AddShardingNodeVolumeOption `json:"volume,omitempty"`
}

func (EnlargeInstanceRequestBody) String

type EnlargeInstanceRequestBodyType

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

func (EnlargeInstanceRequestBodyType) MarshalJSON

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

func (*EnlargeInstanceRequestBodyType) UnmarshalJSON

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

type EnlargeInstanceRequestBodyTypeEnum

type EnlargeInstanceRequestBodyTypeEnum struct {
	MONGOS EnlargeInstanceRequestBodyType
	SHARD  EnlargeInstanceRequestBodyType
}

func GetEnlargeInstanceRequestBodyTypeEnum

func GetEnlargeInstanceRequestBodyTypeEnum() EnlargeInstanceRequestBodyTypeEnum

type ErrorResponse

type ErrorResponse struct {
	ErrorCode string `json:"error_code"`

	ErrorMsg string `json:"error_msg"`
}

func (ErrorResponse) String

func (o ErrorResponse) String() string

type ErrorlogResult

type ErrorlogResult struct {
	NodeName string `json:"node_name"`

	Level string `json:"level"`

	Time string `json:"time"`

	Content string `json:"content"`
}

func (ErrorlogResult) String

func (o ErrorlogResult) String() string

type Flavor

type Flavor struct {
	EngineName string `json:"engine_name"`

	Type string `json:"type"`

	Vcpus string `json:"vcpus"`

	Ram string `json:"ram"`

	SpecCode string `json:"spec_code"`

	AzStatus *interface{} `json:"az_status"`
}

规格信息。

func (Flavor) String

func (o Flavor) String() string

type GetBackupDownloadLinkResponseBodyFiles

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

	Size int64 `json:"size"`

	DownloadLink string `json:"download_link"`

	LinkExpiredTime string `json:"link_expired_time"`
}

func (GetBackupDownloadLinkResponseBodyFiles) String

type GroupResponseItem

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

	Id string `json:"id"`

	Name string `json:"name"`

	Status string `json:"status"`

	Volume *Volume `json:"volume"`

	Nodes []NodeItem `json:"nodes"`
}

实例组信息。

func (GroupResponseItem) String

func (o GroupResponseItem) String() string

type InstanceItem

type InstanceItem struct {
	InstanceId string `json:"instance_id"`

	InstanceName string `json:"instance_name"`

	Tags []InstanceItemTagItem `json:"tags"`
}

func (InstanceItem) String

func (o InstanceItem) String() string

type InstanceItemTagItem

type InstanceItemTagItem struct {
	Key *string `json:"key,omitempty"`

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

标签列表。

func (InstanceItemTagItem) String

func (o InstanceItemTagItem) String() string
type Links struct {
	Href *string `json:"href,omitempty"`

	Rel *string `json:"rel,omitempty"`
}

对应API的链接信息,v3版本该字段为[]。

func (Links) String

func (o Links) String() string

type ListApiVersionRequest

type ListApiVersionRequest struct {
}

Request Object

func (ListApiVersionRequest) String

func (o ListApiVersionRequest) String() string

type ListApiVersionResponse

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

Response Object

func (ListApiVersionResponse) String

func (o ListApiVersionResponse) String() string

type ListAuditlogLinksRequest

type ListAuditlogLinksRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (ListAuditlogLinksRequest) String

func (o ListAuditlogLinksRequest) String() string

type ListAuditlogLinksResponse

type ListAuditlogLinksResponse struct {
	Links          *[]string `json:"links,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListAuditlogLinksResponse) String

func (o ListAuditlogLinksResponse) String() string

type ListAuditlogsRequest

type ListAuditlogsRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

	NodeId *string `json:"node_id,omitempty"`

	StartTime string `json:"start_time"`

	EndTime string `json:"end_time"`

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

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

Request Object

func (ListAuditlogsRequest) String

func (o ListAuditlogsRequest) String() string

type ListAuditlogsResponse

type ListAuditlogsResponse struct {
	TotalCount *int32 `json:"total_count,omitempty"`

	AuditLogs      *[]ListAuditlogsResult `json:"audit_logs,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ListAuditlogsResponse) String

func (o ListAuditlogsResponse) String() string

type ListAuditlogsResult

type ListAuditlogsResult struct {
	NodeId string `json:"node_id"`

	Id string `json:"id"`

	Name string `json:"name"`

	Size int64 `json:"size"`

	StartTime string `json:"start_time"`

	EndTime string `json:"end_time"`
}

func (ListAuditlogsResult) String

func (o ListAuditlogsResult) String() string

type ListAz2MigrateRequest

type ListAz2MigrateRequest struct {
	InstanceId string `json:"instance_id"`
}

Request Object

func (ListAz2MigrateRequest) String

func (o ListAz2MigrateRequest) String() string

type ListAz2MigrateResponse

type ListAz2MigrateResponse struct {
	AzList         *[]Az2Migrate `json:"az_list,omitempty"`
	HttpStatusCode int           `json:"-"`
}

Response Object

func (ListAz2MigrateResponse) String

func (o ListAz2MigrateResponse) String() string

type ListBackupsRequest

type ListBackupsRequest struct {
	InstanceId *string `json:"instance_id,omitempty"`

	BackupId *string `json:"backup_id,omitempty"`

	BackupType *ListBackupsRequestBackupType `json:"backup_type,omitempty"`

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

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

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

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

	Mode *ListBackupsRequestMode `json:"mode,omitempty"`
}

Request Object

func (ListBackupsRequest) String

func (o ListBackupsRequest) String() string

type ListBackupsRequestBackupType

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

func (ListBackupsRequestBackupType) MarshalJSON

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

func (*ListBackupsRequestBackupType) UnmarshalJSON

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

type ListBackupsRequestBackupTypeEnum

type ListBackupsRequestBackupTypeEnum struct {
	AUTO        ListBackupsRequestBackupType
	MANUAL      ListBackupsRequestBackupType
	INCREMENTAL ListBackupsRequestBackupType
}

func GetListBackupsRequestBackupTypeEnum

func GetListBackupsRequestBackupTypeEnum() ListBackupsRequestBackupTypeEnum

type ListBackupsRequestMode

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

func (ListBackupsRequestMode) MarshalJSON

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

func (*ListBackupsRequestMode) UnmarshalJSON

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

type ListBackupsRequestModeEnum

type ListBackupsRequestModeEnum struct {
	SHARDING    ListBackupsRequestMode
	REPLICA_SET ListBackupsRequestMode
	SINGLE      ListBackupsRequestMode
}

func GetListBackupsRequestModeEnum

func GetListBackupsRequestModeEnum() ListBackupsRequestModeEnum

type ListBackupsResponse

type ListBackupsResponse struct {
	Backups *[]BackupForList `json:"backups,omitempty"`

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

Response Object

func (ListBackupsResponse) String

func (o ListBackupsResponse) String() string

type ListDatabaseRolesRequest

type ListDatabaseRolesRequest struct {
	InstanceId string `json:"instance_id"`

	RoleName *string `json:"role_name,omitempty"`

	DbName *string `json:"db_name,omitempty"`

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

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

Request Object

func (ListDatabaseRolesRequest) String

func (o ListDatabaseRolesRequest) String() string

type ListDatabaseRolesResponse

type ListDatabaseRolesResponse struct {
	Roles *string `json:"roles,omitempty"`

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

Response Object

func (ListDatabaseRolesResponse) String

func (o ListDatabaseRolesResponse) String() string

type ListDatabaseUsersRequest

type ListDatabaseUsersRequest struct {
	InstanceId string `json:"instance_id"`

	UserName *string `json:"user_name,omitempty"`

	DbName *string `json:"db_name,omitempty"`

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

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

Request Object

func (ListDatabaseUsersRequest) String

func (o ListDatabaseUsersRequest) String() string

type ListDatabaseUsersResponse

type ListDatabaseUsersResponse struct {
	Users *string `json:"users,omitempty"`

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

Response Object

func (ListDatabaseUsersResponse) String

func (o ListDatabaseUsersResponse) String() string

type ListDatastoreVersionsRequest

type ListDatastoreVersionsRequest struct {
	DatastoreName ListDatastoreVersionsRequestDatastoreName `json:"datastore_name"`
}

Request Object

func (ListDatastoreVersionsRequest) String

type ListDatastoreVersionsRequestDatastoreName

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

func (ListDatastoreVersionsRequestDatastoreName) MarshalJSON

func (*ListDatastoreVersionsRequestDatastoreName) UnmarshalJSON

type ListDatastoreVersionsRequestDatastoreNameEnum

type ListDatastoreVersionsRequestDatastoreNameEnum struct {
	DDS_COMMUNITY ListDatastoreVersionsRequestDatastoreName
	DDS_ENHANCED  ListDatastoreVersionsRequestDatastoreName
}

func GetListDatastoreVersionsRequestDatastoreNameEnum

func GetListDatastoreVersionsRequestDatastoreNameEnum() ListDatastoreVersionsRequestDatastoreNameEnum

type ListDatastoreVersionsResponse

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

Response Object

func (ListDatastoreVersionsResponse) String

type ListErrorLogsRequest

type ListErrorLogsRequest struct {
	InstanceId string `json:"instance_id"`

	StartDate string `json:"start_date"`

	EndDate string `json:"end_date"`

	NodeId *string `json:"node_id,omitempty"`

	Type *ListErrorLogsRequestType `json:"type,omitempty"`

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

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

Request Object

func (ListErrorLogsRequest) String

func (o ListErrorLogsRequest) String() string

type ListErrorLogsRequestType

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

func (ListErrorLogsRequestType) MarshalJSON

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

func (*ListErrorLogsRequestType) UnmarshalJSON

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

type ListErrorLogsRequestTypeEnum

type ListErrorLogsRequestTypeEnum struct {
	WARNING ListErrorLogsRequestType
	ERROR   ListErrorLogsRequestType
}

func GetListErrorLogsRequestTypeEnum

func GetListErrorLogsRequestTypeEnum() ListErrorLogsRequestTypeEnum

type ListErrorLogsResponse

type ListErrorLogsResponse struct {
	ErrorLogList *[]ErrorlogResult `json:"error_log_list,omitempty"`

	TotalRecord    *int32 `json:"total_record,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListErrorLogsResponse) String

func (o ListErrorLogsResponse) String() string

type ListFlavorsRequest

type ListFlavorsRequest struct {
	Region string `json:"region"`

	EngineName *ListFlavorsRequestEngineName `json:"engine_name,omitempty"`
}

Request Object

func (ListFlavorsRequest) String

func (o ListFlavorsRequest) String() string

type ListFlavorsRequestEngineName

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

func (ListFlavorsRequestEngineName) MarshalJSON

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

func (*ListFlavorsRequestEngineName) UnmarshalJSON

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

type ListFlavorsRequestEngineNameEnum

type ListFlavorsRequestEngineNameEnum struct {
	DDS_COMMUNITY ListFlavorsRequestEngineName
	DDS_ENHANCED  ListFlavorsRequestEngineName
}

func GetListFlavorsRequestEngineNameEnum

func GetListFlavorsRequestEngineNameEnum() ListFlavorsRequestEngineNameEnum

type ListFlavorsResponse

type ListFlavorsResponse struct {
	Flavors        *[]Flavor `json:"flavors,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListFlavorsResponse) String

func (o ListFlavorsResponse) String() string

type ListInstanceTagsRequest

type ListInstanceTagsRequest struct {
	InstanceId string `json:"instance_id"`
}

Request Object

func (ListInstanceTagsRequest) String

func (o ListInstanceTagsRequest) String() string

type ListInstanceTagsResponse

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

Response Object

func (ListInstanceTagsResponse) String

func (o ListInstanceTagsResponse) String() string

type ListInstancesByTagsRequest

type ListInstancesByTagsRequest struct {
	Body *ListInstancesByTagsRequestBody `json:"body,omitempty"`
}

Request Object

func (ListInstancesByTagsRequest) String

type ListInstancesByTagsRequestBody

type ListInstancesByTagsRequestBody struct {
	Offset *string `json:"offset,omitempty"`

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

	Action ListInstancesByTagsRequestBodyAction `json:"action"`

	Matches *[]QueryMatchItem `json:"matches,omitempty"`

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

func (ListInstancesByTagsRequestBody) String

type ListInstancesByTagsRequestBodyAction

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

func (ListInstancesByTagsRequestBodyAction) MarshalJSON

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

func (*ListInstancesByTagsRequestBodyAction) UnmarshalJSON

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

type ListInstancesByTagsRequestBodyActionEnum

type ListInstancesByTagsRequestBodyActionEnum struct {
	FILTER ListInstancesByTagsRequestBodyAction
	COUNT  ListInstancesByTagsRequestBodyAction
}

func GetListInstancesByTagsRequestBodyActionEnum

func GetListInstancesByTagsRequestBodyActionEnum() ListInstancesByTagsRequestBodyActionEnum

type ListInstancesByTagsResponse

type ListInstancesByTagsResponse struct {
	Instances *[]InstanceItem `json:"instances,omitempty"`

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

Response Object

func (ListInstancesByTagsResponse) String

type ListInstancesRequest

type ListInstancesRequest struct {
	Id *string `json:"id,omitempty"`

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

	Mode *ListInstancesRequestMode `json:"mode,omitempty"`

	DatastoreType *ListInstancesRequestDatastoreType `json:"datastore_type,omitempty"`

	VpcId *string `json:"vpc_id,omitempty"`

	SubnetId *string `json:"subnet_id,omitempty"`

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

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

Request Object

func (ListInstancesRequest) String

func (o ListInstancesRequest) String() string

type ListInstancesRequestDatastoreType

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

func (ListInstancesRequestDatastoreType) MarshalJSON

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

func (*ListInstancesRequestDatastoreType) UnmarshalJSON

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

type ListInstancesRequestDatastoreTypeEnum

type ListInstancesRequestDatastoreTypeEnum struct {
	DDS_COMMUNITY ListInstancesRequestDatastoreType
	DDS_ENHANCED  ListInstancesRequestDatastoreType
}

func GetListInstancesRequestDatastoreTypeEnum

func GetListInstancesRequestDatastoreTypeEnum() ListInstancesRequestDatastoreTypeEnum

type ListInstancesRequestMode

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

func (ListInstancesRequestMode) MarshalJSON

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

func (*ListInstancesRequestMode) UnmarshalJSON

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

type ListInstancesRequestModeEnum

type ListInstancesRequestModeEnum struct {
	SHARDING    ListInstancesRequestMode
	REPLICA_SET ListInstancesRequestMode
	SINGLE      ListInstancesRequestMode
}

func GetListInstancesRequestModeEnum

func GetListInstancesRequestModeEnum() ListInstancesRequestModeEnum

type ListInstancesResponse

type ListInstancesResponse struct {
	Instances *[]QueryInstanceResponse `json:"instances,omitempty"`

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

Response Object

func (ListInstancesResponse) String

func (o ListInstancesResponse) String() string

type ListProjectTagsRequest

type ListProjectTagsRequest struct {
}

Request Object

func (ListProjectTagsRequest) String

func (o ListProjectTagsRequest) String() string

type ListProjectTagsResponse

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

Response Object

func (ListProjectTagsResponse) String

func (o ListProjectTagsResponse) String() string

type ListRestoreCollectionsRequest

type ListRestoreCollectionsRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

	DbName string `json:"db_name"`

	RestoreTime string `json:"restore_time"`

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

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

Request Object

func (ListRestoreCollectionsRequest) String

type ListRestoreCollectionsResponse

type ListRestoreCollectionsResponse struct {
	TotalCount *int32 `json:"total_count,omitempty"`

	Collections    *[]string `json:"collections,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListRestoreCollectionsResponse) String

type ListRestoreDatabasesRequest

type ListRestoreDatabasesRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

	RestoreTime string `json:"restore_time"`

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

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

Request Object

func (ListRestoreDatabasesRequest) String

type ListRestoreDatabasesResponse

type ListRestoreDatabasesResponse struct {
	TotalCount *int32 `json:"total_count,omitempty"`

	Databases      *[]string `json:"databases,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListRestoreDatabasesResponse) String

type ListRestoreTimesRequest

type ListRestoreTimesRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

	Date string `json:"date"`
}

Request Object

func (ListRestoreTimesRequest) String

func (o ListRestoreTimesRequest) String() string

type ListRestoreTimesResponse

type ListRestoreTimesResponse struct {
	RestoreTime    *[]ListRestoreTimesResponseBodyRestoreTime `json:"restore_time,omitempty"`
	HttpStatusCode int                                        `json:"-"`
}

Response Object

func (ListRestoreTimesResponse) String

func (o ListRestoreTimesResponse) String() string

type ListRestoreTimesResponseBodyRestoreTime

type ListRestoreTimesResponseBodyRestoreTime struct {
	StartTime int64 `json:"start_time"`

	EndTime int64 `json:"end_time"`
}

func (ListRestoreTimesResponseBodyRestoreTime) String

type ListSessionsRequest

type ListSessionsRequest struct {
	NodeId string `json:"node_id"`

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

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

	PlanSummary *string `json:"plan_summary,omitempty"`

	Type *string `json:"type,omitempty"`

	Namespace *string `json:"namespace,omitempty"`

	CostTime *int32 `json:"cost_time,omitempty"`
}

Request Object

func (ListSessionsRequest) String

func (o ListSessionsRequest) String() string

type ListSessionsResponse

type ListSessionsResponse struct {
	TotalCount *int32 `json:"total_count,omitempty"`

	Sessions       *[]QuerySessionResponse `json:"sessions,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

Response Object

func (ListSessionsResponse) String

func (o ListSessionsResponse) String() string

type ListSlowLogsRequest

type ListSlowLogsRequest struct {
	InstanceId string `json:"instance_id"`

	StartDate string `json:"start_date"`

	EndDate string `json:"end_date"`

	NodeId *string `json:"node_id,omitempty"`

	Type *ListSlowLogsRequestType `json:"type,omitempty"`

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

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

Request Object

func (ListSlowLogsRequest) String

func (o ListSlowLogsRequest) String() string

type ListSlowLogsRequestType

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

func (ListSlowLogsRequestType) MarshalJSON

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

func (*ListSlowLogsRequestType) UnmarshalJSON

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

type ListSlowLogsResponse

type ListSlowLogsResponse struct {
	SlowLogList *[]SlowlogResult `json:"slow_log_list,omitempty"`

	TotalRecord    *int32 `json:"total_record,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListSlowLogsResponse) String

func (o ListSlowLogsResponse) String() string

type ListStorageTypeRequest

type ListStorageTypeRequest struct {
	EngineName *ListStorageTypeRequestEngineName `json:"engine_name,omitempty"`
}

Request Object

func (ListStorageTypeRequest) String

func (o ListStorageTypeRequest) String() string

type ListStorageTypeRequestEngineName

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

func (ListStorageTypeRequestEngineName) MarshalJSON

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

func (*ListStorageTypeRequestEngineName) UnmarshalJSON

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

type ListStorageTypeRequestEngineNameEnum

type ListStorageTypeRequestEngineNameEnum struct {
	DDS_COMMUNITY ListStorageTypeRequestEngineName
	DDS_ENHANCED  ListStorageTypeRequestEngineName
}

func GetListStorageTypeRequestEngineNameEnum

func GetListStorageTypeRequestEngineNameEnum() ListStorageTypeRequestEngineNameEnum

type ListStorageTypeResponse

type ListStorageTypeResponse struct {
	StorageType *[]Storage `json:"storage_type,omitempty"`

	DssPoolInfo    *[]DssPoolInfo `json:"dss_pool_info,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ListStorageTypeResponse) String

func (o ListStorageTypeResponse) String() string

type MigrateAzRequest

type MigrateAzRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (MigrateAzRequest) String

func (o MigrateAzRequest) String() string

type MigrateAzRequestBody

type MigrateAzRequestBody struct {
	TargetAzs string `json:"target_azs"`
}

func (MigrateAzRequestBody) String

func (o MigrateAzRequestBody) String() string

type MigrateAzResponse

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

Response Object

func (MigrateAzResponse) String

func (o MigrateAzResponse) String() string

type NodeItem

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

	Name string `json:"name"`

	Status string `json:"status"`

	Role string `json:"role"`

	PrivateIp string `json:"private_ip"`

	PublicIp string `json:"public_ip"`

	SpecCode string `json:"spec_code"`

	AvailabilityZone string `json:"availability_zone"`
}

实例节点信息。

func (NodeItem) String

func (o NodeItem) String() string

type ProduceAuditlogLinksRequestBody

type ProduceAuditlogLinksRequestBody struct {
	Ids []string `json:"ids"`
}

func (ProduceAuditlogLinksRequestBody) String

type QueryConnectionsResponse

type QueryConnectionsResponse struct {
	ClientIp string `json:"client_ip"`

	Count int32 `json:"count"`
}

func (QueryConnectionsResponse) String

func (o QueryConnectionsResponse) String() string

type QueryInstanceResponse

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

	Name string `json:"name"`

	Status string `json:"status"`

	Port string `json:"port"`

	Mode string `json:"mode"`

	Region string `json:"region"`

	Datastore *DatastoreItem `json:"datastore"`

	Engine string `json:"engine"`

	Created string `json:"created"`

	Updated string `json:"updated"`

	DbUserName string `json:"db_user_name"`

	Ssl int32 `json:"ssl"`

	VpcId string `json:"vpc_id"`

	SubnetId string `json:"subnet_id"`

	SecurityGroupId string `json:"security_group_id"`

	BackupStrategy *BackupStrategyForItemResponse `json:"backup_strategy"`

	PayMode *string `json:"pay_mode,omitempty"`

	MaintenanceWindow string `json:"maintenance_window"`

	Groups []GroupResponseItem `json:"groups"`

	DiskEncryptionId string `json:"disk_encryption_id"`

	EnterpriseProjectId string `json:"enterprise_project_id"`

	TimeZone string `json:"time_zone"`

	DssPoolId *string `json:"dss_pool_id,omitempty"`

	Actions []string `json:"actions"`
}

实例信息。

func (QueryInstanceResponse) String

func (o QueryInstanceResponse) String() string

type QueryMatchItem

type QueryMatchItem struct {
	Key QueryMatchItemKey `json:"key"`

	Value string `json:"value"`
}

func (QueryMatchItem) String

func (o QueryMatchItem) String() string

type QueryMatchItemKey

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

func (QueryMatchItemKey) MarshalJSON

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

func (*QueryMatchItemKey) UnmarshalJSON

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

type QueryMatchItemKeyEnum

type QueryMatchItemKeyEnum struct {
	INSTANCE_NAME QueryMatchItemKey
	INSTANCE_ID   QueryMatchItemKey
}

func GetQueryMatchItemKeyEnum

func GetQueryMatchItemKeyEnum() QueryMatchItemKeyEnum

type QueryProjectTagItem

type QueryProjectTagItem struct {
	Key *string `json:"key,omitempty"`

	Values *[]string `json:"values,omitempty"`
}

func (QueryProjectTagItem) String

func (o QueryProjectTagItem) String() string

type QueryResourceTagItem

type QueryResourceTagItem struct {
	Key *string `json:"key,omitempty"`

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

func (QueryResourceTagItem) String

func (o QueryResourceTagItem) String() string

type QuerySessionResponse

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

	Active bool `json:"active"`

	Operation string `json:"operation"`

	Type string `json:"type"`

	CostTime string `json:"cost_time"`

	PlanSummary string `json:"plan_summary"`

	Host string `json:"host"`

	Client string `json:"client"`

	Description string `json:"description"`

	Namespace string `json:"namespace"`
}

会话详细信息列表。

func (QuerySessionResponse) String

func (o QuerySessionResponse) String() string

type QueryTagItem

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

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

func (QueryTagItem) String

func (o QueryTagItem) String() string

type ResetPasswordRequest

type ResetPasswordRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (ResetPasswordRequest) String

func (o ResetPasswordRequest) String() string

type ResetPasswordRequestBody

type ResetPasswordRequestBody struct {
	UserPwd string `json:"user_pwd"`

	UserName *string `json:"user_name,omitempty"`

	DbName *string `json:"db_name,omitempty"`
}

func (ResetPasswordRequestBody) String

func (o ResetPasswordRequestBody) String() string

type ResetPasswordResponse

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

Response Object

func (ResetPasswordResponse) String

func (o ResetPasswordResponse) String() string

type ResizeInstanceOption

type ResizeInstanceOption struct {
	TargetType *ResizeInstanceOptionTargetType `json:"target_type,omitempty"`

	TargetId string `json:"target_id"`

	TargetSpecCode string `json:"target_spec_code"`
}

func (ResizeInstanceOption) String

func (o ResizeInstanceOption) String() string

type ResizeInstanceOptionTargetType

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

func (ResizeInstanceOptionTargetType) MarshalJSON

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

func (*ResizeInstanceOptionTargetType) UnmarshalJSON

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

type ResizeInstanceOptionTargetTypeEnum

type ResizeInstanceOptionTargetTypeEnum struct {
	MONGOS ResizeInstanceOptionTargetType
	SHARD  ResizeInstanceOptionTargetType
}

func GetResizeInstanceOptionTargetTypeEnum

func GetResizeInstanceOptionTargetTypeEnum() ResizeInstanceOptionTargetTypeEnum

type ResizeInstanceRequest

type ResizeInstanceRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (ResizeInstanceRequest) String

func (o ResizeInstanceRequest) String() string

type ResizeInstanceRequestBody

type ResizeInstanceRequestBody struct {
	Resize *ResizeInstanceOption `json:"resize"`
}

func (ResizeInstanceRequestBody) String

func (o ResizeInstanceRequestBody) String() string

type ResizeInstanceResponse

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

Response Object

func (ResizeInstanceResponse) String

func (o ResizeInstanceResponse) String() string

type ResizeInstanceVolumeOption

type ResizeInstanceVolumeOption struct {
	GroupId *string `json:"group_id,omitempty"`

	Size string `json:"size"`
}

func (ResizeInstanceVolumeOption) String

type ResizeInstanceVolumeRequest

type ResizeInstanceVolumeRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (ResizeInstanceVolumeRequest) String

type ResizeInstanceVolumeRequestBody

type ResizeInstanceVolumeRequestBody struct {
	Volume *ResizeInstanceVolumeOption `json:"volume"`
}

func (ResizeInstanceVolumeRequestBody) String

type ResizeInstanceVolumeResponse

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

Response Object

func (ResizeInstanceVolumeResponse) String

type RestartInstanceRequest

type RestartInstanceRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (RestartInstanceRequest) String

func (o RestartInstanceRequest) String() string

type RestartInstanceRequestBody

type RestartInstanceRequestBody struct {
	TargetType *RestartInstanceRequestBodyTargetType `json:"target_type,omitempty"`

	TargetId string `json:"target_id"`
}

func (RestartInstanceRequestBody) String

type RestartInstanceRequestBodyTargetType

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

func (RestartInstanceRequestBodyTargetType) MarshalJSON

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

func (*RestartInstanceRequestBodyTargetType) UnmarshalJSON

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

type RestartInstanceResponse

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

Response Object

func (RestartInstanceResponse) String

func (o RestartInstanceResponse) String() string

type RestoreInstanceFromCollectionRequest

type RestoreInstanceFromCollectionRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

Request Object

func (RestoreInstanceFromCollectionRequest) String

type RestoreInstanceFromCollectionRequestBody

type RestoreInstanceFromCollectionRequestBody struct {
	RestoreCollections []RestoreInstanceFromCollectionRequestBodyRestoreCollections `json:"restore_collections"`
}

func (RestoreInstanceFromCollectionRequestBody) String

type RestoreInstanceFromCollectionRequestBodyCollections

type RestoreInstanceFromCollectionRequestBodyCollections struct {
	OldName string `json:"old_name"`

	NewName *string `json:"new_name,omitempty"`

	RestoreCollectionTime string `json:"restore_collection_time"`
}

func (RestoreInstanceFromCollectionRequestBodyCollections) String

type RestoreInstanceFromCollectionRequestBodyRestoreCollections

type RestoreInstanceFromCollectionRequestBodyRestoreCollections struct {
	Database string `json:"database"`

	RestoreDatabaseTime *string `json:"restore_database_time,omitempty"`

	Collections *[]RestoreInstanceFromCollectionRequestBodyCollections `json:"collections,omitempty"`
}

func (RestoreInstanceFromCollectionRequestBodyRestoreCollections) String

type RestoreInstanceFromCollectionResponse

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

Response Object

func (RestoreInstanceFromCollectionResponse) String

type RestoreInstanceRequest

type RestoreInstanceRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`

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

Request Object

func (RestoreInstanceRequest) String

func (o RestoreInstanceRequest) String() string

type RestoreInstanceRequestBody

type RestoreInstanceRequestBody struct {
	Source *Source `json:"source"`

	Target *Target `json:"target"`
}

func (RestoreInstanceRequestBody) String

type RestoreInstanceResponse

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

Response Object

func (RestoreInstanceResponse) String

func (o RestoreInstanceResponse) String() string

type RestoreNewInstanceFlavorOption

type RestoreNewInstanceFlavorOption struct {
	Type RestoreNewInstanceFlavorOptionType `json:"type"`

	Num string `json:"num"`

	Size *string `json:"size,omitempty"`

	SpecCode string `json:"spec_code"`
}

实例规格详情。

func (RestoreNewInstanceFlavorOption) String

type RestoreNewInstanceFlavorOptionType

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

func (RestoreNewInstanceFlavorOptionType) MarshalJSON

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

func (*RestoreNewInstanceFlavorOptionType) UnmarshalJSON

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

type RestoreNewInstanceRequest

type RestoreNewInstanceRequest struct {
	Body *RestoreNewInstanceRequestBody `json:"body,omitempty"`
}

Request Object

func (RestoreNewInstanceRequest) String

func (o RestoreNewInstanceRequest) String() string

type RestoreNewInstanceRequestBody

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

	AvailabilityZone string `json:"availability_zone"`

	VpcId string `json:"vpc_id"`

	SubnetId string `json:"subnet_id"`

	SecurityGroupId string `json:"security_group_id"`

	Password *string `json:"password,omitempty"`

	DiskEncryptionId *string `json:"disk_encryption_id,omitempty"`

	Flavor []RestoreNewInstanceFlavorOption `json:"flavor"`

	BackupStrategy *BackupStrategy `json:"backup_strategy,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	SslOption *string `json:"ssl_option,omitempty"`

	DssPoolId *string `json:"dss_pool_id,omitempty"`

	ServerGroupPolicies *[]string `json:"server_group_policies,omitempty"`

	RestorePoint *RestorePoint `json:"restore_point"`
}

实例信息。

func (RestoreNewInstanceRequestBody) String

type RestoreNewInstanceResponse

type RestoreNewInstanceResponse struct {
	Id *string `json:"id,omitempty"`

	Datastore *Datastore `json:"datastore,omitempty"`

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

	Created *string `json:"created,omitempty"`

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

	Region *string `json:"region,omitempty"`

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

	VpcId *string `json:"vpc_id,omitempty"`

	SubnetId *string `json:"subnet_id,omitempty"`

	SecurityGroupId *string `json:"security_group_id,omitempty"`

	DiskEncryptionId *string `json:"disk_encryption_id,omitempty"`

	Mode *string `json:"mode,omitempty"`

	Flavor *[]RestoreNewInstanceFlavorOption `json:"flavor,omitempty"`

	BackupStrategy *BackupStrategy `json:"backup_strategy,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	SslOption *string `json:"ssl_option,omitempty"`

	DssPoolId *string `json:"dss_pool_id,omitempty"`

	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RestoreNewInstanceResponse) String

type RestorePoint

type RestorePoint struct {
	InstanceId *string `json:"instance_id,omitempty"`

	Type *string `json:"type,omitempty"`

	BackupId *string `json:"backup_id,omitempty"`

	RestoreTime *string `json:"restore_time,omitempty"`
}

func (RestorePoint) String

func (o RestorePoint) String() string

type RolesOption

type RolesOption struct {
	RoleDbName string `json:"role_db_name"`

	RoleName string `json:"role_name"`
}

func (RolesOption) String

func (o RolesOption) String() string

type SetAuditlogPolicyRequest

type SetAuditlogPolicyRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (SetAuditlogPolicyRequest) String

func (o SetAuditlogPolicyRequest) String() string

type SetAuditlogPolicyRequestBody

type SetAuditlogPolicyRequestBody struct {
	KeepDays int32 `json:"keep_days"`

	ReserveAuditlogs *string `json:"reserve_auditlogs,omitempty"`

	AuditScope *string `json:"audit_scope,omitempty"`

	AuditTypes *[]string `json:"audit_types,omitempty"`
}

func (SetAuditlogPolicyRequestBody) String

type SetAuditlogPolicyResponse

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

Response Object

func (SetAuditlogPolicyResponse) String

func (o SetAuditlogPolicyResponse) String() string

type SetBackupPolicyRequest

type SetBackupPolicyRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (SetBackupPolicyRequest) String

func (o SetBackupPolicyRequest) String() string

type SetBackupPolicyRequestBody

type SetBackupPolicyRequestBody struct {
	BackupPolicy *BackupPolicy `json:"backup_policy"`
}

func (SetBackupPolicyRequestBody) String

type SetBackupPolicyResponse

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

Response Object

func (SetBackupPolicyResponse) String

func (o SetBackupPolicyResponse) String() string

type SetBalancerSwitchRequest

type SetBalancerSwitchRequest struct {
	InstanceId string `json:"instance_id"`

	Action SetBalancerSwitchRequestAction `json:"action"`
}

Request Object

func (SetBalancerSwitchRequest) String

func (o SetBalancerSwitchRequest) String() string

type SetBalancerSwitchRequestAction

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

func (SetBalancerSwitchRequestAction) MarshalJSON

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

func (*SetBalancerSwitchRequestAction) UnmarshalJSON

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

type SetBalancerSwitchRequestActionEnum

type SetBalancerSwitchRequestActionEnum struct {
	START SetBalancerSwitchRequestAction
	STOP  SetBalancerSwitchRequestAction
}

func GetSetBalancerSwitchRequestActionEnum

func GetSetBalancerSwitchRequestActionEnum() SetBalancerSwitchRequestActionEnum

type SetBalancerSwitchResponse

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

Response Object

func (SetBalancerSwitchResponse) String

func (o SetBalancerSwitchResponse) String() string

type SetBalancerWindowRequest

type SetBalancerWindowRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (SetBalancerWindowRequest) String

func (o SetBalancerWindowRequest) String() string

type SetBalancerWindowResponse

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

Response Object

func (SetBalancerWindowResponse) String

func (o SetBalancerWindowResponse) String() string

type ShowApiVersionRequest

type ShowApiVersionRequest struct {
	Version string `json:"version"`
}

Request Object

func (ShowApiVersionRequest) String

func (o ShowApiVersionRequest) String() string

type ShowApiVersionResponse

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

Response Object

func (ShowApiVersionResponse) String

func (o ShowApiVersionResponse) String() string

type ShowAuditlogPolicyRequest

type ShowAuditlogPolicyRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowAuditlogPolicyRequest) String

func (o ShowAuditlogPolicyRequest) String() string

type ShowAuditlogPolicyResponse

type ShowAuditlogPolicyResponse struct {
	KeepDays *int32 `json:"keep_days,omitempty"`

	AuditScope *string `json:"audit_scope,omitempty"`

	AuditTypes     *[]string `json:"audit_types,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ShowAuditlogPolicyResponse) String

type ShowBackupDownloadLinkRequest

type ShowBackupDownloadLinkRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

	BackupId string `json:"backup_id"`
}

Request Object

func (ShowBackupDownloadLinkRequest) String

type ShowBackupDownloadLinkResponse

type ShowBackupDownloadLinkResponse struct {
	Files *[]GetBackupDownloadLinkResponseBodyFiles `json:"files,omitempty"`

	Bucket         *string `json:"bucket,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowBackupDownloadLinkResponse) String

type ShowBackupPolicyRequest

type ShowBackupPolicyRequest struct {
	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowBackupPolicyRequest) String

func (o ShowBackupPolicyRequest) String() string

type ShowBackupPolicyResponse

type ShowBackupPolicyResponse struct {
	BackupPolicy   *BackupPolicyItem `json:"backup_policy,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ShowBackupPolicyResponse) String

func (o ShowBackupPolicyResponse) String() string

type ShowConnectionStatisticsRequest

type ShowConnectionStatisticsRequest struct {
	InstanceId string `json:"instance_id"`

	NodeId *string `json:"node_id,omitempty"`
}

Request Object

func (ShowConnectionStatisticsRequest) String

type ShowConnectionStatisticsResponse

type ShowConnectionStatisticsResponse struct {
	TotalConnections *int32 `json:"total_connections,omitempty"`

	TotalInnerConnections *int32 `json:"total_inner_connections,omitempty"`

	TotalOuterConnections *int32 `json:"total_outer_connections,omitempty"`

	InnerConnections *[]QueryConnectionsResponse `json:"inner_connections,omitempty"`

	OuterConnections *[]QueryConnectionsResponse `json:"outer_connections,omitempty"`
	HttpStatusCode   int                         `json:"-"`
}

Response Object

func (ShowConnectionStatisticsResponse) String

type ShowQuotasRequest added in v0.0.46

type ShowQuotasRequest struct {
}

Request Object

func (ShowQuotasRequest) String added in v0.0.46

func (o ShowQuotasRequest) String() string

type ShowQuotasResponse added in v0.0.46

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

Response Object

func (ShowQuotasResponse) String added in v0.0.46

func (o ShowQuotasResponse) String() string

type ShowResourcesDetailResponseBody added in v0.0.46

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

	Mode string `json:"mode"`

	Quota int32 `json:"quota"`

	Used int32 `json:"used"`
}

func (ShowResourcesDetailResponseBody) String added in v0.0.46

type ShowResourcesListResponseBody added in v0.0.46

type ShowResourcesListResponseBody struct {
	Resources []ShowResourcesDetailResponseBody `json:"resources"`
}

func (ShowResourcesListResponseBody) String added in v0.0.46

type ShowShardingBalancerRequest

type ShowShardingBalancerRequest struct {
	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowShardingBalancerRequest) String

type ShowShardingBalancerResponse

type ShowShardingBalancerResponse struct {
	IsOpen *bool `json:"is_open,omitempty"`

	ActiveWindow   *BalancerActiveWindow `json:"active_window,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (ShowShardingBalancerResponse) String

type SlowlogResult

type SlowlogResult struct {
	NodeName string `json:"node_name"`

	QuerySample string `json:"query_sample"`

	Type string `json:"type"`

	Time string `json:"time"`

	LockTime string `json:"lock_time"`

	RowsSent string `json:"rows_sent"`

	RowsExamined string `json:"rows_examined"`

	Database string `json:"database"`

	StartTime string `json:"start_time"`
}

func (SlowlogResult) String

func (o SlowlogResult) String() string

type Source

type Source struct {
	InstanceId string `json:"instance_id"`

	Type *string `json:"type,omitempty"`

	BackupId *string `json:"backup_id,omitempty"`

	RestoreTime *string `json:"restore_time,omitempty"`
}

func (Source) String

func (o Source) String() string

type Storage

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

	AzStatus map[string]string `json:"az_status"`
}

实例磁盘类型信息。

func (Storage) String

func (o Storage) String() string

type SwitchSslRequest

type SwitchSslRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (SwitchSslRequest) String

func (o SwitchSslRequest) String() string

type SwitchSslRequestBody

type SwitchSslRequestBody struct {
	SslOption string `json:"ssl_option"`
}

func (SwitchSslRequestBody) String

func (o SwitchSslRequestBody) String() string

type SwitchSslResponse

type SwitchSslResponse struct {
	JobId *string `json:"job_id,omitempty"`

	SslOption      *string `json:"ssl_option,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (SwitchSslResponse) String

func (o SwitchSslResponse) String() string

type SwitchoverReplicaSetRequest

type SwitchoverReplicaSetRequest struct {
	InstanceId string `json:"instance_id"`
}

Request Object

func (SwitchoverReplicaSetRequest) String

type SwitchoverReplicaSetResponse

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

Response Object

func (SwitchoverReplicaSetResponse) String

type TagItem

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

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

func (TagItem) String

func (o TagItem) String() string

type Target

type Target struct {
	InstanceId string `json:"instance_id"`
}

func (Target) String

func (o Target) String() string

type UpdateInstanceNameRequest

type UpdateInstanceNameRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (UpdateInstanceNameRequest) String

func (o UpdateInstanceNameRequest) String() string

type UpdateInstanceNameResponse

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

Response Object

func (UpdateInstanceNameResponse) String

type UpdateInstancePortRequest

type UpdateInstancePortRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (UpdateInstancePortRequest) String

func (o UpdateInstancePortRequest) String() string

type UpdateInstancePortResponse

type UpdateInstancePortResponse struct {
	JobId *string `json:"job_id,omitempty"`

	Port           *int32 `json:"port,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (UpdateInstancePortResponse) String

type UpdateNameRequestBody

type UpdateNameRequestBody struct {
	NewInstanceName string `json:"new_instance_name"`
}

func (UpdateNameRequestBody) String

func (o UpdateNameRequestBody) String() string

type UpdatePortRequestBody

type UpdatePortRequestBody struct {
	Port int32 `json:"port"`
}

func (UpdatePortRequestBody) String

func (o UpdatePortRequestBody) String() string

type UpdateSecurityGroupRequest

type UpdateSecurityGroupRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (UpdateSecurityGroupRequest) String

type UpdateSecurityGroupRequestBody

type UpdateSecurityGroupRequestBody struct {
	SecurityGroupId string `json:"security_group_id"`
}

func (UpdateSecurityGroupRequestBody) String

type UpdateSecurityGroupResponse

type UpdateSecurityGroupResponse struct {
	JobId *string `json:"job_id,omitempty"`

	SecurityGroupId *string `json:"security_group_id,omitempty"`
	HttpStatusCode  int     `json:"-"`
}

Response Object

func (UpdateSecurityGroupResponse) String

type Volume

type Volume struct {
	Size string `json:"size"`

	Used string `json:"used"`
}

volume信息。

func (Volume) String

func (o Volume) String() string

Source Files

Jump to

Keyboard shortcuts

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