model

package
v0.0.67 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 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 ComputeFlavorGroupsInfo

type ComputeFlavorGroupsInfo struct {
	GroupType *string `json:"groupType,omitempty"`

	ComputeFlavors *[]ComputeFlavors `json:"computeFlavors,omitempty"`

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

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

	Total *int32 `json:"total,omitempty"`
}

func (ComputeFlavorGroupsInfo) String

func (o ComputeFlavorGroupsInfo) String() string

type ComputeFlavors

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

	TypeCode *string `json:"typeCode,omitempty"`

	Code *string `json:"code,omitempty"`

	IaasCode *string `json:"iaasCode,omitempty"`

	Cpu *string `json:"cpu,omitempty"`

	Mem *string `json:"mem,omitempty"`

	MaxConnections *string `json:"maxConnections,omitempty"`

	ServerType *string `json:"serverType,omitempty"`

	Architecture *string `json:"architecture,omitempty"`

	AzStatus *interface{} `json:"azStatus,omitempty"`

	RegionStatus *string `json:"regionStatus,omitempty"`

	GroupType *string `json:"groupType,omitempty"`

	DbType *string `json:"dbType,omitempty"`

	ExtendFields *interface{} `json:"extendFields,omitempty"`
}

func (ComputeFlavors) String

func (o ComputeFlavors) String() string

type ConfigurationParameterList

type ConfigurationParameterList struct {
	Name *string `json:"name,omitempty"`

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

	NeedRestart *string `json:"need_restart,omitempty"`

	ReadOnly *string `json:"read_only,omitempty"`

	ValueRange *string `json:"value_range,omitempty"`

	DataType *string `json:"data_type,omitempty"`

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

func (ConfigurationParameterList) String

type CreateDatabaseDetail

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

	ShardMode CreateDatabaseDetailShardMode `json:"shard_mode"`

	ShardNumber int32 `json:"shard_number"`

	ShardUnit int32 `json:"shard_unit"`

	UsedRds []DatabaseInstabcesParam `json:"used_rds"`
}

databases参数说明

func (CreateDatabaseDetail) String

func (o CreateDatabaseDetail) String() string

type CreateDatabaseDetailResponses

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

This is a auto create Response Object

func (CreateDatabaseDetailResponses) String

type CreateDatabaseDetailShardMode

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

func (CreateDatabaseDetailShardMode) MarshalJSON

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

func (*CreateDatabaseDetailShardMode) UnmarshalJSON

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

type CreateDatabaseDetailShardModeEnum

type CreateDatabaseDetailShardModeEnum struct {
	CLUSTER CreateDatabaseDetailShardMode
	SINGLE  CreateDatabaseDetailShardMode
}

func GetCreateDatabaseDetailShardModeEnum

func GetCreateDatabaseDetailShardModeEnum() CreateDatabaseDetailShardModeEnum

type CreateDatabaseReq

type CreateDatabaseReq struct {
	Databases []CreateDatabaseDetail `json:"databases"`
}

This is a auto create Body Object

func (CreateDatabaseReq) String

func (o CreateDatabaseReq) String() string

type CreateDatabaseRequest

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

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

Request Object

func (CreateDatabaseRequest) String

func (o CreateDatabaseRequest) String() string

type CreateDatabaseResponse

type CreateDatabaseResponse struct {
	Databases      *[]CreateDatabaseDetailResponses `json:"databases,omitempty"`
	HttpStatusCode int                              `json:"-"`
}

Response Object

func (CreateDatabaseResponse) String

func (o CreateDatabaseResponse) String() string

type CreateInstanceDetail

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

	FlavorId string `json:"flavor_id"`

	NodeNum int32 `json:"node_num"`

	EngineId string `json:"engine_id"`

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

	AvailableZones []string `json:"available_zones"`

	VpcId string `json:"vpc_id"`

	SecurityGroupId string `json:"security_group_id"`

	SubnetId string `json:"subnet_id"`

	ParamGroupId *string `json:"param_group_id,omitempty"`
}

实例相关信息的集合

func (CreateInstanceDetail) String

func (o CreateInstanceDetail) String() string

type CreateInstanceExtendParam

