model

package
v0.0.4-beta Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type AdDomainInfo ¶

type AdDomainInfo struct {
	DomainAdminAccountName string `json:"domain_admin_account_name"`

	DomainAdminPwd string `json:"domain_admin_pwd"`
}

func (AdDomainInfo) String ¶

func (o AdDomainInfo) String() string

type AddMsdtcRequestBody ¶

type AddMsdtcRequestBody struct {
	Hosts *[]MsdtcHostOption `json:"hosts,omitempty"`
}

func (AddMsdtcRequestBody) String ¶

func (o AddMsdtcRequestBody) String() string

type AllowDbPrivilegeRequest ¶

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

	InstanceId string `json:"instance_id"`

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

func (AllowDbPrivilegeRequest) String ¶

func (o AllowDbPrivilegeRequest) String() string

type AllowDbPrivilegeResponse ¶

type AllowDbPrivilegeResponse struct {
	Resp           *string `json:"resp,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (AllowDbPrivilegeResponse) String ¶

func (o AllowDbPrivilegeResponse) String() string

type AllowDbUserPrivilegeRequest ¶

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

	InstanceId string `json:"instance_id"`

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

func (AllowDbUserPrivilegeRequest) String ¶

type AllowDbUserPrivilegeResponse ¶

type AllowDbUserPrivilegeResponse struct {
	Resp           *string `json:"resp,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (AllowDbUserPrivilegeResponse) String ¶

type AllowSqlserverDbUserPrivilegeRequest ¶

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

	InstanceId string `json:"instance_id"`

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

func (AllowSqlserverDbUserPrivilegeRequest) String ¶

type AllowSqlserverDbUserPrivilegeResponse ¶

type AllowSqlserverDbUserPrivilegeResponse struct {
	Resp           *string `json:"resp,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (AllowSqlserverDbUserPrivilegeResponse) String ¶

type ApiVersion ¶

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

	Links []LinksInfoResponse `json:"links"`

	Status string `json:"status"`

	Updated string `json:"updated"`
}

func (ApiVersion) String ¶

func (o ApiVersion) String() string

type ApplyConfigurationAsyncRequest ¶

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

	ConfigId string `json:"config_id"`

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

func (ApplyConfigurationAsyncRequest) String ¶

type ApplyConfigurationAsyncResponse ¶

type ApplyConfigurationAsyncResponse struct {
	ConfigurationId *string `json:"configuration_id,omitempty"`

	ConfigurationName *string `json:"configuration_name,omitempty"`

	Success *bool `json:"success,omitempty"`

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

func (ApplyConfigurationAsyncResponse) String ¶

type ApplyConfigurationRequest ¶

type ApplyConfigurationRequest struct {
	InstanceIds []string `json:"instance_ids"`
}

func (ApplyConfigurationRequest) String ¶

func (o ApplyConfigurationRequest) String() string

type ApplyConfigurationResponseApplyResults ¶

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

	InstanceName string `json:"instance_name"`

	RestartRequired bool `json:"restart_required"`

	Success bool `json:"success"`
}

func (ApplyConfigurationResponseApplyResults) String ¶

type AttachEipRequest ¶

type AttachEipRequest struct {
	XLanguage *AttachEipRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (AttachEipRequest) String ¶

func (o AttachEipRequest) String() string

type AttachEipRequestXLanguage ¶

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

func (AttachEipRequestXLanguage) MarshalJSON ¶

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

func (*AttachEipRequestXLanguage) UnmarshalJSON ¶

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

func (AttachEipRequestXLanguage) Value ¶

type AttachEipRequestXLanguageEnum ¶

type AttachEipRequestXLanguageEnum struct {
	ZH_CN AttachEipRequestXLanguage
	EN_US AttachEipRequestXLanguage
}

func GetAttachEipRequestXLanguageEnum ¶

func GetAttachEipRequestXLanguageEnum() AttachEipRequestXLanguageEnum

type AttachEipResponse ¶

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

func (AttachEipResponse) String ¶

func (o AttachEipResponse) String() string

type Auditlog ¶

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

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

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

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

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

func (Auditlog) String ¶

func (o Auditlog) String() string

type AvailableZone ¶

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

	Description string `json:"description"`
}

func (AvailableZone) String ¶

func (o AvailableZone) String() string

type BackupDatabase ¶

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

func (BackupDatabase) String ¶

func (o BackupDatabase) String() string

type BackupDatastore ¶

type BackupDatastore struct {
	Type BackupDatastoreType `json:"type"`

	Version string `json:"version"`
}

func (BackupDatastore) String ¶

func (o BackupDatastore) String() string

type BackupDatastoreType ¶

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

func (BackupDatastoreType) MarshalJSON ¶

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

func (*BackupDatastoreType) UnmarshalJSON ¶

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

func (BackupDatastoreType) Value ¶

func (c BackupDatastoreType) Value() string

type BackupDatastoreTypeEnum ¶

type BackupDatastoreTypeEnum struct {
	MY_SQL      BackupDatastoreType
	POSTGRE_SQL BackupDatastoreType
	SQL_SERVER  BackupDatastoreType
}

func GetBackupDatastoreTypeEnum ¶

func GetBackupDatastoreTypeEnum() BackupDatastoreTypeEnum

type BackupForList ¶

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

	InstanceId string `json:"instance_id"`

	Name string `json:"name"`

	Databases *[]BackupDatabase `json:"databases,omitempty"`

	BeginTime string `json:"begin_time"`

	EndTime string `json:"end_time"`

	Status BackupForListStatus `json:"status"`

	Type BackupForListType `json:"type"`

	Size int64 `json:"size"`

	Datastore *BackupDatastore `json:"datastore"`

	AssociatedWithDdm *bool `json:"associated_with_ddm,omitempty"`
}

func (BackupForList) String ¶

func (o BackupForList) String() string

type BackupForListStatus ¶

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

func (BackupForListStatus) MarshalJSON ¶

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

func (*BackupForListStatus) UnmarshalJSON ¶

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

func (BackupForListStatus) Value ¶

func (c BackupForListStatus) Value() string

type BackupForListStatusEnum ¶

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

func GetBackupForListStatusEnum ¶

func GetBackupForListStatusEnum() BackupForListStatusEnum

type BackupForListType ¶

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

func (BackupForListType) MarshalJSON ¶

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

func (*BackupForListType) UnmarshalJSON ¶

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

func (BackupForListType) Value ¶

func (c BackupForListType) Value() string

type BackupForListTypeEnum ¶

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

func GetBackupForListTypeEnum ¶

func GetBackupForListTypeEnum() BackupForListTypeEnum

type BackupInfo ¶

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

	InstanceId string `json:"instance_id"`

	Name string `json:"name"`

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

	Databases *[]BackupDatabase `json:"databases,omitempty"`

	BeginTime string `json:"begin_time"`

	Status BackupInfoStatus `json:"status"`

	Type BackupInfoType `json:"type"`
}

func (BackupInfo) String ¶

func (o BackupInfo) String() string

type BackupInfoStatus ¶

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

func (BackupInfoStatus) MarshalJSON ¶

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

func (*BackupInfoStatus) UnmarshalJSON ¶

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

func (BackupInfoStatus) Value ¶

func (c BackupInfoStatus) Value() string

type BackupInfoStatusEnum ¶

type BackupInfoStatusEnum struct {
	BUILDING  BackupInfoStatus
	COMPLETED BackupInfoStatus
	FAILED    BackupInfoStatus
	DELETING  BackupInfoStatus
}

func GetBackupInfoStatusEnum ¶

func GetBackupInfoStatusEnum() BackupInfoStatusEnum

type BackupInfoType ¶

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

func (BackupInfoType) MarshalJSON ¶

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

func (*BackupInfoType) UnmarshalJSON ¶

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

func (BackupInfoType) Value ¶

func (c BackupInfoType) Value() string

type BackupInfoTypeEnum ¶

type BackupInfoTypeEnum struct {
	AUTO        BackupInfoType
	MANUAL      BackupInfoType
	FRAGMENT    BackupInfoType
	INCREMENTAL BackupInfoType
}

func GetBackupInfoTypeEnum ¶

func GetBackupInfoTypeEnum() BackupInfoTypeEnum

type BackupPolicy ¶

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

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

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

func (BackupPolicy) String ¶

func (o BackupPolicy) String() string

type BackupStrategy ¶

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

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

func (BackupStrategy) String ¶

func (o BackupStrategy) String() string

type BackupStrategyForResponse ¶

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

	KeepDays int32 `json:"keep_days"`
}

func (BackupStrategyForResponse) String ¶

func (o BackupStrategyForResponse) String() string

type BatchAddMsdtcsRequest ¶

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

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

func (BatchAddMsdtcsRequest) String ¶

func (o BatchAddMsdtcsRequest) String() string

type BatchAddMsdtcsResponse ¶

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

func (BatchAddMsdtcsResponse) String ¶

func (o BatchAddMsdtcsResponse) String() string

type BatchTagActionAddRequestBody ¶

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

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

func (BatchTagActionAddRequestBody) String ¶

type BatchTagActionDelRequestBody ¶

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

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

func (BatchTagActionDelRequestBody) String ¶

type BatchTagAddActionRequest ¶

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

	InstanceId string `json:"instance_id"`

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

func (BatchTagAddActionRequest) String ¶

func (o BatchTagAddActionRequest) String() string

type BatchTagAddActionResponse ¶

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

func (BatchTagAddActionResponse) String ¶

func (o BatchTagAddActionResponse) String() string

type BatchTagDelActionRequest ¶

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

	InstanceId string `json:"instance_id"`

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

func (BatchTagDelActionRequest) String ¶

func (o BatchTagDelActionRequest) String() string

type BatchTagDelActionResponse ¶

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

func (BatchTagDelActionResponse) String ¶

func (o BatchTagDelActionResponse) String() string

type BindEipRequest ¶

type BindEipRequest struct {
	PublicIp *string `json:"public_ip,omitempty"`

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

	IsBind bool `json:"is_bind"`
}

func (BindEipRequest) String ¶

func (o BindEipRequest) String() string

type BinlogClearPolicyRequestBody ¶

type BinlogClearPolicyRequestBody struct {
	BinlogRetentionHours int64 `json:"binlog_retention_hours"`
}

func (BinlogClearPolicyRequestBody) String ¶

type ChangeFailoverModeRequest ¶

type ChangeFailoverModeRequest struct {
	XLanguage *ChangeFailoverModeRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (ChangeFailoverModeRequest) String ¶

func (o ChangeFailoverModeRequest) String() string

type ChangeFailoverModeRequestXLanguage ¶

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

func (ChangeFailoverModeRequestXLanguage) MarshalJSON ¶

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

func (*ChangeFailoverModeRequestXLanguage) UnmarshalJSON ¶

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

func (ChangeFailoverModeRequestXLanguage) Value ¶

type ChangeFailoverModeRequestXLanguageEnum ¶

type ChangeFailoverModeRequestXLanguageEnum struct {
	ZH_CN ChangeFailoverModeRequestXLanguage
	EN_US ChangeFailoverModeRequestXLanguage
}

func GetChangeFailoverModeRequestXLanguageEnum ¶

func GetChangeFailoverModeRequestXLanguageEnum() ChangeFailoverModeRequestXLanguageEnum

type ChangeFailoverModeResponse ¶

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

	ReplicationMode *string `json:"replicationMode,omitempty"`

	WorkflowId     *string `json:"workflowId,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (ChangeFailoverModeResponse) String ¶

type ChangeFailoverStrategyRequest ¶

type ChangeFailoverStrategyRequest struct {
	XLanguage *ChangeFailoverStrategyRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (ChangeFailoverStrategyRequest) String ¶

type ChangeFailoverStrategyRequestXLanguage ¶

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

func (ChangeFailoverStrategyRequestXLanguage) MarshalJSON ¶

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

func (*ChangeFailoverStrategyRequestXLanguage) UnmarshalJSON ¶

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

func (ChangeFailoverStrategyRequestXLanguage) Value ¶

type ChangeFailoverStrategyRequestXLanguageEnum ¶

type ChangeFailoverStrategyRequestXLanguageEnum struct {
	ZH_CN ChangeFailoverStrategyRequestXLanguage
	EN_US ChangeFailoverStrategyRequestXLanguage
}

func GetChangeFailoverStrategyRequestXLanguageEnum ¶

func GetChangeFailoverStrategyRequestXLanguageEnum() ChangeFailoverStrategyRequestXLanguageEnum

type ChangeFailoverStrategyResponse ¶

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

func (ChangeFailoverStrategyResponse) String ¶

type ChangeOpsWindowRequest ¶

type ChangeOpsWindowRequest struct {
	XLanguage *ChangeOpsWindowRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (ChangeOpsWindowRequest) String ¶

func (o ChangeOpsWindowRequest) String() string

type ChangeOpsWindowRequestXLanguage ¶

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

func (ChangeOpsWindowRequestXLanguage) MarshalJSON ¶

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

func (*ChangeOpsWindowRequestXLanguage) UnmarshalJSON ¶

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

func (ChangeOpsWindowRequestXLanguage) Value ¶

type ChangeOpsWindowRequestXLanguageEnum ¶

type ChangeOpsWindowRequestXLanguageEnum struct {
	ZH_CN ChangeOpsWindowRequestXLanguage
	EN_US ChangeOpsWindowRequestXLanguage
}

func GetChangeOpsWindowRequestXLanguageEnum ¶

func GetChangeOpsWindowRequestXLanguageEnum() ChangeOpsWindowRequestXLanguageEnum

type ChangeOpsWindowResponse ¶

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

func (ChangeOpsWindowResponse) String ¶

func (o ChangeOpsWindowResponse) String() string

type ChangeProxyScaleRequest ¶

type ChangeProxyScaleRequest struct {
	XLanguage *ChangeProxyScaleRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (ChangeProxyScaleRequest) String ¶

func (o ChangeProxyScaleRequest) String() string

type ChangeProxyScaleRequestXLanguage ¶

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

func (ChangeProxyScaleRequestXLanguage) MarshalJSON ¶

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

func (*ChangeProxyScaleRequestXLanguage) UnmarshalJSON ¶

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

func (ChangeProxyScaleRequestXLanguage) Value ¶

type ChangeProxyScaleRequestXLanguageEnum ¶

type ChangeProxyScaleRequestXLanguageEnum struct {
	ZH_CN ChangeProxyScaleRequestXLanguage
	EN_US ChangeProxyScaleRequestXLanguage
}

func GetChangeProxyScaleRequestXLanguageEnum ¶

func GetChangeProxyScaleRequestXLanguageEnum() ChangeProxyScaleRequestXLanguageEnum

type ChangeProxyScaleResponse ¶

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

func (ChangeProxyScaleResponse) String ¶

func (o ChangeProxyScaleResponse) String() string

type ChangeTheDelayThresholdRequest ¶

type ChangeTheDelayThresholdRequest struct {
	XLanguage *ChangeTheDelayThresholdRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (ChangeTheDelayThresholdRequest) String ¶

type ChangeTheDelayThresholdRequestXLanguage ¶

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

func (ChangeTheDelayThresholdRequestXLanguage) MarshalJSON ¶

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

func (*ChangeTheDelayThresholdRequestXLanguage) UnmarshalJSON ¶

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

func (ChangeTheDelayThresholdRequestXLanguage) Value ¶

type ChangeTheDelayThresholdResponse ¶

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

func (ChangeTheDelayThresholdResponse) String ¶

type ChangingTheDelayThresholdRequestBody ¶

type ChangingTheDelayThresholdRequestBody struct {
	DelayThresholdInKilobytes int32 `json:"delay_threshold_in_kilobytes"`
}

func (ChangingTheDelayThresholdRequestBody) String ¶

type ChargeInfo ¶

type ChargeInfo struct {
	ChargeMode ChargeInfoChargeMode `json:"charge_mode"`

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

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

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

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

func (ChargeInfo) String ¶

func (o ChargeInfo) String() string

type ChargeInfoChargeMode ¶

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

func (ChargeInfoChargeMode) MarshalJSON ¶

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

func (*ChargeInfoChargeMode) UnmarshalJSON ¶

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

func (ChargeInfoChargeMode) Value ¶

func (c ChargeInfoChargeMode) Value() string

type ChargeInfoChargeModeEnum ¶

type ChargeInfoChargeModeEnum struct {
	PRE_PAID  ChargeInfoChargeMode
	POST_PAID ChargeInfoChargeMode
}

func GetChargeInfoChargeModeEnum ¶

func GetChargeInfoChargeModeEnum() ChargeInfoChargeModeEnum

type ChargeInfoPeriodType ¶

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

func (ChargeInfoPeriodType) MarshalJSON ¶

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

func (*ChargeInfoPeriodType) UnmarshalJSON ¶

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

func (ChargeInfoPeriodType) Value ¶

func (c ChargeInfoPeriodType) Value() string

type ChargeInfoPeriodTypeEnum ¶

type ChargeInfoPeriodTypeEnum struct {
	MONTH ChargeInfoPeriodType
	YEAR  ChargeInfoPeriodType
}

func GetChargeInfoPeriodTypeEnum ¶

func GetChargeInfoPeriodTypeEnum() ChargeInfoPeriodTypeEnum

type ChargeInfoResponse ¶

type ChargeInfoResponse struct {
	ChargeMode ChargeInfoResponseChargeMode `json:"charge_mode"`
}

func (ChargeInfoResponse) String ¶

func (o ChargeInfoResponse) String() string

type ChargeInfoResponseChargeMode ¶

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

func (ChargeInfoResponseChargeMode) MarshalJSON ¶

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

func (*ChargeInfoResponseChargeMode) UnmarshalJSON ¶

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

func (ChargeInfoResponseChargeMode) Value ¶

type ChargeInfoResponseChargeModeEnum ¶

type ChargeInfoResponseChargeModeEnum struct {
	PRE_PAID  ChargeInfoResponseChargeMode
	POST_PAID ChargeInfoResponseChargeMode
}

func GetChargeInfoResponseChargeModeEnum ¶

func GetChargeInfoResponseChargeModeEnum() ChargeInfoResponseChargeModeEnum

type Computes ¶

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

	ComputeFlavors *[]ScaleFlavors `json:"compute_flavors,omitempty"`
}

func (Computes) String ¶

func (o Computes) String() string

type ConfigurationCopyRequestBody ¶

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

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

func (ConfigurationCopyRequestBody) String ¶

type ConfigurationForCreation ¶

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

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

	Datastore *ParaGroupDatastore `json:"datastore"`

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

func (ConfigurationForCreation) String ¶

func (o ConfigurationForCreation) String() string

type ConfigurationForUpdate ¶

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

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

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

func (ConfigurationForUpdate) String ¶

func (o ConfigurationForUpdate) String() string

type ConfigurationParameter ¶

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

	Value string `json:"value"`

	RestartRequired bool `json:"restart_required"`

	Readonly bool `json:"readonly"`

	ValueRange string `json:"value_range"`

	Type ConfigurationParameterType `json:"type"`

	Description string `json:"description"`
}

func (ConfigurationParameter) String ¶

func (o ConfigurationParameter) String() string

type ConfigurationParameterType ¶

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

func (ConfigurationParameterType) MarshalJSON ¶

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

func (*ConfigurationParameterType) UnmarshalJSON ¶

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

func (ConfigurationParameterType) Value ¶

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 ConfigurationSummaryDatastoreName `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 ConfigurationSummaryDatastoreName ¶

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

func (ConfigurationSummaryDatastoreName) MarshalJSON ¶

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

func (*ConfigurationSummaryDatastoreName) UnmarshalJSON ¶

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

func (ConfigurationSummaryDatastoreName) Value ¶

type ConfigurationSummaryDatastoreNameEnum ¶

type ConfigurationSummaryDatastoreNameEnum struct {
	MYSQL      ConfigurationSummaryDatastoreName
	POSTGRESQL ConfigurationSummaryDatastoreName
	SQLSERVER  ConfigurationSummaryDatastoreName
}

func GetConfigurationSummaryDatastoreNameEnum ¶

func GetConfigurationSummaryDatastoreNameEnum() ConfigurationSummaryDatastoreNameEnum

type ConfigurationSummaryForCreate ¶

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

	Name string `json:"name"`

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

	DatastoreVersionName string `json:"datastore_version_name"`

	DatastoreName ConfigurationSummaryForCreateDatastoreName `json:"datastore_name"`

	Created string `json:"created"`

	Updated string `json:"updated"`
}

func (ConfigurationSummaryForCreate) String ¶

type ConfigurationSummaryForCreateDatastoreName ¶

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

func (ConfigurationSummaryForCreateDatastoreName) MarshalJSON ¶

func (*ConfigurationSummaryForCreateDatastoreName) UnmarshalJSON ¶

func (ConfigurationSummaryForCreateDatastoreName) Value ¶

type CopyConfigurationRequest ¶

type CopyConfigurationRequest struct {
	ConfigId string `json:"config_id"`

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

func (CopyConfigurationRequest) String ¶

func (o CopyConfigurationRequest) String() string

type CopyConfigurationResponse ¶

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

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

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

	DatastoreVersionName *string `json:"datastore_version_name,omitempty"`

	DatastoreName *string `json:"datastore_name,omitempty"`

	CreateTime *string `json:"create_time,omitempty"`

	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (CopyConfigurationResponse) String ¶

func (o CopyConfigurationResponse) String() string

type CreateConfigurationRequest ¶

type CreateConfigurationRequest struct {
	XLanguage *CreateConfigurationRequestXLanguage `json:"X-Language,omitempty"`

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

func (CreateConfigurationRequest) String ¶

type CreateConfigurationRequestXLanguage ¶

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

func (CreateConfigurationRequestXLanguage) MarshalJSON ¶

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

func (*CreateConfigurationRequestXLanguage) UnmarshalJSON ¶

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

func (CreateConfigurationRequestXLanguage) Value ¶

type CreateConfigurationRequestXLanguageEnum ¶

type CreateConfigurationRequestXLanguageEnum struct {
	ZH_CN CreateConfigurationRequestXLanguage
	EN_US CreateConfigurationRequestXLanguage
}

func GetCreateConfigurationRequestXLanguageEnum ¶

func GetCreateConfigurationRequestXLanguageEnum() CreateConfigurationRequestXLanguageEnum

type CreateConfigurationResponse ¶

type CreateConfigurationResponse struct {
	Configuration  *ConfigurationSummaryForCreate `json:"configuration,omitempty"`
	HttpStatusCode int                            `json:"-"`
}

func (CreateConfigurationResponse) String ¶

type CreateDatabaseRequest ¶

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

	InstanceId string `json:"instance_id"`

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

func (CreateDatabaseRequest) String ¶

func (o CreateDatabaseRequest) String() string

type CreateDatabaseResponse ¶

type CreateDatabaseResponse struct {
	Resp           *string `json:"resp,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (CreateDatabaseResponse) String ¶

func (o CreateDatabaseResponse) String() string

type CreateDbUserRequest ¶

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

	InstanceId string `json:"instance_id"`

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

func (CreateDbUserRequest) String ¶

func (o CreateDbUserRequest) String() string

type CreateDbUserResponse ¶

type CreateDbUserResponse struct {
	Resp           *string `json:"resp,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (CreateDbUserResponse) String ¶

func (o CreateDbUserResponse) String() string

type CreateDnsNameRequest ¶

type CreateDnsNameRequest struct {
	XLanguage *CreateDnsNameRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (CreateDnsNameRequest) String ¶

func (o CreateDnsNameRequest) String() string

type CreateDnsNameRequestBody ¶

type CreateDnsNameRequestBody struct {
	DnsType string `json:"dns_type"`
}

func (CreateDnsNameRequestBody) String ¶

func (o CreateDnsNameRequestBody) String() string

type CreateDnsNameRequestXLanguage ¶

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

func (CreateDnsNameRequestXLanguage) MarshalJSON ¶

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

func (*CreateDnsNameRequestXLanguage) UnmarshalJSON ¶

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

func (CreateDnsNameRequestXLanguage) Value ¶

type CreateDnsNameRequestXLanguageEnum ¶

type CreateDnsNameRequestXLanguageEnum struct {
	ZH_CN CreateDnsNameRequestXLanguage
	EN_US CreateDnsNameRequestXLanguage
}

func GetCreateDnsNameRequestXLanguageEnum ¶

func GetCreateDnsNameRequestXLanguageEnum() CreateDnsNameRequestXLanguageEnum

type CreateDnsNameResponse ¶

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

func (CreateDnsNameResponse) String ¶

func (o CreateDnsNameResponse) String() string

type CreateInstanceRequest ¶

type CreateInstanceRequest struct {
	XLanguage *CreateInstanceRequestXLanguage `json:"X-Language,omitempty"`

	XClientToken *string `json:"X-Client-Token,omitempty"`

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

func (CreateInstanceRequest) String ¶

func (o CreateInstanceRequest) String() string

type CreateInstanceRequestXLanguage ¶

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

func (CreateInstanceRequestXLanguage) MarshalJSON ¶

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

func (*CreateInstanceRequestXLanguage) UnmarshalJSON ¶

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

func (CreateInstanceRequestXLanguage) Value ¶

type CreateInstanceRequestXLanguageEnum ¶

type CreateInstanceRequestXLanguageEnum struct {
	ZH_CN CreateInstanceRequestXLanguage
	EN_US CreateInstanceRequestXLanguage
}

func GetCreateInstanceRequestXLanguageEnum ¶

func GetCreateInstanceRequestXLanguageEnum() CreateInstanceRequestXLanguageEnum

type CreateInstanceRespItem ¶

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

	Name string `json:"name"`

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

	Datastore *Datastore `json:"datastore"`

	Ha *Ha `json:"ha,omitempty"`

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

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

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

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

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

	FlavorRef string `json:"flavor_ref"`

	Volume *Volume `json:"volume"`

	Region string `json:"region"`

	AvailabilityZone string `json:"availability_zone"`

	VpcId string `json:"vpc_id"`

	SubnetId string `json:"subnet_id"`

	SecurityGroupId string `json:"security_group_id"`

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

	Collation *string `json:"collation,omitempty"`

	RestorePoint *RestorePoint `json:"restore_point,omitempty"`
}

func (CreateInstanceRespItem) String ¶

func (o CreateInstanceRespItem) String() string

type CreateInstanceResponse ¶

type CreateInstanceResponse struct {
	Instance *CreateInstanceRespItem `json:"instance,omitempty"`

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

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

func (CreateInstanceResponse) String ¶

func (o CreateInstanceResponse) String() string

type CreateManualBackupRequest ¶

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

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

func (CreateManualBackupRequest) String ¶

func (o CreateManualBackupRequest) String() string

type CreateManualBackupRequestBody ¶

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

	Name string `json:"name"`

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

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

func (CreateManualBackupRequestBody) String ¶

type CreateManualBackupResponse ¶

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

func (CreateManualBackupResponse) String ¶

type CreatePostgresqlDatabaseRequest ¶

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

	InstanceId string `json:"instance_id"`

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

func (CreatePostgresqlDatabaseRequest) String ¶

type CreatePostgresqlDatabaseResponse ¶

type CreatePostgresqlDatabaseResponse struct {
	Resp           *string `json:"resp,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (CreatePostgresqlDatabaseResponse) String ¶

type CreatePostgresqlDatabaseSchemaRequest ¶

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

	InstanceId string `json:"instance_id"`

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

func (CreatePostgresqlDatabaseSchemaRequest) String ¶

type CreatePostgresqlDatabaseSchemaResponse ¶

type CreatePostgresqlDatabaseSchemaResponse struct {
	Resp           *string `json:"resp,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (CreatePostgresqlDatabaseSchemaResponse) String ¶

type CreatePostgresqlDbUserRequest ¶

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

	InstanceId string `json:"instance_id"`

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

func (CreatePostgresqlDbUserRequest) String ¶

type CreatePostgresqlDbUserResponse ¶

type CreatePostgresqlDbUserResponse struct {
	Resp           *string `json:"resp,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (CreatePostgresqlDbUserResponse) String ¶

type CreatePostgresqlExtensionRequest ¶

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

	InstanceId string `json:"instance_id"`

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

func (CreatePostgresqlExtensionRequest) String ¶

type CreatePostgresqlExtensionResponse ¶

type CreatePostgresqlExtensionResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (CreatePostgresqlExtensionResponse) String ¶

type CreateRestoreInstanceRequest ¶

type CreateRestoreInstanceRequest struct {
	XLanguage *CreateRestoreInstanceRequestXLanguage `json:"X-Language,omitempty"`

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

func (CreateRestoreInstanceRequest) String ¶

type CreateRestoreInstanceRequestBody ¶

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

	Datastore *Datastore `json:"datastore"`

	Ha *Ha `json:"ha,omitempty"`

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

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

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

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

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

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

	FlavorRef string `json:"flavor_ref"`

	Volume *Volume `json:"volume"`

	Region string `json:"region"`

	AvailabilityZone string `json:"availability_zone"`

	VpcId string `json:"vpc_id"`

	SubnetId string `json:"subnet_id"`

	DataVip *string `json:"data_vip,omitempty"`

	SecurityGroupId string `json:"security_group_id"`

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

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

	DsspoolId *string `json:"dsspool_id,omitempty"`

	ReplicaOfId *string `json:"replica_of_id,omitempty"`

	RestorePoint *RestorePoint `json:"restore_point,omitempty"`

	Collation *string `json:"collation,omitempty"`

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

	UnchangeableParam *UnchangeableParam `json:"unchangeable_param,omitempty"`

	DryRun *bool `json:"dry_run,omitempty"`
}

func (CreateRestoreInstanceRequestBody) String ¶

type CreateRestoreInstanceRequestXLanguage ¶

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

func (CreateRestoreInstanceRequestXLanguage) MarshalJSON ¶

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

func (*CreateRestoreInstanceRequestXLanguage) UnmarshalJSON ¶

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

func (CreateRestoreInstanceRequestXLanguage) Value ¶

type CreateRestoreInstanceRequestXLanguageEnum ¶

type CreateRestoreInstanceRequestXLanguageEnum struct {
	ZH_CN CreateRestoreInstanceRequestXLanguage
	EN_US CreateRestoreInstanceRequestXLanguage
}

func GetCreateRestoreInstanceRequestXLanguageEnum ¶

func GetCreateRestoreInstanceRequestXLanguageEnum() CreateRestoreInstanceRequestXLanguageEnum

type CreateRestoreInstanceResponse ¶

type CreateRestoreInstanceResponse struct {
	Instance *CreateInstanceRespItem `json:"instance,omitempty"`

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

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

func (CreateRestoreInstanceResponse) String ¶

type CreateSqlserverDatabaseRequest ¶

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

	InstanceId string `json:"instance_id"`

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

func (CreateSqlserverDatabaseRequest) String ¶

type CreateSqlserverDatabaseResponse ¶

type CreateSqlserverDatabaseResponse struct {
	Resp           *string `json:"resp,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (CreateSqlserverDatabaseResponse) String ¶

type CreateSqlserverDbUserRequest ¶

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

	InstanceId string `json:"instance_id"`

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

func (CreateSqlserverDbUserRequest) String ¶

type CreateSqlserverDbUserResponse ¶

type CreateSqlserverDbUserResponse struct {
	Resp           *string `json:"resp,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (CreateSqlserverDbUserResponse) String ¶

type CustomerModifyAutoEnlargePolicyReq ¶

type CustomerModifyAutoEnlargePolicyReq struct {
	SwitchOption bool `json:"switch_option"`

	LimitSize *int32 `json:"limit_size,omitempty"`

	TriggerThreshold *CustomerModifyAutoEnlargePolicyReqTriggerThreshold `json:"trigger_threshold,omitempty"`
}

func (CustomerModifyAutoEnlargePolicyReq) String ¶

type CustomerModifyAutoEnlargePolicyReqTriggerThreshold ¶

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

func (CustomerModifyAutoEnlargePolicyReqTriggerThreshold) MarshalJSON ¶

func (*CustomerModifyAutoEnlargePolicyReqTriggerThreshold) UnmarshalJSON ¶

func (CustomerModifyAutoEnlargePolicyReqTriggerThreshold) Value ¶

type CustomerUpgradeDatabaseVersionReq ¶

type CustomerUpgradeDatabaseVersionReq struct {
	Delay *bool `json:"delay,omitempty"`
}

func (CustomerUpgradeDatabaseVersionReq) String ¶

type DataIpRequest ¶

type DataIpRequest struct {
	NewIp string `json:"new_ip"`
}

func (DataIpRequest) String ¶

func (o DataIpRequest) String() string

type DatabaseForCreation ¶

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

	CharacterSet string `json:"character_set"`

	Comment *string `json:"comment,omitempty"`
}

func (DatabaseForCreation) String ¶

func (o DatabaseForCreation) String() string

type DatabaseWithPrivilege ¶

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

	Readonly bool `json:"readonly"`
}

func (DatabaseWithPrivilege) String ¶

func (o DatabaseWithPrivilege) String() string

type DatabaseWithPrivilegeObject ¶

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

	Readonly *bool `json:"readonly,omitempty"`
}

func (DatabaseWithPrivilegeObject) String ¶

type Datastore ¶

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

	Version string `json:"version"`

	CompleteVersion *string `json:"complete_version,omitempty"`
}

func (Datastore) String ¶

func (o Datastore) String() string

type DatastoreType ¶

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

func (DatastoreType) MarshalJSON ¶

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

func (*DatastoreType) UnmarshalJSON ¶

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

func (DatastoreType) Value ¶

func (c DatastoreType) Value() string

type DatastoreTypeEnum ¶

type DatastoreTypeEnum struct {
	MY_SQL      DatastoreType
	POSTGRE_SQL DatastoreType
	SQL_SERVER  DatastoreType
}

func GetDatastoreTypeEnum ¶

func GetDatastoreTypeEnum() DatastoreTypeEnum

type DbUserPrivilegeRequest ¶

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

	AuthorizationType string `json:"authorization_type"`

	Privileges []string `json:"privileges"`
}

func (DbUserPrivilegeRequest) String ¶

func (o DbUserPrivilegeRequest) String() string

type DbUserPwdRequest ¶

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

	Password string `json:"password"`
}

func (DbUserPwdRequest) String ¶

func (o DbUserPwdRequest) String() string

type DbsInstanceHostInfoResult ¶

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

	Host *string `json:"host,omitempty"`

	HostName *string `json:"host_name,omitempty"`
}

func (DbsInstanceHostInfoResult) String ¶

func (o DbsInstanceHostInfoResult) String() string

type DeleteConfigurationRequest ¶

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

	ConfigId string `json:"config_id"`
}

func (DeleteConfigurationRequest) String ¶

type DeleteConfigurationResponse ¶

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

func (DeleteConfigurationResponse) String ¶

type DeleteDatabaseRequest ¶

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

	InstanceId string `json:"instance_id"`

	DbName string `json:"db_name"`
}

