model

package
v0.0.80 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 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 BatchOperateInstanceTagRequestBody added in v0.0.71

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

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

func (BatchOperateInstanceTagRequestBody) String added in v0.0.71

type BatchTagActionRequest added in v0.0.71

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (BatchTagActionRequest) String added in v0.0.71

func (o BatchTagActionRequest) String() string

type BatchTagActionResponse added in v0.0.71

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

Response Object

func (BatchTagActionResponse) String added in v0.0.71

func (o BatchTagActionResponse) String() string

type ChangeGaussMySqlInstanceSpecificationRequest added in v0.0.64

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (ChangeGaussMySqlInstanceSpecificationRequest) String added in v0.0.64

type ChangeGaussMySqlInstanceSpecificationResponse added in v0.0.64

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

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

Response Object

func (ChangeGaussMySqlInstanceSpecificationResponse) String added in v0.0.64

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 CreateGaussMySqlBackupRequest added in v0.0.64

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

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

Request Object

func (CreateGaussMySqlBackupRequest) String added in v0.0.64

type CreateGaussMySqlBackupResponse added in v0.0.64

type CreateGaussMySqlBackupResponse struct {
	Backup *Backup `json:"backup,omitempty"`

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

Response Object

func (CreateGaussMySqlBackupResponse) String added in v0.0.64

type CreateGaussMySqlInstanceRequest added in v0.0.64

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

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

Request Object

func (CreateGaussMySqlInstanceRequest) String added in v0.0.64

type CreateGaussMySqlInstanceResponse added in v0.0.64

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

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

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

Response Object

func (CreateGaussMySqlInstanceResponse) String added in v0.0.64

type CreateGaussMySqlProxyRequest added in v0.0.64

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (CreateGaussMySqlProxyRequest) String added in v0.0.64

type CreateGaussMySqlProxyResponse added in v0.0.64

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

Response Object

func (CreateGaussMySqlProxyResponse) String added in v0.0.64

type CreateGaussMySqlReadonlyNodeRequest added in v0.0.64

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (CreateGaussMySqlReadonlyNodeRequest) String added in v0.0.64

type CreateGaussMySqlReadonlyNodeResponse added in v0.0.64

type CreateGaussMySqlReadonlyNodeResponse 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 (CreateGaussMySqlReadonlyNodeResponse) String added in v0.0.64

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 DeleteGaussMySqlInstanceRequest added in v0.0.64

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

	InstanceId string `json:"instance_id"`
}

Request Object

func (DeleteGaussMySqlInstanceRequest) String added in v0.0.64

type DeleteGaussMySqlInstanceResponse added in v0.0.64

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

Response Object

func (DeleteGaussMySqlInstanceResponse) String added in v0.0.64

type DeleteGaussMySqlProxyRequest added in v0.0.64

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

	InstanceId string `json:"instance_id"`
}

Request Object

func (DeleteGaussMySqlProxyRequest) String added in v0.0.64

type DeleteGaussMySqlProxyResponse added in v0.0.64

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

Response Object

func (DeleteGaussMySqlProxyResponse) String added in v0.0.64

type DeleteGaussMySqlReadonlyNodeRequest added in v0.0.64

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

	InstanceId string `json:"instance_id"`

	NodeId string `json:"node_id"`
}

Request Object

func (DeleteGaussMySqlReadonlyNodeRequest) String added in v0.0.64

type DeleteGaussMySqlReadonlyNodeResponse added in v0.0.64

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

Response Object

func (DeleteGaussMySqlReadonlyNodeResponse) String added in v0.0.64

type EnlargeProxyRequest

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

proxy节点扩容信息

func (EnlargeProxyRequest) String

func (o EnlargeProxyRequest) String() string

type ExpandGaussMySqlInstanceVolumeRequest added in v0.0.64

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (ExpandGaussMySqlInstanceVolumeRequest) String added in v0.0.64

type ExpandGaussMySqlInstanceVolumeResponse added in v0.0.64

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

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

Response Object

func (ExpandGaussMySqlInstanceVolumeResponse) String added in v0.0.64

type ExpandGaussMySqlProxyRequest added in v0.0.64

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (ExpandGaussMySqlProxyRequest) String added in v0.0.64

type ExpandGaussMySqlProxyResponse added in v0.0.64

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

Response Object

func (ExpandGaussMySqlProxyResponse) String added in v0.0.64

type GetJobEntitiesInfoDetail added in v0.0.67

type GetJobEntitiesInfoDetail struct {
}

根据不同的任务,显示不同的内容。

func (GetJobEntitiesInfoDetail) String added in v0.0.67

