model

package
v0.0.62 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllowDbPrivilegeRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (AllowDbPrivilegeRequest) String

func (o AllowDbPrivilegeRequest) String() string

type AllowDbPrivilegeResponse

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

Response Object

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

Request Object

func (AllowDbUserPrivilegeRequest) String

type AllowDbUserPrivilegeResponse

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

Response Object

func (AllowDbUserPrivilegeResponse) String

type AllowSqlserverDbUserPrivilegeRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (AllowSqlserverDbUserPrivilegeRequest) String

type AllowSqlserverDbUserPrivilegeResponse

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

Response Object

func (AllowSqlserverDbUserPrivilegeResponse) 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"`
}

Request Object

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

type AttachEipRequestXLanguageEnum

type AttachEipRequestXLanguageEnum struct {
	ZH_CN AttachEipRequestXLanguage
	EN_US AttachEipRequestXLanguage
}

func GetAttachEipRequestXLanguageEnum

func GetAttachEipRequestXLanguageEnum() AttachEipRequestXLanguageEnum

type AttachEipResponse

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

Response Object

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 BackupDatabase

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

func (BackupDatabase) String

func (o BackupDatabase) String() string

type BackupDatastore added in v0.0.47

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

	Version string `json:"version"`
}

func (BackupDatastore) String added in v0.0.47

func (o BackupDatastore) String() string

type BackupDatastoreType added in v0.0.47

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

func (BackupDatastoreType) MarshalJSON added in v0.0.47

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

func (*BackupDatastoreType) UnmarshalJSON added in v0.0.47

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

type BackupDatastoreTypeEnum added in v0.0.47

type BackupDatastoreTypeEnum struct {
	MY_SQL      BackupDatastoreType
	POSTGRE_SQL BackupDatastoreType
	SQL_SERVER  BackupDatastoreType
}

func GetBackupDatastoreTypeEnum added in v0.0.47

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

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

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

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

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

Request Object

func (BatchTagAddActionRequest) String

func (o BatchTagAddActionRequest) String() string

type BatchTagAddActionResponse

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

Response Object

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

Request Object

func (BatchTagDelActionRequest) String

func (o BatchTagDelActionRequest) String() string

type BatchTagDelActionResponse

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

Response Object

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

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

func (BinlogClearPolicyRequestBody) String added in v0.0.47

type ChangeFailoverModeRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

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

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

Response Object

func (ChangeFailoverModeResponse) String

type ChangeFailoverStrategyRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

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

type ChangeFailoverStrategyRequestXLanguageEnum

type ChangeFailoverStrategyRequestXLanguageEnum struct {
	ZH_CN ChangeFailoverStrategyRequestXLanguage
	EN_US ChangeFailoverStrategyRequestXLanguage
}

func GetChangeFailoverStrategyRequestXLanguageEnum

func GetChangeFailoverStrategyRequestXLanguageEnum() ChangeFailoverStrategyRequestXLanguageEnum

type ChangeFailoverStrategyResponse

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

Response Object

func (ChangeFailoverStrategyResponse) String

type ChangeOpsWindowRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

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

type ChangeOpsWindowRequestXLanguageEnum

type ChangeOpsWindowRequestXLanguageEnum struct {
	ZH_CN ChangeOpsWindowRequestXLanguage
	EN_US ChangeOpsWindowRequestXLanguage
}

func GetChangeOpsWindowRequestXLanguageEnum

func GetChangeOpsWindowRequestXLanguageEnum() ChangeOpsWindowRequestXLanguageEnum

type ChangeOpsWindowResponse

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

Response Object

func (ChangeOpsWindowResponse) String

func (o ChangeOpsWindowResponse) String() 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

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

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

type ChargeInfoResponseChargeModeEnum

type ChargeInfoResponseChargeModeEnum struct {
	PRE_PAID  ChargeInfoResponseChargeMode
	POST_PAID ChargeInfoResponseChargeMode
}

func GetChargeInfoResponseChargeModeEnum

func GetChargeInfoResponseChargeModeEnum() ChargeInfoResponseChargeModeEnum

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

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

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