func (DeleteDatabaseRequest) String ¶

func (o DeleteDatabaseRequest) String() string

type DeleteDatabaseResponse ¶

type DeleteDatabaseResponse struct {
	Resp           *string `json:"resp,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (DeleteDatabaseResponse) String ¶

func (o DeleteDatabaseResponse) String() string

type DeleteDbUserRequest ¶

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

	InstanceId string `json:"instance_id"`

	UserName string `json:"user_name"`
}

func (DeleteDbUserRequest) String ¶

func (o DeleteDbUserRequest) String() string

type DeleteDbUserResponse ¶

type DeleteDbUserResponse struct {
	Resp           *string `json:"resp,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (DeleteDbUserResponse) String ¶

func (o DeleteDbUserResponse) String() string

type DeleteInstanceRequest ¶

type DeleteInstanceRequest struct {
	XLanguage *DeleteInstanceRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`
}

func (DeleteInstanceRequest) String ¶

func (o DeleteInstanceRequest) String() string

type DeleteInstanceRequestXLanguage ¶

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

func (DeleteInstanceRequestXLanguage) MarshalJSON ¶

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

func (*DeleteInstanceRequestXLanguage) UnmarshalJSON ¶

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

func (DeleteInstanceRequestXLanguage) Value ¶

type DeleteInstanceRequestXLanguageEnum ¶

type DeleteInstanceRequestXLanguageEnum struct {
	ZH_CN DeleteInstanceRequestXLanguage
	EN_US DeleteInstanceRequestXLanguage
}

func GetDeleteInstanceRequestXLanguageEnum ¶

func GetDeleteInstanceRequestXLanguageEnum() DeleteInstanceRequestXLanguageEnum

type DeleteInstanceResponse ¶

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

func (DeleteInstanceResponse) String ¶

func (o DeleteInstanceResponse) String() string

type DeleteManualBackupRequest ¶

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

	BackupId string `json:"backup_id"`
}

func (DeleteManualBackupRequest) String ¶

func (o DeleteManualBackupRequest) String() string

type DeleteManualBackupResponse ¶

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

func (DeleteManualBackupResponse) String ¶

type DeletePostgresqlExtensionRequest ¶

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

	InstanceId string `json:"instance_id"`

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

func (DeletePostgresqlExtensionRequest) String ¶

type DeletePostgresqlExtensionResponse ¶

type DeletePostgresqlExtensionResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (DeletePostgresqlExtensionResponse) String ¶

type DeleteSqlserverDatabaseExRequest ¶

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

	InstanceId string `json:"instance_id"`

	DbName string `json:"db_name"`

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

func (DeleteSqlserverDatabaseExRequest) String ¶

type DeleteSqlserverDatabaseExResponse ¶

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

func (DeleteSqlserverDatabaseExResponse) String ¶

type DeleteSqlserverDatabaseRequest ¶

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

	InstanceId string `json:"instance_id"`

	DbName string `json:"db_name"`

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

func (DeleteSqlserverDatabaseRequest) String ¶

type DeleteSqlserverDatabaseResponse ¶

type DeleteSqlserverDatabaseResponse struct {
	Resp           *string `json:"resp,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (DeleteSqlserverDatabaseResponse) String ¶

type DeleteSqlserverDbUserRequest ¶

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

	InstanceId string `json:"instance_id"`

	UserName string `json:"user_name"`
}

func (DeleteSqlserverDbUserRequest) String ¶

type DeleteSqlserverDbUserResponse ¶

type DeleteSqlserverDbUserResponse struct {
	Resp           *string `json:"resp,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (DeleteSqlserverDbUserResponse) String ¶

type DownloadSlowlogRequest ¶

type DownloadSlowlogRequest struct {
	XLanguage *DownloadSlowlogRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (DownloadSlowlogRequest) String ¶

func (o DownloadSlowlogRequest) String() string

type DownloadSlowlogRequestXLanguage ¶

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

func (DownloadSlowlogRequestXLanguage) MarshalJSON ¶

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

func (*DownloadSlowlogRequestXLanguage) UnmarshalJSON ¶

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

func (DownloadSlowlogRequestXLanguage) Value ¶

type DownloadSlowlogRequestXLanguageEnum ¶

type DownloadSlowlogRequestXLanguageEnum struct {
	ZH_CN DownloadSlowlogRequestXLanguage
	EN_US DownloadSlowlogRequestXLanguage
}

func GetDownloadSlowlogRequestXLanguageEnum ¶

func GetDownloadSlowlogRequestXLanguageEnum() DownloadSlowlogRequestXLanguageEnum

type DownloadSlowlogResponse ¶

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

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

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

func (DownloadSlowlogResponse) String ¶

func (o DownloadSlowlogResponse) String() string

type DropDatabaseV3Req ¶

type DropDatabaseV3Req struct {
	IsForceDelete *bool `json:"is_force_delete,omitempty"`
}

func (DropDatabaseV3Req) String ¶

func (o DropDatabaseV3Req) String() string

type DssPoolInfo ¶

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

	FreeCapacityGb string `json:"free_capacity_gb"`

	DsspoolVolumeType string `json:"dsspool_volume_type"`

	DsspoolId string `json:"dsspool_id"`

	DsspoolStatus string `json:"dsspool_status"`
}

func (DssPoolInfo) String ¶

func (o DssPoolInfo) String() string

type EnableConfigurationRequest ¶

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

	ConfigId string `json:"config_id"`

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

func (EnableConfigurationRequest) String ¶

type EnableConfigurationResponse ¶

type EnableConfigurationResponse struct {
	ConfigurationId *string `json:"configuration_id,omitempty"`

	ConfigurationName *string `json:"configuration_name,omitempty"`

	Success *bool `json:"success,omitempty"`

	ApplyResults   *[]ApplyConfigurationResponseApplyResults `json:"apply_results,omitempty"`
	HttpStatusCode int                                       `json:"-"`
}

func (EnableConfigurationResponse) String ¶

type EnlargeVolume ¶

type EnlargeVolume struct {
	EnlargeVolume *EnlargeVolumeObject `json:"enlarge_volume"`
}

func (EnlargeVolume) String ¶

func (o EnlargeVolume) String() string

type EnlargeVolumeObject ¶

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

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

func (EnlargeVolumeObject) String ¶

func (o EnlargeVolumeObject) String() string

type ErrorLog ¶

type ErrorLog struct {
	Time string `json:"time"`

	Level string `json:"level"`

	Content string `json:"content"`
}

func (ErrorLog) String ¶

func (o ErrorLog) String() string

type ErrorLogItem ¶

type ErrorLogItem struct {
	Time *string `json:"time,omitempty"`

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

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

	LineNum *string `json:"line_num,omitempty"`
}

func (ErrorLogItem) String ¶

func (o ErrorLogItem) String() string

type ErrorResponse ¶

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

	ErrorMsg string `json:"error_msg"`
}

func (ErrorResponse) String ¶

func (o ErrorResponse) String() string

type ErrorlogForLtsRequest ¶

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

	EndTime string `json:"end_time"`

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

	LineNum *string `json:"line_num,omitempty"`

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

	SearchType *string `json:"search_type,omitempty"`
}

func (ErrorlogForLtsRequest) String ¶

func (o ErrorlogForLtsRequest) String() string

type ErrorlogForLtsRequestLevel ¶

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

func (ErrorlogForLtsRequestLevel) MarshalJSON ¶

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

func (*ErrorlogForLtsRequestLevel) UnmarshalJSON ¶

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

func (ErrorlogForLtsRequestLevel) Value ¶

type ExtensionRequest ¶

type ExtensionRequest struct {
	DatabaseName string `json:"database_name"`

	ExtensionName string `json:"extension_name"`
}

func (ExtensionRequest) String ¶

func (o ExtensionRequest) String() string

type ExtensionsResponse ¶

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

	DatabaseName *string `json:"database_name,omitempty"`

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

	SharedPreloadLibraries *string `json:"shared_preload_libraries,omitempty"`

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

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

func (ExtensionsResponse) String ¶

func (o ExtensionsResponse) String() string

type FailoverModeRequest ¶

type FailoverModeRequest struct {
	Mode string `json:"mode"`
}

func (FailoverModeRequest) String ¶

func (o FailoverModeRequest) String() string

type FailoverRequest ¶

type FailoverRequest struct {
	Force *bool `json:"force,omitempty"`
}

func (FailoverRequest) String ¶

func (o FailoverRequest) String() string

type FailoverStrategyRequest ¶

type FailoverStrategyRequest struct {
	RepairStrategy string `json:"repairStrategy"`
}

func (FailoverStrategyRequest) String ¶

func (o FailoverStrategyRequest) String() string

type Flavor ¶

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

	Vcpus string `json:"vcpus"`

	Ram int32 `json:"ram"`

	SpecCode string `json:"spec_code"`

	InstanceMode string `json:"instance_mode"`

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

	AzDesc map[string]string `json:"az_desc"`

	VersionName []string `json:"version_name"`

	GroupType string `json:"group_type"`
}

func (Flavor) String ¶

func (o Flavor) String() string

type FollowerMigrateRequest ¶

type FollowerMigrateRequest struct {
	NodeId string `json:"nodeId"`

	AzCode string `json:"azCode"`
}

func (FollowerMigrateRequest) String ¶

func (o FollowerMigrateRequest) String() string

type GenerateAuditlogDownloadLinkRequest ¶

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

func (GenerateAuditlogDownloadLinkRequest) String ¶

type GetBackupDownloadLinkFiles ¶

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

	Size int64 `json:"size"`

	DownloadLink string `json:"download_link"`

	LinkExpiredTime string `json:"link_expired_time"`

	DatabaseName string `json:"database_name"`
}

func (GetBackupDownloadLinkFiles) String ¶

type GetJobInfoResponseBodyJob ¶

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

	Name string `json:"name"`

	Status GetJobInfoResponseBodyJobStatus `json:"status"`

	Created string `json:"created"`

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

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

	Instance *GetTaskDetailListRspJobsInstance `json:"instance"`

	Entities *interface{} `json:"entities,omitempty"`

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

func (GetJobInfoResponseBodyJob) String ¶

func (o GetJobInfoResponseBodyJob) String() string

type GetJobInfoResponseBodyJobStatus ¶

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

func (GetJobInfoResponseBodyJobStatus) MarshalJSON ¶

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

func (*GetJobInfoResponseBodyJobStatus) UnmarshalJSON ¶

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

func (GetJobInfoResponseBodyJobStatus) Value ¶

type GetJobInfoResponseBodyJobStatusEnum ¶

type GetJobInfoResponseBodyJobStatusEnum struct {
	RUNNING   GetJobInfoResponseBodyJobStatus
	COMPLETED GetJobInfoResponseBodyJobStatus
	FAILED    GetJobInfoResponseBodyJobStatus
}

func GetGetJobInfoResponseBodyJobStatusEnum ¶

func GetGetJobInfoResponseBodyJobStatusEnum() GetJobInfoResponseBodyJobStatusEnum

type GetOffSiteBackupPolicy ¶

type GetOffSiteBackupPolicy struct {
	BackupType *string `json:"backup_type,omitempty"`

	KeepDays *int32 `json:"keep_days,omitempty"`

	DestinationRegion *string `json:"destination_region,omitempty"`

	DestinationProjectId *string `json:"destination_project_id,omitempty"`
}

func (GetOffSiteBackupPolicy) String ¶

func (o GetOffSiteBackupPolicy) String() string

type GetRestoreTimeResponseRestoreTime ¶

type GetRestoreTimeResponseRestoreTime struct {
	StartTime int32 `json:"start_time"`

	EndTime int32 `json:"end_time"`
}

func (GetRestoreTimeResponseRestoreTime) String ¶

type GetTaskDetailListRspJobs ¶

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

	Name string `json:"name"`

	Status GetTaskDetailListRspJobsStatus `json:"status"`

	Created string `json:"created"`

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

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

	TaskDetail *string `json:"task_detail,omitempty"`

	Instance *GetTaskDetailListRspJobsInstance `json:"instance"`

	Entities *interface{} `json:"entities,omitempty"`

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

func (GetTaskDetailListRspJobs) String ¶

func (o GetTaskDetailListRspJobs) String() string

type GetTaskDetailListRspJobsInstance ¶

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

	Name string `json:"name"`
}

func (GetTaskDetailListRspJobsInstance) String ¶

type GetTaskDetailListRspJobsStatus ¶

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

func (GetTaskDetailListRspJobsStatus) MarshalJSON ¶

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

func (*GetTaskDetailListRspJobsStatus) UnmarshalJSON ¶

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

func (GetTaskDetailListRspJobsStatus) Value ¶

type GetTaskDetailListRspJobsStatusEnum ¶

type GetTaskDetailListRspJobsStatusEnum struct {
	RUNNING   GetTaskDetailListRspJobsStatus
	COMPLETED GetTaskDetailListRspJobsStatus
	FAILED    GetTaskDetailListRspJobsStatus
}

func GetGetTaskDetailListRspJobsStatusEnum ¶

func GetGetTaskDetailListRspJobsStatusEnum() GetTaskDetailListRspJobsStatusEnum

type GrantRequest ¶

type GrantRequest struct {
	DbName string `json:"db_name"`

	Users []UserWithPrivilege `json:"users"`
}

func (GrantRequest) String ¶

func (o GrantRequest) String() string

type Ha ¶

type Ha struct {
	Mode HaMode `json:"mode"`

	ReplicationMode HaReplicationMode `json:"replication_mode"`
}

func (Ha) String ¶

func (o Ha) String() string

type HaMode ¶

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

func (HaMode) MarshalJSON ¶

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

func (*HaMode) UnmarshalJSON ¶

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

func (HaMode) Value ¶

func (c HaMode) Value() string

type HaModeEnum ¶

type HaModeEnum struct {
	HA     HaMode
	SINGLE HaMode
}

func GetHaModeEnum ¶

func GetHaModeEnum() HaModeEnum

type HaReplicationMode ¶

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

func (HaReplicationMode) MarshalJSON ¶

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

func (*HaReplicationMode) UnmarshalJSON ¶

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

func (HaReplicationMode) Value ¶

func (c HaReplicationMode) Value() string

type HaReplicationModeEnum ¶

type HaReplicationModeEnum struct {
	ASYNC    HaReplicationMode
	SEMISYNC HaReplicationMode
	SYNC     HaReplicationMode
}

func GetHaReplicationModeEnum ¶

func GetHaReplicationModeEnum() HaReplicationModeEnum

type HaResponse ¶

type HaResponse struct {
	ReplicationMode HaResponseReplicationMode `json:"replication_mode"`
}

func (HaResponse) String ¶

func (o HaResponse) String() string

type HaResponseReplicationMode ¶

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

func (HaResponseReplicationMode) MarshalJSON ¶

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

func (*HaResponseReplicationMode) UnmarshalJSON ¶

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

func (HaResponseReplicationMode) Value ¶

type HaResponseReplicationModeEnum ¶

type HaResponseReplicationModeEnum struct {
	ASYNC    HaResponseReplicationMode
	SEMISYNC HaResponseReplicationMode
	SYNC     HaResponseReplicationMode
}

func GetHaResponseReplicationModeEnum ¶

func GetHaResponseReplicationModeEnum() HaResponseReplicationModeEnum

type InstanceDrRelation ¶

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

	MasterInstance *MasterInstance `json:"master_instance,omitempty"`

	SlaveInstances *[]SlaveInstance `json:"slave_instances,omitempty"`
}

func (InstanceDrRelation) String ¶

func (o InstanceDrRelation) String() string

type InstanceRequest ¶

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

	Datastore *Datastore `json:"datastore"`

	Ha *Ha `json:"ha,omitempty"`

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

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

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

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

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

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

	FlavorRef string `json:"flavor_ref"`

	Volume *Volume `json:"volume"`

	Region string `json:"region"`

	AvailabilityZone string `json:"availability_zone"`

	VpcId string `json:"vpc_id"`

	SubnetId string `json:"subnet_id"`

	DataVip *string `json:"data_vip,omitempty"`

	SecurityGroupId string `json:"security_group_id"`

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

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

	DsspoolId *string `json:"dsspool_id,omitempty"`

	ReplicaOfId *string `json:"replica_of_id,omitempty"`

	RestorePoint *RestorePoint `json:"restore_point,omitempty"`

	Collation *string `json:"collation,omitempty"`

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

	UnchangeableParam *UnchangeableParam `json:"unchangeable_param,omitempty"`

	DryRun *bool `json:"dry_run,omitempty"`

	Count *int32 `json:"count,omitempty"`
}

func (InstanceRequest) String ¶

func (o InstanceRequest) String() string

type InstanceResponse ¶

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

	Status string `json:"status"`

	EnableSsl bool `json:"enable_ssl"`

	PrivateIps []string `json:"private_ips"`

	PrivateDnsNames *[]string `json:"private_dns_names,omitempty"`

	PublicIps []string `json:"public_ips"`

	Type string `json:"type"`

	Created string `json:"created"`

	Updated string `json:"updated"`

	DbUserName string `json:"db_user_name"`

	SwitchStrategy string `json:"switch_strategy"`

	ReadOnlyByUser *bool `json:"read_only_by_user,omitempty"`

	MaintenanceWindow string `json:"maintenance_window"`

	Nodes []NodeResponse `json:"nodes"`

	RelatedInstance []RelatedInstance `json:"related_instance"`

	Name string `json:"name"`

	Datastore *Datastore `json:"datastore"`

	Ha *HaResponse `json:"ha,omitempty"`

	Port int32 `json:"port"`

	BackupStrategy *BackupStrategyForResponse `json:"backup_strategy"`

	EnterpriseProjectId string `json:"enterprise_project_id"`

	DiskEncryptionId string `json:"disk_encryption_id"`

	FlavorRef string `json:"flavor_ref"`

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

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

	Volume *Volume `json:"volume"`

	Region string `json:"region"`

	VpcId string `json:"vpc_id"`

	SubnetId string `json:"subnet_id"`

	SecurityGroupId string `json:"security_group_id"`

	ChargeInfo *ChargeInfoResponse `json:"charge_info"`

	TimeZone string `json:"time_zone"`

	Tags []TagResponse `json:"tags"`

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

	StorageUsedSpace *float64 `json:"storage_used_space,omitempty"`

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

	AssociatedWithDdm *bool `json:"associated_with_ddm,omitempty"`

	Alias *string `json:"alias,omitempty"`

	MaxIops *int64 `json:"max_iops,omitempty"`

	ExpirationTime *string `json:"expiration_time,omitempty"`
}

func (InstanceResponse) String ¶

func (o InstanceResponse) String() string

type InstanceRestartRequsetBody ¶

type InstanceRestartRequsetBody struct {
	Restart *interface{} `json:"restart"`
}

func (InstanceRestartRequsetBody) String ¶

type LDatastore ¶

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

	Name string `json:"name"`
}

func (LDatastore) String ¶

func (o LDatastore) String() string

type LinksInfoResponse ¶

type LinksInfoResponse struct {
	Href *string `json:"href,omitempty"`

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

func (LinksInfoResponse) String ¶

func (o LinksInfoResponse) String() string

type ListApiVersionNewRequest ¶

type ListApiVersionNewRequest struct {
}

func (ListApiVersionNewRequest) String ¶

func (o ListApiVersionNewRequest) String() string

type ListApiVersionNewResponse ¶

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

func (ListApiVersionNewResponse) String ¶

func (o ListApiVersionNewResponse) String() string

type ListApiVersionRequest ¶

type ListApiVersionRequest struct {
}

func (ListApiVersionRequest) String ¶

func (o ListApiVersionRequest) String() string

type ListApiVersionResponse ¶

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

func (ListApiVersionResponse) String ¶

func (o ListApiVersionResponse) String() string

type ListAuditlogsRequest ¶

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

	InstanceId string `json:"instance_id"`

	StartTime string `json:"start_time"`

	EndTime string `json:"end_time"`

	Offset int32 `json:"offset"`

	Limit int32 `json:"limit"`
}

func (ListAuditlogsRequest) String ¶

func (o ListAuditlogsRequest) String() string

type ListAuditlogsResponse ¶

type ListAuditlogsResponse struct {
	Auditlogs *[]Auditlog `json:"auditlogs,omitempty"`

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

func (ListAuditlogsResponse) String ¶

func (o ListAuditlogsResponse) String() string

type ListAuthorizedDatabasesRequest ¶

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

	InstanceId string `json:"instance_id"`

	UserName string `json:"user-name"`

	Page int32 `json:"page"`

	Limit int32 `json:"limit"`
}

func (ListAuthorizedDatabasesRequest) String ¶

type ListAuthorizedDatabasesResponse ¶

type ListAuthorizedDatabasesResponse struct {
	Databases *[]DatabaseWithPrivilege `json:"databases,omitempty"`

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

func (ListAuthorizedDatabasesResponse) String ¶

type ListAuthorizedDbUsersRequest ¶

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

	InstanceId string `json:"instance_id"`

	DbName string `json:"db-name"`

	Page int32 `json:"page"`

	Limit int32 `json:"limit"`
}

func (ListAuthorizedDbUsersRequest) String ¶

type ListAuthorizedDbUsersResponse ¶

type ListAuthorizedDbUsersResponse struct {
	Users *[]UserWithPrivilege `json:"users,omitempty"`

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

func (ListAuthorizedDbUsersResponse) String ¶

type ListAuthorizedSqlserverDbUsersRequest ¶

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

	InstanceId string `json:"instance_id"`

	DbName string `json:"db-name"`

	Page int32 `json:"page"`

	Limit int32 `json:"limit"`
}

func (ListAuthorizedSqlserverDbUsersRequest) String ¶

type ListAuthorizedSqlserverDbUsersResponse ¶

type ListAuthorizedSqlserverDbUsersResponse struct {
	Users *[]UserWithPrivilege `json:"users,omitempty"`

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

func (ListAuthorizedSqlserverDbUsersResponse) String ¶

type ListBackupsRequest ¶

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

	InstanceId string `json:"instance_id"`

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

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

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

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

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

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

func (ListBackupsRequest) String ¶

func (o ListBackupsRequest) String() string

type ListBackupsRequestBackupType ¶

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

func (ListBackupsRequestBackupType) MarshalJSON ¶

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

func (*ListBackupsRequestBackupType) UnmarshalJSON ¶

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

func (ListBackupsRequestBackupType) Value ¶

type ListBackupsResponse ¶

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

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

func (ListBackupsResponse) String ¶

func (o ListBackupsResponse) String() string

type ListCollationsRequest ¶

type ListCollationsRequest struct {
	XLanguage *ListCollationsRequestXLanguage `json:"X-Language,omitempty"`
}

func (ListCollationsRequest) String ¶

func (o ListCollationsRequest) String() string

type ListCollationsRequestXLanguage ¶

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

func (ListCollationsRequestXLanguage) MarshalJSON ¶

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

func (*ListCollationsRequestXLanguage) UnmarshalJSON ¶

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

func (ListCollationsRequestXLanguage) Value ¶

type ListCollationsRequestXLanguageEnum ¶

type ListCollationsRequestXLanguageEnum struct {
	ZH_CN ListCollationsRequestXLanguage
	EN_US ListCollationsRequestXLanguage
}

func GetListCollationsRequestXLanguageEnum ¶

func GetListCollationsRequestXLanguageEnum() ListCollationsRequestXLanguageEnum

type ListCollationsResponse ¶

type ListCollationsResponse struct {
	CharSets       *[]string `json:"charSets,omitempty"`
	HttpStatusCode int       `json:"-"`
}

func (ListCollationsResponse) String ¶

func (o ListCollationsResponse) String() string

type ListConfigurationsRequest ¶

type ListConfigurationsRequest struct {
	XLanguage *ListConfigurationsRequestXLanguage `json:"X-Language,omitempty"`
}

func (ListConfigurationsRequest) String ¶

func (o ListConfigurationsRequest) String() string

type ListConfigurationsRequestXLanguage ¶

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

func (ListConfigurationsRequestXLanguage) MarshalJSON ¶

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

func (*ListConfigurationsRequestXLanguage) UnmarshalJSON ¶

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

func (ListConfigurationsRequestXLanguage) Value ¶

type ListConfigurationsRequestXLanguageEnum ¶

type ListConfigurationsRequestXLanguageEnum struct {
	ZH_CN ListConfigurationsRequestXLanguage
	EN_US ListConfigurationsRequestXLanguage
}

func GetListConfigurationsRequestXLanguageEnum ¶

func GetListConfigurationsRequestXLanguageEnum() ListConfigurationsRequestXLanguageEnum

type ListConfigurationsResponse ¶

type ListConfigurationsResponse struct {
	Configurations *[]ConfigurationSummary `json:"configurations,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

func (ListConfigurationsResponse) String ¶

type ListDatabasesRequest ¶

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

	InstanceId string `json:"instance_id"`

	Page int32 `json:"page"`

	Limit int32 `json:"limit"`
}

func (ListDatabasesRequest) String ¶

func (o ListDatabasesRequest) String() string

type ListDatabasesResponse ¶

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

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

func (ListDatabasesResponse) String ¶

func (o ListDatabasesResponse) String() string

type ListDatastoresRequest ¶

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

	DatabaseName ListDatastoresRequestDatabaseName `json:"database_name"`
}

