Documentation ¶
Index ¶
- type Backup
- type BackupPolicy
- type BackupStatus
- type BackupStatusEnum
- type BackupType
- type BackupTypeEnum
- type Backups
- type BackupsBackupLevel
- type BackupsBackupLevelEnum
- type BackupsStatus
- type BackupsStatusEnum
- type BackupsType
- type BackupsTypeEnum
- type ChangeMysqlInstanceSpecificationRequest
- type ChangeMysqlInstanceSpecificationResponse
- type ConfigurationSummary
- type CreateMysqlBackupRequest
- type CreateMysqlBackupResponse
- type CreateMysqlInstanceRequest
- type CreateMysqlInstanceResponse
- type CreateMysqlProxyRequest
- type CreateMysqlProxyResponse
- type CreateMysqlReadonlyNodeRequest
- type CreateMysqlReadonlyNodeResponse
- type DedicatedResource
- type DedicatedResourceCapacity
- type DedicatedResourceStatus
- type DedicatedResourceStatusEnum
- type DeleteMysqlInstanceRequest
- type DeleteMysqlInstanceResponse
- type DeleteMysqlProxyRequest
- type DeleteMysqlProxyResponse
- type DeleteMysqlReadonlyNodeRequest
- type DeleteMysqlReadonlyNodeResponse
- type EnlargeProxyRequest
- type ExpandMysqlInstanceVolumeRequest
- type ExpandMysqlInstanceVolumeResponse
- type ExpandMysqlProxyRequest
- type ExpandMysqlProxyResponse
- type GetJobEntitiesInstanceInfoDetail
- type GetJobEntitiesObjectDetail
- type GetJobInfoDetail
- type GetJobInfoDetailStatus
- type GetJobInfoDetailStatusEnum
- type GetJobInstanceDatastoreInfoDetail
- type GetJobInstanceInfoDetail
- type ListDedicatedResourcesRequest
- type ListDedicatedResourcesResponse
- type ListMysqlConfigurationsRequest
- type ListMysqlConfigurationsResponse
- type ListMysqlErrorLogRequest
- type ListMysqlErrorLogResponse
- type ListMysqlSlowLogRequest
- type ListMysqlSlowLogResponse
- type MysqlBackupPolicy
- type MysqlBackupStrategy
- type MysqlChangeSpecificationRequest
- type MysqlChargeInfo
- type MysqlChargeInfoChargeMode
- type MysqlChargeInfoChargeModeEnum
- type MysqlChargeInfoPeriodType
- type MysqlChargeInfoPeriodTypeEnum
- type MysqlCreateBackupRequest
- type MysqlCreateReadonlyNodeRequest
- type MysqlDatastore
- type MysqlEngineVersionInfo
- type MysqlErrorLogList
- type MysqlExtendInstanceVolumeRequest
- type MysqlFlavorInfo
- type MysqlFlavorsInfo
- type MysqlInstanceInfoDetail
- type MysqlInstanceListInfo
- type MysqlInstanceNodeInfo
- type MysqlInstanceRequest
- type MysqlInstanceResponse
- type MysqlProxy
- type MysqlProxyAvailable
- type MysqlProxyComputeFlavor
- type MysqlProxyFlavorGroups
- type MysqlProxyNode
- type MysqlProxyNodes
- type MysqlResetPasswordRequest
- type MysqlResizeFlavor
- type MysqlSlowLogList
- type MysqlTags
- type MysqlUpdateBackupPolicyRequest
- type MysqlUpdateInstanceNameRequest
- type MysqlVolume
- type MysqlVolumeInfo
- type OpenMysqlProxyRequestBody
- type ProjectQuotas
- type Quota
- type ResetMysqlPasswordRequest
- type ResetMysqlPasswordResponse
- type Resource
- type ResourceMode
- type ResourceModeEnum
- type ResourceType
- type ResourceTypeEnum
- type SetMysqlQuotasRequest
- type SetMysqlQuotasResponse
- type SetQuota
- type SetQuotasRequestBody
- type ShowMysqlBackupListRequest
- type ShowMysqlBackupListResponse
- type ShowMysqlBackupPolicyRequest
- type ShowMysqlBackupPolicyResponse
- type ShowMysqlEngineVersionRequest
- type ShowMysqlEngineVersionResponse
- type ShowMysqlFlavorsRequest
- type ShowMysqlFlavorsRequestAvailabilityZoneMode
- type ShowMysqlFlavorsRequestAvailabilityZoneModeEnum
- type ShowMysqlFlavorsResponse
- type ShowMysqlInstanceInfoRequest
- type ShowMysqlInstanceInfoResponse
- type ShowMysqlInstanceListRequest
- type ShowMysqlInstanceListResponse
- type ShowMysqlJobInfoRequest
- type ShowMysqlJobInfoResponse
- type ShowMysqlProjectQuotasRequest
- type ShowMysqlProjectQuotasRequestType
- type ShowMysqlProjectQuotasRequestTypeEnum
- type ShowMysqlProjectQuotasResponse
- type ShowMysqlProxyFlavorsRequest
- type ShowMysqlProxyFlavorsResponse
- type ShowMysqlProxyRequest
- type ShowMysqlProxyResponse
- type ShowMysqlQuotasRequest
- type ShowMysqlQuotasResponse
- type UpdateMysqlBackupPolicyRequest
- type UpdateMysqlBackupPolicyResponse
- type UpdateMysqlInstanceNameRequest
- type UpdateMysqlInstanceNameResponse
- type UpdateMysqlQuotasRequest
- type UpdateMysqlQuotasResponse
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"` }
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"` }
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 ¶
func (o ChangeMysqlInstanceSpecificationRequest) String() 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 ¶
func (o ChangeMysqlInstanceSpecificationResponse) String() 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 ¶
func (o CreateMysqlInstanceRequest) String() 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 ¶
func (o CreateMysqlInstanceResponse) String() 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 ¶
func (o CreateMysqlReadonlyNodeRequest) String() 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 ¶
func (o CreateMysqlReadonlyNodeResponse) String() 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 ¶
func (o DeleteMysqlInstanceRequest) String() string
type DeleteMysqlInstanceResponse ¶
type DeleteMysqlInstanceResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteMysqlInstanceResponse) String ¶
func (o DeleteMysqlInstanceResponse) String() 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 ¶
func (o DeleteMysqlReadonlyNodeRequest) String() string
type DeleteMysqlReadonlyNodeResponse ¶
type DeleteMysqlReadonlyNodeResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteMysqlReadonlyNodeResponse) String ¶
func (o DeleteMysqlReadonlyNodeResponse) String() 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 ¶
func (o ExpandMysqlInstanceVolumeRequest) String() 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 ¶
func (o ExpandMysqlInstanceVolumeResponse) String() 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 ¶
func (o GetJobEntitiesInstanceInfoDetail) String() string
type GetJobEntitiesObjectDetail ¶
type GetJobEntitiesObjectDetail struct { Instance *GetJobEntitiesInstanceInfoDetail `json:"instance"` ResourceIds []string `json:"resource_ids"` }
func (GetJobEntitiesObjectDetail) String ¶
func (o GetJobEntitiesObjectDetail) 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 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 ¶
func (o GetJobInstanceDatastoreInfoDetail) String() string
type GetJobInstanceInfoDetail ¶
指定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
func (o ListDedicatedResourcesRequest) String() string
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
func (o ListDedicatedResourcesResponse) String() string
type ListMysqlConfigurationsRequest ¶
type ListMysqlConfigurationsRequest struct {
XLanguage *string `json:"X-Language,omitempty"`
}
Request Object
func (ListMysqlConfigurationsRequest) String ¶
func (o ListMysqlConfigurationsRequest) String() 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 ¶
func (o ListMysqlConfigurationsResponse) String() 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 ¶
func (o MysqlChangeSpecificationRequest) String() 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 ¶
func (o MysqlCreateReadonlyNodeRequest) String() string
type MysqlEngineVersionInfo ¶
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 ¶
func (o MysqlExtendInstanceVolumeRequest) String() string
type MysqlFlavorInfo ¶
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 ¶
标签列表,根据标签键值对创建实例。 - {key}表示标签键,不可以为空或重复。 - {value}表示标签值,可以为空。 如果创建实例时同时使用多个标签键值对,中间使用逗号分隔开,最多包含10组。
type MysqlUpdateBackupPolicyRequest ¶
type MysqlUpdateBackupPolicyRequest struct {
BackupPolicy *MysqlBackupPolicy `json:"backup_policy"`
}
修改备份策略信息
func (MysqlUpdateBackupPolicyRequest) String ¶
func (o MysqlUpdateBackupPolicyRequest) String() string
type MysqlUpdateInstanceNameRequest ¶
type MysqlUpdateInstanceNameRequest struct {
Name string `json:"name"`
}
func (MysqlUpdateInstanceNameRequest) String ¶
func (o MysqlUpdateInstanceNameRequest) String() string
type MysqlVolume ¶
type MysqlVolume struct {
Size string `json:"size"`
}
func (MysqlVolume) String ¶
func (o MysqlVolume) String() string
type MysqlVolumeInfo ¶
存储盘信息。
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"` }
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 ¶
func (o ResetMysqlPasswordResponse) String() string
type Resource ¶
type Resource struct { Mode ResourceMode `json:"mode"` Type ResourceType `json:"type"` Used int32 `json:"used"` Quota int32 `json:"quota"` }
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 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 ¶
func (o ShowMysqlBackupListRequest) String() 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 ¶
func (o ShowMysqlBackupListResponse) String() string
type ShowMysqlBackupPolicyRequest ¶
type ShowMysqlBackupPolicyRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` }
Request Object
func (ShowMysqlBackupPolicyRequest) String ¶
func (o ShowMysqlBackupPolicyRequest) String() string
type ShowMysqlBackupPolicyResponse ¶
type ShowMysqlBackupPolicyResponse struct { BackupPolicy *BackupPolicy `json:"backup_policy,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowMysqlBackupPolicyResponse) String ¶
func (o ShowMysqlBackupPolicyResponse) String() string
type ShowMysqlEngineVersionRequest ¶
type ShowMysqlEngineVersionRequest struct { XLanguage *string `json:"X-Language,omitempty"` DatabaseName string `json:"database_name"` }
Request Object
func (ShowMysqlEngineVersionRequest) String ¶
func (o ShowMysqlEngineVersionRequest) String() string
type ShowMysqlEngineVersionResponse ¶
type ShowMysqlEngineVersionResponse struct { Datastores *[]MysqlEngineVersionInfo `json:"datastores,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowMysqlEngineVersionResponse) String ¶
func (o ShowMysqlEngineVersionResponse) String() 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 (c ShowMysqlFlavorsRequestAvailabilityZoneMode) MarshalJSON() ([]byte, error)
func (*ShowMysqlFlavorsRequestAvailabilityZoneMode) UnmarshalJSON ¶
func (c *ShowMysqlFlavorsRequestAvailabilityZoneMode) UnmarshalJSON(b []byte) error
type ShowMysqlFlavorsRequestAvailabilityZoneModeEnum ¶
type ShowMysqlFlavorsRequestAvailabilityZoneModeEnum struct { SINGLE ShowMysqlFlavorsRequestAvailabilityZoneMode MULTI ShowMysqlFlavorsRequestAvailabilityZoneMode }
func GetShowMysqlFlavorsRequestAvailabilityZoneModeEnum ¶
func GetShowMysqlFlavorsRequestAvailabilityZoneModeEnum() ShowMysqlFlavorsRequestAvailabilityZoneModeEnum
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 ¶
func (o ShowMysqlInstanceInfoRequest) String() string
type ShowMysqlInstanceInfoResponse ¶
type ShowMysqlInstanceInfoResponse struct { Instance *MysqlInstanceInfoDetail `json:"instance,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowMysqlInstanceInfoResponse) String ¶
func (o ShowMysqlInstanceInfoResponse) String() 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 ¶
func (o ShowMysqlInstanceListRequest) String() 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 ¶
func (o ShowMysqlInstanceListResponse) String() 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 ¶
func (o ShowMysqlProjectQuotasRequest) String() 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 ¶
func (o ShowMysqlProjectQuotasResponse) String() string
type ShowMysqlProxyFlavorsRequest ¶
type ShowMysqlProxyFlavorsRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` }
Request Object
func (ShowMysqlProxyFlavorsRequest) String ¶
func (o ShowMysqlProxyFlavorsRequest) String() string
type ShowMysqlProxyFlavorsResponse ¶
type ShowMysqlProxyFlavorsResponse struct { ProxyFlavorGroups *[]MysqlProxyFlavorGroups `json:"proxy_flavor_groups,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowMysqlProxyFlavorsResponse) String ¶
func (o ShowMysqlProxyFlavorsResponse) String() 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 ¶
func (o UpdateMysqlBackupPolicyRequest) String() 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 ¶
func (o UpdateMysqlBackupPolicyResponse) String() 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 ¶
func (o UpdateMysqlInstanceNameRequest) String() string
type UpdateMysqlInstanceNameResponse ¶
type UpdateMysqlInstanceNameResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateMysqlInstanceNameResponse) String ¶
func (o UpdateMysqlInstanceNameResponse) String() 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 ¶
- model_backup.go
- model_backup_policy.go
- model_backups.go
- model_change_mysql_instance_specification_request.go
- model_change_mysql_instance_specification_response.go
- model_configuration_summary.go
- model_create_mysql_backup_request.go
- model_create_mysql_backup_response.go
- model_create_mysql_instance_request.go
- model_create_mysql_instance_response.go
- model_create_mysql_proxy_request.go
- model_create_mysql_proxy_response.go
- model_create_mysql_readonly_node_request.go
- model_create_mysql_readonly_node_response.go
- model_dedicated_resource.go
- model_dedicated_resource_capacity.go
- model_delete_mysql_instance_request.go
- model_delete_mysql_instance_response.go
- model_delete_mysql_proxy_request.go
- model_delete_mysql_proxy_response.go
- model_delete_mysql_readonly_node_request.go
- model_delete_mysql_readonly_node_response.go
- model_enlarge_proxy_request.go
- model_expand_mysql_instance_volume_request.go
- model_expand_mysql_instance_volume_response.go
- model_expand_mysql_proxy_request.go
- model_expand_mysql_proxy_response.go
- model_get_job_entities_instance_info_detail.go
- model_get_job_entities_object_detail.go
- model_get_job_info_detail.go
- model_get_job_instance_datastore_info_detail.go
- model_get_job_instance_info_detail.go
- model_list_dedicated_resources_request.go
- model_list_dedicated_resources_response.go
- model_list_mysql_configurations_request.go
- model_list_mysql_configurations_response.go
- model_list_mysql_error_log_request.go
- model_list_mysql_error_log_response.go
- model_list_mysql_slow_log_request.go
- model_list_mysql_slow_log_response.go
- model_mysql_backup_policy.go
- model_mysql_backup_strategy.go
- model_mysql_change_specification_request.go
- model_mysql_charge_info.go
- model_mysql_create_backup_request.go
- model_mysql_create_readonly_node_request.go
- model_mysql_datastore.go
- model_mysql_engine_version_info.go
- model_mysql_error_log_list.go
- model_mysql_extend_instance_volume_request.go
- model_mysql_flavor_info.go
- model_mysql_flavors_info.go
- model_mysql_instance_info_detail.go
- model_mysql_instance_list_info.go
- model_mysql_instance_node_info.go
- model_mysql_instance_request.go
- model_mysql_instance_response.go
- model_mysql_proxy.go
- model_mysql_proxy_available.go
- model_mysql_proxy_compute_flavor.go
- model_mysql_proxy_flavor_groups.go
- model_mysql_proxy_node.go
- model_mysql_proxy_nodes.go
- model_mysql_reset_password_request.go
- model_mysql_resize_flavor.go
- model_mysql_slow_log_list.go
- model_mysql_tags.go
- model_mysql_update_backup_policy_request.go
- model_mysql_update_instance_name_request.go
- model_mysql_volume.go
- model_mysql_volume_info.go
- model_open_mysql_proxy_request_body.go
- model_project_quotas.go
- model_quota.go
- model_reset_mysql_password_request.go
- model_reset_mysql_password_response.go
- model_resource.go
- model_set_mysql_quotas_request.go
- model_set_mysql_quotas_response.go
- model_set_quota.go
- model_set_quotas_request_body.go
- model_show_mysql_backup_list_request.go
- model_show_mysql_backup_list_response.go
- model_show_mysql_backup_policy_request.go
- model_show_mysql_backup_policy_response.go
- model_show_mysql_engine_version_request.go
- model_show_mysql_engine_version_response.go
- model_show_mysql_flavors_request.go
- model_show_mysql_flavors_response.go
- model_show_mysql_instance_info_request.go
- model_show_mysql_instance_info_response.go
- model_show_mysql_instance_list_request.go
- model_show_mysql_instance_list_response.go
- model_show_mysql_job_info_request.go
- model_show_mysql_job_info_response.go
- model_show_mysql_project_quotas_request.go
- model_show_mysql_project_quotas_response.go
- model_show_mysql_proxy_flavors_request.go
- model_show_mysql_proxy_flavors_response.go
- model_show_mysql_proxy_request.go
- model_show_mysql_proxy_response.go
- model_show_mysql_quotas_request.go
- model_show_mysql_quotas_response.go
- model_update_mysql_backup_policy_request.go
- model_update_mysql_backup_policy_response.go
- model_update_mysql_instance_name_request.go
- model_update_mysql_instance_name_response.go
- model_update_mysql_quotas_request.go
- model_update_mysql_quotas_response.go