type CreateConfigurationRequest

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

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

Request Object

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

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

Response Object

func (CreateConfigurationResponse) String

type CreateDatabaseRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (CreateDatabaseRequest) String

func (o CreateDatabaseRequest) String() string

type CreateDatabaseResponse

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

Response Object

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

Request Object

func (CreateDbUserRequest) String

func (o CreateDbUserRequest) String() string

type CreateDbUserResponse

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

Response Object

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

Request Object

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

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

Response Object

func (CreateDnsNameResponse) String

func (o CreateDnsNameResponse) String() string

type CreateInstanceRequest

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

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

Request Object

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

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

Response Object

func (CreateInstanceResponse) String

func (o CreateInstanceResponse) String() string

type CreateManualBackupRequest

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

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

Request Object

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

Response Object

func (CreateManualBackupResponse) String

type CreatePostgresqlDatabaseRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (CreatePostgresqlDatabaseRequest) String

type CreatePostgresqlDatabaseResponse

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

Response Object

func (CreatePostgresqlDatabaseResponse) String

type CreatePostgresqlDatabaseSchemaRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (CreatePostgresqlDatabaseSchemaRequest) String

type CreatePostgresqlDatabaseSchemaResponse

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

Response Object

func (CreatePostgresqlDatabaseSchemaResponse) String

type CreatePostgresqlDbUserRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (CreatePostgresqlDbUserRequest) String

type CreatePostgresqlDbUserResponse

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

Response Object

func (CreatePostgresqlDbUserResponse) String

type CreateRestoreInstanceRequest

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

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

Request Object

func (CreateRestoreInstanceRequest) 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

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

Response Object

func (CreateRestoreInstanceResponse) String

type CreateSqlserverDatabaseRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (CreateSqlserverDatabaseRequest) String

type CreateSqlserverDatabaseResponse

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

Response Object

func (CreateSqlserverDatabaseResponse) String

type CreateSqlserverDbUserRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (CreateSqlserverDbUserRequest) String

type CreateSqlserverDbUserResponse

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

Response Object

func (CreateSqlserverDbUserResponse) 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 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

type DatastoreTypeEnum

type DatastoreTypeEnum struct {
	MY_SQL      DatastoreType
	POSTGRE_SQL DatastoreType
	SQL_SERVER  DatastoreType
}

func GetDatastoreTypeEnum

func GetDatastoreTypeEnum() DatastoreTypeEnum

type DbUserPwdRequest

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

	Password string `json:"password"`
}

func (DbUserPwdRequest) String

func (o DbUserPwdRequest) String() string

type DeleteConfigurationRequest

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

	ConfigId string `json:"config_id"`
}

Request Object

func (DeleteConfigurationRequest) String

type DeleteConfigurationResponse

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

Response Object

func (DeleteConfigurationResponse) String

type DeleteDatabaseRequest

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

	InstanceId string `json:"instance_id"`

	DbName string `json:"db_name"`
}

Request Object

func (DeleteDatabaseRequest) String

func (o DeleteDatabaseRequest) String() string

type DeleteDatabaseResponse

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

Response Object

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

Request Object

func (DeleteDbUserRequest) String

func (o DeleteDbUserRequest) String() string

type DeleteDbUserResponse

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

Response Object

func (DeleteDbUserResponse) String

func (o DeleteDbUserResponse) String() string

type DeleteInstanceRequest

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

	InstanceId string `json:"instance_id"`
}

Request Object

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

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

Response Object

func (DeleteInstanceResponse) String

func (o DeleteInstanceResponse) String() string

type DeleteManualBackupRequest

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

	BackupId string `json:"backup_id"`
}

Request Object

func (DeleteManualBackupRequest) String

func (o DeleteManualBackupRequest) String() string

type DeleteManualBackupResponse

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

Response Object

func (DeleteManualBackupResponse) 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"`
}

Request Object

func (DeleteSqlserverDatabaseRequest) String

type DeleteSqlserverDatabaseResponse

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

Response Object

func (DeleteSqlserverDatabaseResponse) String