type CreateInstanceExtendParam struct {
	ChargeMode *CreateInstanceExtendParamChargeMode `json:"charge_mode,omitempty"`

	PeriodType *CreateInstanceExtendParamPeriodType `json:"period_type,omitempty"`

	PeriodNum *int32 `json:"period_num,omitempty"`

	IsAutoRenew *CreateInstanceExtendParamIsAutoRenew `json:"is_auto_renew,omitempty"`

	IsAutoPay *CreateInstanceExtendParamIsAutoPay `json:"is_auto_pay,omitempty"`
}

扩展参数说明

func (CreateInstanceExtendParam) String

func (o CreateInstanceExtendParam) String() string

type CreateInstanceExtendParamChargeMode

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

func (CreateInstanceExtendParamChargeMode) MarshalJSON

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

func (*CreateInstanceExtendParamChargeMode) UnmarshalJSON

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

type CreateInstanceExtendParamChargeModeEnum

type CreateInstanceExtendParamChargeModeEnum struct {
	PRE_PAID  CreateInstanceExtendParamChargeMode
	POST_PAID CreateInstanceExtendParamChargeMode
}

func GetCreateInstanceExtendParamChargeModeEnum

func GetCreateInstanceExtendParamChargeModeEnum() CreateInstanceExtendParamChargeModeEnum

type CreateInstanceExtendParamIsAutoPay

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

func (CreateInstanceExtendParamIsAutoPay) MarshalJSON

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

func (*CreateInstanceExtendParamIsAutoPay) UnmarshalJSON

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

type CreateInstanceExtendParamIsAutoPayEnum

type CreateInstanceExtendParamIsAutoPayEnum struct {
	TRUE  CreateInstanceExtendParamIsAutoPay
	FALSE CreateInstanceExtendParamIsAutoPay
}

func GetCreateInstanceExtendParamIsAutoPayEnum

func GetCreateInstanceExtendParamIsAutoPayEnum() CreateInstanceExtendParamIsAutoPayEnum

type CreateInstanceExtendParamIsAutoRenew

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

func (CreateInstanceExtendParamIsAutoRenew) MarshalJSON

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

func (*CreateInstanceExtendParamIsAutoRenew) UnmarshalJSON

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

type CreateInstanceExtendParamIsAutoRenewEnum

type CreateInstanceExtendParamIsAutoRenewEnum struct {
	TRUE  CreateInstanceExtendParamIsAutoRenew
	FALSE CreateInstanceExtendParamIsAutoRenew
}

func GetCreateInstanceExtendParamIsAutoRenewEnum

func GetCreateInstanceExtendParamIsAutoRenewEnum() CreateInstanceExtendParamIsAutoRenewEnum

type CreateInstanceExtendParamPeriodType

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

func (CreateInstanceExtendParamPeriodType) MarshalJSON

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

func (*CreateInstanceExtendParamPeriodType) UnmarshalJSON

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

type CreateInstanceExtendParamPeriodTypeEnum

type CreateInstanceExtendParamPeriodTypeEnum struct {
	MONTH CreateInstanceExtendParamPeriodType
	YEAR  CreateInstanceExtendParamPeriodType
}

func GetCreateInstanceExtendParamPeriodTypeEnum

func GetCreateInstanceExtendParamPeriodTypeEnum() CreateInstanceExtendParamPeriodTypeEnum

type CreateInstanceReq

type CreateInstanceReq struct {
	Instance *CreateInstanceDetail `json:"instance"`

	ExtendParam *CreateInstanceExtendParam `json:"extend_param,omitempty"`
}

This is a auto create Body Object

func (CreateInstanceReq) String

func (o CreateInstanceReq) String() string

type CreateInstanceRequest

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

Request Object

func (CreateInstanceRequest) String

func (o CreateInstanceRequest) String() string