func (ListDatastoresRequest) String ¶

func (o ListDatastoresRequest) String() string

type ListDatastoresRequestDatabaseName ¶

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

func (ListDatastoresRequestDatabaseName) MarshalJSON ¶

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

func (*ListDatastoresRequestDatabaseName) UnmarshalJSON ¶

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

func (ListDatastoresRequestDatabaseName) Value ¶

type ListDatastoresRequestDatabaseNameEnum ¶

type ListDatastoresRequestDatabaseNameEnum struct {
	MY_SQL      ListDatastoresRequestDatabaseName
	POSTGRE_SQL ListDatastoresRequestDatabaseName
	SQL_SERVER  ListDatastoresRequestDatabaseName
}

func GetListDatastoresRequestDatabaseNameEnum ¶

func GetListDatastoresRequestDatabaseNameEnum() ListDatastoresRequestDatabaseNameEnum

type ListDatastoresResponse ¶

type ListDatastoresResponse struct {
	DataStores     *[]LDatastore `json:"dataStores,omitempty"`
	HttpStatusCode int           `json:"-"`
}

func (ListDatastoresResponse) String ¶

func (o ListDatastoresResponse) String() string

type ListDbUsersRequest ¶

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

	InstanceId string `json:"instance_id"`

	Page int32 `json:"page"`

	Limit int32 `json:"limit"`
}