type DeleteSqlserverDbUserRequest

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

	InstanceId string `json:"instance_id"`

	UserName string `json:"user_name"`
}

Request Object

func (DeleteSqlserverDbUserRequest) String

type DeleteSqlserverDbUserResponse

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

Response Object

func (DeleteSqlserverDbUserResponse) String

type DownloadSlowlogRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

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

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

Response Object

func (DownloadSlowlogResponse) String

func (o DownloadSlowlogResponse) String() string

type DropDatabaseV3Req added in v0.0.47

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

func (DropDatabaseV3Req) String added in v0.0.47

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

Request Object

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

Response Object

func (EnableConfigurationResponse) String

type EnlargeVolume

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

func (EnlargeVolume) String

func (o EnlargeVolume) String() string

type EnlargeVolumeObject added in v0.0.46

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

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

扩容实例磁盘时必填。

func (EnlargeVolumeObject) String added in v0.0.46

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 ErrorResponse

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

	ErrorMsg string `json:"error_msg"`
}

func (ErrorResponse) String

func (o ErrorResponse) String() string

type FailoverModeRequest

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

func (FailoverModeRequest) String

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

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

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

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

备份策略对象,包括备份类型、备份保留天数、目标区域ID和目标project ID。

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

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

	Name string `json:"name"`
}

执行任务的实例信息。

func (GetTaskDetailListRspJobsInstance) String added in v0.0.47

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

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

HA配置参数,创建HA实例时使用。

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

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

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

HA配置参数,创建HA实例时使用。

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

type HaResponseReplicationModeEnum

type HaResponseReplicationModeEnum struct {
	ASYNC    HaResponseReplicationMode
	SEMISYNC HaResponseReplicationMode
	SYNC     HaResponseReplicationMode
}

func GetHaResponseReplicationModeEnum

func GetHaResponseReplicationModeEnum() HaResponseReplicationModeEnum

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

实例信息。

func (InstanceRequest) String

func (o InstanceRequest) String() string

type InstanceResponse

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

	Status string `json:"status"`

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

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

实例信息。

func (InstanceResponse) String

func (o InstanceResponse) String() string

type InstanceRestartRequsetBody

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

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

Request Object

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

Response Object

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

Request Object

func (ListAuthorizedDatabasesRequest) String

type ListAuthorizedDatabasesResponse

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

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

Response Object

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

Request Object

func (ListAuthorizedDbUsersRequest) String

type ListAuthorizedDbUsersResponse

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

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

Response Object

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

Request Object

func (ListAuthorizedSqlserverDbUsersRequest) String

type ListAuthorizedSqlserverDbUsersResponse

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

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

Response Object

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

Request Object

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

type ListBackupsRequestBackupTypeEnum

type ListBackupsRequestBackupTypeEnum struct {
	AUTO        ListBackupsRequestBackupType
	MANUAL      ListBackupsRequestBackupType
	FRAGMENT    ListBackupsRequestBackupType
	INCREMENTAL ListBackupsRequestBackupType
}

func GetListBackupsRequestBackupTypeEnum

func GetListBackupsRequestBackupTypeEnum() ListBackupsRequestBackupTypeEnum

type ListBackupsResponse

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

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

Response Object

func (ListBackupsResponse) String

func (o ListBackupsResponse) String() string

type ListCollationsRequest

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

Request Object

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

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

Response Object

func (ListCollationsResponse) String

func (o ListCollationsResponse) String() string

type ListConfigurationsRequest

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

Request Object

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

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

Response Object

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

Request Object

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

Response Object

func (ListDatabasesResponse) String

func (o ListDatabasesResponse) String() string

type ListDatastoresRequest

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

	DatabaseName ListDatastoresRequestDatabaseName `json:"database_name"`
}

Request Object

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

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

Response Object

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

Request Object

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

Response Object

func (ListDbUsersResponse) String

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

Request Object

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

type ListErrorLogsResponse

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

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

Response Object

func (ListErrorLogsResponse) String

func (o ListErrorLogsResponse) String() 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"`
}

Request Object

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

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

Response Object

func (ListFlavorsResponse) String

