model

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Actions

type Actions struct {

	// 操作记录id。
	Id *string `json:"id,omitempty"`

	// 操作类型。
	ActionType *string `json:"actionType,omitempty"`

	// 配置文件内容。
	ConfContent *string `json:"confContent,omitempty"`

	// 操作状态。
	Status *string `json:"status,omitempty"`

	// 更新时间,格式为ISO8601:CCYY-MM-DDThh:mm:ss。
	UpdateAt *string `json:"updateAt,omitempty"`

	// 错误信息。当操作状态为success时该字段为null。
	ErrorMsg *string `json:"errorMsg,omitempty"`

	// 内容。
	Message *string `json:"message,omitempty"`
}

func (Actions) String

func (o Actions) String() string

type AddFavoriteReq

type AddFavoriteReq struct {

	// 自定义模板名称。
	Name string `json:"name"`

	Template *AddFavoriteReqTemplate `json:"template"`
}

func (AddFavoriteReq) String

func (o AddFavoriteReq) String() string

type AddFavoriteReqTemplate

type AddFavoriteReqTemplate struct {

	// 模板名称。
	TemplateName string `json:"templateName"`

	// 模板描述。
	Desc *string `json:"desc,omitempty"`
}

func (AddFavoriteReqTemplate) String

func (o AddFavoriteReqTemplate) String() string

type AddFavoriteRequest