func (ListDbUsersRequest) String ¶

func (o ListDbUsersRequest) String() string

type ListDbUsersResponse ¶

type ListDbUsersResponse struct {
	Users *[]UserForList `json:"users,omitempty"`

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

func (ListDbUsersResponse) String ¶

func (o ListDbUsersResponse) String() string

type ListDrRelationsRequest ¶

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

func (ListDrRelationsRequest) String ¶

func (o ListDrRelationsRequest) String() string

type ListDrRelationsResponse ¶

type ListDrRelationsResponse struct {
	InstanceDrRelations *[]InstanceDrRelation `json:"instance_dr_relations,omitempty"`
	HttpStatusCode      int                   `json:"-"`
}

func (ListDrRelationsResponse) String ¶

func (o ListDrRelationsResponse) String() string

type ListErrorLogsNewRequest ¶

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

	InstanceId string `json:"instance_id"`

	StartDate string `json:"start_date"`

	EndDate string `json:"end_date"`

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

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

	Level *ListErrorLogsNewRequestLevel `json:"level,omitempty"`
}

func (ListErrorLogsNewRequest) String ¶

func (o ListErrorLogsNewRequest) String() string

type ListErrorLogsNewRequestLevel ¶

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

func (ListErrorLogsNewRequestLevel) MarshalJSON ¶

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

func (*ListErrorLogsNewRequestLevel) UnmarshalJSON ¶

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

func (ListErrorLogsNewRequestLevel) Value ¶

type ListErrorLogsNewResponse ¶

type ListErrorLogsNewResponse struct {
	ErrorLogList *[]ErrorLog `json:"error_log_list,omitempty"`

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

func (ListErrorLogsNewResponse) String ¶

func (o ListErrorLogsNewResponse) String() string

type ListErrorLogsRequest ¶

type ListErrorLogsRequest 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 *ListErrorLogsRequestLevel `json:"level,omitempty"`
}

func (ListErrorLogsRequest) String ¶

func (o ListErrorLogsRequest) String() string

type ListErrorLogsRequestLevel ¶

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

func (ListErrorLogsRequestLevel) MarshalJSON ¶

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

func (*ListErrorLogsRequestLevel) UnmarshalJSON ¶

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

func (ListErrorLogsRequestLevel) Value ¶

type ListErrorLogsResponse ¶

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

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

func (ListErrorLogsResponse) String ¶

func (o ListErrorLogsResponse) String() string

type ListErrorlogForLtsRequest ¶

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

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

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

func (ListErrorlogForLtsRequest) String ¶

func (o ListErrorlogForLtsRequest) String() string

type ListErrorlogForLtsRequestXLanguage ¶

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

func (ListErrorlogForLtsRequestXLanguage) MarshalJSON ¶

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

func (*ListErrorlogForLtsRequestXLanguage) UnmarshalJSON ¶

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

func (ListErrorlogForLtsRequestXLanguage) Value ¶

type ListErrorlogForLtsRequestXLanguageEnum ¶

type ListErrorlogForLtsRequestXLanguageEnum struct {
	ZH_CN ListErrorlogForLtsRequestXLanguage
	EN_US ListErrorlogForLtsRequestXLanguage
}

func GetListErrorlogForLtsRequestXLanguageEnum ¶

func GetListErrorlogForLtsRequestXLanguageEnum() ListErrorlogForLtsRequestXLanguageEnum

type ListErrorlogForLtsResponse ¶

type ListErrorlogForLtsResponse struct {
	ErrorLogList   *[]ErrorLogItem `json:"error_log_list,omitempty"`
	HttpStatusCode int             `json:"-"`
}

func (ListErrorlogForLtsResponse) String ¶

type ListFlavorsRequest ¶

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

	DatabaseName ListFlavorsRequestDatabaseName `json:"database_name"`

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

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

func (ListFlavorsRequest) String ¶

func (o ListFlavorsRequest) String() string

type ListFlavorsRequestDatabaseName ¶

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

func (ListFlavorsRequestDatabaseName) MarshalJSON ¶

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

func (*ListFlavorsRequestDatabaseName) UnmarshalJSON ¶

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

func (ListFlavorsRequestDatabaseName) Value ¶

type ListFlavorsRequestDatabaseNameEnum ¶

type ListFlavorsRequestDatabaseNameEnum struct {
	MY_SQL      ListFlavorsRequestDatabaseName
	POSTGRE_SQL ListFlavorsRequestDatabaseName
	SQL_SERVER  ListFlavorsRequestDatabaseName
}

func GetListFlavorsRequestDatabaseNameEnum ¶

func GetListFlavorsRequestDatabaseNameEnum() ListFlavorsRequestDatabaseNameEnum

type ListFlavorsResponse ¶

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

func (ListFlavorsResponse) String ¶

func (o ListFlavorsResponse) String() string

type ListInstanceParamHistoriesRequest ¶

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

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

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

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

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

	ParamName *string `json:"param_name,omitempty"`
}

func (ListInstanceParamHistoriesRequest) String ¶

type ListInstanceParamHistoriesResponse ¶

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

	Histories      *[]ParamGroupHistoryResult `json:"histories,omitempty"`
	HttpStatusCode int                        `json:"-"`
}

func (ListInstanceParamHistoriesResponse) String ¶

type ListInstancesRequest ¶

type ListInstancesRequest struct {
	ContentType *string `json:"Content-Type,omitempty"`

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

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

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

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

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

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

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

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

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

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

func (ListInstancesRequest) String ¶

func (o ListInstancesRequest) String() string

type ListInstancesRequestDatastoreType ¶

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

func (ListInstancesRequestDatastoreType) MarshalJSON ¶

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

func (*ListInstancesRequestDatastoreType) UnmarshalJSON ¶

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

func (ListInstancesRequestDatastoreType) Value ¶

type ListInstancesRequestDatastoreTypeEnum ¶

type ListInstancesRequestDatastoreTypeEnum struct {
	MY_SQL      ListInstancesRequestDatastoreType
	POSTGRE_SQL ListInstancesRequestDatastoreType
	SQL_SERVER  ListInstancesRequestDatastoreType
}

func GetListInstancesRequestDatastoreTypeEnum ¶

func GetListInstancesRequestDatastoreTypeEnum() ListInstancesRequestDatastoreTypeEnum

type ListInstancesRequestType ¶

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

func (ListInstancesRequestType) MarshalJSON ¶

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

func (*ListInstancesRequestType) UnmarshalJSON ¶

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

func (ListInstancesRequestType) Value ¶

func (c ListInstancesRequestType) Value() string

type ListInstancesRequestTypeEnum ¶

type ListInstancesRequestTypeEnum struct {
	SINGLE  ListInstancesRequestType
	HA      ListInstancesRequestType
	REPLICA ListInstancesRequestType
}

func GetListInstancesRequestTypeEnum ¶

func GetListInstancesRequestTypeEnum() ListInstancesRequestTypeEnum

type ListInstancesRequestXLanguage ¶

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

func (ListInstancesRequestXLanguage) MarshalJSON ¶

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

func (*ListInstancesRequestXLanguage) UnmarshalJSON ¶

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

func (ListInstancesRequestXLanguage) Value ¶

type ListInstancesRequestXLanguageEnum ¶

type ListInstancesRequestXLanguageEnum struct {
	ZH_CN ListInstancesRequestXLanguage
	EN_US ListInstancesRequestXLanguage
}

func GetListInstancesRequestXLanguageEnum ¶

func GetListInstancesRequestXLanguageEnum() ListInstancesRequestXLanguageEnum

type ListInstancesResponse ¶

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

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

func (ListInstancesResponse) String ¶

func (o ListInstancesResponse) String() string

type ListJobInfoDetailRequest ¶

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

	InstanceId string `json:"instance_id"`

	StartTime string `json:"start_time"`

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

func (ListJobInfoDetailRequest) String ¶

func (o ListJobInfoDetailRequest) String() string

type ListJobInfoDetailResponse ¶

type ListJobInfoDetailResponse struct {
	Jobs *GetTaskDetailListRspJobs `json:"jobs,omitempty"`

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

func (ListJobInfoDetailResponse) String ¶

func (o ListJobInfoDetailResponse) String() string

type ListJobInfoRequest ¶

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

	Id string `json:"id"`
}

func (ListJobInfoRequest) String ¶

func (o ListJobInfoRequest) String() string

type ListJobInfoResponse ¶

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

func (ListJobInfoResponse) String ¶

func (o ListJobInfoResponse) String() string

type ListMsdtcHostsRequest ¶

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

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

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

func (ListMsdtcHostsRequest) String ¶

func (o ListMsdtcHostsRequest) String() string

type ListMsdtcHostsResponse ¶

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

	Hosts          *[]DbsInstanceHostInfoResult `json:"hosts,omitempty"`
	HttpStatusCode int                          `json:"-"`
}

func (ListMsdtcHostsResponse) String ¶

func (o ListMsdtcHostsResponse) String() string

type ListOffSiteBackupsRequest ¶

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

	InstanceId string `json:"instance_id"`

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

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

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

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

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

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

func (ListOffSiteBackupsRequest) String ¶

func (o ListOffSiteBackupsRequest) String() string

type ListOffSiteBackupsRequestBackupType ¶

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

func (ListOffSiteBackupsRequestBackupType) MarshalJSON ¶

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

func (*ListOffSiteBackupsRequestBackupType) UnmarshalJSON ¶

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

func (ListOffSiteBackupsRequestBackupType) Value ¶

type ListOffSiteBackupsRequestBackupTypeEnum ¶

type ListOffSiteBackupsRequestBackupTypeEnum struct {
	AUTO        ListOffSiteBackupsRequestBackupType
	INCREMENTAL ListOffSiteBackupsRequestBackupType
}

func GetListOffSiteBackupsRequestBackupTypeEnum ¶

func GetListOffSiteBackupsRequestBackupTypeEnum() ListOffSiteBackupsRequestBackupTypeEnum

type ListOffSiteBackupsResponse ¶

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

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

func (ListOffSiteBackupsResponse) String ¶

type ListOffSiteInstancesRequest ¶

type ListOffSiteInstancesRequest struct {
	ContentType *string `json:"Content-Type,omitempty"`

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

	Offset *interface{} `json:"offset,omitempty"`

	Limit *interface{} `json:"limit,omitempty"`
}

func (ListOffSiteInstancesRequest) String ¶

type ListOffSiteInstancesRequestXLanguage ¶

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

func (ListOffSiteInstancesRequestXLanguage) MarshalJSON ¶

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

func (*ListOffSiteInstancesRequestXLanguage) UnmarshalJSON ¶

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

func (ListOffSiteInstancesRequestXLanguage) Value ¶

type ListOffSiteInstancesRequestXLanguageEnum ¶

type ListOffSiteInstancesRequestXLanguageEnum struct {
	ZH_CN ListOffSiteInstancesRequestXLanguage
	EN_US ListOffSiteInstancesRequestXLanguage
}

func GetListOffSiteInstancesRequestXLanguageEnum ¶

func GetListOffSiteInstancesRequestXLanguageEnum() ListOffSiteInstancesRequestXLanguageEnum

type ListOffSiteInstancesResponse ¶

type ListOffSiteInstancesResponse struct {
	OffsiteBackupInstances *[]OffsiteBackupInstance `json:"offsite_backup_instances,omitempty"`

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

func (ListOffSiteInstancesResponse) String ¶

type ListOffSiteRestoreTimesRequest ¶

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

	InstanceId string `json:"instance_id"`

	Date *string `json:"date,omitempty"`
}

func (ListOffSiteRestoreTimesRequest) String ¶

type ListOffSiteRestoreTimesResponse ¶

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

func (ListOffSiteRestoreTimesResponse) String ¶

type ListPostgresqlDatabaseSchemasRequest ¶

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

	InstanceId string `json:"instance_id"`

	DbName string `json:"db_name"`

	Page int32 `json:"page"`

	Limit int32 `json:"limit"`
}

func (ListPostgresqlDatabaseSchemasRequest) String ¶

type ListPostgresqlDatabaseSchemasResponse ¶

type ListPostgresqlDatabaseSchemasResponse struct {
	DatabaseSchemas *[]PostgresqlDatabaseForListSchema `json:"database_schemas,omitempty"`

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

func (ListPostgresqlDatabaseSchemasResponse) String ¶

type ListPostgresqlDatabasesRequest ¶

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

	InstanceId string `json:"instance_id"`

	Page int32 `json:"page"`

	Limit int32 `json:"limit"`
}

func (ListPostgresqlDatabasesRequest) String ¶

type ListPostgresqlDatabasesResponse ¶

type ListPostgresqlDatabasesResponse struct {
	Databases *[]PostgresqlListDatabase `json:"databases,omitempty"`

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

func (ListPostgresqlDatabasesResponse) String ¶

type ListPostgresqlDbUserPaginatedRequest ¶

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

	InstanceId string `json:"instance_id"`

	Page int32 `json:"page"`

	Limit int32 `json:"limit"`
}

func (ListPostgresqlDbUserPaginatedRequest) String ¶

type ListPostgresqlDbUserPaginatedResponse ¶