func (o ListFlavorsResponse) String() 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"`
}

Request Object

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

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

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

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

Response Object

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

Request Object

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

Response Object

func (ListJobInfoDetailResponse) String

func (o ListJobInfoDetailResponse) String() string

type ListJobInfoRequest

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

	Id string `json:"id"`
}

Request Object

func (ListJobInfoRequest) String

func (o ListJobInfoRequest) String() string

type ListJobInfoResponse

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

Response Object

func (ListJobInfoResponse) String

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

Request Object

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

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

Response Object

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

Request Object

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

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

Response Object

func (ListOffSiteInstancesResponse) String

type ListOffSiteRestoreTimesRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (ListOffSiteRestoreTimesRequest) String

type ListOffSiteRestoreTimesResponse

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

Response Object

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

Request Object

func (ListPostgresqlDatabaseSchemasRequest) String

type ListPostgresqlDatabaseSchemasResponse

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

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

Response Object

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

Request Object

func (ListPostgresqlDatabasesRequest) String

type ListPostgresqlDatabasesResponse

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

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

Response Object

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

Request Object

func (ListPostgresqlDbUserPaginatedRequest) String

type ListPostgresqlDbUserPaginatedResponse

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

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

Response Object

func (ListPostgresqlDbUserPaginatedResponse) String

type ListProjectTagsRequest

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

Request Object

func (ListProjectTagsRequest) String

func (o ListProjectTagsRequest) String() string

type ListProjectTagsResponse

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

Response Object

func (ListProjectTagsResponse) String

func (o ListProjectTagsResponse) String() string

type ListRestoreTimesRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (ListRestoreTimesRequest) String

func (o ListRestoreTimesRequest) String() string

type ListRestoreTimesResponse

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

Response Object

func (ListRestoreTimesResponse) String

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

Request Object

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

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

Response Object

func (ListSlowLogsResponse) String

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

Request Object

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

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

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

Response Object

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

Request Object

func (ListSqlserverDatabasesRequest) String

type ListSqlserverDatabasesResponse

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

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

Response Object

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

Request Object

func (ListSqlserverDbUsersRequest) String

type ListSqlserverDbUsersResponse

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

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

Response Object

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

Request Object

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

type ListStorageTypesRequestDatabaseNameEnum

type ListStorageTypesRequestDatabaseNameEnum struct {
	MY_SQL      ListStorageTypesRequestDatabaseName
	POSTGRE_SQL ListStorageTypesRequestDatabaseName
	SQL_SERVER  ListStorageTypesRequestDatabaseName
}

func GetListStorageTypesRequestDatabaseNameEnum

func GetListStorageTypesRequestDatabaseNameEnum() ListStorageTypesRequestDatabaseNameEnum

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

type ListStorageTypesRequestHaModeEnum

type ListStorageTypesRequestHaModeEnum struct {
	HA      ListStorageTypesRequestHaMode
	SINGLE  ListStorageTypesRequestHaMode
	REPLICA ListStorageTypesRequestHaMode
}

func GetListStorageTypesRequestHaModeEnum

func GetListStorageTypesRequestHaModeEnum() ListStorageTypesRequestHaModeEnum

type ListStorageTypesResponse

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

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

Response Object

func (ListStorageTypesResponse) String

func (o ListStorageTypesResponse) String() string

type MigrateFollowerRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

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

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

Response Object

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

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

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

备份策略对象,包括备份类型、备份保留天数、目标区域ID和目标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 OpsWindowRequest

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

	EndTime string `json:"end_time"`
}

func (OpsWindowRequest) String

func (o OpsWindowRequest) String() string

type ParaGroupDatastore added in v0.0.47

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

	Version string `json:"version"`
}

func (ParaGroupDatastore) String added in v0.0.47

func (o ParaGroupDatastore) String() string

type ParaGroupDatastoreType added in v0.0.47

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

func (ParaGroupDatastoreType) MarshalJSON added in v0.0.47

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

func (*ParaGroupDatastoreType) UnmarshalJSON added in v0.0.47

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

type ParaGroupDatastoreTypeEnum added in v0.0.47