type AddFavoriteRequest struct {

	// 指定添加自定义模板的集群ID。
	ClusterId string `json:"cluster_id"`

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

AddFavoriteRequest Request Object

func (AddFavoriteRequest) String

func (o AddFavoriteRequest) String() string

type AddFavoriteResponse

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

AddFavoriteResponse Response Object

func (AddFavoriteResponse) String

func (o AddFavoriteResponse) String() string

type AddIndependentNodeRequest

type AddIndependentNodeRequest struct {

	// 指定需要独立master或client的集群ID。
	ClusterId string `json:"cluster_id"`

	// 指定待新增独立节点类型。 - ess-master:Master节点。 - ess-client:Client节点。
	Type string `json:"type"`

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

AddIndependentNodeRequest Request Object

func (AddIndependentNodeRequest) String

func (o AddIndependentNodeRequest) String() string

type AddIndependentNodeResponse

type AddIndependentNodeResponse struct {

	// 集群ID。
	Id             *string `json:"id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AddIndependentNodeResponse Response Object

func (AddIndependentNodeResponse) String

type AddressAndPorts

type AddressAndPorts struct {

	// IP地址或域名。
	Address string `json:"address"`

	// 端口号。
	Port *int32 `json:"port,omitempty"`
}

func (AddressAndPorts) String

func (o AddressAndPorts) String() string

type BackupRsp

type BackupRsp struct {

	// 快照id。
	Id *string `json:"id,omitempty"`

	// 快照名称。
	Name *string `json:"name,omitempty"`
}

func (BackupRsp) String

func (o BackupRsp) String() string

type BatchAddOrDeleteTagOnClusterReq

type BatchAddOrDeleteTagOnClusterReq struct {

	// 操作类型。通过该属性标识当前所需的操作类型。  - create:批量添加标签。 - delete:批量删除标签。
	Action string `json:"action"`

	// 标签列表。
	Tags []Tag `json:"tags"`

	// 系统标签列表。 - key固定为:_sys_enterprise_project_id。 - value是UUID或0,value为0表示默认企业项目。
	SysTags *[]SysTags `json:"sysTags,omitempty"`
}

func (BatchAddOrDeleteTagOnClusterReq) String

type BindPublicReq

type BindPublicReq struct {
	Eip *BindPublicReqEip `json:"eip"`

	// 是否自动支付。下单订购后,是否自动从客户的华为云账户中支付,而不需要客户手动去进行支付。该参数适用于包周期集群。  - 1: 是(会自动选择折扣和优惠券进行优惠,然后自动从客户华为云账户中支付),自动支付失败后会生成订单成功(该订单应付金额是优惠后金额)、但订单状态为“待支付”,等待客户手动支付(手动支付时,客户还可以修改系统自动选择的折扣和优惠券)。  - 0: 否(需要客户手动去支付,客户可以选择折扣和优惠券)。默认值为“0”。
	IsAutoPay *int32 `json:"isAutoPay,omitempty"`
}

func (BindPublicReq) String

func (o BindPublicReq) String() string

type BindPublicReqEip

type BindPublicReqEip struct {
	BandWidth *BindPublicReqEipBandWidth `json:"bandWidth"`
}

BindPublicReqEip 弹性IP信息。

func (BindPublicReqEip) String

func (o BindPublicReqEip) String() string

type BindPublicReqEipBandWidth

type BindPublicReqEipBandWidth struct {

	// 带宽大小。单位:Mbit/s
	Size int32 `json:"size"`
}

BindPublicReqEipBandWidth 公网带宽信息。

func (BindPublicReqEipBandWidth) String

func (o BindPublicReqEipBandWidth) String() string

type BindPublicReqEipReq

type BindPublicReqEipReq struct {
	BandWidth *BindPublicReqEipBandWidth `json:"bandWidth"`

	// 是否自动支付。下单订购后,是否自动从客户的华为云账户中支付,而不需要客户手动去进行支付。该参数适用于包周期集群。  - 1: 是(会自动选择折扣和优惠券进行优惠,然后自动从客户华为云账户中支付),自动支付失败后会生成订单成功(该订单应付金额是优惠后金额)、但订单状态为“待支付”,等待客户手动支付(手动支付时,客户还可以修改系统自动选择的折扣和优惠券)。  - 0: 否(需要客户手动去支付,客户可以选择折扣和优惠券)。默认值为“0”。
	IsAutoPay *int32 `json:"isAutoPay,omitempty"`
}

BindPublicReqEipReq 弹性IP信息。

func (BindPublicReqEipReq) String

func (o BindPublicReqEipReq) String() string

type ChangeModeReq

type ChangeModeReq struct {

	// 是否开启安全模式。 - true: 开启安全模式。 - false: 关闭安全模式。 默认为:true。
	AuthorityEnable bool `json:"authorityEnable"`

	// 安全模式下集群密码。
	AdminPwd *string `json:"adminPwd,omitempty"`

	// 是否开启HTTPS。 - true: 开启HTTPS。 - false: 关闭HTTPS。 默认为:true。
	HttpsEnable bool `json:"httpsEnable"`
}

func (ChangeModeReq) String

func (o ChangeModeReq) String() string

type ChangeModeRequest

type ChangeModeRequest struct {

	// 指定修改的集群ID。
	ClusterId string `json:"cluster_id"`

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

ChangeModeRequest Request Object

func (ChangeModeRequest) String

func (o ChangeModeRequest) String() string

type ChangeModeResponse

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

ChangeModeResponse Response Object

func (ChangeModeResponse) String

func (o ChangeModeResponse) String() string

type ChangeSecurityGroupReq

type ChangeSecurityGroupReq struct {

	// 期望安全组的ID。
	SecurityGroupIds string `json:"security_group_ids"`
}

func (ChangeSecurityGroupReq) String

func (o ChangeSecurityGroupReq) String() string

type ChangeSecurityGroupRequest

type ChangeSecurityGroupRequest struct {

	// 待修改安全组的集群ID。
	ClusterId string `json:"cluster_id"`

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

ChangeSecurityGroupRequest Request Object

func (ChangeSecurityGroupRequest) String

type ChangeSecurityGroupResponse

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

ChangeSecurityGroupResponse Response Object

func (ChangeSecurityGroupResponse) String

type CloseKibanaPublicReq

type CloseKibanaPublicReq struct {

	// 带宽。单位:Mbit/s
	EipSize *int32 `json:"eipSize,omitempty"`

	ElbWhiteList *StartKibanaPublicReqElbWhitelist `json:"elbWhiteList,omitempty"`
}

func (CloseKibanaPublicReq) String

func (o CloseKibanaPublicReq) String() string

type ClusterDetailDatastore

type ClusterDetailDatastore struct {

	// 引擎类型,目前只支持elasticsearch。
	Type *string `json:"type,omitempty"`

	// CSS集群引擎版本号。详细请参考CSS[支持的集群版本](css_03_0056.xml)。
	Version *string `json:"version,omitempty"`
}

ClusterDetailDatastore 数据搜索引擎类型。

func (ClusterDetailDatastore) String

func (o ClusterDetailDatastore) String() string

type ClusterDetailFailedReasons

type ClusterDetailFailedReasons struct {

	// 错误码。  - CSS.6000:表示集群创建失败。 - CSS.6001:表示集群扩容失败。 - CSS.6002:表示集群重启失败。 - CSS.6004:表示集群节点创建失败。 - CSS.6005:表示服务初始化失败。
	ErrorCode *string `json:"errorCode,omitempty"`

	// 详细错误信息。
	ErrorMsg *string `json:"errorMsg,omitempty"`
}

ClusterDetailFailedReasons 失败原因。如果集群处于正常状态,则不返回该参数。

func (ClusterDetailFailedReasons) String

type ClusterDetailInstances

type ClusterDetailInstances struct {

	// 节点状态值。  - 100:操作进行中,如创建中。 - 200:可用。 - 303:不可用,如创建失败。
	Status *string `json:"status,omitempty"`

	// 当前节点的类型。
	Type *string `json:"type,omitempty"`

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

	// 实例名字。
	Name *string `json:"name,omitempty"`

	// 节点规格名称。
	SpecCode *string `json:"specCode,omitempty"`

	// 节点所属AZ信息。
	AzCode *string `json:"azCode,omitempty"`

	// 实例ip信息。
	Ip *string `json:"ip,omitempty"`

	Volume *ShowClusterVolumeRsp `json:"volume,omitempty"`
}

ClusterDetailInstances 节点对象。

func (ClusterDetailInstances) String

func (o ClusterDetailInstances) String() string

type ClusterDetailTags

type ClusterDetailTags struct {

	// 集群标签的key值。
	Key *string `json:"key,omitempty"`

	// 集群标签的value值。
	Value *string `json:"value,omitempty"`
}

ClusterDetailTags 集群标签。

func (ClusterDetailTags) String

func (o ClusterDetailTags) String() string

type ClusterList

type ClusterList struct {
	Datastore *ClusterListDatastore `json:"datastore,omitempty"`

	// 节点对象列表。
	Instances *[]ClusterListInstances `json:"instances,omitempty"`

	PublicKibanaResp *PublicKibanaRespBody `json:"publicKibanaResp,omitempty"`

	ElbWhiteList *ElbWhiteListResp `json:"elbWhiteList,omitempty"`

	// 集群上次修改时间,格式为ISO8601: CCYY-MM-DDThh:mm:ss。
	Updated *string `json:"updated,omitempty"`

	// 集群名称。
	Name *string `json:"name,omitempty"`

	// 公网IP信息。
	PublicIp *string `json:"publicIp,omitempty"`

	// 集群创建时间,格式为ISO8601:CCYY-MM-DDThh:mm:ss。  返回的集群列表信息按照创建时间降序排序,即创建时间最新的集群排在最前。
	Created *string `json:"created,omitempty"`

	// 集群ID。
	Id *string `json:"id,omitempty"`

	// 集群状态值。  - 100:创建中。 - 200:可用。 - 303:不可用,如创建失败。
	Status *string `json:"status,omitempty"`

	// 用户VPC访问IP地址和端口号。
	Endpoint *string `json:"endpoint,omitempty"`

	// VPC ID。
	VpcId *string `json:"vpcId,omitempty"`

	// 子网ID。
	SubnetId *string `json:"subnetId,omitempty"`

	// 安全组ID。
	SecurityGroupId *string `json:"securityGroupId,omitempty"`

	// 公网带宽大小。单位:Mbit/s
	BandwidthSize *int32 `json:"bandwidthSize,omitempty"`

	// 通信加密状态。 - false:未设置通信加密。 - true:已设置通信加密。
	HttpsEnable *bool `json:"httpsEnable,omitempty"`

	// 是否开启认证。 - true:表示集群开启认证。 - false:表示集群不开启认证。
	AuthorityEnable *bool `json:"authorityEnable,omitempty"`

	// 磁盘是否加密。  - true : 磁盘已加密。 - false : 磁盘未加密。
	DiskEncrypted *bool `json:"diskEncrypted,omitempty"`

	// 快照是否开启。 - true: 快照开启状态。 - false: 快照关闭状态。
	BackupAvailable *bool `json:"backupAvailable,omitempty"`

	// 集群行为进度,显示创建或扩容进度的百分比等。CREATING表示创建的百分比。
	ActionProgress *interface{} `json:"actionProgress,omitempty"`

	// 集群当前行为。REBOOTING表示重启、GROWING表示扩容、RESTORING表示恢复集群、SNAPSHOTTING表示创建快照等。
	Actions *[]string `json:"actions,omitempty"`

	// 集群所属的企业项目ID。 如果集群所属用户没有开通企业项目,则不会返回该参数。
	EnterpriseProjectId *string `json:"enterpriseProjectId,omitempty"`

	// 集群标签。
	Tags *[]ClusterListTags `json:"tags,omitempty"`

	FailedReason *ClusterListFailedReasons `json:"failedReason,omitempty"`

	// 是否为包周期集群。 - \"true\" 表示是包周期计费的集群。 - \"false\" 表示是按需计费的集群。
	Period *bool `json:"period,omitempty"`
}

ClusterList 集群对象。

func (ClusterList) String

func (o ClusterList) String() string

type ClusterListDatastore

type ClusterListDatastore struct {

	// 引擎类型,目前只支持elasticsearch。
	Type *string `json:"type,omitempty"`

	// CSS集群引擎版本号。详细请参考CSS[支持的集群版本](css_03_0056.xml)。
	Version *string `json:"version,omitempty"`
}

ClusterListDatastore 数据搜索引擎类型。

func (ClusterListDatastore) String

func (o ClusterListDatastore) String() string

type ClusterListFailedReasons

type ClusterListFailedReasons struct {

	// 错误码。  - CSS.6000:表示集群创建失败。 - CSS.6001:表示集群扩容失败。 - CSS.6002:表示集群重启失败。 - CSS.6004:表示集群节点创建失败。 - CSS.6005:表示服务初始化失败。
	ErrorCode *string `json:"errorCode,omitempty"`

	// 详细错误信息。
	ErrorMsg *string `json:"errorMsg,omitempty"`
}

ClusterListFailedReasons 失败原因。如果集群处于正常状态,则不返回该参数。

func (ClusterListFailedReasons) String

func (o ClusterListFailedReasons) String() string

type ClusterListInstances

type ClusterListInstances struct {

	// 节点状态值。  - 100:创建中。 - 200:可用。 - 303:不可用,如创建失败。
	Status *string `json:"status,omitempty"`

	// 当前节点的类型。
	Type *string `json:"type,omitempty"`

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

	// 实例名字。
	Name *string `json:"name,omitempty"`

	// 节点规格名称。
	SpecCode *string `json:"specCode,omitempty"`

	// 节点所属AZ信息。
	AzCode *string `json:"azCode,omitempty"`

	// 实例ip信息。
	Ip *string `json:"ip,omitempty"`

	Volume *ClusterVolumeRsp `json:"volume,omitempty"`
}

ClusterListInstances 节点对象。

func (ClusterListInstances) String

func (o ClusterListInstances) String() string

type ClusterListTags

type ClusterListTags struct {

	// 集群标签的key值。
	Key *string `json:"key,omitempty"`

	// 集群标签的value值。
	Value *string `json:"value,omitempty"`
}

ClusterListTags 集群标签。

func (ClusterListTags) String

func (o ClusterListTags) String() string

type ClusterLogRecord

type ClusterLogRecord struct {

	// 日志任务ID,通过系统UUID生成。
	Id *string `json:"id,omitempty"`

	// 集群ID。
	ClusterId *string `json:"clusterId,omitempty"`

	// 创建时间。格式:Unix时间戳格式。
	CreateAt *string `json:"createAt,omitempty"`

	// 日志在OBS桶中的备份路径。
	LogPath *string `json:"logPath,omitempty"`

	// 任务状态。 - RUNNING: 备份行中。 - SUCCESS: 备份成功。 - FAIL: 备份失败。
	Status *string `json:"status,omitempty"`

	// 结束时间,当创建未结束时结束时间为null。格式:Unix时间戳格式。
	FinishedAt *int64 `json:"finishedAt,omitempty"`

	// 任务类型。 - Manual: 手动备份。 - Auto: 自动备份。
	JobTypes *string `json:"jobTypes,omitempty"`

	// 错误信息。当任务状态没有处于失败状态时该字段为null。
	FailedMsg *string `json:"failedMsg,omitempty"`

	// 任务ID。
	JobId *string `json:"jobId,omitempty"`
}

ClusterLogRecord 集群日志记录实体对象。

func (ClusterLogRecord) String

func (o ClusterLogRecord) String() string

type ClusterVolumeRsp

type ClusterVolumeRsp struct {

	// 实例磁盘类型。
	Type *string `json:"type,omitempty"`

	// 实例磁盘大小。
	Size *int32 `json:"size,omitempty"`
}

ClusterVolumeRsp 实例磁盘信息。

func (ClusterVolumeRsp) String

func (o ClusterVolumeRsp) String() string

type ConfigListRsp

type ConfigListRsp struct {

	// 操作ID
	Id *string `json:"id,omitempty"`

	// 集群ID。
	ClusterId *string `json:"clusterId,omitempty"`

	// 创建时间。格式:Unix时间戳格式。
	CreateAt *string `json:"createAt,omitempty"`

	// 任务执行状态。 - true: 执行成功。 - false: 执行失败。
	Status *string `json:"status,omitempty"`

	// 结束时间,当创建未结束时结束时间为null。格式:Unix时间戳格式。
	FinishedAt *string `json:"finishedAt,omitempty"`

	// 修改参数配置记录。
	ModifyDeleteReset *string `json:"modifyDeleteReset,omitempty"`

	// 返回错误信息。当状态为success时该参数为null。
	FailedMsg *string `json:"failedMsg,omitempty"`
}

func (ConfigListRsp) String

func (o ConfigListRsp) String() string

type Confs

type Confs struct {

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

	// 配置文件状态。
	Status *string `json:"status,omitempty"`

	// 配置文件内容。
	ConfContent *string `json:"confContent,omitempty"`

	Setting *Setting `json:"setting,omitempty"`

	// 更新时间。
	UpdateAt *string `json:"updateAt,omitempty"`
}

func (Confs) String

func (o Confs) String() string

type Connections

type Connections struct {

	// 终端节点ID。
	Id *string `json:"id,omitempty"`

	// 终端节点状态。 - accepted:允许该终端节点连接。 - rejected:拒绝该终端节点连接。
	Status *string `json:"status,omitempty"`

	// 最大连接数。
	MaxSession *string `json:"maxSession,omitempty"`

	// 终端节点名称。
	SpecificationName *string `json:"specificationName,omitempty"`

	// 创建时间,格式为ISO8601:CCYY-MM-DDThh:mm:ss。
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间。默认为null。
	UpdateAt *string `json:"update_at,omitempty"`

	// 拥有者。
	DomainId *string `json:"domain_id,omitempty"`
}

Connections 连接信息。

func (Connections) String

func (o Connections) String() string

type CreateAutoCreatePolicyRequest

type CreateAutoCreatePolicyRequest struct {

	// 指定要自动创建快照的集群ID。
	ClusterId string `json:"cluster_id"`

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

CreateAutoCreatePolicyRequest Request Object

func (CreateAutoCreatePolicyRequest) String

type CreateAutoCreatePolicyResponse

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

CreateAutoCreatePolicyResponse Response Object

func (CreateAutoCreatePolicyResponse) String

type CreateBindPublicRequest

type CreateBindPublicRequest struct {

	// 指定开启公网访问的集群ID。
	ClusterId string `json:"cluster_id"`

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

CreateBindPublicRequest Request Object

func (CreateBindPublicRequest) String

func (o CreateBindPublicRequest) String() string

type CreateBindPublicResponse

type CreateBindPublicResponse struct {

	// 操作行为。固定为bindZone,表示绑定成功。
	Action         *string `json:"action,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateBindPublicResponse Response Object

func (CreateBindPublicResponse) String

func (o CreateBindPublicResponse) String() string

type CreateClusterBackupStrategyBody

type CreateClusterBackupStrategyBody struct {

	// 每天自动创建快照的时间点。只支持整点,后面需加上时区,格式为“HH:mm z”,“HH:mm”表示整点时间,“z”表示时区。比如“00:00 GMT+08:00”、“01:00 GMT+08:00”等。
	Period string `json:"period"`

	// 自动创建的快照的前缀,需要用户自己手动输入。只能包含1~32位小写字母、数字、中划线或者下划线,并且以小写字母开头。
	Prefix string `json:"prefix"`

	// 自动创建快照的保留天数。取值范围:1-90。
	Keepday int32 `json:"keepday"`

	// 备份使用的OBS桶名称。
	Bucket *string `json:"bucket,omitempty"`

	// 快照在OBS桶中的存放路径。
	BasePath *string `json:"basePath,omitempty"`

	// 委托名称,委托给CSS,允许CSS调用您的其他云服务。  >如果bucket、basePath和agency三个参数同时为空,则系统会自动创建OBS桶和IAM代理(若创建失败,则需要手工配置正确的参数)。
	Agency *string `json:"agency,omitempty"`
}

CreateClusterBackupStrategyBody 开启自动创建快照策略,默认关闭。 当backupStrategy参数配置不为空时,才会开启自动创建快照策略。

func (CreateClusterBackupStrategyBody) String

type CreateClusterBody

type CreateClusterBody struct {
	Instance *CreateClusterInstanceBody `json:"instance"`

	Datastore *CreateClusterDatastoreBody `json:"datastore"`

	// 集群名称。4~32个字符,只能包含数字、字母、中划线和下划线,且必须以字母开头。
	Name string `json:"name"`

	// 集群实例个数,取值范围为1~32。
	InstanceNum int32 `json:"instanceNum"`

	BackupStrategy *CreateClusterBackupStrategyBody `json:"backupStrategy,omitempty"`

	// 设置是否进行通信加密。取值范围为true或false。默认关闭通信加密功能。当httpsEnable设置为true时,authorityEnable字段需要设置为true。   - true:表示集群进行通信加密。  - false:表示集群不进行通信加密。   >此参数只有6.5.4及之后版本支持。
	HttpsEnable *bool `json:"httpsEnable,omitempty"`

	// 是否开启认证,取值范围为true或false。默认关闭认证功能。  - true:表示集群开启认证。 - false:表示集群不开启认证。  >此参数只有6.5.4及之后版本支持。
	AuthorityEnable *bool `json:"authorityEnable,omitempty"`

	// 安全模式下集群管理员admin的密码,只有在创建集群时authorityEnable设置为true时需要设置此参数。   - 管理员密码需要满足规则:    - 可输入的字符串长度为8-32个字符。    - 密码至少包含大写字母,小写字母,数字和特殊字符中的三类,其中可输入的特殊字符为:~!@#$%^&*()-_=+\\\\|[{}];:,<.>/?。   - 安全集群的密码会进行弱口令校验,建议设置安全性高的密码。
	AdminPwd *string `json:"adminPwd,omitempty"`

	// 企业项目ID。创建集群时,给集群绑定企业项目ID。最大长度36个字符,带\"-\"连字符的UUID格式,或者是字符串\"0\"。\"0\"表示默认企业项目。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 集群标签。
	Tags *[]CreateClusterTagsBody `json:"tags,omitempty"`

	PayInfo *PayInfoBody `json:"payInfo,omitempty"`
}

CreateClusterBody 集群对象。

func (CreateClusterBody) String

func (o CreateClusterBody) String() string

type CreateClusterClusterResponse

type CreateClusterClusterResponse struct {

	// 集群ID。
	Id *string `json:"id,omitempty"`

	// 集群名称。
	Name *string `json:"name,omitempty"`
}

CreateClusterClusterResponse 集群对象。若创建的是按需集群,则只返回cluster参数。

func (CreateClusterClusterResponse) String

type CreateClusterDatastoreBody

type CreateClusterDatastoreBody struct {

	// Esasticsearch引擎版本号。详细请参考CSS[支持的集群版本](css_03_0056.xml)。
	Version string `json:"version"`

	// 引擎类型,目前只支持elasticsearch。
	Type string `json:"type"`
}

CreateClusterDatastoreBody 数据搜索引擎类型。

func (CreateClusterDatastoreBody) String

type CreateClusterInstanceBody

type CreateClusterInstanceBody struct {

	// 实例规格名称。可以使用[获取实例规格列表](ListFlavors.xml)的name属性确认当前拥有的规格信息。
	FlavorRef string `json:"flavorRef"`

	Volume *CreateClusterInstanceVolumeBody `json:"volume"`

	Nics *CreateClusterInstanceNicsBody `json:"nics"`

	// 可用区。不填时默认创建单AZ。  如果需要创建多AZ,各个AZ之间使用英文逗号分隔,比如az1,az2 ,az不能重复输入,并且要求节点个数大于等于AZ个数。  如果节点个数为AZ个数的倍数,节点将会均匀的分布到各个AZ。如果节点个数不为AZ个数的倍数时,各个AZ分布的节点数量之差的绝对值小于等于1。
	AvailabilityZone *string `json:"availability_zone,omitempty"`
}

CreateClusterInstanceBody 实例对象。

func (CreateClusterInstanceBody) String

func (o CreateClusterInstanceBody) String() string

type CreateClusterInstanceNicsBody

type CreateClusterInstanceNicsBody struct {

	// 指定虚拟私有云ID,用于集群网络配置。
	VpcId string `json:"vpcId"`

	// 子网ID(网络ID)。
	NetId string `json:"netId"`

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

CreateClusterInstanceNicsBody 子网信息。

func (CreateClusterInstanceNicsBody) String

type CreateClusterInstanceVolumeBody

type CreateClusterInstanceVolumeBody struct {

	// 卷类型。  - COMMON:普通I/O。 - HIGH:高I/O。 - ULTRAHIGH:超高I/O。
	VolumeType string `json:"volume_type"`

	// 卷大小,必须大于0且为4和10的公倍数,磁盘规格大小可以通过[获取实例规格列表](ListFlavors.xml)中diskrange属性获得。 单位:GB。
	Size int32 `json:"size"`
}

CreateClusterInstanceVolumeBody volume信息。当flavorRef选择的是本地盘规格时不需要填写,目前支持的本地盘规格有: - ess.spec-i3small - ess.spec-i3medium - ess.spec-i3.8xlarge.8 - ess.spec-ds.xlarge.8 - ess.spec-ds.2xlarge.8 - ess.spec-ds.4xlarge.8

func (CreateClusterInstanceVolumeBody) String

type CreateClusterReq

type CreateClusterReq struct {
	Cluster *CreateClusterBody `json:"cluster"`
}

func (CreateClusterReq) String

func (o CreateClusterReq) String() string

type CreateClusterRequest

type CreateClusterRequest struct {
	Body *CreateClusterReq `json:"body,omitempty"`
}

CreateClusterRequest Request Object

func (CreateClusterRequest) String

func (o CreateClusterRequest) String() string

type CreateClusterResponse

type CreateClusterResponse struct {
	Cluster *CreateClusterClusterResponse `json:"cluster,omitempty"`

	// 订单号。若创建的是包周期集群,则只返回ordeld参数。
	OrderId        *string `json:"orderId,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateClusterResponse Response Object

func (CreateClusterResponse) String

func (o CreateClusterResponse) String() string

type CreateClusterTagsBody

type CreateClusterTagsBody struct {

	// 集群标签的key值。可输入的字符串长度为1~36个字符。只能包含数字、字母、中划线\"-\"和下划线\"_\"。
	Key string `json:"key"`

	// 集群标签的value值。可输入的字符串长度为0~43个字符。只能包含数字、字母、中划线\"-\"和下划线\"_\"。
	Value string `json:"value"`
}

CreateClusterTagsBody 集群标签。 关于标签特性的详细信息,请参见[[《标签管理服务介绍》](https://support.huaweicloud.com/productdesc-tms/zh-cn_topic_0071335169.html)](tag:hc,hws)[[《标签管理服务介绍》](https://support.huaweicloud.com/intl/zh-cn/productdesc-tms/zh-cn_topic_0071335169.html)](tag:hk,hws_hk)。

func (CreateClusterTagsBody) String

func (o CreateClusterTagsBody) String() string

type CreateClustersTagsRequest

type CreateClustersTagsRequest struct {

	// 指定待添加标签的集群ID。
	ClusterId string `json:"cluster_id"`

	// 资源类型,当前固定值为“css-cluster”,表示是集群类型。
	ResourceType string `json:"resource_type"`

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

CreateClustersTagsRequest Request Object

func (CreateClustersTagsRequest) String

func (o CreateClustersTagsRequest) String() string

type CreateClustersTagsResponse

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

CreateClustersTagsResponse Response Object

func (CreateClustersTagsResponse) String

type CreateCnfReq

type CreateCnfReq struct {

	// 配置文件名称。4~32个字符,只能包含数字、字母、中划线和下划线,且必须以字母开头。
	Name string `json:"name"`

	// 配置文件内容。
	ConfContent string `json:"confContent"`

	Setting *Setting `json:"setting"`
}

func (CreateCnfReq) String

func (o CreateCnfReq) String() string

type CreateCnfRequest

type CreateCnfRequest struct {

	// 指定创建配置文件的集群ID。
	ClusterId string `json:"cluster_id"`

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

CreateCnfRequest Request Object

func (CreateCnfRequest) String

func (o CreateCnfRequest) String() string

type CreateCnfResponse

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

CreateCnfResponse Response Object

func (CreateCnfResponse) String

func (o CreateCnfResponse) String() string

type CreateLoadIkThesaurusRequest

type CreateLoadIkThesaurusRequest struct {

	// 指定配置自定义词库的集群ID。
	ClusterId string `json:"cluster_id"`

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

CreateLoadIkThesaurusRequest Request Object

func (CreateLoadIkThesaurusRequest) String

type CreateLoadIkThesaurusResponse

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

CreateLoadIkThesaurusResponse Response Object

func (CreateLoadIkThesaurusResponse) String

type CreateLogBackupRequest

type CreateLogBackupRequest struct {

	// 指定待备份日志的集群ID。
	ClusterId string `json:"cluster_id"`
}

CreateLogBackupRequest Request Object

func (CreateLogBackupRequest) String

func (o CreateLogBackupRequest) String() string

type CreateLogBackupResponse

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

CreateLogBackupResponse Response Object

func (CreateLogBackupResponse) String

func (o CreateLogBackupResponse) String() string

type CreateSnapshotReq

type CreateSnapshotReq struct {

	// 快照名称,快照名称在4位到64位之间,必须以字母开头,可以包含字母、数字、中划线或者下划线,注意字母不能大写且不能包含其他特殊字符。
	Name string `json:"name"`

	// 快照描述,0~256个字符,不能包含!<>=&\\\"'字符。
	Description *string `json:"description,omitempty"`

	// 指定要备份的索引名称,多个索引用逗号隔开,默认备份所有索引。支持使用“\\*”匹配多个索引,例如:2018-06\\*,表示备份名称前缀是2018-06的所有索引的数据。  0~1024个字符,不能包含空格和大写字母,且不能包含\\\"\\\\<|>/?特殊字符。
	Indices *string `json:"indices,omitempty"`
}

func (CreateSnapshotReq) String

func (o CreateSnapshotReq) String() string

type CreateSnapshotRequest

type CreateSnapshotRequest struct {

	// 指定要创建快照的集群ID。
	ClusterId string `json:"cluster_id"`

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

CreateSnapshotRequest Request Object

func (CreateSnapshotRequest) String

func (o CreateSnapshotRequest) String() string

type CreateSnapshotResponse

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

CreateSnapshotResponse Response Object

func (CreateSnapshotResponse) String

func (o CreateSnapshotResponse) String() string

type CustomTemplates

type CustomTemplates struct {

	// 配置文件id。
	Id *string `json:"id,omitempty"`

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

	// 配置文件内容。
	ConfContent *string `json:"confContent,omitempty"`

	// 描述。
	Desc *string `json:"desc,omitempty"`
}

func (CustomTemplates) String

func (o CustomTemplates) String() string

type DeleteClusterRequest

type DeleteClusterRequest struct {

	// 指定删除集群ID。
	ClusterId string `json:"cluster_id"`
}

DeleteClusterRequest Request Object

func (DeleteClusterRequest) String

func (o DeleteClusterRequest) String() string

type DeleteClusterResponse

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

DeleteClusterResponse Response Object

func (DeleteClusterResponse) String

func (o DeleteClusterResponse) String() string

type DeleteClustersTagsRequest

type DeleteClustersTagsRequest struct {

	// 指定删除标签的集群ID。
	ClusterId string `json:"cluster_id"`

	// 资源类型,当前固定值为“css-cluster”,表示是集群类型。
	ResourceType string `json:"resource_type"`

	// 需要删除的标签名。
	Key string `json:"key"`
}

DeleteClustersTagsRequest Request Object

func (DeleteClustersTagsRequest) String

func (o DeleteClustersTagsRequest) String() string

type DeleteClustersTagsResponse

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

DeleteClustersTagsResponse Response Object

func (DeleteClustersTagsResponse) String

type DeleteConfReq

type DeleteConfReq struct {

	// 配置文件名称。
	Name string `json:"name"`
}

func (DeleteConfReq) String

func (o DeleteConfReq) String() string

type DeleteConfRequest

type DeleteConfRequest struct {

	// 指定删除配置文件的集群ID。
	ClusterId string `json:"cluster_id"`

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

DeleteConfRequest Request Object

func (DeleteConfRequest) String

func (o DeleteConfRequest) String() string

type DeleteConfResponse

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

DeleteConfResponse Response Object

func (DeleteConfResponse) String

func (o DeleteConfResponse) String() string

type DeleteIkThesaurusRequest

type DeleteIkThesaurusRequest struct {

	// 指定要删除自定义词库的集群ID。
	ClusterId string `json:"cluster_id"`
}

DeleteIkThesaurusRequest Request Object

func (DeleteIkThesaurusRequest) String

func (o DeleteIkThesaurusRequest) String() string

type DeleteIkThesaurusResponse

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

DeleteIkThesaurusResponse Response Object

func (DeleteIkThesaurusResponse) String

func (o DeleteIkThesaurusResponse) String() string

type DeleteSnapshotRequest

type DeleteSnapshotRequest struct {

	// 删除快照所属的集群的ID。
	ClusterId string `json:"cluster_id"`

	// 要删除快照的ID。
	SnapshotId string `json:"snapshot_id"`
}

DeleteSnapshotRequest Request Object

func (DeleteSnapshotRequest) String

func (o DeleteSnapshotRequest) String() string

type DeleteSnapshotResponse

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

DeleteSnapshotResponse Response Object

func (DeleteSnapshotResponse) String

func (o DeleteSnapshotResponse) String() string

type DeleteTemplateReq

type DeleteTemplateReq struct {

	// 模板名称。
	Name string `json:"name"`
}

func (DeleteTemplateReq) String

func (o DeleteTemplateReq) String() string

type DeleteTemplateRequest

type DeleteTemplateRequest struct {
	Body *DeleteTemplateReq `json:"body,omitempty"`
}

DeleteTemplateRequest Request Object

func (DeleteTemplateRequest) String

func (o DeleteTemplateRequest) String() string

type DeleteTemplateResponse

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

DeleteTemplateResponse Response Object

func (DeleteTemplateResponse) String

func (o DeleteTemplateResponse) String() string

type DownloadCertRequest

type DownloadCertRequest struct {
}

DownloadCertRequest Request Object

func (DownloadCertRequest) String

func (o DownloadCertRequest) String() string

type DownloadCertResponse

type DownloadCertResponse struct {
	HttpStatusCode int           `json:"-"`
	Body           io.ReadCloser `json:"-" type:"stream"`
}

DownloadCertResponse Response Object

func (DownloadCertResponse) Consume

func (o DownloadCertResponse) Consume(writer io.Writer) (int64, error)

func (DownloadCertResponse) String

func (o DownloadCertResponse) String() string

type ElbWhiteListResp

type ElbWhiteListResp struct {

	// 是否开启公网访问控制。 - true: 开启公网访问控制。 - false: 关闭公网访问控制。
	EnableWhiteList *bool `json:"enableWhiteList,omitempty"`

	// 公网访问白名单。
	WhiteList *string `json:"whiteList,omitempty"`
}

ElbWhiteListResp 公网访问信息。

func (ElbWhiteListResp) String

func (o ElbWhiteListResp) String() string

type EsflavorsVersionsFlavorsResp

type EsflavorsVersionsFlavorsResp struct {

	// 实例的CPU核数。
	Cpu *int32 `json:"cpu,omitempty"`

	// 实例的内存大小。单位GB。
	Ram *int32 `json:"ram,omitempty"`

	// 规格名称。
	Name *string `json:"name,omitempty"`

	// 可用region。
	Region *string `json:"region,omitempty"`

	// 实例的硬盘容量范围。
	Diskrange *string `json:"diskrange,omitempty"`

	// 可用区。
	AvailableAZ *string `json:"availableAZ,omitempty"`

	// 规格对应的ID。
	FlavorId *string `json:"flavor_id,omitempty"`
}

EsflavorsVersionsFlavorsResp 规格。

func (EsflavorsVersionsFlavorsResp) String

type EsflavorsVersionsResp

type EsflavorsVersionsResp struct {

	// Esasticsearch引擎版本号。详细请参考CSS[支持的集群版本](css_03_0056.xml)。
	Version *string `json:"version,omitempty"`

	// 规格列表。
	Flavors *[]EsflavorsVersionsFlavorsResp `json:"flavors,omitempty"`

	// 实例类型,包括为ess、ess-cold、ess-master和ess-client。
	Type *string `json:"type,omitempty"`
}

EsflavorsVersionsResp 引擎列表。

func (EsflavorsVersionsResp) String

func (o EsflavorsVersionsResp) String() string

type ExtendClusterGrowReq

type ExtendClusterGrowReq struct {

	// 扩容实例个数。  集群已有实例个数和扩容实例个数总和不能超过32。
	ModifySize int32 `json:"modifySize"`
}

ExtendClusterGrowReq 集群扩容请求详细描述。

func (ExtendClusterGrowReq) String

func (o ExtendClusterGrowReq) String() string

type ExtendClusterReq

type ExtendClusterReq struct {
	Grow *ExtendClusterGrowReq `json:"grow"`

	// 是否自动支付。下单订购后,是否自动从客户的华为云账户中支付,而不需要客户手动去进行支付。该参数适用于包周期集群。  - 1:是(会自动选择折扣和优惠券进行优惠,然后自动从客户华为云账户中支付),自动支付失败后会生成订单成功(该订单应付金额是优惠后金额)、但订单状态为“待支付”,等待客户手动支付(手动支付时,客户还可以修改系统自动选择的折扣和优惠券)。  - 0:否(需要客户手动去支付,客户可以选择折扣和优惠券)。默认值为“0”。
	IsAutoPay *int32 `json:"isAutoPay,omitempty"`
}

func (ExtendClusterReq) String

func (o ExtendClusterReq) String() string

type GetLogBackupReq

type GetLogBackupReq struct {

	// 节点名称。通过[查询集群详情](ShowClusterDetail.xml)获取instances中的name属性。
	InstanceName string `json:"instanceName"`

	// 日志级别。可查询的日志级别为:INFO,ERROR,DEBUG,WARN。
	Level string `json:"level"`

	// 日志类型。可查询的日志类型为:deprecation,indexingSlow,searchSlow, instance。
	LogType string `json:"logType"`
}

func (GetLogBackupReq) String

func (o GetLogBackupReq) String() string

type IndependentBodyReq

type IndependentBodyReq struct {

	// 规格id,该参数通过[获取实例规格列表](ListFlavors.xml)接口获取,根据集群版本选择所需要的规格id
	FlavorRef string `json:"flavor_ref"`

	// 要独立节点个数。 - 如果路径参数type取值为“ess-master”即新增独立master节点,节点个数必须为大于等于三且小于等于10的奇数。 - 如果路径参数type取值为“ess-client”即新增独立client节点,节点个数要求大于等于1小于等于32。
	NodeSize int32 `json:"node_size"`

	// 节点存储类型:取值为ULTRAHIGH,COMMON,HIGH。
	VolumeType string `json:"volume_type"`
}

func (IndependentBodyReq) String

func (o IndependentBodyReq) String() string

type IndependentReq

type IndependentReq struct {
	Type *IndependentBodyReq `json:"type"`
}

func (IndependentReq) String

func (o IndependentReq) String() string

type KibanaElbWhiteListResp

type KibanaElbWhiteListResp struct {

	// 是否开启kibana访问控制。 - true: 开启访问控制。 - false: 关闭访问控制
	EnableWhiteList *bool `json:"enableWhiteList,omitempty"`

	// kibana公网访问白名单。
	WhiteList *string `json:"whiteList,omitempty"`
}

KibanaElbWhiteListResp Kibana公网访问信息。

func (KibanaElbWhiteListResp) String

func (o KibanaElbWhiteListResp) String() string

type ListActionsRequest

type ListActionsRequest struct {

	// 指定查询集群ID。
	ClusterId string `json:"cluster_id"`
}

ListActionsRequest Request Object

func (ListActionsRequest) String

func (o ListActionsRequest) String() string

type ListActionsResponse

type ListActionsResponse struct {

	// 操作记录列表。
	Actions        *[]Actions `json:"actions,omitempty"`
	HttpStatusCode int        `json:"-"`
}

ListActionsResponse Response Object

func (ListActionsResponse) String

func (o ListActionsResponse) String() string

type ListClustersDetailsRequest

type ListClustersDetailsRequest struct {

	// 指定查询起始值,默认值为1,即从第1个集群开始查询。
	Start *int32 `json:"start,omitempty"`

	// 指定查询个数,默认值为10,即一次查询10个集群信息。
	Limit *int32 `json:"limit,omitempty"`
}

ListClustersDetailsRequest Request Object

func (ListClustersDetailsRequest) String

type ListClustersDetailsResponse

type ListClustersDetailsResponse struct {

	// 集群个数。
	TotalSize *int32 `json:"totalSize,omitempty"`

	// 集群对象列表。
	Clusters       *[]ClusterList `json:"clusters,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ListClustersDetailsResponse Response Object

func (ListClustersDetailsResponse) String

type ListClustersTagsRequest

type ListClustersTagsRequest struct {

	// 资源类型,当前固定值为“css-cluster”,表示是集群类型。
	ResourceType string `json:"resource_type"`
}

ListClustersTagsRequest Request Object

func (ListClustersTagsRequest) String

func (o ListClustersTagsRequest) String() string

type ListClustersTagsResponse

type ListClustersTagsResponse struct {

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

ListClustersTagsResponse Response Object

func (ListClustersTagsResponse) String

func (o ListClustersTagsResponse) String() string

type ListConfsRequest

type ListConfsRequest struct {

	// 指定查询集群ID。
	ClusterId string `json:"cluster_id"`
}

ListConfsRequest Request Object

func (ListConfsRequest) String

func (o ListConfsRequest) String() string

type ListConfsResponse

type ListConfsResponse struct {

	// 配置文件列表。
	Confs          *[]Confs `json:"confs,omitempty"`
	HttpStatusCode int      `json:"-"`
}

ListConfsResponse Response Object

func (ListConfsResponse) String

func (o ListConfsResponse) String() string

type ListFlavorsRequest

type ListFlavorsRequest struct {
}

ListFlavorsRequest Request Object

func (ListFlavorsRequest) String

func (o ListFlavorsRequest) String() string

type ListFlavorsResponse

type ListFlavorsResponse struct {

	// 引擎版本列表。
	Versions       *[]EsflavorsVersionsResp `json:"versions,omitempty"`
	HttpStatusCode int                      `json:"-"`
}

ListFlavorsResponse Response Object

func (ListFlavorsResponse) String

func (o ListFlavorsResponse) String() string

type ListLogsJobRequest

type ListLogsJobRequest struct {

	// 指定查询集群ID。
	ClusterId string `json:"cluster_id"`

	// 指定查询起始值,默认值为1,即从第1个任务开始查询。
	Start *int32 `json:"start,omitempty"`

	// 指定查询个数,默认值为10,即一次查询10个任务信息。
	Limit *int32 `json:"limit,omitempty"`
}

ListLogsJobRequest Request Object

func (ListLogsJobRequest) String

func (o ListLogsJobRequest) String() string

type ListLogsJobResponse

type ListLogsJobResponse struct {
	ClusterLogRecord *[]ClusterLogRecord `json:"clusterLogRecord,omitempty"`
	HttpStatusCode   int                 `json:"-"`
}

ListLogsJobResponse Response Object

func (ListLogsJobResponse) String

func (o ListLogsJobResponse) String() string

type ListPipelinesRequest

type ListPipelinesRequest struct {

	// 指定查询集群ID。
	ClusterId string `json:"cluster_id"`
}

ListPipelinesRequest Request Object

func (ListPipelinesRequest) String

func (o ListPipelinesRequest) String() string

type ListPipelinesResponse

type ListPipelinesResponse struct {

	// pipeline列表。
	Pipelines      *[]Pipelines `json:"pipelines,omitempty"`
	HttpStatusCode int          `json:"-"`
}

ListPipelinesResponse Response Object

func (ListPipelinesResponse) String

func (o ListPipelinesResponse) String() string

type ListSnapshotBackupsDatastoreResp

type ListSnapshotBackupsDatastoreResp struct {

	// 引擎类型,目前只支持elasticsearch。
	Type *string `json:"type,omitempty"`

	// Esasticsearch引擎版本号。详细请参考CSS[支持的集群版本](css_03_0056.xml)。
	Version *string `json:"version,omitempty"`
}

ListSnapshotBackupsDatastoreResp 数据搜索引擎类型。

func (ListSnapshotBackupsDatastoreResp) String

type ListSnapshotBackupsResp

type ListSnapshotBackupsResp struct {

	// 快照创建时间。
	Created *string `json:"created,omitempty"`

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

	// 快照描述信息。
	Description *string `json:"description,omitempty"`

	// 快照ID。
	Id *string `json:"id,omitempty"`

	// 集群ID。
	ClusterId *string `json:"clusterId,omitempty"`

	// 集群名字。
	ClusterName *string `json:"clusterName,omitempty"`

	// 快照名称。
	Name *string `json:"name,omitempty"`

	// 快照状态。
	Status *string `json:"status,omitempty"`

	// 快照更新时间,格式为ISO8601:CCYY-MM-DDThh:mm:ss。
	Updated *string `json:"updated,omitempty"`

	// 快照创建类型: - 0:表示自动创建。 - 1:表示手动创建。
	BackupType *string `json:"backupType,omitempty"`

	// 创建快照方式。
	BackupMethod *string `json:"backupMethod,omitempty"`

	// 快照开始执行时间。
	BackupExpectedStartTime *string `json:"backupExpectedStartTime,omitempty"`

	// 快照保留时间。
	BackupKeepDay *int32 `json:"backupKeepDay,omitempty"`

	// 快照每天执行的时间点。
	BackupPeriod *string `json:"backupPeriod,omitempty"`

	// 要备份的索引。
	Indices *string `json:"indices,omitempty"`

	// 要备份的索引的总shard数。
	TotalShards *int32 `json:"totalShards,omitempty"`

	// 备份失败的shard数。
	FailedShards *int32 `json:"failedShards,omitempty"`

	// 快照的版本。
	Version *string `json:"version,omitempty"`

	// 快照恢复的状态。
	RestoreStatus *string `json:"restoreStatus,omitempty"`

	// 快照开始执行的时间戳。
	StartTime *int64 `json:"startTime,omitempty"`

	// 快照执行结束的时间戳。
	EndTime *int64 `json:"endTime,omitempty"`

	// 保存快照数据的桶名。
	BucketName *string `json:"bucketName,omitempty"`
}

ListSnapshotBackupsResp 快照对象。

func (ListSnapshotBackupsResp) String

func (o ListSnapshotBackupsResp) String() string

type ListSnapshotsRequest

type ListSnapshotsRequest struct {

	// 指定需查询的快照所属的集群的ID。
	ClusterId string `json:"cluster_id"`
}

ListSnapshotsRequest Request Object

func (ListSnapshotsRequest) String

func (o ListSnapshotsRequest) String() string

type ListSnapshotsResponse

type ListSnapshotsResponse struct {

	// 快照列表。
	Backups        *[]ListSnapshotBackupsResp `json:"backups,omitempty"`
	HttpStatusCode int                        `json:"-"`
}

ListSnapshotsResponse Response Object

func (ListSnapshotsResponse) String

func (o ListSnapshotsResponse) String() string

type ListTemplatesRequest

type ListTemplatesRequest struct {

	// 模板类型。custom为自定义模板,system为系统模板。不指定查询模板类型默认查找自定义模板和系统模板。
	Type *string `json:"type,omitempty"`
}

ListTemplatesRequest Request Object

func (ListTemplatesRequest) String

func (o ListTemplatesRequest) String() string

type ListTemplatesResponse

type ListTemplatesResponse struct {

	// 系统模板列表。
	SystemTemplates *[]SystemTemplates `json:"systemTemplates,omitempty"`

	// 自定义模板列表。
	CustomTemplates *[]CustomTemplates `json:"customTemplates,omitempty"`
	HttpStatusCode  int                `json:"-"`
}

ListTemplatesResponse Response Object

func (ListTemplatesResponse) String

func (o ListTemplatesResponse) String() string

type ListYmlsJobRequest

type ListYmlsJobRequest struct {

	// 指定查询集群ID。
	ClusterId string `json:"cluster_id"`

	// 指定查询起始值,默认值为1,即从第1个任务开始查询。
	Start *int32 `json:"start,omitempty"`

	// 指定查询个数,默认值为10,即一次查询10个任务信息。
	Limit *int32 `json:"limit,omitempty"`
}

ListYmlsJobRequest Request Object

func (ListYmlsJobRequest) String

func (o ListYmlsJobRequest) String() string

type ListYmlsJobResponse

type ListYmlsJobResponse struct {

	// 历史修改配置列表。
	ConfigList     *[]ConfigListRsp `json:"configList,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ListYmlsJobResponse Response Object

func (ListYmlsJobResponse) String

func (o ListYmlsJobResponse) String() string

type ListYmlsRequest

type ListYmlsRequest struct {

	// 指定查询集群ID。
	ClusterId string `json:"cluster_id"`
}

ListYmlsRequest Request Object

func (ListYmlsRequest) String

func (o ListYmlsRequest) String() string

type ListYmlsResponse

type ListYmlsResponse struct {

	// 集群参数配置列表。该对象中key值以具体获取为准,value拥有以下属性。 - id:  参数配置ID。 - key: 参数名称。 - vlaue:  参数值。 - defaultValue:  参数默认值。 - regex:  参数约束限制。 - desc:  参数中文描述。 - type:  参数类型描述。 - moduleDesc: 参数功能中文描述。 - modifyEnable: 参数是否可修改 true: 可以修改。 false:不可修改。 - enableValue: 参数支持修改的值。 - fileName: 参数存在的文件名称。默认为elasticsearch.yml。 - version:  版本信息。 - descENG: 参数英文描述。 - moduleDescENG:  参数功能英文描述。
	Configurations *interface{} `json:"configurations,omitempty"`
	HttpStatusCode int          `json:"-"`
}

ListYmlsResponse Response Object

func (ListYmlsResponse) String

func (o ListYmlsResponse) String() string

type LoadCustomThesaurusReq

type LoadCustomThesaurusReq struct {

	// 词库文件存放的OBS桶(桶类型必须为标准存储或者低频存储,不支持归档存储)。
	BucketName string `json:"bucketName"`

	// 主词库文件对象,必须为UTF-8无BOM编码的文本文件,一行一个分词,文件大小最大支持100M。 mainObject, stopObject, synonymObject三个参数至少要填写一个。  >一次只能加载一个主词库,不支持同时加载多个主词库。
	MainObject *string `json:"mainObject,omitempty"`

	// 停词词库文件对象,必须为UTF-8无BOM编码的文本文件,一行一个分词,文件大小最大支持20M。  mainObject, stopObject, synonymObject三个参数至少要填写一个。
	StopObject *string `json:"stopObject,omitempty"`

	// 同义词词库文件,必须为UTF-8无BOM编码的文本文件,一行一组分词,文件大小最大支持20M。  mainObject, stopObject, synonymObject三个参数至少要填写一个。
	SynonymObject *string `json:"synonymObject,omitempty"`
}

func (LoadCustomThesaurusReq) String

func (o LoadCustomThesaurusReq) String() string

type LogConfiguration

type LogConfiguration struct {

	// 日志备份ID,通过系统UUID生成。
	Id *string `json:"id,omitempty"`

	// 集群ID。
	ClusterId *string `json:"clusterId,omitempty"`

	// 用于存储日志的OBS桶的桶名。
	ObsBucket *string `json:"obsBucket,omitempty"`

	// 委托名称,委托给CSS,允许CSS调用您的其他云服务。
	Agency *string `json:"agency,omitempty"`

	// 更新时间。格式为:Unix时间戳格式。
	UpdateAt *int64 `json:"updateAt,omitempty"`

	// 日志在OBS桶中的备份路径。
	BasePath *string `json:"basePath,omitempty"`

	// 自动备份开关。 - true: 自动备份开启。 - false: 自动备份关闭。
	AutoEnable *bool `json:"autoEnable,omitempty"`

	// 自动备份日志开始时间。当autoEnable为false时该字段为null。格式为:格林威治标准时间。
	Period *string `json:"period,omitempty"`

	// 日志开关。 - true: 日志开启。 - false: 日志关闭。
	LogSwitch *bool `json:"logSwitch,omitempty"`
}

func (LogConfiguration) String

func (o LogConfiguration) String() string

type LogList

type LogList struct {

	// 日志内容。
	Content *string `json:"content,omitempty"`

	// 日期。
	Date *string `json:"date,omitempty"`

	// 日志级别。
	Level *string `json:"level,omitempty"`
}

LogList 日志列表。

func (LogList) String

func (o LogList) String() string

type PayInfoBody

type PayInfoBody struct {

	// 订购周期类型。 - 2: 包月。 - 3: 包年。
	PayModel int32 `json:"payModel"`

	// 订购周期数。 - 若payModel为2,则有效值为1-9。 - 若payModel为3,则有效值为1-3。
	Period int32 `json:"period"`

	// 是否自动续订,为空时表示不自动续订。 - 1: 自动续订。 - 0:不自动续订(默认)。
	IsAutoRenew *int32 `json:"isAutoRenew,omitempty"`

	// 是否自动支付。下单订购后,是否自动从客户的华为云账户中支付,而不需要客户手动去进行支付。该参数适用于包周期集群。  - 1:是(会自动选择折扣和优惠券进行优惠,然后自动从客户华为云账户中支付),自动支付失败后会生成订单成功(该订单应付金额是优惠后金额)、但订单状态为“待支付”,等待客户手动支付(手动支付时,客户还可以修改系统自动选择的折扣和优惠券)。  - 0: 否(需要客户手动去支付,客户可以选择折扣和优惠券)。默认值为“0”。
	IsAutoPay *int32 `json:"isAutoPay,omitempty"`
}

PayInfoBody 包周期集群相关参数,订购包周期集群时使用。

func (PayInfoBody) String

func (o PayInfoBody) String() string

type PeriodReq

type PeriodReq struct {

	// 订购周期类型。 - 2: 包月。 - 3: 包年。
	PeriodType int32 `json:"periodType"`

	// 订购周期数。 - 若选择包月(参数范围:1-9)。 - 若选择包年(参数范围:1-3)。
	PeriodNum int32 `json:"periodNum"`

	// 是否自动续订,为空时表示不自动续订 - 1: 自动续订。 - 0: 不自动续订(默认)。
	IsAutoRenew *int32 `json:"isAutoRenew,omitempty"`

	// 是否自动支付。下单订购后,是否自动从客户的华为云账户中支付,而不需要客户手动去进行支付。该参数适用于包周期集群。  - 1: 是(会自动选择折扣和优惠券进行优惠,然后自动从客户华为云账户中支付),自动支付失败后会生成订单成功(该订单应付金额是优惠后金额)、但订单状态为“待支付”,等待客户手动支付(手动支付时,客户还可以修改系统自动选择的折扣和优惠券)。  - 0: 否(需要客户手动去支付,客户可以选择折扣和优惠券)。默认值为“0”。
	IsAutoPay *int32 `json:"isAutoPay,omitempty"`

	// 云服务ConsoleURL。 订购订单支付完成后,客户可以通过此URL跳转到云服务Console页面查看信息。(仅手动支付时涉及)。
	ConsoleURL *string `json:"consoleURL,omitempty"`
}

func (PeriodReq) String

func (o PeriodReq) String() string

type Pipelines

type Pipelines struct {

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

	// pipeline状态。
	Status *string `json:"status,omitempty"`

	// 是否开启常驻。
	KeepAlive *bool `json:"keepAlive,omitempty"`

	// 事件只有在“工作中”状态才可以实时查看(需要手动刷新),“已停止”状态请到output端查看迁移数据量。
	Events *string `json:"events,omitempty"`

	// 更新时间。
	UpdateAt *string `json:"updateAt,omitempty"`
}

func (Pipelines) String

func (o Pipelines) String() string

type PublicKibanaRespBody

type PublicKibanaRespBody struct {

	// 带宽大小。单位:Mbit/s
	EipSize *int32 `json:"eipSize,omitempty"`

	ElbWhiteListResp *KibanaElbWhiteListResp `json:"elbWhiteListResp,omitempty"`

	// kibana访问IP。
	PublicKibanaIp *string `json:"publicKibanaIp,omitempty"`
}

PublicKibanaRespBody Kibana公网访问信息。

func (PublicKibanaRespBody) String

func (o PublicKibanaRespBody) String() string

type ResetPasswordReq

type ResetPasswordReq struct {

	// 安全模式下集群管理员admin的密码,只有在创建集群时authorityEnable设置为true时该接口可用。  - 参数范围:8~32个字符。  - 参数要求:密码至少包含大写字母,小写字母,数字、特殊字符四类中的三类,其中可输入的特殊字符为:~!@#$%&*()-_=|[{}];:,<.>/?
	Newpassword string `json:"newpassword"`
}

func (ResetPasswordReq) String

func (o ResetPasswordReq) String() string

type ResetPasswordRequest

type ResetPasswordRequest struct {

	// 指定待修改集群密码的集群ID。
	ClusterId string `json:"cluster_id"`

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

ResetPasswordRequest Request Object

func (ResetPasswordRequest) String

func (o ResetPasswordRequest) String() string

type ResetPasswordResponse

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

ResetPasswordResponse Response Object

func (ResetPasswordResponse) String

func (o ResetPasswordResponse) String() string

type RestartClusterRequest

type RestartClusterRequest struct {

	// 指定重启集群ID。
	ClusterId string `json:"cluster_id"`
}

RestartClusterRequest Request Object

func (RestartClusterRequest) String

func (o RestartClusterRequest) String() string

type RestartClusterResponse

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

RestartClusterResponse Response Object

func (RestartClusterResponse) String

func (o RestartClusterResponse) String() string

type RestoreSnapshotReq

type RestoreSnapshotReq struct {

	// 快照要恢复到的集群的ID。
	TargetCluster string `json:"targetCluster"`

	// 指定要恢复的索引名称,多个索引用逗号隔开,默认恢复所有索引。支持使用“\\*”匹配多个索引,例如:2018-06\\*,表示恢复名称前缀是2018-06的所有索引的数据。  0~1024个字符,不能包含空格和大写字母,且不能包含\\\"\\\\<|>/?特殊字符。
	Indices *string `json:"indices,omitempty"`

	// 匹配要恢复的索引规则,最大支持1024个字符。根据此处定义的过滤条件去恢复符合条件的索引,过滤条件请使用正则表达式。  0~1024个字符,不能包含空格和大写字母,且不能包含\\\"\\\\<|>/?,特殊字符。   renamePattern参数与renameReplacement参数必须同时设置才能生效。
	RenamePattern *string `json:"renamePattern,omitempty"`

	// 索引重命名的规则。0~1024个字符,不能包含空格和大写字母,且不能包含\\\"\\\\<|>/?,特殊字符。例如,“restored_index_$1”表示在所有恢复的索引名称前面加上“restored_”。    renamePattern参数与renameReplacement参数必须同时设置才能生效。
	RenameReplacement *string `json:"renameReplacement,omitempty"`
}

func (RestoreSnapshotReq) String

func (o RestoreSnapshotReq) String() string

type RestoreSnapshotRequest

type RestoreSnapshotRequest struct {

	// 恢复快照所属的集群ID。
	ClusterId string `json:"cluster_id"`

	// 快照ID。
	SnapshotId string `json:"snapshot_id"`

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

RestoreSnapshotRequest Request Object

func (RestoreSnapshotRequest) String

func (o RestoreSnapshotRequest) String() string

type RestoreSnapshotResponse

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

RestoreSnapshotResponse Response Object

func (RestoreSnapshotResponse) String

func (o RestoreSnapshotResponse) String() string

type Result

type Result struct {

	// IP地址或域名。
	Address *string `json:"address,omitempty"`

	// 端口号。
	Port *int32 `json:"port,omitempty"`

	// 测试结果。 - 1:表示连接成功。 - 0:表示地址不可达。 - 2:表示端口不可达。 - 3:表示域名无法解析。 - -2:表示位置错误。
	Status *int32 `json:"status,omitempty"`
}

func (Result) String

func (o Result) String() string

type RoleExtendGrowReq

type RoleExtendGrowReq struct {

	// 扩容实例类型。取值为ess、ess-master或ess-client,可以选择其中一个或多个之间的组合但不可以重复选择。  ess-master、ess-client节点只支持增加实例个数。
	Type string `json:"type"`

	// 扩容实例个数。集群已有实例个数和增加实例个数总和不能超过32。若无需扩容该参数将该参数设置为0即可。
	Nodesize int32 `json:"nodesize"`

	// 扩容实例存储容量。集群原实例存储容量和扩容实例存储容量之和不能超过创建集群时对应默认实例存储容量上限。若无需扩容该参数将该参数设置为0即可。[当集群为包周期集群时不支持同时修改节点个数和磁盘容量。](tag: hc,tag: hws)  单位:GB。  - ess节点、ess-cold节点扩容步长为20。  - ess-master节点、ess-client节点不允许扩容存储。
	Disksize int32 `json:"disksize"`
}

RoleExtendGrowReq 集群扩容请求详细描述。

func (RoleExtendGrowReq) String

func (o RoleExtendGrowReq) String() string

type RoleExtendReq

type RoleExtendReq struct {

	// 集群扩容请求详细描述。
	Grow []RoleExtendGrowReq `json:"grow"`

	//  是否自动支付。下单订购后,是否自动从客户的华为云账户中支付,而不需要客户手动去进行支付。该参数适用于包周期集群。  - 1:是(会自动选择折扣和优惠券进行优惠,然后自动从客户华为云账户中支付),自动支付失败后会生成订单成功(该订单应付金额是优惠后金额)、但订单状态为“待支付”,等待客户手动支付(手动支付时,客户还可以修改系统自动选择的折扣和优惠券)。  - 0: 否(需要客户手动去支付,客户可以选择折扣和优惠券)。默认值为“0”。
	IsAutoPay *int32 `json:"isAutoPay,omitempty"`
}

func (RoleExtendReq) String

func (o RoleExtendReq) String() string

type SetRdsBackupCnfReq

type SetRdsBackupCnfReq struct {

	// 需要备份的索引名。*代表所有索引。
	Indices *string `json:"indices,omitempty"`

	// 自动创建快照的名称前缀,需要用户自己手动输入。只能包含1~32位小写字母、数字、中划线或者下划线,并且以小写字母开头。
	Prefix *string `json:"prefix,omitempty"`

	// 每天创建快照的时刻,只支持整点,后面需加上时区,格式为“HH:mm z”,“HH:mm”表示整点时间,“z”表示时区。比如“00:00 GMT+08:00”、“01:00 GMT+08:00”等。
	Period *string `json:"period,omitempty"`

	// 自定义设置快照保留的天数,范围是1~90。系统在半点时刻会自动删除超过保留天数的快照。
	Keepday *int32 `json:"keepday,omitempty"`

	// 是否开启自动创建快照策略。 - true:表示开启自动创建快照策略。 - false:表示关闭自动创建快照策略,且无需下发其余参数。
	Enable string `json:"enable"`

	// 表示关闭自动创建快照策略时,是否需要清除所有自动创建的快照。默认为“false”,表示不会删除之前已自动创建的快照。设置为true,表示在关闭自动创建快照策略的同时,删除所有已创建的快照。
	DeleteAuto *string `json:"deleteAuto,omitempty"`
}

func (SetRdsBackupCnfReq) String

func (o SetRdsBackupCnfReq) String() string

type Setting

type Setting struct {

	// 并行执行管道的Filters+Outputs阶段的工作线程数,默认值为CPU核数。
	Workers *int32 `json:"workers,omitempty"`

	// 单个工作线程在尝试执行其Filters和Outputs之前将从inputs收集的最大事件数,该值较大通常更有效,但会增加内存开销,默认为125。
	BatchSize *int32 `json:"batchSize,omitempty"`

	// 每个event被pipeline调度等待的最小时间。 单位毫秒。
	BatchDelayMs *int32 `json:"batchDelayMs,omitempty"`

	// 用于事件缓冲的内部队列模型。memory 为基于内存的传统队列,persisted为基于磁盘的ACKed持久化队列,默认值为memory。
	QueueType string `json:"queueType"`

	// 如果使用持久化队列,则表示强制执行检查点之前写入的最大事件数,默认值为1024。
	QueueCheckPointWrites *int32 `json:"queueCheckPointWrites,omitempty"`

	// 如果使用持久化队列,则表示持久化队列的总容量(以兆字节MB为单位),确保磁盘的容量大于该值,默认值为1024。
	QueueMaxBytesMb *int32 `json:"queueMaxBytesMb,omitempty"`
}

func (Setting) String

func (o Setting) String() string

type ShowAllTagsTagsResp

type ShowAllTagsTagsResp struct {

	// 集群标签的key值。
	Key *string `json:"key,omitempty"`

	// 集群标签的value值列表。
	Values *[]string `json:"values,omitempty"`
}

ShowAllTagsTagsResp 集群标签。

func (ShowAllTagsTagsResp) String

func (o ShowAllTagsTagsResp) String() string

type ShowAutoCreatePolicyRequest

type ShowAutoCreatePolicyRequest struct {

	// 指定需查询自动创建快照策略的集群ID。
	ClusterId string `json:"cluster_id"`
}

ShowAutoCreatePolicyRequest Request Object

func (ShowAutoCreatePolicyRequest) String

type ShowAutoCreatePolicyResponse

type ShowAutoCreatePolicyResponse struct {

	// 快照保留的天数。
	Keepday *int32 `json:"keepday,omitempty"`

	// 每天快照创建时刻。
	Period *string `json:"period,omitempty"`

	// 快照命名前缀,需要用户自己手动输入。
	Prefix *string `json:"prefix,omitempty"`

	// 快照存放的OBS桶的桶名。
	Bucket *string `json:"bucket,omitempty"`

	// 快照在OBS桶中的存放路径。
	BasePath *string `json:"basePath,omitempty"`

	// 访问OBS桶用到的委托。
	Agency *string `json:"agency,omitempty"`

	// 是否开启自动创建快照策略。 - true:表示开启自动创建快照策略。 - false:表示关闭自动创建快照策略。
	Enable         *string `json:"enable,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowAutoCreatePolicyResponse Response Object

func (ShowAutoCreatePolicyResponse) String

type ShowClusterDetailRequest

type ShowClusterDetailRequest struct {

	// 指定查询集群ID。
	ClusterId string `json:"cluster_id"`
}

ShowClusterDetailRequest Request Object

func (ShowClusterDetailRequest) String

func (o ShowClusterDetailRequest) String() string

type ShowClusterDetailResponse

type ShowClusterDetailResponse struct {
	Datastore *ClusterDetailDatastore `json:"datastore,omitempty"`

	// 节点对象列表。
	Instances *[]ClusterDetailInstances `json:"instances,omitempty"`

	PublicKibanaResp *PublicKibanaRespBody `json:"publicKibanaResp,omitempty"`

	ElbWhiteList *ElbWhiteListResp `json:"elbWhiteList,omitempty"`

	// 集群上次修改时间,格式为ISO8601: CCYY-MM-DDThh:mm:ss。
	Updated *string `json:"updated,omitempty"`

	// 集群名称。
	Name *string `json:"name,omitempty"`

	// 公网IP信息。
	PublicIp *string `json:"publicIp,omitempty"`

	// 集群创建时间,格式为ISO8601: CCYY-MM-DDThh:mm:ss。
	Created *string `json:"created,omitempty"`

	// 集群ID。
	Id *string `json:"id,omitempty"`

	// 集群状态值。  - 100:操作进行中,如创建中。 - 200:可用。 - 303:不可用,如创建失败。
	Status *string `json:"status,omitempty"`

	// 用户VPC访问IP地址和端口号。
	Endpoint *string `json:"endpoint,omitempty"`

	// VPC ID。
	VpcId *string `json:"vpcId,omitempty"`

	// 子网ID。
	SubnetId *string `json:"subnetId,omitempty"`

	// 安全组ID。
	SecurityGroupId *string `json:"securityGroupId,omitempty"`

	// 终端节点IP。
	VpcepIp *string `json:"vpcepIp,omitempty"`

	// 公网带宽大小。单位:Mbit/s
	BandwidthSize *int32 `json:"bandwidthSize,omitempty"`

	// 通信加密状态。 - false:未设置通信加密。 - true:已设置通信加密。
	HttpsEnable *bool `json:"httpsEnable,omitempty"`

	// 磁盘是否加密。  - true : 磁盘已加密。 - false : 磁盘未加密。
	DiskEncrypted *bool `json:"diskEncrypted,omitempty"`

	// 是否开启认证,取值范围为true或false。默认关闭认证功能。 - true:表示集群开启认证。 - false:表示集群不开启认证。
	AuthorityEnable *bool `json:"authorityEnable,omitempty"`

	// 快照是否开启。 - true: 快照开启状态。 - false: 快照关闭状态。
	BackupAvailable *bool `json:"backupAvailable,omitempty"`

	// 集群行为进度,显示创建或扩容进度的百分比。
	ActionProgress *interface{} `json:"actionProgress,omitempty"`

	// 集群当前行为。REBOOTING表示重启、GROWING表示扩容、RESTORING表示恢复集群、SNAPSHOTTING表示创建快照等。
	Actions *[]string `json:"actions,omitempty"`

	// 集群所属的企业项目ID。  如果集群所属用户没有开通企业项目,则不会返回该参数。
	EnterpriseProjectId *string `json:"enterpriseProjectId,omitempty"`

	// 集群标签。
	Tags *[]ClusterDetailTags `json:"tags,omitempty"`

	FailedReason *ClusterDetailFailedReasons `json:"failedReason,omitempty"`

	// 是否为包周期集群。 - \"true\" 表示是包周期计费的集群。 - \"false\" 表示是按需计费的集群。
	Period         *bool `json:"period,omitempty"`
	HttpStatusCode int   `json:"-"`
}

ShowClusterDetailResponse Response Object

func (ShowClusterDetailResponse) String

func (o ShowClusterDetailResponse) String() string

type ShowClusterTagRequest

type ShowClusterTagRequest struct {

	// 指定待查询的集群ID。
	ClusterId string `json:"cluster_id"`

	// 资源类型,当前固定值为“css-cluster”,表示是集群类型。
	ResourceType string `json:"resource_type"`
}

ShowClusterTagRequest Request Object

func (ShowClusterTagRequest) String

func (o ShowClusterTagRequest) String() string

type ShowClusterTagResponse

type ShowClusterTagResponse struct {

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

ShowClusterTagResponse Response Object

func (ShowClusterTagResponse) String

func (o ShowClusterTagResponse) String() string

type ShowClusterVolumeRsp

type ShowClusterVolumeRsp struct {

	// 实例磁盘类型。
	Type *string `json:"type,omitempty"`

	// 实例磁盘大小。
	Size *int32 `json:"size,omitempty"`
}

ShowClusterVolumeRsp 实例磁盘信息。

func (ShowClusterVolumeRsp) String

func (o ShowClusterVolumeRsp) String() string

type ShowGetConfDetailRequest

type ShowGetConfDetailRequest struct {

	// 指定查询集群ID。
	ClusterId string `json:"cluster_id"`

	// 配置文件名称。
	Name string `json:"name"`
}

ShowGetConfDetailRequest Request Object

func (ShowGetConfDetailRequest) String

func (o ShowGetConfDetailRequest) String() string

type ShowGetConfDetailResponse

type ShowGetConfDetailResponse struct {

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

	// 配置文件状态。
	Status *string `json:"status,omitempty"`

	// 配置文件内容。
	ConfContent *string `json:"confContent,omitempty"`

	Setting *Setting `json:"setting,omitempty"`

	// 更新时间。
	UpdateAt       *string `json:"updateAt,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowGetConfDetailResponse Response Object

func (ShowGetConfDetailResponse) String

func (o ShowGetConfDetailResponse) String() string

type ShowGetLogSettingRequest

type ShowGetLogSettingRequest struct {

	// 指定查询集群ID。
	ClusterId string `json:"cluster_id"`
}

ShowGetLogSettingRequest Request Object

func (ShowGetLogSettingRequest) String

func (o ShowGetLogSettingRequest) String() string

type ShowGetLogSettingResponse

type ShowGetLogSettingResponse struct {
	LogConfiguration *LogConfiguration `json:"logConfiguration,omitempty"`
	HttpStatusCode   int               `json:"-"`
}

ShowGetLogSettingResponse Response Object

func (ShowGetLogSettingResponse) String

func (o ShowGetLogSettingResponse) String() string

type ShowIkThesaurusRequest

type ShowIkThesaurusRequest struct {

	// 指定需查询词库状态的集群ID。
	ClusterId string `json:"cluster_id"`
}

ShowIkThesaurusRequest Request Object

func (ShowIkThesaurusRequest) String

func (o ShowIkThesaurusRequest) String() string

type ShowIkThesaurusResponse

type ShowIkThesaurusResponse struct {

	// 加载状态。  - Loaded表示加载成功。 - Loading表示正在加载中。 - Failed表示加载失败。
	Status *string `json:"status,omitempty"`

	// 存放词库文件的OBS桶。
	Bucket *string `json:"bucket,omitempty"`

	// 主词库文件对象。
	MainObj *string `json:"mainObj,omitempty"`

	// 停词词库文件对象。
	StopObj *string `json:"stopObj,omitempty"`

	// 同义词词库文件对象。
	SynonymObj *string `json:"synonymObj,omitempty"`

	// 词库最近更新时间。
	UpdateTime *string `json:"updateTime,omitempty"`

	// 更新详情。
	UpdateDetails *string `json:"updateDetails,omitempty"`

	// 指定配置自定义词库的集群ID。
	ClusterId *string `json:"clusterId,omitempty"`

	// 操作状态。
	OperateStatus *string `json:"operateStatus,omitempty"`

	// 词库的ID。
	Id             *string `json:"id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowIkThesaurusResponse Response Object

func (ShowIkThesaurusResponse) String

func (o ShowIkThesaurusResponse) String() string

type ShowLogBackupRequest

type ShowLogBackupRequest struct {

	// 指定查询集群ID。
	ClusterId string `json:"cluster_id"`

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

ShowLogBackupRequest Request Object

func (ShowLogBackupRequest) String

func (o ShowLogBackupRequest) String() string

type ShowLogBackupResponse

type ShowLogBackupResponse struct {
	LogList        *[]LogList `json:"logList,omitempty"`
	HttpStatusCode int        `json:"-"`
}

ShowLogBackupResponse Response Object

func (ShowLogBackupResponse) String

func (o ShowLogBackupResponse) String() string

type ShowTagsTagsResp

type ShowTagsTagsResp struct {

	// 集群标签的key值。
	Key *string `json:"key,omitempty"`

	// 集群标签的value值。
	Value *string `json:"value,omitempty"`
}

ShowTagsTagsResp 集群标签。

func (ShowTagsTagsResp) String

func (o ShowTagsTagsResp) String() string

type ShowVpcepConnectionRequest

type ShowVpcepConnectionRequest struct {

	// 指定待查询的集群ID。
	ClusterId string `json:"cluster_id"`

	// 指定查询起始值,默认值为1,即从第1个任务开始查询。
	Start *int32 `json:"start,omitempty"`

	// 指定查询个数,默认值为10,即一次查询10个任务信息。
	Limit *int32 `json:"limit,omitempty"`
}

ShowVpcepConnectionRequest Request Object

func (ShowVpcepConnectionRequest) String

type ShowVpcepConnectionResponse

type ShowVpcepConnectionResponse struct {
	Connections *[]Connections `json:"connections,omitempty"`

	// 终端节点更新开关。 - true: 开启终端节点。 - false: 关闭终端节点。
	VpcepUpdateSwitch *bool `json:"vpcepUpdateSwitch,omitempty"`

	// 终端节点数量。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ShowVpcepConnectionResponse Response Object

func (ShowVpcepConnectionResponse) String

type ShrinkClusterReq

type ShrinkClusterReq struct {

	// 需要缩容的节点类型和数量集合。
	Shrink []ShrinkNodeReq `json:"shrink"`
}

func (ShrinkClusterReq) String

func (o ShrinkClusterReq) String() string

type ShrinkNodeReq

type ShrinkNodeReq struct {

	// 需要缩容的节点数量。  - 对节点缩容后,请确保每个节点类型在每个AZ中的数量至少为1。  - 关于跨AZ的集群,在不同AZ中同类型节点个数的差值要小于等于1。  - 关于没有Master节点的集群,每次缩容的数据节点个数(包含冷数据节点和其他类型节点)要小于当前数据节点总数的一半,缩容后的数据节点个数要大于索引的最大副本个数。  - 关于有Master节点的集群,每次缩容的Master节点个数要小于当前Master节点总数的一半,缩容后的Master节点个数必须是奇数且不小于3。
	ReducedNodeNum int32 `json:"reducedNodeNum"`

	// 指定节点类型。 - ess:数据节点。 - ess-cold:冷数据节点。 - ess-client:Client节点。 - ess-master:Master节点。
	Type string `json:"type"`
}

func (ShrinkNodeReq) String

func (o ShrinkNodeReq) String() string

type ShrinkNodesReq

type ShrinkNodesReq struct {

	// 需要缩容的节点ID。  通过[查询集群详情](ShowClusterDetail.xml)获取instances中的id属性。
	ShrinkNodes []string `json:"shrinkNodes"`
}

func (ShrinkNodesReq) String

func (o ShrinkNodesReq) String() string

type StartAutoSettingRequest

type StartAutoSettingRequest struct {

	// 指定要备份的集群ID。
	ClusterId string `json:"cluster_id"`
}

StartAutoSettingRequest Request Object

func (StartAutoSettingRequest) String

func (o StartAutoSettingRequest) String() string

type StartAutoSettingResponse

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

StartAutoSettingResponse Response Object

func (StartAutoSettingResponse) String

func (o StartAutoSettingResponse) String() string

type StartConnectivityTestReq

type StartConnectivityTestReq struct {

	// 地址和端口列表。
	AddressAndPorts []AddressAndPorts `json:"addressAndPorts"`
}

func (StartConnectivityTestReq) String

func (o StartConnectivityTestReq) String() string

type StartConnectivityTestRequest

type StartConnectivityTestRequest struct {

	// 指定待测试的集群ID。
	ClusterId string `json:"cluster_id"`

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

StartConnectivityTestRequest Request Object

func (StartConnectivityTestRequest) String

type StartConnectivityTestResponse

type StartConnectivityTestResponse struct {

	// 连通性测试结果。
	Result         *[]Result `json:"result,omitempty"`
	HttpStatusCode int       `json:"-"`
}

StartConnectivityTestResponse Response Object

func (StartConnectivityTestResponse) String

type StartKibanaPublicReq

type StartKibanaPublicReq struct {

	// 带宽。单位:Mbit/s
	EipSize int32 `json:"eipSize"`

	ElbWhiteList *StartKibanaPublicReqElbWhitelist `json:"elbWhiteList"`

	// 是否自动支付。下单订购后,是否自动从客户的华为云账户中支付,而不需要客户手动去进行支付。该参数适用于包周期集群。  - 1: 是(会自动选择折扣和优惠券进行优惠,然后自动从客户华为云账户中支付),自动支付失败后会生成订单成功(该订单应付金额是优惠后金额)、但订单状态为“待支付”,等待客户手动支付(手动支付时,客户还可以修改系统自动选择的折扣和优惠券)。 - 0: 否(需要客户手动去支付,客户可以选择折扣和优惠券)。默认值为“0”。
	IsAutoPay *int32 `json:"isAutoPay,omitempty"`
}

func (StartKibanaPublicReq) String

func (o StartKibanaPublicReq) String() string

type StartKibanaPublicReqElbWhitelist

type StartKibanaPublicReqElbWhitelist struct {

	// 是否开启白名单。 - true: 开启白名单。 - false: 关闭白名单。
	EnableWhiteList bool `json:"enableWhiteList"`

	// 白名单。
	WhiteList string `json:"whiteList"`
}

func (StartKibanaPublicReqElbWhitelist) String

type StartKibanaPublicRequest

type StartKibanaPublicRequest struct {

	// 指定待开启kibana公网访问的集群ID。
	ClusterId string `json:"cluster_id"`

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

StartKibanaPublicRequest Request Object

func (StartKibanaPublicRequest) String

func (o StartKibanaPublicRequest) String() string

type StartKibanaPublicResponse

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

StartKibanaPublicResponse Response Object

func (StartKibanaPublicResponse) String

func (o StartKibanaPublicResponse) String() string

type StartLogAutoBackupPolicyReq

type StartLogAutoBackupPolicyReq struct {

	// 备份开始时间。格式:格林威治标准时间。
	Period string `json:"period"`
}

func (StartLogAutoBackupPolicyReq) String

type StartLogAutoBackupPolicyRequest

type StartLogAutoBackupPolicyRequest struct {

	// 指定开启日志备份的集群ID。
	ClusterId string `json:"cluster_id"`

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

StartLogAutoBackupPolicyRequest Request Object

func (StartLogAutoBackupPolicyRequest) String

type StartLogAutoBackupPolicyResponse

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

StartLogAutoBackupPolicyResponse Response Object

func (StartLogAutoBackupPolicyResponse) String

type StartLogsReq

type StartLogsReq struct {

	// 委托名称,委托给CSS,允许CSS调用您的其他云服务。
	Agency string `json:"agency"`

	// 日志在OBS桶中的备份路径。
	LogBasePath string `json:"logBasePath"`

	// 用于存储日志的OBS桶的桶名。
	LogBucket string `json:"logBucket"`
}

func (StartLogsReq) String

func (o StartLogsReq) String() string

type StartLogsRequest

type StartLogsRequest struct {

	// 指定开启日志的集群ID。
	ClusterId string `json:"cluster_id"`

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

StartLogsRequest Request Object

func (StartLogsRequest) String

func (o StartLogsRequest) String() string

type StartLogsResponse

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

StartLogsResponse Response Object

func (StartLogsResponse) String

func (o StartLogsResponse) String() string

type StartPipelineReq

type StartPipelineReq struct {

	// 是否保持常驻。   - true: 开启保持常驻。  - false: 关闭保持常驻。  开启“保持常驻”适用于需要长期运行的业务。开启“保持常驻”以后,将会在每个节点上面配置一个守护进程,当logstash服务出现故障的时候,会主动拉起并修复。“保持常驻”不适用于短期运行的业务,因为多次主动拉起logstash服务会导致数据迁移重复。
	KeepAlive *bool `json:"keepAlive,omitempty"`

	// 配置文件名称。
	Names []string `json:"names"`
}

func (StartPipelineReq) String

func (o StartPipelineReq) String() string

type StartPipelineRequest

type StartPipelineRequest struct {

	// 指定开启pipeline的集群ID。
	ClusterId string `json:"cluster_id"`

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

StartPipelineRequest Request Object

func (StartPipelineRequest) String

func (o StartPipelineRequest) String() string

type StartPipelineResponse

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

StartPipelineResponse Response Object

func (StartPipelineResponse) String

func (o StartPipelineResponse) String() string

type StartPublicWhitelistReq

type StartPublicWhitelistReq struct {

	// 开启白名单的用户IP。
	WhiteList string `json:"whiteList"`
}

func (StartPublicWhitelistReq) String

func (o StartPublicWhitelistReq) String() string

type StartPublicWhitelistRequest

type StartPublicWhitelistRequest struct {

	// 指定开启公网访问控制白名单集群ID。
	ClusterId string `json:"cluster_id"`

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

StartPublicWhitelistRequest Request Object

func (StartPublicWhitelistRequest) String

type StartPublicWhitelistResponse

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

StartPublicWhitelistResponse Response Object

func (StartPublicWhitelistResponse) String

type StartVpecpReq

type StartVpecpReq struct {

	// 是否开启内网域名。 - true:开启。 - false:不开启。
	EndpointWithDnsName *bool `json:"endpointWithDnsName,omitempty"`
}

func (StartVpecpReq) String

func (o StartVpecpReq) String() string

type StartVpecpRequest

type StartVpecpRequest struct {

	// 指定开启终端节点的集群ID。
	ClusterId string `json:"cluster_id"`

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

StartVpecpRequest Request Object

func (StartVpecpRequest) String

func (o StartVpecpRequest) String() string

type StartVpecpResponse

type StartVpecpResponse struct {

	// 操作行为。固定为:createVpcepservice,表示已开启终端节点。
	Action         *string `json:"action,omitempty"`
	HttpStatusCode int     `json:"-"`
}

StartVpecpResponse Response Object

func (StartVpecpResponse) String

func (o StartVpecpResponse) String() string

type StopLogAutoBackupPolicyRequest

type StopLogAutoBackupPolicyRequest struct {

	// 指定关闭日志自动备份的集群ID。
	ClusterId string `json:"cluster_id"`
}

StopLogAutoBackupPolicyRequest Request Object

func (StopLogAutoBackupPolicyRequest) String

type StopLogAutoBackupPolicyResponse

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

StopLogAutoBackupPolicyResponse Response Object

func (StopLogAutoBackupPolicyResponse) String

type StopLogsRequest

type StopLogsRequest struct {

	// 指定关闭日志的集群ID。
	ClusterId string `json:"cluster_id"`
}

StopLogsRequest Request Object

func (StopLogsRequest) String

func (o StopLogsRequest) String() string

type StopLogsResponse

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

StopLogsResponse Response Object

func (StopLogsResponse) String

func (o StopLogsResponse) String() string

type StopPipelineRequest

type StopPipelineRequest struct {

	// 指定停止pipeline的集群ID。
	ClusterId string `json:"cluster_id"`
}

StopPipelineRequest Request Object

func (StopPipelineRequest) String

func (o StopPipelineRequest) String() string

type StopPipelineResponse

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

StopPipelineResponse Response Object

func (StopPipelineResponse) String

func (o StopPipelineResponse) String() string

type StopPublicKibanaWhitelistRequest

type StopPublicKibanaWhitelistRequest struct {

	// 指定关闭Kibana公网访问控制的集群ID。
	ClusterId string `json:"cluster_id"`
}

StopPublicKibanaWhitelistRequest Request Object

func (StopPublicKibanaWhitelistRequest) String

type StopPublicKibanaWhitelistResponse

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

StopPublicKibanaWhitelistResponse Response Object

func (StopPublicKibanaWhitelistResponse) String

type StopPublicWhitelistRequest

type StopPublicWhitelistRequest struct {

	// 指定关闭公网访问控制白名单集群ID。
	ClusterId string `json:"cluster_id"`
}

StopPublicWhitelistRequest Request Object

func (StopPublicWhitelistRequest) String

type StopPublicWhitelistResponse

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

StopPublicWhitelistResponse Response Object

func (StopPublicWhitelistResponse) String

type StopSnapshotRequest

type StopSnapshotRequest struct {

	// 停用快照所属的集群的ID。
	ClusterId string `json:"cluster_id"`
}

StopSnapshotRequest Request Object

func (StopSnapshotRequest) String

func (o StopSnapshotRequest) String() string

type StopSnapshotResponse

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

StopSnapshotResponse Response Object

func (StopSnapshotResponse) String

func (o StopSnapshotResponse) String() string

type StopVpecpRequest

type StopVpecpRequest struct {

	// 指定待关闭终端节点的集群ID。
	ClusterId string `json:"cluster_id"`
}

StopVpecpRequest Request Object

func (StopVpecpRequest) String

func (o StopVpecpRequest) String() string

type StopVpecpResponse

type StopVpecpResponse struct {

	// 操作行为。固定为:deleteVpcepservice,表示已关闭终端节点。
	Action         *string `json:"action,omitempty"`
	HttpStatusCode int     `json:"-"`
}

StopVpecpResponse Response Object

func (StopVpecpResponse) String

func (o StopVpecpResponse) String() string

type SysTags

type SysTags struct {

	// 标签名。
	Key string `json:"key"`

	// 标签值。
	Value string `json:"value"`
}

SysTags 系统标签对象。

func (SysTags) String

func (o SysTags) String() string

type SystemTemplates

type SystemTemplates struct {

	// 配置文件id。
	Id *string `json:"id,omitempty"`

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

	// 配置文件内容。
	ConfContent *string `json:"confContent,omitempty"`

	// 描述。
	Desc *string `json:"desc,omitempty"`
}

func (SystemTemplates) String

func (o SystemTemplates) String() string

type Tag

type Tag struct {

	// 标签名。
	Key string `json:"key"`

	// 标签值。
	Value string `json:"value"`
}

Tag 待添加的标签对象。

func (Tag) String

func (o Tag) String() string

type TagReq

type TagReq struct {
	Tag *Tag `json:"tag"`
}

TagReq 标签对象列表。

func (TagReq) String

func (o TagReq) String() string

type UnBindPublicReq

type UnBindPublicReq struct {
	Eip *UnBindPublicReqEipReq `json:"eip,omitempty"`
}

func (UnBindPublicReq) String

func (o UnBindPublicReq) String() string

type UnBindPublicReqEipReq

type UnBindPublicReqEipReq struct {
	BandWidth *BindPublicReqEipBandWidth `json:"bandWidth,omitempty"`
}

UnBindPublicReqEipReq 弹性IP信息。

func (UnBindPublicReqEipReq) String

func (o UnBindPublicReqEipReq) String() string

type UpdateAlterKibanaRequest

type UpdateAlterKibanaRequest struct {

	// 指定待修改kibana公网带宽的集群ID。
	ClusterId string `json:"cluster_id"`

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

UpdateAlterKibanaRequest Request Object

func (UpdateAlterKibanaRequest) String

func (o UpdateAlterKibanaRequest) String() string

type UpdateAlterKibanaResponse

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

UpdateAlterKibanaResponse Response Object

func (UpdateAlterKibanaResponse) String

func (o UpdateAlterKibanaResponse) String() string

type UpdateBatchClustersTagsRequest

type UpdateBatchClustersTagsRequest struct {

	// 指定批量添加标签的集群ID。
	ClusterId string `json:"cluster_id"`

	// 资源类型,当前固定值为“css-cluster”,表示是集群类型。
	ResourceType string `json:"resource_type"`

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

UpdateBatchClustersTagsRequest Request Object

func (UpdateBatchClustersTagsRequest) String

type UpdateBatchClustersTagsResponse

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

UpdateBatchClustersTagsResponse Response Object

func (UpdateBatchClustersTagsResponse) String

type UpdateCloseKibanaRequest

type UpdateCloseKibanaRequest struct {

	// 指定待关闭的kibana公网访问的集群ID。
	ClusterId string `json:"cluster_id"`

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

UpdateCloseKibanaRequest Request Object

func (UpdateCloseKibanaRequest) String

func (o UpdateCloseKibanaRequest) String() string

type UpdateCloseKibanaResponse

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

UpdateCloseKibanaResponse Response Object

func (UpdateCloseKibanaResponse) String

func (o UpdateCloseKibanaResponse) String() string

type UpdateClusterNameReq

type UpdateClusterNameReq struct {

	// 修改后集群名称。
	DisplayName string `json:"displayName"`
}

func (UpdateClusterNameReq) String

func (o UpdateClusterNameReq) String() string

type UpdateClusterNameRequest

type UpdateClusterNameRequest struct {

	// 指定待更改集群名称的集群ID。
	ClusterId string `json:"cluster_id"`

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

UpdateClusterNameRequest Request Object

func (UpdateClusterNameRequest) String

func (o UpdateClusterNameRequest) String() string

type UpdateClusterNameResponse

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

UpdateClusterNameResponse Response Object

func (UpdateClusterNameResponse) String

func (o UpdateClusterNameResponse) String() string

type UpdateCnfRequest

type UpdateCnfRequest struct {

	// 指定更新配置文件的集群ID。
	ClusterId string `json:"cluster_id"`

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

UpdateCnfRequest Request Object

func (UpdateCnfRequest) String

func (o UpdateCnfRequest) String() string

type UpdateCnfResponse

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

UpdateCnfResponse Response Object

func (UpdateCnfResponse) String

func (o UpdateCnfResponse) String() string

type UpdateExtendClusterRequest

type UpdateExtendClusterRequest struct {

	// 指定待扩容的集群ID。
	ClusterId string `json:"cluster_id"`

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

UpdateExtendClusterRequest Request Object

func (UpdateExtendClusterRequest) String

type UpdateExtendClusterResponse

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

UpdateExtendClusterResponse Response Object

func (UpdateExtendClusterResponse) String

type UpdateExtendInstanceStorageRequest

type UpdateExtendInstanceStorageRequest struct {

	// 指定待扩容的集群ID。
	ClusterId string `json:"cluster_id"`

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

UpdateExtendInstanceStorageRequest Request Object

func (UpdateExtendInstanceStorageRequest) String

type UpdateExtendInstanceStorageResponse

type UpdateExtendInstanceStorageResponse struct {

	// 集群ID。
	Id             *string `json:"id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateExtendInstanceStorageResponse Response Object

func (UpdateExtendInstanceStorageResponse) String

type UpdateFlavorByTypeReq

type UpdateFlavorByTypeReq struct {

	// 是否需要检查副本,取值范围为true或false。默认开启校验。 - ture: 开启副本校验。 - false: 忽略副本校验。  >Master和Client节点不是数据节点,因此不需要进行副本校验。即使选择true,也不会进行副本校验。
	NeedCheckReplica *bool `json:"needCheckReplica,omitempty"`

	// 变更后节点规格ID。 该参数通过 [获取实例规格列表](ListFlavors.xml)接口获取根据name属性对比出比当前集群大的规格,选择对应的flavor_id。 仅支持同一个Esasticsearch引擎版本下的节点规格变更。
	NewFlavorId string `json:"newFlavorId"`

	// 是否自动支付。下单订购后,是否自动从客户的华为云账户中支付,而不需要客户手动去进行支付。该参数适用于包周期集群。  - 1: 是(会自动选择折扣和优惠券进行优惠,然后自动从客户华为云账户中支付),自动支付失败后会生成订单成功(该订单应付金额是优惠后金额)、但订单状态为“待支付”,等待客户手动支付(手动支付时,客户还可以修改系统自动选择的折扣和优惠券)。  - 0: 否(需要客户手动去支付,客户可以选择折扣和优惠券)。默认值为“0”。
	IsAutoPay *int32 `json:"isAutoPay,omitempty"`
}

func (UpdateFlavorByTypeReq) String

func (o UpdateFlavorByTypeReq) String() string

type UpdateFlavorByTypeRequest

type UpdateFlavorByTypeRequest struct {

	// 指定待更改规格的集群ID。
	ClusterId string `json:"cluster_id"`

	// 指定待更改的集群节点类型。 - ess:数据节点。 - ess-cold:冷数据节点。 - ess-client:Client节点。 - ess-master:Master节点。
	Types string `json:"types"`

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

UpdateFlavorByTypeRequest Request Object

func (UpdateFlavorByTypeRequest) String

func (o UpdateFlavorByTypeRequest) String() string

type UpdateFlavorByTypeResponse

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

UpdateFlavorByTypeResponse Response Object

func (UpdateFlavorByTypeResponse) String

type UpdateFlavorReq

type UpdateFlavorReq struct {

	// 是否需要检查副本,取值范围为true或false。默认开启校验。 - ture: 开启副本校验。 - false: 忽略副本校验。
	NeedCheckReplica *bool `json:"needCheckReplica,omitempty"`

	// 变更后节点规格ID。 该参数通过 [获取实例规格列表](ListFlavors.xml)接口获取根据name属性对比出比当前集群大的规格,选择对应的flavor_id。 仅支持同一个Esasticsearch引擎版本下的节点规格变更。
	NewFlavorId string `json:"newFlavorId"`

	// 是否自动支付。下单订购后,是否自动从客户的华为云账户中支付,而不需要客户手动去进行支付。该参数适用于包周期集群。  - 1: 是(会自动选择折扣和优惠券进行优惠,然后自动从客户华为云账户中支付),自动支付失败后会生成订单成功(该订单应付金额是优惠后金额)、但订单状态为“待支付”,等待客户手动支付(手动支付时,客户还可以修改系统自动选择的折扣和优惠券)。  - 0: 否(需要客户手动去支付,客户可以选择折扣和优惠券)。默认值为“0”。
	IsAutoPay *int32 `json:"isAutoPay,omitempty"`
}

func (UpdateFlavorReq) String

func (o UpdateFlavorReq) String() string

type UpdateFlavorRequest

type UpdateFlavorRequest struct {

	// 指定待更改规格的集群ID。
	ClusterId string `json:"cluster_id"`

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

UpdateFlavorRequest Request Object

func (UpdateFlavorRequest) String

func (o UpdateFlavorRequest) String() string

type UpdateFlavorResponse

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

UpdateFlavorResponse Response Object

func (UpdateFlavorResponse) String

func (o UpdateFlavorResponse) String() string

type UpdateInstanceRequest

type UpdateInstanceRequest struct {

	// 指定替换集群ID。
	ClusterId string `json:"cluster_id"`

	// 指定替换节点ID。
	InstanceId string `json:"instance_id"`
}

UpdateInstanceRequest Request Object

func (UpdateInstanceRequest) String

func (o UpdateInstanceRequest) String() string

type UpdateInstanceResponse

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

UpdateInstanceResponse Response Object

func (UpdateInstanceResponse) String

func (o UpdateInstanceResponse) String() string

type UpdateLogSettingReq

type UpdateLogSettingReq struct {

	// 委托名称,委托给CSS,允许CSS调用您的其他云服务。
	Agency string `json:"agency"`

	// 日志在OBS桶中的备份路径。
	LogBasePath string `json:"logBasePath"`

	// 用于存储日志的OBS桶的桶名。
	LogBucket string `json:"logBucket"`
}

func (UpdateLogSettingReq) String

func (o UpdateLogSettingReq) String() string

type UpdateLogSettingRequest

type UpdateLogSettingRequest struct {

	// 指定更改日志基础配置的集群ID。
	ClusterId string `json:"cluster_id"`

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

UpdateLogSettingRequest Request Object

func (UpdateLogSettingRequest) String

func (o UpdateLogSettingRequest) String() string

type UpdateLogSettingResponse

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

UpdateLogSettingResponse Response Object

func (UpdateLogSettingResponse) String

func (o UpdateLogSettingResponse) String() string

type UpdateOndemandClusterToPeriodRequest

type UpdateOndemandClusterToPeriodRequest struct {

	// 指定待转包周期的集群ID。
	ClusterId string `json:"cluster_id"`

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

UpdateOndemandClusterToPeriodRequest Request Object

func (UpdateOndemandClusterToPeriodRequest) String

type UpdateOndemandClusterToPeriodResponse

type UpdateOndemandClusterToPeriodResponse struct {

	// 订单ID(此订单类型为“新购”)。
	OrderId        *string `json:"orderId,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateOndemandClusterToPeriodResponse Response Object

func (UpdateOndemandClusterToPeriodResponse) String

type UpdatePublicBandWidthRequest

type UpdatePublicBandWidthRequest struct {

	// 指定修改公网访问带宽集群ID。
	ClusterId string `json:"cluster_id"`

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

UpdatePublicBandWidthRequest Request Object

func (UpdatePublicBandWidthRequest) String

type UpdatePublicBandWidthResponse

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

UpdatePublicBandWidthResponse Response Object

func (UpdatePublicBandWidthResponse) String

type UpdatePublicKibanaBandwidthReq

type UpdatePublicKibanaBandwidthReq struct {
	BandWidth *UpdatePublicKibanaBandwidthReqBandWidth `json:"bandWidth"`

	// 是否自动支付。下单订购后,是否自动从客户的华为云账户中支付,而不需要客户手动去进行支付。该参数适用于包周期集群。  - 1:是(会自动选择折扣和优惠券进行优惠,然后自动从客户华为云账户中支付),自动支付失败后会生成订单成功(该订单应付金额是优惠后金额)、但订单状态为“待支付”,等待客户手动支付(手动支付时,客户还可以修改系统自动选择的折扣和优惠券)。  - 0:否(需要客户手动去支付,客户可以选择折扣和优惠券)。默认值为“0”。
	IsAutoPay *int32 `json:"isAutoPay,omitempty"`
}

func (UpdatePublicKibanaBandwidthReq) String

type UpdatePublicKibanaBandwidthReqBandWidth

type UpdatePublicKibanaBandwidthReqBandWidth struct {

	// 修改后的带宽大小。
	Size int32 `json:"size"`
}

UpdatePublicKibanaBandwidthReqBandWidth 带宽。

func (UpdatePublicKibanaBandwidthReqBandWidth) String

type UpdatePublicKibanaWhitelistReq

type UpdatePublicKibanaWhitelistReq struct {

	// 允许kibana公网访问的白名单ip或网段,以逗号隔开,不可重复。
	WhiteList string `json:"whiteList"`
}

func (UpdatePublicKibanaWhitelistReq) String

type UpdatePublicKibanaWhitelistRequest

type UpdatePublicKibanaWhitelistRequest struct {

	// 指定修改kibana的访问权限的集群ID。
	ClusterId string `json:"cluster_id"`

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

UpdatePublicKibanaWhitelistRequest Request Object

func (UpdatePublicKibanaWhitelistRequest) String

type UpdatePublicKibanaWhitelistResponse

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

UpdatePublicKibanaWhitelistResponse Response Object

func (UpdatePublicKibanaWhitelistResponse) String

type UpdateShrinkClusterRequest

type UpdateShrinkClusterRequest struct {

	// 指定待缩容的集群ID。
	ClusterId string `json:"cluster_id"`

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

UpdateShrinkClusterRequest Request Object

func (UpdateShrinkClusterRequest) String

type UpdateShrinkClusterResponse

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

UpdateShrinkClusterResponse Response Object

func (UpdateShrinkClusterResponse) String

type UpdateShrinkNodesRequest

type UpdateShrinkNodesRequest struct {

	// 指定待缩容的集群ID。
	ClusterId string `json:"cluster_id"`

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

UpdateShrinkNodesRequest Request Object

func (UpdateShrinkNodesRequest) String

func (o UpdateShrinkNodesRequest) String() string

type UpdateShrinkNodesResponse

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

UpdateShrinkNodesResponse Response Object

func (UpdateShrinkNodesResponse) String

func (o UpdateShrinkNodesResponse) String() string

type UpdateSnapshotSettingReq

type UpdateSnapshotSettingReq struct {

	// 备份使用的OBS桶的桶名。
	Bucket string `json:"bucket"`

	// 委托名称,委托给CSS,允许CSS调用您的其他云服务。
	Agency string `json:"agency"`

	// 快照在OBS桶中的存放路径。
	BasePath string `json:"basePath"`
}

func (UpdateSnapshotSettingReq) String

func (o UpdateSnapshotSettingReq) String() string

type UpdateSnapshotSettingRequest

type UpdateSnapshotSettingRequest struct {

	// 指定待操作的集群ID。
	ClusterId string `json:"cluster_id"`

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

UpdateSnapshotSettingRequest Request Object

func (UpdateSnapshotSettingRequest) String

type UpdateSnapshotSettingResponse

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

UpdateSnapshotSettingResponse Response Object

func (UpdateSnapshotSettingResponse) String

type UpdateUnbindPublicRequest

type UpdateUnbindPublicRequest struct {

	// 指定关闭公网访问集群ID。
	ClusterId string `json:"cluster_id"`

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

UpdateUnbindPublicRequest Request Object

func (UpdateUnbindPublicRequest) String

func (o UpdateUnbindPublicRequest) String() string

type UpdateUnbindPublicResponse

type UpdateUnbindPublicResponse struct {

	// 操作行为。固定为:unbindZone,表示解绑成功。
	Action         *string `json:"action,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateUnbindPublicResponse Response Object

func (UpdateUnbindPublicResponse) String

type UpdateVpcepConnectionReq

type UpdateVpcepConnectionReq struct {

	// 期望的操作行为。 - receive: 允许连接 - reject: 拒绝连接
	Action string `json:"action"`

	// 终端节点ID列表。
	EndpointIdList []string `json:"endpointIdList"`
}

func (UpdateVpcepConnectionReq) String

func (o UpdateVpcepConnectionReq) String() string

type UpdateVpcepConnectionRequest

type UpdateVpcepConnectionRequest struct {

	// 指定更新终端节点的集群ID。
	ClusterId string `json:"cluster_id"`

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

UpdateVpcepConnectionRequest Request Object

func (UpdateVpcepConnectionRequest) String

type UpdateVpcepConnectionResponse

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

UpdateVpcepConnectionResponse Response Object

func (UpdateVpcepConnectionResponse) String

type UpdateVpcepWhitelistReq

type UpdateVpcepWhitelistReq struct {

	// 白名单(用户的账号ID)。
	VpcPermissions []string `json:"vpcPermissions"`
}

func (UpdateVpcepWhitelistReq) String

func (o UpdateVpcepWhitelistReq) String() string

type UpdateVpcepWhitelistRequest

type UpdateVpcepWhitelistRequest struct {

	// 指定待更改的集群ID。
	ClusterId string `json:"cluster_id"`

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

UpdateVpcepWhitelistRequest Request Object

func (UpdateVpcepWhitelistRequest) String

type UpdateVpcepWhitelistResponse

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

UpdateVpcepWhitelistResponse Response Object

func (UpdateVpcepWhitelistResponse) String

type UpdateYmlsReq

type UpdateYmlsReq struct {
	Edit *UpdateYmlsReqEdit `json:"edit"`
}

func (UpdateYmlsReq) String

func (o UpdateYmlsReq) String() string

type UpdateYmlsReqEdit

type UpdateYmlsReqEdit struct {
	Modify *UpdateYmlsReqEditModify `json:"modify"`
}

UpdateYmlsReqEdit 配置文件信息。

func (UpdateYmlsReqEdit) String

func (o UpdateYmlsReqEdit) String() string

type UpdateYmlsReqEditModify

type UpdateYmlsReqEditModify struct {

	// 参数配置列表。值为需要修改的json数据。
	ElasticsearchYml *interface{} `json:"elasticsearch.yml"`
}

UpdateYmlsReqEditModify 配置文件操作。 - modify: 修改参数配置。 - delete: 删除参数配置。 - reset: 重置参数配置。

func (UpdateYmlsReqEditModify) String

func (o UpdateYmlsReqEditModify) String() string

type UpdateYmlsRequest

type UpdateYmlsRequest struct {

	// 指定修改参数配置的集群ID。
	ClusterId string `json:"cluster_id"`

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

UpdateYmlsRequest Request Object

func (UpdateYmlsRequest) String

func (o UpdateYmlsRequest) String() string

type UpdateYmlsResponse

type UpdateYmlsResponse struct {

	// 修改是否成功。 - true: 修改成功。 - false: 修改失败。
	Acknowledged *bool `json:"acknowledged,omitempty"`

	// 错误信息描述。当acknowledged为true时,该字段返回null。
	ExternalMessage *string `json:"externalMessage,omitempty"`

	// HTTP错误信息。默认为null。
	HttpErrorResponse *string `json:"httpErrorResponse,omitempty"`
	HttpStatusCode    int     `json:"-"`
}

UpdateYmlsResponse Response Object

func (UpdateYmlsResponse) String

func (o UpdateYmlsResponse) String() string

Source Files

Jump to

Keyboard shortcuts

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