type ListPostgresqlDbUserPaginatedResponse struct {
	Users *[]PostgresqlUserForList `json:"users,omitempty"`

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

func (ListPostgresqlDbUserPaginatedResponse) String ¶

type ListPostgresqlExtensionRequest ¶

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

	InstanceId string `json:"instance_id"`

	DatabaseName string `json:"database_name"`

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

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

func (ListPostgresqlExtensionRequest) String ¶

type ListPostgresqlExtensionResponse ¶

type ListPostgresqlExtensionResponse struct {
	Extensions *[]ExtensionsResponse `json:"extensions,omitempty"`

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

func (ListPostgresqlExtensionResponse) String ¶

type ListProjectTagsRequest ¶

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

func (ListProjectTagsRequest) String ¶

func (o ListProjectTagsRequest) String() string

type ListProjectTagsResponse ¶

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

func (ListProjectTagsResponse) String ¶

func (o ListProjectTagsResponse) String() string

type ListRecycleInstancesRequest ¶

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

	Offset int32 `json:"offset"`

	Limit int32 `json:"limit"`
}

func (ListRecycleInstancesRequest) String ¶

type ListRecycleInstancesResponse ¶

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

	Instances      *[]RecycleInstsanceV3 `json:"instances,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

func (ListRecycleInstancesResponse) String ¶

type ListRestoreTimesRequest ¶

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

	InstanceId string `json:"instance_id"`

	Date *string `json:"date,omitempty"`
}

func (ListRestoreTimesRequest) String ¶

func (o ListRestoreTimesRequest) String() string

type ListRestoreTimesResponse ¶

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

func (ListRestoreTimesResponse) String ¶

func (o ListRestoreTimesResponse) String() string

type ListSlowLogFileRequest ¶

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

	InstanceId string `json:"instance_id"`

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

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

func (ListSlowLogFileRequest) String ¶

func (o ListSlowLogFileRequest) String() string

type ListSlowLogFileResponse ¶

type ListSlowLogFileResponse struct {
	List *[]SlowLogFile `json:"list,omitempty"`

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

func (ListSlowLogFileResponse) String ¶

func (o ListSlowLogFileResponse) String() string

type ListSlowLogStatisticsForLtsRequest ¶

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

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

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

func (ListSlowLogStatisticsForLtsRequest) String ¶

type ListSlowLogStatisticsForLtsRequestXLanguage ¶

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

func (ListSlowLogStatisticsForLtsRequestXLanguage) MarshalJSON ¶

func (*ListSlowLogStatisticsForLtsRequestXLanguage) UnmarshalJSON ¶

func (ListSlowLogStatisticsForLtsRequestXLanguage) Value ¶

type ListSlowLogStatisticsForLtsResponse ¶

type ListSlowLogStatisticsForLtsResponse struct {
	SlowLogList *[]MysqlSlowLogStatisticsItem `json:"slow_log_list,omitempty"`

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

func (ListSlowLogStatisticsForLtsResponse) String ¶

type ListSlowLogsNewRequest ¶

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

	InstanceId string `json:"instance_id"`

	StartDate string `json:"start_date"`

	EndDate string `json:"end_date"`

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

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

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

func (ListSlowLogsNewRequest) String ¶

func (o ListSlowLogsNewRequest) String() string

type ListSlowLogsNewRequestType ¶

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

func (ListSlowLogsNewRequestType) MarshalJSON ¶

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

func (*ListSlowLogsNewRequestType) UnmarshalJSON ¶

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

func (ListSlowLogsNewRequestType) Value ¶

type ListSlowLogsNewResponse ¶

type ListSlowLogsNewResponse struct {
	SlowLogList *[]SlowLog `json:"slow_log_list,omitempty"`

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

func (ListSlowLogsNewResponse) String ¶

func (o ListSlowLogsNewResponse) String() string

type ListSlowLogsRequest ¶

type ListSlowLogsRequest 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 *ListSlowLogsRequestType `json:"type,omitempty"`
}

func (ListSlowLogsRequest) String ¶

func (o ListSlowLogsRequest) String() string

type ListSlowLogsRequestType ¶

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

func (ListSlowLogsRequestType) MarshalJSON ¶

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

func (*ListSlowLogsRequestType) UnmarshalJSON ¶

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

func (ListSlowLogsRequestType) Value ¶

func (c ListSlowLogsRequestType) Value() string

type ListSlowLogsRequestTypeEnum ¶

type ListSlowLogsRequestTypeEnum struct {
	INSERT ListSlowLogsRequestType
	UPDATE ListSlowLogsRequestType
	SELECT ListSlowLogsRequestType
	DELETE ListSlowLogsRequestType
	CREATE ListSlowLogsRequestType
}

func GetListSlowLogsRequestTypeEnum ¶

func GetListSlowLogsRequestTypeEnum() ListSlowLogsRequestTypeEnum

type ListSlowLogsResponse ¶

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

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

func (ListSlowLogsResponse) String ¶

func (o ListSlowLogsResponse) String() string

type ListSlowlogForLtsRequest ¶

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

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

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

func (ListSlowlogForLtsRequest) String ¶

func (o ListSlowlogForLtsRequest) String() string

type ListSlowlogForLtsRequestXLanguage ¶

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

func (ListSlowlogForLtsRequestXLanguage) MarshalJSON ¶

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

func (*ListSlowlogForLtsRequestXLanguage) UnmarshalJSON ¶

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

func (ListSlowlogForLtsRequestXLanguage) Value ¶

type ListSlowlogForLtsRequestXLanguageEnum ¶

type ListSlowlogForLtsRequestXLanguageEnum struct {
	ZH_CN ListSlowlogForLtsRequestXLanguage
	EN_US ListSlowlogForLtsRequestXLanguage
}

func GetListSlowlogForLtsRequestXLanguageEnum ¶

func GetListSlowlogForLtsRequestXLanguageEnum() ListSlowlogForLtsRequestXLanguageEnum

type ListSlowlogForLtsResponse ¶

type ListSlowlogForLtsResponse struct {
	SlowLogList *[]MysqlSlowLogDetailsItem `json:"slow_log_list,omitempty"`

	LongQueryTime  *string `json:"long_query_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (ListSlowlogForLtsResponse) String ¶

func (o ListSlowlogForLtsResponse) String() string

type ListSlowlogStatisticsRequest ¶

type ListSlowlogStatisticsRequest struct {
	XLanguage *ListSlowlogStatisticsRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

	CurPage int32 `json:"cur_page"`

	PerPage int32 `json:"per_page"`

	StartDate string `json:"start_date"`

	EndDate string `json:"end_date"`

	Type ListSlowlogStatisticsRequestType `json:"type"`

	Sort *string `json:"sort,omitempty"`
}

func (ListSlowlogStatisticsRequest) String ¶

type ListSlowlogStatisticsRequestType ¶

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

func (ListSlowlogStatisticsRequestType) MarshalJSON ¶

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

func (*ListSlowlogStatisticsRequestType) UnmarshalJSON ¶

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

func (ListSlowlogStatisticsRequestType) Value ¶

type ListSlowlogStatisticsRequestXLanguage ¶

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

func (ListSlowlogStatisticsRequestXLanguage) MarshalJSON ¶

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

func (*ListSlowlogStatisticsRequestXLanguage) UnmarshalJSON ¶

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

func (ListSlowlogStatisticsRequestXLanguage) Value ¶

type ListSlowlogStatisticsRequestXLanguageEnum ¶

type ListSlowlogStatisticsRequestXLanguageEnum struct {
	ZH_CN ListSlowlogStatisticsRequestXLanguage
	EN_US ListSlowlogStatisticsRequestXLanguage
}

func GetListSlowlogStatisticsRequestXLanguageEnum ¶

func GetListSlowlogStatisticsRequestXLanguageEnum() ListSlowlogStatisticsRequestXLanguageEnum

type ListSlowlogStatisticsResponse ¶

type ListSlowlogStatisticsResponse struct {
	PageNumber *int32 `json:"pageNumber,omitempty"`

	PageRecord *int32 `json:"pageRecord,omitempty"`

	SlowLogList *[]SlowLogStatistics `json:"slowLogList,omitempty"`

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

	StartTime *int64 `json:"startTime,omitempty"`

	EndTime        *int64 `json:"endTime,omitempty"`
	HttpStatusCode int    `json:"-"`
}

func (ListSlowlogStatisticsResponse) String ¶

type ListSqlserverDatabasesRequest ¶

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

	InstanceId string `json:"instance_id"`

	Page int32 `json:"page"`

	Limit int32 `json:"limit"`

	DbName *string `json:"db-name,omitempty"`
}

func (ListSqlserverDatabasesRequest) String ¶

type ListSqlserverDatabasesResponse ¶

type ListSqlserverDatabasesResponse struct {
	Databases *[]SqlserverDatabaseForDetail `json:"databases,omitempty"`

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

func (ListSqlserverDatabasesResponse) String ¶

type ListSqlserverDbUsersRequest ¶

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

	InstanceId string `json:"instance_id"`

	Page int32 `json:"page"`

	Limit int32 `json:"limit"`
}

func (ListSqlserverDbUsersRequest) String ¶

type ListSqlserverDbUsersResponse ¶

type ListSqlserverDbUsersResponse struct {
	Users *[]UserForList `json:"users,omitempty"`

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

func (ListSqlserverDbUsersResponse) String ¶

type ListStorageTypesRequest ¶

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

	DatabaseName ListStorageTypesRequestDatabaseName `json:"database_name"`

	VersionName string `json:"version_name"`

	HaMode *ListStorageTypesRequestHaMode `json:"ha_mode,omitempty"`
}

func (ListStorageTypesRequest) String ¶

func (o ListStorageTypesRequest) String() string

type ListStorageTypesRequestDatabaseName ¶

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

func (ListStorageTypesRequestDatabaseName) MarshalJSON ¶

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

func (*ListStorageTypesRequestDatabaseName) UnmarshalJSON ¶

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

func (ListStorageTypesRequestDatabaseName) Value ¶

type ListStorageTypesRequestHaMode ¶

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

func (ListStorageTypesRequestHaMode) MarshalJSON ¶

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

func (*ListStorageTypesRequestHaMode) UnmarshalJSON ¶

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

func (ListStorageTypesRequestHaMode) Value ¶

type ListStorageTypesResponse ¶

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

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

func (ListStorageTypesResponse) String ¶

func (o ListStorageTypesResponse) String() string

type MasterInstance ¶

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

	Region string `json:"region"`

	ProjectId string `json:"project_id"`

	ProjectName string `json:"project_name"`
}

func (MasterInstance) String ¶

func (o MasterInstance) String() string

type MigrateFollowerRequest ¶

type MigrateFollowerRequest struct {
	XLanguage *MigrateFollowerRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (MigrateFollowerRequest) String ¶

func (o MigrateFollowerRequest) String() string

type MigrateFollowerRequestXLanguage ¶

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

func (MigrateFollowerRequestXLanguage) MarshalJSON ¶

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

func (*MigrateFollowerRequestXLanguage) UnmarshalJSON ¶

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

func (MigrateFollowerRequestXLanguage) Value ¶

type MigrateFollowerRequestXLanguageEnum ¶

type MigrateFollowerRequestXLanguageEnum struct {
	ZH_CN MigrateFollowerRequestXLanguage
	EN_US MigrateFollowerRequestXLanguage
}

func GetMigrateFollowerRequestXLanguageEnum ¶

func GetMigrateFollowerRequestXLanguageEnum() MigrateFollowerRequestXLanguageEnum

type MigrateFollowerResponse ¶

type MigrateFollowerResponse struct {
	WorkflowId     *string `json:"workflowId,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (MigrateFollowerResponse) String ¶

func (o MigrateFollowerResponse) String() string

type ModifiyInstanceNameRequest ¶

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

func (ModifiyInstanceNameRequest) String ¶

type ModifyDnsNameRequestBody ¶

type ModifyDnsNameRequestBody struct {
	DnsName string `json:"dns_name"`
}

func (ModifyDnsNameRequestBody) String ¶

func (o ModifyDnsNameRequestBody) String() string

type ModifyParamRequest ¶

type ModifyParamRequest struct {
	Value string `json:"value"`
}

func (ModifyParamRequest) String ¶

func (o ModifyParamRequest) String() string

type ModifyProxyWeightRequest ¶

type ModifyProxyWeightRequest struct {
	MasterWeight string `json:"master_weight"`

	ReadonlyInstances []ProxyReadonlyInstances `json:"readonly_instances"`
}

func (ModifyProxyWeightRequest) String ¶

func (o ModifyProxyWeightRequest) String() string

type MsdtcHostOption ¶

type MsdtcHostOption struct {
	HostName string `json:"host_name"`

	Ip string `json:"ip"`
}

func (MsdtcHostOption) String ¶

func (o MsdtcHostOption) String() string

type MysqlReadOnlySwitch ¶

type MysqlReadOnlySwitch struct {
	Readonly bool `json:"readonly"`
}

func (MysqlReadOnlySwitch) String ¶

func (o MysqlReadOnlySwitch) String() string

type MysqlSlowLogDetailsItem ¶

type MysqlSlowLogDetailsItem struct {
	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"`

	LineNum *string `json:"line_num,omitempty"`
}

func (MysqlSlowLogDetailsItem) String ¶

func (o MysqlSlowLogDetailsItem) String() string

type MysqlSlowLogStatisticsItem ¶

type MysqlSlowLogStatisticsItem struct {
	Count *string `json:"count,omitempty"`

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

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

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

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

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

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

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

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

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

func (MysqlSlowLogStatisticsItem) String ¶

type NodeResponse ¶

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

	Name string `json:"name"`

	Role string `json:"role"`

	Status string `json:"status"`

	AvailabilityZone string `json:"availability_zone"`
}

func (NodeResponse) String ¶

func (o NodeResponse) String() string

type OffSiteBackupForList ¶

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

	InstanceId string `json:"instance_id"`

	Name string `json:"name"`

	Databases *[]BackupDatabase `json:"databases,omitempty"`

	BeginTime string `json:"begin_time"`

	EndTime string `json:"end_time"`

	Status OffSiteBackupForListStatus `json:"status"`

	Type OffSiteBackupForListType `json:"type"`

	Size int64 `json:"size"`

	Datastore *ParaGroupDatastore `json:"datastore"`

	AssociatedWithDdm *bool `json:"associated_with_ddm,omitempty"`
}

func (OffSiteBackupForList) String ¶

func (o OffSiteBackupForList) String() string

type OffSiteBackupForListStatus ¶

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

func (OffSiteBackupForListStatus) MarshalJSON ¶

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

func (*OffSiteBackupForListStatus) UnmarshalJSON ¶

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

func (OffSiteBackupForListStatus) Value ¶

type OffSiteBackupForListStatusEnum ¶

type OffSiteBackupForListStatusEnum struct {
	BUILDING  OffSiteBackupForListStatus
	COMPLETED OffSiteBackupForListStatus
	FAILED    OffSiteBackupForListStatus
	DELETING  OffSiteBackupForListStatus
}

func GetOffSiteBackupForListStatusEnum ¶

func GetOffSiteBackupForListStatusEnum() OffSiteBackupForListStatusEnum

type OffSiteBackupForListType ¶

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

func (OffSiteBackupForListType) MarshalJSON ¶

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

func (*OffSiteBackupForListType) UnmarshalJSON ¶

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

func (OffSiteBackupForListType) Value ¶

func (c OffSiteBackupForListType) Value() string

type OffSiteBackupForListTypeEnum ¶

type OffSiteBackupForListTypeEnum struct {
	AUTO        OffSiteBackupForListType
	INCREMENTAL OffSiteBackupForListType
}

func GetOffSiteBackupForListTypeEnum ¶

func GetOffSiteBackupForListTypeEnum() OffSiteBackupForListTypeEnum

type OffSiteBackupPolicy ¶

type OffSiteBackupPolicy struct {
	BackupType string `json:"backup_type"`

	KeepDays int32 `json:"keep_days"`

	DestinationRegion string `json:"destination_region"`

	DestinationProjectId string `json:"destination_project_id"`
}

func (OffSiteBackupPolicy) String ¶

func (o OffSiteBackupPolicy) String() string

type OffsiteBackupInstance ¶

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

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

	SourceRegion *string `json:"source_region,omitempty"`

	SourceProjectId *string `json:"source_project_id,omitempty"`

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

	DestinationRegion *string `json:"destination_region,omitempty"`

	DestinationProjectId *string `json:"destination_project_id,omitempty"`

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

func (OffsiteBackupInstance) String ¶

func (o OffsiteBackupInstance) String() string

type OpenProxyRequest ¶

type OpenProxyRequest struct {
	FlavorId *string `json:"flavor_id,omitempty"`

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

func (OpenProxyRequest) String ¶

func (o OpenProxyRequest) String() string

type OpsWindowRequest ¶

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

	EndTime string `json:"end_time"`
}

func (OpsWindowRequest) String ¶

func (o OpsWindowRequest) String() string

type ParaGroupDatastore ¶

type ParaGroupDatastore struct {
	Type ParaGroupDatastoreType `json:"type"`

	Version string `json:"version"`
}

func (ParaGroupDatastore) String ¶

func (o ParaGroupDatastore) String() string

type ParaGroupDatastoreType ¶

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

func (ParaGroupDatastoreType) MarshalJSON ¶

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

func (*ParaGroupDatastoreType) UnmarshalJSON ¶

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

func (ParaGroupDatastoreType) Value ¶

func (c ParaGroupDatastoreType) Value() string

type ParaGroupDatastoreTypeEnum ¶

type ParaGroupDatastoreTypeEnum struct {
	MY_SQL      ParaGroupDatastoreType
	POSTGRE_SQL ParaGroupDatastoreType
	SQL_SERVER  ParaGroupDatastoreType
}

func GetParaGroupDatastoreTypeEnum ¶

func GetParaGroupDatastoreTypeEnum() ParaGroupDatastoreTypeEnum

type ParamGroupHistoryResult ¶

type ParamGroupHistoryResult struct {
	ParameterName *string `json:"parameter_name,omitempty"`

	OldValue *string `json:"old_value,omitempty"`

	NewValue *string `json:"new_value,omitempty"`

	UpdateResult *string `json:"update_result,omitempty"`

	Applied *bool `json:"applied,omitempty"`

	UpdateTime *string `json:"update_time,omitempty"`

	ApplyTime *string `json:"apply_time,omitempty"`
}

func (ParamGroupHistoryResult) String ¶

func (o ParamGroupHistoryResult) String() string

type PostgresqlCreateSchemaReq ¶

type PostgresqlCreateSchemaReq struct {
	SchemaName string `json:"schema_name"`

	Owner string `json:"owner"`
}

func (PostgresqlCreateSchemaReq) String ¶

func (o PostgresqlCreateSchemaReq) String() string

type PostgresqlDatabaseForCreation ¶

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

	CharacterSet *string `json:"character_set,omitempty"`

	Owner *string `json:"owner,omitempty"`

	Template *string `json:"template,omitempty"`

	LcCollate *string `json:"lc_collate,omitempty"`

	LcCtype *string `json:"lc_ctype,omitempty"`

	IsRevokePublicPrivilege *bool `json:"is_revoke_public_privilege,omitempty"`
}

func (PostgresqlDatabaseForCreation) String ¶

type PostgresqlDatabaseForListSchema ¶

type PostgresqlDatabaseForListSchema struct {
	SchemaName string `json:"schema_name"`

	Owner string `json:"owner"`
}

func (PostgresqlDatabaseForListSchema) String ¶

type PostgresqlDatabaseSchemaReq ¶

type PostgresqlDatabaseSchemaReq struct {
	DbName string `json:"db_name"`

	Schemas []PostgresqlCreateSchemaReq `json:"schemas"`
}

func (PostgresqlDatabaseSchemaReq) String ¶

type PostgresqlGrantRequest ¶

type PostgresqlGrantRequest struct {
	DbName string `json:"db_name"`

	Users []PostgresqlUserWithPrivilege `json:"users"`
}

func (PostgresqlGrantRequest) String ¶

func (o PostgresqlGrantRequest) String() string

type PostgresqlListDatabase ¶

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

	Owner *string `json:"owner,omitempty"`

	CharacterSet *string `json:"character_set,omitempty"`

	CollateSet *string `json:"collate_set,omitempty"`

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

func (PostgresqlListDatabase) String ¶

func (o PostgresqlListDatabase) String() string

type PostgresqlUserForCreation ¶

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

	Password string `json:"password"`
}

func (PostgresqlUserForCreation) String ¶

func (o PostgresqlUserForCreation) String() string

type PostgresqlUserForList ¶

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

	Attributes *interface{} `json:"attributes,omitempty"`

	Memberof *[]string `json:"memberof,omitempty"`
}

func (PostgresqlUserForList) String ¶

func (o PostgresqlUserForList) String() string

type PostgresqlUserWithPrivilege ¶

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

	Readonly bool `json:"readonly"`

	SchemaName string `json:"schema_name"`
}

func (PostgresqlUserWithPrivilege) String ¶

type ProjectTagInfoResponse ¶

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

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

func (ProjectTagInfoResponse) String ¶

func (o ProjectTagInfoResponse) String() string

type Proxy ¶

type Proxy struct {
	PoolId string `json:"pool_id"`

	Status string `json:"status"`

	Address string `json:"address"`

	ElbVip string `json:"elb_vip"`

	Eip string `json:"eip"`

	Port int32 `json:"port"`

	PoolStatus string `json:"pool_status"`

	DelayThresholdInKilobytes int32 `json:"delay_threshold_in_kilobytes"`

	Cpu string `json:"cpu"`

	Mem string `json:"mem"`

	NodeNum int32 `json:"node_num"`

	Nodes []ProxyNode `json:"nodes"`

	Mode string `json:"mode"`
}

func (Proxy) String ¶

func (o Proxy) String() string

type ProxyNode ¶

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

	Name string `json:"name"`

	Role string `json:"role"`

	AzCode string `json:"az_code"`

	Status string `json:"status"`

	FrozenFlag int32 `json:"frozen_flag"`
}

func (ProxyNode) String ¶

func (o ProxyNode) String() string

type ProxyReadonlyInstances ¶

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

	Weight int32 `json:"weight"`
}

func (ProxyReadonlyInstances) String ¶

func (o ProxyReadonlyInstances) String() string

type PwdResetRequest ¶

type PwdResetRequest struct {
	DbUserPwd string `json:"db_user_pwd"`
}

func (PwdResetRequest) String ¶

func (o PwdResetRequest) String() string

type Quotas ¶

type Quotas struct {
	Resources *[]Resources `json:"resources,omitempty"`
}

func (Quotas) String ¶

func (o Quotas) String() string

type ReadonlyInstances ¶

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

	Status string `json:"status"`

	Name string `json:"name"`

	Weight int32 `json:"weight"`

	AvailableZones []AvailableZone `json:"available_zones"`

	CpuNum int32 `json:"cpu_num"`
}

func (ReadonlyInstances) String ¶

func (o ReadonlyInstances) String() string

