model

package
v0.0.63 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 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 Backup

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

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

	Descriprion *string `json:"descriprion,omitempty"`

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

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

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

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

func (Backup) String

func (o Backup) String() string

type BackupPolicy

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

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

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

	RetentionNumBackupLevel1 *int32 `json:"retention_num_backup_level1,omitempty"`
}

备份策略信息。

func (BackupPolicy) String

func (o BackupPolicy) String() string

type BackupStatus

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

func (BackupStatus) MarshalJSON

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

func (*BackupStatus) UnmarshalJSON

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

type BackupStatusEnum

type BackupStatusEnum struct {
	BUILDING  BackupStatus
	COMPLETED BackupStatus
	FAILED    BackupStatus
	AVAILABLE BackupStatus
}

func GetBackupStatusEnum

func GetBackupStatusEnum() BackupStatusEnum

type BackupType

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

func (BackupType) MarshalJSON

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

func (*BackupType) UnmarshalJSON

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

type BackupTypeEnum

type BackupTypeEnum struct {
	MANUAL BackupType
}

func GetBackupTypeEnum

func GetBackupTypeEnum() BackupTypeEnum

type Backups

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

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

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

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

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

	TakeUpTime *int32 `json:"take_up_time,omitempty"`

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

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

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

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

	BackupLevel *BackupsBackupLevel `json:"backup_level,omitempty"`

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

func (Backups) String

func (o Backups) String() string

type BackupsBackupLevel

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

func (BackupsBackupLevel) MarshalJSON

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

func (*BackupsBackupLevel) UnmarshalJSON

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

type BackupsBackupLevelEnum

type BackupsBackupLevelEnum struct {
	E_0 BackupsBackupLevel
	E_1 BackupsBackupLevel
	E_2 BackupsBackupLevel
}

func GetBackupsBackupLevelEnum

func GetBackupsBackupLevelEnum() BackupsBackupLevelEnum

type BackupsStatus

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

func (BackupsStatus) MarshalJSON

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

func (*BackupsStatus) UnmarshalJSON

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

type BackupsStatusEnum

type BackupsStatusEnum struct {
	BUILDING  BackupsStatus
	COMPLETED BackupsStatus
	FAILED    BackupsStatus
	AVAILABLE BackupsStatus
}

func GetBackupsStatusEnum

func GetBackupsStatusEnum() BackupsStatusEnum

type BackupsType

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

func (BackupsType) MarshalJSON

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

func (*BackupsType) UnmarshalJSON

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

type BackupsTypeEnum

type BackupsTypeEnum struct {
	AUTO   BackupsType
	MANUAL BackupsType
}

func GetBackupsTypeEnum

func GetBackupsTypeEnum() BackupsTypeEnum

type ChangeMysqlInstanceSpecificationRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (ChangeMysqlInstanceSpecificationRequest) String

type ChangeMysqlInstanceSpecificationResponse

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

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

Response Object

func (ChangeMysqlInstanceSpecificationResponse) String

type ConfigurationSummary

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

	Name string `json:"name"`

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

	DatastoreVersionName string `json:"datastore_version_name"`

	DatastoreName string `json:"datastore_name"`

	Created string `json:"created"`

	Updated string `json:"updated"`

	UserDefined bool `json:"user_defined"`
}

参数模板信息。

func (ConfigurationSummary) String

func (o ConfigurationSummary) String() string

type CreateMysqlBackupRequest

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

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

Request Object

func (CreateMysqlBackupRequest) String

func (o CreateMysqlBackupRequest) String() string

type CreateMysqlBackupResponse