type ParaGroupDatastoreTypeEnum struct {
	MY_SQL      ParaGroupDatastoreType
	POSTGRE_SQL ParaGroupDatastoreType
	SQL_SERVER  ParaGroupDatastoreType
}

func GetParaGroupDatastoreTypeEnum added in v0.0.47

func GetParaGroupDatastoreTypeEnum() ParaGroupDatastoreTypeEnum

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

数据库信息。

func (PostgresqlDatabaseForCreation) String

type PostgresqlDatabaseForListSchema

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

	Owner string `json:"owner"`
}

数据库schema信息。

func (PostgresqlDatabaseForListSchema) String

type PostgresqlDatabaseSchemaReq

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

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

创建数据库schema信息。

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 *int32 `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 PwdResetRequest

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

func (PwdResetRequest) String

func (o PwdResetRequest) String() string

type Quotas added in v0.0.46

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

func (Quotas) String added in v0.0.46

func (o Quotas) String() string

type RecyclePolicyRequestBody

type RecyclePolicyRequestBody struct {
	RecyclePolicy *interface{} `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"`
}

Request Object

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

type ResetPwdRequestXLanguageEnum

type ResetPwdRequestXLanguageEnum struct {
	ZH_CN ResetPwdRequestXLanguage
	EN_US ResetPwdRequestXLanguage
}

func GetResetPwdRequestXLanguageEnum

func GetResetPwdRequestXLanguageEnum() ResetPwdRequestXLanguageEnum

type ResetPwdResponse

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

Response Object

func (ResetPwdResponse) String

func (o ResetPwdResponse) String() string

type ResizeFlavorObject added in v0.0.46

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

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

func (ResizeFlavorObject) String added in v0.0.46

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

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

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

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

func (Resources) String added in v0.0.46

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

Request Object

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

Response Object

func (RestoreTablesResponse) String

func (o RestoreTablesResponse) String() string

type RestoreToExistingInstanceRequest

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

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

Request Object

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

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

Response Object

func (RestoreToExistingInstanceResponse) String

type RevokeRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

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

Response Object

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

Request Object

func (RevokeSqlserverDbUserPrivilegeRequest) String

type RevokeSqlserverDbUserPrivilegeResponse

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

Response Object

func (RevokeSqlserverDbUserPrivilegeResponse) String

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

Request Object

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

Response Object

func (SetAuditlogPolicyResponse) String

func (o SetAuditlogPolicyResponse) String() string

type SetBackupPolicyRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

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

Response Object

func (SetBackupPolicyResponse) String

func (o SetBackupPolicyResponse) String() string

type SetBinlogClearPolicyRequest added in v0.0.47

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (SetBinlogClearPolicyRequest) String added in v0.0.47

type SetBinlogClearPolicyResponse added in v0.0.47

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

Response Object

func (SetBinlogClearPolicyResponse) String added in v0.0.47

type SetDbUserPwdRequest