func (o GetJobEntitiesInfoDetail) String() 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 *GetJobEntitiesInfoDetail `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 GetJobInstanceInfoDetail

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

	Name string `json:"name"`
}

指定ID任务的实例信息。

func (GetJobInstanceInfoDetail) String

func (o GetJobInstanceInfoDetail) String() string

type InstanceTagItem added in v0.0.71

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

	Value string `json:"value"`
}

func (InstanceTagItem) String added in v0.0.71

func (o InstanceTagItem) String() string

type ListGaussMySqlConfigurationsRequest added in v0.0.64

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

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

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

Request Object

func (ListGaussMySqlConfigurationsRequest) String added in v0.0.64

type ListGaussMySqlConfigurationsResponse added in v0.0.64

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

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

Response Object

func (ListGaussMySqlConfigurationsResponse) String added in v0.0.64

type ListGaussMySqlDedicatedResourcesRequest added in v0.0.64

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

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

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

Request Object

func (ListGaussMySqlDedicatedResourcesRequest) String added in v0.0.64

type ListGaussMySqlDedicatedResourcesResponse added in v0.0.64

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

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

Response Object

func (ListGaussMySqlDedicatedResourcesResponse) String added in v0.0.64

type ListGaussMySqlErrorLogRequest added in v0.0.64

type ListGaussMySqlErrorLogRequest 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 (ListGaussMySqlErrorLogRequest) String added in v0.0.64

type ListGaussMySqlErrorLogResponse added in v0.0.64

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

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

Response Object

func (ListGaussMySqlErrorLogResponse) String added in v0.0.64

type ListGaussMySqlInstancesRequest added in v0.0.64

type ListGaussMySqlInstancesRequest 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"`

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

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

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

	Tags *string `json:"tags,omitempty"`
}

Request Object

func (ListGaussMySqlInstancesRequest) String added in v0.0.64

type ListGaussMySqlInstancesResponse added in v0.0.64

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

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

Response Object

func (ListGaussMySqlInstancesResponse) String added in v0.0.64

type ListGaussMySqlSlowLogRequest added in v0.0.64

type ListGaussMySqlSlowLogRequest 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 (ListGaussMySqlSlowLogRequest) String added in v0.0.64

type ListGaussMySqlSlowLogResponse added in v0.0.64

type ListGaussMySqlSlowLogResponse 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 (ListGaussMySqlSlowLogResponse) String added in v0.0.64

type ListInstanceTagsRequest added in v0.0.71

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

	InstanceId string `json:"instance_id"`

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

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

Request Object

func (ListInstanceTagsRequest) String added in v0.0.71

func (o ListInstanceTagsRequest) String() string

type ListInstanceTagsResponse added in v0.0.71

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

	Tags           *[]ResourceTagItem `json:"tags,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ListInstanceTagsResponse) String added in v0.0.71

func (o ListInstanceTagsResponse) String() string

type ListProjectTagsRequest added in v0.0.71

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

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

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

Request Object

func (ListProjectTagsRequest) String added in v0.0.71

func (o ListProjectTagsRequest) String() string

type ListProjectTagsResponse added in v0.0.71

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

	Tags           *[]ProjectTagItem `json:"tags,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListProjectTagsResponse) String added in v0.0.71

func (o ListProjectTagsResponse) 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"`

	Alias *string `json:"alias,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"`

	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"`

	Tags *[]InstanceTagItem `json:"tags,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 *MysqlInstanceNodeVolumeInfo `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 MysqlInstanceNodeVolumeInfo added in v0.0.75

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

	Used string `json:"used"`

	Size int64 `json:"size"`
}

存储盘信息。

func (MysqlInstanceNodeVolumeInfo) String added in v0.0.75

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 {
	Vcpus string `json:"vcpus"`

	Ram string `json:"ram"`

	DbType string `json:"db_type"`

	Id string `json:"id"`

	SpecCode string `json:"spec_code"`

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

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 OperateAuditLogRequestV3Body added in v0.0.78

type OperateAuditLogRequestV3Body struct {
	SwitchStatus string `json:"switch_status"`
}

开启/关闭审计日志参数体

func (OperateAuditLogRequestV3Body) String added in v0.0.78

type ProjectQuotas

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

func (ProjectQuotas) String

func (o ProjectQuotas) String() string

type ProjectTagItem added in v0.0.71

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

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

func (ProjectTagItem) String added in v0.0.71

func (o ProjectTagItem) 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 ResetGaussMySqlPasswordRequest added in v0.0.64

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (ResetGaussMySqlPasswordRequest) String added in v0.0.64

type ResetGaussMySqlPasswordResponse added in v0.0.64

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

Response Object

func (ResetGaussMySqlPasswordResponse) String added in v0.0.64

type Resource

type Resource struct {
	Type ResourceType `json:"type"`

	Used int32 `json:"used"`

	Quota int32 `json:"quota"`
}

func (Resource) String

func (o Resource) String() string

type ResourceTagItem added in v0.0.71

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

	Value string `json:"value"`
}