type CreateMysqlBackupResponse struct {
	Backup         *Backup `json:"backup,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateMysqlBackupResponse) String

func (o CreateMysqlBackupResponse) String() string

type CreateMysqlInstanceRequest

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

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

Request Object

func (CreateMysqlInstanceRequest) String

type CreateMysqlInstanceResponse

type CreateMysqlInstanceResponse struct {
	Instance *MysqlInstanceResponse `json:"instance,omitempty"`

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

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

Response Object

func (CreateMysqlInstanceResponse) String

type CreateMysqlProxyRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (CreateMysqlProxyRequest) String

func (o CreateMysqlProxyRequest) String() string

type CreateMysqlProxyResponse

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

Response Object

func (CreateMysqlProxyResponse) String

func (o CreateMysqlProxyResponse) String() string

type CreateMysqlReadonlyNodeRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (CreateMysqlReadonlyNodeRequest) String

type CreateMysqlReadonlyNodeResponse

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

	NodeNames *[]string `json:"node_names,omitempty"`

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

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

Response Object

func (CreateMysqlReadonlyNodeResponse) String

type DedicatedResource added in v0.0.58

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

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

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

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

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

	Capacity *DedicatedResourceCapacity `json:"capacity,omitempty"`

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

专属资源池信息。

func (DedicatedResource) String added in v0.0.58

func (o DedicatedResource) String() string

type DedicatedResourceCapacity added in v0.0.58

type DedicatedResourceCapacity struct {
	Ram *int32 `json:"ram,omitempty"`

	Volume *int64 `json:"volume,omitempty"`

	Vcpus *int32 `json:"vcpus,omitempty"`
}

func (DedicatedResourceCapacity) String added in v0.0.58

func (o DedicatedResourceCapacity) String() string

type DedicatedResourceStatus added in v0.0.58

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

func (DedicatedResourceStatus) MarshalJSON added in v0.0.58

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

func (*DedicatedResourceStatus) UnmarshalJSON added in v0.0.58

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

type DedicatedResourceStatusEnum added in v0.0.58

type DedicatedResourceStatusEnum struct {
	NORMAL    DedicatedResourceStatus
	BUILDING  DedicatedResourceStatus
	EXTENDING DedicatedResourceStatus
	DELETED   DedicatedResourceStatus
}

func GetDedicatedResourceStatusEnum added in v0.0.58

func GetDedicatedResourceStatusEnum() DedicatedResourceStatusEnum

type DeleteMysqlInstanceRequest

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

	InstanceId string `json:"instance_id"`
}

Request Object

func (DeleteMysqlInstanceRequest) String

type DeleteMysqlInstanceResponse

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

Response Object

func (DeleteMysqlInstanceResponse) String

type DeleteMysqlProxyRequest

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

	InstanceId string `json:"instance_id"`
}

Request Object

func (DeleteMysqlProxyRequest) String

func (o DeleteMysqlProxyRequest) String() string

type DeleteMysqlProxyResponse

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

Response Object

func (DeleteMysqlProxyResponse) String

func (o DeleteMysqlProxyResponse) String() string

type DeleteMysqlReadonlyNodeRequest

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

	InstanceId string `json:"instance_id"`

	NodeId string `json:"node_id"`
}

Request Object

func (DeleteMysqlReadonlyNodeRequest) String

type DeleteMysqlReadonlyNodeResponse

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

Response Object

func (DeleteMysqlReadonlyNodeResponse) String

type EnlargeProxyRequest

type EnlargeProxyRequest struct {
	NodeNum int32 `json:"node_num"`
}

proxy节点扩容信息

func (EnlargeProxyRequest) String

func (o EnlargeProxyRequest) String() string

type ExpandMysqlInstanceVolumeRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (ExpandMysqlInstanceVolumeRequest) String

type ExpandMysqlInstanceVolumeResponse

type ExpandMysqlInstanceVolumeResponse struct {
	Size *int32 `json:"size,omitempty"`

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

Response Object

func (ExpandMysqlInstanceVolumeResponse) String

type ExpandMysqlProxyRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (ExpandMysqlProxyRequest) String

func (o ExpandMysqlProxyRequest) String() string

type ExpandMysqlProxyResponse

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

Response Object

func (ExpandMysqlProxyResponse) String

func (o ExpandMysqlProxyResponse) String() string

type GetJobEntitiesInstanceInfoDetail

type GetJobEntitiesInstanceInfoDetail struct {
	Endpoint string `json:"endpoint"`

	Type string `json:"type"`

	Datastore *GetJobInstanceDatastoreInfoDetail `json:"datastore"`
}

执行任务的实例信息。

func (GetJobEntitiesInstanceInfoDetail) String

type GetJobEntitiesObjectDetail

type GetJobEntitiesObjectDetail struct {
	Instance *GetJobEntitiesInstanceInfoDetail `json:"instance"`

	ResourceIds []string `json:"resource_ids"`
}

func (GetJobEntitiesObjectDetail) String

type GetJobInfoDetail

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

	Name string `json:"name"`

	Status GetJobInfoDetailStatus `json:"status"`

	Created string `json:"created"`

	Ended *string `json:"ended,omitempty"`

	Process *string `json:"process,omitempty"`

	Instance *GetJobInstanceInfoDetail `json:"instance"`

	Entities map[string]GetJobEntitiesObjectDetail `json:"entities,omitempty"`

	FailReason *string `json:"fail_reason,omitempty"`
}

任务信息。

func (GetJobInfoDetail) String

func (o GetJobInfoDetail) String() string

type GetJobInfoDetailStatus

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

func (GetJobInfoDetailStatus) MarshalJSON

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

func (*GetJobInfoDetailStatus) UnmarshalJSON

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

type GetJobInfoDetailStatusEnum

type GetJobInfoDetailStatusEnum struct {
	RUNNING   GetJobInfoDetailStatus
	COMPLETED GetJobInfoDetailStatus
	FAILED    GetJobInfoDetailStatus
}

func GetGetJobInfoDetailStatusEnum

func GetGetJobInfoDetailStatusEnum() GetJobInfoDetailStatusEnum

type GetJobInstanceDatastoreInfoDetail

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

	Version string `json:"version"`
}

数据库信息。

func (GetJobInstanceDatastoreInfoDetail) String

type GetJobInstanceInfoDetail

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

	Name string `json:"name"`
}

指定ID任务的实例信息。

func (GetJobInstanceInfoDetail) String

func (o GetJobInstanceInfoDetail) String() string

type ListDedicatedResourcesRequest added in v0.0.58

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

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

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

Request Object

func (ListDedicatedResourcesRequest) String added in v0.0.58

type ListDedicatedResourcesResponse added in v0.0.58

type ListDedicatedResourcesResponse struct {
	Resources *[]DedicatedResource `json:"resources,omitempty"`

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

Response Object

func (ListDedicatedResourcesResponse) String added in v0.0.58

type ListMysqlConfigurationsRequest

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

Request Object

func (ListMysqlConfigurationsRequest) String

type ListMysqlConfigurationsResponse

type ListMysqlConfigurationsResponse struct {
	Configurations *[]ConfigurationSummary `json:"configurations,omitempty"`

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

Response Object

func (ListMysqlConfigurationsResponse) String

type ListMysqlErrorLogRequest

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

	InstanceId string `json:"instance_id"`

	StartDate string `json:"start_date"`

	EndDate string `json:"end_date"`

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

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

	Level *string `json:"level,omitempty"`

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

Request Object

func (ListMysqlErrorLogRequest) String

func (o ListMysqlErrorLogRequest) String() string

type ListMysqlErrorLogResponse

type ListMysqlErrorLogResponse struct {
	ErrorLogList *[]MysqlErrorLogList `json:"error_log_list,omitempty"`

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

Response Object

func (ListMysqlErrorLogResponse) String

func (o ListMysqlErrorLogResponse) String() string

type ListMysqlSlowLogRequest

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

	InstanceId string `json:"instance_id"`

	StartDate string `json:"start_date"`

	EndDate string `json:"end_date"`

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

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

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

	NodeId string `json:"node_id"`
}

Request Object

func (ListMysqlSlowLogRequest) String

func (o ListMysqlSlowLogRequest) String() string

type ListMysqlSlowLogResponse

type ListMysqlSlowLogResponse struct {
	SlowLogList *[]MysqlSlowLogList `json:"slow_log_list,omitempty"`

	LongQueryTime *string `json:"long_query_time,omitempty"`

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

Response Object

func (ListMysqlSlowLogResponse) String

func (o ListMysqlSlowLogResponse) String() string

type MysqlBackupPolicy

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

	KeepDays int32 `json:"keep_days"`

	Period string `json:"period"`

	RetentionNumBackupLevel1 *int32 `json:"retention_num_backup_level1,omitempty"`
}

func (MysqlBackupPolicy) String

func (o MysqlBackupPolicy) String() string

type MysqlBackupStrategy

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

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

自动备份策略

func (MysqlBackupStrategy) String

func (o MysqlBackupStrategy) String() string

type MysqlChangeSpecificationRequest

type MysqlChangeSpecificationRequest struct {
	ResizeFlavor *MysqlResizeFlavor `json:"resize_flavor"`

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

func (MysqlChangeSpecificationRequest) String

type MysqlChargeInfo

type MysqlChargeInfo struct {
	ChargeMode MysqlChargeInfoChargeMode `json:"charge_mode"`

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

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

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

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

计费类型信息,支持包年包月和按需,默认为按需。

func (MysqlChargeInfo) String

func (o MysqlChargeInfo) String() string

type MysqlChargeInfoChargeMode

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

func (MysqlChargeInfoChargeMode) MarshalJSON

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

func (*MysqlChargeInfoChargeMode) UnmarshalJSON

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

type MysqlChargeInfoChargeModeEnum

type MysqlChargeInfoChargeModeEnum struct {
	PRE_PAID  MysqlChargeInfoChargeMode
	POST_PAID MysqlChargeInfoChargeMode
}

func GetMysqlChargeInfoChargeModeEnum

func GetMysqlChargeInfoChargeModeEnum() MysqlChargeInfoChargeModeEnum

type MysqlChargeInfoPeriodType

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

func (MysqlChargeInfoPeriodType) MarshalJSON

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

func (*MysqlChargeInfoPeriodType) UnmarshalJSON

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

type MysqlChargeInfoPeriodTypeEnum

type MysqlChargeInfoPeriodTypeEnum struct {
	MONTH MysqlChargeInfoPeriodType
	YEAR  MysqlChargeInfoPeriodType
}

func GetMysqlChargeInfoPeriodTypeEnum

func GetMysqlChargeInfoPeriodTypeEnum() MysqlChargeInfoPeriodTypeEnum

type MysqlCreateBackupRequest

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

	Name string `json:"name"`

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

func (MysqlCreateBackupRequest) String

func (o MysqlCreateBackupRequest) String() string

type MysqlCreateReadonlyNodeRequest

type MysqlCreateReadonlyNodeRequest struct {
	Priorities []int32 `json:"priorities"`

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

只读节点信息

func (MysqlCreateReadonlyNodeRequest) String

type MysqlDatastore

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

	Version string `json:"version"`
}

数据库信息。

func (MysqlDatastore) String

func (o MysqlDatastore) String() string

type MysqlEngineVersionInfo

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

	Name string `json:"name"`
}

func (MysqlEngineVersionInfo) String

func (o MysqlEngineVersionInfo) String() string

type MysqlErrorLogList

type MysqlErrorLogList struct {
	NodeId *string `json:"node_id,omitempty"`

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

	Level *string `json:"level,omitempty"`

	Content *string `json:"content,omitempty"`
}

func (MysqlErrorLogList) String

func (o MysqlErrorLogList) String() string

type MysqlExtendInstanceVolumeRequest

type MysqlExtendInstanceVolumeRequest struct {
	Size int32 `json:"size"`

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

扩容信息

func (MysqlExtendInstanceVolumeRequest) String

type MysqlFlavorInfo

type MysqlFlavorInfo struct {
	Vcpus string `json:"vcpus"`

	Ram string `json:"ram"`
}

flavor规格信息。

func (MysqlFlavorInfo) String

func (o MysqlFlavorInfo) String() string

type MysqlFlavorsInfo

type MysqlFlavorsInfo struct {
	Vcpus string `json:"vcpus"`

	Ram string `json:"ram"`

	Type string `json:"type"`

	Id string `json:"id"`

	SpecCode string `json:"spec_code"`

	VersionName string `json:"version_name"`

	InstanceMode string `json:"instance_mode"`

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

func (MysqlFlavorsInfo) String

func (o MysqlFlavorsInfo) String() string

type MysqlInstanceInfoDetail

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

	Name string `json:"name"`

	ProjectId string `json:"project_id"`

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

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

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

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

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

	BackupUsedSpace *int64 `json:"backup_used_space,omitempty"`

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

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

	PrivateWriteIps *[]string `json:"private_write_ips,omitempty"`

	PublicIps *string `json:"public_ips,omitempty"`

	DbUserName *string `json:"db_user_name,omitempty"`

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

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

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

	ConfigurationId *string `json:"configuration_id,omitempty"`

	Volume *MysqlVolumeInfo `json:"volume,omitempty"`

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

	Nodes *[]MysqlInstanceNodeInfo `json:"nodes,omitempty"`

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

	TimeZone *string `json:"time_zone,omitempty"`

	AzMode *string `json:"az_mode,omitempty"`

	MasterAzCode *string `json:"master_az_code,omitempty"`

	MaintenanceWindow *string `json:"maintenance_window,omitempty"`

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

	DedicatedResourceId *string `json:"dedicated_resource_id,omitempty"`
}

func (MysqlInstanceInfoDetail) String

func (o MysqlInstanceInfoDetail) String() string

type MysqlInstanceListInfo

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

	Name string `json:"name"`

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

	PrivateIps *[]string `json:"private_ips,omitempty"`

	PublicIps *[]string `json:"public_ips,omitempty"`

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

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

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

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

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

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

	DbUserName *string `json:"db_user_name,omitempty"`

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

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

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

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

	FlavorInfo *MysqlFlavorInfo `json:"flavor_info,omitempty"`

	Volume *MysqlVolumeInfo `json:"volume,omitempty"`

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

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

	TimeZone *string `json:"time_zone,omitempty"`

	ChargeInfo *MysqlChargeInfo `json:"charge_info,omitempty"`

	DedicatedResourceId *string `json:"dedicated_resource_id,omitempty"`
}

func (MysqlInstanceListInfo) String

func (o MysqlInstanceListInfo) String() string

type MysqlInstanceNodeInfo

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

	Name string `json:"name"`

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

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

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

	PrivateReadIps *[]string `json:"private_read_ips,omitempty"`

	Volume *MysqlVolumeInfo `json:"volume,omitempty"`

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

	RegionCode *string `json:"region_code,omitempty"`

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

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

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

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

	Vcpus *string `json:"vcpus,omitempty"`

	Ram *string `json:"ram,omitempty"`

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

	Priotiry *int32 `json:"priotiry,omitempty"`
}

节点信息。

func (MysqlInstanceNodeInfo) String

func (o MysqlInstanceNodeInfo) String() string

type MysqlInstanceRequest

type MysqlInstanceRequest struct {
	ChargeInfo *MysqlChargeInfo `json:"charge_info,omitempty"`

	Region string `json:"region"`

	Name string `json:"name"`

	Datastore *MysqlDatastore `json:"datastore"`

	Mode string `json:"mode"`

	FlavorRef string `json:"flavor_ref"`

	VpcId string `json:"vpc_id"`

	SubnetId string `json:"subnet_id"`

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

	ConfigurationId *string `json:"configuration_id,omitempty"`

	Password string `json:"password"`

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

	TimeZone *string `json:"time_zone,omitempty"`

	AvailabilityZoneMode string `json:"availability_zone_mode"`

	MasterAvailabilityZone *string `json:"master_availability_zone,omitempty"`

	SlaveCount int32 `json:"slave_count"`

	Volume *MysqlVolume `json:"volume,omitempty"`

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

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

	DedicatedResourceId *string `json:"dedicated_resource_id,omitempty"`
}

实例信息

func (MysqlInstanceRequest) String

func (o MysqlInstanceRequest) String() string

type MysqlInstanceResponse

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

	Name string `json:"name"`

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

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

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

	ConfigurationId *string `json:"configuration_id,omitempty"`

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

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

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

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

	AvailabilityZoneMode *string `json:"availability_zone_mode,omitempty"`

	MasterAvailabilityZone *string `json:"master_availability_zone,omitempty"`

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

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

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

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

	ChargeInfo *MysqlChargeInfo `json:"charge_info,omitempty"`
}

func (MysqlInstanceResponse) String

func (o MysqlInstanceResponse) String() string

type MysqlProxy

type MysqlProxy struct {
	PoolId *string `json:"pool_id,omitempty"`

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

	Address *string `json:"address,omitempty"`

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

	PoolStatus *string `json:"pool_status,omitempty"`

	DelayThresholdInSeconds *int32 `json:"delay_threshold_in_seconds,omitempty"`

	ElbVip *string `json:"elb_vip,omitempty"`

	Eip *string `json:"eip,omitempty"`

	Vcpus *string `json:"vcpus,omitempty"`

	Ram *string `json:"ram,omitempty"`

	NodeNum *int32 `json:"node_num,omitempty"`

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

	Nodes *[]MysqlProxyNodes `json:"nodes,omitempty"`

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

func (MysqlProxy) String

func (o MysqlProxy) String() string

type MysqlProxyAvailable

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

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

func (MysqlProxyAvailable) String

func (o MysqlProxyAvailable) String() string

type MysqlProxyComputeFlavor

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

	SpecCode *string `json:"spec_code,omitempty"`

	Vcpus *string `json:"vcpus,omitempty"`

	Ram *string `json:"ram,omitempty"`

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

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

	RegionStatus *string `json:"region_status,omitempty"`
}

func (MysqlProxyComputeFlavor) String

func (o MysqlProxyComputeFlavor) String() string

type MysqlProxyFlavorGroups

type MysqlProxyFlavorGroups struct {
	GroupType *string `json:"group_type,omitempty"`

	ProxyFlavors *[]MysqlProxyComputeFlavor `json:"proxy_flavors,omitempty"`
}

func (MysqlProxyFlavorGroups) String

func (o MysqlProxyFlavorGroups) String() string

type MysqlProxyNode

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

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

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

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

	Weight *int32 `json:"weight,omitempty"`

	AvailableZones *[]MysqlProxyAvailable `json:"available_zones,omitempty"`
}

func (MysqlProxyNode) String

func (o MysqlProxyNode) String() string

type MysqlProxyNodes

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

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

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

	Role *string `json:"role,omitempty"`

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

	FrozenFlag *int32 `json:"frozen_flag,omitempty"`
}

func (MysqlProxyNodes) String

func (o MysqlProxyNodes) String() string

type MysqlResetPasswordRequest

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

func (MysqlResetPasswordRequest) String

func (o MysqlResetPasswordRequest) String() string

type MysqlResizeFlavor

type MysqlResizeFlavor struct {
	SpecCode string `json:"spec_code"`
}

func (MysqlResizeFlavor) String

func (o MysqlResizeFlavor) String() string

type MysqlSlowLogList

type MysqlSlowLogList struct {
	NodeId *string `json:"node_id,omitempty"`

	Count *string `json:"count,omitempty"`

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

	LockTime *string `json:"lock_time,omitempty"`

	RowsSent *string `json:"rows_sent,omitempty"`

	RowsExamined *string `json:"rows_examined,omitempty"`

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

	Users *string `json:"users,omitempty"`

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

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

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

	ClientIp *string `json:"client_ip,omitempty"`
}

func (MysqlSlowLogList) String

func (o MysqlSlowLogList) String() string

type MysqlTags

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

	Value string `json:"value"`
}

标签列表,根据标签键值对创建实例。 - {key}表示标签键,不可以为空或重复。 - {value}表示标签值,可以为空。 如果创建实例时同时使用多个标签键值对,中间使用逗号分隔开,最多包含10组。

func (MysqlTags) String

func (o MysqlTags) String() string

type MysqlUpdateBackupPolicyRequest

type MysqlUpdateBackupPolicyRequest struct {
	BackupPolicy *MysqlBackupPolicy `json:"backup_policy"`
}

修改备份策略信息

func (MysqlUpdateBackupPolicyRequest) String

type MysqlUpdateInstanceNameRequest

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

func (MysqlUpdateInstanceNameRequest) String

type MysqlVolume

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

func (MysqlVolume) String

func (o MysqlVolume) String() string

type MysqlVolumeInfo

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

	Size string `json:"size"`
}

存储盘信息。

func (MysqlVolumeInfo) String

func (o MysqlVolumeInfo) String() string

type OpenMysqlProxyRequestBody

type OpenMysqlProxyRequestBody struct {
	FlavorRef *string `json:"flavor_ref,omitempty"`

	NodeNum *int32 `json:"node_num,omitempty"`
}

func (OpenMysqlProxyRequestBody) String

func (o OpenMysqlProxyRequestBody) String() string

type ProjectQuotas

type ProjectQuotas struct {
	Resources []Resource `json:"resources"`
}

func (ProjectQuotas) String

func (o ProjectQuotas) String() string

type Quota

type Quota struct {
	EnterpriseProjectId string `json:"enterprise_project_id"`

	EnterpriseProjectName string `json:"enterprise_project_name"`

	InstanceQuota int32 `json:"instance_quota"`

	VcpusQuota int32 `json:"vcpus_quota"`

	RamQuota int32 `json:"ram_quota"`

	AvailabilityInstanceQuota int32 `json:"availability_instance_quota"`

	AvailabilityVcpusQuota *int32 `json:"availability_vcpus_quota,omitempty"`

	AvailabilityRamQuota int32 `json:"availability_ram_quota"`
}

func (Quota) String

func (o Quota) String() string

type ResetMysqlPasswordRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (ResetMysqlPasswordRequest) String

func (o ResetMysqlPasswordRequest) String() string

type ResetMysqlPasswordResponse

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

Response Object

func (ResetMysqlPasswordResponse) String

type Resource

type Resource struct {
	Mode ResourceMode `json:"mode"`

	Type ResourceType `json:"type"`

	Used int32 `json:"used"`

	Quota int32 `json:"quota"`
}

func (Resource) String

func (o Resource) String() string

type ResourceMode

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

func (ResourceMode) MarshalJSON

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

func (*ResourceMode) UnmarshalJSON

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

type ResourceModeEnum

type ResourceModeEnum struct {
	CLUSTER ResourceMode
}

func GetResourceModeEnum

func GetResourceModeEnum() ResourceModeEnum

type ResourceType

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

func (ResourceType) MarshalJSON

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

func (*ResourceType) UnmarshalJSON

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

type ResourceTypeEnum

type ResourceTypeEnum struct {
	INSTANCE ResourceType
}

func GetResourceTypeEnum

func GetResourceTypeEnum() ResourceTypeEnum

type SetMysqlQuotasRequest

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

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

Request Object

func (SetMysqlQuotasRequest) String

func (o SetMysqlQuotasRequest) String() string

type SetMysqlQuotasResponse

type SetMysqlQuotasResponse struct {
	QuotaList      *[]SetQuota `json:"quota_list,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (SetMysqlQuotasResponse) String

func (o SetMysqlQuotasResponse) String() string

type SetQuota

type SetQuota struct {
	EnterpriseProjectId string `json:"enterprise_project_id"`

	InstanceQuota int32 `json:"instance_quota"`

	VcpusQuota int32 `json:"vcpus_quota"`

	RamQuota int32 `json:"ram_quota"`
}

func (SetQuota) String

func (o SetQuota) String() string

type SetQuotasRequestBody

type SetQuotasRequestBody struct {
	QuotaList []SetQuota `json:"quota_list"`
}

func (SetQuotasRequestBody) String

func (o SetQuotasRequestBody) String() string

type ShowMysqlBackupListRequest

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

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

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

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

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

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

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

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

Request Object

func (ShowMysqlBackupListRequest) String

type ShowMysqlBackupListResponse

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

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

Response Object

func (ShowMysqlBackupListResponse) String

type ShowMysqlBackupPolicyRequest

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

	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowMysqlBackupPolicyRequest) String

type ShowMysqlBackupPolicyResponse

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

Response Object

func (ShowMysqlBackupPolicyResponse) String

type ShowMysqlEngineVersionRequest

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

	DatabaseName string `json:"database_name"`
}

Request Object

func (ShowMysqlEngineVersionRequest) String

type ShowMysqlEngineVersionResponse

type ShowMysqlEngineVersionResponse struct {
	Datastores     *[]MysqlEngineVersionInfo `json:"datastores,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

Response Object

func (ShowMysqlEngineVersionResponse) String

type ShowMysqlFlavorsRequest

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

	DatabaseName string `json:"database_name"`

	VersionName *string `json:"version_name,omitempty"`

	AvailabilityZoneMode ShowMysqlFlavorsRequestAvailabilityZoneMode `json:"availability_zone_mode"`

	SpecCode *string `json:"spec_code,omitempty"`
}

Request Object

func (ShowMysqlFlavorsRequest) String

func (o ShowMysqlFlavorsRequest) String() string

type ShowMysqlFlavorsRequestAvailabilityZoneMode

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

func (ShowMysqlFlavorsRequestAvailabilityZoneMode) MarshalJSON

func (*ShowMysqlFlavorsRequestAvailabilityZoneMode) UnmarshalJSON

type ShowMysqlFlavorsResponse

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

Response Object

func (ShowMysqlFlavorsResponse) String

func (o ShowMysqlFlavorsResponse) String() string

type ShowMysqlInstanceInfoRequest

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

	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowMysqlInstanceInfoRequest) String

type ShowMysqlInstanceInfoResponse

type ShowMysqlInstanceInfoResponse struct {
	Instance       *MysqlInstanceInfoDetail `json:"instance,omitempty"`
	HttpStatusCode int                      `json:"-"`
}

Response Object

func (ShowMysqlInstanceInfoResponse) String

type ShowMysqlInstanceListRequest

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

	Id *string `json:"id,omitempty"`

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

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

	DatastoreType *string `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 (ShowMysqlInstanceListRequest) String

type ShowMysqlInstanceListResponse

type ShowMysqlInstanceListResponse struct {
	Instances *[]MysqlInstanceListInfo `json:"instances,omitempty"`

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

Response Object

func (ShowMysqlInstanceListResponse) String

type ShowMysqlJobInfoRequest

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

	Id string `json:"id"`
}

Request Object

func (ShowMysqlJobInfoRequest) String

func (o ShowMysqlJobInfoRequest) String() string

type ShowMysqlJobInfoResponse

type ShowMysqlJobInfoResponse struct {
	Job            *GetJobInfoDetail `json:"job,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ShowMysqlJobInfoResponse) String

func (o ShowMysqlJobInfoResponse) String() string

type ShowMysqlProjectQuotasRequest

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

	Type *ShowMysqlProjectQuotasRequestType `json:"type,omitempty"`
}

Request Object

func (ShowMysqlProjectQuotasRequest) String

type ShowMysqlProjectQuotasRequestType

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

func (ShowMysqlProjectQuotasRequestType) MarshalJSON

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

func (*ShowMysqlProjectQuotasRequestType) UnmarshalJSON

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

type ShowMysqlProjectQuotasRequestTypeEnum

type ShowMysqlProjectQuotasRequestTypeEnum struct {
	INSTANCE ShowMysqlProjectQuotasRequestType
}

func GetShowMysqlProjectQuotasRequestTypeEnum

func GetShowMysqlProjectQuotasRequestTypeEnum() ShowMysqlProjectQuotasRequestTypeEnum

type ShowMysqlProjectQuotasResponse

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

Response Object

func (ShowMysqlProjectQuotasResponse) String

type ShowMysqlProxyFlavorsRequest

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

	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowMysqlProxyFlavorsRequest) String

type ShowMysqlProxyFlavorsResponse

type ShowMysqlProxyFlavorsResponse struct {
	ProxyFlavorGroups *[]MysqlProxyFlavorGroups `json:"proxy_flavor_groups,omitempty"`
	HttpStatusCode    int                       `json:"-"`
}

Response Object

func (ShowMysqlProxyFlavorsResponse) String

type ShowMysqlProxyRequest

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

	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowMysqlProxyRequest) String

func (o ShowMysqlProxyRequest) String() string

type ShowMysqlProxyResponse

type ShowMysqlProxyResponse struct {
	Proxy *MysqlProxy `json:"proxy,omitempty"`

	MasterNode *MysqlProxyNode `json:"master_node,omitempty"`

	ReadonlyNodes  *[]MysqlProxyNode `json:"readonly_nodes,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ShowMysqlProxyResponse) String

func (o ShowMysqlProxyResponse) String() string

type ShowMysqlQuotasRequest

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

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

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

	EnterpriseProjectName *string `json:"enterprise_project_name,omitempty"`
}

Request Object

func (ShowMysqlQuotasRequest) String

func (o ShowMysqlQuotasRequest) String() string

type ShowMysqlQuotasResponse

type ShowMysqlQuotasResponse struct {
	QuotaList *[]Quota `json:"quota_list,omitempty"`

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

Response Object

func (ShowMysqlQuotasResponse) String

func (o ShowMysqlQuotasResponse) String() string

type UpdateMysqlBackupPolicyRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (UpdateMysqlBackupPolicyRequest) String

type UpdateMysqlBackupPolicyResponse

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

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

	InstanceName   *string `json:"instance_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateMysqlBackupPolicyResponse) String

type UpdateMysqlInstanceNameRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (UpdateMysqlInstanceNameRequest) String

type UpdateMysqlInstanceNameResponse

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

Response Object

func (UpdateMysqlInstanceNameResponse) String

type UpdateMysqlQuotasRequest

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

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

Request Object

func (UpdateMysqlQuotasRequest) String

func (o UpdateMysqlQuotasRequest) String() string

type UpdateMysqlQuotasResponse

type UpdateMysqlQuotasResponse struct {
	QuotaList      *[]SetQuota `json:"quota_list,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (UpdateMysqlQuotasResponse) String

func (o UpdateMysqlQuotasResponse) String() string

Source Files

Jump to

Keyboard shortcuts

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