type SetDbUserPwdRequest struct {
	XLanguage *SetDbUserPwdRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

Request Object

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

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

Response Object

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

Request Object

func (SetOffSiteBackupPolicyRequest) String

type SetOffSiteBackupPolicyRequestBody

type SetOffSiteBackupPolicyRequestBody struct {
	PolicyPara []OffSiteBackupPolicy `json:"policy_para"`
}

func (SetOffSiteBackupPolicyRequestBody) String

type SetOffSiteBackupPolicyResponse

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

Response Object

func (SetOffSiteBackupPolicyResponse) String

type SetPostgresqlDbUserPwdRequest

type SetPostgresqlDbUserPwdRequest struct {
	XLanguage *SetPostgresqlDbUserPwdRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

Request Object

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

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

Response Object

func (SetPostgresqlDbUserPwdResponse) String

type SetSecurityGroupRequest

type SetSecurityGroupRequest struct {
	XLanguage *SetSecurityGroupRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

Request Object

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

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

Response Object

func (SetSecurityGroupResponse) String

func (o SetSecurityGroupResponse) String() string

type ShowAuditlogDownloadLinkRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

func (ShowAuditlogDownloadLinkRequest) String

type ShowAuditlogDownloadLinkResponse

type ShowAuditlogDownloadLinkResponse struct {
	Links          *[]string `json:"links,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ShowAuditlogDownloadLinkResponse) String

type ShowAuditlogPolicyRequest

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

	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowAuditlogPolicyRequest) String

func (o ShowAuditlogPolicyRequest) String() string

type ShowAuditlogPolicyResponse

type ShowAuditlogPolicyResponse struct {
	KeepDays       *int32 `json:"keep_days,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowAuditlogPolicyResponse) String

type ShowBackupDownloadLinkRequest

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

	BackupId string `json:"backup_id"`
}

Request Object

func (ShowBackupDownloadLinkRequest) String

type ShowBackupDownloadLinkResponse

type ShowBackupDownloadLinkResponse struct {
	Files *[]GetBackupDownloadLinkFiles `json:"files,omitempty"`

	Bucket         *string `json:"bucket,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowBackupDownloadLinkResponse) String

type ShowBackupPolicyRequest

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

	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowBackupPolicyRequest) String

func (o ShowBackupPolicyRequest) String() string

type ShowBackupPolicyResponse

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

Response Object

func (ShowBackupPolicyResponse) String

func (o ShowBackupPolicyResponse) String() string

type ShowBinlogClearPolicyRequest added in v0.0.47

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

	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowBinlogClearPolicyRequest) String added in v0.0.47

type ShowBinlogClearPolicyResponse added in v0.0.47

type ShowBinlogClearPolicyResponse struct {
	BinlogRetentionHours *int32 `json:"binlog_retention_hours,omitempty"`
	HttpStatusCode       int    `json:"-"`
}

Response Object

func (ShowBinlogClearPolicyResponse) String added in v0.0.47

type ShowConfigurationRequest

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

	ConfigId string `json:"config_id"`
}

Request Object

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

Response Object

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

type ShowInstanceConfigurationRequest

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

	InstanceId string `json:"instance_id"`
}

Request Object

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

Response Object

func (ShowInstanceConfigurationResponse) String

type ShowInstanceConfigurationResponseDatastoreName

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

func (ShowInstanceConfigurationResponseDatastoreName) MarshalJSON

func (*ShowInstanceConfigurationResponseDatastoreName) UnmarshalJSON

type ShowOffSiteBackupPolicyRequest

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

	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowOffSiteBackupPolicyRequest) String

type ShowOffSiteBackupPolicyResponse

type ShowOffSiteBackupPolicyResponse struct {
	PolicyPara     *[]GetOffSiteBackupPolicy `json:"policy_para,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

Response Object

func (ShowOffSiteBackupPolicyResponse) String

type ShowQuotasRequest added in v0.0.46

type ShowQuotasRequest struct {
	XLanguage *ShowQuotasRequestXLanguage `json:"X-Language,omitempty"`
}

Request Object

func (ShowQuotasRequest) String added in v0.0.46

func (o ShowQuotasRequest) String() string

type ShowQuotasRequestXLanguage added in v0.0.46

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

func (ShowQuotasRequestXLanguage) MarshalJSON added in v0.0.46

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

func (*ShowQuotasRequestXLanguage) UnmarshalJSON added in v0.0.46

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

type ShowQuotasRequestXLanguageEnum added in v0.0.46

type ShowQuotasRequestXLanguageEnum struct {
	ZH_CN ShowQuotasRequestXLanguage
	EN_US ShowQuotasRequestXLanguage
}

func GetShowQuotasRequestXLanguageEnum added in v0.0.46

func GetShowQuotasRequestXLanguageEnum() ShowQuotasRequestXLanguageEnum

type ShowQuotasResponse added in v0.0.46

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

Response Object

func (ShowQuotasResponse) String added in v0.0.46

func (o ShowQuotasResponse) String() string

type Single2Ha

type Single2Ha struct {
	SingleToHa *Single2HaObject `json:"single_to_ha"`
}

func (Single2Ha) String

func (o Single2Ha) String() string

type Single2HaObject added in v0.0.46

type Single2HaObject struct {
	AzCodeNewNode string `json:"az_code_new_node"`

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

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

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

单机转主备时必填。

func (Single2HaObject) String added in v0.0.46

func (o Single2HaObject) 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 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 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 {
	RequestId string `json:"request_id"`

	FileName *string `json:"file_name,omitempty"`
}

func (SlowlogDownloadRequest) String

func (o SlowlogDownloadRequest) String() 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"`
}

数据库帐号名称。 数据库帐号名称在1到128个字符之间,不能和系统用户名称相同。 系统用户包括:rdsadmin, rdsuser, rdsbackup, rdsmirror。

func (SqlserverUserWithPrivilege) String

type SslOptionRequest

type SslOptionRequest struct {
	SslOption bool `json:"ssl_option"`
}

func (SslOptionRequest) String

func (o SslOptionRequest) String() string

type StartFailoverRequest

type StartFailoverRequest struct {
	XLanguage *StartFailoverRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`
}

Request Object

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

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

Response Object

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

Request Object

func (StartInstanceEnlargeVolumeActionRequest) String

type StartInstanceEnlargeVolumeActionRequestXLanguage

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

func (StartInstanceEnlargeVolumeActionRequestXLanguage) MarshalJSON

func (*StartInstanceEnlargeVolumeActionRequestXLanguage) UnmarshalJSON

type StartInstanceEnlargeVolumeActionResponse

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

Response Object

func (StartInstanceEnlargeVolumeActionResponse) String

type StartInstanceRestartActionRequest

type StartInstanceRestartActionRequest struct {
	XLanguage *StartInstanceRestartActionRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

Request Object

func (StartInstanceRestartActionRequest) String

type StartInstanceRestartActionRequestXLanguage

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

func (StartInstanceRestartActionRequestXLanguage) MarshalJSON

func (*StartInstanceRestartActionRequestXLanguage) UnmarshalJSON

type StartInstanceRestartActionResponse

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

Response Object

func (StartInstanceRestartActionResponse) String

type StartInstanceSingleToHaActionRequest

type StartInstanceSingleToHaActionRequest struct {
	XLanguage *StartInstanceSingleToHaActionRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

Request Object

func (StartInstanceSingleToHaActionRequest) String

type StartInstanceSingleToHaActionRequestXLanguage

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

func (StartInstanceSingleToHaActionRequestXLanguage) MarshalJSON

func (*StartInstanceSingleToHaActionRequestXLanguage) UnmarshalJSON

type StartInstanceSingleToHaActionResponse

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

Response Object

func (StartInstanceSingleToHaActionResponse) String

type StartRecyclePolicyRequest

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

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

Request Object

func (StartRecyclePolicyRequest) String

func (o StartRecyclePolicyRequest) String() string

type StartRecyclePolicyResponse

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

Response Object

func (StartRecyclePolicyResponse) String

type StartResizeFlavorActionRequest

type StartResizeFlavorActionRequest struct {
	XLanguage *StartResizeFlavorActionRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

Request Object

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

type StartResizeFlavorActionRequestXLanguageEnum

type StartResizeFlavorActionRequestXLanguageEnum struct {
	ZH_CN StartResizeFlavorActionRequestXLanguage
	EN_US StartResizeFlavorActionRequestXLanguage
}

func GetStartResizeFlavorActionRequestXLanguageEnum

func GetStartResizeFlavorActionRequestXLanguageEnum() StartResizeFlavorActionRequestXLanguageEnum

type StartResizeFlavorActionResponse

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

Response Object

func (StartResizeFlavorActionResponse) 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"`
}

Request Object

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

type SwitchSslRequestXLanguageEnum

type SwitchSslRequestXLanguageEnum struct {
	ZH_CN SwitchSslRequestXLanguage
	EN_US SwitchSslRequestXLanguage
}

func GetSwitchSslRequestXLanguageEnum

func GetSwitchSslRequestXLanguageEnum() SwitchSslRequestXLanguageEnum

type SwitchSslResponse

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

Response Object

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 UpdateConfigurationRequest

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

	ConfigId string `json:"config_id"`

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

Request Object

func (UpdateConfigurationRequest) String

type UpdateConfigurationResponse

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

Response Object

func (UpdateConfigurationResponse) String

type UpdateDataIpRequest

type UpdateDataIpRequest struct {
	XLanguage *UpdateDataIpRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

Request Object

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

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

Response Object

func (UpdateDataIpResponse) String

func (o UpdateDataIpResponse) String() string

type UpdateDatabaseReq added in v0.0.59

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

	Comment string `json:"comment"`
}

func (UpdateDatabaseReq) String added in v0.0.59

func (o UpdateDatabaseReq) String() string

type UpdateDatabaseRequest added in v0.0.59

type UpdateDatabaseRequest struct {
	XLanguage *UpdateDatabaseRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

Request Object

func (UpdateDatabaseRequest) String added in v0.0.59

func (o UpdateDatabaseRequest) String() string

type UpdateDatabaseRequestXLanguage added in v0.0.59

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

func (UpdateDatabaseRequestXLanguage) MarshalJSON added in v0.0.59

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

func (*UpdateDatabaseRequestXLanguage) UnmarshalJSON added in v0.0.59

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

type UpdateDatabaseRequestXLanguageEnum added in v0.0.59

type UpdateDatabaseRequestXLanguageEnum struct {
	ZH_CN UpdateDatabaseRequestXLanguage
	EN_US UpdateDatabaseRequestXLanguage
}

func GetUpdateDatabaseRequestXLanguageEnum added in v0.0.59

func GetUpdateDatabaseRequestXLanguageEnum() UpdateDatabaseRequestXLanguageEnum

type UpdateDatabaseResponse added in v0.0.59

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

Response Object

func (UpdateDatabaseResponse) String added in v0.0.59

func (o UpdateDatabaseResponse) String() string

type UpdateDbPortRequest

type UpdateDbPortRequest struct {
	Port int32 `json:"port"`
}

func (UpdateDbPortRequest) String

func (o UpdateDbPortRequest) String() string

type UpdateDnsNameRequest

type UpdateDnsNameRequest struct {
	XLanguage *UpdateDnsNameRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

Request Object

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

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

Response Object

func (UpdateDnsNameResponse) String

func (o UpdateDnsNameResponse) String() string

type UpdateInstanceConfigurationRequest

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

	InstanceId string `json:"instance_id"`

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

Request Object

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

Response Object

func (UpdateInstanceConfigurationResponse) String

type UpdateInstanceNameRequest

type UpdateInstanceNameRequest struct {
	XLanguage *UpdateInstanceNameRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

Request Object

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

type UpdateInstanceNameRequestXLanguageEnum

type UpdateInstanceNameRequestXLanguageEnum struct {
	ZH_CN UpdateInstanceNameRequestXLanguage
	EN_US UpdateInstanceNameRequestXLanguage
}

func GetUpdateInstanceNameRequestXLanguageEnum

func GetUpdateInstanceNameRequestXLanguageEnum() UpdateInstanceNameRequestXLanguageEnum

type UpdateInstanceNameResponse

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

Response Object

func (UpdateInstanceNameResponse) String

type UpdatePortRequest

type UpdatePortRequest struct {
	XLanguage *UpdatePortRequestXLanguage `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

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

Request Object

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

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

Response Object

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

Request Object

func (UpdatePostgresqlInstanceAliasRequest) String

type UpdatePostgresqlInstanceAliasResponse

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

Response Object

func (UpdatePostgresqlInstanceAliasResponse) String

type UpdateRdsInstanceAliasRequest

type UpdateRdsInstanceAliasRequest struct {
	Alias string `json:"alias"`
}

func (UpdateRdsInstanceAliasRequest) String

type UserForCreation

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

	Password string `json:"password"`
}

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

type VolumeTypeEnum

type VolumeTypeEnum struct {
	ULTRAHIGH    VolumeType
	HIGH         VolumeType
	COMMON       VolumeType
	NVMESSD      VolumeType
	ULTRAHIGHPRO VolumeType
	CLOUDSSD     VolumeType
	LOCALSSD     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