func (ResourceTagItem) String added in v0.0.71

func (o ResourceTagItem) String() string

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 SetGaussMySqlQuotasRequest added in v0.0.64

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

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

Request Object

func (SetGaussMySqlQuotasRequest) String added in v0.0.64

type SetGaussMySqlQuotasResponse added in v0.0.64

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

Response Object

func (SetGaussMySqlQuotasResponse) String added in v0.0.64

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 ShowAuditLogRequest added in v0.0.78

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

	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowAuditLogRequest) String added in v0.0.78

func (o ShowAuditLogRequest) String() string

type ShowAuditLogResponse added in v0.0.78

type ShowAuditLogResponse struct {
	SwitchStatus   *string `json:"switch_status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowAuditLogResponse) String added in v0.0.78

func (o ShowAuditLogResponse) String() string

type ShowGaussMySqlBackupListRequest added in v0.0.64

type ShowGaussMySqlBackupListRequest 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 (ShowGaussMySqlBackupListRequest) String added in v0.0.64

type ShowGaussMySqlBackupListResponse added in v0.0.64

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

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

Response Object

func (ShowGaussMySqlBackupListResponse) String added in v0.0.64

type ShowGaussMySqlBackupPolicyRequest added in v0.0.64

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

	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowGaussMySqlBackupPolicyRequest) String added in v0.0.64

type ShowGaussMySqlBackupPolicyResponse added in v0.0.64

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

Response Object

func (ShowGaussMySqlBackupPolicyResponse) String added in v0.0.64

type ShowGaussMySqlEngineVersionRequest added in v0.0.64

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

	DatabaseName string `json:"database_name"`
}

Request Object

func (ShowGaussMySqlEngineVersionRequest) String added in v0.0.64

type ShowGaussMySqlEngineVersionResponse added in v0.0.64

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

Response Object

func (ShowGaussMySqlEngineVersionResponse) String added in v0.0.64

type ShowGaussMySqlFlavorsRequest added in v0.0.64

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

	DatabaseName string `json:"database_name"`

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

	AvailabilityZoneMode string `json:"availability_zone_mode"`

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

Request Object

func (ShowGaussMySqlFlavorsRequest) String added in v0.0.64

type ShowGaussMySqlFlavorsResponse added in v0.0.64

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

Response Object

func (ShowGaussMySqlFlavorsResponse) String added in v0.0.64

type ShowGaussMySqlInstanceInfoRequest added in v0.0.64

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

	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowGaussMySqlInstanceInfoRequest) String added in v0.0.64

type ShowGaussMySqlInstanceInfoResponse added in v0.0.64

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

Response Object

func (ShowGaussMySqlInstanceInfoResponse) String added in v0.0.64

type ShowGaussMySqlJobInfoRequest added in v0.0.64

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

	Id string `json:"id"`
}

Request Object

func (ShowGaussMySqlJobInfoRequest) String added in v0.0.64

type ShowGaussMySqlJobInfoResponse added in v0.0.64

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

Response Object

func (ShowGaussMySqlJobInfoResponse) String added in v0.0.64

type ShowGaussMySqlProjectQuotasRequest added in v0.0.64

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

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

Request Object

func (ShowGaussMySqlProjectQuotasRequest) String added in v0.0.64

type ShowGaussMySqlProjectQuotasRequestType added in v0.0.64

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

func (ShowGaussMySqlProjectQuotasRequestType) MarshalJSON added in v0.0.64

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

func (*ShowGaussMySqlProjectQuotasRequestType) UnmarshalJSON added in v0.0.64

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

type ShowGaussMySqlProjectQuotasRequestTypeEnum added in v0.0.64

type ShowGaussMySqlProjectQuotasRequestTypeEnum struct {
	INSTANCE ShowGaussMySqlProjectQuotasRequestType
}

func GetShowGaussMySqlProjectQuotasRequestTypeEnum added in v0.0.64

func GetShowGaussMySqlProjectQuotasRequestTypeEnum() ShowGaussMySqlProjectQuotasRequestTypeEnum

type ShowGaussMySqlProjectQuotasResponse added in v0.0.64

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

Response Object

func (ShowGaussMySqlProjectQuotasResponse) String added in v0.0.64

type ShowGaussMySqlProxyFlavorsRequest added in v0.0.64

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

	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowGaussMySqlProxyFlavorsRequest) String added in v0.0.64

type ShowGaussMySqlProxyFlavorsResponse added in v0.0.64

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

Response Object

func (ShowGaussMySqlProxyFlavorsResponse) String added in v0.0.64

type ShowGaussMySqlProxyRequest added in v0.0.64

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

	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowGaussMySqlProxyRequest) String added in v0.0.64

type ShowGaussMySqlProxyResponse added in v0.0.64

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

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

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

Response Object

func (ShowGaussMySqlProxyResponse) String added in v0.0.64

type ShowGaussMySqlQuotasRequest added in v0.0.64

type ShowGaussMySqlQuotasRequest 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 (ShowGaussMySqlQuotasRequest) String added in v0.0.64

type ShowGaussMySqlQuotasResponse added in v0.0.64

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

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

Response Object

func (ShowGaussMySqlQuotasResponse) String added in v0.0.64

type ShowInstanceMonitorExtendRequest added in v0.0.71

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

	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowInstanceMonitorExtendRequest) String added in v0.0.71

type ShowInstanceMonitorExtendResponse added in v0.0.71

type ShowInstanceMonitorExtendResponse struct {
	MonitorSwitch *bool `json:"monitor_switch,omitempty"`

	Period         *int32 `json:"period,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowInstanceMonitorExtendResponse) String added in v0.0.71

type TagItem added in v0.0.71

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

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

func (TagItem) String added in v0.0.71

func (o TagItem) String() string

type TaurusModifyInstanceMonitorRequestBody added in v0.0.71

type TaurusModifyInstanceMonitorRequestBody struct {
	MonitorSwitch bool `json:"monitor_switch"`

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

秒级监控修改请求

func (TaurusModifyInstanceMonitorRequestBody) String added in v0.0.71

type TaurusModifyInstanceMonitorRequestBodyPeriod added in v0.0.75

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

func (TaurusModifyInstanceMonitorRequestBodyPeriod) MarshalJSON added in v0.0.75

func (*TaurusModifyInstanceMonitorRequestBodyPeriod) UnmarshalJSON added in v0.0.75

type TaurusModifyInstanceMonitorRequestBodyPeriodEnum added in v0.0.75

type TaurusModifyInstanceMonitorRequestBodyPeriodEnum struct {
	E_1 TaurusModifyInstanceMonitorRequestBodyPeriod
	E_5 TaurusModifyInstanceMonitorRequestBodyPeriod
}

func GetTaurusModifyInstanceMonitorRequestBodyPeriodEnum added in v0.0.75

func GetTaurusModifyInstanceMonitorRequestBodyPeriodEnum() TaurusModifyInstanceMonitorRequestBodyPeriodEnum

type UpdateAuditLogRequest added in v0.0.78

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (UpdateAuditLogRequest) String added in v0.0.78

func (o UpdateAuditLogRequest) String() string

type UpdateAuditLogResponse added in v0.0.78

type UpdateAuditLogResponse struct {
	Result         *string `json:"result,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateAuditLogResponse) String added in v0.0.78

func (o UpdateAuditLogResponse) String() string

type UpdateGaussMySqlBackupPolicyRequest added in v0.0.64

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (UpdateGaussMySqlBackupPolicyRequest) String added in v0.0.64

type UpdateGaussMySqlBackupPolicyResponse added in v0.0.64

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

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

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

Response Object

func (UpdateGaussMySqlBackupPolicyResponse) String added in v0.0.64

type UpdateGaussMySqlInstanceNameRequest added in v0.0.64

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (UpdateGaussMySqlInstanceNameRequest) String added in v0.0.64

type UpdateGaussMySqlInstanceNameResponse added in v0.0.64

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

Response Object

func (UpdateGaussMySqlInstanceNameResponse) String added in v0.0.64

type UpdateGaussMySqlQuotasRequest added in v0.0.64

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

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

Request Object

func (UpdateGaussMySqlQuotasRequest) String added in v0.0.64

type UpdateGaussMySqlQuotasResponse added in v0.0.64

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

Response Object

func (UpdateGaussMySqlQuotasResponse) String added in v0.0.64

type UpdateInstanceMonitorRequest added in v0.0.71

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (UpdateInstanceMonitorRequest) String added in v0.0.71

type UpdateInstanceMonitorResponse added in v0.0.71

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

Response Object

func (UpdateInstanceMonitorResponse) String added in v0.0.71

Source Files

Jump to

Keyboard shortcuts

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