type RecycleInstsanceV3 ¶

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

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

	HaMode *string `json:"ha_mode,omitempty"`

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

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

	PayModel *string `json:"pay_model,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	DeletedAt *string `json:"deleted_at,omitempty"`

	VolumeType *string `json:"volume_type,omitempty"`

	VolumeSize *int32 `json:"volume_size,omitempty"`

	DataVip *string `json:"data_vip,omitempty"`

	DataVipV6 *string `json:"data_vip_v6,omitempty"`

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

	RetainedUntil *string `json:"retained_until,omitempty"`

	RecycleBackupId *string `json:"recycle_backup_id,omitempty"`

	RecycleStatus *string `json:"recycle_status,omitempty"`
}

func (RecycleInstsanceV3) String ¶

func (o RecycleInstsanceV3) String() string

type RecyclePolicy ¶

type RecyclePolicy struct {
	RetentionPeriodInDays *string `json:"retention_period_in_days,omitempty"`
}

func (RecyclePolicy) String ¶

func (o RecyclePolicy) String() string

type RecyclePolicyRequestBody ¶

type RecyclePolicyRequestBody struct {
	RecyclePolicy *RecyclePolicy `json:"recycle_policy"`
}

func (RecyclePolicyRequestBody) String ¶

func (o RecyclePolicyRequestBody) String() string

type RelatedInstance ¶

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

	Type string `json:"type"`
}

func (RelatedInstance) String ¶

func (o RelatedInstance) String() string

type ResetPwdRequest ¶

type ResetPwdRequest struct {
	XLanguage *ResetPwdRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (ResetPwdRequest) String ¶

func (o ResetPwdRequest) String() string

type ResetPwdRequestXLanguage ¶

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

func (ResetPwdRequestXLanguage) MarshalJSON ¶

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

func (*ResetPwdRequestXLanguage) UnmarshalJSON ¶

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

func (ResetPwdRequestXLanguage) Value ¶

func (c ResetPwdRequestXLanguage) Value() string

type ResetPwdRequestXLanguageEnum ¶

type ResetPwdRequestXLanguageEnum struct {
	ZH_CN ResetPwdRequestXLanguage
	EN_US ResetPwdRequestXLanguage
}

func GetResetPwdRequestXLanguageEnum ¶

func GetResetPwdRequestXLanguageEnum() ResetPwdRequestXLanguageEnum

type ResetPwdResponse ¶

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

func (ResetPwdResponse) String ¶

func (o ResetPwdResponse) String() string

type ResizeFlavorObject ¶

type ResizeFlavorObject struct {
	SpecCode string `json:"spec_code"`

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

func (ResizeFlavorObject) String ¶

func (o ResizeFlavorObject) String() string

type ResizeFlavorRequest ¶

type ResizeFlavorRequest struct {
	ResizeFlavor *ResizeFlavorObject `json:"resize_flavor"`
}

func (ResizeFlavorRequest) String ¶

func (o ResizeFlavorRequest) String() string

type Resources ¶

type Resources struct {
	Quota *int32 `json:"quota,omitempty"`

	Used *int32 `json:"used,omitempty"`

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

func (Resources) String ¶

func (o Resources) String() string

type RestoreDatabasesInfo ¶

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

	Tables []RestoreTableInfo `json:"tables"`
}

func (RestoreDatabasesInfo) String ¶

func (o RestoreDatabasesInfo) String() string

type RestoreExistInstanceRequest ¶

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

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

func (RestoreExistInstanceRequest) String ¶

type RestoreExistInstanceResponse ¶

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

func (RestoreExistInstanceResponse) String ¶

type RestoreExistingInstanceRequestBody ¶

type RestoreExistingInstanceRequestBody struct {
	Source *RestoreExistingInstanceRequestBodySource `json:"source"`

	Target *TargetInstanceRequest `json:"target"`
}

func (RestoreExistingInstanceRequestBody) String ¶

type RestoreExistingInstanceRequestBodySource ¶

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

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

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

	RestoreTime *int32 `json:"restore_time,omitempty"`

	DatabaseName map[string]string `json:"database_name,omitempty"`

	RestoreAllDatabase *bool `json:"restore_all_database,omitempty"`
}

func (RestoreExistingInstanceRequestBodySource) String ¶

type RestoreExistingInstanceRequestBodySourceType ¶

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

func (RestoreExistingInstanceRequestBodySourceType) MarshalJSON ¶

func (*RestoreExistingInstanceRequestBodySourceType) UnmarshalJSON ¶

func (RestoreExistingInstanceRequestBodySourceType) Value ¶

type RestorePoint ¶

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

	Type string `json:"type"`

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

	RestoreTime *int32 `json:"restore_time,omitempty"`

	DatabaseName map[string]string `json:"database_name,omitempty"`
}

func (RestorePoint) String ¶

func (o RestorePoint) String() string

type RestoreTableInfo ¶

type RestoreTableInfo struct {
	OldName string `json:"oldName"`

	NewName string `json:"newName"`
}

func (RestoreTableInfo) String ¶

func (o RestoreTableInfo) String() string

type RestoreTablesRequest ¶

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

	InstanceId string `json:"instance_id"`

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

func (RestoreTablesRequest) String ¶

func (o RestoreTablesRequest) String() string

type RestoreTablesRequestBody ¶

type RestoreTablesRequestBody struct {
	RestoreTime int64 `json:"restoreTime"`

	RestoreTables []RestoreDatabasesInfo `json:"restoreTables"`
}

func (RestoreTablesRequestBody) String ¶

func (o RestoreTablesRequestBody) String() string

type RestoreTablesResponse ¶

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

func (RestoreTablesResponse) String ¶

func (o RestoreTablesResponse) String() string

type RestoreToExistingInstanceRequest ¶

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

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

func (RestoreToExistingInstanceRequest) String ¶

type RestoreToExistingInstanceRequestBody ¶

type RestoreToExistingInstanceRequestBody struct {
	Source *RestoreToExistingInstanceRequestBodySource `json:"source"`

	Target *RestoreToExistingInstanceRequestBodyTarget `json:"target"`
}

func (RestoreToExistingInstanceRequestBody) String ¶

type RestoreToExistingInstanceRequestBodySource ¶

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

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

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

	RestoreTime *int32 `json:"restore_time,omitempty"`

	DatabaseName map[string]string `json:"database_name,omitempty"`
}

func (RestoreToExistingInstanceRequestBodySource) String ¶

type RestoreToExistingInstanceRequestBodySourceType ¶

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

func (RestoreToExistingInstanceRequestBodySourceType) MarshalJSON ¶

func (*RestoreToExistingInstanceRequestBodySourceType) UnmarshalJSON ¶

func (RestoreToExistingInstanceRequestBodySourceType) Value ¶

type RestoreToExistingInstanceRequestBodyTarget ¶

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

func (RestoreToExistingInstanceRequestBodyTarget) String ¶

type RestoreToExistingInstanceResponse ¶

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

func (RestoreToExistingInstanceResponse) String ¶

type RevokeRequest ¶

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

	InstanceId string `json:"instance_id"`

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

func (RevokeRequest) String ¶

func (o RevokeRequest) String() string

type RevokeRequestBody ¶

type RevokeRequestBody struct {
	DbName string `json:"db_name"`

	Users []RevokeRequestBodyUsers `json:"users"`
}

func (RevokeRequestBody) String ¶

func (o RevokeRequestBody) String() string

type RevokeRequestBodyUsers ¶

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

func (RevokeRequestBodyUsers) String ¶

func (o RevokeRequestBodyUsers) String() string

type RevokeResponse ¶

type RevokeResponse struct {
	Resp           *string `json:"resp,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (RevokeResponse) String ¶

func (o RevokeResponse) String() string

type RevokeSqlserverDbUserPrivilegeRequest ¶

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

	InstanceId string `json:"instance_id"`

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

func (RevokeSqlserverDbUserPrivilegeRequest) String ¶

type RevokeSqlserverDbUserPrivilegeResponse ¶

