model

package
v0.1.50 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddInstanceTagsRequest added in v0.1.13

type AddInstanceTagsRequest struct {

	// 语言。
	XLanguage *AddInstanceTagsRequestXLanguage `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId string `json:"instance_id"`

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

AddInstanceTagsRequest Request Object

func (AddInstanceTagsRequest) String added in v0.1.13

func (o AddInstanceTagsRequest) String() string

type AddInstanceTagsRequestXLanguage added in v0.1.13

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

func (AddInstanceTagsRequestXLanguage) MarshalJSON added in v0.1.13

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

func (*AddInstanceTagsRequestXLanguage) UnmarshalJSON added in v0.1.13

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

func (AddInstanceTagsRequestXLanguage) Value added in v0.1.13

type AddInstanceTagsRequestXLanguageEnum added in v0.1.13

type AddInstanceTagsRequestXLanguageEnum struct {
	ZH_CN AddInstanceTagsRequestXLanguage
	EN_US AddInstanceTagsRequestXLanguage
}

func GetAddInstanceTagsRequestXLanguageEnum added in v0.1.13

func GetAddInstanceTagsRequestXLanguageEnum() AddInstanceTagsRequestXLanguageEnum

type AddInstanceTagsResponse added in v0.1.13

type AddInstanceTagsResponse struct {

	// 添加标签的实例ID。
	InstanceId *string `json:"instance_id,omitempty"`

	// 添加标签的实例名称。
	InstanceName   *string `json:"instance_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AddInstanceTagsResponse Response Object

func (AddInstanceTagsResponse) String added in v0.1.13

func (o AddInstanceTagsResponse) String() string

type AddTagsRequestBody added in v0.1.13

type AddTagsRequestBody struct {
	Tags []TagsOption `json:"tags"`
}

func (AddTagsRequestBody) String added in v0.1.13

func (o AddTagsRequestBody) String() string

type AllowDbPrivilegesRequest added in v0.0.88

type AllowDbPrivilegesRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId string `json:"instance_id"`

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

AllowDbPrivilegesRequest Request Object

func (AllowDbPrivilegesRequest) String added in v0.0.88

func (o AllowDbPrivilegesRequest) String() string

type AllowDbPrivilegesResponse added in v0.0.88

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

AllowDbPrivilegesResponse Response Object

func (AllowDbPrivilegesResponse) String added in v0.0.88

func (o AllowDbPrivilegesResponse) String() string

type AppliedHistoriesResult added in v0.1.13

type AppliedHistoriesResult struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`

	// 实例名称。
	InstanceName string `json:"instance_name"`

	// 应用状态 (SUCCESS | FAILED)。
	ApplyResult string `json:"apply_result"`

	// 应用时间,格式为“yyyy-mm-ddThh:mm:ssZ”。 其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
	AppliedAt string `json:"applied_at"`

	// 失败原因错误码,如DBS.280005。
	ErrorCode string `json:"error_code"`
}

func (AppliedHistoriesResult) String added in v0.1.13

func (o AppliedHistoriesResult) String() string

type ApplyConfigurationRequestBody added in v0.1.13

type ApplyConfigurationRequestBody struct {

	// 实例ID列表。
	InstanceIds []string `json:"instance_ids"`
}

func (ApplyConfigurationRequestBody) String added in v0.1.13

type AttachEipRequest added in v0.1.13

type AttachEipRequest struct {

	// 语言
	XLanguage *AttachEipRequestXLanguage `json:"X-Language,omitempty"`

	// 实例ID,严格匹配UUID规则。
	InstanceId string `json:"instance_id"`

	// 节点ID
	NodeId string `json:"node_id"`

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

AttachEipRequest Request Object

func (AttachEipRequest) String added in v0.1.13

func (o AttachEipRequest) String() string

type AttachEipRequestXLanguage added in v0.1.13

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

func (AttachEipRequestXLanguage) MarshalJSON added in v0.1.13

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

func (*AttachEipRequestXLanguage) UnmarshalJSON added in v0.1.13

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

func (AttachEipRequestXLanguage) Value added in v0.1.13

type AttachEipRequestXLanguageEnum added in v0.1.13

type AttachEipRequestXLanguageEnum struct {
	ZH_CN AttachEipRequestXLanguage
	EN_US AttachEipRequestXLanguage
}

func GetAttachEipRequestXLanguageEnum added in v0.1.13

func GetAttachEipRequestXLanguageEnum() AttachEipRequestXLanguageEnum

type AttachEipResponse added in v0.1.13

type AttachEipResponse struct {

	// 工作流id
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AttachEipResponse Response Object

func (AttachEipResponse) String added in v0.1.13

func (o AttachEipResponse) String() string

type AvailableFlavorInfoResult added in v0.1.13

type AvailableFlavorInfoResult struct {

	// 资源规格编码。
	SpecCpde *string `json:"spec_cpde,omitempty"`

	// CPU核数。
	Vcpus *string `json:"vcpus,omitempty"`

	// 内存大小,单位:GB。
	Ram *string `json:"ram,omitempty"`

	// 其中key是可用区编号,value是规格所在az的状态。
	AzStatus map[string]string `json:"az_status,omitempty"`
}

AvailableFlavorInfoResult 实例可变更规格信息。

func (AvailableFlavorInfoResult) String added in v0.1.13

func (o AvailableFlavorInfoResult) String() string

type BackupInfo added in v0.0.88

type BackupInfo struct {

	// 备份ID。
	Id string `json:"id"`

	// 备份名称。
	Name string `json:"name"`

	// 备份描述。
	Description string `json:"description"`

	// 备份开始时间,格式为“yyyy-mm-ddThh:mm:ssZ”。  其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
	BeginTime string `json:"begin_time"`

	// 备份状态,取值:  - BUILDING: 备份中。 - COMPLETED: 备份完成。 - FAILED:备份失败。 - DELETING:备份删除中。
	Status BackupInfoStatus `json:"status"`

	// 备份类型,取值: - “manual”: 手动全量备份
	Type BackupInfoType `json:"type"`

	// 实例ID。
	InstanceId string `json:"instance_id"`
}

BackupInfo 备份信息。

func (BackupInfo) String added in v0.0.88

func (o BackupInfo) String() string

type BackupInfoStatus added in v0.0.88

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

func (BackupInfoStatus) MarshalJSON added in v0.0.88

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

func (*BackupInfoStatus) UnmarshalJSON added in v0.0.88

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

func (BackupInfoStatus) Value added in v0.0.90

func (c BackupInfoStatus) Value() string

type BackupInfoStatusEnum added in v0.0.88

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

func GetBackupInfoStatusEnum added in v0.0.88

func GetBackupInfoStatusEnum() BackupInfoStatusEnum

type BackupInfoType added in v0.0.88

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

func (BackupInfoType) MarshalJSON added in v0.0.88

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

func (*BackupInfoType) UnmarshalJSON added in v0.0.88

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

func (BackupInfoType) Value added in v0.0.90

func (c BackupInfoType) Value() string

type BackupInfoTypeEnum added in v0.0.88

type BackupInfoTypeEnum struct {
	MANUAL BackupInfoType
}

func GetBackupInfoTypeEnum added in v0.0.88

func GetBackupInfoTypeEnum() BackupInfoTypeEnum

type BackupPolicy

type BackupPolicy struct {

	// 备份文件可以保存的天数。  取值范围:1-732天。
	KeepDays int32 `json:"keep_days"`

	// 备份时间段。自动备份将在该时间段内触发。  取值范围:非空,格式必须为hh:mm-HH:MM且有效,当前时间指UTC时间。  HH取值必须比hh大1,mm和MM取值必须相同,且取值必须为00。  取值示例:  21:00-22:00
	StartTime string `json:"start_time"`

	// 全量备份周期配置。自动全量备份将在每星期指定的天进行。取值范围:格式为逗号隔开的数字,数字代表星期。取值示例:1,2,3,4则表示备份周期配置为星期一、星期二、星期三和星期四。
	Period string `json:"period"`

	// 差异备份间隔时间配置。每次自动差异备份的间隔时间。  取值范围:15、30、60、180、360、720、1440。单位:分钟。  取值示例:30
	DifferentialPeriod string `json:"differential_period"`

	// 备份限速  取值范围:0 ~ 1024
	RateLimit *int32 `json:"rate_limit,omitempty"`

	// 控制差量备份时读取磁盘上表文件差量修改页面的预取页面个数。当差量修改页面非常集中时(如数据导入场景),可以适当调大该值;当差量修改页面非常分散时(如随机更新),可以适当调小该值。  取值范围:1 ~ 8192
	PrefetchBlock *int32 `json:"prefetch_block,omitempty"`

	// 废弃。
	FilesplitSize *int32 `json:"filesplit_size,omitempty"`

	// 全量、差量备份时产生的备份文件会根据分片大小进行拆分,可设置范围为0~1024GB,设置需为4的倍数,默认4GB,0GB表示不限制大小。  取值范围:0 ~ 1024
	FileSplitSize *int32 `json:"file_split_size,omitempty"`

	// 是否启用备机备份。  取值范围:true|false
	EnableStandbyBackup *bool `json:"enable_standby_backup,omitempty"`
}

BackupPolicy 备份策略信息。

func (BackupPolicy) String

func (o BackupPolicy) String() string

type BackupPolicyErrorResponse added in v0.0.88

type BackupPolicyErrorResponse struct {

	// 错误码
	ErrorCode string `json:"error_code"`

	// 错误消息。
	ErrorMsg string `json:"error_msg"`
}

func (BackupPolicyErrorResponse) String added in v0.0.88

func (o BackupPolicyErrorResponse) String() string

type Backups added in v0.0.88

type Backups struct {

	// 备份ID。
	Id *string `json:"id,omitempty"`

	// 备份名称。
	Name *string `json:"name,omitempty"`

	// 备份文件描述信息。
	Description *string `json:"description,omitempty"`

	// 备份开始时间,格式为\"yyyy-mm-ddThh:mm:ssZ\"。 其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
	BeginTime *string `json:"begin_time,omitempty"`

	// 备份结束时间,格式为“yyyy-mm-ddThh:mm:ssZ”。 其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
	EndTime *string `json:"end_time,omitempty"`

	// 备份状态
	Status *BackupsStatus `json:"status,omitempty"`

	// 备份大小(单位:MB)
	Size *float64 `json:"size,omitempty"`

	// 备份类型
	Type *BackupsType `json:"type,omitempty"`

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

	// 实例ID。
	InstanceId *string `json:"instance_id,omitempty"`
}

func (Backups) String added in v0.0.88

func (o Backups) String() string

type BackupsResult added in v0.1.43

type BackupsResult struct {

	// 备份ID。
	Id *string `json:"id,omitempty"`

	// 备份名称。
	Name *string `json:"name,omitempty"`

	// 备份文件描述信息。
	Description *string `json:"description,omitempty"`

	// 备份开始时间,格式为\"yyyy-mm-ddThh:mm:ssZ\"。 其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
	BeginTime *string `json:"begin_time,omitempty"`

	// 备份结束时间,格式为“yyyy-mm-ddThh:mm:ssZ”。 其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
	EndTime *string `json:"end_time,omitempty"`

	// 备份状态
	Status *BackupsResultStatus `json:"status,omitempty"`

	// 备份大小(单位:MB)
	Size *float64 `json:"size,omitempty"`

	// 备份类型
	Type *BackupsResultType `json:"type,omitempty"`

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

	// 实例ID。
	InstanceId *string `json:"instance_id,omitempty"`
}

func (BackupsResult) String added in v0.1.43

func (o BackupsResult) String() string

type BackupsResultStatus added in v0.1.43

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

func (BackupsResultStatus) MarshalJSON added in v0.1.43

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

func (*BackupsResultStatus) UnmarshalJSON added in v0.1.43

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

func (BackupsResultStatus) Value added in v0.1.43

func (c BackupsResultStatus) Value() string

type BackupsResultStatusEnum added in v0.1.43

type BackupsResultStatusEnum struct {
	BUILDING  BackupsResultStatus
	COMPLETED BackupsResultStatus
	FAILED    BackupsResultStatus
}

func GetBackupsResultStatusEnum added in v0.1.43

func GetBackupsResultStatusEnum() BackupsResultStatusEnum

type BackupsResultType added in v0.1.43

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

func (BackupsResultType) MarshalJSON added in v0.1.43

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

func (*BackupsResultType) UnmarshalJSON added in v0.1.43

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

func (BackupsResultType) Value added in v0.1.43

func (c BackupsResultType) Value() string

type BackupsResultTypeEnum added in v0.1.43

type BackupsResultTypeEnum struct {
	AUTO   BackupsResultType
	MANUAL BackupsResultType
}

func GetBackupsResultTypeEnum added in v0.1.43

func GetBackupsResultTypeEnum() BackupsResultTypeEnum

type BackupsStatus added in v0.0.88

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

func (BackupsStatus) MarshalJSON added in v0.0.88

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

func (*BackupsStatus) UnmarshalJSON added in v0.0.88

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

func (BackupsStatus) Value added in v0.0.90

func (c BackupsStatus) Value() string

type BackupsStatusEnum added in v0.0.88

type BackupsStatusEnum struct {
	BUILDING  BackupsStatus
	COMPLETED BackupsStatus
	FAILED    BackupsStatus
}

func GetBackupsStatusEnum added in v0.0.88

func GetBackupsStatusEnum() BackupsStatusEnum

type BackupsType added in v0.0.88

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

func (BackupsType) MarshalJSON added in v0.0.88

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

func (*BackupsType) UnmarshalJSON added in v0.0.88

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

func (BackupsType) Value added in v0.0.90

func (c BackupsType) Value() string

type BackupsTypeEnum added in v0.0.88

type BackupsTypeEnum struct {
	AUTO   BackupsType
	MANUAL BackupsType
}

func GetBackupsTypeEnum added in v0.0.88

func GetBackupsTypeEnum() BackupsTypeEnum

type BindEipRequestBody added in v0.1.13

type BindEipRequestBody struct {

	// 操作标识。取值: - BIND,表示绑定弹性公网IP。 - UNBIND,表示解绑弹性公网IP。
	Action string `json:"action"`

	// 弹性公网IP
	PublicIp string `json:"public_ip"`

	// 弹性公网IP的ID
	PublicIpId string `json:"public_ip_id"`
}

func (BindEipRequestBody) String added in v0.1.13

func (o BindEipRequestBody) String() string

type BindedEipResult added in v0.1.13

type BindedEipResult struct {

	// 弹性公网ID。
	PublicIpId string `json:"public_ip_id"`

	// 弹性公网类型。
	PublicIpType string `json:"public_ip_type"`

	// 端口ID。
	PortId string `json:"port_id"`

	// 弹性公网IP。
	PublicIpAddress string `json:"public_ip_address"`

	// 内网地址。
	PrivateIpAddress string `json:"private_ip_address"`

	// 带宽ID。
	BandwidthId string `json:"bandwidth_id"`

	// 带宽名称。
	BandwidthName string `json:"bandwidth_name"`

	// 带宽共享类型。
	BandwidthShareType string `json:"bandwidth_share_type"`

	// 带宽大小。
	BandwidthSize int32 `json:"bandwidth_size"`

	// 修改时间,格式为“yyyy-mm-ddThh:mm:ssZ”。 其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+08:00。
	AppliedAt string `json:"applied_at"`
}

BindedEipResult 查询已绑定EIP记录明细信息。

func (BindedEipResult) String added in v0.1.13

func (o BindedEipResult) String() string

type Components added in v0.0.90

type Components struct {

	// 组件id,当组件类型为DN,组件id为6001,则对应的值为dn_6001。
	Id *string `json:"id,omitempty"`

	// 节点类型,取值为“master”、“slave”,分别对应于主节点、备节点。
	Role *string `json:"role,omitempty"`

	// 节点状态。
	Status *string `json:"status,omitempty"`
}

Components 组件列表

func (Components) String added in v0.0.90

func (o Components) String() string

type ConfigurationParameter added in v0.0.84

type ConfigurationParameter struct {

	// 参数名称。
	Name string `json:"name"`

	// 参数值。
	Value string `json:"value"`

	// 修改该参数是否需要重启实例。
	RestartRequired bool `json:"restart_required"`

	// 参数取值范围。
	ValueRange string `json:"value_range"`

	// 参数类型,取值为“string”、“integer”、“boolean”、“list”或“float”之一。
	Type ConfigurationParameterType `json:"type"`

	// 参数描述。
	Description string `json:"description"`
}

func (ConfigurationParameter) String added in v0.0.84

func (o ConfigurationParameter) String() string

type ConfigurationParameterType added in v0.0.84

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

func (ConfigurationParameterType) MarshalJSON added in v0.0.84

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

func (*ConfigurationParameterType) UnmarshalJSON added in v0.0.84

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

func (ConfigurationParameterType) Value added in v0.0.90

type ConfigurationParameterTypeEnum added in v0.0.84

type ConfigurationParameterTypeEnum struct {
	STRING  ConfigurationParameterType
	INTEGER ConfigurationParameterType
	BOOLEAN ConfigurationParameterType
	LIST    ConfigurationParameterType
	FLOAT   ConfigurationParameterType
}

func GetConfigurationParameterTypeEnum added in v0.0.84

func GetConfigurationParameterTypeEnum() ConfigurationParameterTypeEnum

type ConfigurationResult added in v0.1.43

type ConfigurationResult struct {

	// 参数组ID。
	Id string `json:"id"`

	// 参数组名称。
	Name string `json:"name"`

	// 参数组描述。
	Description *string `json:"description,omitempty"`

	// 引擎版本。
	DatastoreVersion string `json:"datastore_version"`

	// 引擎名称。
	DatastoreName string `json:"datastore_name"`

	// 实例类型。
	HaMode string `json:"ha_mode"`

	// 创建时间,格式为\"yyyy-MM-dd HH:mm:ss\"。
	Created string `json:"created"`

	// 更新时间,格式为\"yyyy-MM-dd HH:mm:ss\"。
	Updated string `json:"updated"`

	// 是否是用户自定义参数模板:  - false,表示为系统默认参数模板。 - true,表示为用户自定义参数模板。
	UserDefined bool `json:"user_defined"`
}

ConfigurationResult 参数模板信息。

func (ConfigurationResult) String added in v0.1.43

func (o ConfigurationResult) String() string

type ConfigurationSummary added in v0.0.83

type ConfigurationSummary struct {

	// 参数组ID。
	Id string `json:"id"`

	// 参数组名称。
	Name string `json:"name"`

	// 参数组描述。
	Description *string `json:"description,omitempty"`

	// 引擎版本。
	DatastoreVersion string `json:"datastore_version"`

	// 引擎名称。
	DatastoreName string `json:"datastore_name"`

	// 数据库部署模式。
	HaMode string `json:"ha_mode"`

	// 创建时间,格式为\"yyyy-MM-dd HH:mm:ss\"。
	Created string `json:"created"`

	// 更新时间,格式为\"yyyy-MM-dd HH:mm:ss\"。
	Updated string `json:"updated"`

	// 是否是用户自定义参数模板:  - false,表示为系统默认参数模板。 - true,表示为用户自定义参数模板。
	UserDefined bool `json:"user_defined"`
}

ConfigurationSummary 参数模板信息。

func (ConfigurationSummary) String added in v0.0.83

func (o ConfigurationSummary) String() string

type CopyConfigurationRequest added in v0.1.13

type CopyConfigurationRequest struct {

	// 语言。
	XLanguage *CopyConfigurationRequestXLanguage `json:"X-Language,omitempty"`

	// 被复制的参数模板ID。
	ConfigId string `json:"config_id"`

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

CopyConfigurationRequest Request Object

func (CopyConfigurationRequest) String added in v0.1.13

func (o CopyConfigurationRequest) String() string

type CopyConfigurationRequestXLanguage added in v0.1.13

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

func (CopyConfigurationRequestXLanguage) MarshalJSON added in v0.1.13

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

func (*CopyConfigurationRequestXLanguage) UnmarshalJSON added in v0.1.13

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

func (CopyConfigurationRequestXLanguage) Value added in v0.1.13

type CopyConfigurationRequestXLanguageEnum added in v0.1.13

type CopyConfigurationRequestXLanguageEnum struct {
	ZH_CN CopyConfigurationRequestXLanguage
	EN_US CopyConfigurationRequestXLanguage
}

func GetCopyConfigurationRequestXLanguageEnum added in v0.1.13

func GetCopyConfigurationRequestXLanguageEnum() CopyConfigurationRequestXLanguageEnum

type CopyConfigurationResponse added in v0.1.13

type CopyConfigurationResponse struct {

	// 复制后的参数模板ID。
	ConfigId       *string `json:"config_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CopyConfigurationResponse Response Object

func (CopyConfigurationResponse) String added in v0.1.13

func (o CopyConfigurationResponse) String() string

type CreateConfigurationTemplateRequest added in v0.1.13

type CreateConfigurationTemplateRequest struct {

	// 语言。默认值:en-us。
	XLanguage *CreateConfigurationTemplateRequestXLanguage `json:"X-Language,omitempty"`

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

CreateConfigurationTemplateRequest Request Object

func (CreateConfigurationTemplateRequest) String added in v0.1.13

type CreateConfigurationTemplateRequestBody added in v0.1.13

type CreateConfigurationTemplateRequestBody struct {

	// 参数模板名称。 取值范围:长度1到64位之间,区分大小写字母,可包含字母、数字、中划线、下划线或句点,不能包含其他特殊字符。
	Name string `json:"name"`

	// 参数模板描述,默认为空。 取值范围:长度不超过256,不能包含回车<>!&等特殊字符。
	Description *string `json:"description,omitempty"`

	// 参数名和参数值映射关系。用户可以基于默认参数模板的参数,自定义参数值。
	ParameterValues map[string]string `json:"parameter_values,omitempty"`

	Datastore *DatastoreOption `json:"datastore"`
}

func (CreateConfigurationTemplateRequestBody) String added in v0.1.13

type CreateConfigurationTemplateRequestXLanguage added in v0.1.13

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

func (CreateConfigurationTemplateRequestXLanguage) MarshalJSON added in v0.1.13

func (*CreateConfigurationTemplateRequestXLanguage) UnmarshalJSON added in v0.1.13

func (CreateConfigurationTemplateRequestXLanguage) Value added in v0.1.13

type CreateConfigurationTemplateRequestXLanguageEnum added in v0.1.13

type CreateConfigurationTemplateRequestXLanguageEnum struct {
	ZH_CN CreateConfigurationTemplateRequestXLanguage
	EN_US CreateConfigurationTemplateRequestXLanguage
}

func GetCreateConfigurationTemplateRequestXLanguageEnum added in v0.1.13

func GetCreateConfigurationTemplateRequestXLanguageEnum() CreateConfigurationTemplateRequestXLanguageEnum

type CreateConfigurationTemplateResponse added in v0.1.13

type CreateConfigurationTemplateResponse struct {

	// 参数模板ID。
	Id *string `json:"id,omitempty"`

	// 参数模板名称。
	Name *string `json:"name,omitempty"`

	// 创建时间,格式为“yyyy-mm-ddThh:mm:ssZ”。 其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
	CreatedAt      *string `json:"created_at,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateConfigurationTemplateResponse Response Object

func (CreateConfigurationTemplateResponse) String added in v0.1.13

type CreateDatabaseRequest added in v0.0.88

type CreateDatabaseRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId string `json:"instance_id"`

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

CreateDatabaseRequest Request Object

func (CreateDatabaseRequest) String added in v0.0.88

func (o CreateDatabaseRequest) String() string

type CreateDatabaseResponse added in v0.0.88

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

CreateDatabaseResponse Response Object

func (CreateDatabaseResponse) String added in v0.0.88

func (o CreateDatabaseResponse) String() string

type CreateDatabaseSchemasRequest added in v0.0.88

type CreateDatabaseSchemasRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId string `json:"instance_id"`

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

CreateDatabaseSchemasRequest Request Object

func (CreateDatabaseSchemasRequest) String added in v0.0.88

type CreateDatabaseSchemasResponse added in v0.0.88

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

CreateDatabaseSchemasResponse Response Object

func (CreateDatabaseSchemasResponse) String added in v0.0.88

type CreateDbInstanceRequest added in v0.1.43

type CreateDbInstanceRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

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

CreateDbInstanceRequest Request Object

func (CreateDbInstanceRequest) String added in v0.1.43

func (o CreateDbInstanceRequest) String() string

type CreateDbInstanceResponse added in v0.1.43

type CreateDbInstanceResponse struct {
	Instance *OpenGaussInstanceResult `json:"instance,omitempty"`

	// 实例创建的任务id。  仅创建按需实例时会返回该参数。
	JobId *string `json:"job_id,omitempty"`

	// 创建实例的订单ID。  仅创建包周期实例时会返回该参数。
	OrderId        *string `json:"order_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateDbInstanceResponse Response Object

func (CreateDbInstanceResponse) String added in v0.1.43

func (o CreateDbInstanceResponse) String() string

type CreateDbUserRequest added in v0.0.88

type CreateDbUserRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId string `json:"instance_id"`

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

CreateDbUserRequest Request Object

func (CreateDbUserRequest) String added in v0.0.88

func (o CreateDbUserRequest) String() string

type CreateDbUserResponse added in v0.0.88

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

CreateDbUserResponse Response Object

func (CreateDbUserResponse) String added in v0.0.88

func (o CreateDbUserResponse) String() string

type CreateInstanceRequest

type CreateInstanceRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

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

CreateInstanceRequest Request Object

func (CreateInstanceRequest) String

func (o CreateInstanceRequest) String() string

type CreateInstanceRespItem added in v0.0.88

type CreateInstanceRespItem struct {

	// 实例id
	Id string `json:"id"`

	// 实例名称。 用于表示实例的名称,同一租户下,同类型的实例名可重名。 取值范围:4~64个字符之间,必须以字母开头,区分大小写,可以包含字母、数字、中划线或者下划线,不能包含其他的特殊字符。
	Name string `json:"name"`

	// 实例状态。如BUILD,表示创建中。 仅创建按需实例时会返回该参数。
	Status string `json:"status"`

	Datastore *OpenGaussDatastoreResponse `json:"datastore"`

	Ha *OpenGaussHaResponse `json:"ha"`

	// 数据库端口信息。 当不传该参数时,默认端口8000。
	Port string `json:"port"`

	Volume *OpenGaussVolumeResponse `json:"volume"`

	// 实例副本数。
	ReplicaNum int32 `json:"replica_num"`

	// 区域ID。创建主实例时必选,其它场景不可选。 取值参见[地区和终端节点](https://developer.huaweicloud.com/endpoint)。
	Region string `json:"region"`

	BackupStrategy *OpenGaussBackupStrategyForResponse `json:"backup_strategy"`

	// 规格码。
	FlavorRef string `json:"flavor_ref"`

	// 可用区ID。GaussDB取值范围:非空,可选部署在同一可用区或三个不同可用区,可用区之间用逗号隔开。 取值参见[地区和终端节点](https://developer.huaweicloud.com/endpoint)。
	AvailabilityZone string `json:"availability_zone"`

	// 虚拟私有云ID。
	VpcId string `json:"vpc_id"`

	// 子网ID。
	SubnetId string `json:"subnet_id"`

	// 安全组ID。
	SecurityGroupId string `json:"security_group_id"`

	ChargeInfo *OpenGaussChargeInfo `json:"charge_info"`
}

CreateInstanceRespItem 实例信息。

func (CreateInstanceRespItem) String added in v0.0.88

func (o CreateInstanceRespItem) String() string

type CreateInstanceResponse

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

	// 实例创建的任务id。  仅创建按需实例时会返回该参数。
	JobId *string `json:"job_id,omitempty"`

	// 创建实例的订单ID。  仅创建包周期实例时会返回该参数。
	OrderId        *string `json:"order_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateInstanceResponse Response Object

func (CreateInstanceResponse) String

func (o CreateInstanceResponse) String() string

type CreateManualBackupRequest added in v0.0.88

type CreateManualBackupRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

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

CreateManualBackupRequest Request Object

func (CreateManualBackupRequest) String added in v0.0.88

func (o CreateManualBackupRequest) String() string

type CreateManualBackupRequestBody added in v0.0.88

type CreateManualBackupRequestBody struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`

	// 备份名称,4~64个字符,必须以英文字母开头,区分大小写,可以包含英文字母、数字、中划线或者下划线,不能包含其他特殊字符。
	Name string `json:"name"`

	// 备份描述,不能包含>!<\"&'=特殊字符,不大于256个字符。
	Description *string `json:"description,omitempty"`
}

func (CreateManualBackupRequestBody) String added in v0.0.88

type CreateManualBackupResponse added in v0.0.88

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

	// 任务id。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateManualBackupResponse Response Object

func (CreateManualBackupResponse) String added in v0.0.88

type CreateRestoreInstanceRequest added in v0.0.88

type CreateRestoreInstanceRequest struct {

	// 语言
	XLanguage *CreateRestoreInstanceRequestXLanguage `json:"X-Language,omitempty"`

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

CreateRestoreInstanceRequest Request Object

func (CreateRestoreInstanceRequest) String added in v0.0.88

type CreateRestoreInstanceRequestXLanguage added in v0.0.88

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

func (CreateRestoreInstanceRequestXLanguage) MarshalJSON added in v0.0.88

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

func (*CreateRestoreInstanceRequestXLanguage) UnmarshalJSON added in v0.0.88

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

func (CreateRestoreInstanceRequestXLanguage) Value added in v0.0.90

type CreateRestoreInstanceRequestXLanguageEnum added in v0.0.88

type CreateRestoreInstanceRequestXLanguageEnum struct {
	ZH_CN CreateRestoreInstanceRequestXLanguage
	EN_US CreateRestoreInstanceRequestXLanguage
}

func GetCreateRestoreInstanceRequestXLanguageEnum added in v0.0.88

func GetCreateRestoreInstanceRequestXLanguageEnum() CreateRestoreInstanceRequestXLanguageEnum

type CreateRestoreInstanceResponse added in v0.0.88

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

	// 恢复新实例的任务id。  仅恢复按需实例时会返回该参数。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateRestoreInstanceResponse Response Object

func (CreateRestoreInstanceResponse) String added in v0.0.88

type DataStroeErrorResponse added in v0.0.83

type DataStroeErrorResponse struct {

	// 错误码
	ErrorCode string `json:"error_code"`

	// 错误消息。
	ErrorMsg string `json:"error_msg"`
}

func (DataStroeErrorResponse) String added in v0.0.83

func (o DataStroeErrorResponse) String() string

type DatastoreOption added in v0.1.13

type DatastoreOption struct {

	// 数据库版本。支持2.3版本,取值为“2.3”。
	EngineVersion string `json:"engine_version"`

	// 部署形态。
	InstanceMode DatastoreOptionInstanceMode `json:"instance_mode"`
}

func (DatastoreOption) String added in v0.1.13

func (o DatastoreOption) String() string

type DatastoreOptionInstanceMode added in v0.1.13

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

func (DatastoreOptionInstanceMode) MarshalJSON added in v0.1.13

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

func (*DatastoreOptionInstanceMode) UnmarshalJSON added in v0.1.13

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

func (DatastoreOptionInstanceMode) Value added in v0.1.13

type DatastoreOptionInstanceModeEnum added in v0.1.13

type DatastoreOptionInstanceModeEnum struct {
	HA          DatastoreOptionInstanceMode
	INDEPENDENT DatastoreOptionInstanceMode
}

func GetDatastoreOptionInstanceModeEnum added in v0.1.13

func GetDatastoreOptionInstanceModeEnum() DatastoreOptionInstanceModeEnum

type DatastoresResult added in v0.1.13

type DatastoresResult struct {

	// 部署形态支持的引擎版本列表
	SupportedVersions []string `json:"supported_versions"`

	// 部署形态
	InstanceMode DatastoresResultInstanceMode `json:"instance_mode"`
}

DatastoresResult 数据库引擎列表。

func (DatastoresResult) String added in v0.1.13

func (o DatastoresResult) String() string

type DatastoresResultInstanceMode added in v0.1.13

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

func (DatastoresResultInstanceMode) MarshalJSON added in v0.1.13

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

func (*DatastoresResultInstanceMode) UnmarshalJSON added in v0.1.13

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

func (DatastoresResultInstanceMode) Value added in v0.1.13

type DatastoresResultInstanceModeEnum added in v0.1.13

type DatastoresResultInstanceModeEnum struct {
	HA          DatastoresResultInstanceMode
	INDEPENDENT DatastoresResultInstanceMode
}

func GetDatastoresResultInstanceModeEnum added in v0.1.13

func GetDatastoresResultInstanceModeEnum() DatastoresResultInstanceModeEnum

type DbUserPwdRequest added in v0.0.88

type DbUserPwdRequest struct {

	// 数据库帐号名称,不能为系统账号用户。系统用户包括“rdsAdmin”,“ rdsMetric”, “rdsBackup”, “rdsRepl”。
	Name string `json:"name"`

	// 数据库帐号密码。  取值范围:  非空,至少包含以下字符中的三种:大写字母、小写字母、数字和特殊符号~!@#%^*-_=+?,组成,长度8~32个字符,不能和数据库帐号“name”或“name”的逆序相同,或不能和当前密码相同。  建议您输入高强度密码,以提高安全性,防止出现密码被暴力破解等安全风险。
	Password string `json:"password"`
}

func (DbUserPwdRequest) String added in v0.0.88

func (o DbUserPwdRequest) String() string

type DeleteBackupErrorResponse added in v0.0.88

type DeleteBackupErrorResponse struct {

	// 错误码
	ErrorCode string `json:"error_code"`

	// 错误消息。
	ErrorMsg string `json:"error_msg"`
}

func (DeleteBackupErrorResponse) String added in v0.0.88

func (o DeleteBackupErrorResponse) String() string

type DeleteConfigurationRequest added in v0.1.13

type DeleteConfigurationRequest struct {

	// 语言。
	XLanguage *DeleteConfigurationRequestXLanguage `json:"X-Language,omitempty"`

	// 参数配置模板ID。
	ConfigId string `json:"config_id"`
}

DeleteConfigurationRequest Request Object

func (DeleteConfigurationRequest) String added in v0.1.13

type DeleteConfigurationRequestXLanguage added in v0.1.13

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

func (DeleteConfigurationRequestXLanguage) MarshalJSON added in v0.1.13

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

func (*DeleteConfigurationRequestXLanguage) UnmarshalJSON added in v0.1.13

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

func (DeleteConfigurationRequestXLanguage) Value added in v0.1.13

type DeleteConfigurationRequestXLanguageEnum added in v0.1.13

type DeleteConfigurationRequestXLanguageEnum struct {
	ZH_CN DeleteConfigurationRequestXLanguage
	EN_US DeleteConfigurationRequestXLanguage
}

func GetDeleteConfigurationRequestXLanguageEnum added in v0.1.13

func GetDeleteConfigurationRequestXLanguageEnum() DeleteConfigurationRequestXLanguageEnum

type DeleteConfigurationResponse added in v0.1.13

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

DeleteConfigurationResponse Response Object

func (DeleteConfigurationResponse) String added in v0.1.13

type DeleteInstanceRequest

type DeleteInstanceRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 实例ID,严格匹配UUID规则。
	InstanceId string `json:"instance_id"`
}

DeleteInstanceRequest Request Object

func (DeleteInstanceRequest) String

func (o DeleteInstanceRequest) String() string

type DeleteInstanceResponse

type DeleteInstanceResponse struct {

	// 任务id。按需实例时仅返回任务id。
	JobId *string `json:"job_id,omitempty"`

	// 订单id。包周期实例时仅返回订单id。
	OrderId        *string `json:"order_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteInstanceResponse Response Object

func (DeleteInstanceResponse) String

func (o DeleteInstanceResponse) String() string

type DeleteJobRequest added in v0.1.13

type DeleteJobRequest struct {

	// 语言。
	XLanguage *DeleteJobRequestXLanguage `json:"X-Language,omitempty"`

	// 任务id。
	JobId string `json:"job_id"`
}

DeleteJobRequest Request Object

func (DeleteJobRequest) String added in v0.1.13

func (o DeleteJobRequest) String() string

type DeleteJobRequestXLanguage added in v0.1.13

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

func (DeleteJobRequestXLanguage) MarshalJSON added in v0.1.13

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

func (*DeleteJobRequestXLanguage) UnmarshalJSON added in v0.1.13

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

func (DeleteJobRequestXLanguage) Value added in v0.1.13

type DeleteJobRequestXLanguageEnum added in v0.1.13

type DeleteJobRequestXLanguageEnum struct {
	ZH_CN DeleteJobRequestXLanguage
	EN_US DeleteJobRequestXLanguage
}

func GetDeleteJobRequestXLanguageEnum added in v0.1.13

func GetDeleteJobRequestXLanguageEnum() DeleteJobRequestXLanguageEnum

type DeleteJobResponse added in v0.1.13

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

DeleteJobResponse Response Object

func (DeleteJobResponse) String added in v0.1.13

func (o DeleteJobResponse) String() string

type DeleteManualBackupRequest added in v0.0.88

type DeleteManualBackupRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 备份ID。
	BackupId string `json:"backup_id"`
}

DeleteManualBackupRequest Request Object

func (DeleteManualBackupRequest) String added in v0.0.88

func (o DeleteManualBackupRequest) String() string

type DeleteManualBackupResponse added in v0.0.88

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

DeleteManualBackupResponse Response Object

func (DeleteManualBackupResponse) String added in v0.0.88

type DownloadBackupErrorResponse added in v0.1.50

type DownloadBackupErrorResponse struct {

	// 错误码
	ErrorCode string `json:"error_code"`

	// 错误消息。
	ErrorMsg string `json:"error_msg"`
}

func (DownloadBackupErrorResponse) String added in v0.1.50

type DownloadBackupRequest added in v0.1.50

type DownloadBackupRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 备份ID。
	BackupId string `json:"backup_id"`
}

DownloadBackupRequest Request Object

func (DownloadBackupRequest) String added in v0.1.50

func (o DownloadBackupRequest) String() string

type DownloadBackupResponse added in v0.1.50

type DownloadBackupResponse struct {

	// 备份文件信息。
	Files *[]DownloadObject `json:"files,omitempty"`

	// 桶名。
	Bucket         *string `json:"bucket,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DownloadBackupResponse Response Object

func (DownloadBackupResponse) String added in v0.1.50

func (o DownloadBackupResponse) String() string

type DownloadObject added in v0.1.50

type DownloadObject struct {

	// 文件名称。
	Name *string `json:"name,omitempty"`

	// 文件大小。
	Size float32 `json:"size,omitempty"`

	// 下载链接。
	DownloadLink *string `json:"download_link,omitempty"`

	// 链接过期时间,格式为“yyyy-mm-ddThh:mm:ssZ”。 其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
	LinkExpiredTime *string `json:"link_expired_time,omitempty"`
}

func (DownloadObject) String added in v0.1.50

func (o DownloadObject) String() string

type EpsQuotasOption added in v0.1.13

type EpsQuotasOption struct {

	// 企业项目Id。
	EnterpriseProjectsId string `json:"enterprise_projects_id"`

	// 实例的配额。取值范围:实际创建的实例个数 ~ 100,000。
	InstanceQuota *int32 `json:"instance_quota,omitempty"`

	// cpu的配额。取值范围:实际使用的cpu核数 ~ 2,147,483,646。
	VcpusQuota *int32 `json:"vcpus_quota,omitempty"`

	// 内存的配额。单位GB。取值范围:实际使用的内存 ~ 2,147,483,646。
	RamQuota *int32 `json:"ram_quota,omitempty"`

	// 存储空间的配额。单位:GB。取值范围:实际使用的存储空间 ~ 2,147,483,646。
	VolumeQuota *int32 `json:"volume_quota,omitempty"`
}

func (EpsQuotasOption) String added in v0.1.13

func (o EpsQuotasOption) String() string

type Flavor added in v0.0.83

type Flavor struct {

	// CPU个数。
	Vcpus string `json:"vcpus"`

	// 内存大小,单位为GB。
	Ram string `json:"ram"`

	// 资源规格编码。例如:gaussdb.opengauss.ee.dn.m6.4xlarge.8.in。
	SpecCode string `json:"spec_code"`

	// 可用az
	AvailabilityZone []string `json:"availability_zone"`

	// 其中key是可用区编号,value是规格所在az的状态,包含以下状态: - normal,在售。 - unsupported,暂不支持该规格。 - sellout,售罄。
	AzStatus map[string]string `json:"az_status"`

	// 该规格支持的数据库版本号
	Version string `json:"version"`

	// 数组库引擎名称
	Name string `json:"name"`

	// 性能规格,包含以下状态: - normal:通用增强型。 - normal2:通用增强Ⅱ型。 - armFlavors:鲲鹏通用增强型。 - dedicicatenormal :x86独享型。 - armlocalssd:鲲鹏通用型。 - normallocalssd:x86通用型。 - general:通用型。 - dedicated:独享型,仅云盘SSD支持。 - rapid:独享型,仅极速型SSD支持。
	GroupType string `json:"group_type"`
}

Flavor 规格信息。

func (Flavor) String added in v0.0.83

func (o Flavor) String() string

type FlavorErrorResponse added in v0.0.83

type FlavorErrorResponse struct {

	// 错误码
	ErrorCode string `json:"error_code"`

	// 错误消息。
	ErrorMsg string `json:"error_msg"`
}

func (FlavorErrorResponse) String added in v0.0.83

func (o FlavorErrorResponse) String() string

type FlavorResult added in v0.1.43

type FlavorResult struct {

	// CPU个数。
	Vcpus string `json:"vcpus"`

	// 内存大小,单位为GB。
	Ram string `json:"ram"`

	// 资源规格编码。例如:gaussdb.opengauss.ee.dn.m6.4xlarge.8.in。
	SpecCode string `json:"spec_code"`

	// 其中key是可用区编号,value是规格所在az的状态,包含以下状态: - normal,在售。 - unsupported,暂不支持该规格。 - sellout,售罄。
	AzStatus map[string]string `json:"az_status"`

	// 可用az
	AvailabilityZone []string `json:"availability_zone"`

	// 数组形式版本号
	Version string `json:"version"`

	// 数组库引擎版本
	Name string `json:"name"`

	// 性能规格,包含以下状态: - normal:通用增强型。 - normal2:通用增强Ⅱ型。 - armFlavors:鲲鹏通用增强型。 - dedicicatenormal :x86独享型。 - armlocalssd:鲲鹏通用型。 - normallocalssd:x86通用型。 - general:通用型。 - dedicated:独享型,仅云盘SSD支持。 - rapid:独享型,仅极速型SSD支持。
	GroupType string `json:"group_type"`
}

FlavorResult 规格信息。

func (FlavorResult) String added in v0.1.43

func (o FlavorResult) String() string

type GaussDBforOpenDatabaseForCreation added in v0.0.88

type GaussDBforOpenDatabaseForCreation struct {

	// 数据库名称。  数据库名称长度可在1~63个字符之间,由字母、数字、或下划线组成,不能包含其他特殊字符,不能以“pg”和数字开头,且不能和GaussDB 模板库重名。 GaussDB 模板库包括postgres, template0 ,template1。
	Name string `json:"name"`

	// 数据库字符集。默认C。
	CharacterSet *string `json:"character_set,omitempty"`

	// 数据库所属用户,缺省时默认是root,不能和系统用户重名,且必须是已存在的用户。  系统用户包括“rdsAdmin”,“ rdsMetric”, “rdsBackup”, “rdsRepl”。
	Owner *string `json:"owner,omitempty"`

	// 数据库模板名称,仅为template0。
	Template *string `json:"template,omitempty"`

	// 数据库排序集。默认默认C。  - 须知: 不同的排序规则下,相同字符串的比较其结果可能是不同的。 例如,在en_US.utf8下, select 'a'>'A';执行结果为false,但在'C'下,select 'a'>'A';结果为true。如果数据库从“O”迁移到GaussDB ,数据库排序集需使用'C'才能得到一致的预期。支持的排序规则可以查询系统表 pg_collation。
	LcCollate *string `json:"lc_collate,omitempty"`

	// 数据库分类集。默认C。
	LcCtype *string `json:"lc_ctype,omitempty"`
}

GaussDBforOpenDatabaseForCreation 数据库信息。

func (GaussDBforOpenDatabaseForCreation) String added in v0.0.88

type GaussDBforOpenGaussCreateSchemaReq added in v0.0.88

type GaussDBforOpenGaussCreateSchemaReq struct {

	// schema名称。  schema名称在1到63个字符之间,由字母、数字、或下划线组成,不能包含其他特殊字符,不能以“pg”和数字开头,且不能和GaussDB 模板库和已存在的schema重名。 GaussDB 模板库包括postgres, template0 ,template1。  已存在的schema包括public,information_schema。
	Name string `json:"name"`

	// 数据库属主用户。  数据库属主名称在1到63个字符之间,不能以“pg”和数字开头,不能和系统用户名称相同。  系统用户包括“rdsAdmin”,“ rdsMetric”, “rdsBackup”, “rdsRepl”。
	Owner string `json:"owner"`
}

func (GaussDBforOpenGaussCreateSchemaReq) String added in v0.0.88

type GaussDBforOpenGaussDatabaseForListSchema added in v0.0.88

type GaussDBforOpenGaussDatabaseForListSchema struct {

	// schema名称。
	SchemaName string `json:"schema_name"`

	// schema所属用户。
	Owner string `json:"owner"`
}

GaussDBforOpenGaussDatabaseForListSchema 数据库schema信息。

func (GaussDBforOpenGaussDatabaseForListSchema) String added in v0.0.88

type GaussDBforOpenGaussDatabaseSchemaReq added in v0.0.88

type GaussDBforOpenGaussDatabaseSchemaReq struct {

	// 数据库名称。  数据库名称在1到63个字符之间,由字母、数字、或下划线组成,不能包含其他特殊字符,不能以“pg”和数字开头,且不能和GaussDB 模板库重名。  GaussDB 模板库包括postgres, template0 ,template1。
	DbName string `json:"db_name"`

	// 每个元素都是与数据库相关联的schmea信息。单次请求最多支持20个元素。
	Schemas []GaussDBforOpenGaussCreateSchemaReq `json:"schemas"`
}

GaussDBforOpenGaussDatabaseSchemaReq 创建数据库schema信息。

func (GaussDBforOpenGaussDatabaseSchemaReq) String added in v0.0.88

type GaussDBforOpenGaussGrantRequest added in v0.0.88

type GaussDBforOpenGaussGrantRequest struct {

	// 数据库名称。  数据库名称在1到63个字符之间,由字母、数字、或下划线组成,不能包含其他特殊字符,不能以“pg”和数字开头,且不能和GaussDB 模板库重名。  GaussDB 模板库包括postgres, template0 ,template1。
	DbName string `json:"db_name"`

	// 每个元素都是与数据库相关联的帐号。单次请求最多支持50个元素。
	Users []GaussDBforOpenGaussUserWithPrivilege `json:"users"`
}

func (GaussDBforOpenGaussGrantRequest) String added in v0.0.88

type GaussDBforOpenGaussListDatabase added in v0.0.88

type GaussDBforOpenGaussListDatabase struct {

	// 数据库名称。
	Name *string `json:"name,omitempty"`

	// 数据库所属用户。
	Owner *string `json:"owner,omitempty"`

	// 数据库使用的字符集,例如UTF8。
	CharacterSet *string `json:"character_set,omitempty"`

	// 数据库排序集,例如en_US.UTF-8等。
	CollateSet *string `json:"collate_set,omitempty"`

	// 数据库大小(单位:MB)。
	Size *string `json:"size,omitempty"`
}

GaussDBforOpenGaussListDatabase 数据库信息。

func (GaussDBforOpenGaussListDatabase) String added in v0.0.88

type GaussDBforOpenGaussUserForCreation added in v0.0.88

type GaussDBforOpenGaussUserForCreation struct {

	// 数据库用户名称。  数据库用户名称在1到63个字符之间,由字母、数字、或下划线组成,不能包含其他特殊字符,不能以“pg”和数字开头,不能和系统用户名称相同。  系统用户包括“rdsAdmin”,“ rdsMetric”, “rdsBackup”, “rdsRepl”。
	Name string `json:"name"`

	// 数据库用户密码。  取值范围:非空,密码长度在8到32个字符之间,至少包含大写字母、小写字母、数字、特殊字符~!@#%^*-_=+?,三种字符的组合,不能和数据库帐号“name”或“name”的逆序相同。  建议您输入高强度密码,以提高安全性,防止出现密码被暴力破解等安全风险。
	Password string `json:"password"`

	// 数据库账户是否只支持登入。 取值范围:不传值或设置为false,创建数据库账号包含登入数据库、创建数据库与用户权限,设置为true,只包含登入数据库权限。
	IsLoginOnly *bool `json:"is_login_only,omitempty"`
}

func (GaussDBforOpenGaussUserForCreation) String added in v0.0.88

type GaussDBforOpenGaussUserForList added in v0.0.88

type GaussDBforOpenGaussUserForList struct {

	// 帐号名。
	Name string `json:"name"`

	Attributes *GaussDBforOpenGaussUserForListAttributes `json:"attributes,omitempty"`

	// 用户的默认权限。
	Memberof *string `json:"memberof,omitempty"`
}

GaussDBforOpenGaussUserForList 数据库用户信息。

func (GaussDBforOpenGaussUserForList) String added in v0.0.88

type GaussDBforOpenGaussUserForListAttributes added in v0.0.88

type GaussDBforOpenGaussUserForListAttributes struct {

	// 用户是否具有超级用户权限,取值为“true”或“false”。
	Rolsuper *bool `json:"rolsuper,omitempty"`

	// 用户是否自动继承其所属角色的权限,取值为“true”或“false”。
	Rolinherit *bool `json:"rolinherit,omitempty"`

	// 用户是否支持创建其他子用户,取值为“true”或“false”。
	Rolcreaterole *bool `json:"rolcreaterole,omitempty"`

	// 用户是否可以创建数据库,取值为“true”或“false”。
	Rolcreatedb *bool `json:"rolcreatedb,omitempty"`

	// 用户是否可以登录数据库,取值为“true”或“false”。
	Rolcanlogin *bool `json:"rolcanlogin,omitempty"`

	// 用户连接实例的最大并发连接数。-1表示没有限制。
	Rolconnlimit *int32 `json:"rolconnlimit,omitempty"`

	// 用户是否属于复制角色,取值为“true”或“false”。
	Rolreplication *bool `json:"rolreplication,omitempty"`

	// 用户是否绕过每个行级安全策略,取值为“true”或“false”。
	Rolbypassrls *bool `json:"rolbypassrls,omitempty"`
}

GaussDBforOpenGaussUserForListAttributes 用户的权限属性。

func (GaussDBforOpenGaussUserForListAttributes) String added in v0.0.88

type GaussDBforOpenGaussUserWithPrivilege added in v0.0.88

type GaussDBforOpenGaussUserWithPrivilege struct {

	// 数据库帐号名称。  数据库帐号名称在1到63个字符之间,由字母、数字、或下划线组成,不能包含其他特殊字符,不能以“pg”和数字开头,不能和系统用户名称相同且帐号名称必须存在。  系统用户包括“rdsAdmin”,“ rdsMetric”, “rdsBackup”, “rdsRepl”。
	Name string `json:"name"`

	// 数据库帐号权限。 - true:只读。 - false:可读可写。
	Readonly bool `json:"readonly"`

	// schema名称。  schema名称在1到63个字符之间,由字母、数字、或下划线组成,不能包含其他特殊字符,不能以“pg”和数字开头,不能和GaussDB 模板库重名,且schema名称必须存在。  GaussDB 模板库包括postgres, template0 ,template1, public,information_schema。
	SchemaName string `json:"schema_name"`
}

GaussDBforOpenGaussUserWithPrivilege 用户及其权限。

func (GaussDBforOpenGaussUserWithPrivilege) String added in v0.0.88

type GetRestoreTimeResponseRestoreTime added in v0.0.88

type GetRestoreTimeResponseRestoreTime struct {

	// 可恢复时间段的起始时间点,UNIX时间戳格式,单位是毫秒,时区是UTC。
	StartTime int64 `json:"start_time"`

	// 可恢复时间段的结束时间点,UNIX时间戳格式,单位是毫秒,时区是UTC。
	EndTime int64 `json:"end_time"`
}

func (GetRestoreTimeResponseRestoreTime) String added in v0.0.88

type InstanceInfoResult added in v0.1.13

type InstanceInfoResult struct {

	// 实例ID。
	InstanceId *string `json:"instance_id,omitempty"`

	// 实例名称。
	InstanceName *string `json:"instance_name,omitempty"`

	// 实例状态。
	InstanceStatus *string `json:"instance_status,omitempty"`
}

func (InstanceInfoResult) String added in v0.1.13

func (o InstanceInfoResult) String() string

type InstancesListResult added in v0.1.13

type InstancesListResult struct {

	// 实例ID。
	InstanceId *string `json:"instance_id,omitempty"`

	// 实例名称。
	InstanceName *string `json:"instance_name,omitempty"`
}

func (InstancesListResult) String added in v0.1.13

func (o InstancesListResult) String() string

type InstancesResult added in v0.1.13

type InstancesResult struct {

	// 实例名称。
	InstanceName *string `json:"instance_name,omitempty"`

	// 实例id。
	InstanceId *string `json:"instance_id,omitempty"`

	// 存储类型。
	VolumeType *string `json:"volume_type,omitempty"`

	// 磁盘大小,单位:GB。
	DataVolumeSize float32 `json:"data_volume_size,omitempty"`

	// 实例版本信息。
	Version float32 `json:"version,omitempty"`

	// 部署形态。
	Mode *InstancesResultMode `json:"mode,omitempty"`

	// 实例模型,企业版,标准版,基础版。
	InstanceMode *InstancesResultInstanceMode `json:"instance_mode,omitempty"`
}

func (InstancesResult) String added in v0.1.13

func (o InstancesResult) String() string

type InstancesResultInstanceMode added in v0.1.13

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

func (InstancesResultInstanceMode) MarshalJSON added in v0.1.13

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

func (*InstancesResultInstanceMode) UnmarshalJSON added in v0.1.13

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

func (InstancesResultInstanceMode) Value added in v0.1.13

type InstancesResultInstanceModeEnum added in v0.1.13

type InstancesResultInstanceModeEnum struct {
	ENTERPRISE InstancesResultInstanceMode
	STANDARD   InstancesResultInstanceMode
	BASIC      InstancesResultInstanceMode
}

func GetInstancesResultInstanceModeEnum added in v0.1.13

func GetInstancesResultInstanceModeEnum() InstancesResultInstanceModeEnum

type InstancesResultMode added in v0.1.13

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

func (InstancesResultMode) MarshalJSON added in v0.1.13

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

func (*InstancesResultMode) UnmarshalJSON added in v0.1.13

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

func (InstancesResultMode) Value added in v0.1.13

func (c InstancesResultMode) Value() string

type InstancesResultModeEnum added in v0.1.13

type InstancesResultModeEnum struct {
	HA          InstancesResultMode
	INDEPENDENT InstancesResultMode
}

func GetInstancesResultModeEnum added in v0.1.13

func GetInstancesResultModeEnum() InstancesResultModeEnum

type JobDetail added in v0.1.1

type JobDetail struct {

	// 任务ID
	Id string `json:"id"`

	// 任务名称。
	Name string `json:"name"`

	// 任务执行状态。
	Status string `json:"status"`

	// 任务创建时间,格式为yyyy-mm-ddThh:mm:ssZ。
	Created string `json:"created"`

	// 任务结束时间,格式为yyyy-mm-ddThh:mm:ssZ。
	Ended string `json:"ended"`

	// 任务执行进度。
	Progress string `json:"progress"`

	Instance *JobInstanceInfo `json:"instance"`

	// 任务执行失败时的错误信息。
	FailReason string `json:"fail_reason"`
}

func (JobDetail) String added in v0.1.1

func (o JobDetail) String() string

type JobInstanceInfo added in v0.1.1

type JobInstanceInfo struct {

	// 实例ID。
	Id string `json:"id"`

	// 实例名称。
	Name string `json:"name"`
}

func (JobInstanceInfo) String added in v0.1.1

func (o JobInstanceInfo) String() string

type ListApplicableInstancesRequest added in v0.1.13

type ListApplicableInstancesRequest struct {

	// 语言。
	XLanguage *ListApplicableInstancesRequestXLanguage `json:"X-Language,omitempty"`

	// 参数配置模板ID。
	ConfigId string `json:"config_id"`

	// 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
	Offset *int32 `json:"offset,omitempty"`

	// 查询记录数。默认为100,不能为负数,最小值为1,最大值为100。
	Limit *int32 `json:"limit,omitempty"`
}

ListApplicableInstancesRequest Request Object

func (ListApplicableInstancesRequest) String added in v0.1.13

type ListApplicableInstancesRequestXLanguage added in v0.1.13

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

func (ListApplicableInstancesRequestXLanguage) MarshalJSON added in v0.1.13

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

func (*ListApplicableInstancesRequestXLanguage) UnmarshalJSON added in v0.1.13

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

func (ListApplicableInstancesRequestXLanguage) Value added in v0.1.13

type ListApplicableInstancesRequestXLanguageEnum added in v0.1.13

type ListApplicableInstancesRequestXLanguageEnum struct {
	ZH_CN ListApplicableInstancesRequestXLanguage
	EN_US ListApplicableInstancesRequestXLanguage
}

func GetListApplicableInstancesRequestXLanguageEnum added in v0.1.13

func GetListApplicableInstancesRequestXLanguageEnum() ListApplicableInstancesRequestXLanguageEnum

type ListApplicableInstancesResponse added in v0.1.13

type ListApplicableInstancesResponse struct {

	// 实例列表,显示实例ID和实例名称。
	Instances *[]InstancesListResult `json:"instances,omitempty"`

	// 查询数量。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListApplicableInstancesResponse Response Object

func (ListApplicableInstancesResponse) String added in v0.1.13

type ListAppliedHistoriesRequest added in v0.1.13

type ListAppliedHistoriesRequest struct {

	// 语言。默认值:en-us。
	XLanguage *ListAppliedHistoriesRequestXLanguage `json:"X-Language,omitempty"`

	// 参数配置模板ID。
	ConfigId string `json:"config_id"`

	// 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
	Offset *int32 `json:"offset,omitempty"`

	// 查询记录数。默认为100,不能为负数,最小值为1,最大值为100。
	Limit *int32 `json:"limit,omitempty"`
}

ListAppliedHistoriesRequest Request Object

func (ListAppliedHistoriesRequest) String added in v0.1.13

type ListAppliedHistoriesRequestXLanguage added in v0.1.13

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

func (ListAppliedHistoriesRequestXLanguage) MarshalJSON added in v0.1.13

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

func (*ListAppliedHistoriesRequestXLanguage) UnmarshalJSON added in v0.1.13

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

func (ListAppliedHistoriesRequestXLanguage) Value added in v0.1.13

type ListAppliedHistoriesRequestXLanguageEnum added in v0.1.13

type ListAppliedHistoriesRequestXLanguageEnum struct {
	ZH_CN ListAppliedHistoriesRequestXLanguage
	EN_US ListAppliedHistoriesRequestXLanguage
}

func GetListAppliedHistoriesRequestXLanguageEnum added in v0.1.13

func GetListAppliedHistoriesRequestXLanguageEnum() ListAppliedHistoriesRequestXLanguageEnum

type ListAppliedHistoriesResponse added in v0.1.13

type ListAppliedHistoriesResponse struct {

	// 应用记录总数。
	TotalCount *int32 `json:"total_count,omitempty"`

	// 应用记录列表。
	Histories      *[]AppliedHistoriesResult `json:"histories,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

ListAppliedHistoriesResponse Response Object

func (ListAppliedHistoriesResponse) String added in v0.1.13

type ListAvailableFlavorsRequest added in v0.1.13

type ListAvailableFlavorsRequest struct {

	// 语言
	XLanguage *ListAvailableFlavorsRequestXLanguage `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId string `json:"instance_id"`

	// 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
	Offset *int32 `json:"offset,omitempty"`

	// 查询记录数。默认为100,不能为负数,最小值为1,最大值为100。
	Limit *int32 `json:"limit,omitempty"`
}

ListAvailableFlavorsRequest Request Object

func (ListAvailableFlavorsRequest) String added in v0.1.13

type ListAvailableFlavorsRequestXLanguage added in v0.1.13

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

func (ListAvailableFlavorsRequestXLanguage) MarshalJSON added in v0.1.13

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

func (*ListAvailableFlavorsRequestXLanguage) UnmarshalJSON added in v0.1.13

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

func (ListAvailableFlavorsRequestXLanguage) Value added in v0.1.13

type ListAvailableFlavorsRequestXLanguageEnum added in v0.1.13

type ListAvailableFlavorsRequestXLanguageEnum struct {
	ZH_CN ListAvailableFlavorsRequestXLanguage
	EN_US ListAvailableFlavorsRequestXLanguage
}

func GetListAvailableFlavorsRequestXLanguageEnum added in v0.1.13

func GetListAvailableFlavorsRequestXLanguageEnum() ListAvailableFlavorsRequestXLanguageEnum

type ListAvailableFlavorsResponse added in v0.1.13

type ListAvailableFlavorsResponse struct {

	// 实例可变更规格信息列表。
	Flavors *[]AvailableFlavorInfoResult `json:"flavors,omitempty"`

	// 总记录数。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListAvailableFlavorsResponse Response Object

func (ListAvailableFlavorsResponse) String added in v0.1.13

type ListBackupsRequest added in v0.0.88

type ListBackupsRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId *string `json:"instance_id,omitempty"`

	// 备份ID。
	BackupId *string `json:"backup_id,omitempty"`

	// 备份类型,取值:   \"auto\":自动全量备份   \"manual\":手动全量备份
	BackupType *ListBackupsRequestBackupType `json:"backup_type,omitempty"`

	// 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
	Offset *int32 `json:"offset,omitempty"`

	// 查询记录数。默认为100,不能为负数,最小值为1,最大值为100。
	Limit *int32 `json:"limit,omitempty"`

	// 查询开始时间,格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。与end_time必须同时使用。
	BeginTime *string `json:"begin_time,omitempty"`

	// 查询结束时间,格式为“yyyy-mm-ddThh:mm:ssZ”,且大于查询开始时间。其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。与begin_time必须同时使用。
	EndTime *string `json:"end_time,omitempty"`
}

ListBackupsRequest Request Object

func (ListBackupsRequest) String added in v0.0.88

func (o ListBackupsRequest) String() string

type ListBackupsRequestBackupType added in v0.0.88

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

func (ListBackupsRequestBackupType) MarshalJSON added in v0.0.88

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

func (*ListBackupsRequestBackupType) UnmarshalJSON added in v0.0.88

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

func (ListBackupsRequestBackupType) Value added in v0.0.90

type ListBackupsRequestBackupTypeEnum added in v0.0.88

type ListBackupsRequestBackupTypeEnum struct {
	AUTO   ListBackupsRequestBackupType
	MANUAL ListBackupsRequestBackupType
}

func GetListBackupsRequestBackupTypeEnum added in v0.0.88

func GetListBackupsRequestBackupTypeEnum() ListBackupsRequestBackupTypeEnum

type ListBackupsResponse added in v0.0.88

type ListBackupsResponse struct {

	// 备份信息。
	Backups *[]Backups `json:"backups,omitempty"`

	// 备份文件的总数。
	TotalCount     *int64 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListBackupsResponse Response Object

func (ListBackupsResponse) String added in v0.0.88

func (o ListBackupsResponse) String() string

type ListBindedEipsRequest added in v0.1.13

type ListBindedEipsRequest struct {

	// 语言
	XLanguage *ListBindedEipsRequestXLanguage `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId string `json:"instance_id"`

	// 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
	Offset *int32 `json:"offset,omitempty"`

	// 查询记录数。默认为50,不能为负数,最小值为1,最大值为50。
	Limit *int32 `json:"limit,omitempty"`
}

ListBindedEipsRequest Request Object

func (ListBindedEipsRequest) String added in v0.1.13

func (o ListBindedEipsRequest) String() string

type ListBindedEipsRequestXLanguage added in v0.1.13

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

func (ListBindedEipsRequestXLanguage) MarshalJSON added in v0.1.13

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

func (*ListBindedEipsRequestXLanguage) UnmarshalJSON added in v0.1.13

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

func (ListBindedEipsRequestXLanguage) Value added in v0.1.13

type ListBindedEipsRequestXLanguageEnum added in v0.1.13

type ListBindedEipsRequestXLanguageEnum struct {
	ZH_CN ListBindedEipsRequestXLanguage
	EN_US ListBindedEipsRequestXLanguage
}

func GetListBindedEipsRequestXLanguageEnum added in v0.1.13

func GetListBindedEipsRequestXLanguageEnum() ListBindedEipsRequestXLanguageEnum

type ListBindedEipsResponse added in v0.1.13

type ListBindedEipsResponse struct {

	// 查询实例已绑定EIP列表。
	PublicIps *[]BindedEipResult `json:"public_ips,omitempty"`

	// 总记录数。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListBindedEipsResponse Response Object

func (ListBindedEipsResponse) String added in v0.1.13

func (o ListBindedEipsResponse) String() string

type ListComponentInfosRequest added in v0.0.90

type ListComponentInfosRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId string `json:"instance_id"`

	// 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
	Offset *int32 `json:"offset,omitempty"`

	// 查询记录数。默认为100,不能为负数,最小值为1,最大值为100
	Limit *int32 `json:"limit,omitempty"`
}

ListComponentInfosRequest Request Object

func (ListComponentInfosRequest) String added in v0.0.90

func (o ListComponentInfosRequest) String() string

type ListComponentInfosResponse added in v0.0.90

type ListComponentInfosResponse struct {

	// 组件信息。
	Nodes *[]Nodes `json:"nodes,omitempty"`

	// 总记录数。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListComponentInfosResponse Response Object

func (ListComponentInfosResponse) String added in v0.0.90

type ListConfigurationsDiffRequest added in v0.1.13

type ListConfigurationsDiffRequest struct {

	// 语言。
	XLanguage *ListConfigurationsDiffRequestXLanguage `json:"X-Language,omitempty"`

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

ListConfigurationsDiffRequest Request Object

func (ListConfigurationsDiffRequest) String added in v0.1.13

type ListConfigurationsDiffRequestXLanguage added in v0.1.13

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

func (ListConfigurationsDiffRequestXLanguage) MarshalJSON added in v0.1.13

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

func (*ListConfigurationsDiffRequestXLanguage) UnmarshalJSON added in v0.1.13

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

func (ListConfigurationsDiffRequestXLanguage) Value added in v0.1.13

type ListConfigurationsDiffRequestXLanguageEnum added in v0.1.13

type ListConfigurationsDiffRequestXLanguageEnum struct {
	ZH_CN ListConfigurationsDiffRequestXLanguage
	EN_US ListConfigurationsDiffRequestXLanguage
}

func GetListConfigurationsDiffRequestXLanguageEnum added in v0.1.13

func GetListConfigurationsDiffRequestXLanguageEnum() ListConfigurationsDiffRequestXLanguageEnum

type ListConfigurationsDiffResponse added in v0.1.13

type ListConfigurationsDiffResponse struct {

	// 参数组之间的差异集合。
	Differences    *[]ListDiffDetailsResult `json:"differences,omitempty"`
	HttpStatusCode int                      `json:"-"`
}

ListConfigurationsDiffResponse Response Object

func (ListConfigurationsDiffResponse) String added in v0.1.13

type ListConfigurationsRequest added in v0.0.83

type ListConfigurationsRequest struct {

	// 语言
	XLanguage *ListConfigurationsRequestXLanguage `json:"X-Language,omitempty"`

	// 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
	Offset *int32 `json:"offset,omitempty"`

	// 查询记录数。默认为100,不能为负数,最小值为1,最大值为100。
	Limit *int32 `json:"limit,omitempty"`
}

ListConfigurationsRequest Request Object

func (ListConfigurationsRequest) String added in v0.0.83

func (o ListConfigurationsRequest) String() string

type ListConfigurationsRequestXLanguage added in v0.0.83

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

func (ListConfigurationsRequestXLanguage) MarshalJSON added in v0.0.83

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

func (*ListConfigurationsRequestXLanguage) UnmarshalJSON added in v0.0.83

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

func (ListConfigurationsRequestXLanguage) Value added in v0.0.90

type ListConfigurationsRequestXLanguageEnum added in v0.0.83

type ListConfigurationsRequestXLanguageEnum struct {
	ZH_CN ListConfigurationsRequestXLanguage
	EN_US ListConfigurationsRequestXLanguage
}

func GetListConfigurationsRequestXLanguageEnum added in v0.0.83

func GetListConfigurationsRequestXLanguageEnum() ListConfigurationsRequestXLanguageEnum

type ListConfigurationsResponse added in v0.0.83

type ListConfigurationsResponse struct {
	Count *int32 `json:"count,omitempty"`

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

ListConfigurationsResponse Response Object

func (ListConfigurationsResponse) String added in v0.0.83

type ListDatabaseSchemasRequest added in v0.0.88

type ListDatabaseSchemasRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId string `json:"instance_id"`

	// 数据库名称。
	DbName string `json:"db_name"`

	// 偏移量表示从此偏移量开始查询, offset大于等于0。
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示的条目数量,取值范围[1, 100]。
	Limit *int32 `json:"limit,omitempty"`
}

ListDatabaseSchemasRequest Request Object

func (ListDatabaseSchemasRequest) String added in v0.0.88

type ListDatabaseSchemasResponse added in v0.0.88

type ListDatabaseSchemasResponse struct {

	// 列表中每个元素表示一个数据库schema。
	DatabaseSchemas *[]GaussDBforOpenGaussDatabaseForListSchema `json:"database_schemas,omitempty"`

	// 数据库schema总数。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListDatabaseSchemasResponse Response Object

func (ListDatabaseSchemasResponse) String added in v0.0.88

type ListDatabasesRequest added in v0.0.88

type ListDatabasesRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId string `json:"instance_id"`

	// 偏移量表示从此偏移量开始查询, offset大于等于0,默认0。
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示的条目数量,取值范围[1, 100],默认10。
	Limit *int32 `json:"limit,omitempty"`
}

ListDatabasesRequest Request Object

func (ListDatabasesRequest) String added in v0.0.88

func (o ListDatabasesRequest) String() string

type ListDatabasesResponse added in v0.0.88

type ListDatabasesResponse struct {

	// 列表中每个元素表示一个数据库。
	Databases *[]GaussDBforOpenGaussListDatabase `json:"databases,omitempty"`

	// 数据库总数。
	TotalCount     *int64 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListDatabasesResponse Response Object

func (ListDatabasesResponse) String added in v0.0.88

func (o ListDatabasesResponse) String() string

type ListDatastore

type ListDatastore struct {

	// 数据库引擎。
	Type string `json:"type"`

	// 数据库版本。
	Version string `json:"version"`
}

ListDatastore 数据库信息。

func (ListDatastore) String

func (o ListDatastore) String() string

type ListDatastoresRequest added in v0.0.83

type ListDatastoresRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`
}

ListDatastoresRequest Request Object

func (ListDatastoresRequest) String added in v0.0.83

func (o ListDatastoresRequest) String() string

type ListDatastoresResponse added in v0.0.83

type ListDatastoresResponse struct {

	// 数据库版本号。
	Versions       *[]string `json:"versions,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListDatastoresResponse Response Object

func (ListDatastoresResponse) String added in v0.0.83

func (o ListDatastoresResponse) String() string

type ListDbBackupsRequest added in v0.1.43

type ListDbBackupsRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId *string `json:"instance_id,omitempty"`

	// 备份ID。
	BackupId *string `json:"backup_id,omitempty"`

	// 备份类型,取值:   \"auto\":自动全量备份   \"manual\":手动全量备份
	BackupType *ListDbBackupsRequestBackupType `json:"backup_type,omitempty"`

	// 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
	Offset *int32 `json:"offset,omitempty"`

	// 查询记录数。默认为100,不能为负数,最小值为1,最大值为100。
	Limit *int32 `json:"limit,omitempty"`

	// 查询开始时间,格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。与end_time必须同时使用。
	BeginTime *string `json:"begin_time,omitempty"`

	// 查询结束时间,格式为“yyyy-mm-ddThh:mm:ssZ”,且大于查询开始时间。其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。与begin_time必须同时使用。
	EndTime *string `json:"end_time,omitempty"`
}

ListDbBackupsRequest Request Object

func (ListDbBackupsRequest) String added in v0.1.43

func (o ListDbBackupsRequest) String() string

type ListDbBackupsRequestBackupType added in v0.1.43

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

func (ListDbBackupsRequestBackupType) MarshalJSON added in v0.1.43

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

func (*ListDbBackupsRequestBackupType) UnmarshalJSON added in v0.1.43

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

func (ListDbBackupsRequestBackupType) Value added in v0.1.43

type ListDbBackupsRequestBackupTypeEnum added in v0.1.43

type ListDbBackupsRequestBackupTypeEnum struct {
	AUTO   ListDbBackupsRequestBackupType
	MANUAL ListDbBackupsRequestBackupType
}

func GetListDbBackupsRequestBackupTypeEnum added in v0.1.43

func GetListDbBackupsRequestBackupTypeEnum() ListDbBackupsRequestBackupTypeEnum

type ListDbBackupsResponse added in v0.1.43

type ListDbBackupsResponse struct {

	// 备份信息。
	Backups *[]BackupsResult `json:"backups,omitempty"`

	// 备份文件的总数。
	TotalCount     *int64 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListDbBackupsResponse Response Object

func (ListDbBackupsResponse) String added in v0.1.43

func (o ListDbBackupsResponse) String() string

type ListDbFlavorsRequest added in v0.1.43

type ListDbFlavorsRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 数据库版本号。
	Version *string `json:"version,omitempty"`

	// 规格编码
	SpecCode *string `json:"spec_code,omitempty"`

	// 实例类型  集中式centralization_standard  分布式enterprise
	HaMode *string `json:"ha_mode,omitempty"`

	// 查询记录数。默认为100,不能为负数,最小值为1,最大值为100。
	Limit *int32 `json:"limit,omitempty"`

	// 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
	Offset *int32 `json:"offset,omitempty"`
}

ListDbFlavorsRequest Request Object

func (ListDbFlavorsRequest) String added in v0.1.43

func (o ListDbFlavorsRequest) String() string

type ListDbFlavorsResponse added in v0.1.43

type ListDbFlavorsResponse struct {

	// 实例规格信息。
	Flavors *[]FlavorResult `json:"flavors,omitempty"`

	// 查询总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListDbFlavorsResponse Response Object

func (ListDbFlavorsResponse) String added in v0.1.43

func (o ListDbFlavorsResponse) String() string

type ListDbUsersRequest added in v0.0.88

type ListDbUsersRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId string `json:"instance_id"`

	// 偏移量表示从此偏移量开始查询, offset大于等于0。
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示的条目数量,取值范围[1, 100]。
	Limit *int32 `json:"limit,omitempty"`
}

ListDbUsersRequest Request Object

func (ListDbUsersRequest) String added in v0.0.88

func (o ListDbUsersRequest) String() string

type ListDbUsersResponse added in v0.0.88

type ListDbUsersResponse struct {

	// 列表中每个元素表示一个数据库用户。
	Users *[]GaussDBforOpenGaussUserForList `json:"users,omitempty"`

	// 数据库用户总数。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListDbUsersResponse Response Object

func (ListDbUsersResponse) String added in v0.0.88

func (o ListDbUsersResponse) String() string

type ListDiffDetailsResult added in v0.1.13

type ListDiffDetailsResult struct {

	// 参数名称。
	Name *string `json:"name,omitempty"`

	// 比较参数组的参数值。
	SourceValue *string `json:"source_value,omitempty"`

	// 目标参数组的参数值。
	TargetValue *string `json:"target_value,omitempty"`
}

ListDiffDetailsResult 参数配置模板差异列表

func (ListDiffDetailsResult) String added in v0.1.13

func (o ListDiffDetailsResult) String() string

type ListEpsQuotasRequest added in v0.1.13

type ListEpsQuotasRequest struct {

	// 语言, 默认值为en-us。
	XLanguage *ListEpsQuotasRequestXLanguage `json:"X-Language,omitempty"`

	// 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
	Offset *int32 `json:"offset,omitempty"`

	// 查询记录数。默认为100,不能为负数,最小值为1,最大值为100。
	Limit *int32 `json:"limit,omitempty"`

	// 企业项目ID。 - 对于未开通企业多项目服务的用户,不传该参数。 - 对于已开通企业多项目服务的用户,不传该参数时,表示为default企业项目。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

ListEpsQuotasRequest Request Object

func (ListEpsQuotasRequest) String added in v0.1.13

func (o ListEpsQuotasRequest) String() string

type ListEpsQuotasRequestXLanguage added in v0.1.13

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

func (ListEpsQuotasRequestXLanguage) MarshalJSON added in v0.1.13

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

func (*ListEpsQuotasRequestXLanguage) UnmarshalJSON added in v0.1.13

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

func (ListEpsQuotasRequestXLanguage) Value added in v0.1.13

type ListEpsQuotasRequestXLanguageEnum added in v0.1.13

type ListEpsQuotasRequestXLanguageEnum struct {
	ZH_CN ListEpsQuotasRequestXLanguage
	EN_US ListEpsQuotasRequestXLanguage
}

func GetListEpsQuotasRequestXLanguageEnum added in v0.1.13

func GetListEpsQuotasRequestXLanguageEnum() ListEpsQuotasRequestXLanguageEnum

type ListEpsQuotasResponse added in v0.1.13

type ListEpsQuotasResponse struct {

	// 企业配额列表。
	EpsQuotas *[]ListQuotaResult `json:"eps_quotas,omitempty"`

	// 配额组数量。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListEpsQuotasResponse Response Object

func (ListEpsQuotasResponse) String added in v0.1.13

func (o ListEpsQuotasResponse) String() string

type ListFlavorInfo

type ListFlavorInfo struct {

	// cpu核数。
	Vcpu int32 `json:"vcpu"`

	// 内存大小。
	Mem int32 `json:"mem"`
}

ListFlavorInfo 规格信息。

func (ListFlavorInfo) String

func (o ListFlavorInfo) String() string

type ListFlavorsRequest added in v0.0.83

type ListFlavorsRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 数据库版本号。
	Version *string `json:"version,omitempty"`

	// 规格编码
	SpecCode *string `json:"spec_code,omitempty"`

	// 实例类型  集中式centralization_standard  分布式enterprise
	HaMode *string `json:"ha_mode,omitempty"`

	// 查询记录数。默认为100,不能为负数,最小值为1,最大值为100。
	Limit *int32 `json:"limit,omitempty"`

	// 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
	Offset *int32 `json:"offset,omitempty"`
}

ListFlavorsRequest Request Object

func (ListFlavorsRequest) String added in v0.0.83

func (o ListFlavorsRequest) String() string

type ListFlavorsResponse added in v0.0.83

type ListFlavorsResponse struct {

	// 实例规格信息。
	Flavors *[]Flavor `json:"flavors,omitempty"`

	// 查询的记录总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListFlavorsResponse Response Object

func (ListFlavorsResponse) String added in v0.0.83

func (o ListFlavorsResponse) String() string

type ListGaussDbDatastoresRequest added in v0.1.13

type ListGaussDbDatastoresRequest struct {

	// 语言
	XLanguage *ListGaussDbDatastoresRequestXLanguage `json:"X-Language,omitempty"`
}

ListGaussDbDatastoresRequest Request Object

func (ListGaussDbDatastoresRequest) String added in v0.1.13

type ListGaussDbDatastoresRequestXLanguage added in v0.1.13

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

func (ListGaussDbDatastoresRequestXLanguage) MarshalJSON added in v0.1.13

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

func (*ListGaussDbDatastoresRequestXLanguage) UnmarshalJSON added in v0.1.13

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

func (ListGaussDbDatastoresRequestXLanguage) Value added in v0.1.13

type ListGaussDbDatastoresRequestXLanguageEnum added in v0.1.13

type ListGaussDbDatastoresRequestXLanguageEnum struct {
	ZH_CN ListGaussDbDatastoresRequestXLanguage
	EN_US ListGaussDbDatastoresRequestXLanguage
}

func GetListGaussDbDatastoresRequestXLanguageEnum added in v0.1.13

func GetListGaussDbDatastoresRequestXLanguageEnum() ListGaussDbDatastoresRequestXLanguageEnum

type ListGaussDbDatastoresResponse added in v0.1.13

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

ListGaussDbDatastoresResponse Response Object

func (ListGaussDbDatastoresResponse) String added in v0.1.13

type ListHa

type ListHa struct {

	// 数据库一致性类型,分布式模式实例仅有。取值为“strong”、“eventual”,分别表示强一致性、最终一致性。
	Consistency ListHaConsistency `json:"consistency"`

	// 备机同步参数。  取值:非空。  GaussDB为 “sync” 说明: “sync”为同步模式。
	ReplicationMode string `json:"replication_mode"`
}

ListHa 获取分布式/主备版实例时返回。

func (ListHa) String

func (o ListHa) String() string

type ListHaConsistency

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

func (ListHaConsistency) MarshalJSON

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

func (*ListHaConsistency) UnmarshalJSON

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

func (ListHaConsistency) Value added in v0.0.90

func (c ListHaConsistency) Value() string

type ListHaConsistencyEnum

type ListHaConsistencyEnum struct {
	STRONG   ListHaConsistency
	EVENTUAL ListHaConsistency
}

func GetListHaConsistencyEnum

func GetListHaConsistencyEnum() ListHaConsistencyEnum

type ListHaResult added in v0.1.43

type ListHaResult struct {

	// 数据库一致性类型,分布式模式实例仅有。取值为“strong”、“eventual”,分别表示强一致性、最终一致性。
	Consistency ListHaResultConsistency `json:"consistency"`

	// 备机同步参数。  取值:非空。  GaussDB为 “sync” 说明: “sync”为同步模式。
	ReplicationMode string `json:"replication_mode"`
}

ListHaResult 获取分布式/主备版实例时返回。

func (ListHaResult) String added in v0.1.43

func (o ListHaResult) String() string

type ListHaResultConsistency added in v0.1.43

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

func (ListHaResultConsistency) MarshalJSON added in v0.1.43

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

func (*ListHaResultConsistency) UnmarshalJSON added in v0.1.43

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

func (ListHaResultConsistency) Value added in v0.1.43

func (c ListHaResultConsistency) Value() string

type ListHaResultConsistencyEnum added in v0.1.43

type ListHaResultConsistencyEnum struct {
	STRONG   ListHaResultConsistency
	EVENTUAL ListHaResultConsistency
}

func GetListHaResultConsistencyEnum added in v0.1.43

func GetListHaResultConsistencyEnum() ListHaResultConsistencyEnum

type ListHistoryOperationsRequest added in v0.1.13

type ListHistoryOperationsRequest struct {

	// 语言, 默认值为en-us。
	XLanguage *ListHistoryOperationsRequestXLanguage `json:"X-Language,omitempty"`

	// 参数模板ID。
	ConfigId string `json:"config_id"`

	// 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
	Offset *int32 `json:"offset,omitempty"`

	// 查询记录数。默认为100,不能为负数,最小值为1,最大值为100。
	Limit *int32 `json:"limit,omitempty"`
}

ListHistoryOperationsRequest Request Object

func (ListHistoryOperationsRequest) String added in v0.1.13

type ListHistoryOperationsRequestXLanguage added in v0.1.13

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

func (ListHistoryOperationsRequestXLanguage) MarshalJSON added in v0.1.13

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

func (*ListHistoryOperationsRequestXLanguage) UnmarshalJSON added in v0.1.13

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

func (ListHistoryOperationsRequestXLanguage) Value added in v0.1.13

type ListHistoryOperationsRequestXLanguageEnum added in v0.1.13

type ListHistoryOperationsRequestXLanguageEnum struct {
	ZH_CN ListHistoryOperationsRequestXLanguage
	EN_US ListHistoryOperationsRequestXLanguage
}

func GetListHistoryOperationsRequestXLanguageEnum added in v0.1.13

func GetListHistoryOperationsRequestXLanguageEnum() ListHistoryOperationsRequestXLanguageEnum

type ListHistoryOperationsResponse added in v0.1.13

type ListHistoryOperationsResponse struct {

	// 参数修改历史的列表记录。
	Histories *[]ListHistoryOperationsResult `json:"histories,omitempty"`

	// 总记录数。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListHistoryOperationsResponse Response Object

func (ListHistoryOperationsResponse) String added in v0.1.13

type ListHistoryOperationsResult added in v0.1.13

type ListHistoryOperationsResult struct {

	// 参数名称。
	ParameterName string `json:"parameter_name"`

	// 修改前参数值。
	OldValue string `json:"old_value"`

	// 修改后参数值。
	NewValue string `json:"new_value"`

	// 修改状态 (SUCCESS | FAILED)。
	UpdateResult string `json:"update_result"`

	// 修改时间,格式为“yyyy-mm-ddThh:mm:ssZ”。 其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
	UpdatedAt string `json:"updated_at"`
}

ListHistoryOperationsResult 参数修改历史记录明细信息。

func (ListHistoryOperationsResult) String added in v0.1.13

type ListInstanceResponse

type ListInstanceResponse struct {

	// 实例ID。
	Id string `json:"id"`

	// 创建的实例名称。
	Name string `json:"name"`

	// 实例状态。  取值:  值为“BUILD”,表示实例正在创建。  值为“ACTIVE”,表示实例正常。  值为“FAILED”,表示实例异常。  值为“FROZEN”,表示实例冻结。  值为“EXPANDING”,表示实例正在扩容CN或DN。  值为“REBOOTING”,表示实例正在重启。  值为“UPGRADING”,表示实例正在升级。  值为“RESTORING”,表示实例正在恢复。  值为“BACKING UP”,表示实例正在进行备份。  值为“REDUCING REPLICATION”,表示实例正在降副本。  值为“STORAGE FULL”,表示实例磁盘空间满。
	Status string `json:"status"`

	// 实例内网IP地址列表。分布式CN所在的弹性云服务器创建成功后该值存在,主备版DN所在的弹性云服务器创建成功后该值存在,其他情况下为空字符串。
	PrivateIps []string `json:"private_ips"`

	// 实例外网IP地址列表。绑定弹性公网IP后,该值不为空。
	PublicIps []string `json:"public_ips"`

	// 数据库端口号。GaussDB 数据库端口设置范围为1024~39998(其中2378,2379,2380,4999,5000,5999,6000,6001,8097,8098,20049,20050,21731,21732被系统占用不可设置)。  当不传该参数时,默认端口如下:8000。
	Port int32 `json:"port"`

	// 实例类型,取值为 \"enterprise\",对应于分布式实例(企业版)。取值为\"Ha\",对应于主备版实例。
	Type string `json:"type"`

	Ha *ListHa `json:"ha"`

	// 实例副本数。
	ReplicaNum *int32 `json:"replica_num,omitempty"`

	// 实例所在区域。
	Region string `json:"region"`

	Datastore *ListDatastore `json:"datastore"`

	// 创建时间,格式为“yyyy-mm-dd hh:mm:ss timezone”。  其中timezone是指时区。  说明:创建时该值为实例下发创建的时间,创建完成后,该值为创建完成时间。
	Created string `json:"created"`

	// 更新时间,格式与“created”字段对应格式完全相同。  说明:创建时返回值为空,数据库实例创建成功后该值不为空。
	Updated string `json:"updated"`

	// 默认用户名。
	DbUserName string `json:"db_user_name"`

	// 虚拟私有云ID。
	VpcId string `json:"vpc_id"`

	// 子网的网络ID信息。
	SubnetId string `json:"subnet_id"`

	// 安全组ID。
	SecurityGroupId string `json:"security_group_id"`

	// 规格码。参考[表1](https://support.huaweicloud.com/api-opengauss/opengauss_api_0037.html#opengauss_api_0037__ted9b9d433c8a4c52884e199e17f94479)中GaussDB 的“规格编码”列内容获取。
	FlavorRef string `json:"flavor_ref"`

	FlavorInfo *ListFlavorInfo `json:"flavor_info"`

	Volume *ListVolume `json:"volume"`

	// 数据库切换策略。取值为“reliability”或“availability”,分别对应于可靠性优先和可用性优先。 若创建时没有选择切换策略,则不予显示。
	SwitchStrategy string `json:"switch_strategy"`

	BackupStrategy *OpenGaussBackupStrategyForListResponse `json:"backup_strategy"`

	// 可维护时间窗,为UTC时间。
	MaintenanceWindow string `json:"maintenance_window"`

	// 实例节点信息。
	Nodes []interface{} `json:"nodes"`

	// 企业项目标签ID。非企业项目账号的实例,企业项目默认0。
	EnterpriseProjectId string `json:"enterprise_project_id"`

	// basic为基础版 ,enterprise为企业版。
	InstanceMode string `json:"instance_mode"`

	// 磁盘加密密钥ID。只有创建磁盘加密实例才会显示该参数。
	DiskEncryptionId string `json:"disk_encryption_id"`

	ChargeInfo *OpenGaussChargeInfoListResponse `json:"charge_info"`

	// 时区。
	TimeZone string `json:"time_zone"`

	// 标签列表,没有标签不返回该参数。
	Tags []interface{} `json:"tags"`
}

ListInstanceResponse 实例信息。

func (ListInstanceResponse) String

func (o ListInstanceResponse) String() string

type ListInstanceResult added in v0.1.43

type ListInstanceResult struct {

	// 实例ID。
	Id string `json:"id"`

	// 创建的实例名称。
	Name string `json:"name"`

	// 实例状态。  取值:  值为“BUILD”,表示实例正在创建。  值为“ACTIVE”,表示实例正常。  值为“FAILED”,表示实例异常。  值为“FROZEN”,表示实例冻结。  值为“EXPANDING”,表示实例正在扩容CN或DN。  值为“REBOOTING”,表示实例正在重启。  值为“UPGRADING”,表示实例正在升级。  值为“RESTORING”,表示实例正在恢复。  值为“BACKING UP”,表示实例正在进行备份。  值为“REDUCING REPLICATION”,表示实例正在降副本。  值为“STORAGE FULL”,表示实例磁盘空间满。
	Status string `json:"status"`

	// 实例内网IP地址列表。分布式CN所在的弹性云服务器创建成功后该值存在,主备版DN所在的弹性云服务器创建成功后该值存在,其他情况下为空字符串。
	PrivateIps []string `json:"private_ips"`

	// 实例外网IP地址列表。绑定弹性公网IP后,该值不为空。
	PublicIps []string `json:"public_ips"`

	// 数据库端口号。GaussDB数据库端口设置范围为1024~39998(其中2378,2379,2380,4999,5000,5999,6000,6001,8097,8098,20049,20050,21731,21732被系统占用不可设置)。  当不传该参数时,默认端口如下:8000。
	Port int32 `json:"port"`

	// 实例类型,取值为 \"Enterprise\",对应于分布式实例(企业版)。取值为\"Ha\",对应于主备版实例。
	Type string `json:"type"`

	Ha *ListHaResult `json:"ha"`

	// 实例副本数。
	ReplicaNum *int32 `json:"replica_num,omitempty"`

	// 实例所在区域。
	Region string `json:"region"`

	Datastore *ListDatastore `json:"datastore"`

	// 创建时间,格式为“yyyy-mm-dd hh:mm:ss timezone”。  其中timezone是指时区。  说明:创建时该值为实例下发创建的时间,创建完成后,该值为创建完成时间。
	Created string `json:"created"`

	// 更新时间,格式与“created”字段对应格式完全相同。  说明:创建时返回值为空,数据库实例创建成功后该值不为空。
	Updated string `json:"updated"`

	// 默认用户名。
	DbUserName string `json:"db_user_name"`

	// 虚拟私有云ID。
	VpcId string `json:"vpc_id"`

	// 子网的网络ID信息。
	SubnetId string `json:"subnet_id"`

	// 安全组ID。
	SecurityGroupId string `json:"security_group_id"`

	// 规格码。参考[表1](https://support.huaweicloud.com/api-opengauss/opengauss_api_0037.html#opengauss_api_0037__ted9b9d433c8a4c52884e199e17f94479)中GaussDB的“规格编码”列内容获取。
	FlavorRef string `json:"flavor_ref"`

	FlavorInfo *ListFlavorInfo `json:"flavor_info"`

	Volume *ListVolume `json:"volume"`

	// 数据库切换策略。取值为“reliability”或“availability”,分别对应于可靠性优先和可用性优先。 若创建时没有选择切换策略,则不予显示。
	SwitchStrategy string `json:"switch_strategy"`

	BackupStrategy *OpenGaussBackupStrategyForListResponse `json:"backup_strategy"`

	// 可维护时间窗,为UTC时间。
	MaintenanceWindow string `json:"maintenance_window"`

	// 实例节点信息列表。
	Nodes []NodeResult `json:"nodes"`

	// 企业项目标签ID。非企业项目账号的实例,企业项目默认0。
	EnterpriseProjectId string `json:"enterprise_project_id"`

	// basic为基础版 ,enterprise为企业版。
	InstanceMode string `json:"instance_mode"`

	// 磁盘加密密钥ID。只有创建磁盘加密实例才会显示该参数。
	DiskEncryptionId string `json:"disk_encryption_id"`

	ChargeInfo *OpenGaussChargeInfoListResponse `json:"charge_info"`

	// 时区。
	TimeZone string `json:"time_zone"`

	// 标签列表,没有标签不返回该参数。
	Tags []TagResult `json:"tags"`

	// 实例磁盘的可使用率,值范围[0-1],值保留四位小数。
	DiskUsage *string `json:"disk_usage,omitempty"`
}

ListInstanceResult 实例信息。

func (ListInstanceResult) String added in v0.1.43

func (o ListInstanceResult) String() string

type ListInstanceTagsRequest added in v0.1.13

type ListInstanceTagsRequest struct {

	// 语言。
	XLanguage *string `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId string `json:"instance_id"`
}

ListInstanceTagsRequest Request Object

func (ListInstanceTagsRequest) String added in v0.1.13

func (o ListInstanceTagsRequest) String() string

type ListInstanceTagsResponse added in v0.1.13

type ListInstanceTagsResponse struct {

	// 用户标签列表。
	Tags *[]TagsResult `json:"tags,omitempty"`

	// 总记录数。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListInstanceTagsResponse Response Object

func (ListInstanceTagsResponse) String added in v0.1.13

func (o ListInstanceTagsResponse) String() string

type ListInstancesDetailsRequest added in v0.1.43

type ListInstancesDetailsRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 实例ID。  “\\*”为系统保留字符,如果id是以“\\*”起始,表示按照\\*后面的值模糊匹配,否则,按照id精确匹配查询。不能只传入“\\*”。
	Id *string `json:"id,omitempty"`

	// 实例名称。  “\\*”为系统保留字符,如果name是以“\\*”起始,表示按照\\*后面的值模糊匹配,否则,按照name精确匹配查询。不能只传入“\\*”。
	Name *string `json:"name,omitempty"`

	// 按照实例类型查询。目前仅支持取值“Enterprise”(区分大小写),对应分布式实例(企业版)。当前支持取值\"Ha\"(区分大小写),对应主备式实例。
	Type *ListInstancesDetailsRequestType `json:"type,omitempty"`

	// 数据库类型,区分大小写。  - GaussDB
	DatastoreType *ListInstancesDetailsRequestDatastoreType `json:"datastore_type,omitempty"`

	// 虚拟私有云ID。  方法1:登录虚拟私有云服务的控制台界面,在虚拟私有云的详情页面查找VPC ID。 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考[查询VPC列表](https://support.huaweicloud.com/api-vpc/vpc_api01_0003.html)。
	VpcId *string `json:"vpc_id,omitempty"`

	// 子网的网络ID信息。  - 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找网络ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考[查询子网列表](https://support.huaweicloud.com/api-vpc/vpc_subnet01_0003.html)。
	SubnetId *string `json:"subnet_id,omitempty"`

	// 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
	Offset *int32 `json:"offset,omitempty"`

	// 查询记录数。默认为100,不能为负数,最小值为1,最大值为100
	Limit *int32 `json:"limit,omitempty"`

	// 根据实例标签键值对进行查询。  {key}表示标签键,不可以为空或重复。最大长度127个unicode字符。key不能为空或者空字符串,不能为空格,使用之前先trim前后半角空格。不能包含+/?#&=,%特殊字符。  {value}表示标签值,可以为空。最大长度255个unicode字符,使用之前先trim 前后半角空格。不能包含+/?#&=,%特殊字符。  如果value为空,则表示any_value(查询任意value)。  如果同时使用多个标签键值对进行查询,中间使用逗号分隔开,最多包含10组。
	Tags *[]string `json:"tags,omitempty"`
}

ListInstancesDetailsRequest Request Object

func (ListInstancesDetailsRequest) String added in v0.1.43

type ListInstancesDetailsRequestDatastoreType added in v0.1.43

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

func (ListInstancesDetailsRequestDatastoreType) MarshalJSON added in v0.1.43

func (*ListInstancesDetailsRequestDatastoreType) UnmarshalJSON added in v0.1.43

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

func (ListInstancesDetailsRequestDatastoreType) Value added in v0.1.43

type ListInstancesDetailsRequestDatastoreTypeEnum added in v0.1.43

type ListInstancesDetailsRequestDatastoreTypeEnum struct {
	GAUSS_DB ListInstancesDetailsRequestDatastoreType
}

func GetListInstancesDetailsRequestDatastoreTypeEnum added in v0.1.43

func GetListInstancesDetailsRequestDatastoreTypeEnum() ListInstancesDetailsRequestDatastoreTypeEnum

type ListInstancesDetailsRequestType added in v0.1.43

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

func (ListInstancesDetailsRequestType) MarshalJSON added in v0.1.43

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

func (*ListInstancesDetailsRequestType) UnmarshalJSON added in v0.1.43

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

func (ListInstancesDetailsRequestType) Value added in v0.1.43

type ListInstancesDetailsRequestTypeEnum added in v0.1.43

type ListInstancesDetailsRequestTypeEnum struct {
	ENTERPRISE ListInstancesDetailsRequestType
	HA         ListInstancesDetailsRequestType
}

func GetListInstancesDetailsRequestTypeEnum added in v0.1.43

func GetListInstancesDetailsRequestTypeEnum() ListInstancesDetailsRequestTypeEnum

type ListInstancesDetailsResponse added in v0.1.43

type ListInstancesDetailsResponse struct {

	// 实例信息。
	Instances *[]ListInstanceResult `json:"instances,omitempty"`

	// 总记录数。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListInstancesDetailsResponse Response Object

func (ListInstancesDetailsResponse) String added in v0.1.43

type ListInstancesRequest

type ListInstancesRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 实例ID。  “\\*”为系统保留字符,如果id是以“\\*”起始,表示按照\\*后面的值模糊匹配,否则,按照id精确匹配查询。不能只传入“\\*”。
	Id *string `json:"id,omitempty"`

	// 实例名称。  “\\*”为系统保留字符,如果name是以“\\*”起始,表示按照\\*后面的值模糊匹配,否则,按照name精确匹配查询。不能只传入“\\*”。
	Name *string `json:"name,omitempty"`

	// 按照实例类型查询。目前仅支持取值“Enterprise”(区分大小写),对应分布式实例(企业版)。当前支持取值\"Ha\"(区分大小写),对应主备式实例。
	Type *ListInstancesRequestType `json:"type,omitempty"`

	// 数据库类型,区分大小写。  - GaussDB
	DatastoreType *ListInstancesRequestDatastoreType `json:"datastore_type,omitempty"`

	// 虚拟私有云ID。  方法1:登录虚拟私有云服务的控制台界面,在虚拟私有云的详情页面查找VPC ID。 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考[查询VPC列表](https://support.huaweicloud.com/api-vpc/vpc_api01_0003.html)。
	VpcId *string `json:"vpc_id,omitempty"`

	// 子网的网络ID信息。  - 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找网络ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考[查询子网列表](https://support.huaweicloud.com/api-vpc/vpc_subnet01_0003.html)。
	SubnetId *string `json:"subnet_id,omitempty"`

	// 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
	Offset *int32 `json:"offset,omitempty"`

	// 查询记录数。默认为100,不能为负数,最小值为1,最大值为100
	Limit *int32 `json:"limit,omitempty"`

	// 根据实例标签键值对进行查询。  {key}表示标签键,不可以为空或重复。最大长度127个unicode字符。key不能为空或者空字符串,不能为空格,使用之前先trim前后半角空格。不能包含+/?#&=,%特殊字符。  {value}表示标签值,可以为空。最大长度255个unicode字符,使用之前先trim 前后半角空格。不能包含+/?#&=,%特殊字符。  如果value为空,则表示any_value(查询任意value)。  如果同时使用多个标签键值对进行查询,中间使用逗号分隔开,最多包含10组。
	Tags *[]string `json:"tags,omitempty"`
}

ListInstancesRequest 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

func (ListInstancesRequestDatastoreType) Value added in v0.0.90

type ListInstancesRequestDatastoreTypeEnum

type ListInstancesRequestDatastoreTypeEnum struct {
	GAUSS_DB_FOR_OPEN_GAUSS ListInstancesRequestDatastoreType
	GAUSS_DB                ListInstancesRequestDatastoreType
}

func GetListInstancesRequestDatastoreTypeEnum

func GetListInstancesRequestDatastoreTypeEnum() ListInstancesRequestDatastoreTypeEnum

type ListInstancesRequestType

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

func (ListInstancesRequestType) MarshalJSON

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

func (*ListInstancesRequestType) UnmarshalJSON

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

func (ListInstancesRequestType) Value added in v0.0.90

func (c ListInstancesRequestType) Value() string

type ListInstancesRequestTypeEnum

type ListInstancesRequestTypeEnum struct {
	ENTERPRISE ListInstancesRequestType
	HA         ListInstancesRequestType
}

func GetListInstancesRequestTypeEnum

func GetListInstancesRequestTypeEnum() ListInstancesRequestTypeEnum

type ListInstancesResponse

type ListInstancesResponse struct {

	// 实例信息。
	Instances *[]ListInstanceResponse `json:"instances,omitempty"`

	// 总记录数 。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListInstancesResponse Response Object

func (ListInstancesResponse) String

func (o ListInstancesResponse) String() string

type ListParamGroupTemplatesRequest added in v0.1.43

type ListParamGroupTemplatesRequest struct {

	// 语言
	XLanguage *ListParamGroupTemplatesRequestXLanguage `json:"X-Language,omitempty"`

	// 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
	Offset *int32 `json:"offset,omitempty"`

	// 查询记录数。默认为100,不能为负数,最小值为1,最大值为100。
	Limit *int32 `json:"limit,omitempty"`
}

ListParamGroupTemplatesRequest Request Object

func (ListParamGroupTemplatesRequest) String added in v0.1.43

type ListParamGroupTemplatesRequestXLanguage added in v0.1.43

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

func (ListParamGroupTemplatesRequestXLanguage) MarshalJSON added in v0.1.43

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

func (*ListParamGroupTemplatesRequestXLanguage) UnmarshalJSON added in v0.1.43

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

func (ListParamGroupTemplatesRequestXLanguage) Value added in v0.1.43

type ListParamGroupTemplatesRequestXLanguageEnum added in v0.1.43

type ListParamGroupTemplatesRequestXLanguageEnum struct {
	ZH_CN ListParamGroupTemplatesRequestXLanguage
	EN_US ListParamGroupTemplatesRequestXLanguage
}

func GetListParamGroupTemplatesRequestXLanguageEnum added in v0.1.43

func GetListParamGroupTemplatesRequestXLanguageEnum() ListParamGroupTemplatesRequestXLanguageEnum

type ListParamGroupTemplatesResponse added in v0.1.43

type ListParamGroupTemplatesResponse struct {

	// 参数模板数量。
	Count *int32 `json:"count,omitempty"`

	// 参数模板列表。
	Configurations *[]ConfigurationResult `json:"configurations,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

ListParamGroupTemplatesResponse Response Object

func (ListParamGroupTemplatesResponse) String added in v0.1.43

type ListPredefinedTagsRequest added in v0.1.13

type ListPredefinedTagsRequest struct {

	// 语言
	XLanguage *ListPredefinedTagsRequestXLanguage `json:"X-Language,omitempty"`
}

ListPredefinedTagsRequest Request Object

func (ListPredefinedTagsRequest) String added in v0.1.13

func (o ListPredefinedTagsRequest) String() string

type ListPredefinedTagsRequestXLanguage added in v0.1.13

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

func (ListPredefinedTagsRequestXLanguage) MarshalJSON added in v0.1.13

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

func (*ListPredefinedTagsRequestXLanguage) UnmarshalJSON added in v0.1.13

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

func (ListPredefinedTagsRequestXLanguage) Value added in v0.1.13

type ListPredefinedTagsRequestXLanguageEnum added in v0.1.13

type ListPredefinedTagsRequestXLanguageEnum struct {
	ZH_CN ListPredefinedTagsRequestXLanguage
	EN_US ListPredefinedTagsRequestXLanguage
}

func GetListPredefinedTagsRequestXLanguageEnum added in v0.1.13

func GetListPredefinedTagsRequestXLanguageEnum() ListPredefinedTagsRequestXLanguageEnum

type ListPredefinedTagsResponse added in v0.1.13

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

ListPredefinedTagsResponse Response Object

func (ListPredefinedTagsResponse) String added in v0.1.13

type ListProjectTagsRequest added in v0.1.13

type ListProjectTagsRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`
}

ListProjectTagsRequest Request Object

func (ListProjectTagsRequest) String added in v0.1.13

func (o ListProjectTagsRequest) String() string

type ListProjectTagsResponse added in v0.1.13

type ListProjectTagsResponse struct {

	// 标签列表。
	Tags           *[]TagsResult `json:"tags,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ListProjectTagsResponse Response Object

func (ListProjectTagsResponse) String added in v0.1.13

func (o ListProjectTagsResponse) String() string

type ListQuotaResult added in v0.1.13

type ListQuotaResult struct {

	// 企业项目ID。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 企业项目名称。
	EnterpriseProjectName *string `json:"enterprise_project_name,omitempty"`

	// EPS实例资源配额数量,值为-1时表示配额无限制。
	InstanceEpsQuota *int32 `json:"instance_eps_quota,omitempty"`

	// EPS计算资源配额数量,值为-1时表示配额无限制。
	VcpusEpsQuota *int32 `json:"vcpus_eps_quota,omitempty"`

	// EPS内存资源配额量,单位为GB,值为-1时表示配额无限制。
	RamEpsQuota *int32 `json:"ram_eps_quota,omitempty"`

	// EPS磁盘资源配额量,单位为GB,值为-1时表示配额无限制。
	VolumeEpsQuota *int32 `json:"volume_eps_quota,omitempty"`

	// EPS实例使用数量。
	InstanceUsed *int32 `json:"instance_used,omitempty"`

	// EPS计算资源使用数量。
	VcpusUsed *int32 `json:"vcpus_used,omitempty"`

	// EPS内存使用配额量,单位为GB。
	RamUsed *int32 `json:"ram_used,omitempty"`

	// EPS磁盘使用配额量,单位为GB。
	VolumeUsed *int32 `json:"volume_used,omitempty"`
}

func (ListQuotaResult) String added in v0.1.13

func (o ListQuotaResult) String() string

type ListRecycleInstancesRequest added in v0.1.13

type ListRecycleInstancesRequest struct {

	// 语言。默认值:en-us。
	XLanguage *ListRecycleInstancesRequestXLanguage `json:"X-Language,omitempty"`

	// 实例名称。
	InstanceName *string `json:"instance_name,omitempty"`

	// 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
	Offset *int32 `json:"offset,omitempty"`

	// 查询记录数。默认为50,不能为负数,最小值为1,最大值为50。
	Limit *int32 `json:"limit,omitempty"`
}

ListRecycleInstancesRequest Request Object

func (ListRecycleInstancesRequest) String added in v0.1.13

type ListRecycleInstancesRequestXLanguage added in v0.1.13

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

func (ListRecycleInstancesRequestXLanguage) MarshalJSON added in v0.1.13

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

func (*ListRecycleInstancesRequestXLanguage) UnmarshalJSON added in v0.1.13

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

func (ListRecycleInstancesRequestXLanguage) Value added in v0.1.13

type ListRecycleInstancesRequestXLanguageEnum added in v0.1.13

type ListRecycleInstancesRequestXLanguageEnum struct {
	ZH_CN ListRecycleInstancesRequestXLanguage
	EN_US ListRecycleInstancesRequestXLanguage
}

func GetListRecycleInstancesRequestXLanguageEnum added in v0.1.13

func GetListRecycleInstancesRequestXLanguageEnum() ListRecycleInstancesRequestXLanguageEnum

type ListRecycleInstancesResponse added in v0.1.13

type ListRecycleInstancesResponse struct {

	// 回收站所有引擎实例总数。
	TotalCount *int32 `json:"total_count,omitempty"`

	// 回收站所有引擎实例信息。
	Instances      *[]RecycleInstancesDetailResult `json:"instances,omitempty"`
	HttpStatusCode int                             `json:"-"`
}

ListRecycleInstancesResponse Response Object

func (ListRecycleInstancesResponse) String added in v0.1.13

type ListRestorableInstancesRequest added in v0.1.13

type ListRestorableInstancesRequest struct {

	// 语言。
	XLanguage *string `json:"X-Language,omitempty"`

	// 源实例id,需要恢复的实例ID。
	SourceInstanceId string `json:"source_instance_id"`

	// 实例备份信息ID,根据备份ID查询实例拓扑信息,过滤查询出来的实例,包含节点数,副本数等。参数为空时,根据restore_time查询。。
	BackupId *string `json:"backup_id,omitempty"`

	// 恢复点,当备份ID为空时,通过此参数查询实例拓扑信息,过滤实例列表。
	RestoreTime *string `json:"restore_time,omitempty"`

	// 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
	Offset *int32 `json:"offset,omitempty"`

	// 查询记录数。默认为100,不能为负数,最小值为1,最大值为100。
	Limit *int32 `json:"limit,omitempty"`
}

ListRestorableInstancesRequest Request Object

func (ListRestorableInstancesRequest) String added in v0.1.13

type ListRestorableInstancesResponse added in v0.1.13

type ListRestorableInstancesResponse struct {

	// 返回可用于备份恢复的实例列表。
	Instances *[]InstancesResult `json:"instances,omitempty"`

	// 查询出来的实例总数。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListRestorableInstancesResponse Response Object

func (ListRestorableInstancesResponse) String added in v0.1.13

type ListRestoreTimesRequest added in v0.0.88

type ListRestoreTimesRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId string `json:"instance_id"`

	// 所需查询的日期,为yyyy-mm-dd字符串格式,时区为UTC。
	Date string `json:"date"`
}

ListRestoreTimesRequest Request Object

func (ListRestoreTimesRequest) String added in v0.0.88

func (o ListRestoreTimesRequest) String() string

type ListRestoreTimesResponse added in v0.0.88

type ListRestoreTimesResponse struct {

	// 可恢复时间段列表。
	RestoreTime    *[]GetRestoreTimeResponseRestoreTime `json:"restore_time,omitempty"`
	HttpStatusCode int                                  `json:"-"`
}

ListRestoreTimesResponse Response Object

func (ListRestoreTimesResponse) String added in v0.0.88

func (o ListRestoreTimesResponse) String() string

type ListStorageTypesRequest added in v0.0.83

type ListStorageTypesRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 数据库版本号。
	Version string `json:"version"`

	// 实例类型: enterprise(企业版), centralization_standard(主备版),不区分大小写。
	HaMode *ListStorageTypesRequestHaMode `json:"ha_mode,omitempty"`
}

ListStorageTypesRequest Request Object

func (ListStorageTypesRequest) String added in v0.0.83

func (o ListStorageTypesRequest) String() string

type ListStorageTypesRequestHaMode added in v0.0.83

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

func (ListStorageTypesRequestHaMode) MarshalJSON added in v0.0.83

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

func (*ListStorageTypesRequestHaMode) UnmarshalJSON added in v0.0.83

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

func (ListStorageTypesRequestHaMode) Value added in v0.0.90

type ListStorageTypesRequestHaModeEnum added in v0.0.83

type ListStorageTypesRequestHaModeEnum struct {
	ENTERPRISE              ListStorageTypesRequestHaMode
	CENTRALIZATION_STANDARD ListStorageTypesRequestHaMode
}

func GetListStorageTypesRequestHaModeEnum added in v0.0.83

func GetListStorageTypesRequestHaModeEnum() ListStorageTypesRequestHaModeEnum

type ListStorageTypesResponse added in v0.0.83

type ListStorageTypesResponse struct {

	// 实例磁盘类型信息。
	StorageType    *[]Storage `json:"storage_type,omitempty"`
	HttpStatusCode int        `json:"-"`
}

ListStorageTypesResponse Response Object

func (ListStorageTypesResponse) String added in v0.0.83

func (o ListStorageTypesResponse) String() string

type ListTasksRequest added in v0.1.13

type ListTasksRequest struct {

	// 语言。
	XLanguage *string `json:"X-Language,omitempty"`

	// 任务状态。
	Status *ListTasksRequestStatus `json:"status,omitempty"`

	// 任务名称。
	Name *ListTasksRequestName `json:"name,omitempty"`

	// 开始时间。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。
	EndTime *string `json:"end_time,omitempty"`

	// 索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
	Offset *int32 `json:"offset,omitempty"`

	// 查询记录数。默认为100,不能为负数,最小值为1,最大值为100
	Limit *int32 `json:"limit,omitempty"`
}

ListTasksRequest Request Object

func (ListTasksRequest) String added in v0.1.13

func (o ListTasksRequest) String() string

type ListTasksRequestName added in v0.1.13

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

func (ListTasksRequestName) MarshalJSON added in v0.1.13

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

func (*ListTasksRequestName) UnmarshalJSON added in v0.1.13

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

func (ListTasksRequestName) Value added in v0.1.13

func (c ListTasksRequestName) Value() string

type ListTasksRequestNameEnum added in v0.1.13

type ListTasksRequestNameEnum struct {
	CREATE_GAUSS_DBV5_INSTANCE                     ListTasksRequestName
	BACKUP_SNAPSHOT_GAUSS_DBV5_IN_INSTANCE         ListTasksRequestName
	CLONE_GAUSS_DBV5_NEW_INSTANCE                  ListTasksRequestName
	RESTORE_GAUSS_DBV5_IN_INSTANCE                 ListTasksRequestName
	RESTORE_GAUSS_DBV5_IN_INSTANCE_TO_EXISTED_INST ListTasksRequestName
	DELETE_GAUSS_DBV5_INSTANCE                     ListTasksRequestName
	ENLARGE_GAUSS_DBV5_VOLUME                      ListTasksRequestName
	RESIZE_GAUSS_DBV5_FLAVOR                       ListTasksRequestName
	GAUSS_DBV5_EXPAND_CLUSTER_CN                   ListTasksRequestName
	GAUSS_DBV5_EXPAND_CLUSTER_DN                   ListTasksRequestName
}

func GetListTasksRequestNameEnum added in v0.1.13

func GetListTasksRequestNameEnum() ListTasksRequestNameEnum

type ListTasksRequestStatus added in v0.1.13

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

func (ListTasksRequestStatus) MarshalJSON added in v0.1.13

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

func (*ListTasksRequestStatus) UnmarshalJSON added in v0.1.13

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

func (ListTasksRequestStatus) Value added in v0.1.13

func (c ListTasksRequestStatus) Value() string

type ListTasksRequestStatusEnum added in v0.1.13

type ListTasksRequestStatusEnum struct {
	RUNNING   ListTasksRequestStatus
	COMPLETED ListTasksRequestStatus
	FAILED    ListTasksRequestStatus
}

func GetListTasksRequestStatusEnum added in v0.1.13

func GetListTasksRequestStatusEnum() ListTasksRequestStatusEnum

type ListTasksResponse added in v0.1.13

type ListTasksResponse struct {

	// 任务列表。
	Tasks *[]TaskDetailResult `json:"tasks,omitempty"`

	// 任务数量。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListTasksResponse Response Object

func (ListTasksResponse) String added in v0.1.13

func (o ListTasksResponse) String() string

type ListVolume

type ListVolume struct {

	// 磁盘类型。
	Type string `json:"type"`

	// 磁盘大小。
	Size int32 `json:"size"`
}

ListVolume Volume信息。

func (ListVolume) String

func (o ListVolume) String() string

type ModifyEpsQuotaRequest added in v0.1.13

type ModifyEpsQuotaRequest struct {

	// 语言。默认值:en-us。
	XLanguage *ModifyEpsQuotaRequestXLanguage `json:"X-Language,omitempty"`

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

ModifyEpsQuotaRequest Request Object

func (ModifyEpsQuotaRequest) String added in v0.1.13

func (o ModifyEpsQuotaRequest) String() string

type ModifyEpsQuotaRequestBody added in v0.1.13

type ModifyEpsQuotaRequestBody struct {

	// 需要修改的企业配额列表。
	EpsQuotas []EpsQuotasOption `json:"eps_quotas"`
}

func (ModifyEpsQuotaRequestBody) String added in v0.1.13

func (o ModifyEpsQuotaRequestBody) String() string

type ModifyEpsQuotaRequestXLanguage added in v0.1.13

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

func (ModifyEpsQuotaRequestXLanguage) MarshalJSON added in v0.1.13

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

func (*ModifyEpsQuotaRequestXLanguage) UnmarshalJSON added in v0.1.13

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

func (ModifyEpsQuotaRequestXLanguage) Value added in v0.1.13

type ModifyEpsQuotaRequestXLanguageEnum added in v0.1.13

type ModifyEpsQuotaRequestXLanguageEnum struct {
	ZH_CN ModifyEpsQuotaRequestXLanguage
	EN_US ModifyEpsQuotaRequestXLanguage
}

func GetModifyEpsQuotaRequestXLanguageEnum added in v0.1.13

func GetModifyEpsQuotaRequestXLanguageEnum() ModifyEpsQuotaRequestXLanguageEnum

type ModifyEpsQuotaResponse added in v0.1.13

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

ModifyEpsQuotaResponse Response Object

func (ModifyEpsQuotaResponse) String added in v0.1.13

func (o ModifyEpsQuotaResponse) String() string

type NodeResult added in v0.1.43

type NodeResult struct {

	// 节点ID。
	Id string `json:"id"`

	// 节点名称。
	Name string `json:"name"`

	// 节点类型,取值为“master”、“slave”,分别对应于主节点、备节点。
	Role string `json:"role"`

	// 节点状态。
	Status string `json:"status"`

	// 可用区。
	AvailabilityZone string `json:"availability_zone"`

	// 节点内网IP。分布式实例类型下该参数仅针对CN节点有效,主备版实例类型下该参数对所有节点有效,且在弹性云服务器创建成功后参数值存在。
	PrivateIp string `json:"private_ip"`

	// 绑定的外网IP。分布式实例类型下该参数仅针对CN节点有效,主备版实例类型下该参数对所有节点有效,且在弹性云服务器创建成功并绑定弹性公网IP后参数值存在。
	PublicIp string `json:"public_ip"`

	// 节点上组件信息(例组件ID:分布式ID),多个组件信息用;隔开。
	ComponentNames *string `json:"component_names,omitempty"`
}

NodeResult 实例节点信息。

func (NodeResult) String added in v0.1.43

func (o NodeResult) String() string

type Nodes added in v0.0.90

type Nodes struct {

	// 节点ID。
	Id string `json:"id"`

	// 组件列表。
	Components []Components `json:"components"`
}

Nodes 节点信息

func (Nodes) String added in v0.0.90

func (o Nodes) String() string

type OpenGaussBackupStrategy

type OpenGaussBackupStrategy struct {

	// 备份时间段。自动备份将在该时间段内触发。  取值范围:非空,格式必须为hh:mm-HH:MM且有效,当前时间指UTC时间。  - HH取值必须比hh大1。 - mm和MM取值必须相同,且取值必须为00。 取值示例:  - 08:00-09:00 - 23:00-00:00
	StartTime string `json:"start_time"`

	// 指定备份文件的可保存天数。  取值范围:0~732。该参数缺省或为0时,默认填写为7天。
	KeepDays *int32 `json:"keep_days,omitempty"`
}

OpenGaussBackupStrategy 备份策略。

func (OpenGaussBackupStrategy) String

func (o OpenGaussBackupStrategy) String() string

type OpenGaussBackupStrategyForListResponse

type OpenGaussBackupStrategyForListResponse struct {

	// 备份时间段。自动备份将在该时间段内触发。  当前时间指UTC时间。
	StartTime string `json:"start_time"`

	// 已生成的备份文件可以保存的天数。  取值范围:1~732。
	KeepDays int32 `json:"keep_days"`
}

OpenGaussBackupStrategyForListResponse 备份策略。

func (OpenGaussBackupStrategyForListResponse) String

type OpenGaussBackupStrategyForResponse

type OpenGaussBackupStrategyForResponse struct {

	// 备份时间段。自动备份将在该时间段内触发。  取值范围:非空,格式必须为hh:mm-HH:MM且有效,当前时间指UTC时间。  - HH取值必须比hh大1。 - mm和MM取值必须相同,且取值必须为00。 取值示例:  - 08:00-09:00 - 23:00-00:00
	StartTime string `json:"start_time"`

	// 指定已生成备份文件的可保存天数。  取值范围:1~732。  如果请求体中不填写“backup_strategy”字段,则响应体中 “keep_days”默认返回“7”。
	KeepDays int32 `json:"keep_days"`
}

OpenGaussBackupStrategyForResponse 自动备份策略。

func (OpenGaussBackupStrategyForResponse) String

type OpenGaussChargeInfo

type OpenGaussChargeInfo struct {

	// 计费模式。postPaid:后付费,即按需付费。prePaid:预付费,即包年/包月。
	ChargeMode OpenGaussChargeInfoChargeMode `json:"charge_mode"`

	// 订购周期类型。month:包月。year:包年。 说明: “charge_mode”为“prePaid”时生效,且为必选值。
	PeriodType *OpenGaussChargeInfoPeriodType `json:"period_type,omitempty"`

	// “charge_mode”为“prePaid”时生效,且为必选值,指定订购的时间。  取值范围:  当“period_type”为“month”时,取值为1~9。 当“period_type”为“year”时,取值为1~3。  当传入浮点型时,会自动截取为整型。
	PeriodNum *int32 `json:"period_num,omitempty"`

	// 创建包周期实例时可指定,表示是否自动续订,续订时会自动支付。 按月订购时续订周期默认为1个月,按年订购时续订周期默认为1年,续订周期可自定义修改。  true,表示自动续订。 false,表示不自动续订,默认为该方式。
	IsAutoRenew *bool `json:"is_auto_renew,omitempty"`

	// 创建包周期实例时可指定,表示是否自动从账户中支付,该字段不影响自动续订的支付方式。  true,表示自动从账户中支付。 false,表示手动从账户中支付,默认为该支付方式。
	IsAutoPay *bool `json:"is_auto_pay,omitempty"`
}

OpenGaussChargeInfo 计费类型信息,仅支持按需和包周期。

func (OpenGaussChargeInfo) String

func (o OpenGaussChargeInfo) String() string

type OpenGaussChargeInfoChargeMode

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

func (OpenGaussChargeInfoChargeMode) MarshalJSON

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

func (*OpenGaussChargeInfoChargeMode) UnmarshalJSON

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

func (OpenGaussChargeInfoChargeMode) Value added in v0.0.90

type OpenGaussChargeInfoChargeModeEnum

type OpenGaussChargeInfoChargeModeEnum struct {
	POST_PAID OpenGaussChargeInfoChargeMode
	PRE_PAID  OpenGaussChargeInfoChargeMode
}

func GetOpenGaussChargeInfoChargeModeEnum

func GetOpenGaussChargeInfoChargeModeEnum() OpenGaussChargeInfoChargeModeEnum

type OpenGaussChargeInfoListResponse

type OpenGaussChargeInfoListResponse struct {

	// 计费模式。  取值范围:  postPaid:后付费,即按需付费。  prePaid:预付费,即包年/包月。
	ChargeMode OpenGaussChargeInfoListResponseChargeMode `json:"charge_mode"`
}

OpenGaussChargeInfoListResponse 计费类型信息,支持按需和包周期。

func (OpenGaussChargeInfoListResponse) String

type OpenGaussChargeInfoListResponseChargeMode

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

func (OpenGaussChargeInfoListResponseChargeMode) MarshalJSON

func (*OpenGaussChargeInfoListResponseChargeMode) UnmarshalJSON

func (OpenGaussChargeInfoListResponseChargeMode) Value added in v0.0.90

type OpenGaussChargeInfoListResponseChargeModeEnum

type OpenGaussChargeInfoListResponseChargeModeEnum struct {
	POST_PAID OpenGaussChargeInfoListResponseChargeMode
}

func GetOpenGaussChargeInfoListResponseChargeModeEnum

func GetOpenGaussChargeInfoListResponseChargeModeEnum() OpenGaussChargeInfoListResponseChargeModeEnum

type OpenGaussChargeInfoPeriodType added in v0.0.100

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

func (OpenGaussChargeInfoPeriodType) MarshalJSON added in v0.0.100

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

func (*OpenGaussChargeInfoPeriodType) UnmarshalJSON added in v0.0.100

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

func (OpenGaussChargeInfoPeriodType) Value added in v0.0.100

type OpenGaussChargeInfoPeriodTypeEnum added in v0.0.100

type OpenGaussChargeInfoPeriodTypeEnum struct {
	MONTH OpenGaussChargeInfoPeriodType
	YEAR  OpenGaussChargeInfoPeriodType
}

func GetOpenGaussChargeInfoPeriodTypeEnum added in v0.0.100

func GetOpenGaussChargeInfoPeriodTypeEnum() OpenGaussChargeInfoPeriodTypeEnum

type OpenGaussChargeInfoResponse

type OpenGaussChargeInfoResponse struct {

	// 计费模式。postPaid:后付费,即按需付费。prePaid:预付费,即包年/包月。
	ChargeMode OpenGaussChargeInfoResponseChargeMode `json:"charge_mode"`

	// 订购周期类型。month:包月。year:包年。 说明: “charge_mode”为“prePaid”时生效,且为必选值。
	PeriodType *OpenGaussChargeInfoResponsePeriodType `json:"period_type,omitempty"`

	// “charge_mode”为“prePaid”时生效,且为必选值,指定订购的时间。  取值范围:  当“period_type”为“month”时,取值为1~9。 当“period_type”为“year”时,取值为1~3。
	PeriodNum *int32 `json:"period_num,omitempty"`

	// 创建包周期实例时可指定,表示是否自动续订,续订的周期和原周期相同,且续订时会自动支付。  true,表示自动续订。 false,表示不自动续订,默认为该方式。
	IsAutoRenew *bool `json:"is_auto_renew,omitempty"`

	// 创建包周期实例时可指定,表示是否自动从账户中支付,该字段不影响自动续订的支付方式。  true,表示自动从账户中支付。 false,表示手动从账户中支付,默认为该支付方式。
	IsAutoPay *bool `json:"is_auto_pay,omitempty"`
}

OpenGaussChargeInfoResponse 计费类型信息,支持按需和包周期。

func (OpenGaussChargeInfoResponse) String

type OpenGaussChargeInfoResponseChargeMode

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

func (OpenGaussChargeInfoResponseChargeMode) MarshalJSON

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

func (*OpenGaussChargeInfoResponseChargeMode) UnmarshalJSON

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

func (OpenGaussChargeInfoResponseChargeMode) Value added in v0.0.90

type OpenGaussChargeInfoResponseChargeModeEnum

type OpenGaussChargeInfoResponseChargeModeEnum struct {
	POST_PAID OpenGaussChargeInfoResponseChargeMode
	PRE_PAID  OpenGaussChargeInfoResponseChargeMode
}

func GetOpenGaussChargeInfoResponseChargeModeEnum

func GetOpenGaussChargeInfoResponseChargeModeEnum() OpenGaussChargeInfoResponseChargeModeEnum

type OpenGaussChargeInfoResponsePeriodType added in v0.0.100

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

func (OpenGaussChargeInfoResponsePeriodType) MarshalJSON added in v0.0.100

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

func (*OpenGaussChargeInfoResponsePeriodType) UnmarshalJSON added in v0.0.100

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

func (OpenGaussChargeInfoResponsePeriodType) Value added in v0.0.100

type OpenGaussChargeInfoResponsePeriodTypeEnum added in v0.0.100

type OpenGaussChargeInfoResponsePeriodTypeEnum struct {
	MONTH OpenGaussChargeInfoResponsePeriodType
	YEAR  OpenGaussChargeInfoResponsePeriodType
}

func GetOpenGaussChargeInfoResponsePeriodTypeEnum added in v0.0.100

func GetOpenGaussChargeInfoResponsePeriodTypeEnum() OpenGaussChargeInfoResponsePeriodTypeEnum

type OpenGaussCoordinators

type OpenGaussCoordinators struct {

	// 新增CN横向扩容每个节点的可用区。如果需要扩容多个CN,请分别填写待扩容CN所在的可用区。  不同区域的可用区请参考[地区和终端节点](https://developer.huaweicloud.com/endpoint)。  说明: 扩容后,实例中CN节点的数量必须小于或等于两倍的分片数量。
	AzCode string `json:"az_code"`
}

OpenGaussCoordinators CN横向扩容时必填

func (OpenGaussCoordinators) String

func (o OpenGaussCoordinators) String() string

type OpenGaussDatastore

type OpenGaussDatastore struct {

	// 数据库引擎,不区分大小写,取值如下:  GaussDB(for openGauss)。
	Type OpenGaussDatastoreType `json:"type"`

	// 数据库版本。不填时,默认为当前最新版本。  GaussDB支持的版本参考[查询数据库引擎的版本](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=GaussDBforopenGauss&api=ListDatastores)。
	Version *string `json:"version,omitempty"`
}

OpenGaussDatastore 数据库信息。

func (OpenGaussDatastore) String

func (o OpenGaussDatastore) String() string

type OpenGaussDatastoreOption added in v0.1.43

type OpenGaussDatastoreOption struct {

	// 数据库引擎,不区分大小写,取值如下:  GaussDB。
	Type OpenGaussDatastoreOptionType `json:"type"`

	// 数据库版本。不填时,默认为当前最新版本。  GaussDB支持的版本参考[查询数据库引擎的版本](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=GaussDB&api=ListDatastores)。
	Version *string `json:"version,omitempty"`
}

OpenGaussDatastoreOption 数据库信息。

func (OpenGaussDatastoreOption) String added in v0.1.43

func (o OpenGaussDatastoreOption) String() string

type OpenGaussDatastoreOptionType added in v0.1.43

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

func (OpenGaussDatastoreOptionType) MarshalJSON added in v0.1.43

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

func (*OpenGaussDatastoreOptionType) UnmarshalJSON added in v0.1.43

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

func (OpenGaussDatastoreOptionType) Value added in v0.1.43

type OpenGaussDatastoreOptionTypeEnum added in v0.1.43

type OpenGaussDatastoreOptionTypeEnum struct {
	GAUSS_DB OpenGaussDatastoreOptionType
}

func GetOpenGaussDatastoreOptionTypeEnum added in v0.1.43

func GetOpenGaussDatastoreOptionTypeEnum() OpenGaussDatastoreOptionTypeEnum

type OpenGaussDatastoreResponse

type OpenGaussDatastoreResponse struct {

	// 数据库引擎,不区分大小写,取值如下:  GaussDB(for openGauss)
	Type OpenGaussDatastoreResponseType `json:"type"`

	// 数据库版本。
	Version string `json:"version"`
}

OpenGaussDatastoreResponse 数据库版本。不填时,默认为当前最新版本。 数据库支持版本可根据查询数据库引擎版本接口获取

func (OpenGaussDatastoreResponse) String

type OpenGaussDatastoreResponseType

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

func (OpenGaussDatastoreResponseType) MarshalJSON

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

func (*OpenGaussDatastoreResponseType) UnmarshalJSON

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

func (OpenGaussDatastoreResponseType) Value added in v0.0.90

type OpenGaussDatastoreResponseTypeEnum

type OpenGaussDatastoreResponseTypeEnum struct {
	GAUSS_DB                OpenGaussDatastoreResponseType
	GAUSS_DB_FOR_OPEN_GAUSS OpenGaussDatastoreResponseType
}

func GetOpenGaussDatastoreResponseTypeEnum

func GetOpenGaussDatastoreResponseTypeEnum() OpenGaussDatastoreResponseTypeEnum

type OpenGaussDatastoreResult added in v0.1.43

type OpenGaussDatastoreResult struct {

	// 数据库引擎,不区分大小写,取值如下:  GaussDB
	Type OpenGaussDatastoreResultType `json:"type"`

	// 数据库版本。
	Version string `json:"version"`
}

OpenGaussDatastoreResult 数据库版本。不填时,默认为当前最新版本。 数据库支持版本可根据查询数据库引擎版本接口获取

func (OpenGaussDatastoreResult) String added in v0.1.43

func (o OpenGaussDatastoreResult) String() string

type OpenGaussDatastoreResultType added in v0.1.43

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

func (OpenGaussDatastoreResultType) MarshalJSON added in v0.1.43

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

func (*OpenGaussDatastoreResultType) UnmarshalJSON added in v0.1.43

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

func (OpenGaussDatastoreResultType) Value added in v0.1.43

type OpenGaussDatastoreResultTypeEnum added in v0.1.43

type OpenGaussDatastoreResultTypeEnum struct {
	GAUSS_DB OpenGaussDatastoreResultType
}

func GetOpenGaussDatastoreResultTypeEnum added in v0.1.43

func GetOpenGaussDatastoreResultTypeEnum() OpenGaussDatastoreResultTypeEnum

type OpenGaussDatastoreType

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

func (OpenGaussDatastoreType) MarshalJSON

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

func (*OpenGaussDatastoreType) UnmarshalJSON

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

func (OpenGaussDatastoreType) Value added in v0.0.90

func (c OpenGaussDatastoreType) Value() string

type OpenGaussDatastoreTypeEnum

type OpenGaussDatastoreTypeEnum struct {
	GAUSS_DB_FOR_OPEN_GAUSS OpenGaussDatastoreType
	GAUSS_DB                OpenGaussDatastoreType
}

func GetOpenGaussDatastoreTypeEnum

func GetOpenGaussDatastoreTypeEnum() OpenGaussDatastoreTypeEnum

type OpenGaussEnlargeVolume

type OpenGaussEnlargeVolume struct {

	// GaussDB磁盘大小要求(分片数*40GB)的倍数;取值范围:(分片数*40GB)~(分片数*16TB)
	Size int32 `json:"size"`
}

OpenGaussEnlargeVolume 扩容实例磁盘时必填。 所需扩容到的磁盘容量大小。

func (OpenGaussEnlargeVolume) String

func (o OpenGaussEnlargeVolume) String() string

type OpenGaussErrorResponse

type OpenGaussErrorResponse struct {

	// 错误码
	ErrorCode string `json:"error_code"`

	// 错误消息。
	ErrorMsg string `json:"error_msg"`
}

func (OpenGaussErrorResponse) String

func (o OpenGaussErrorResponse) String() string

type OpenGaussExpandCluster

type OpenGaussExpandCluster struct {

	// CN横向扩容时必填
	Coordinators *[]OpenGaussCoordinators `json:"coordinators,omitempty"`

	Shard *OpenGaussShard `json:"shard,omitempty"`
}

OpenGaussExpandCluster CN横向扩容/DN分片扩容时必填

func (OpenGaussExpandCluster) String

func (o OpenGaussExpandCluster) String() string

type OpenGaussHa

type OpenGaussHa struct {

	// GaussDB为分布式时,取值:enterprise;为集中式时,取值:centralization_standard。不区分大小写。
	Mode OpenGaussHaMode `json:"mode"`

	// 指定实例一致性类型,当创建分布式模式实例时,该字段值必传,当创建主备模式实例时,该字段值不传。取值范围:strong(强一致性) | eventual(最终一致性),不分区大小写。
	Consistency OpenGaussHaConsistency `json:"consistency"`

	// 备机同步参数。  取值:  GaussDB为“sync\"  说明: - “sync”为同步模式。
	ReplicationMode OpenGaussHaReplicationMode `json:"replication_mode"`
}

OpenGaussHa 实例部署形态。

func (OpenGaussHa) String

func (o OpenGaussHa) String() string

type OpenGaussHaConsistency

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

func (OpenGaussHaConsistency) MarshalJSON

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

func (*OpenGaussHaConsistency) UnmarshalJSON

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

func (OpenGaussHaConsistency) Value added in v0.0.90

func (c OpenGaussHaConsistency) Value() string

type OpenGaussHaConsistencyEnum

type OpenGaussHaConsistencyEnum struct {
	STRONG   OpenGaussHaConsistency
	EVENTUAL OpenGaussHaConsistency
}

func GetOpenGaussHaConsistencyEnum

func GetOpenGaussHaConsistencyEnum() OpenGaussHaConsistencyEnum

type OpenGaussHaMode

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

func (OpenGaussHaMode) MarshalJSON

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

func (*OpenGaussHaMode) UnmarshalJSON

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

func (OpenGaussHaMode) Value added in v0.0.90

func (c OpenGaussHaMode) Value() string

type OpenGaussHaModeEnum

type OpenGaussHaModeEnum struct {
	ENTERPRISE              OpenGaussHaMode
	CENTRALIZATION_STANDARD OpenGaussHaMode
}

func GetOpenGaussHaModeEnum

func GetOpenGaussHaModeEnum() OpenGaussHaModeEnum

type OpenGaussHaOption added in v0.1.43

type OpenGaussHaOption struct {

	// GaussDB为分布式时,取值:enterprise;为集中式时,取值:centralization_standard。不区分大小写。
	Mode OpenGaussHaOptionMode `json:"mode"`

	// 指定实例一致性类型,当创建分布式模式实例时,该字段值必传,当创建主备模式实例时,该字段值不传。取值范围:strong(强一致性) | eventual(最终一致性),不分区大小写。
	Consistency OpenGaussHaOptionConsistency `json:"consistency"`

	// 备机同步参数。  取值:  GaussDB为“sync\"  说明: - “sync”为同步模式。
	ReplicationMode OpenGaussHaOptionReplicationMode `json:"replication_mode"`
}

OpenGaussHaOption 实例部署形态。

func (OpenGaussHaOption) String added in v0.1.43

func (o OpenGaussHaOption) String() string

type OpenGaussHaOptionConsistency added in v0.1.43

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

func (OpenGaussHaOptionConsistency) MarshalJSON added in v0.1.43

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

func (*OpenGaussHaOptionConsistency) UnmarshalJSON added in v0.1.43

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

func (OpenGaussHaOptionConsistency) Value added in v0.1.43

type OpenGaussHaOptionConsistencyEnum added in v0.1.43

type OpenGaussHaOptionConsistencyEnum struct {
	STRONG   OpenGaussHaOptionConsistency
	EVENTUAL OpenGaussHaOptionConsistency
}

func GetOpenGaussHaOptionConsistencyEnum added in v0.1.43

func GetOpenGaussHaOptionConsistencyEnum() OpenGaussHaOptionConsistencyEnum

type OpenGaussHaOptionMode added in v0.1.43

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

func (OpenGaussHaOptionMode) MarshalJSON added in v0.1.43

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

func (*OpenGaussHaOptionMode) UnmarshalJSON added in v0.1.43

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

func (OpenGaussHaOptionMode) Value added in v0.1.43

func (c OpenGaussHaOptionMode) Value() string

type OpenGaussHaOptionModeEnum added in v0.1.43

type OpenGaussHaOptionModeEnum struct {
	ENTERPRISE              OpenGaussHaOptionMode
	CENTRALIZATION_STANDARD OpenGaussHaOptionMode
}

func GetOpenGaussHaOptionModeEnum added in v0.1.43

func GetOpenGaussHaOptionModeEnum() OpenGaussHaOptionModeEnum

type OpenGaussHaOptionReplicationMode added in v0.1.43

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

func (OpenGaussHaOptionReplicationMode) MarshalJSON added in v0.1.43

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

func (*OpenGaussHaOptionReplicationMode) UnmarshalJSON added in v0.1.43

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

func (OpenGaussHaOptionReplicationMode) Value added in v0.1.43

type OpenGaussHaOptionReplicationModeEnum added in v0.1.43

type OpenGaussHaOptionReplicationModeEnum struct {
	SYNC OpenGaussHaOptionReplicationMode
}

func GetOpenGaussHaOptionReplicationModeEnum added in v0.1.43

func GetOpenGaussHaOptionReplicationModeEnum() OpenGaussHaOptionReplicationModeEnum

type OpenGaussHaReplicationMode

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

func (OpenGaussHaReplicationMode) MarshalJSON

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

func (*OpenGaussHaReplicationMode) UnmarshalJSON

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

func (OpenGaussHaReplicationMode) Value added in v0.0.90

type OpenGaussHaReplicationModeEnum

type OpenGaussHaReplicationModeEnum struct {
	SYNC OpenGaussHaReplicationMode
}

func GetOpenGaussHaReplicationModeEnum

func GetOpenGaussHaReplicationModeEnum() OpenGaussHaReplicationModeEnum

type OpenGaussHaResponse

type OpenGaussHaResponse struct {

	// GaussDB 分布式模式,返回值为:Enterprise(企业版);主备版,返回值为:Ha(主备版)。
	Mode OpenGaussHaResponseMode `json:"mode"`

	// 备机同步参数。  取值:  GaussDB为“sync”。 说明: - “sync”为同步模式。
	ReplicationMode OpenGaussHaResponseReplicationMode `json:"replication_mode"`

	// GaussDB的预留参数:指定实例一致性类型,取值范围:strong(强一致性) | eventual(最终一致性)。
	Consistency OpenGaussHaResponseConsistency `json:"consistency"`
}

OpenGaussHaResponse 实例部署形态。

func (OpenGaussHaResponse) String

func (o OpenGaussHaResponse) String() string

type OpenGaussHaResponseConsistency

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

func (OpenGaussHaResponseConsistency) MarshalJSON

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

func (*OpenGaussHaResponseConsistency) UnmarshalJSON

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

func (OpenGaussHaResponseConsistency) Value added in v0.0.90

type OpenGaussHaResponseConsistencyEnum

type OpenGaussHaResponseConsistencyEnum struct {
	STRONG   OpenGaussHaResponseConsistency
	EVENTUAL OpenGaussHaResponseConsistency
}

func GetOpenGaussHaResponseConsistencyEnum

func GetOpenGaussHaResponseConsistencyEnum() OpenGaussHaResponseConsistencyEnum

type OpenGaussHaResponseMode

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

func (OpenGaussHaResponseMode) MarshalJSON

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

func (*OpenGaussHaResponseMode) UnmarshalJSON

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

func (OpenGaussHaResponseMode) Value added in v0.0.90

func (c OpenGaussHaResponseMode) Value() string

type OpenGaussHaResponseModeEnum

type OpenGaussHaResponseModeEnum struct {
	ENTERPRISE OpenGaussHaResponseMode
	HA         OpenGaussHaResponseMode
}

func GetOpenGaussHaResponseModeEnum

func GetOpenGaussHaResponseModeEnum() OpenGaussHaResponseModeEnum

type OpenGaussHaResponseReplicationMode

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

func (OpenGaussHaResponseReplicationMode) MarshalJSON

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

func (*OpenGaussHaResponseReplicationMode) UnmarshalJSON

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

func (OpenGaussHaResponseReplicationMode) Value added in v0.0.90

type OpenGaussHaResponseReplicationModeEnum

type OpenGaussHaResponseReplicationModeEnum struct {
	SYNC OpenGaussHaResponseReplicationMode
}

func GetOpenGaussHaResponseReplicationModeEnum

func GetOpenGaussHaResponseReplicationModeEnum() OpenGaussHaResponseReplicationModeEnum

type OpenGaussHaResult added in v0.1.43

type OpenGaussHaResult struct {

	// GaussDB 分布式模式,返回值为:enterprise(企业版);主备版,返回值为:centralization_standard(主备版)。
	Mode OpenGaussHaResultMode `json:"mode"`

	// 备机同步参数。  取值:  GaussDB为“sync”。 说明: - “sync”为同步模式。
	ReplicationMode OpenGaussHaResultReplicationMode `json:"replication_mode"`

	// GaussDB的预留参数:指定实例一致性类型,取值范围:strong(强一致性) | eventual(最终一致性)。
	Consistency OpenGaussHaResultConsistency `json:"consistency"`

	// 指定副本一致性协议类型,取值范围:quorum | paxos。不填时,默认为quorum。
	ConsistencyProtocol *string `json:"consistency_protocol,omitempty"`
}

OpenGaussHaResult 实例部署形态。

func (OpenGaussHaResult) String added in v0.1.43

func (o OpenGaussHaResult) String() string

type OpenGaussHaResultConsistency added in v0.1.43

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

func (OpenGaussHaResultConsistency) MarshalJSON added in v0.1.43

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

func (*OpenGaussHaResultConsistency) UnmarshalJSON added in v0.1.43

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

func (OpenGaussHaResultConsistency) Value added in v0.1.43

type OpenGaussHaResultConsistencyEnum added in v0.1.43

type OpenGaussHaResultConsistencyEnum struct {
	STRONG   OpenGaussHaResultConsistency
	EVENTUAL OpenGaussHaResultConsistency
}

func GetOpenGaussHaResultConsistencyEnum added in v0.1.43

func GetOpenGaussHaResultConsistencyEnum() OpenGaussHaResultConsistencyEnum

type OpenGaussHaResultMode added in v0.1.43

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

func (OpenGaussHaResultMode) MarshalJSON added in v0.1.43

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

func (*OpenGaussHaResultMode) UnmarshalJSON added in v0.1.43

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

func (OpenGaussHaResultMode) Value added in v0.1.43

func (c OpenGaussHaResultMode) Value() string

type OpenGaussHaResultModeEnum added in v0.1.43

type OpenGaussHaResultModeEnum struct {
	ENTERPRISE              OpenGaussHaResultMode
	CENTRALIZATION_STANDARD OpenGaussHaResultMode
}

func GetOpenGaussHaResultModeEnum added in v0.1.43

func GetOpenGaussHaResultModeEnum() OpenGaussHaResultModeEnum

type OpenGaussHaResultReplicationMode added in v0.1.43

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

func (OpenGaussHaResultReplicationMode) MarshalJSON added in v0.1.43

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

func (*OpenGaussHaResultReplicationMode) UnmarshalJSON added in v0.1.43

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

func (OpenGaussHaResultReplicationMode) Value added in v0.1.43

type OpenGaussHaResultReplicationModeEnum added in v0.1.43

type OpenGaussHaResultReplicationModeEnum struct {
	SYNC OpenGaussHaResultReplicationMode
}

func GetOpenGaussHaResultReplicationModeEnum added in v0.1.43

func GetOpenGaussHaResultReplicationModeEnum() OpenGaussHaResultReplicationModeEnum

type OpenGaussInstanceActionRequest

type OpenGaussInstanceActionRequest struct {
	ExpandCluster *OpenGaussExpandCluster `json:"expand_cluster,omitempty"`

	EnlargeVolume *OpenGaussEnlargeVolume `json:"enlarge_volume,omitempty"`

	// 包周期实例时可指定,表示是否自动从账户中支付,此字段不影响自动续订的支付方式。  true,表示自动从账户中支付。 false,表示手动从账户中支付,默认为该方式。
	IsAutoPay *string `json:"is_auto_pay,omitempty"`
}

OpenGaussInstanceActionRequest

func (OpenGaussInstanceActionRequest) String

type OpenGaussInstanceRequest

type OpenGaussInstanceRequest struct {

	// 实例名称。 用于表示实例的名称,同一租户下,同类型的实例名可重名。  取值范围:4~64个字符之间,必须以字母开头,区分大小写,可以包含字母、数字、中划线或者下划线,不能包含其他的特殊字符。
	Name string `json:"name"`

	Datastore *OpenGaussDatastore `json:"datastore"`

	Ha *OpenGaussHa `json:"ha"`

	// 参数模板ID。当不传该参数时,使用系统默认的参数模板。
	ConfigurationId *string `json:"configuration_id,omitempty"`

	// 数据库对外开放的端口,不填默认为8000,可选范围为:1024-39998。限制端口: 2378,2379,2380,4999,5000,5999,6000,6001,8097,8098,12016,12017,20049,20050,21731,21732,32122,32123,32124。  - GaussDB数据库端口当前只支持设置为8000,当不传该参数时,默认端口为8000。
	Port *string `json:"port,omitempty"`

	// 数据库密码。必选。  取值范围:  '非空; 至少包含大写字母(A-Z),小写字母(a-z),数字(0-9),非字母数字字符(限定为~!@#%^*-_=+?,)四类字符中的三类字符;长度8~32个字符。'  '建议您输入高强度密码,以提高安全性,防止出现密码被暴力破解等安全风险。'
	Password string `json:"password"`

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

	// 企业项目ID。只有企业租户时该参数才生效。  使用请参考《企业管理 API参考》的“[查询企业项目列表](https://support.huaweicloud.com/api-em/zh-cn_topic_0121230880.html)”响应消息表“enterprise_project字段数据结构说明”的“id”。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 用于磁盘加密的密钥ID,默认为空。
	DiskEncryptionId *string `json:"disk_encryption_id,omitempty"`

	// 规格码,取值范围:非空。参考[表1](https://support.huaweicloud.com/api-opengauss/opengauss_api_0037.html#opengauss_api_0037__ted9b9d433c8a4c52884e199e17f94479)中GaussDB 的“规格编码”列内容获取。
	FlavorRef string `json:"flavor_ref"`

	Volume *OpenGaussVolume `json:"volume"`

	// 区域ID。  取值范围:非空,请参见[地区和终端节点](https://developer.huaweicloud.com/endpoint)。
	Region string `json:"region"`

	// 可用区ID。  GaussDB取值范围:非空,可选部署在同一可用区或三个不同可用区,可用区之间用逗号隔开。详见示例。  - 部署在同一可用区:需要输入三个相同的可用区。例如:部署在“cn-north-4a”可用区,则需要在此处输入\"cn-north-4a,cn-north-4a,cn-north-4a\"。 - 部署在三个不同可用区:需要分别输入三个不同的可用区。 取值范围:非空,请参见[地区和终端节点](https://developer.huaweicloud.com/endpoint)。
	AvailabilityZone string `json:"availability_zone"`

	// 虚拟私有云ID,获取方法如下:  - 方法1:登录虚拟私有云服务的控制台界面,在虚拟私有云的详情页面查找VPC ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考[查询VPC列表](https://support.huaweicloud.com/api-vpc/vpc_api01_0003.html)。
	VpcId string `json:"vpc_id"`

	// 子网的网络ID信息,获取方法如下:  - 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找网络ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考[查询子网列表](https://support.huaweicloud.com/api-vpc/vpc_subnet01_0003.html)。
	SubnetId string `json:"subnet_id"`

	// 指定实例所属的安全组。如果不需要指定安全组,请联系客服申请白名单。  - 方法1:登录虚拟私有云服务的控制台界面,在安全组的详情页面查找安全组ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考[查询安全组列表](https://support.huaweicloud.com/api-vpc/vpc_sg01_0003.html)。
	SecurityGroupId string `json:"security_group_id"`

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

	// UTC时区。  - 不选择时,GaussDB国内站、默认为UTC时间。 - 选择填写时,取值范围为UTC-12:00~UTC+12:00,且只支持整段时间,如UTC+08:00,不支持UTC+08:30。
	TimeZone *string `json:"time_zone,omitempty"`

	// 仅分布式形态需要填写该参数。分片数量,取值范围1~9。
	ShardingNum *int32 `json:"sharding_num,omitempty"`

	// 仅分布式形态需要填写该参数。协调节点数量,取值范围1~9。CN数量必须小于或等于两倍的分片数。
	CoordinatorNum *int32 `json:"coordinator_num,omitempty"`

	// 实例副本数,支持取值2,3。不填默认为3。仅支持1.3.0及以上版本的实例。  说明: 2副本选项仅针对特定用户开放,如需配置白名单权限,您可以在管理控制台右上角,选择“[工单 > 新建工单](https://auth.huaweicloud.com/authui/login.html?service=https%3A%2F%2Fconsole.huaweicloud.com%2Fticket%2F%3Fregion%3Dcn-north-1%26locale%3Dzh-cn%26cloud_route_state%3D%2Fticketindex%2FcreateIndex#/login)”,提交开通白名单的申请。
	ReplicaNum *OpenGaussInstanceRequestReplicaNum `json:"replica_num,omitempty"`

	// enable_force_switch表示是否开启备机强升主功能,enable_force_switch=true表示开启备机强升主功能,enable_force_switch=false表示关闭,默认关闭。仅支持1.2.2及以上版本。  说明:  备机强升主功能适用场景:在主机发生故障后,为了保障集群的可用性,强制拉起备机作为新主机对外提供服务的场景。 本功能在集群故障状态下,以丢失部分数据为代价换取集群尽可能快的恢复服务。本功能是集群状态为不可用时的一个逃生方法,如果操作者不清楚备机强升后丢失数据对业务的影响,请勿使用本功能。 备机强升主相关介绍请参考《故障处理》备机强升主章节。
	EnableForceSwitch *bool `json:"enable_force_switch,omitempty"`
}

OpenGaussInstanceRequest 实例信息

func (OpenGaussInstanceRequest) String

func (o OpenGaussInstanceRequest) String() string

type OpenGaussInstanceRequestBody added in v0.1.43

type OpenGaussInstanceRequestBody struct {

	// 实例名称。 用于表示实例的名称,同一租户下,同类型的实例名可重名。  取值范围:4~64个字符之间,必须以字母开头,区分大小写,可以包含字母、数字、中划线或者下划线,不能包含其他的特殊字符。
	Name string `json:"name"`

	Datastore *OpenGaussDatastoreOption `json:"datastore"`

	Ha *OpenGaussHaOption `json:"ha"`

	// 参数模板ID。当不传该参数时,使用系统默认的参数模板。
	ConfigurationId *string `json:"configuration_id,omitempty"`

	// 数据库对外开放的端口,不填默认为8000,可选范围为:1024-39998。限制端口: 2378,2379,2380,4999,5000,5999,6000,6001,8097,8098,12016,12017,20049,20050,21731,21732,32122,32123,32124。  - GaussDB数据库端口当前只支持设置为8000,当不传该参数时,默认端口为8000。
	Port *string `json:"port,omitempty"`

	// 数据库密码。必选。  取值范围:  '非空; 至少包含大写字母(A-Z),小写字母(a-z),数字(0-9),非字母数字字符(限定为~!@#%^*-_=+?,)四类字符中的三类字符;长度8~32个字符。'  '建议您输入高强度密码,以提高安全性,防止出现密码被暴力破解等安全风险。'
	Password string `json:"password"`

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

	// 企业项目ID。只有企业租户时该参数才生效。  使用请参考《企业管理 API参考》的“[查询企业项目列表](https://support.huaweicloud.com/api-em/zh-cn_topic_0121230880.html)”响应消息表“enterprise_project字段数据结构说明”的“id”。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 用于磁盘加密的密钥ID,默认为空。
	DiskEncryptionId *string `json:"disk_encryption_id,omitempty"`

	// 规格码,取值范围:非空。参考[表1](https://support.huaweicloud.com/api-opengauss/opengauss_api_0037.html#opengauss_api_0037__ted9b9d433c8a4c52884e199e17f94479)中GaussDB的“规格编码”列内容获取。
	FlavorRef string `json:"flavor_ref"`

	Volume *OpenGaussVolume `json:"volume"`

	// 区域ID。  取值范围:非空,请参见[地区和终端节点](https://developer.huaweicloud.com/endpoint)。
	Region string `json:"region"`

	// 可用区ID。  GaussDB取值范围:非空,可选部署在同一可用区或三个不同可用区,可用区之间用逗号隔开。详见示例。  - 部署在同一可用区:需要输入三个相同的可用区。例如:部署在“cn-north-4a”可用区,则需要在此处输入\"cn-north-4a,cn-north-4a,cn-north-4a\"。 - 部署在三个不同可用区:需要分别输入三个不同的可用区。 取值范围:非空,请参见[地区和终端节点](https://developer.huaweicloud.com/endpoint)。
	AvailabilityZone string `json:"availability_zone"`

	// 虚拟私有云ID,获取方法如下:  - 方法1:登录虚拟私有云服务的控制台界面,在虚拟私有云的详情页面查找VPC ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考[查询VPC列表](https://support.huaweicloud.com/api-vpc/vpc_api01_0003.html)。
	VpcId string `json:"vpc_id"`

	// 子网的网络ID信息,获取方法如下:  - 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找网络ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考[查询子网列表](https://support.huaweicloud.com/api-vpc/vpc_subnet01_0003.html)。
	SubnetId string `json:"subnet_id"`

	// 指定实例所属的安全组。如果不需要指定安全组,请联系客服申请白名单。  - 方法1:登录虚拟私有云服务的控制台界面,在安全组的详情页面查找安全组ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考[查询安全组列表](https://support.huaweicloud.com/api-vpc/vpc_sg01_0003.html)。
	SecurityGroupId string `json:"security_group_id"`

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

	// UTC时区。  - 不选择时,GaussDB国内站、默认为UTC时间。 - 选择填写时,取值范围为UTC-12:00~UTC+12:00,且只支持整段时间,如UTC+08:00,不支持UTC+08:30。
	TimeZone *string `json:"time_zone,omitempty"`

	// 仅分布式形态需要填写该参数。分片数量,取值范围1~9。
	ShardingNum *int32 `json:"sharding_num,omitempty"`

	// 仅分布式形态需要填写该参数。协调节点数量,取值范围1~9。CN数量必须小于或等于两倍的分片数。
	CoordinatorNum *int32 `json:"coordinator_num,omitempty"`

	// 实例副本数,支持取值2,3。不填默认为3。仅支持1.3.0及以上版本的实例。  说明: 2副本选项仅针对特定用户开放,如需配置白名单权限,您可以在管理控制台右上角,选择“[工单 > 新建工单](https://auth.huaweicloud.com/authui/login.html?service=https%3A%2F%2Fconsole.huaweicloud.com%2Fticket%2F%3Fregion%3Dcn-north-1%26locale%3Dzh-cn%26cloud_route_state%3D%2Fticketindex%2FcreateIndex#/login)”,提交开通白名单的申请。
	ReplicaNum *OpenGaussInstanceRequestBodyReplicaNum `json:"replica_num,omitempty"`

	// enable_force_switch表示是否开启备机强升主功能,enable_force_switch=true表示开启备机强升主功能,enable_force_switch=false表示关闭,默认关闭。仅支持1.2.2及以上版本。  说明:  备机强升主功能适用场景:在主机发生故障后,为了保障集群的可用性,强制拉起备机作为新主机对外提供服务的场景。 本功能在集群故障状态下,以丢失部分数据为代价换取集群尽可能快的恢复服务。本功能是集群状态为不可用时的一个逃生方法,如果操作者不清楚备机强升后丢失数据对业务的影响,请勿使用本功能。 备机强升主相关介绍请参考《故障处理》备机强升主章节。
	EnableForceSwitch *bool `json:"enable_force_switch,omitempty"`
}

OpenGaussInstanceRequestBody 实例信息

func (OpenGaussInstanceRequestBody) String added in v0.1.43

type OpenGaussInstanceRequestBodyReplicaNum added in v0.1.43

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

func (OpenGaussInstanceRequestBodyReplicaNum) MarshalJSON added in v0.1.43

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

func (*OpenGaussInstanceRequestBodyReplicaNum) UnmarshalJSON added in v0.1.43

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

func (OpenGaussInstanceRequestBodyReplicaNum) Value added in v0.1.43

type OpenGaussInstanceRequestBodyReplicaNumEnum added in v0.1.43

type OpenGaussInstanceRequestBodyReplicaNumEnum struct {
	E_2 OpenGaussInstanceRequestBodyReplicaNum
	E_3 OpenGaussInstanceRequestBodyReplicaNum
}

func GetOpenGaussInstanceRequestBodyReplicaNumEnum added in v0.1.43

func GetOpenGaussInstanceRequestBodyReplicaNumEnum() OpenGaussInstanceRequestBodyReplicaNumEnum

type OpenGaussInstanceRequestReplicaNum

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

func (OpenGaussInstanceRequestReplicaNum) MarshalJSON

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

func (*OpenGaussInstanceRequestReplicaNum) UnmarshalJSON

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

func (OpenGaussInstanceRequestReplicaNum) Value added in v0.0.90

type OpenGaussInstanceRequestReplicaNumEnum

type OpenGaussInstanceRequestReplicaNumEnum struct {
	E_2 OpenGaussInstanceRequestReplicaNum
	E_3 OpenGaussInstanceRequestReplicaNum
}

func GetOpenGaussInstanceRequestReplicaNumEnum

func GetOpenGaussInstanceRequestReplicaNumEnum() OpenGaussInstanceRequestReplicaNumEnum

type OpenGaussInstanceResponse

type OpenGaussInstanceResponse struct {

	// 实例ID。
	Id string `json:"id"`

	// 实例名称。用于表示实例的名称,同一租户下,同类型的实例名称可相同。  取值范围:4~64个字符之间,必须以字母开头,不区分大小写,可以包含字母、数字、中划线或者下划线,不能包含其他的特殊字符。
	Name string `json:"name"`

	// 实例状态。如BUILD,表示创建中。  仅创建按需实例时会返回该参数。
	Status string `json:"status"`

	Datastore *OpenGaussDatastoreResponse `json:"datastore"`

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

	// 实例副本数。
	ReplicaNum *int32 `json:"replica_num,omitempty"`

	BackupStrategy *OpenGaussBackupStrategyForResponse `json:"backup_strategy"`

	// 数据库端口信息,与请求参数相同。
	Port string `json:"port"`

	// 项目标签。
	EnterpriseProjectId string `json:"enterprise_project_id"`

	// 规格码,取值范围:非空。参考[表1](https://support.huaweicloud.com/api-opengauss/opengauss_api_0037.html#opengauss_api_0037__ted9b9d433c8a4c52884e199e17f94479)中GaussDB 的“规格编码”列内容获取。
	FlavorRef string `json:"flavor_ref"`

	Volume *OpenGaussVolumeResponse `json:"volume"`

	// 区域ID。
	Region string `json:"region"`

	// 可用区ID。
	AvailabilityZone string `json:"availability_zone"`

	// 虚拟私有云ID。
	VpcId string `json:"vpc_id"`

	// 子网的网络ID信息。
	SubnetId string `json:"subnet_id"`

	// 实例所属的安全组。
	SecurityGroupId string `json:"security_group_id"`

	ChargeInfo *OpenGaussChargeInfoResponse `json:"charge_info"`
}

OpenGaussInstanceResponse 实例信息。

func (OpenGaussInstanceResponse) String

func (o OpenGaussInstanceResponse) String() string

type OpenGaussInstanceResult added in v0.1.43

type OpenGaussInstanceResult struct {

	// 实例ID。
	Id string `json:"id"`

	// 实例名称。用于表示实例的名称,同一租户下,同类型的实例名称可相同。  取值范围:4~64个字符之间,必须以字母开头,不区分大小写,可以包含字母、数字、中划线或者下划线,不能包含其他的特殊字符。
	Name string `json:"name"`

	// 实例状态。如BUILD,表示创建中。  仅创建按需实例时会返回该参数。
	Status string `json:"status"`

	Datastore *OpenGaussDatastoreResult `json:"datastore"`

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

	// 实例副本数。
	ReplicaNum *int32 `json:"replica_num,omitempty"`

	BackupStrategy *OpenGaussBackupStrategyForResponse `json:"backup_strategy"`

	// 数据库端口信息,与请求参数相同。
	Port string `json:"port"`

	// 项目标签。
	EnterpriseProjectId string `json:"enterprise_project_id"`

	// 规格码,取值范围:非空。参考[表1](https://support.huaweicloud.com/api-opengauss/opengauss_api_0037.html#opengauss_api_0037__ted9b9d433c8a4c52884e199e17f94479)中GaussDB的“规格编码”列内容获取。
	FlavorRef string `json:"flavor_ref"`

	Volume *OpenGaussVolumeResult `json:"volume"`

	// 区域ID。
	Region string `json:"region"`

	// 可用区ID。
	AvailabilityZone string `json:"availability_zone"`

	// 虚拟私有云ID。
	VpcId string `json:"vpc_id"`

	// 子网的网络ID信息。
	SubnetId string `json:"subnet_id"`

	// 实例所属的安全组。
	SecurityGroupId string `json:"security_group_id"`

	ChargeInfo *OpenGaussChargeInfoResponse `json:"charge_info"`
}

OpenGaussInstanceResult 实例信息。

func (OpenGaussInstanceResult) String added in v0.1.43

func (o OpenGaussInstanceResult) String() string

type OpenGaussModifyInstanceConfigurationRequest

type OpenGaussModifyInstanceConfigurationRequest struct {

	// 参数值对象Map<String,String>,用户基于默认参数模板自定义的参数值。
	Values map[string]string `json:"values"`
}

func (OpenGaussModifyInstanceConfigurationRequest) String

type OpenGaussResizeRequest added in v0.0.90

type OpenGaussResizeRequest struct {

	// 规格变更时选定的目标规格。新规格的资源规格编码。参考表1中GaussDB的“规格编码”列内容获取。
	FlavorRef string `json:"flavor_ref"`

	// 创建包周期实例时可指定,表示是否自动从账户中支付,此字段不影响自动续订的支付方式。true,表示自动从账户中支付。false,表示手动从账户中支付,默认为该方式。
	IsAutoPay *bool `json:"is_auto_pay,omitempty"`
}

OpenGaussResizeRequest 规格变更时必填。

func (OpenGaussResizeRequest) String added in v0.0.90

func (o OpenGaussResizeRequest) String() string

type OpenGaussShard

type OpenGaussShard struct {

	// 新增的DN分片扩容数大小
	Count int32 `json:"count"`
}

OpenGaussShard DN分片扩容时必填

func (OpenGaussShard) String

func (o OpenGaussShard) String() string

type OpenGaussVolume

type OpenGaussVolume struct {

	// 磁盘类型。  仅支持ULTRAHIGH和ESSD,区分大小写,分别表示SSD和急速云盘。
	Type OpenGaussVolumeType `json:"type"`

	// 磁盘大小。例如:该参数填写为“40”,表示为创建的实例分配40GB的磁盘空间。  取值范围:(分片数*40GB)~(分片数*16TB),且大小只能为分片数*40的整数倍。
	Size int32 `json:"size"`
}

OpenGaussVolume volume信息。

func (OpenGaussVolume) String

func (o OpenGaussVolume) String() string

type OpenGaussVolumeResponse

type OpenGaussVolumeResponse struct {

	// 磁盘类型。  取值如下,区分大小写:  - ULTRAHIGH,表示SSD。 - ESSD,表示急速云盘
	Type OpenGaussVolumeResponseType `json:"type"`

	// 磁盘大小。  GaussDB分布式实例创建时需指定大小:要求必须为(分片数 * 40GB)的倍数,取值范围:(分片数*40GB)~(分片数*16TB)。
	Size int32 `json:"size"`
}

OpenGaussVolumeResponse volume信息。

func (OpenGaussVolumeResponse) String

func (o OpenGaussVolumeResponse) String() string

type OpenGaussVolumeResponseType

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

func (OpenGaussVolumeResponseType) MarshalJSON

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

func (*OpenGaussVolumeResponseType) UnmarshalJSON

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

func (OpenGaussVolumeResponseType) Value added in v0.0.90

type OpenGaussVolumeResponseTypeEnum

type OpenGaussVolumeResponseTypeEnum struct {
	ULTRAHIGH OpenGaussVolumeResponseType
	ESSD      OpenGaussVolumeResponseType
}

func GetOpenGaussVolumeResponseTypeEnum

func GetOpenGaussVolumeResponseTypeEnum() OpenGaussVolumeResponseTypeEnum

type OpenGaussVolumeResult added in v0.1.43

type OpenGaussVolumeResult struct {

	// 磁盘类型。  取值如下,区分大小写:  - ULTRAHIGH,表示SSD。 - ESSD,表示急速云盘
	Type OpenGaussVolumeResultType `json:"type"`

	// 磁盘大小。  GaussDB分布式实例创建时需指定大小:要求必须为(分片数 * 40GB)的倍数,取值范围:(分片数*40GB)~(分片数*16TB)。
	Size int32 `json:"size"`
}

OpenGaussVolumeResult volume信息。

func (OpenGaussVolumeResult) String added in v0.1.43

func (o OpenGaussVolumeResult) String() string

type OpenGaussVolumeResultType added in v0.1.43

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

func (OpenGaussVolumeResultType) MarshalJSON added in v0.1.43

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

func (*OpenGaussVolumeResultType) UnmarshalJSON added in v0.1.43

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

func (OpenGaussVolumeResultType) Value added in v0.1.43

type OpenGaussVolumeResultTypeEnum added in v0.1.43

type OpenGaussVolumeResultTypeEnum struct {
	ULTRAHIGH OpenGaussVolumeResultType
	ESSD      OpenGaussVolumeResultType
}

func GetOpenGaussVolumeResultTypeEnum added in v0.1.43

func GetOpenGaussVolumeResultTypeEnum() OpenGaussVolumeResultTypeEnum

type OpenGaussVolumeType

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

func (OpenGaussVolumeType) MarshalJSON

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

func (*OpenGaussVolumeType) UnmarshalJSON

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

func (OpenGaussVolumeType) Value added in v0.0.90

func (c OpenGaussVolumeType) Value() string

type OpenGaussVolumeTypeEnum

type OpenGaussVolumeTypeEnum struct {
	ULTRAHIGH OpenGaussVolumeType
	ESSD      OpenGaussVolumeType
}

func GetOpenGaussVolumeTypeEnum

func GetOpenGaussVolumeTypeEnum() OpenGaussVolumeTypeEnum

type OpengaussRestoreInstanceRequest added in v0.0.88

type OpengaussRestoreInstanceRequest struct {

	// 实例名称。 用于表示实例的名称,同一租户下,同类型的实例名可重名。 取值范围:4~64个字符之间,必须以字母开头,区分大小写,可以包含字母、数字、中划线或者下划线,不能包含其他的特殊字符。
	Name string `json:"name"`

	// 可用区ID。  GaussDB取值范围:非空,可选部署在同一可用区或三个不同可用区,可用区之间用逗号隔开。详见示例。  - 部署在同一可用区:需要输入三个相同的可用区。例如:部署在“cn-north-4a”可用区,则需要在此处输入\"cn-north-4a,cn-north-4a,cn-north-4a\"。 - 部署在三个不同可用区:需要分别输入三个不同的可用区。 取值范围:非空,请参见[地区和终端节点](https://developer.huaweicloud.com/endpoint)。
	AvailabilityZone string `json:"availability_zone"`

	// 规格码,取值范围:非空。参考[表1](https://support.huaweicloud.com/api-opengauss/opengauss_api_0037.html#opengauss_api_0037__ted9b9d433c8a4c52884e199e17f94479)中GaussDB 的“规格编码”列内容获取。
	FlavorRef string `json:"flavor_ref"`

	Volume *OpenGaussVolume `json:"volume"`

	// 用于磁盘加密的密钥ID,默认为空。
	DiskEncryptionId *string `json:"disk_encryption_id,omitempty"`

	// 虚拟私有云ID,获取方法如下:  - 方法1:登录虚拟私有云服务的控制台界面,在虚拟私有云的详情页面查找VPC ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考[查询VPC列表](https://support.huaweicloud.com/api-vpc/vpc_api01_0003.html)。
	VpcId string `json:"vpc_id"`

	// 子网的网络ID信息,获取方法如下:  - 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找网络ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考[查询子网列表](https://support.huaweicloud.com/api-vpc/vpc_subnet01_0003.html)。
	SubnetId string `json:"subnet_id"`

	// 指定实例所属的安全组。如果不需要指定安全组,请联系客服申请白名单。  - 方法1:登录虚拟私有云服务的控制台界面,在安全组的详情页面查找安全组ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体操作可参考[查询安全组列表](https://support.huaweicloud.com/api-vpc/vpc_sg01_0003.html)。
	SecurityGroupId string `json:"security_group_id"`

	// 数据库密码。  取值范围:  非空,由大小写字母、数字和特殊符号~!@#%^*-_=+?组成,长度8~32个字符。  建议您输入高强度密码,以提高安全性,防止出现密码被暴力破解等安全风险。
	Password string `json:"password"`

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

	RestorePoint *RestorePoint `json:"restore_point"`

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

	// 是否支持备份并行恢复。当不传该参数时,企业版默认为不支持,主备版默认支持。
	EnableParallelRestore *bool `json:"enable_parallel_restore,omitempty"`

	// 参数组ID,当不传该参数时,使用系统默认的参数模板。
	ConfigurationId *string `json:"configuration_id,omitempty"`

	// 企业项目ID。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 数据库对外开放的端口,不填默认为8000,可选范围为:1024-39998。限制端口: 2378,2379,2380,4999,5000,5999,6000,6001,8097,8098,12016,12017,20049,20050,21731,21732,32122,32123,32124。  - GaussDB数据库端口当前只支持设置为8000,当不传该参数时,默认端口为8000。
	Port *string `json:"port,omitempty"`

	// 时区。  - 不选择时,国内站默认为UTC+08:00,国际站默认为UTC时间。 - 选择填写时,取值范围为UTC-12:00~UTC+12:00,且只支持整段时间,如UTC+08:00,不支持UTC+08:30。
	TimeZone *string `json:"time_zone,omitempty"`

	// enable_force_switch表示是否开启备机强升主功能,仅支持取值true,false。 enable_force_switch=true表示开启备机强升主功能,enable_force_switch=false表示关闭,默认关闭。仅支持1.2.2及以上版本。  说明:  备机强升主功能适用场景:在主机发生故障后,为了保障集群的可用性,强制拉起备机作为新主机对外提供服务的场景。 本功能在集群故障状态下,以丢失部分数据为代价换取集群尽可能快的恢复服务。本功能是集群状态为不可用时的一个逃生方法,如果操作者不清楚备机强升后丢失数据对业务的影响,请勿使用本功能。 备机强升主相关介绍请参考《故障处理》备机强升主章节。
	EnableForceSwitch *bool `json:"enable_force_switch,omitempty"`
}

OpengaussRestoreInstanceRequest 实例信息。

func (OpengaussRestoreInstanceRequest) String added in v0.0.88

type ParaErrorResponse added in v0.1.2

type ParaErrorResponse struct {

	// 错误码。
	ErrorCode string `json:"error_code"`

	// 错误消息。
	ErrorMsg string `json:"error_msg"`
}

func (ParaErrorResponse) String added in v0.1.2

func (o ParaErrorResponse) String() string

type ParaErrorResponseBody added in v0.1.13

type ParaErrorResponseBody struct {

	// 错误码。
	ErrorCode string `json:"error_code"`

	// 错误消息。
	ErrorMsg string `json:"error_msg"`
}

func (ParaErrorResponseBody) String added in v0.1.13

func (o ParaErrorResponseBody) String() string

type ParaGroupParameterResult added in v0.1.13

type ParaGroupParameterResult struct {

	// 特定参数名称。
	Name string `json:"name"`

	// 特定参数值。
	Value string `json:"value"`

	// 参数是否需要重启。 - 取值为\"true\",需要重启。 - 取值为\"false\",不需要重启。
	NeedRestart bool `json:"need_restart"`

	// 该参数是否只读(true:只读;false:可编辑)。
	Readonly bool `json:"readonly"`

	// 参数取值范围。
	ValueRange string `json:"value_range"`

	// 参数类型,取值为“string”、“integer”、“boolean”、“list”或“float”之一。
	DataType ParaGroupParameterResultDataType `json:"data_type"`

	// 参数描述。
	Description string `json:"description"`
}

func (ParaGroupParameterResult) String added in v0.1.13

func (o ParaGroupParameterResult) String() string

type ParaGroupParameterResultDataType added in v0.1.13

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

func (ParaGroupParameterResultDataType) MarshalJSON added in v0.1.13

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

func (*ParaGroupParameterResultDataType) UnmarshalJSON added in v0.1.13

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

func (ParaGroupParameterResultDataType) Value added in v0.1.13

type ParaGroupParameterResultDataTypeEnum added in v0.1.13

func GetParaGroupParameterResultDataTypeEnum added in v0.1.13

func GetParaGroupParameterResultDataTypeEnum() ParaGroupParameterResultDataTypeEnum

type ParamGroupCopyRequestBody added in v0.1.13

type ParamGroupCopyRequestBody struct {

	// 复制后的参数模板名称。
	Name string `json:"name"`

	// 参数模板描述。
	Description *string `json:"description,omitempty"`
}

func (ParamGroupCopyRequestBody) String added in v0.1.13

func (o ParamGroupCopyRequestBody) String() string

type ParamGroupDiffRequestBody added in v0.1.13

type ParamGroupDiffRequestBody struct {

	// 需要进行比较的参数组模板ID。
	SourceId string `json:"source_id"`

	// 需要进行比较的参数组模板ID。
	TargetId string `json:"target_id"`
}

func (ParamGroupDiffRequestBody) String added in v0.1.13

func (o ParamGroupDiffRequestBody) String() string

type ProjectQuotasResult added in v0.1.13

type ProjectQuotasResult struct {

	// 资源列表对象
	Resources []ResourceResult `json:"resources"`
}

func (ProjectQuotasResult) String added in v0.1.13

func (o ProjectQuotasResult) String() string

type PwdResetRequest

type PwdResetRequest struct {

	// 数据库root用户密码。  - 8~32个字符。 - 至少包含以下字符中的三种: - 大写字母、小写字母、数字和特殊字符~!@#%^*-_=+?,  - 弱密码校验。
	Password string `json:"password"`
}

PwdResetRequest 数据库root用户密码。 8~32个字符。 至少包含以下字符中的三种: 大写字母、小写字母、数字和特殊字符~!@#%^*-_=+?, 弱密码校验。

func (PwdResetRequest) String

func (o PwdResetRequest) String() string

type RecycleInstancesDetailResult added in v0.1.13

type RecycleInstancesDetailResult struct {

	// 实例ID。
	Id string `json:"id"`

	// 实例名称。
	Name string `json:"name"`

	// 部署形态。
	HaMode RecycleInstancesDetailResultHaMode `json:"ha_mode"`

	// 引擎版本号。
	EngineVersion string `json:"engine_version"`

	// 计费模式(0:按需计费;1:包年/包月)。
	PayModel RecycleInstancesDetailResultPayModel `json:"pay_model"`

	// 创建时间,格式为“yyyy-mm-ddThh:mm:ssZ”。 其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
	CreatedAt string `json:"created_at"`

	// 删除时间,格式为“yyyy-mm-ddThh:mm:ssZ”。 其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
	DeletedAt string `json:"deleted_at"`

	// 磁盘类型。(SAS:high;SSD:ultrahigh;ESSD:essd)。
	VolumeType RecycleInstancesDetailResultVolumeType `json:"volume_type"`

	// 数据vip。
	DataVip string `json:"data_vip"`

	// 企业项目ID。
	EnterpriseProjectId string `json:"enterprise_project_id"`

	// 备份ID。(指删除实例时产生备份信息中的备份ID)。
	RecycleBackupId string `json:"recycle_backup_id"`

	// 回收站备份状态。(Running:运行中;Active:有效的)。
	RecycleStatus RecycleInstancesDetailResultRecycleStatus `json:"recycle_status"`

	// 实例类型(basic:基础版;standard:标准版;enterprise:企业版)。
	Mode RecycleInstancesDetailResultMode `json:"mode"`
}

func (RecycleInstancesDetailResult) String added in v0.1.13

type RecycleInstancesDetailResultHaMode added in v0.1.13

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

func (RecycleInstancesDetailResultHaMode) MarshalJSON added in v0.1.13

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

func (*RecycleInstancesDetailResultHaMode) UnmarshalJSON added in v0.1.13

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

func (RecycleInstancesDetailResultHaMode) Value added in v0.1.13

type RecycleInstancesDetailResultHaModeEnum added in v0.1.13

type RecycleInstancesDetailResultHaModeEnum struct {
	HA          RecycleInstancesDetailResultHaMode
	INDEPENDENT RecycleInstancesDetailResultHaMode
}

func GetRecycleInstancesDetailResultHaModeEnum added in v0.1.13

func GetRecycleInstancesDetailResultHaModeEnum() RecycleInstancesDetailResultHaModeEnum

type RecycleInstancesDetailResultMode added in v0.1.13

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

func (RecycleInstancesDetailResultMode) MarshalJSON added in v0.1.13

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

func (*RecycleInstancesDetailResultMode) UnmarshalJSON added in v0.1.13

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

func (RecycleInstancesDetailResultMode) Value added in v0.1.13

type RecycleInstancesDetailResultModeEnum added in v0.1.13

type RecycleInstancesDetailResultModeEnum struct {
	BASIC      RecycleInstancesDetailResultMode
	STANDARD   RecycleInstancesDetailResultMode
	ENTERPRISE RecycleInstancesDetailResultMode
}

func GetRecycleInstancesDetailResultModeEnum added in v0.1.13

func GetRecycleInstancesDetailResultModeEnum() RecycleInstancesDetailResultModeEnum

type RecycleInstancesDetailResultPayModel added in v0.1.13

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

func (RecycleInstancesDetailResultPayModel) MarshalJSON added in v0.1.13

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

func (*RecycleInstancesDetailResultPayModel) UnmarshalJSON added in v0.1.13

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

func (RecycleInstancesDetailResultPayModel) Value added in v0.1.13

type RecycleInstancesDetailResultPayModelEnum added in v0.1.13

type RecycleInstancesDetailResultPayModelEnum struct {
	E_0 RecycleInstancesDetailResultPayModel
	E_1 RecycleInstancesDetailResultPayModel
}

func GetRecycleInstancesDetailResultPayModelEnum added in v0.1.13

func GetRecycleInstancesDetailResultPayModelEnum() RecycleInstancesDetailResultPayModelEnum

type RecycleInstancesDetailResultRecycleStatus added in v0.1.13

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

func (RecycleInstancesDetailResultRecycleStatus) MarshalJSON added in v0.1.13

func (*RecycleInstancesDetailResultRecycleStatus) UnmarshalJSON added in v0.1.13

func (RecycleInstancesDetailResultRecycleStatus) Value added in v0.1.13

type RecycleInstancesDetailResultRecycleStatusEnum added in v0.1.13

type RecycleInstancesDetailResultRecycleStatusEnum struct {
	RUNNING RecycleInstancesDetailResultRecycleStatus
	ACTIVE  RecycleInstancesDetailResultRecycleStatus
}

func GetRecycleInstancesDetailResultRecycleStatusEnum added in v0.1.13

func GetRecycleInstancesDetailResultRecycleStatusEnum() RecycleInstancesDetailResultRecycleStatusEnum

type RecycleInstancesDetailResultVolumeType added in v0.1.13

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

func (RecycleInstancesDetailResultVolumeType) MarshalJSON added in v0.1.13

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

func (*RecycleInstancesDetailResultVolumeType) UnmarshalJSON added in v0.1.13

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

func (RecycleInstancesDetailResultVolumeType) Value added in v0.1.13

type RecycleInstancesDetailResultVolumeTypeEnum added in v0.1.13

type RecycleInstancesDetailResultVolumeTypeEnum struct {
	HIGH      RecycleInstancesDetailResultVolumeType
	ULTRAHIGH RecycleInstancesDetailResultVolumeType
	ESSD      RecycleInstancesDetailResultVolumeType
}

func GetRecycleInstancesDetailResultVolumeTypeEnum added in v0.1.13

func GetRecycleInstancesDetailResultVolumeTypeEnum() RecycleInstancesDetailResultVolumeTypeEnum

type RecyclePolicy added in v0.1.2

type RecyclePolicy struct {

	// 已删除实例保留天数,可设置范围为1~7天。 - 取值1~7,设置已删除实例的保留天数为该值。
	RetentionPeriodInDays int32 `json:"retention_period_in_days"`
}

func (RecyclePolicy) String added in v0.1.2

func (o RecyclePolicy) String() string

type RecyclePolicyRequestBody added in v0.1.2

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

func (RecyclePolicyRequestBody) String added in v0.1.2

func (o RecyclePolicyRequestBody) String() string

type ResetConfigurationRequest added in v0.1.13

type ResetConfigurationRequest struct {

	// 需重置的参数模板ID。
	ConfigId string `json:"config_id"`

	// 语言。
	XLanguage *ResetConfigurationRequestXLanguage `json:"X-Language,omitempty"`
}

ResetConfigurationRequest Request Object

func (ResetConfigurationRequest) String added in v0.1.13

func (o ResetConfigurationRequest) String() string

type ResetConfigurationRequestXLanguage added in v0.1.13

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

func (ResetConfigurationRequestXLanguage) MarshalJSON added in v0.1.13

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

func (*ResetConfigurationRequestXLanguage) UnmarshalJSON added in v0.1.13

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

func (ResetConfigurationRequestXLanguage) Value added in v0.1.13

type ResetConfigurationRequestXLanguageEnum added in v0.1.13

type ResetConfigurationRequestXLanguageEnum struct {
	ZH_CN ResetConfigurationRequestXLanguage
	EN_US ResetConfigurationRequestXLanguage
}

func GetResetConfigurationRequestXLanguageEnum added in v0.1.13

func GetResetConfigurationRequestXLanguageEnum() ResetConfigurationRequestXLanguageEnum

type ResetConfigurationResponse added in v0.1.13

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

ResetConfigurationResponse Response Object

func (ResetConfigurationResponse) String added in v0.1.13

type ResetPwdRequest

type ResetPwdRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 实例ID,严格匹配UUID规则。
	InstanceId string `json:"instance_id"`

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

ResetPwdRequest Request Object

func (ResetPwdRequest) String

func (o ResetPwdRequest) String() string

type ResetPwdResponse

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

ResetPwdResponse Response Object

func (ResetPwdResponse) String

func (o ResetPwdResponse) String() string

type ResizeInstanceFlavorRequest added in v0.0.90

type ResizeInstanceFlavorRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId string `json:"instance_id"`

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

ResizeInstanceFlavorRequest Request Object

func (ResizeInstanceFlavorRequest) String added in v0.0.90

type ResizeInstanceFlavorResponse added in v0.0.90

type ResizeInstanceFlavorResponse struct {

	// 任务id。按需实例时仅返回任务id。
	JobId *string `json:"job_id,omitempty"`

	// 订单id。仅变更包周期实例会返回该参数。
	OrderId        *string `json:"order_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ResizeInstanceFlavorResponse Response Object

func (ResizeInstanceFlavorResponse) String added in v0.0.90

type ResourceErrorResponse added in v0.0.88

type ResourceErrorResponse struct {

	// 错误码
	ErrorCode string `json:"error_code"`

	// 错误消息。
	ErrorMsg string `json:"error_msg"`
}

func (ResourceErrorResponse) String added in v0.0.88

func (o ResourceErrorResponse) String() string

type ResourceResult added in v0.1.13

type ResourceResult struct {

	// 指定类型的配额。 - instance: 表示实例的配额
	Type ResourceResultType `json:"type"`

	// 已创建的资源个数
	Used int32 `json:"used"`

	// 资源最大的配额数
	Quota int32 `json:"quota"`
}

func (ResourceResult) String added in v0.1.13

func (o ResourceResult) String() string

type ResourceResultType added in v0.1.13

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

func (ResourceResultType) MarshalJSON added in v0.1.13

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

func (*ResourceResultType) UnmarshalJSON added in v0.1.13

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

func (ResourceResultType) Value added in v0.1.13

func (c ResourceResultType) Value() string

type ResourceResultTypeEnum added in v0.1.13

type ResourceResultTypeEnum struct {
	INSTANCE ResourceResultType
}

func GetResourceResultTypeEnum added in v0.1.13

func GetResourceResultTypeEnum() ResourceResultTypeEnum

type RestartInstanceRequest added in v0.0.84

type RestartInstanceRequest struct {

	// 语言
	XLanguage *RestartInstanceRequestXLanguage `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId string `json:"instance_id"`
}

RestartInstanceRequest Request Object

func (RestartInstanceRequest) String added in v0.0.84

func (o RestartInstanceRequest) String() string

type RestartInstanceRequestXLanguage added in v0.0.84

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

func (RestartInstanceRequestXLanguage) MarshalJSON added in v0.0.84

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

func (*RestartInstanceRequestXLanguage) UnmarshalJSON added in v0.0.84

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

func (RestartInstanceRequestXLanguage) Value added in v0.0.90

type RestartInstanceRequestXLanguageEnum added in v0.0.84

type RestartInstanceRequestXLanguageEnum struct {
	ZH_CN RestartInstanceRequestXLanguage
	EN_US RestartInstanceRequestXLanguage
}

func GetRestartInstanceRequestXLanguageEnum added in v0.0.84

func GetRestartInstanceRequestXLanguageEnum() RestartInstanceRequestXLanguageEnum

type RestartInstanceResponse added in v0.0.84

type RestartInstanceResponse struct {

	// 任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

RestartInstanceResponse Response Object

func (RestartInstanceResponse) String added in v0.0.84

func (o RestartInstanceResponse) String() string

type RestorePoint added in v0.0.88

type RestorePoint struct {

	// 源实例ID。
	InstanceId string `json:"instance_id"`

	// 用于恢复的备份ID。
	BackupId string `json:"backup_id"`
}

func (RestorePoint) String added in v0.0.88

func (o RestorePoint) String() string

type RunInstanceActionRequest

type RunInstanceActionRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId string `json:"instance_id"`

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

RunInstanceActionRequest Request Object

func (RunInstanceActionRequest) String

func (o RunInstanceActionRequest) String() string

type RunInstanceActionResponse

type RunInstanceActionResponse struct {

	// 任务id。按需实例时仅返回任务id。
	JobId *string `json:"job_id,omitempty"`

	// 订单id。包周期实例时仅返回订单id。
	OrderId        *string `json:"order_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

RunInstanceActionResponse Response Object

func (RunInstanceActionResponse) String

func (o RunInstanceActionResponse) String() string

type SetBackupPolicyRequest

type SetBackupPolicyRequest struct {

	// 语言。默认值:en-us。
	XLanguage *SetBackupPolicyRequestXLanguage `json:"X-Language,omitempty"`

	// 实例ID,严格匹配UUID规则。
	InstanceId string `json:"instance_id"`

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

SetBackupPolicyRequest Request Object

func (SetBackupPolicyRequest) String

func (o SetBackupPolicyRequest) String() string

type SetBackupPolicyRequestBody

type SetBackupPolicyRequestBody struct {
	BackupPolicy *BackupPolicy `json:"backup_policy"`
}

func (SetBackupPolicyRequestBody) String

type SetBackupPolicyRequestXLanguage added in v0.1.13

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

func (SetBackupPolicyRequestXLanguage) MarshalJSON added in v0.1.13

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

func (*SetBackupPolicyRequestXLanguage) UnmarshalJSON added in v0.1.13

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

func (SetBackupPolicyRequestXLanguage) Value added in v0.1.13

type SetBackupPolicyRequestXLanguageEnum added in v0.1.13

type SetBackupPolicyRequestXLanguageEnum struct {
	ZH_CN SetBackupPolicyRequestXLanguage
	EN_US SetBackupPolicyRequestXLanguage
}

func GetSetBackupPolicyRequestXLanguageEnum added in v0.1.13

func GetSetBackupPolicyRequestXLanguageEnum() SetBackupPolicyRequestXLanguageEnum

type SetBackupPolicyResponse

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

SetBackupPolicyResponse Response Object

func (SetBackupPolicyResponse) String

func (o SetBackupPolicyResponse) String() string

type SetDbUserPwdRequest added in v0.0.88

type SetDbUserPwdRequest struct {

	// 语言
	XLanguage *SetDbUserPwdRequestXLanguage `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId string `json:"instance_id"`

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

SetDbUserPwdRequest Request Object

func (SetDbUserPwdRequest) String added in v0.0.88

func (o SetDbUserPwdRequest) String() string

type SetDbUserPwdRequestXLanguage added in v0.0.88

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

func (SetDbUserPwdRequestXLanguage) MarshalJSON added in v0.0.88

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

func (*SetDbUserPwdRequestXLanguage) UnmarshalJSON added in v0.0.88

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

func (SetDbUserPwdRequestXLanguage) Value added in v0.0.90

type SetDbUserPwdRequestXLanguageEnum added in v0.0.88

type SetDbUserPwdRequestXLanguageEnum struct {
	ZH_CN SetDbUserPwdRequestXLanguage
	EN_US SetDbUserPwdRequestXLanguage
}

func GetSetDbUserPwdRequestXLanguageEnum added in v0.0.88

func GetSetDbUserPwdRequestXLanguageEnum() SetDbUserPwdRequestXLanguageEnum

type SetDbUserPwdResponse added in v0.0.88

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

SetDbUserPwdResponse Response Object

func (SetDbUserPwdResponse) String added in v0.0.88

func (o SetDbUserPwdResponse) String() string

type SetRecyclePolicyRequest added in v0.1.2

type SetRecyclePolicyRequest struct {
	Body *RecyclePolicyRequestBody `json:"body,omitempty"`
}

SetRecyclePolicyRequest Request Object

func (SetRecyclePolicyRequest) String added in v0.1.2

func (o SetRecyclePolicyRequest) String() string

type SetRecyclePolicyResponse added in v0.1.2

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

SetRecyclePolicyResponse Response Object

func (SetRecyclePolicyResponse) String added in v0.1.2

func (o SetRecyclePolicyResponse) String() string

type Shards added in v0.0.90

type Shards struct {

	// 节点Id。
	NodeId string `json:"node_id"`

	// 组件Id。最大长度7个字符,不能为null或者空字符串,不能为空格,校验和使用之前会自动过滤掉前后空格。至少包含大写字母(A-Z),小写字母(a-z),数字(0-9),非字母数字字符(限定为_)四类字符中的三类字符。组件id通过查询实例的组件列表接口(ListComponentInfos)获取
	ComponentId string `json:"component_id"`
}

func (Shards) String added in v0.0.90

func (o Shards) String() string

type ShowBackupPolicy added in v0.0.88

type ShowBackupPolicy struct {

	// 全量备份文件可以保存的天数。
	KeepDays int32 `json:"keep_days"`

	// 全量备份时间段。自动备份将在该时间段内触发。除关闭自动备份策略外,必选。  取值范围:格式必须为hh:mm-HH:MM且有效,当前时间指UTC时间。  - HH取值必须比hh大1。 - mm和MM取值必须相同,且取值必须为00。
	StartTime string `json:"start_time"`

	// 全量备份周期配置。自动备份将在每星期指定的天进行。  取值范围:格式为逗号隔开的数字,数字代表星期。
	Period string `json:"period"`

	// 差量备份周期配置。自动差量备份将每隔周期分钟执行(废弃)。
	DifferentialPriod *string `json:"differential_priod,omitempty"`

	// 差量备份周期配置。自动差量备份将每隔周期分钟执行。
	DifferentialPeriod string `json:"differential_period"`

	// 备份时备份数据上传OBS的速度,单位为MB/s。范围为0~1024MB/s,默认75MB/s,0MB/s表示不限速。
	RateLimit *int32 `json:"rate_limit,omitempty"`

	// 控制差量备份时读取磁盘上表文件差量修改页面的预取页面个数,可设置范围为1~8192,默认64。
	PrefetchBlock *int32 `json:"prefetch_block,omitempty"`

	// 废弃。
	FilesplitSize *int32 `json:"filesplit_size,omitempty"`

	// 全量、差量备份时产生的备份文件会根据分片大小进行拆分,可设置范围为0~1024GB,设置需为4的倍数,默认4GB,0GB表示不限制大小。  取值范围:0 ~ 1024
	FileSplitSize *int32 `json:"file_split_size,omitempty"`

	// 是否启用备机备份。  取值范围:true|false
	EnableStandbyBackup *bool `json:"enable_standby_backup,omitempty"`
}

ShowBackupPolicy 备份策略信息。

func (ShowBackupPolicy) String added in v0.0.88

func (o ShowBackupPolicy) String() string

type ShowBackupPolicyRequest added in v0.0.88

type ShowBackupPolicyRequest struct {

	// 语言。默认值:en-us。
	XLanguage *ShowBackupPolicyRequestXLanguage `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId string `json:"instance_id"`
}

ShowBackupPolicyRequest Request Object

func (ShowBackupPolicyRequest) String added in v0.0.88

func (o ShowBackupPolicyRequest) String() string

type ShowBackupPolicyRequestXLanguage added in v0.1.13

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

func (ShowBackupPolicyRequestXLanguage) MarshalJSON added in v0.1.13

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

func (*ShowBackupPolicyRequestXLanguage) UnmarshalJSON added in v0.1.13

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

func (ShowBackupPolicyRequestXLanguage) Value added in v0.1.13

type ShowBackupPolicyRequestXLanguageEnum added in v0.1.13

type ShowBackupPolicyRequestXLanguageEnum struct {
	ZH_CN ShowBackupPolicyRequestXLanguage
	EN_US ShowBackupPolicyRequestXLanguage
}

func GetShowBackupPolicyRequestXLanguageEnum added in v0.1.13

func GetShowBackupPolicyRequestXLanguageEnum() ShowBackupPolicyRequestXLanguageEnum

type ShowBackupPolicyResponse added in v0.0.88

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

ShowBackupPolicyResponse Response Object

func (ShowBackupPolicyResponse) String added in v0.0.88

func (o ShowBackupPolicyResponse) String() string

type ShowBalanceStatusRequest added in v0.1.13

type ShowBalanceStatusRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId string `json:"instance_id"`
}

ShowBalanceStatusRequest Request Object

func (ShowBalanceStatusRequest) String added in v0.1.13

func (o ShowBalanceStatusRequest) String() string

type ShowBalanceStatusResponse added in v0.1.13

type ShowBalanceStatusResponse struct {

	// 平衡状态。
	Balanced       *bool `json:"balanced,omitempty"`
	HttpStatusCode int   `json:"-"`
}

ShowBalanceStatusResponse Response Object

func (ShowBalanceStatusResponse) String added in v0.1.13

func (o ShowBalanceStatusResponse) String() string

type ShowConfigurationDetailRequest added in v0.1.13

type ShowConfigurationDetailRequest struct {

	// 语言,默认:en-us。
	XLanguage *ShowConfigurationDetailRequestXLanguage `json:"X-Language,omitempty"`

	// 参数模板ID
	ConfigId string `json:"config_id"`
}

ShowConfigurationDetailRequest Request Object

func (ShowConfigurationDetailRequest) String added in v0.1.13

type ShowConfigurationDetailRequestXLanguage added in v0.1.13

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

func (ShowConfigurationDetailRequestXLanguage) MarshalJSON added in v0.1.13

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

func (*ShowConfigurationDetailRequestXLanguage) UnmarshalJSON added in v0.1.13

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

func (ShowConfigurationDetailRequestXLanguage) Value added in v0.1.13

type ShowConfigurationDetailRequestXLanguageEnum added in v0.1.13

type ShowConfigurationDetailRequestXLanguageEnum struct {
	ZH_CN ShowConfigurationDetailRequestXLanguage
	EN_US ShowConfigurationDetailRequestXLanguage
}

func GetShowConfigurationDetailRequestXLanguageEnum added in v0.1.13

func GetShowConfigurationDetailRequestXLanguageEnum() ShowConfigurationDetailRequestXLanguageEnum

type ShowConfigurationDetailResponse added in v0.1.13

type ShowConfigurationDetailResponse struct {

	// 参数模板ID。
	Id *string `json:"id,omitempty"`

	// 参数模板名称。
	Name *string `json:"name,omitempty"`

	// 参数模板描述。
	Description *string `json:"description,omitempty"`

	// 引擎版本。 [数据库版本。支持2.3版本,取值为“2.3”]。
	EngineVersion *string `json:"engine_version,omitempty"`

	// 实例部署形态。independent:独立;ha:主备。
	InstanceMode *ShowConfigurationDetailResponseInstanceMode `json:"instance_mode,omitempty"`

	// 创建时间,格式为“yyyy-mm-ddThh:mm:ssZ”。 其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
	CreatedAt *string `json:"created_at,omitempty"`

	// 修改时间,格式为“yyyy-mm-ddThh:mm:ssZ”。 其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 参数详情。
	ConfigurationParameters *[]ParaGroupParameterResult `json:"configuration_parameters,omitempty"`
	HttpStatusCode          int                         `json:"-"`
}

ShowConfigurationDetailResponse Response Object

func (ShowConfigurationDetailResponse) String added in v0.1.13

type ShowConfigurationDetailResponseInstanceMode added in v0.1.13

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

func (ShowConfigurationDetailResponseInstanceMode) MarshalJSON added in v0.1.13

func (*ShowConfigurationDetailResponseInstanceMode) UnmarshalJSON added in v0.1.13

func (ShowConfigurationDetailResponseInstanceMode) Value added in v0.1.13

type ShowConfigurationDetailResponseInstanceModeEnum added in v0.1.13

type ShowConfigurationDetailResponseInstanceModeEnum struct {
	INDEPENDENT ShowConfigurationDetailResponseInstanceMode
	HA          ShowConfigurationDetailResponseInstanceMode
}

func GetShowConfigurationDetailResponseInstanceModeEnum added in v0.1.13

func GetShowConfigurationDetailResponseInstanceModeEnum() ShowConfigurationDetailResponseInstanceModeEnum

type ShowDeploymentFormRequest added in v0.1.13

type ShowDeploymentFormRequest struct {

	// 语言。
	XLanguage *string `json:"X-Language,omitempty"`

	// 解决方案模板名称。
	Solution *ShowDeploymentFormRequestSolution `json:"solution,omitempty"`

	// 实例ID。
	InstanceId *string `json:"instance_id,omitempty"`
}

ShowDeploymentFormRequest Request Object

func (ShowDeploymentFormRequest) String added in v0.1.13

func (o ShowDeploymentFormRequest) String() string

type ShowDeploymentFormRequestSolution added in v0.1.13

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

func (ShowDeploymentFormRequestSolution) MarshalJSON added in v0.1.13

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

func (*ShowDeploymentFormRequestSolution) UnmarshalJSON added in v0.1.13

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

func (ShowDeploymentFormRequestSolution) Value added in v0.1.13

type ShowDeploymentFormRequestSolutionEnum added in v0.1.13

type ShowDeploymentFormRequestSolutionEnum struct {
	TRISET ShowDeploymentFormRequestSolution
	SINGLE ShowDeploymentFormRequestSolution
}

func GetShowDeploymentFormRequestSolutionEnum added in v0.1.13

func GetShowDeploymentFormRequestSolutionEnum() ShowDeploymentFormRequestSolutionEnum

type ShowDeploymentFormResponse added in v0.1.13

type ShowDeploymentFormResponse struct {

	// 初始节点数。
	InitialNodeNum *int32 `json:"initial_node_num,omitempty"`

	// 解决方案模板名称。
	Solution *string `json:"solution,omitempty"`

	// 分片数。
	ShardNum *int32 `json:"shard_num,omitempty"`

	// 副本数。
	ReplicaNum     *int32 `json:"replica_num,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ShowDeploymentFormResponse Response Object

func (ShowDeploymentFormResponse) String added in v0.1.13

type ShowInstanceConfigurationRequest added in v0.0.84

type ShowInstanceConfigurationRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId string `json:"instance_id"`
}

ShowInstanceConfigurationRequest Request Object

func (ShowInstanceConfigurationRequest) String added in v0.0.84

type ShowInstanceConfigurationResponse added in v0.0.84

type ShowInstanceConfigurationResponse struct {

	// 引擎版本。
	DatastoreVersion *string `json:"datastore_version,omitempty"`

	// 引擎名称。
	DatastoreName *string `json:"datastore_name,omitempty"`

	// 创建时间,格式为\"yyyy-MM-dd HH:mm:ss\"。
	Created *string `json:"created,omitempty"`

	// 更新时间,格式为\"yyyy-MM-ddHH:mm:ss\"。
	Updated *string `json:"updated,omitempty"`

	// 参数对象,用户基于默认参数模板自定义的参数配置。
	ConfigurationParameters *[]ConfigurationParameter `json:"configuration_parameters,omitempty"`
	HttpStatusCode          int                       `json:"-"`
}

ShowInstanceConfigurationResponse Response Object

func (ShowInstanceConfigurationResponse) String added in v0.0.84

type ShowInstanceDiskRequest added in v0.1.13

type ShowInstanceDiskRequest struct {

	// 语言。
	XLanguage *string `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId string `json:"instance_id"`
}

ShowInstanceDiskRequest Request Object

func (ShowInstanceDiskRequest) String added in v0.1.13

func (o ShowInstanceDiskRequest) String() string

type ShowInstanceDiskResponse added in v0.1.13

type ShowInstanceDiskResponse struct {

	// 已使用量。表示当前实例已使用的存储空间大小。单位:GB
	Used *string `json:"used,omitempty"`

	// 总量。表示当前实例最大存储空间大小。单位:GB
	Total          *string `json:"total,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowInstanceDiskResponse Response Object

func (ShowInstanceDiskResponse) String added in v0.1.13

func (o ShowInstanceDiskResponse) String() string

type ShowInstanceParamGroupRequest added in v0.1.43

type ShowInstanceParamGroupRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId string `json:"instance_id"`
}

ShowInstanceParamGroupRequest Request Object

func (ShowInstanceParamGroupRequest) String added in v0.1.43

type ShowInstanceParamGroupResponse added in v0.1.43

type ShowInstanceParamGroupResponse struct {

	// 引擎版本。
	DatastoreVersion *string `json:"datastore_version,omitempty"`

	// 引擎名称。
	DatastoreName *string `json:"datastore_name,omitempty"`

	// 创建时间,格式为\"yyyy-MM-dd HH:mm:ss\"。
	Created *string `json:"created,omitempty"`

	// 更新时间,格式为\"yyyy-MM-ddHH:mm:ss\"。
	Updated *string `json:"updated,omitempty"`

	// 参数对象,用户基于默认参数模板自定义的参数配置。
	ConfigurationParameters *[]ConfigurationParameter `json:"configuration_parameters,omitempty"`
	HttpStatusCode          int                       `json:"-"`
}

ShowInstanceParamGroupResponse Response Object

func (ShowInstanceParamGroupResponse) String added in v0.1.43

type ShowInstanceSnapshotRequest added in v0.1.13

type ShowInstanceSnapshotRequest struct {

	// 语言。默认值:en-us。
	XLanguage *ShowInstanceSnapshotRequestXLanguage `json:"X-Language,omitempty"`

	// 原实例ID。  (instance_id 、restore_time为一组)
	InstanceId *string `json:"instance_id,omitempty"`

	// UNIX时间戳格式,单位是毫秒,时区是UTC,某时间点实例的信息。  (instance_id 、restore_time为一组)
	RestoreTime *string `json:"restore_time,omitempty"`

	// 备份ID。  (backup_id为一组)  备份ID不为空时,可以不需要实例ID和时间戳。
	BackupId *string `json:"backup_id,omitempty"`
}

ShowInstanceSnapshotRequest Request Object

func (ShowInstanceSnapshotRequest) String added in v0.1.13

type ShowInstanceSnapshotRequestXLanguage added in v0.1.13

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

func (ShowInstanceSnapshotRequestXLanguage) MarshalJSON added in v0.1.13

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

func (*ShowInstanceSnapshotRequestXLanguage) UnmarshalJSON added in v0.1.13

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

func (ShowInstanceSnapshotRequestXLanguage) Value added in v0.1.13

type ShowInstanceSnapshotRequestXLanguageEnum added in v0.1.13

type ShowInstanceSnapshotRequestXLanguageEnum struct {
	ZH_CN ShowInstanceSnapshotRequestXLanguage
	EN_US ShowInstanceSnapshotRequestXLanguage
}

func GetShowInstanceSnapshotRequestXLanguageEnum added in v0.1.13

func GetShowInstanceSnapshotRequestXLanguageEnum() ShowInstanceSnapshotRequestXLanguageEnum

type ShowInstanceSnapshotResponse added in v0.1.13

type ShowInstanceSnapshotResponse struct {

	// 实例部署形态。集中式Ha(主备)、分布式Independent(独立部署)。
	ClusterMode *ShowInstanceSnapshotResponseClusterMode `json:"cluster_mode,omitempty"`

	// 实例模型,企业版enterprise,标准版standard,基础版basic。
	InstanceMode *ShowInstanceSnapshotResponseInstanceMode `json:"instance_mode,omitempty"`

	// 磁盘大小,单位:GB。
	DataVolumeSize *string `json:"data_volume_size,omitempty"`

	// 解决方案模板类型。集中式Ha一般用triset,分布式Independent一般为空或者默认hws。  描述如下:  triset:高可用(1主2备)  hws:默认。
	Solution *ShowInstanceSnapshotResponseSolution `json:"solution,omitempty"`

	// 节点数量。
	NodeNum *int32 `json:"node_num,omitempty"`

	// 协调节点数量。
	CoordinatorNum *int32 `json:"coordinator_num,omitempty"`

	// 分片数量。
	ShardingNum *int32 `json:"sharding_num,omitempty"`

	// 副本数量。
	ReplicaNum *int32 `json:"replica_num,omitempty"`

	// 引擎版本。
	EngineVersion  *string `json:"engine_version,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowInstanceSnapshotResponse Response Object

func (ShowInstanceSnapshotResponse) String added in v0.1.13

type ShowInstanceSnapshotResponseClusterMode added in v0.1.13

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

func (ShowInstanceSnapshotResponseClusterMode) MarshalJSON added in v0.1.13

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

func (*ShowInstanceSnapshotResponseClusterMode) UnmarshalJSON added in v0.1.13

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

func (ShowInstanceSnapshotResponseClusterMode) Value added in v0.1.13

type ShowInstanceSnapshotResponseClusterModeEnum added in v0.1.13

type ShowInstanceSnapshotResponseClusterModeEnum struct {
	HA          ShowInstanceSnapshotResponseClusterMode
	INDEPENDENT ShowInstanceSnapshotResponseClusterMode
}

func GetShowInstanceSnapshotResponseClusterModeEnum added in v0.1.13

func GetShowInstanceSnapshotResponseClusterModeEnum() ShowInstanceSnapshotResponseClusterModeEnum

type ShowInstanceSnapshotResponseInstanceMode added in v0.1.13

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

func (ShowInstanceSnapshotResponseInstanceMode) MarshalJSON added in v0.1.13

func (*ShowInstanceSnapshotResponseInstanceMode) UnmarshalJSON added in v0.1.13

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

func (ShowInstanceSnapshotResponseInstanceMode) Value added in v0.1.13

type ShowInstanceSnapshotResponseInstanceModeEnum added in v0.1.13

type ShowInstanceSnapshotResponseInstanceModeEnum struct {
	BASIC      ShowInstanceSnapshotResponseInstanceMode
	STANDARD   ShowInstanceSnapshotResponseInstanceMode
	ENTERPRISE ShowInstanceSnapshotResponseInstanceMode
}

func GetShowInstanceSnapshotResponseInstanceModeEnum added in v0.1.13

func GetShowInstanceSnapshotResponseInstanceModeEnum() ShowInstanceSnapshotResponseInstanceModeEnum

type ShowInstanceSnapshotResponseSolution added in v0.1.13

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

func (ShowInstanceSnapshotResponseSolution) MarshalJSON added in v0.1.13

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

func (*ShowInstanceSnapshotResponseSolution) UnmarshalJSON added in v0.1.13

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

func (ShowInstanceSnapshotResponseSolution) Value added in v0.1.13

type ShowInstanceSnapshotResponseSolutionEnum added in v0.1.13

type ShowInstanceSnapshotResponseSolutionEnum struct {
	TRISET ShowInstanceSnapshotResponseSolution
	HWS    ShowInstanceSnapshotResponseSolution
}

func GetShowInstanceSnapshotResponseSolutionEnum added in v0.1.13

func GetShowInstanceSnapshotResponseSolutionEnum() ShowInstanceSnapshotResponseSolutionEnum

type ShowJobDetailRequest added in v0.1.1

type ShowJobDetailRequest struct {

	// 任务ID。
	Id string `json:"id"`
}

ShowJobDetailRequest Request Object

func (ShowJobDetailRequest) String added in v0.1.1

func (o ShowJobDetailRequest) String() string

type ShowJobDetailResponse added in v0.1.1

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

ShowJobDetailResponse Response Object

func (ShowJobDetailResponse) String added in v0.1.1

func (o ShowJobDetailResponse) String() string

type ShowProjectQuotasRequest added in v0.1.13

type ShowProjectQuotasRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// '功能说明:根据type过滤查询指定类型的配额' 取值范围:instance
	Type *ShowProjectQuotasRequestType `json:"type,omitempty"`
}

ShowProjectQuotasRequest Request Object

func (ShowProjectQuotasRequest) String added in v0.1.13

func (o ShowProjectQuotasRequest) String() string

type ShowProjectQuotasRequestType added in v0.1.13

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

func (ShowProjectQuotasRequestType) MarshalJSON added in v0.1.13

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

func (*ShowProjectQuotasRequestType) UnmarshalJSON added in v0.1.13

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

func (ShowProjectQuotasRequestType) Value added in v0.1.13

type ShowProjectQuotasRequestTypeEnum added in v0.1.13

type ShowProjectQuotasRequestTypeEnum struct {
	INSTANCE ShowProjectQuotasRequestType
}

func GetShowProjectQuotasRequestTypeEnum added in v0.1.13

func GetShowProjectQuotasRequestTypeEnum() ShowProjectQuotasRequestTypeEnum

type ShowProjectQuotasResponse added in v0.1.13

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

ShowProjectQuotasResponse Response Object

func (ShowProjectQuotasResponse) String added in v0.1.13

func (o ShowProjectQuotasResponse) String() string

type ShowRecyclePolicyRequest added in v0.1.13

type ShowRecyclePolicyRequest struct {

	// 语言。默认值:en-us。
	XLanguage *ShowRecyclePolicyRequestXLanguage `json:"X-Language,omitempty"`
}

ShowRecyclePolicyRequest Request Object

func (ShowRecyclePolicyRequest) String added in v0.1.13

func (o ShowRecyclePolicyRequest) String() string

type ShowRecyclePolicyRequestXLanguage added in v0.1.13

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

func (ShowRecyclePolicyRequestXLanguage) MarshalJSON added in v0.1.13

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

func (*ShowRecyclePolicyRequestXLanguage) UnmarshalJSON added in v0.1.13

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

func (ShowRecyclePolicyRequestXLanguage) Value added in v0.1.13

type ShowRecyclePolicyRequestXLanguageEnum added in v0.1.13

type ShowRecyclePolicyRequestXLanguageEnum struct {
	ZH_CN ShowRecyclePolicyRequestXLanguage
	EN_US ShowRecyclePolicyRequestXLanguage
}

func GetShowRecyclePolicyRequestXLanguageEnum added in v0.1.13

func GetShowRecyclePolicyRequestXLanguageEnum() ShowRecyclePolicyRequestXLanguageEnum

type ShowRecyclePolicyResponse added in v0.1.13

type ShowRecyclePolicyResponse struct {

	// 已删除实例保留天数,可设置范围为1~7天。 - 取值1~7,设置已删除实例的保留天数为该值。
	RetentionPeriodInDays *string `json:"retention_period_in_days,omitempty"`
	HttpStatusCode        int     `json:"-"`
}

ShowRecyclePolicyResponse Response Object

func (ShowRecyclePolicyResponse) String added in v0.1.13

func (o ShowRecyclePolicyResponse) String() string

type ShowSslCertDownloadLinkRequest added in v0.1.13

type ShowSslCertDownloadLinkRequest struct {

	// 语言。
	XLanguage *ShowSslCertDownloadLinkRequestXLanguage `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId string `json:"instance_id"`
}

ShowSslCertDownloadLinkRequest Request Object

func (ShowSslCertDownloadLinkRequest) String added in v0.1.13

type ShowSslCertDownloadLinkRequestXLanguage added in v0.1.13

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

func (ShowSslCertDownloadLinkRequestXLanguage) MarshalJSON added in v0.1.13

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

func (*ShowSslCertDownloadLinkRequestXLanguage) UnmarshalJSON added in v0.1.13

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

func (ShowSslCertDownloadLinkRequestXLanguage) Value added in v0.1.13

type ShowSslCertDownloadLinkRequestXLanguageEnum added in v0.1.13

type ShowSslCertDownloadLinkRequestXLanguageEnum struct {
	ZH_CN ShowSslCertDownloadLinkRequestXLanguage
	EN_US ShowSslCertDownloadLinkRequestXLanguage
}

func GetShowSslCertDownloadLinkRequestXLanguageEnum added in v0.1.13

func GetShowSslCertDownloadLinkRequestXLanguageEnum() ShowSslCertDownloadLinkRequestXLanguageEnum

type ShowSslCertDownloadLinkResponse added in v0.1.13

type ShowSslCertDownloadLinkResponse struct {

	// ssl下载链接。
	DownloadLink   *string `json:"download_link,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowSslCertDownloadLinkResponse Response Object

func (ShowSslCertDownloadLinkResponse) String added in v0.1.13

type Storage added in v0.0.83

type Storage struct {

	// 磁盘类型名称,可能取值如下: - ULTRAHIGH,表示SSD。 - ESSD,表示急速云盘
	Name string `json:"name"`

	// 其中key是可用区编号,value是规格所在az的状态,包含以下状态: - normal,在售。 - unsupported,暂不支持该规格。 - sellout,售罄。
	AzStatus map[string]string `json:"az_status"`

	// 性能规格,包含以下状态: - normal:通用增强型。 - normal2:通用增强Ⅱ型。 - armFlavors:鲲鹏通用计算增强型。 - armFlavors2Shared:鲲鹏通用计算增强II型(共享型)。
	SupportComputeGroupType *[]string `json:"support_compute_group_type,omitempty"`
}

Storage 实例磁盘类型信息。

func (Storage) String added in v0.0.83

func (o Storage) String() string

type SwitchConfigurationRequest added in v0.1.13

type SwitchConfigurationRequest struct {

	// 语言。
	XLanguage *SwitchConfigurationRequestXLanguage `json:"X-Language,omitempty"`

	// 参数模板ID。
	ConfigId string `json:"config_id"`

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

SwitchConfigurationRequest Request Object

func (SwitchConfigurationRequest) String added in v0.1.13

type SwitchConfigurationRequestXLanguage added in v0.1.13

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

func (SwitchConfigurationRequestXLanguage) MarshalJSON added in v0.1.13

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

func (*SwitchConfigurationRequestXLanguage) UnmarshalJSON added in v0.1.13

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

func (SwitchConfigurationRequestXLanguage) Value added in v0.1.13

type SwitchConfigurationRequestXLanguageEnum added in v0.1.13

type SwitchConfigurationRequestXLanguageEnum struct {
	ZH_CN SwitchConfigurationRequestXLanguage
	EN_US SwitchConfigurationRequestXLanguage
}

func GetSwitchConfigurationRequestXLanguageEnum added in v0.1.13

func GetSwitchConfigurationRequestXLanguageEnum() SwitchConfigurationRequestXLanguageEnum

type SwitchConfigurationResponse added in v0.1.13

type SwitchConfigurationResponse struct {

	// 应用参数模板的异步任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

SwitchConfigurationResponse Response Object

func (SwitchConfigurationResponse) String added in v0.1.13

type SwitchShardRequest added in v0.0.90

type SwitchShardRequest struct {

	// 语言
	XLanguage *SwitchShardRequestXLanguage `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId string `json:"instance_id"`

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

SwitchShardRequest Request Object

func (SwitchShardRequest) String added in v0.0.90

func (o SwitchShardRequest) String() string

type SwitchShardRequestBody added in v0.0.90

type SwitchShardRequestBody struct {

	// 节点列表,支持对单个或者多个DN分片做主备切换。节点信息为将要升主的备DN分片对应的节点id和组件id。
	Shards []Shards `json:"shards"`
}

func (SwitchShardRequestBody) String added in v0.0.90

func (o SwitchShardRequestBody) String() string

type SwitchShardRequestXLanguage added in v0.0.90

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

func (SwitchShardRequestXLanguage) MarshalJSON added in v0.0.90

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

func (*SwitchShardRequestXLanguage) UnmarshalJSON added in v0.0.90

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

func (SwitchShardRequestXLanguage) Value added in v0.0.90

type SwitchShardRequestXLanguageEnum added in v0.0.90

type SwitchShardRequestXLanguageEnum struct {
	ZH_CN SwitchShardRequestXLanguage
	EN_US SwitchShardRequestXLanguage
}

func GetSwitchShardRequestXLanguageEnum added in v0.0.90

func GetSwitchShardRequestXLanguageEnum() SwitchShardRequestXLanguageEnum

type SwitchShardResponse added in v0.0.90

type SwitchShardResponse struct {

	// 任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

SwitchShardResponse Response Object

func (SwitchShardResponse) String added in v0.0.90

func (o SwitchShardResponse) String() string

type TagResult added in v0.1.43

type TagResult struct {

	// 标签键。
	Key string `json:"key"`

	// 标签值。
	Value string `json:"value"`
}

TagResult 标签信息。

func (TagResult) String added in v0.1.43

func (o TagResult) String() string

type TagsOption added in v0.1.13

type TagsOption struct {

	// 标签键。最大长度36个unicode字符,不能为null或者空字符串,不能为空格,校验和使用之前会自动过滤掉前后空格。
	Key string `json:"key"`

	// 标签值。最大长度43个unicode字符,可以为空字符串,不能为空格,校验和使用之前会自动过滤掉前后空格。
	Value string `json:"value"`
}

TagsOption 所添加的标签具体内容,可批量添加标签,单个实例标签上限为20个。

func (TagsOption) String added in v0.1.13

func (o TagsOption) String() string

type TagsResult added in v0.1.13

type TagsResult struct {

	// 标签键。最大长度36个unicode字符,key不能为空。 字符集:0-9,A-Z,a-z,“_”,“-”,中文。
	Key *string `json:"key,omitempty"`

	// 标签值。最大长度43个unicode字符,可以为空字符串。 字符集:0-9,A-Z,a-z,“_”,“.”,“-”,中文。
	Value *[]string `json:"value,omitempty"`
}

func (TagsResult) String added in v0.1.13

func (o TagsResult) String() string

type TaskDetailResult added in v0.1.13

type TaskDetailResult struct {
	InstanceInfo *InstanceInfoResult `json:"instance_info,omitempty"`

	// 任务ID。
	JobId *string `json:"job_id,omitempty"`

	// 任务名称。
	Name *string `json:"name,omitempty"`

	// 任务状态。
	Status *string `json:"status,omitempty"`

	// 任务进度,单位:%。
	Process *string `json:"process,omitempty"`

	// 失败原因。
	FailReason *string `json:"fail_reason,omitempty"`
}

func (TaskDetailResult) String added in v0.1.13

func (o TaskDetailResult) String() string

type UpdateInstanceConfigurationRequest

type UpdateInstanceConfigurationRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 实例ID。
	InstanceId string `json:"instance_id"`

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

UpdateInstanceConfigurationRequest Request Object

func (UpdateInstanceConfigurationRequest) String

type UpdateInstanceConfigurationResponse

type UpdateInstanceConfigurationResponse struct {

	// 实例是否需要重启。  - “true”需要重启。 - “false”不需要重启。
	RestartRequired *bool `json:"restart_required,omitempty"`
	HttpStatusCode  int   `json:"-"`
}

UpdateInstanceConfigurationResponse Response Object

func (UpdateInstanceConfigurationResponse) String

type UpdateInstanceNameRequest

type UpdateInstanceNameRequest struct {

	// 语言
	XLanguage *string `json:"X-Language,omitempty"`

	// 实例ID,严格匹配UUID规则。
	InstanceId string `json:"instance_id"`

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

UpdateInstanceNameRequest Request Object

func (UpdateInstanceNameRequest) String

func (o UpdateInstanceNameRequest) String() string

type UpdateInstanceNameResponse

type UpdateInstanceNameResponse struct {

	// 修改实例名称的任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateInstanceNameResponse Response Object

func (UpdateInstanceNameResponse) String

type UpdateNameRequestBody

type UpdateNameRequestBody struct {

	// 实例名称。用于表示实例的名称,同一租户下,同类型的实例名可重名。 取值范围:4~64个字符之间,必须以字母开头,区分大小写,可以包含字母、数字、中划线或者下划线,不能包含其他的特殊字符。
	Name string `json:"name"`
}

func (UpdateNameRequestBody) String

func (o UpdateNameRequestBody) String() string

type ValidateParaGroupNameRequest added in v0.1.13

type ValidateParaGroupNameRequest struct {

	// 语言
	XLanguage *ValidateParaGroupNameRequestXLanguage `json:"X-Language,omitempty"`

	// 参数组名称。
	Name string `json:"name"`
}

ValidateParaGroupNameRequest Request Object

func (ValidateParaGroupNameRequest) String added in v0.1.13

type ValidateParaGroupNameRequestXLanguage added in v0.1.13

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

func (ValidateParaGroupNameRequestXLanguage) MarshalJSON added in v0.1.13

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

func (*ValidateParaGroupNameRequestXLanguage) UnmarshalJSON added in v0.1.13

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

func (ValidateParaGroupNameRequestXLanguage) Value added in v0.1.13

type ValidateParaGroupNameRequestXLanguageEnum added in v0.1.13

type ValidateParaGroupNameRequestXLanguageEnum struct {
	ZH_CN ValidateParaGroupNameRequestXLanguage
	EN_US ValidateParaGroupNameRequestXLanguage
}

func GetValidateParaGroupNameRequestXLanguageEnum added in v0.1.13

func GetValidateParaGroupNameRequestXLanguageEnum() ValidateParaGroupNameRequestXLanguageEnum

type ValidateParaGroupNameResponse added in v0.1.13

type ValidateParaGroupNameResponse struct {

	// 校验结果。true为已存在,false为不存在。
	Exist          *bool `json:"exist,omitempty"`
	HttpStatusCode int   `json:"-"`
}

ValidateParaGroupNameResponse Response Object

func (ValidateParaGroupNameResponse) String added in v0.1.13

type ValidateWeakPasswordRequest added in v0.1.13

type ValidateWeakPasswordRequest struct {

	// 语言。默认值:en-us。
	XLanguage *ValidateWeakPasswordRequestXLanguage `json:"X-Language,omitempty"`

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

ValidateWeakPasswordRequest Request Object

func (ValidateWeakPasswordRequest) String added in v0.1.13

type ValidateWeakPasswordRequestXLanguage added in v0.1.13

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

func (ValidateWeakPasswordRequestXLanguage) MarshalJSON added in v0.1.13

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

func (*ValidateWeakPasswordRequestXLanguage) UnmarshalJSON added in v0.1.13

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

func (ValidateWeakPasswordRequestXLanguage) Value added in v0.1.13

type ValidateWeakPasswordRequestXLanguageEnum added in v0.1.13

type ValidateWeakPasswordRequestXLanguageEnum struct {
	ZH_CN ValidateWeakPasswordRequestXLanguage
	EN_US ValidateWeakPasswordRequestXLanguage
}

func GetValidateWeakPasswordRequestXLanguageEnum added in v0.1.13

func GetValidateWeakPasswordRequestXLanguageEnum() ValidateWeakPasswordRequestXLanguageEnum

type ValidateWeakPasswordResponse added in v0.1.13

type ValidateWeakPasswordResponse struct {

	// 是否为弱密码。 - 返回\"true\",是弱密码。 - 返回\"false\",不是弱密码。
	IsWeakPassword *bool `json:"is_weak_password,omitempty"`
	HttpStatusCode int   `json:"-"`
}

ValidateWeakPasswordResponse Response Object

func (ValidateWeakPasswordResponse) String added in v0.1.13

type WeakPasswordRequestBody added in v0.1.13

type WeakPasswordRequestBody struct {

	// 数据库帐号密码。
	Password string `json:"password"`
}

func (WeakPasswordRequestBody) String added in v0.1.13

func (o WeakPasswordRequestBody) String() string

Source Files

Jump to

Keyboard shortcuts

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