type CreateInstanceResponse

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

	OrderId        *string `json:"order_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateInstanceResponse) String

func (o CreateInstanceResponse) String() string

type CreateUsersDatabases

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

func (CreateUsersDatabases) String

func (o CreateUsersDatabases) String() string

type CreateUsersDetailResponses

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

This is a auto create response Object

func (CreateUsersDetailResponses) String

type CreateUsersInfo

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

	Password string `json:"password"`

	BaseAuthority []CreateUsersInfoBaseAuthority `json:"base_authority"`

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

	Databases *[]CreateUsersDatabases `json:"databases,omitempty"`
}

This is a auto create Body Object

func (CreateUsersInfo) String

func (o CreateUsersInfo) String() string

type CreateUsersInfoBaseAuthority

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

func (CreateUsersInfoBaseAuthority) MarshalJSON

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

func (*CreateUsersInfoBaseAuthority) UnmarshalJSON

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

type CreateUsersReq

type CreateUsersReq struct {
	Users []CreateUsersInfo `json:"users"`
}

This is a auto create Body Object

func (CreateUsersReq) String

func (o CreateUsersReq) String() string

type CreateUsersRequest

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

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

Request Object

func (CreateUsersRequest) String

func (o CreateUsersRequest) String() string

type CreateUsersResponse

type CreateUsersResponse struct {
	Users          *[]CreateUsersDetailResponses `json:"users,omitempty"`
	HttpStatusCode int                           `json:"-"`
}

Response Object

func (CreateUsersResponse) String

func (o CreateUsersResponse) String() string

type DatabaseInstabcesParam

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

	AdminUser string `json:"adminUser"`

	AdminPassword string `json:"adminPassword"`
}

used_rds参数说明

func (DatabaseInstabcesParam) String

func (o DatabaseInstabcesParam) String() string

type DeleteDatabaseRequest

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

	DdmDbname string `json:"ddm_dbname"`

	DeleteRdsData *DeleteDatabaseRequestDeleteRdsData `json:"delete_rds_data,omitempty"`
}

Request Object

func (DeleteDatabaseRequest) String

func (o DeleteDatabaseRequest) String() string

type DeleteDatabaseRequestDeleteRdsData

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

func (DeleteDatabaseRequestDeleteRdsData) MarshalJSON

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

func (*DeleteDatabaseRequestDeleteRdsData) UnmarshalJSON

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

type DeleteDatabaseRequestDeleteRdsDataEnum

type DeleteDatabaseRequestDeleteRdsDataEnum struct {
	TRUE  DeleteDatabaseRequestDeleteRdsData
	FALSE DeleteDatabaseRequestDeleteRdsData
}

func GetDeleteDatabaseRequestDeleteRdsDataEnum

func GetDeleteDatabaseRequestDeleteRdsDataEnum() DeleteDatabaseRequestDeleteRdsDataEnum

type DeleteDatabaseResponse

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

Response Object

func (DeleteDatabaseResponse) String

func (o DeleteDatabaseResponse) String() string

type DeleteInstanceRequest

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

	DeleteRdsData *DeleteInstanceRequestDeleteRdsData `json:"delete_rds_data,omitempty"`
}

Request Object

func (DeleteInstanceRequest) String

func (o DeleteInstanceRequest) String() string

type DeleteInstanceRequestDeleteRdsData

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

func (DeleteInstanceRequestDeleteRdsData) MarshalJSON

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

func (*DeleteInstanceRequestDeleteRdsData) UnmarshalJSON

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

type DeleteInstanceRequestDeleteRdsDataEnum

type DeleteInstanceRequestDeleteRdsDataEnum struct {
	TRUE  DeleteInstanceRequestDeleteRdsData
	FALSE DeleteInstanceRequestDeleteRdsData
}

func GetDeleteInstanceRequestDeleteRdsDataEnum

func GetDeleteInstanceRequestDeleteRdsDataEnum() DeleteInstanceRequestDeleteRdsDataEnum

type DeleteInstanceResponse

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

Response Object

func (DeleteInstanceResponse) String

func (o DeleteInstanceResponse) String() string

type DeleteUserRequest

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

	Username string `json:"username"`
}

Request Object

func (DeleteUserRequest) String

func (o DeleteUserRequest) String() string

type DeleteUserResponse

type DeleteUserResponse struct {
	Name           *string `json:"name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteUserResponse) String

func (o DeleteUserResponse) String() string

type EngineGroupsInfo

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

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

	Version *string `json:"version,omitempty"`

	SupportAzs *[]SupportAzsInfo `json:"supportAzs,omitempty"`
}