type RevokeSqlserverDbUserPrivilegeResponse struct {
	Resp           *string `json:"resp,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (RevokeSqlserverDbUserPrivilegeResponse) String ¶

type ScaleFlavors ¶

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

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

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

func (ScaleFlavors) String ¶

func (o ScaleFlavors) String() string

type ScaleProxyRequestBody ¶

type ScaleProxyRequestBody struct {
	FlavorRef string `json:"flavor_ref"`

	Delay bool `json:"delay"`
}

func (ScaleProxyRequestBody) String ¶

func (o ScaleProxyRequestBody) String() string

type SearchQueryScaleComputeFlavorsRequest ¶

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

	InstanceId string `json:"instance_id"`

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

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

func (SearchQueryScaleComputeFlavorsRequest) String ¶

type SearchQueryScaleComputeFlavorsResponse ¶

type SearchQueryScaleComputeFlavorsResponse struct {
	ComputeFlavorGroups *[]Computes `json:"compute_flavor_groups,omitempty"`
	HttpStatusCode      int         `json:"-"`
}

func (SearchQueryScaleComputeFlavorsResponse) String ¶

type SearchQueryScaleFlavorsRequest ¶

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

	InstanceId string `json:"instance_id"`
}

func (SearchQueryScaleFlavorsRequest) String ¶

type SearchQueryScaleFlavorsResponse ¶

type SearchQueryScaleFlavorsResponse struct {
	ComputeFlavorGroups *[]Computes `json:"compute_flavor_groups,omitempty"`
	HttpStatusCode      int         `json:"-"`
}

func (SearchQueryScaleFlavorsResponse) String ¶

type SecondMonitor ¶

type SecondMonitor struct {
	SwitchOption bool `json:"switch_option"`

	Interval *SecondMonitorInterval `json:"interval,omitempty"`
}

func (SecondMonitor) String ¶

func (o SecondMonitor) String() string

type SecondMonitorInterval ¶

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

func (SecondMonitorInterval) MarshalJSON ¶

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

func (*SecondMonitorInterval) UnmarshalJSON ¶

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

func (SecondMonitorInterval) Value ¶

func (c SecondMonitorInterval) Value() int32

type SecondMonitorIntervalEnum ¶

type SecondMonitorIntervalEnum struct {
	E_1 SecondMonitorInterval
	E_5 SecondMonitorInterval
}

func GetSecondMonitorIntervalEnum ¶

func GetSecondMonitorIntervalEnum() SecondMonitorIntervalEnum

type SecurityGroupRequest ¶

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

func (SecurityGroupRequest) String ¶

func (o SecurityGroupRequest) String() string

type SetAuditlogPolicyRequest ¶

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

	InstanceId string `json:"instance_id"`

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

func (SetAuditlogPolicyRequest) String ¶

func (o SetAuditlogPolicyRequest) String() string

type SetAuditlogPolicyRequestBody ¶

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

	ReserveAuditlogs *bool `json:"reserve_auditlogs,omitempty"`
}

func (SetAuditlogPolicyRequestBody) String ¶

type SetAuditlogPolicyResponse ¶

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

func (SetAuditlogPolicyResponse) String ¶

func (o SetAuditlogPolicyResponse) String() string

type SetAutoEnlargePolicyRequest ¶

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

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

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

func (SetAutoEnlargePolicyRequest) String ¶

type SetAutoEnlargePolicyResponse ¶

type SetAutoEnlargePolicyResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (SetAutoEnlargePolicyResponse) String ¶

type SetBackupPolicyRequest ¶

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

	InstanceId string `json:"instance_id"`

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

func (SetBackupPolicyRequest) String ¶

func (o SetBackupPolicyRequest) String() string

type SetBackupPolicyRequestBody ¶

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

	ReserveBackups *bool `json:"reserve_backups,omitempty"`
}

func (SetBackupPolicyRequestBody) String ¶

type SetBackupPolicyResponse ¶

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

func (SetBackupPolicyResponse) String ¶

func (o SetBackupPolicyResponse) String() string

type SetBinlogClearPolicyRequest ¶

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

	InstanceId string `json:"instance_id"`

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

func (SetBinlogClearPolicyRequest) String ¶

type SetBinlogClearPolicyResponse ¶

type SetBinlogClearPolicyResponse struct {
	Resp           *string `json:"resp,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (SetBinlogClearPolicyResponse) String ¶

type SetDatabaseUserPrivilegeReqV3 ¶

type SetDatabaseUserPrivilegeReqV3 struct {
	AllUsers bool `json:"all_users"`

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

	Readonly bool `json:"readonly"`
}

func (SetDatabaseUserPrivilegeReqV3) String ¶

type SetDatabaseUserPrivilegeRequest ¶

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

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

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

func (SetDatabaseUserPrivilegeRequest) String ¶

type SetDatabaseUserPrivilegeResponse ¶

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

func (SetDatabaseUserPrivilegeResponse) String ¶

type SetDbUserPwdRequest ¶

type SetDbUserPwdRequest struct {
	XLanguage *SetDbUserPwdRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (SetDbUserPwdRequest) String ¶

func (o SetDbUserPwdRequest) String() string

type SetDbUserPwdRequestXLanguage ¶

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

func (SetDbUserPwdRequestXLanguage) MarshalJSON ¶

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

func (*SetDbUserPwdRequestXLanguage) UnmarshalJSON ¶

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

func (SetDbUserPwdRequestXLanguage) Value ¶

type SetDbUserPwdRequestXLanguageEnum ¶

type SetDbUserPwdRequestXLanguageEnum struct {
	ZH_CN SetDbUserPwdRequestXLanguage
	EN_US SetDbUserPwdRequestXLanguage
}

func GetSetDbUserPwdRequestXLanguageEnum ¶

func GetSetDbUserPwdRequestXLanguageEnum() SetDbUserPwdRequestXLanguageEnum

type SetDbUserPwdResponse ¶

type SetDbUserPwdResponse struct {
	Resp           *string `json:"resp,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (SetDbUserPwdResponse) String ¶

func (o SetDbUserPwdResponse) String() string

type SetOffSiteBackupPolicyRequest ¶

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

	InstanceId string `json:"instance_id"`

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

func (SetOffSiteBackupPolicyRequest) String ¶

type SetOffSiteBackupPolicyRequestBody ¶

type SetOffSiteBackupPolicyRequestBody struct {
	PolicyPara []OffSiteBackupPolicy `json:"policy_para"`
}

func (SetOffSiteBackupPolicyRequestBody) String ¶

type SetOffSiteBackupPolicyResponse ¶

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

func (SetOffSiteBackupPolicyResponse) String ¶

type SetPostgresqlDbUserPwdRequest ¶

type SetPostgresqlDbUserPwdRequest struct {
	XLanguage *SetPostgresqlDbUserPwdRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (SetPostgresqlDbUserPwdRequest) String ¶

type SetPostgresqlDbUserPwdRequestXLanguage ¶

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

func (SetPostgresqlDbUserPwdRequestXLanguage) MarshalJSON ¶

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

func (*SetPostgresqlDbUserPwdRequestXLanguage) UnmarshalJSON ¶

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

func (SetPostgresqlDbUserPwdRequestXLanguage) Value ¶

type SetPostgresqlDbUserPwdRequestXLanguageEnum ¶

type SetPostgresqlDbUserPwdRequestXLanguageEnum struct {
	ZH_CN SetPostgresqlDbUserPwdRequestXLanguage
	EN_US SetPostgresqlDbUserPwdRequestXLanguage
}

func GetSetPostgresqlDbUserPwdRequestXLanguageEnum ¶

func GetSetPostgresqlDbUserPwdRequestXLanguageEnum() SetPostgresqlDbUserPwdRequestXLanguageEnum

type SetPostgresqlDbUserPwdResponse ¶

type SetPostgresqlDbUserPwdResponse struct {
	Resp           *string `json:"resp,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (SetPostgresqlDbUserPwdResponse) String ¶

type SetReadOnlySwitchRequest ¶

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

	InstanceId string `json:"instance_id"`

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

func (SetReadOnlySwitchRequest) String ¶

func (o SetReadOnlySwitchRequest) String() string

type SetReadOnlySwitchResponse ¶

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

func (SetReadOnlySwitchResponse) String ¶

func (o SetReadOnlySwitchResponse) String() string

type SetSecondLevelMonitorRequest ¶

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

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

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

func (SetSecondLevelMonitorRequest) String ¶

type SetSecondLevelMonitorResponse ¶

type SetSecondLevelMonitorResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (SetSecondLevelMonitorResponse) String ¶

type SetSecurityGroupRequest ¶

type SetSecurityGroupRequest struct {
	XLanguage *SetSecurityGroupRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (SetSecurityGroupRequest) String ¶

func (o SetSecurityGroupRequest) String() string

type SetSecurityGroupRequestXLanguage ¶

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

func (SetSecurityGroupRequestXLanguage) MarshalJSON ¶

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

func (*SetSecurityGroupRequestXLanguage) UnmarshalJSON ¶

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

func (SetSecurityGroupRequestXLanguage) Value ¶

type SetSecurityGroupRequestXLanguageEnum ¶

type SetSecurityGroupRequestXLanguageEnum struct {
	ZH_CN SetSecurityGroupRequestXLanguage
	EN_US SetSecurityGroupRequestXLanguage
}

func GetSetSecurityGroupRequestXLanguageEnum ¶

func GetSetSecurityGroupRequestXLanguageEnum() SetSecurityGroupRequestXLanguageEnum

type SetSecurityGroupResponse ¶

type SetSecurityGroupResponse struct {
	WorkflowId     *string `json:"workflowId,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (SetSecurityGroupResponse) String ¶

func (o SetSecurityGroupResponse) String() string

type SetSensitiveSlowLogRequest ¶

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

	InstanceId string `json:"instance_id"`

	Status string `json:"status"`
}

func (SetSensitiveSlowLogRequest) String ¶

type SetSensitiveSlowLogResponse ¶

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

func (SetSensitiveSlowLogResponse) String ¶

type ShowApiVersionRequest ¶

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

func (ShowApiVersionRequest) String ¶

func (o ShowApiVersionRequest) String() string

type ShowApiVersionResponse ¶

type ShowApiVersionResponse struct {
	Versions *ApiVersion `json:"versions,omitempty"`

	Version        *ApiVersion `json:"version,omitempty"`
	HttpStatusCode int         `json:"-"`
}

func (ShowApiVersionResponse) String ¶

func (o ShowApiVersionResponse) String() string

type ShowAuditlogDownloadLinkRequest ¶

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

	InstanceId string `json:"instance_id"`

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

func (ShowAuditlogDownloadLinkRequest) String ¶

type ShowAuditlogDownloadLinkResponse ¶

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

func (ShowAuditlogDownloadLinkResponse) String ¶

type ShowAuditlogPolicyRequest ¶

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

	InstanceId string `json:"instance_id"`
}

func (ShowAuditlogPolicyRequest) String ¶

func (o ShowAuditlogPolicyRequest) String() string

type ShowAuditlogPolicyResponse ¶

type ShowAuditlogPolicyResponse struct {
	KeepDays       *int32 `json:"keep_days,omitempty"`
	HttpStatusCode int    `json:"-"`
}

func (ShowAuditlogPolicyResponse) String ¶

type ShowAutoEnlargePolicyRequest ¶

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

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

func (ShowAutoEnlargePolicyRequest) String ¶

type ShowAutoEnlargePolicyResponse ¶

type ShowAutoEnlargePolicyResponse struct {
	SwitchOption *bool `json:"switch_option,omitempty"`

	LimitSize *int32 `json:"limit_size,omitempty"`

	TriggerThreshold *int32 `json:"trigger_threshold,omitempty"`
	HttpStatusCode   int    `json:"-"`
}

func (ShowAutoEnlargePolicyResponse) String ¶

type ShowBackupDownloadLinkRequest ¶

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

	BackupId string `json:"backup_id"`
}

func (ShowBackupDownloadLinkRequest) String ¶

type ShowBackupDownloadLinkResponse ¶

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

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

func (ShowBackupDownloadLinkResponse) String ¶

type ShowBackupPolicyRequest ¶

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

	InstanceId string `json:"instance_id"`
}

func (ShowBackupPolicyRequest) String ¶

func (o ShowBackupPolicyRequest) String() string

type ShowBackupPolicyResponse ¶

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

func (ShowBackupPolicyResponse) String ¶

func (o ShowBackupPolicyResponse) String() string

type ShowBinlogClearPolicyRequest ¶

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

	InstanceId string `json:"instance_id"`
}

func (ShowBinlogClearPolicyRequest) String ¶

type ShowBinlogClearPolicyResponse ¶

type ShowBinlogClearPolicyResponse struct {
	BinlogRetentionHours *int32 `json:"binlog_retention_hours,omitempty"`
	HttpStatusCode       int    `json:"-"`
}

func (ShowBinlogClearPolicyResponse) String ¶

type ShowConfigurationRequest ¶

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

	ConfigId string `json:"config_id"`
}

func (ShowConfigurationRequest) String ¶

func (o ShowConfigurationRequest) String() string

type ShowConfigurationResponse ¶

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

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

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

	DatastoreVersionName *string `json:"datastore_version_name,omitempty"`

	DatastoreName *ShowConfigurationResponseDatastoreName `json:"datastore_name,omitempty"`

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

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

	ConfigurationParameters *[]ConfigurationParameter `json:"configuration_parameters,omitempty"`
	HttpStatusCode          int                       `json:"-"`
}

func (ShowConfigurationResponse) String ¶

func (o ShowConfigurationResponse) String() string

type ShowConfigurationResponseDatastoreName ¶

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

func (ShowConfigurationResponseDatastoreName) MarshalJSON ¶

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

func (*ShowConfigurationResponseDatastoreName) UnmarshalJSON ¶

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

func (ShowConfigurationResponseDatastoreName) Value ¶

type ShowDnsNameRequest ¶

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

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

	DnsType string `json:"dns_type"`
}

func (ShowDnsNameRequest) String ¶

func (o ShowDnsNameRequest) String() string

type ShowDnsNameResponse ¶

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

	DnsName *string `json:"dns_name,omitempty"`

	DnsType *string `json:"dns_type,omitempty"`

	Ipv6Address *string `json:"ipv6_address,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (ShowDnsNameResponse) String ¶

func (o ShowDnsNameResponse) String() string

type ShowDomainNameRequest ¶

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

	DnsType string `json:"dns_type"`

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

func (ShowDomainNameRequest) String ¶

func (o ShowDomainNameRequest) String() string

type ShowDomainNameResponse ¶

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

	DnsName *string `json:"dns_name,omitempty"`

	DnsType *string `json:"dns_type,omitempty"`

	Ipv4Address *string `json:"ipv4_address,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (ShowDomainNameResponse) String ¶

func (o ShowDomainNameResponse) String() string

type ShowDrReplicaStatusRequest ¶

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

	InstanceId string `json:"instance_id"`
}

func (ShowDrReplicaStatusRequest) String ¶

type ShowDrReplicaStatusResponse ¶

type ShowDrReplicaStatusResponse struct {
	ReplicaState *string `json:"replica_state,omitempty"`

	WalWriteReceiveDelayInMb *string `json:"wal_write_receive_delay_in_mb,omitempty"`

	WalWriteReplayDelayInMb *string `json:"wal_write_replay_delay_in_mb,omitempty"`

	WalReceiveReplayDelayInMs *string `json:"wal_receive_replay_delay_in_ms,omitempty"`
	HttpStatusCode            int     `json:"-"`
}

func (ShowDrReplicaStatusResponse) String ¶

type ShowInformationAboutDatabaseProxyRequest ¶

type ShowInformationAboutDatabaseProxyRequest struct {
	XLanguage *ShowInformationAboutDatabaseProxyRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`
}

func (ShowInformationAboutDatabaseProxyRequest) String ¶

type ShowInformationAboutDatabaseProxyRequestXLanguage ¶

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

func (ShowInformationAboutDatabaseProxyRequestXLanguage) MarshalJSON ¶

func (*ShowInformationAboutDatabaseProxyRequestXLanguage) UnmarshalJSON ¶

func (ShowInformationAboutDatabaseProxyRequestXLanguage) Value ¶

type ShowInformationAboutDatabaseProxyResponse ¶

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

	MasterInstance *MasterInstance `json:"master_instance,omitempty"`

	ReadonlyInstances *[]ReadonlyInstances `json:"readonly_instances,omitempty"`
	HttpStatusCode    int                  `json:"-"`
}

func (ShowInformationAboutDatabaseProxyResponse) String ¶

type ShowInstanceConfigurationRequest ¶

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

	InstanceId string `json:"instance_id"`
}

func (ShowInstanceConfigurationRequest) String ¶

type ShowInstanceConfigurationResponse ¶

type ShowInstanceConfigurationResponse struct {
	DatastoreVersionName *string `json:"datastore_version_name,omitempty"`

	DatastoreName *ShowInstanceConfigurationResponseDatastoreName `json:"datastore_name,omitempty"`

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

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

	ConfigurationParameters *[]ConfigurationParameter `json:"configuration_parameters,omitempty"`
	HttpStatusCode          int                       `json:"-"`
}

func (ShowInstanceConfigurationResponse) String ¶

type ShowInstanceConfigurationResponseDatastoreName ¶

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

func (ShowInstanceConfigurationResponseDatastoreName) MarshalJSON ¶

func (*ShowInstanceConfigurationResponseDatastoreName) UnmarshalJSON ¶

func (ShowInstanceConfigurationResponseDatastoreName) Value ¶

type ShowOffSiteBackupPolicyRequest ¶

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

	InstanceId string `json:"instance_id"`
}

func (ShowOffSiteBackupPolicyRequest) String ¶

type ShowOffSiteBackupPolicyResponse ¶

type ShowOffSiteBackupPolicyResponse struct {
	PolicyPara     *[]GetOffSiteBackupPolicy `json:"policy_para,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

func (ShowOffSiteBackupPolicyResponse) String ¶

type ShowPostgresqlParamValueRequest ¶

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

	InstanceId string `json:"instance_id"`

	Name string `json:"name"`
}

func (ShowPostgresqlParamValueRequest) String ¶

type ShowPostgresqlParamValueResponse ¶

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

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

	RestartRequired *bool `json:"restart_required,omitempty"`

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

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

	Description    *string `json:"description,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (ShowPostgresqlParamValueResponse) String ¶

type ShowQuotasRequest ¶

type ShowQuotasRequest struct {
	XLanguage *ShowQuotasRequestXLanguage `json:"X-Language,omitempty"`
}

func (ShowQuotasRequest) String ¶

func (o ShowQuotasRequest) String() string

type ShowQuotasRequestXLanguage ¶

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

func (ShowQuotasRequestXLanguage) MarshalJSON ¶

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

func (*ShowQuotasRequestXLanguage) UnmarshalJSON ¶

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

func (ShowQuotasRequestXLanguage) Value ¶

type ShowQuotasRequestXLanguageEnum ¶

type ShowQuotasRequestXLanguageEnum struct {
	ZH_CN ShowQuotasRequestXLanguage
	EN_US ShowQuotasRequestXLanguage
}

func GetShowQuotasRequestXLanguageEnum ¶

func GetShowQuotasRequestXLanguageEnum() ShowQuotasRequestXLanguageEnum

type ShowQuotasResponse ¶

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

func (ShowQuotasResponse) String ¶

func (o ShowQuotasResponse) String() string

type ShowRecyclePolicyRequest ¶

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

func (ShowRecyclePolicyRequest) String ¶

func (o ShowRecyclePolicyRequest) String() string

type ShowRecyclePolicyResponse ¶

type ShowRecyclePolicyResponse struct {
	RetentionPeriodInDays *int32 `json:"retention_period_in_days,omitempty"`
	HttpStatusCode        int    `json:"-"`
}

func (ShowRecyclePolicyResponse) String ¶

func (o ShowRecyclePolicyResponse) String() string

type ShowReplicationStatusRequest ¶

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

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

func (ShowReplicationStatusRequest) String ¶

type ShowReplicationStatusResponse ¶

type ShowReplicationStatusResponse struct {
	ReplicationStatus *string `json:"replication_status,omitempty"`

	AbnormalReason *string `json:"abnormal_reason,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (ShowReplicationStatusResponse) String ¶

type ShowSecondLevelMonitoringRequest ¶

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

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

func (ShowSecondLevelMonitoringRequest) String ¶

type ShowSecondLevelMonitoringResponse ¶

type ShowSecondLevelMonitoringResponse struct {
	SwitchOption *bool `json:"switch_option,omitempty"`

	Interval       *ShowSecondLevelMonitoringResponseInterval `json:"interval,omitempty"`
	HttpStatusCode int                                        `json:"-"`
}

func (ShowSecondLevelMonitoringResponse) String ¶

type ShowSecondLevelMonitoringResponseInterval ¶

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

func (ShowSecondLevelMonitoringResponseInterval) MarshalJSON ¶

func (*ShowSecondLevelMonitoringResponseInterval) UnmarshalJSON ¶

func (ShowSecondLevelMonitoringResponseInterval) Value ¶

type Single2Ha ¶

type Single2Ha struct {
	SingleToHa *Single2HaObject `json:"single_to_ha"`
}

func (Single2Ha) String ¶

func (o Single2Ha) String() string

type Single2HaObject ¶

type Single2HaObject struct {
	AzCodeNewNode string `json:"az_code_new_node"`

	DsspoolId *string `json:"dsspool_id,omitempty"`

	IsAutoPay *bool `json:"is_auto_pay,omitempty"`

	AdDomainInfo *AdDomainInfo `json:"ad_domain_info,omitempty"`
}

func (Single2HaObject) String ¶

func (o Single2HaObject) String() string

type SlaveInstance ¶

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

	Region string `json:"region"`

	ProjectId string `json:"project_id"`

	ProjectName string `json:"project_name"`
}

func (SlaveInstance) String ¶

func (o SlaveInstance) String() string

type SlowLog ¶

type SlowLog struct {
	Count string `json:"count"`

	Time string `json:"time"`

	LockTime string `json:"lock_time"`

	RowsSent string `json:"rows_sent"`

	RowsExamined string `json:"rows_examined"`

	Database string `json:"database"`

	Users string `json:"users"`

	QuerySample string `json:"query_sample"`

	Type string `json:"type"`

	StartTime string `json:"start_time"`

	ClientIp string `json:"client_ip"`
}

func (SlowLog) String ¶

func (o SlowLog) String() string

type SlowLogFile ¶

type SlowLogFile struct {
	FileName string `json:"file_name"`

	FileSize string `json:"file_size"`
}

func (SlowLogFile) String ¶

func (o SlowLogFile) String() string

type SlowLogStatistics ¶

type SlowLogStatistics struct {
	Count string `json:"count"`

	Time string `json:"time"`

	LockTime string `json:"lockTime"`

	RowsSent int64 `json:"rowsSent"`

	RowsExamined int64 `json:"rowsExamined"`

	Database string `json:"database"`

	Users string `json:"users"`

	QuerySample string `json:"querySample"`

	Type string `json:"type"`

	ClientIP string `json:"clientIP"`
}

func (SlowLogStatistics) String ¶

func (o SlowLogStatistics) String() string

type SlowLogStatisticsForLtsRequest ¶

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

	EndTime string `json:"end_time"`

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

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

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

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

	Sort *string `json:"sort,omitempty"`

	Order *SlowLogStatisticsForLtsRequestOrder `json:"order,omitempty"`
}

func (SlowLogStatisticsForLtsRequest) String ¶

type SlowLogStatisticsForLtsRequestOrder ¶

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

func (SlowLogStatisticsForLtsRequestOrder) MarshalJSON ¶

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

func (*SlowLogStatisticsForLtsRequestOrder) UnmarshalJSON ¶

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

func (SlowLogStatisticsForLtsRequestOrder) Value ¶

type SlowLogStatisticsForLtsRequestOrderEnum ¶

type SlowLogStatisticsForLtsRequestOrderEnum struct {
	DESC SlowLogStatisticsForLtsRequestOrder
	ASC  SlowLogStatisticsForLtsRequestOrder
}

func GetSlowLogStatisticsForLtsRequestOrderEnum ¶

func GetSlowLogStatisticsForLtsRequestOrderEnum() SlowLogStatisticsForLtsRequestOrderEnum

type SlowLogStatisticsForLtsRequestType ¶

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

func (SlowLogStatisticsForLtsRequestType) MarshalJSON ¶

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

func (*SlowLogStatisticsForLtsRequestType) UnmarshalJSON ¶

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

func (SlowLogStatisticsForLtsRequestType) Value ¶

type SlowlogDownloadInfo ¶

type SlowlogDownloadInfo struct {
	WorkflowId string `json:"workflow_id"`

	FileName string `json:"file_name"`

	Status string `json:"status"`

	FileSize string `json:"file_size"`

	FileLink string `json:"file_link"`

	CreateAt int64 `json:"create_at"`

	UpdateAt int64 `json:"update_at"`
}

func (SlowlogDownloadInfo) String ¶

func (o SlowlogDownloadInfo) String() string

type SlowlogDownloadRequest ¶

type SlowlogDownloadRequest struct {
	FileName *string `json:"file_name,omitempty"`
}

func (SlowlogDownloadRequest) String ¶

func (o SlowlogDownloadRequest) String() string

type SlowlogForLtsRequest ¶

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

	EndTime string `json:"end_time"`

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

	LineNum *string `json:"line_num,omitempty"`

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

	SearchType *SlowlogForLtsRequestSearchType `json:"search_type,omitempty"`

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

func (SlowlogForLtsRequest) String ¶

func (o SlowlogForLtsRequest) String() string

type SlowlogForLtsRequestSearchType ¶

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

func (SlowlogForLtsRequestSearchType) MarshalJSON ¶

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

func (*SlowlogForLtsRequestSearchType) UnmarshalJSON ¶

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

func (SlowlogForLtsRequestSearchType) Value ¶

type SlowlogForLtsRequestSearchTypeEnum ¶

type SlowlogForLtsRequestSearchTypeEnum struct {
	FORWARDS  SlowlogForLtsRequestSearchType
	BACKWARDS SlowlogForLtsRequestSearchType
}

func GetSlowlogForLtsRequestSearchTypeEnum ¶

func GetSlowlogForLtsRequestSearchTypeEnum() SlowlogForLtsRequestSearchTypeEnum

type SlowlogForLtsRequestType ¶

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

func (SlowlogForLtsRequestType) MarshalJSON ¶

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

func (*SlowlogForLtsRequestType) UnmarshalJSON ¶

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

func (SlowlogForLtsRequestType) Value ¶

func (c SlowlogForLtsRequestType) Value() string

type SqlserverDatabaseForCreation ¶

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

func (SqlserverDatabaseForCreation) String ¶

type SqlserverDatabaseForDetail ¶

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

	CharacterSet string `json:"character_set"`

	State string `json:"state"`
}

func (SqlserverDatabaseForDetail) String ¶

type SqlserverGrantRequest ¶

type SqlserverGrantRequest struct {
	DbName string `json:"db_name"`

	Users []SqlserverUserWithPrivilege `json:"users"`
}

func (SqlserverGrantRequest) String ¶

func (o SqlserverGrantRequest) String() string

type SqlserverRevokeRequest ¶

type SqlserverRevokeRequest struct {
	DbName string `json:"db_name"`

	Users []SqlserverUserWithPrivilege `json:"users"`
}

func (SqlserverRevokeRequest) String ¶

func (o SqlserverRevokeRequest) String() string

type SqlserverUserForCreation ¶

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

	Password string `json:"password"`
}

func (SqlserverUserForCreation) String ¶

func (o SqlserverUserForCreation) String() string

type SqlserverUserWithPrivilege ¶

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

	Readonly *bool `json:"readonly,omitempty"`
}

func (SqlserverUserWithPrivilege) String ¶

type SslOptionRequest ¶

type SslOptionRequest struct {
	SslOption bool `json:"ssl_option"`
}

func (SslOptionRequest) String ¶

func (o SslOptionRequest) String() string

type StartDatabaseProxyRequest ¶

type StartDatabaseProxyRequest struct {
	XLanguage *StartDatabaseProxyRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (StartDatabaseProxyRequest) String ¶

func (o StartDatabaseProxyRequest) String() string

type StartDatabaseProxyRequestXLanguage ¶

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

func (StartDatabaseProxyRequestXLanguage) MarshalJSON ¶

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

func (*StartDatabaseProxyRequestXLanguage) UnmarshalJSON ¶

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

func (StartDatabaseProxyRequestXLanguage) Value ¶

type StartDatabaseProxyRequestXLanguageEnum ¶

type StartDatabaseProxyRequestXLanguageEnum struct {
	ZH_CN StartDatabaseProxyRequestXLanguage
	EN_US StartDatabaseProxyRequestXLanguage
}

func GetStartDatabaseProxyRequestXLanguageEnum ¶

func GetStartDatabaseProxyRequestXLanguageEnum() StartDatabaseProxyRequestXLanguageEnum

type StartDatabaseProxyResponse ¶

type StartDatabaseProxyResponse struct {
	WorkflowId     *string `json:"workflow_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (StartDatabaseProxyResponse) String ¶

type StartFailoverRequest ¶

type StartFailoverRequest struct {
	XLanguage *StartFailoverRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (StartFailoverRequest) String ¶

func (o StartFailoverRequest) String() string

type StartFailoverRequestXLanguage ¶

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

func (StartFailoverRequestXLanguage) MarshalJSON ¶

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

func (*StartFailoverRequestXLanguage) UnmarshalJSON ¶

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

func (StartFailoverRequestXLanguage) Value ¶

type StartFailoverRequestXLanguageEnum ¶

type StartFailoverRequestXLanguageEnum struct {
	ZH_CN StartFailoverRequestXLanguage
	EN_US StartFailoverRequestXLanguage
}

func GetStartFailoverRequestXLanguageEnum ¶

func GetStartFailoverRequestXLanguageEnum() StartFailoverRequestXLanguageEnum

type StartFailoverResponse ¶

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

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

	WorkflowId     *string `json:"workflowId,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (StartFailoverResponse) String ¶

func (o StartFailoverResponse) String() string

type StartInstanceEnlargeVolumeActionRequest ¶

type StartInstanceEnlargeVolumeActionRequest struct {
	XLanguage *StartInstanceEnlargeVolumeActionRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (StartInstanceEnlargeVolumeActionRequest) String ¶

type StartInstanceEnlargeVolumeActionRequestXLanguage ¶

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

func (StartInstanceEnlargeVolumeActionRequestXLanguage) MarshalJSON ¶

func (*StartInstanceEnlargeVolumeActionRequestXLanguage) UnmarshalJSON ¶

func (StartInstanceEnlargeVolumeActionRequestXLanguage) Value ¶

type StartInstanceEnlargeVolumeActionResponse ¶

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

func (StartInstanceEnlargeVolumeActionResponse) String ¶

type StartInstanceRestartActionRequest ¶

type StartInstanceRestartActionRequest struct {
	XLanguage *StartInstanceRestartActionRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (StartInstanceRestartActionRequest) String ¶

type StartInstanceRestartActionRequestXLanguage ¶

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

func (StartInstanceRestartActionRequestXLanguage) MarshalJSON ¶

func (*StartInstanceRestartActionRequestXLanguage) UnmarshalJSON ¶

func (StartInstanceRestartActionRequestXLanguage) Value ¶

type StartInstanceRestartActionResponse ¶

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

func (StartInstanceRestartActionResponse) String ¶

type StartInstanceSingleToHaActionRequest ¶

type StartInstanceSingleToHaActionRequest struct {
	XLanguage *StartInstanceSingleToHaActionRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (StartInstanceSingleToHaActionRequest) String ¶

type StartInstanceSingleToHaActionRequestXLanguage ¶

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

func (StartInstanceSingleToHaActionRequestXLanguage) MarshalJSON ¶

func (*StartInstanceSingleToHaActionRequestXLanguage) UnmarshalJSON ¶

func (StartInstanceSingleToHaActionRequestXLanguage) Value ¶

type StartInstanceSingleToHaActionResponse ¶

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

func (StartInstanceSingleToHaActionResponse) String ¶

type StartRecyclePolicyRequest ¶

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

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

func (StartRecyclePolicyRequest) String ¶

func (o StartRecyclePolicyRequest) String() string

type StartRecyclePolicyResponse ¶

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

func (StartRecyclePolicyResponse) String ¶

type StartResizeFlavorActionRequest ¶

type StartResizeFlavorActionRequest struct {
	XLanguage *StartResizeFlavorActionRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (StartResizeFlavorActionRequest) String ¶

type StartResizeFlavorActionRequestXLanguage ¶

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

func (StartResizeFlavorActionRequestXLanguage) MarshalJSON ¶

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

func (*StartResizeFlavorActionRequestXLanguage) UnmarshalJSON ¶

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

func (StartResizeFlavorActionRequestXLanguage) Value ¶

type StartResizeFlavorActionResponse ¶

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

func (StartResizeFlavorActionResponse) String ¶

type StartupInstanceRequest ¶

type StartupInstanceRequest struct {
	XLanguage *StartupInstanceRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`
}

func (StartupInstanceRequest) String ¶

func (o StartupInstanceRequest) String() string

type StartupInstanceRequestXLanguage ¶

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

func (StartupInstanceRequestXLanguage) MarshalJSON ¶

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

func (*StartupInstanceRequestXLanguage) UnmarshalJSON ¶

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

func (StartupInstanceRequestXLanguage) Value ¶

type StartupInstanceRequestXLanguageEnum ¶

type StartupInstanceRequestXLanguageEnum struct {
	ZH_CN StartupInstanceRequestXLanguage
	EN_US StartupInstanceRequestXLanguage
}

func GetStartupInstanceRequestXLanguageEnum ¶

func GetStartupInstanceRequestXLanguageEnum() StartupInstanceRequestXLanguageEnum

type StartupInstanceResponse ¶

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

func (StartupInstanceResponse) String ¶

func (o StartupInstanceResponse) String() string

type StopDatabaseProxyRequest ¶

type StopDatabaseProxyRequest struct {
	XLanguage *StopDatabaseProxyRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`
}

func (StopDatabaseProxyRequest) String ¶

func (o StopDatabaseProxyRequest) String() string

type StopDatabaseProxyRequestXLanguage ¶

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

func (StopDatabaseProxyRequestXLanguage) MarshalJSON ¶

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

func (*StopDatabaseProxyRequestXLanguage) UnmarshalJSON ¶

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

func (StopDatabaseProxyRequestXLanguage) Value ¶

type StopDatabaseProxyRequestXLanguageEnum ¶

type StopDatabaseProxyRequestXLanguageEnum struct {
	ZH_CN StopDatabaseProxyRequestXLanguage
	EN_US StopDatabaseProxyRequestXLanguage
}

func GetStopDatabaseProxyRequestXLanguageEnum ¶

func GetStopDatabaseProxyRequestXLanguageEnum() StopDatabaseProxyRequestXLanguageEnum

type StopDatabaseProxyResponse ¶

type StopDatabaseProxyResponse struct {
	WorkflowId     *string `json:"workflow_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (StopDatabaseProxyResponse) String ¶

func (o StopDatabaseProxyResponse) String() string

type StopInstanceRequest ¶

type StopInstanceRequest struct {
	XLanguage *StopInstanceRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`
}

func (StopInstanceRequest) String ¶

func (o StopInstanceRequest) String() string

type StopInstanceRequestXLanguage ¶

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

func (StopInstanceRequestXLanguage) MarshalJSON ¶

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

func (*StopInstanceRequestXLanguage) UnmarshalJSON ¶

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

func (StopInstanceRequestXLanguage) Value ¶

type StopInstanceRequestXLanguageEnum ¶

type StopInstanceRequestXLanguageEnum struct {
	ZH_CN StopInstanceRequestXLanguage
	EN_US StopInstanceRequestXLanguage
}

func GetStopInstanceRequestXLanguageEnum ¶

func GetStopInstanceRequestXLanguageEnum() StopInstanceRequestXLanguageEnum

type StopInstanceResponse ¶

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

func (StopInstanceResponse) String ¶

func (o StopInstanceResponse) String() string

type Storage ¶

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

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

	SupportComputeGroupType *[]string `json:"support_compute_group_type,omitempty"`
}

func (Storage) String ¶

func (o Storage) String() string

type SwitchSslRequest ¶

type SwitchSslRequest struct {
	XLanguage *SwitchSslRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (SwitchSslRequest) String ¶

func (o SwitchSslRequest) String() string

type SwitchSslRequestXLanguage ¶

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

func (SwitchSslRequestXLanguage) MarshalJSON ¶

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

func (*SwitchSslRequestXLanguage) UnmarshalJSON ¶

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

func (SwitchSslRequestXLanguage) Value ¶

type SwitchSslRequestXLanguageEnum ¶

type SwitchSslRequestXLanguageEnum struct {
	ZH_CN SwitchSslRequestXLanguage
	EN_US SwitchSslRequestXLanguage
}

func GetSwitchSslRequestXLanguageEnum ¶

func GetSwitchSslRequestXLanguageEnum() SwitchSslRequestXLanguageEnum

type SwitchSslResponse ¶

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

func (SwitchSslResponse) String ¶

func (o SwitchSslResponse) String() string

type TagDelWithKeyValue ¶

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

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

func (TagDelWithKeyValue) String ¶

func (o TagDelWithKeyValue) String() string

type TagResponse ¶

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

	Value string `json:"value"`
}

func (TagResponse) String ¶

func (o TagResponse) String() string

type TagWithKeyValue ¶

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

	Value string `json:"value"`
}

func (TagWithKeyValue) String ¶

func (o TagWithKeyValue) String() string

type TargetInstanceRequest ¶

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

func (TargetInstanceRequest) String ¶

func (o TargetInstanceRequest) String() string

type UnchangeableParam ¶

type UnchangeableParam struct {
	LowerCaseTableNames *string `json:"lower_case_table_names,omitempty"`
}

func (UnchangeableParam) String ¶

func (o UnchangeableParam) String() string

type UpdateConfigurationRequest ¶

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

	ConfigId string `json:"config_id"`

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

func (UpdateConfigurationRequest) String ¶

type UpdateConfigurationResponse ¶

type UpdateConfigurationResponse struct {
	Configuration  *UpdateConfigurationRspConfiguration `json:"configuration,omitempty"`
	HttpStatusCode int                                  `json:"-"`
}

func (UpdateConfigurationResponse) String ¶

type UpdateConfigurationRspConfiguration ¶

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

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

	IgnoredParams *[]string `json:"ignored_params,omitempty"`
}

func (UpdateConfigurationRspConfiguration) String ¶

type UpdateDataIpRequest ¶

type UpdateDataIpRequest struct {
	XLanguage *UpdateDataIpRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (UpdateDataIpRequest) String ¶

func (o UpdateDataIpRequest) String() string

type UpdateDataIpRequestXLanguage ¶

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

func (UpdateDataIpRequestXLanguage) MarshalJSON ¶

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

func (*UpdateDataIpRequestXLanguage) UnmarshalJSON ¶

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

func (UpdateDataIpRequestXLanguage) Value ¶

type UpdateDataIpRequestXLanguageEnum ¶

type UpdateDataIpRequestXLanguageEnum struct {
	ZH_CN UpdateDataIpRequestXLanguage
	EN_US UpdateDataIpRequestXLanguage
}

func GetUpdateDataIpRequestXLanguageEnum ¶

func GetUpdateDataIpRequestXLanguageEnum() UpdateDataIpRequestXLanguageEnum

type UpdateDataIpResponse ¶

type UpdateDataIpResponse struct {
	WorkflowId     *string `json:"workflowId,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (UpdateDataIpResponse) String ¶

func (o UpdateDataIpResponse) String() string

type UpdateDatabaseReq ¶

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

	Comment *string `json:"comment,omitempty"`
}

func (UpdateDatabaseReq) String ¶

func (o UpdateDatabaseReq) String() string

type UpdateDatabaseRequest ¶

type UpdateDatabaseRequest struct {
	XLanguage *UpdateDatabaseRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (UpdateDatabaseRequest) String ¶

func (o UpdateDatabaseRequest) String() string

type UpdateDatabaseRequestXLanguage ¶

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

func (UpdateDatabaseRequestXLanguage) MarshalJSON ¶

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

func (*UpdateDatabaseRequestXLanguage) UnmarshalJSON ¶

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

func (UpdateDatabaseRequestXLanguage) Value ¶

type UpdateDatabaseRequestXLanguageEnum ¶

type UpdateDatabaseRequestXLanguageEnum struct {
	ZH_CN UpdateDatabaseRequestXLanguage
	EN_US UpdateDatabaseRequestXLanguage
}

func GetUpdateDatabaseRequestXLanguageEnum ¶

func GetUpdateDatabaseRequestXLanguageEnum() UpdateDatabaseRequestXLanguageEnum

type UpdateDatabaseResponse ¶

type UpdateDatabaseResponse struct {
	Resp           *string `json:"resp,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (UpdateDatabaseResponse) String ¶

func (o UpdateDatabaseResponse) String() string

type UpdateDbPortRequest ¶

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

func (UpdateDbPortRequest) String ¶

func (o UpdateDbPortRequest) String() string

type UpdateDbUserCommentRequest ¶

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

	UserName string `json:"user_name"`

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

func (UpdateDbUserCommentRequest) String ¶

type UpdateDbUserCommentResponse ¶

type UpdateDbUserCommentResponse struct {
	Resp           *string `json:"resp,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (UpdateDbUserCommentResponse) String ¶

type UpdateDbUserPrivilegeRequest ¶

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

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

func (UpdateDbUserPrivilegeRequest) String ¶

type UpdateDbUserPrivilegeResponse ¶

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

func (UpdateDbUserPrivilegeResponse) String ¶

type UpdateDbUserReq ¶

type UpdateDbUserReq struct {
	Comment *string `json:"comment,omitempty"`
}

func (UpdateDbUserReq) String ¶

func (o UpdateDbUserReq) String() string

type UpdateDnsNameRequest ¶

type UpdateDnsNameRequest struct {
	XLanguage *UpdateDnsNameRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (UpdateDnsNameRequest) String ¶

func (o UpdateDnsNameRequest) String() string

type UpdateDnsNameRequestXLanguage ¶

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

func (UpdateDnsNameRequestXLanguage) MarshalJSON ¶

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

func (*UpdateDnsNameRequestXLanguage) UnmarshalJSON ¶

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

func (UpdateDnsNameRequestXLanguage) Value ¶

type UpdateDnsNameRequestXLanguageEnum ¶

type UpdateDnsNameRequestXLanguageEnum struct {
	ZH_CN UpdateDnsNameRequestXLanguage
	EN_US UpdateDnsNameRequestXLanguage
}

func GetUpdateDnsNameRequestXLanguageEnum ¶

func GetUpdateDnsNameRequestXLanguageEnum() UpdateDnsNameRequestXLanguageEnum

type UpdateDnsNameResponse ¶

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

func (UpdateDnsNameResponse) String ¶

func (o UpdateDnsNameResponse) String() string

type UpdateInstanceConfigurationAsyncRequest ¶

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

	InstanceId string `json:"instance_id"`

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

func (UpdateInstanceConfigurationAsyncRequest) String ¶

type UpdateInstanceConfigurationAsyncResponse ¶

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

	RestartRequired *bool `json:"restart_required,omitempty"`
	HttpStatusCode  int   `json:"-"`
}

func (UpdateInstanceConfigurationAsyncResponse) String ¶

type UpdateInstanceConfigurationRequest ¶

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

	InstanceId string `json:"instance_id"`

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

func (UpdateInstanceConfigurationRequest) String ¶

type UpdateInstanceConfigurationRequestBody ¶

type UpdateInstanceConfigurationRequestBody struct {
	Values map[string]string `json:"values"`
}

func (UpdateInstanceConfigurationRequestBody) String ¶

type UpdateInstanceConfigurationResponse ¶

type UpdateInstanceConfigurationResponse struct {
	RestartRequired *bool `json:"restart_required,omitempty"`
	HttpStatusCode  int   `json:"-"`
}

func (UpdateInstanceConfigurationResponse) String ¶

type UpdateInstanceNameRequest ¶

type UpdateInstanceNameRequest struct {
	XLanguage *UpdateInstanceNameRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (UpdateInstanceNameRequest) String ¶

func (o UpdateInstanceNameRequest) String() string

type UpdateInstanceNameRequestXLanguage ¶

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

func (UpdateInstanceNameRequestXLanguage) MarshalJSON ¶

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

func (*UpdateInstanceNameRequestXLanguage) UnmarshalJSON ¶

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

func (UpdateInstanceNameRequestXLanguage) Value ¶

type UpdateInstanceNameRequestXLanguageEnum ¶

type UpdateInstanceNameRequestXLanguageEnum struct {
	ZH_CN UpdateInstanceNameRequestXLanguage
	EN_US UpdateInstanceNameRequestXLanguage
}

func GetUpdateInstanceNameRequestXLanguageEnum ¶

func GetUpdateInstanceNameRequestXLanguageEnum() UpdateInstanceNameRequestXLanguageEnum

type UpdateInstanceNameResponse ¶

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

func (UpdateInstanceNameResponse) String ¶

type UpdatePortRequest ¶

type UpdatePortRequest struct {
	XLanguage *UpdatePortRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (UpdatePortRequest) String ¶

func (o UpdatePortRequest) String() string

type UpdatePortRequestXLanguage ¶

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

func (UpdatePortRequestXLanguage) MarshalJSON ¶

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

func (*UpdatePortRequestXLanguage) UnmarshalJSON ¶

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

func (UpdatePortRequestXLanguage) Value ¶

type UpdatePortRequestXLanguageEnum ¶

type UpdatePortRequestXLanguageEnum struct {
	ZH_CN UpdatePortRequestXLanguage
	EN_US UpdatePortRequestXLanguage
}

func GetUpdatePortRequestXLanguageEnum ¶

func GetUpdatePortRequestXLanguageEnum() UpdatePortRequestXLanguageEnum

type UpdatePortResponse ¶

type UpdatePortResponse struct {
	WorkflowId     *string `json:"workflowId,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (UpdatePortResponse) String ¶

func (o UpdatePortResponse) String() string

type UpdatePostgresqlInstanceAliasRequest ¶

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

	InstanceId string `json:"instance_id"`

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

func (UpdatePostgresqlInstanceAliasRequest) String ¶

type UpdatePostgresqlInstanceAliasResponse ¶

type UpdatePostgresqlInstanceAliasResponse struct {
	Resp           *string `json:"resp,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (UpdatePostgresqlInstanceAliasResponse) String ¶

type UpdatePostgresqlParameterValueRequest ¶

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

	InstanceId string `json:"instance_id"`

	Name string `json:"name"`

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

func (UpdatePostgresqlParameterValueRequest) String ¶

type UpdatePostgresqlParameterValueResponse ¶

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

	RestartRequired *bool `json:"restart_required,omitempty"`
	HttpStatusCode  int   `json:"-"`
}

func (UpdatePostgresqlParameterValueResponse) String ¶

type UpdateRdsInstanceAliasRequest ¶

type UpdateRdsInstanceAliasRequest struct {
	Alias *string `json:"alias,omitempty"`
}

func (UpdateRdsInstanceAliasRequest) String ¶

type UpdateReadWeightRequest ¶

type UpdateReadWeightRequest struct {
	XLanguage *UpdateReadWeightRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (UpdateReadWeightRequest) String ¶

func (o UpdateReadWeightRequest) String() string

type UpdateReadWeightRequestXLanguage ¶

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

func (UpdateReadWeightRequestXLanguage) MarshalJSON ¶

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

func (*UpdateReadWeightRequestXLanguage) UnmarshalJSON ¶

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

func (UpdateReadWeightRequestXLanguage) Value ¶

type UpdateReadWeightRequestXLanguageEnum ¶

type UpdateReadWeightRequestXLanguageEnum struct {
	ZH_CN UpdateReadWeightRequestXLanguage
	EN_US UpdateReadWeightRequestXLanguage
}

func GetUpdateReadWeightRequestXLanguageEnum ¶

func GetUpdateReadWeightRequestXLanguageEnum() UpdateReadWeightRequestXLanguageEnum

type UpdateReadWeightResponse ¶

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

func (UpdateReadWeightResponse) String ¶

func (o UpdateReadWeightResponse) String() string

type UpgradeDbVersionRequest ¶

type UpgradeDbVersionRequest struct {
	XLanguage *UpgradeDbVersionRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

func (UpgradeDbVersionRequest) String ¶

func (o UpgradeDbVersionRequest) String() string

type UpgradeDbVersionRequestXLanguage ¶

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

func (UpgradeDbVersionRequestXLanguage) MarshalJSON ¶

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

func (*UpgradeDbVersionRequestXLanguage) UnmarshalJSON ¶

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

func (UpgradeDbVersionRequestXLanguage) Value ¶

type UpgradeDbVersionRequestXLanguageEnum ¶

type UpgradeDbVersionRequestXLanguageEnum struct {
	ZH_CN UpgradeDbVersionRequestXLanguage
	EN_US UpgradeDbVersionRequestXLanguage
}

func GetUpgradeDbVersionRequestXLanguageEnum ¶

func GetUpgradeDbVersionRequestXLanguageEnum() UpgradeDbVersionRequestXLanguageEnum

type UpgradeDbVersionResponse ¶

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

func (UpgradeDbVersionResponse) String ¶

func (o UpgradeDbVersionResponse) String() string

type UserForCreation ¶

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

	Password string `json:"password"`

	Comment *string `json:"comment,omitempty"`

	Hosts *[]string `json:"hosts,omitempty"`

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

func (UserForCreation) String ¶

func (o UserForCreation) String() string

type UserForList ¶

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

func (UserForList) String ¶

func (o UserForList) String() string

type UserWithPrivilege ¶

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

	Readonly bool `json:"readonly"`
}

func (UserWithPrivilege) String ¶

func (o UserWithPrivilege) String() string

type Volume ¶

type Volume struct {
	Type VolumeType `json:"type"`

	Size int32 `json:"size"`
}

func (Volume) String ¶

func (o Volume) String() string

type VolumeType ¶

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

func (VolumeType) MarshalJSON ¶

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

func (*VolumeType) UnmarshalJSON ¶

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

func (VolumeType) Value ¶

func (c VolumeType) Value() string

type VolumeTypeEnum ¶

type VolumeTypeEnum struct {
	ULTRAHIGH    VolumeType
	HIGH         VolumeType
	COMMON       VolumeType
	NVMESSD      VolumeType
	ULTRAHIGHPRO VolumeType
	CLOUDSSD     VolumeType
	LOCALSSD     VolumeType
	ESSD         VolumeType
}

func GetVolumeTypeEnum ¶

func GetVolumeTypeEnum() VolumeTypeEnum

Source Files ¶

Jump to

Keyboard shortcuts

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