func (EngineGroupsInfo) String

func (o EngineGroupsInfo) String() string

type EnlargeRequest

type EnlargeRequest struct {
	FlavorId string `json:"flavor_id"`

	NodeNumber int32 `json:"node_number"`
}

This is a auto request Object

func (EnlargeRequest) String

func (o EnlargeRequest) String() string

type ExpandInstanceNodesRequest

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

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

Request Object

func (ExpandInstanceNodesRequest) String

type ExpandInstanceNodesResponse

type ExpandInstanceNodesResponse struct {
	InstanceId *string `json:"instanceId,omitempty"`

	InstanceName *string `json:"instanceName,omitempty"`

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

Response Object

func (ExpandInstanceNodesResponse) String

type GetDatabaseInfo

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

	ShardMode string `json:"shard_mode"`

	ShardNumber int32 `json:"shard_number"`

	Status string `json:"status"`

	Created string `json:"created"`

	UsedRds []GetDatabaseUsedRds `json:"used_rds"`

	ShardUnit int32 `json:"shard_unit"`
}

databases 返回参数

func (GetDatabaseInfo) String

func (o GetDatabaseInfo) String() string

type GetDatabaseResponseBean

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

	Created string `json:"created"`

	Status string `json:"status"`

	Updated string `json:"updated"`

	Databases []GetDatabases `json:"databases"`

	ShardMode string `json:"shard_mode"`

	ShardNumber int32 `json:"shard_number"`

	ShardUnit int32 `json:"shard_unit"`

	DataVips []string `json:"dataVips"`

	UsedRds []GetDatabaseUsedRds `json:"used_rds"`
}

database 返回参数

func (GetDatabaseResponseBean) String

func (o GetDatabaseResponseBean) String() string

type GetDatabaseUsedRds

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

	Name string `json:"name"`

	Status string `json:"status"`

	ErrorMsg *string `json:"error_msg,omitempty"`
}

used_rds 返回参数

func (GetDatabaseUsedRds) String

func (o GetDatabaseUsedRds) String() string

type GetDatabases

type GetDatabases struct {
	Dbslot int32 `json:"dbslot"`

	Name string `json:"name"`

	Status string `json:"status"`

	Created string `json:"created"`

	Updated string `json:"updated"`

	Id string `json:"id"`

	IdName string `json:"idName"`
}

databases返回参数

func (GetDatabases) String

func (o GetDatabases) String() string

type GetDetailfNodesInfo

type GetDetailfNodesInfo struct {
	Status string `json:"status"`

	Port string `json:"port"`

	Ip string `json:"ip"`
}

nodes参数说明。

func (GetDetailfNodesInfo) String

func (o GetDetailfNodesInfo) String() string

type GetUsersListDetailResponses

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

	Status string `json:"status"`

	BaseAuthority []string `json:"base_authority"`

	ExtendAuthority *[]string `json:"extend_authority,omitempty"`

	Description string `json:"description"`

	Created int64 `json:"created"`

	Databases []GetUsersListdatabase `json:"databases"`
}

This is a auto query response Object

func (GetUsersListDetailResponses) String

type GetUsersListdatabase

type GetUsersListdatabase struct {
	Name *string `json:"name,omitempty"`

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

This is a auto query response Object

func (GetUsersListdatabase) String

func (o GetUsersListdatabase) String() string

type ListAvailableRdsListRequest

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

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

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

Request Object

func (ListAvailableRdsListRequest) String

type ListAvailableRdsListResponse

type ListAvailableRdsListResponse struct {
	Instances *[]QueryAvailableRdsList `json:"instances,omitempty"`

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

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

	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListAvailableRdsListResponse) String

type ListDatabasesRequest

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

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

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

Request Object

func (ListDatabasesRequest) String

func (o ListDatabasesRequest) String() string

type ListDatabasesResponse

type ListDatabasesResponse struct {
	Databases *[]GetDatabaseInfo `json:"databases,omitempty"`

	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListDatabasesResponse) String

func (o ListDatabasesResponse) String() string

type ListEnginesRequest

type ListEnginesRequest struct {
	Offset *int32 `json:"offset,omitempty"`

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

Request Object

func (ListEnginesRequest) String

func (o ListEnginesRequest) String() string

type ListEnginesResponse

type ListEnginesResponse struct {
	EngineGroups *[]EngineGroupsInfo `json:"engineGroups,omitempty"`

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

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

	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListEnginesResponse) String

func (o ListEnginesResponse) String() string

type ListFlavorsRequest

type ListFlavorsRequest struct {
	EngineId string `json:"engine_id"`

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

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

Request Object

func (ListFlavorsRequest) String

func (o ListFlavorsRequest) String() string

type ListFlavorsResponse

type ListFlavorsResponse struct {
	ComputeFlavorGroups *[]ComputeFlavorGroupsInfo `json:"computeFlavorGroups,omitempty"`
	HttpStatusCode      int                        `json:"-"`
}

Response Object

func (ListFlavorsResponse) String

func (o ListFlavorsResponse) String() string

type ListInstancesRequest

type ListInstancesRequest struct {
	Offset *int32 `json:"offset,omitempty"`

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

Request Object

func (ListInstancesRequest) String

func (o ListInstancesRequest) String() string

type ListInstancesResponse

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

	InstanceNum *int32 `json:"instance_num,omitempty"`

	PageNo *int32 `json:"page_no,omitempty"`

	PageSize *int32 `json:"page_size,omitempty"`

	TotalRecord *int32 `json:"total_record,omitempty"`

	TotalPage      *int32 `json:"total_page,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListInstancesResponse) String

func (o ListInstancesResponse) String() string

type ListNodesRequest

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

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

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

Request Object

func (ListNodesRequest) String

func (o ListNodesRequest) String() string

type ListNodesResponse

type ListNodesResponse struct {
	Nodes *[]NodeList `json:"nodes,omitempty"`

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

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

	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListNodesResponse) String

func (o ListNodesResponse) String() string

type ListReadWriteRatioRequest

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

	CurPage string `json:"curPage"`

	PerPage string `json:"perPage"`

	StartDate string `json:"startDate"`

	EndDate string `json:"endDate"`
}

Request Object

func (ListReadWriteRatioRequest) String

func (o ListReadWriteRatioRequest) String() string

type ListReadWriteRatioResponse

type ListReadWriteRatioResponse struct {
	TotalRecord *int32 `json:"totalRecord,omitempty"`

	ReadWriteRatioList *[]ReadWriteRatioList `json:"readWriteRatioList,omitempty"`
	HttpStatusCode     int                   `json:"-"`
}

Response Object

func (ListReadWriteRatioResponse) String

type ListSlowLogRequest

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

	CurPage string `json:"curPage"`

	PerPage string `json:"perPage"`

	StartDate string `json:"startDate"`

	EndDate string `json:"endDate"`
}

Request Object

func (ListSlowLogRequest) String

func (o ListSlowLogRequest) String() string

type ListSlowLogResponse

type ListSlowLogResponse struct {
	TotalRecord *int32 `json:"totalRecord,omitempty"`

	SlowLogList    *[]SlowLogList `json:"slowLogList,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ListSlowLogResponse) String

func (o ListSlowLogResponse) String() string

type ListUsersRequest

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

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

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

Request Object

func (ListUsersRequest) String

func (o ListUsersRequest) String() string

type ListUsersResponse

type ListUsersResponse struct {
	Users *[]GetUsersListDetailResponses `json:"users,omitempty"`

	PageNo *int32 `json:"page_no,omitempty"`

	PageSize *int32 `json:"page_size,omitempty"`

	TotalRecord *int32 `json:"total_record,omitempty"`

	TotalPage      *int32 `json:"total_page,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListUsersResponse) String

func (o ListUsersResponse) String() string

type ModifyInstanceNameReq

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

This is a auto update body Object

func (ModifyInstanceNameReq) String

func (o ModifyInstanceNameReq) String() string

type ModifyInstanceSecurityGroupReq

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

This is a auto update body Object

func (ModifyInstanceSecurityGroupReq) String

type ModifyReadAndWriteStrategyReq

type ModifyReadAndWriteStrategyReq struct {
	ReadWeight *interface{} `json:"read_weight"`
}

This is a auto read_weight Body Object

func (ModifyReadAndWriteStrategyReq) String

type NodeList

type NodeList struct {
	Port *string `json:"port,omitempty"`

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

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

	Ip *string `json:"ip,omitempty"`
}

func (NodeList) String

func (o NodeList) String() string

type QueryAvailableRdsList

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

	ProjectId *string `json:"projectId,omitempty"`

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

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

	EngineName *string `json:"engineName,omitempty"`

	EngineSoftwareVersion *string `json:"engineSoftwareVersion,omitempty"`

	PrivateIp *string `json:"privateIp,omitempty"`

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

	Port *int32 `json:"port,omitempty"`

	AzCode *string `json:"azCode,omitempty"`

	TimeZone *string `json:"timeZone,omitempty"`
}

QueryAvailableRdsList。

func (QueryAvailableRdsList) String

func (o QueryAvailableRdsList) String() string

type ReadWriteRatioList

type ReadWriteRatioList struct {
	Schema *string `json:"schema,omitempty"`

	Table *string `json:"table,omitempty"`

	ReadCount *string `json:"readCount,omitempty"`

	WriteCount *string `json:"writeCount,omitempty"`

	RelationTables *string `json:"relationTables,omitempty"`

	LastUpdated *string `json:"lastUpdated,omitempty"`
}

func (ReadWriteRatioList) String

func (o ReadWriteRatioList) String() string

type RebuildConfigRequest

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

Request Object

func (RebuildConfigRequest) String

func (o RebuildConfigRequest) String() string

type RebuildConfigResponse

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

Response Object

func (RebuildConfigResponse) String

func (o RebuildConfigResponse) String() string

type ReduceRequest

type ReduceRequest struct {
	NodeNumber int32 `json:"node_number"`
}

This is a auto request Object

func (ReduceRequest) String

func (o ReduceRequest) String() string

type ResetUserPasswordReq

type ResetUserPasswordReq struct {
	Password string `json:"password"`
}

ResetUserPasswordReq。

func (ResetUserPasswordReq) String

func (o ResetUserPasswordReq) String() string

type ResetUserPasswordRequest

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

	Username string `json:"username"`

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

Request Object

func (ResetUserPasswordRequest) String

func (o ResetUserPasswordRequest) String() string

type ResetUserPasswordResponse

type ResetUserPasswordResponse struct {
	Success *bool `json:"success,omitempty"`

	InstanceId *string `json:"instance_id,omitempty"`

	UserName       *string `json:"user_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ResetUserPasswordResponse) String

func (o ResetUserPasswordResponse) String() string

type RestarInstanceInfo

type RestarInstanceInfo struct {
	Type *RestarInstanceInfoType `json:"type,omitempty"`
}

This is a auto restart Body Object

func (RestarInstanceInfo) String

func (o RestarInstanceInfo) String() string

type RestarInstanceInfoType

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

func (RestarInstanceInfoType) MarshalJSON

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

func (*RestarInstanceInfoType) UnmarshalJSON

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

type RestarInstanceInfoTypeEnum

type RestarInstanceInfoTypeEnum struct {
	SOFT RestarInstanceInfoType
	HARD RestarInstanceInfoType
}

func GetRestarInstanceInfoTypeEnum

func GetRestarInstanceInfoTypeEnum() RestarInstanceInfoTypeEnum

type RestartInstanceReq

type RestartInstanceReq struct {
	Restart *RestarInstanceInfo `json:"restart,omitempty"`
}

This is a auto restart Body Object

func (RestartInstanceReq) String

func (o RestartInstanceReq) String() string

type RestartInstanceRequest

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

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

Request Object

func (RestartInstanceRequest) String

func (o RestartInstanceRequest) String() string

type RestartInstanceResponse

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

Response Object

func (RestartInstanceResponse) String

func (o RestartInstanceResponse) String() string

type ShowDatabaseRequest

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

	DdmDbname string `json:"ddm_dbname"`
}

Request Object

func (ShowDatabaseRequest) String

func (o ShowDatabaseRequest) String() string

type ShowDatabaseResponse

type ShowDatabaseResponse struct {
	Database       *GetDatabaseResponseBean `json:"database,omitempty"`
	HttpStatusCode int                      `json:"-"`
}

Response Object

func (ShowDatabaseResponse) String

func (o ShowDatabaseResponse) String() string

type ShowInstanceBeanResponse

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

	Status string `json:"status"`

	Name string `json:"name"`

	Created string `json:"created"`

	Updated string `json:"updated"`

	AvailableZone string `json:"available_zone"`

	VpcId string `json:"vpc_id"`

	SubnetId string `json:"subnet_id"`

	SecurityGroupId string `json:"security_group_id"`

	NodeCount int32 `json:"node_count"`

	AccessIp string `json:"access_ip"`

	AccessPort string `json:"access_port"`

	CoreCount string `json:"core_count"`

	RamCapacity string `json:"ram_capacity"`

	ErrorMsg *string `json:"error_msg,omitempty"`

	NodeStatus string `json:"node_status"`

	EnterpriseProjectId string `json:"enterprise_project_id"`

	ProjectId string `json:"project_id"`

	EngineVersion string `json:"engine_version"`

	OrderId *string `json:"order_id,omitempty"`
}

DDM实例的信息。

func (ShowInstanceBeanResponse) String

func (o ShowInstanceBeanResponse) String() string

type ShowInstanceParamRequest

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

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

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

	XLanguage *string `json:"X-Language,omitempty"`
}

Request Object

func (ShowInstanceParamRequest) String

func (o ShowInstanceParamRequest) String() string

type ShowInstanceParamResponse

type ShowInstanceParamResponse struct {
	Updated *string `json:"updated,omitempty"`

	ConfigurationParameter *[]ConfigurationParameterList `json:"configuration_parameter,omitempty"`

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

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

	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowInstanceParamResponse) String

func (o ShowInstanceParamResponse) String() string

type ShowInstanceRequest

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

Request Object

func (ShowInstanceRequest) String

func (o ShowInstanceRequest) String() string

type ShowInstanceResponse

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

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

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

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

	Updated *string `json:"updated,omitempty"`

	AvailableZone *string `json:"available_zone,omitempty"`

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

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

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

	NodeCount *int32 `json:"node_count,omitempty"`

	AccessIp *string `json:"access_ip,omitempty"`

	AccessPort *string `json:"access_port,omitempty"`

	NodeStatus *string `json:"node_status,omitempty"`

	CoreCount *string `json:"core_count,omitempty"`

	RamCapacity *string `json:"ram_capacity,omitempty"`

	ErrorMsg *string `json:"error_msg,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	OrderId *string `json:"order_id,omitempty"`

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

	EngineVersion *string `json:"engine_version,omitempty"`

	Nodes          *[]GetDetailfNodesInfo `json:"nodes,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ShowInstanceResponse) String

func (o ShowInstanceResponse) String() string

type ShowNodeRequest

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

	NodeId string `json:"node_id"`
}

Request Object

func (ShowNodeRequest) String

func (o ShowNodeRequest) String() string

type ShowNodeResponse

type ShowNodeResponse struct {
	Status *string `json:"status,omitempty"`

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

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

	PrivateIp *string `json:"private_ip,omitempty"`

	FloatingIp *string `json:"floating_ip,omitempty"`

	ServerId *string `json:"server_id,omitempty"`

	SubnetName *string `json:"subnet_name,omitempty"`

	DatavolumeId *string `json:"datavolume_id,omitempty"`

	ResSubnetIp *string `json:"res_subnet_ip,omitempty"`

	SystemvolumeId *string `json:"systemvolume_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowNodeResponse) String

func (o ShowNodeResponse) String() string

type ShrinkInstanceNodesRequest

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

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

Request Object

func (ShrinkInstanceNodesRequest) String

type ShrinkInstanceNodesResponse

type ShrinkInstanceNodesResponse struct {
	InstanceId *string `json:"instanceId,omitempty"`

	InstanceName *string `json:"instanceName,omitempty"`

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

Response Object

func (ShrinkInstanceNodesResponse) String

type SlowLogList

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

	Database *string `json:"database,omitempty"`

	QuerySample *string `json:"querySample,omitempty"`

	LogTime *string `json:"logTime,omitempty"`

	Time *string `json:"time,omitempty"`

	Shards *string `json:"shards,omitempty"`

	RowsExamined *string `json:"rowsExamined,omitempty"`
}

func (SlowLogList) String

func (o SlowLogList) String() string

type SupportAzsInfo

type SupportAzsInfo struct {
	Code *string `json:"code,omitempty"`

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

	Favored *bool `json:"favored,omitempty"`
}

func (SupportAzsInfo) String

func (o SupportAzsInfo) String() string

type UpdateDatabaseInfoRequest

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

Request Object

func (UpdateDatabaseInfoRequest) String

func (o UpdateDatabaseInfoRequest) String() string

type UpdateDatabaseInfoResponse

type UpdateDatabaseInfoResponse struct {
	InstanceId *string `json:"instanceId,omitempty"`

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

Response Object

func (UpdateDatabaseInfoResponse) String

type UpdateInstanceNameRequest

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

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

Request Object

func (UpdateInstanceNameRequest) String

func (o UpdateInstanceNameRequest) String() string

type UpdateInstanceNameResponse

type UpdateInstanceNameResponse struct {
	Name           *string `json:"name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateInstanceNameResponse) String

type UpdateInstanceParamRequest

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

	XLanguage *string `json:"X-Language,omitempty"`

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

Request Object

func (UpdateInstanceParamRequest) String

type UpdateInstanceParamResponse

type UpdateInstanceParamResponse struct {
	NodeList *string `json:"nodeList,omitempty"`

	NeedRestart *bool `json:"needRestart,omitempty"`

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

	ConfigId *string `json:"configId,omitempty"`

	ConfigName     *string `json:"configName,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateInstanceParamResponse) String

type UpdateInstanceSecurityGroupRequest

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

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

Request Object

func (UpdateInstanceSecurityGroupRequest) String

type UpdateInstanceSecurityGroupResponse

type UpdateInstanceSecurityGroupResponse struct {
	SecurityGroupId *string `json:"security_group_id,omitempty"`
	HttpStatusCode  int     `json:"-"`
}

Response Object

func (UpdateInstanceSecurityGroupResponse) String

type UpdateParametersReq

type UpdateParametersReq struct {
	Values *interface{} `json:"values"`
}

func (UpdateParametersReq) String

func (o UpdateParametersReq) String() string

type UpdateReadAndWriteStrategyRequest

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

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

Request Object

func (UpdateReadAndWriteStrategyRequest) String

type UpdateReadAndWriteStrategyResponse

type UpdateReadAndWriteStrategyResponse struct {
	Success *bool `json:"success,omitempty"`

	InstanceId     *string `json:"instance_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateReadAndWriteStrategyResponse) String

type UpdateUserDetailReq

type UpdateUserDetailReq struct {
	BaseAuthority *[]UpdateUserDetailReqBaseAuthority `json:"base_authority,omitempty"`

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

	Databases *[]UpdateUsersDatabases `json:"databases,omitempty"`
}

This is a auto update request Object

func (UpdateUserDetailReq) String

func (o UpdateUserDetailReq) String() string

type UpdateUserDetailReqBaseAuthority

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

func (UpdateUserDetailReqBaseAuthority) MarshalJSON

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

func (*UpdateUserDetailReqBaseAuthority) UnmarshalJSON

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

type UpdateUserReq

type UpdateUserReq struct {
	User *UpdateUserDetailReq `json:"user"`
}

This is a auto update request Object

func (UpdateUserReq) String

func (o UpdateUserReq) String() string

type UpdateUserRequest

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

	Username string `json:"username"`

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

Request Object

func (UpdateUserRequest) String

func (o UpdateUserRequest) String() string

type UpdateUserResponse

type UpdateUserResponse struct {
	Name           *string `json:"name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateUserResponse) String

func (o UpdateUserResponse) String() string

type UpdateUsersDatabases

type UpdateUsersDatabases struct {
	Name *string `json:"name,omitempty"`
}

func (UpdateUsersDatabases) String

func (o UpdateUsersDatabases) String() string

Source Files

Jump to

Keyboard shortcuts

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