model

package
v0.1.44 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddWorkloadQueueRequest added in v0.1.14

type AddWorkloadQueueRequest struct {

	// 集群ID
	ClusterId string `json:"cluster_id"`

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

Request Object

func (AddWorkloadQueueRequest) String added in v0.1.14

func (o AddWorkloadQueueRequest) String() string

type AddWorkloadQueueResponse added in v0.1.14

type AddWorkloadQueueResponse struct {

	// 响应编码。
	WorkloadResCode *int32 `json:"workload_res_code,omitempty"`

	// 响应信息。
	WorkloadResStr *string `json:"workload_res_str,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (AddWorkloadQueueResponse) String added in v0.1.14

func (o AddWorkloadQueueResponse) String() string

type AlarmConfigResponse added in v0.1.14

type AlarmConfigResponse struct {

	// 告警配置ID
	Id *string `json:"id,omitempty"`

	// 告警ID
	AlarmId *string `json:"alarm_id,omitempty"`

	// 告警名称
	AlarmName *string `json:"alarm_name,omitempty"`

	// 所属服务,支持DWS,DLI,DGC,CloudTable,CDM,GES,CSS
	NameSpace *string `json:"name_space,omitempty"`

	// 告警级别
	AlarmLevel *string `json:"alarm_level,omitempty"`

	// 用户是否可见
	IsUserVisible *string `json:"is_user_visible,omitempty"`

	// 是否覆盖
	IsConverge *string `json:"is_converge,omitempty"`

	// 覆盖时间
	ConvergeTime *int32 `json:"converge_time,omitempty"`

	// 运维是否可见
	IsMaintainVisible *string `json:"is_maintain_visible,omitempty"`
}

告警配置详情

func (AlarmConfigResponse) String added in v0.1.14

func (o AlarmConfigResponse) String() string

type AlarmDetailResponse added in v0.1.14

type AlarmDetailResponse struct {

	// 告警定义ID
	AlarmId *string `json:"alarm_id,omitempty"`

	// 告警名称
	AlarmName *string `json:"alarm_name,omitempty"`

	// 告警级别
	AlarmLevel *string `json:"alarm_level,omitempty"`

	// 告警服务
	AlarmSource *string `json:"alarm_source,omitempty"`

	// 告警消息
	AlarmMessage *string `json:"alarm_message,omitempty"`

	// 告警定位信息
	AlarmLocation *string `json:"alarm_location,omitempty"`

	// 告警源ID
	ResourceId *string `json:"resource_id,omitempty"`

	// 告警源名称
	ResourceIdName *string `json:"resource_id_name,omitempty"`

	// 告警日期
	AlarmGenerateDate *string `json:"alarm_generate_date,omitempty"`

	// 告警状态
	AlarmStatus *string `json:"alarm_status,omitempty"`
}

告警详情

func (AlarmDetailResponse) String added in v0.1.14

func (o AlarmDetailResponse) String() string

type AlarmStatisticResponse added in v0.1.14

type AlarmStatisticResponse struct {

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

	// 紧急
	Urgent *string `json:"urgent,omitempty"`

	// 重要
	Important *string `json:"important,omitempty"`

	// 次要
	Minor *string `json:"minor,omitempty"`

	// 提示
	Prompt *string `json:"prompt,omitempty"`
}

告警统计

func (AlarmStatisticResponse) String added in v0.1.14

func (o AlarmStatisticResponse) String() string

type AlarmSubRequest added in v0.1.14

type AlarmSubRequest struct {

	// 告警订阅名称
	Name string `json:"name"`

	// 是否开启订阅
	Enable *int32 `json:"enable,omitempty"`

	// 告警级别
	AlarmLevel *string `json:"alarm_level,omitempty"`

	// 消息主题地址
	NotificationTarget string `json:"notification_target"`

	// 消息主题名称
	NotificationTargetName string `json:"notification_target_name"`

	// 消息主题类型,支持SMN
	NotificationTargetType string `json:"notification_target_type"`

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

创建订阅告警请求体

func (AlarmSubRequest) String added in v0.1.14

func (o AlarmSubRequest) String() string

type AlarmSubUpdateRequest added in v0.1.14

type AlarmSubUpdateRequest struct {

	// 告警订阅名称
	Name string `json:"name"`

	// 是否开启订阅
	Enable *int32 `json:"enable,omitempty"`

	// 告警级别
	AlarmLevel *string `json:"alarm_level,omitempty"`

	// 消息主题地址
	NotificationTarget string `json:"notification_target"`

	// 消息主题名称
	NotificationTargetName string `json:"notification_target_name"`

	// 消息主题类型,支持SMN
	NotificationTargetType string `json:"notification_target_type"`
}

func (AlarmSubUpdateRequest) String added in v0.1.14

func (o AlarmSubUpdateRequest) String() string

type AlarmSubscriptionResponse added in v0.1.14

type AlarmSubscriptionResponse struct {

	// 告警订阅ID
	Id *string `json:"id,omitempty"`

	// 告警订阅名称
	Name *string `json:"name,omitempty"`

	// 是否开启订阅
	Enable *int32 `json:"enable,omitempty"`

	// 告警级别
	AlarmLevel *string `json:"alarm_level,omitempty"`

	// 租户凭证ID
	ProjectId *string `json:"project_id,omitempty"`

	// 所属服务,支持DWS,DLI,DGC,CloudTable,CDM,GES,CSS
	NameSpace *string `json:"name_space,omitempty"`

	// 消息主题地址
	NotificationTarget *string `json:"notification_target,omitempty"`

	// 消息主题名称
	NotificationTargetName *string `json:"notification_target_name,omitempty"`

	// 消息主题类型
	NotificationTargetType *string `json:"notification_target_type,omitempty"`

	// 语言
	Language *string `json:"language,omitempty"`

	// 时区
	TimeZone *string `json:"time_zone,omitempty"`
}

告警订阅详情

func (AlarmSubscriptionResponse) String added in v0.1.14

func (o AlarmSubscriptionResponse) String() string

type AssociateEipRequest added in v0.1.14

type AssociateEipRequest struct {

	// 集群ID
	ClusterId string `json:"cluster_id"`

	// 未绑定的弹性IP的ID
	EipId string `json:"eip_id"`
}

Request Object

func (AssociateEipRequest) String added in v0.1.14

func (o AssociateEipRequest) String() string

type AssociateEipResponse added in v0.1.14

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

Response Object

func (AssociateEipResponse) String added in v0.1.14

func (o AssociateEipResponse) String() string

type AssociateElbRequest added in v0.1.14

type AssociateElbRequest struct {

	// 集群ID
	ClusterId string `json:"cluster_id"`

	// 未绑定的弹性负载均衡ID
	ElbId string `json:"elb_id"`
}

Request Object

func (AssociateElbRequest) String added in v0.1.14

func (o AssociateElbRequest) String() string

type AssociateElbResponse added in v0.1.14

type AssociateElbResponse struct {

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

Response Object

func (AssociateElbResponse) String added in v0.1.14

func (o AssociateElbResponse) String() string

type AuditDumpRecord added in v0.1.14

type AuditDumpRecord struct {

	// 集群id。
	ClusterId *string `json:"cluster_id,omitempty"`

	// 执行时间。
	ExectorTime *string `json:"exector_time,omitempty"`

	// 开始时间。
	BeginTime *string `json:"begin_time,omitempty"`

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

	// 桶名。
	BucketName *string `json:"bucket_name,omitempty"`

	// 前缀。
	LocationPrefix *string `json:"location_prefix,omitempty"`

	// 结果。
	Result *string `json:"result,omitempty"`

	// 失败原因。
	FailedReason *string `json:"failed_reason,omitempty"`
}

审计日志

func (AuditDumpRecord) String added in v0.1.14

func (o AuditDumpRecord) String() string

type AvailabilityZone added in v0.1.14

type AvailabilityZone struct {

	// 可用区唯一编码。
	Code string `json:"code"`

	// 可用区名称。
	Name string `json:"name"`

	// 可用区状态。 - available:可用。 - unavailable:不可用。
	Status string `json:"status"`

	// 可用区组,如:center。
	PublicBorderGroup string `json:"public_border_group"`
}

可用区详情。

func (AvailabilityZone) String added in v0.1.14

func (o AvailabilityZone) String() string

type BackupPolicy added in v0.1.14

type BackupPolicy struct {

	// 保留天数。
	KeepDay *int32 `json:"keep_day,omitempty"`

	BackupStrategies *BackupStrategyDetail `json:"backup_strategies,omitempty"`

	// 备份设备。
	DeviceName *string `json:"device_name,omitempty"`

	// 端口。
	ServerPort *string `json:"server_port,omitempty"`

	// 参数。
	BackupParam *string `json:"backup_param,omitempty"`

	// 备份介质服务IP。
	ServerIps *[]string `json:"server_ips,omitempty"`
}

备份策略

func (BackupPolicy) String added in v0.1.14

func (o BackupPolicy) String() string

type BackupStrategyDetail added in v0.1.14

type BackupStrategyDetail struct {

	// 策略ID。
	PolicyId *string `json:"policy_id,omitempty"`

	// 策略名称。
	PolicyName *string `json:"policy_name,omitempty"`

	// 执行策略。
	BackupStrategy *string `json:"backup_strategy,omitempty"`

	// 备份类型。
	BackupType *string `json:"backup_type,omitempty"`

	// 备份级别。
	BackupLevel *string `json:"backup_level,omitempty"`

	// 下次触发时间。
	NextFireTime *string `json:"next_fire_time,omitempty"`

	// 更新时间。
	UpdateTime *string `json:"update_time,omitempty"`
}

备份策略

func (BackupStrategyDetail) String added in v0.1.14

func (o BackupStrategyDetail) String() string

type BatchCreateClusterCnRequest added in v0.1.14

type BatchCreateClusterCnRequest struct {

	// 集群的ID。
	ClusterId string `json:"cluster_id"`

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

Request Object

func (BatchCreateClusterCnRequest) String added in v0.1.14

type BatchCreateClusterCnResponse added in v0.1.14

type BatchCreateClusterCnResponse struct {

	// 批量增加CN节点任务ID
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (BatchCreateClusterCnResponse) String added in v0.1.14

type BatchCreateCn added in v0.1.14

type BatchCreateCn struct {

	// 批量增加CN节点任务完成,集群总CN数量。集群支持的CN节点数量与集群当前版本和节点数量相关,具体支持范围可根据“查询集群CN节点”查询,“min_num”为支持的最小数量,max_num为支持的最大数量。
	Num int32 `json:"num"`
}

批量增加CN节点任务完成,集群总CN数量。

func (BatchCreateCn) String added in v0.1.14

func (o BatchCreateCn) String() string

type BatchCreateResourceTag added in v0.1.14

type BatchCreateResourceTag struct {

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

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

标签详情。

func (BatchCreateResourceTag) String added in v0.1.14

func (o BatchCreateResourceTag) String() string

type BatchCreateResourceTagRequest added in v0.1.14

type BatchCreateResourceTagRequest struct {

	// 集群的ID
	ClusterId string `json:"cluster_id"`

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

Request Object

func (BatchCreateResourceTagRequest) String added in v0.1.14

type BatchCreateResourceTagResponse added in v0.1.14

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

Response Object

func (BatchCreateResourceTagResponse) String added in v0.1.14

type BatchCreateResourceTags added in v0.1.14

type BatchCreateResourceTags struct {

	// 标签列表
	Tags []BatchCreateResourceTag `json:"tags"`
}

标签列表信息

func (BatchCreateResourceTags) String added in v0.1.14

func (o BatchCreateResourceTags) String() string

type BatchDeleteClusterCnRequest added in v0.1.14

type BatchDeleteClusterCnRequest struct {

	// 集群的ID。
	ClusterId string `json:"cluster_id"`

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

Request Object

func (BatchDeleteClusterCnRequest) String added in v0.1.14

type BatchDeleteClusterCnResponse added in v0.1.14

type BatchDeleteClusterCnResponse struct {

	// 批量删除CN节点任务ID
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (BatchDeleteClusterCnResponse) String added in v0.1.14

type BatchDeleteCn added in v0.1.14

type BatchDeleteCn struct {

	// 批量删除CN节点ID
	Instances *[]string `json:"instances,omitempty"`
}

批量删除CN节点ID信息

func (BatchDeleteCn) String added in v0.1.14

func (o BatchDeleteCn) String() string

type BatchDeleteResourceTag added in v0.1.14

type BatchDeleteResourceTag struct {

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

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

标签详情。

func (BatchDeleteResourceTag) String added in v0.1.14

func (o BatchDeleteResourceTag) String() string

type BatchDeleteResourceTagRequest added in v0.1.14

type BatchDeleteResourceTagRequest struct {

	// 集群的ID。
	ClusterId string `json:"cluster_id"`

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

Request Object

func (BatchDeleteResourceTagRequest) String added in v0.1.14

type BatchDeleteResourceTagResponse added in v0.1.14

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

Response Object

func (BatchDeleteResourceTagResponse) String added in v0.1.14

type BatchDeleteResourceTags added in v0.1.14

type BatchDeleteResourceTags struct {

	// 标签列表
	Tags []BatchDeleteResourceTag `json:"tags"`
}

标签列表信息

func (BatchDeleteResourceTags) String added in v0.1.14

func (o BatchDeleteResourceTags) String() string

type CancelReadonlyClusterRequest added in v0.1.14

type CancelReadonlyClusterRequest struct {

	// 集群的ID。
	ClusterId string `json:"cluster_id"`
}

Request Object

func (CancelReadonlyClusterRequest) String added in v0.1.14

type CancelReadonlyClusterResponse added in v0.1.14

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

Response Object

func (CancelReadonlyClusterResponse) String added in v0.1.14

type CheckClusterRequest added in v0.1.14

type CheckClusterRequest struct {
	Body *ClusterCheckRequestBody `json:"body,omitempty"`
}

Request Object

func (CheckClusterRequest) String added in v0.1.14

func (o CheckClusterRequest) String() string

type CheckClusterResponse added in v0.1.14

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

Response Object

func (CheckClusterResponse) String added in v0.1.14

func (o CheckClusterResponse) String() string

type CheckDisasterNameRequest added in v0.1.40

type CheckDisasterNameRequest struct {

	// 容灾名称
	DrName string `json:"dr_name"`

	// 容灾类型
	Type *string `json:"type,omitempty"`

	// 备集群所在region
	StandbyRegion *string `json:"standby_region,omitempty"`

	// 备集群所在项目ID
	StandbyProjectId *string `json:"standby_project_id,omitempty"`
}

Request Object

func (CheckDisasterNameRequest) String added in v0.1.40

func (o CheckDisasterNameRequest) String() string

type CheckDisasterNameResponse added in v0.1.40

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

Response Object

func (CheckDisasterNameResponse) String added in v0.1.40

func (o CheckDisasterNameResponse) String() string

type Cluster

type Cluster struct {

	// 集群ID
	Id string `json:"id"`
}

func (Cluster) String

func (o Cluster) String() string

type ClusterCheckBody added in v0.1.14

type ClusterCheckBody struct {

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

	// 集群规格名称
	Flavor string `json:"flavor"`

	// 可用区列表
	AvailabilityZones []string `json:"availability_zones"`

	// 实例节点个数
	NumNode int32 `json:"num_node"`

	// 集群安全组ID
	SecurityGroupId *string `json:"security_group_id,omitempty"`

	// 集群版本
	DatastoreVersion string `json:"datastore_version"`

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

	// 集群子网ID
	SubnetId string `json:"subnet_id"`

	PublicIp *OpenPublicIp `json:"public_ip,omitempty"`

	// 跨规格恢复
	CrossSpecRestore *string `json:"cross_spec_restore,omitempty"`

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

	// 旧主机名
	OldClusterHostname *string `json:"old_cluster_hostname,omitempty"`

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

	// 标签列表
	TagList *[]Tag `json:"tag_list,omitempty"`

	// 存储池ID
	DssPoolId *string `json:"dss_pool_id,omitempty"`

	// 数据库端口
	DbPort *string `json:"db_port,omitempty"`

	// 管理员密码
	DbPassword *string `json:"db_password,omitempty"`

	// 管理员用户
	DbName *string `json:"db_name,omitempty"`

	// cn节点数量
	NumCn *int32 `json:"num_cn,omitempty"`

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

func (ClusterCheckBody) String added in v0.1.14

func (o ClusterCheckBody) String() string

type ClusterCheckRequestBody added in v0.1.14

type ClusterCheckRequestBody struct {
	Cluster *ClusterCheckBody `json:"cluster"`
}

创建集群校验请求体

func (ClusterCheckRequestBody) String added in v0.1.14

func (o ClusterCheckRequestBody) String() string

type ClusterConfiguration added in v0.1.14

type ClusterConfiguration struct {

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

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

	// 参数组类型。
	Type string `json:"type"`

	// 集群参数状态。 - In-Sync:已同步。 - Applying:应用中。 - Pending-Reboot:需重启生效。 - Sync-Failure:应用失败。
	Status string `json:"status"`

	// 参数应用失败原因。
	FailReason string `json:"fail_reason"`
}

集群所关联的参数组详情。

func (ClusterConfiguration) String added in v0.1.14

func (o ClusterConfiguration) String() string

type ClusterDetail

type ClusterDetail struct {

	// 集群ID
	Id string `json:"id"`

	// 集群名称
	Name string `json:"name"`

	// 集群状态,有效值包括: - CREATING:创建中 - ACTIVE:可用 - FAILED:不可用 - CREATE_FAILED:创建失败 - DELETING:删除中 - DELETE_FAILED:删除失败 - DELETED:已删除 - FROZEN:已冻结
	Status string `json:"status"`

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

	// 集群上次修改时间,格式为ISO8601:YYYY-MM-DDThh:mm:ssZ
	Updated string `json:"updated"`

	// 集群创建时间,格式为ISO8601:YYYY-MM-DDThh:mm:ssZ
	Created string `json:"created"`

	// 集群服务端口。
	Port int32 `json:"port"`

	// 集群的内网连接信息。
	Endpoints []Endpoints `json:"endpoints"`

	// 集群实例
	Nodes []Nodes `json:"nodes"`

	// 集群标签
	Tags []Tags `json:"tags"`

	// 管理员用户名
	UserName string `json:"user_name"`

	// 节点数量
	NumberOfNode int32 `json:"number_of_node"`

	// 事件数
	RecentEvent int32 `json:"recent_event"`

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

	// 企业项目ID。值为0表示默认企业项目“default”。
	EnterpriseProjectId string `json:"enterprise_project_id"`

	// 节点类型
	NodeType string `json:"node_type"`

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

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

	PublicIp *PublicIp `json:"public_ip"`

	// 集群的公网连接信息,如果未指定,则默认不使用公网连接信息。
	PublicEndpoints []PublicEndpoints `json:"public_endpoints"`

	// 任务信息,由key、value组成。key值为正在进行的任务,value值为正在进行任务的进度。key值的有效值包括: - CREATING:创建中 - RESTORING:恢复中 - SNAPSHOTTING:快照中 - GROWING:扩容中 - REBOOTING:重启中 - SETTING_CONFIGURATION:安全设置配置中 - CONFIGURING_EXT_DATASOURCE:MRS连接配置中 - ADD_CN_ING:增加CN中 - DEL_CN_ING:删除CN中 - REDISTRIBUTING:重分布中 - ELB_BINDING:弹性负载均衡绑定中 - ELB_UNBINDING:弹性负载均衡解绑中 - ELB_SWITCHING:弹性负载均衡切换中 - NETWORK_CONFIGURING:网络配置中 - DISK_EXPANDING:磁盘扩容中 - ACTIVE_STANDY_SWITCHOVER:主备恢复中 - CLUSTER_SHRINKING:缩容中 - SHRINK_CHECKING:缩容检测中 - FLAVOR_RESIZING:规格变更中 - MANAGE_IP_BINDING:登录开通中 - FINE_GRAINED_RESTORING:细粒度恢复中 - DR_RECOVERING:容灾恢复中 - REPAIRING:修复中
	ActionProgress map[string]string `json:"action_progress"`

	// “可用”集群状态的子状态,有效值包括:  - NORMAL:正常 - READONLY:只读 - REDISTRIBUTING:重分布中 - REDISTRIBUTION-FAILURE:重分布失败 - UNBALANCED:非均衡 - UNBALANCED | READONLY:非均衡,只读 - DEGRADED:节点故障 - DEGRADED | READONLY:节点故障,只读 - DEGRADED | UNBALANCED:节点故障,非均衡 - UNBALANCED | REDISTRIBUTING:非均衡,重分布中 - UNBALANCED | REDISTRIBUTION-FAILURE:非均衡,重分布失败 - READONLY | REDISTRIBUTION-FAILURE:只读,重分布失败 - UNBALANCED | READONLY | REDISTRIBUTION-FAILURE:非均衡,只读,重分布失败 - DEGRADED | REDISTRIBUTION-FAILURE:节点故障,重分布失败 - DEGRADED | UNBALANCED | REDISTRIBUTION-FAILURE:节点故障,非均衡,只读,重分布失败 - DEGRADED | UNBALANCED | READONLY | REDISTRIBUTION-FAILURE:节点故障,非均衡,只读,重分布失败 - DEGRADED | UNBALANCED | READONLY:节点故障,非均衡,只读
	SubStatus string `json:"sub_status"`

	// 集群管理任务,有效值包括: - UNFREEZING:解冻中 - FREEZING:冻结中 - RESTORING:恢复中 - SNAPSHOTTING:快照中 - GROWING:扩容中 - REBOOTING:重启中 - SETTING_CONFIGURATION:安全设置配置中 - CONFIGURING_EXT_DATASOURCE:MRS连接配置中 - DELETING_EXT_DATASOURCE:删除MRS连接 - REBOOT_FAILURE:重启失败 - RESIZE_FAILURE:扩容失败 - ADD_CN_ING:增加CN中 - DEL_CN_ING:删除CN中 - CREATING_NODE:添加节点 - CREATE_NODE_FAILED:添加节点失败 - DELETING_NODE:删除节点 - DELETE_NODE_FAILED:删除节点失败 - REDISTRIBUTING:重分布中 - REDISTRIBUTE_FAILURE:重分布失败 - WAITING_REDISTRIBUTION:待重分布 - REDISTRIBUTION_PAUSED:重分布暂停 - ELB_BINDING:弹性负载均衡绑定中 - ELB_BIND_FAILED:弹性负载均衡绑定失败 - ELB_UNBINDING:弹性负载均衡解绑中 - ELB_UNBIND_FAILED:弹性负载均衡解绑失败 - ELB_SWITCHING:弹性负载均衡切换中 - ELB_SWITCHING_FAILED:弹性负载均衡切换失败 - NETWORK_CONFIGURING:网络配置中 - NETWORK_CONFIG_FAILED:网络配置失败 - DISK_EXPAND_FAILED:磁盘扩容失败 - DISK_EXPANDING:磁盘扩容中 - ACTIVE_STANDY_SWITCHOVER:主备恢复中 - ACTIVE_STANDY_SWITCHOVER_FAILURE:主备恢复失败 - CLUSTER_SHRINK_FAILED:缩容失败 - CLUSTER_SHRINKING:缩容中 - SHRINK_CHECK_FAILED:缩容检测失败 - SHRINK_CHECKING:缩容检测中 - FLAVOR_RESIZING_FAILED:规格变更失败 - FLAVOR_RESIZING:规格变更中 - MANAGE_IP_BIND_FAILED:登录开通失败 - MANAGE_IP_BINDING:登录开通中 - ORDER_PENDING:订单待支付 - FINE_GRAINED_RESTORING:细粒度恢复中 - DR_RECOVERING:容灾恢复中
	TaskStatus string `json:"task_status"`

	ParameterGroup *ParameterGroup `json:"parameter_group,omitempty"`

	// 节点类型ID
	NodeTypeId string `json:"node_type_id"`

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

	// 内网IP地址列表
	PrivateIp []string `json:"private_ip"`

	MaintainWindow *MaintainWindow `json:"maintain_window"`

	ResizeInfo *ResizeInfo `json:"resize_info,omitempty"`

	FailedReasons *FailedReason `json:"failed_reasons,omitempty"`

	Elb *ElbResp `json:"elb,omitempty"`
}

集群详情对象

func (ClusterDetail) String

func (o ClusterDetail) String() string

type ClusterDisasterRecovery added in v0.1.44

type ClusterDisasterRecovery struct {
	PrimaryCluster *ClusterRecoveryProgress `json:"primary_cluster,omitempty"`

	StandbyCluster *ClusterRecoveryProgress `json:"standby_cluster,omitempty"`

	// latest_barrier_time
	LatestBarrierTime *string `json:"latest_barrier_time,omitempty"`

	// last_recovery_spend
	LastRecoverySpend *int64 `json:"last_recovery_spend,omitempty"`

	// recovery_point_object
	RecoveryPointObject *int64 `json:"recovery_point_object,omitempty"`

	// recovery_time_object
	RecoveryTimeObject *int64 `json:"recovery_time_object,omitempty"`
}

集群容灾恢复详情

func (ClusterDisasterRecovery) String added in v0.1.44

func (o ClusterDisasterRecovery) String() string

type ClusterElbInfo added in v0.1.14

type ClusterElbInfo struct {

	// 弹性负载均衡ID
	Id *string `json:"id,omitempty"`

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

	// 弹性负载均衡名称
	Name *string `json:"name,omitempty"`

	// 弹性负载均衡描述
	Description *string `json:"description,omitempty"`

	// 弹性负载均衡地址
	VipAddress *string `json:"vip_address,omitempty"`

	// 子网ID
	VipSubnetId *string `json:"vip_subnet_id,omitempty"`

	// 租户ID
	TenantId *string `json:"tenant_id,omitempty"`

	// 弹性负载均衡类型。枚举值:Internal,External
	Type *string `json:"type,omitempty"`

	// 弹性负载均衡的管理状态。枚举值:ACTIVE,PENDING_CREATE,ERROR
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 绑定状态: 0为未绑定,1为已绑定
	Bandwidth *int32 `json:"bandwidth,omitempty"`

	// 虚拟私有云ID
	VpcId *string `json:"vpc_id,omitempty"`
}

Elb返回体

func (ClusterElbInfo) String added in v0.1.14

func (o ClusterElbInfo) String() string

type ClusterInfo

type ClusterInfo struct {

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

	// 集群名称
	Name string `json:"name"`

	// 集群状态,有效值包括: - CREATING:创建中 - ACTIVE:可用 - FAILED:不可用 - CREATE_FAILED:创建失败 - DELETING:删除中 - DELETE_FAILED:删除失败 - DELETED:已删除 - FROZEN:已冻结
	Status string `json:"status"`

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

	// 集群上次修改时间,格式为 ISO8601:YYYY-MM-DDThh:mm:ssZ
	Updated string `json:"updated"`

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

	// 集群服务端口。
	Port int32 `json:"port"`

	// 集群的内网连接信息
	Endpoints []Endpoints `json:"endpoints"`

	// 集群实例
	Nodes []Nodes `json:"nodes"`

	// 集群标签
	Tags []Tags `json:"tags"`

	// 管理员用户名
	UserName string `json:"user_name"`

	// 节点数量
	NumberOfNode int32 `json:"number_of_node"`

	// 事件数
	RecentEvent int32 `json:"recent_event"`

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

	// 企业项目ID。值为0表示默认企业项目“default”
	EnterpriseProjectId string `json:"enterprise_project_id"`

	// 节点类型
	NodeType string `json:"node_type"`

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

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

	PublicIp *PublicIp `json:"public_ip"`

	// 集群的公网连接信息,如果未指定,则默认不使用公网连接信息。
	PublicEndpoints []PublicEndpoints `json:"public_endpoints"`

	// 任务信息,由key、value组成。key值为正在进行的任务,value值为正在进行任务的进度。key值的有效值包括: - CREATING:创建中 - RESTORING:恢复中 - SNAPSHOTTING:快照中 - GROWING:扩容中 - REBOOTING:重启中 - SETTING_CONFIGURATION:安全设置配置中 - CONFIGURING_EXT_DATASOURCE:MRS连接配置中 - ADD_CN_ING:增加CN中 - DEL_CN_ING:删除CN中 - REDISTRIBUTING:重分布中 - ELB_BINDING:弹性负载均衡绑定中 - ELB_UNBINDING:弹性负载均衡解绑中 - ELB_SWITCHING:弹性负载均衡切换中 - NETWORK_CONFIGURING:网络配置中 - DISK_EXPANDING:磁盘扩容中 - ACTIVE_STANDY_SWITCHOVER:主备恢复中 - CLUSTER_SHRINKING:缩容中 - SHRINK_CHECKING:缩容检测中 - FLAVOR_RESIZING:规格变更中 - MANAGE_IP_BINDING:登录开通中 - FINE_GRAINED_RESTORING:细粒度恢复中 - DR_RECOVERING:容灾恢复中 - REPAIRING:修复中
	ActionProgress map[string]string `json:"action_progress"`

	// “可用”集群状态的子状态,有效值包括:  - NORMAL:正常 - READONLY:只读 - REDISTRIBUTING:重分布中 - REDISTRIBUTION-FAILURE:重分布失败 - UNBALANCED:非均衡 - UNBALANCED | READONLY:非均衡,只读 - DEGRADED:节点故障 - DEGRADED | READONLY:节点故障,只读 - DEGRADED | UNBALANCED:节点故障,非均衡 - UNBALANCED | REDISTRIBUTING:非均衡,重分布中 - UNBALANCED | REDISTRIBUTION-FAILURE:非均衡,重分布失败 - READONLY | REDISTRIBUTION-FAILURE:只读,重分布失败 - UNBALANCED | READONLY | REDISTRIBUTION-FAILURE:非均衡,只读,重分布失败 - DEGRADED | REDISTRIBUTION-FAILURE:节点故障,重分布失败 - DEGRADED | UNBALANCED | REDISTRIBUTION-FAILURE:节点故障,非均衡,只读,重分布失败 - DEGRADED | UNBALANCED | READONLY | REDISTRIBUTION-FAILURE:节点故障,非均衡,只读,重分布失败 - DEGRADED | UNBALANCED | READONLY:节点故障,非均衡,只读
	SubStatus string `json:"sub_status"`

	// 集群管理任务,有效值包括: - UNFREEZING:解冻中 - FREEZING:冻结中 - RESTORING:恢复中 - SNAPSHOTTING:快照中 - GROWING:扩容中 - REBOOTING:重启中 - SETTING_CONFIGURATION:安全设置配置中 - CONFIGURING_EXT_DATASOURCE:MRS连接配置中 - DELETING_EXT_DATASOURCE:删除MRS连接 - REBOOT_FAILURE:重启失败 - RESIZE_FAILURE:扩容失败 - ADD_CN_ING:增加CN中 - DEL_CN_ING:删除CN中 - CREATING_NODE:添加节点 - CREATE_NODE_FAILED:添加节点失败 - DELETING_NODE:删除节点 - DELETE_NODE_FAILED:删除节点失败 - REDISTRIBUTING:重分布中 - REDISTRIBUTE_FAILURE:重分布失败 - WAITING_REDISTRIBUTION:待重分布 - REDISTRIBUTION_PAUSED:重分布暂停 - ELB_BINDING:弹性负载均衡绑定中 - ELB_BIND_FAILED:弹性负载均衡绑定失败 - ELB_UNBINDING:弹性负载均衡解绑中 - ELB_UNBIND_FAILED:弹性负载均衡解绑失败 - ELB_SWITCHING:弹性负载均衡切换中 - ELB_SWITCHING_FAILED:弹性负载均衡切换失败 - NETWORK_CONFIGURING:网络配置中 - NETWORK_CONFIG_FAILED:网络配置失败 - DISK_EXPAND_FAILED:磁盘扩容失败 - DISK_EXPANDING:磁盘扩容中 - ACTIVE_STANDY_SWITCHOVER:主备恢复中 - ACTIVE_STANDY_SWITCHOVER_FAILURE:主备恢复失败 - CLUSTER_SHRINK_FAILED:缩容失败 - CLUSTER_SHRINKING:缩容中 - SHRINK_CHECK_FAILED:缩容检测失败 - SHRINK_CHECKING:缩容检测中 - FLAVOR_RESIZING_FAILED:规格变更失败 - FLAVOR_RESIZING:规格变更中 - MANAGE_IP_BIND_FAILED:登录开通失败 - MANAGE_IP_BINDING:登录开通中 - ORDER_PENDING:订单待支付 - FINE_GRAINED_RESTORING:细粒度恢复中 - DR_RECOVERING:容灾恢复中
	TaskStatus string `json:"task_status"`

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

	FailedReasons *FailedReason `json:"failed_reasons,omitempty"`
}

集群列表对象。

func (ClusterInfo) String

func (o ClusterInfo) String() string

type ClusterRecoveryProgress added in v0.1.44

type ClusterRecoveryProgress struct {

	// key
	Key *string `json:"key,omitempty"`

	// action_type
	ActionType *string `json:"action_type,omitempty"`

	// unrestore_keys
	UnrestoreKeys *string `json:"unrestore_keys,omitempty"`

	// action_start_time
	ActionStartTime *string `json:"action_start_time,omitempty"`

	// action_end_time
	ActionEndTime *string `json:"action_end_time,omitempty"`
}

集群容灾进度详情

func (ClusterRecoveryProgress) String added in v0.1.44

func (o ClusterRecoveryProgress) String() string

type ClusterShrinkReq added in v0.1.18

type ClusterShrinkReq struct {

	// 缩容数
	ShrinkNumber int32 `json:"shrink_number"`

	// 在线
	Online bool `json:"online"`

	// 数据库类型
	Type string `json:"type"`

	// 重试
	Retry *bool `json:"retry,omitempty"`

	// 执行备份
	ForceBackup bool `json:"force_backup"`

	// 是否需要委托
	NeedAgency bool `json:"need_agency"`
}

集群缩容请求

func (ClusterShrinkReq) String added in v0.1.18

func (o ClusterShrinkReq) String() string

type ClusterSnapshots added in v0.1.14

type ClusterSnapshots struct {

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

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

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

	// 快照创建的日期时间,格式为 ISO8601: YYYY-MM-DDThh:mm:ssZ。
	Started *string `json:"started,omitempty"`

	// 快照大小,单位 GB。
	Size *float64 `json:"size,omitempty"`

	// 快照状态: - CREATING:创建中。 - AVAILABLE:可用。 - UNAVAILABLE:不可用。 - RESTORING:恢复中。
	Status *string `json:"status,omitempty"`

	// 快照对应的集群ID
	ClusterId *string `json:"cluster_id,omitempty"`

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

	// 快照对应的集群名称。
	ClusterName *string `json:"cluster_name,omitempty"`

	// 快照更新时间。
	Updated *string `json:"updated,omitempty"`

	// 快照类型: - MANUAL :手动快照, - AUTO :自动快照。
	Type *string `json:"type,omitempty"`

	// 快照预计开始时间。
	BakExpectedStartTime *string `json:"bak_expected_start_time,omitempty"`

	// 快照保留天数。
	BakKeepDay *int32 `json:"bak_keep_day,omitempty"`

	// 快照策略。
	BakPeriod *string `json:"bak_period,omitempty"`

	// 数据库用户。
	DbUser *string `json:"db_user,omitempty"`

	// 快照进度。
	Progress *string `json:"progress,omitempty"`

	// 快照BakcupKey。
	BackupKey *string `json:"backup_key,omitempty"`

	// 增量快照,使用的前一个快照BakcupKey。
	PriorBackupKey *string `json:"prior_backup_key,omitempty"`

	// 对应全量快照BakcupKey。
	BaseBackupKey *string `json:"base_backup_key,omitempty"`

	// 备份介质。
	BackupDevice *string `json:"backup_device,omitempty"`

	// 累计快照大小。
	TotalBackupSize *int32 `json:"total_backup_size,omitempty"`

	// 对应全量快照名称。
	BaseBackupName *string `json:"base_backup_name,omitempty"`

	// 是否支持就地恢复。
	SupportInplaceRestore *bool `json:"support_inplace_restore,omitempty"`

	// 是否是细粒度备份。
	FineGrainedBackup *bool `json:"fine_grained_backup,omitempty"`

	// 备份级别。
	BackupLevel *string `json:"backup_level,omitempty"`

	FineGrainedBackupDetail *FineGrainedSnapshotDetail `json:"fine_grained_backup_detail,omitempty"`

	// guestAgent版本。
	GuestAgentVersion *string `json:"guest_agent_version,omitempty"`

	// 集群状态。
	ClusterStatus *string `json:"cluster_status,omitempty"`
}

集群快照对象列表

func (ClusterSnapshots) String added in v0.1.14

func (o ClusterSnapshots) String() string

type ConfigurationParameter added in v0.1.14

type ConfigurationParameter struct {

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

	// 参数值。
	Values []ConfigurationParameterUnit `json:"values"`

	// 参数单位。
	Unit string `json:"unit"`

	// 参数类型,包括boolean、string、integer、float、list。
	Type string `json:"type"`

	// 是否只读。
	Readonly bool `json:"readonly"`

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

	// 是否需要重启。
	RestartRequired bool `json:"restart_required"`

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

集群使用的参数配置项详情。

func (ConfigurationParameter) String added in v0.1.14

func (o ConfigurationParameter) String() string

type ConfigurationParameterUnit added in v0.1.14

type ConfigurationParameterUnit struct {

	// 参数类型,包括:cn、dn。
	Type string `json:"type"`

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

	// 参数默认值。
	DefaultValue string `json:"default_value"`
}

集群使用的参数配置值。

func (ConfigurationParameterUnit) String added in v0.1.14

type ConfigurationParameterValue added in v0.1.14

type ConfigurationParameterValue struct {

	// 参数类型,包括:cn、dn。
	Type string `json:"type"`

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

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

集群参数配置详情。

func (ConfigurationParameterValue) String added in v0.1.14

type ConfigurationParameterValues added in v0.1.14

type ConfigurationParameterValues struct {

	// 集群参数配置列表
	Configurations []ConfigurationParameterValue `json:"configurations"`
}

集群参数配置列表信息

func (ConfigurationParameterValues) String added in v0.1.14

type CoordinatorNode added in v0.1.14

type CoordinatorNode struct {

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

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

	// 内网IP。
	PrivateIp string `json:"private_ip"`
}

CN节点详情。

func (CoordinatorNode) String added in v0.1.14

func (o CoordinatorNode) String() string

type CopySnapshotRequest added in v0.1.14

type CopySnapshotRequest struct {

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

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

Request Object

func (CopySnapshotRequest) String added in v0.1.14

func (o CopySnapshotRequest) String() string

type CopySnapshotResponse added in v0.1.14

type CopySnapshotResponse struct {

	// 快照id。
	SnapshotId     *string `json:"snapshot_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CopySnapshotResponse) String added in v0.1.14

func (o CopySnapshotResponse) String() string

type CreateAlarmSubRequest added in v0.1.14

type CreateAlarmSubRequest struct {
	Body *AlarmSubRequest `json:"body,omitempty"`
}

Request Object

func (CreateAlarmSubRequest) String added in v0.1.14

func (o CreateAlarmSubRequest) String() string

type CreateAlarmSubResponse added in v0.1.14

type CreateAlarmSubResponse struct {

	// 告警订阅ID
	Id *string `json:"id,omitempty"`

	// 告警订阅名称
	Name *string `json:"name,omitempty"`

	// 是否开启订阅
	Enable *int32 `json:"enable,omitempty"`

	// 告警级别
	AlarmLevel *string `json:"alarm_level,omitempty"`

	// 租户凭证ID
	ProjectId *string `json:"project_id,omitempty"`

	// 所属服务,支持DWS,DLI,DGC,CloudTable,CDM,GES,CSS
	NameSpace *string `json:"name_space,omitempty"`

	// 消息主题地址
	NotificationTarget *string `json:"notification_target,omitempty"`

	// 消息主题名称
	NotificationTargetName *string `json:"notification_target_name,omitempty"`

	// 消息主题类型
	NotificationTargetType *string `json:"notification_target_type,omitempty"`

	// 语言
	Language *string `json:"language,omitempty"`

	// 时区
	TimeZone       *string `json:"time_zone,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateAlarmSubResponse) String added in v0.1.14

func (o CreateAlarmSubResponse) String() string

type CreateClusterDns added in v0.1.14

type CreateClusterDns struct {

	// 待创建的域名。
	Name string `json:"name"`

	// 域名类型。 - public:公网域名。 - private:内网域名。
	Type string `json:"type"`

	// 用于填写默认生成的SOA记录中有效缓存时间,以秒为单位。 - 取值范围:300~2147483647。 - 默认值为300s。
	Ttl int32 `json:"ttl"`
}

申请的域名信息。

func (CreateClusterDns) String added in v0.1.14

func (o CreateClusterDns) String() string

type CreateClusterDnsRequest added in v0.1.14

type CreateClusterDnsRequest struct {

	// 集群的ID
	ClusterId string `json:"cluster_id"`

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

Request Object

func (CreateClusterDnsRequest) String added in v0.1.14

func (o CreateClusterDnsRequest) String() string

type CreateClusterDnsResponse added in v0.1.14

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

Response Object

func (CreateClusterDnsResponse) String added in v0.1.14

func (o CreateClusterDnsResponse) String() string

type CreateClusterInfo

type CreateClusterInfo struct {

	// 节点类型
	NodeType string `json:"node_type"`

	// 集群节点数量,集群模式取值范围为3~256,实时数仓(单机模式)取值为1。
	NumberOfNode int32 `json:"number_of_node"`

	// 指定子网ID,用于集群网络配置。
	SubnetId string `json:"subnet_id"`

	// 指定安全组ID,用于集群网络配置。
	SecurityGroupId string `json:"security_group_id"`

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

	// 配置集群可用区。
	AvailabilityZone *string `json:"availability_zone,omitempty"`

	// 集群服务端口,取值范围为8000~30000,默认值:8000。
	Port *int32 `json:"port,omitempty"`

	// 集群名称,要求唯一性,必须以字母开头并只包含字母、数字、中划线或下划线,长度为4~64个字符。
	Name string `json:"name"`

	// DWS集群管理员用户名。用户命名要求如下:  - 只能由小写字母、数字或下划线组成。 - 必须由小写字母或下划线开头。 - 长度为1~63个字符。 - 用户名不能为DWS数据库的关键字。
	UserName string `json:"user_name"`

	// DWS集群管理员密码。
	UserPwd string `json:"user_pwd"`

	PublicIp *PublicIp `json:"public_ip,omitempty"`

	// CN部署量,取值范围为2~集群节点数,最大值为20,默认值为3。
	NumberOfCn *int32 `json:"number_of_cn,omitempty"`

	// 企业项目ID,对集群指定企业项目,如果未指定,则使用默认企业项目“default”的ID,即0。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

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

集群对象

func (CreateClusterInfo) String

func (o CreateClusterInfo) String() string

type CreateClusterRequest

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

Request Object

func (CreateClusterRequest) String

func (o CreateClusterRequest) String() string

type CreateClusterRequestBody

type CreateClusterRequestBody struct {
	Cluster *CreateClusterInfo `json:"cluster"`
}

This is a auto create Body Object

func (CreateClusterRequestBody) String

func (o CreateClusterRequestBody) String() string

type CreateClusterResponse

type CreateClusterResponse struct {
	Cluster        *Cluster `json:"cluster,omitempty"`
	HttpStatusCode int      `json:"-"`
}

Response Object

func (CreateClusterResponse) String

func (o CreateClusterResponse) String() string

type CreateClusterV2Request added in v0.1.27

type CreateClusterV2Request struct {
	Body *V2CreateClusterReq `json:"body,omitempty"`
}

Request Object

func (CreateClusterV2Request) String added in v0.1.27

func (o CreateClusterV2Request) String() string

type CreateClusterV2Response added in v0.1.27

type CreateClusterV2Response struct {
	Cluster        *Cluster `json:"cluster,omitempty"`
	HttpStatusCode int      `json:"-"`
}

Response Object

func (CreateClusterV2Response) String added in v0.1.27

func (o CreateClusterV2Response) String() string

type CreateClusterWorkloadRequest added in v0.1.14

type CreateClusterWorkloadRequest struct {

	// 集群ID
	ClusterId string `json:"cluster_id"`

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

Request Object

func (CreateClusterWorkloadRequest) String added in v0.1.14

type CreateClusterWorkloadResponse added in v0.1.14

type CreateClusterWorkloadResponse struct {

	// 响应编码。
	WorkloadResCode *int32 `json:"workload_res_code,omitempty"`

	// 响应信息。
	WorkloadResStr *string `json:"workload_res_str,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateClusterWorkloadResponse) String added in v0.1.14

type CreateDataSourceRequest added in v0.1.14

type CreateDataSourceRequest struct {

	// 集群ID
	ClusterId string `json:"cluster_id"`

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

Request Object

func (CreateDataSourceRequest) String added in v0.1.14

func (o CreateDataSourceRequest) String() string

type CreateDataSourceResponse added in v0.1.14

type CreateDataSourceResponse struct {

	// 数据源id。
	Id *string `json:"id,omitempty"`

	// 创建数据源job_id。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateDataSourceResponse) String added in v0.1.14

func (o CreateDataSourceResponse) String() string

type CreateDisasterRecovery added in v0.1.14

type CreateDisasterRecovery struct {

	// 名称
	Name string `json:"name"`

	// 容灾类型
	DrType string `json:"dr_type"`

	// 主集群ID
	PrimaryClusterId string `json:"primary_cluster_id"`

	// 备集群ID
	StandbyClusterId string `json:"standby_cluster_id"`

	// 同步周期
	DrSyncPeriod string `json:"dr_sync_period"`

	// 主集群OBS桶
	PrimaryObsBucket *string `json:"primary_obs_bucket,omitempty"`

	// 备集群obs桶
	StandbyObsBucket *string `json:"standby_obs_bucket,omitempty"`
}

func (CreateDisasterRecovery) String added in v0.1.14

func (o CreateDisasterRecovery) String() string

type CreateDisasterRecoveryReq added in v0.1.18

type CreateDisasterRecoveryReq struct {
	DisasterRecovery *CreateDisasterRecovery `json:"disaster_recovery"`
}

func (CreateDisasterRecoveryReq) String added in v0.1.18

func (o CreateDisasterRecoveryReq) String() string

type CreateDisasterRecoveryRequest added in v0.1.14

type CreateDisasterRecoveryRequest struct {
	Body *CreateDisasterRecoveryReq `json:"body,omitempty"`
}

Request Object

func (CreateDisasterRecoveryRequest) String added in v0.1.14

type CreateDisasterRecoveryResponse added in v0.1.14

type CreateDisasterRecoveryResponse struct {
	DisasterRecovery *DisasterRecoveryId `json:"disaster_recovery,omitempty"`
	HttpStatusCode   int                 `json:"-"`
}

Response Object

func (CreateDisasterRecoveryResponse) String added in v0.1.14

type CreateEventSubRequest added in v0.1.14

type CreateEventSubRequest struct {
	Body *EventSubRequest `json:"body,omitempty"`
}

Request Object

func (CreateEventSubRequest) String added in v0.1.14

func (o CreateEventSubRequest) String() string

type CreateEventSubResponse added in v0.1.14

type CreateEventSubResponse struct {

	// 订阅ID
	Id *string `json:"id,omitempty"`

	// 订阅名称
	Name *string `json:"name,omitempty"`

	// 事件源类型
	SourceType *string `json:"source_type,omitempty"`

	// 事件源ID
	SourceId *string `json:"source_id,omitempty"`

	// 事件类别
	Category *string `json:"category,omitempty"`

	// 事件级别
	Severity *string `json:"severity,omitempty"`

	// 事件标签
	Tag *string `json:"tag,omitempty"`

	// 是否开启订阅 1为开启,0为关闭
	Enable *int32 `json:"enable,omitempty"`

	// 租户凭证ID
	ProjectId *string `json:"project_id,omitempty"`

	// 所属服务
	NameSpace *string `json:"name_space,omitempty"`

	// 消息通知主题地址
	NotificationTarget *string `json:"notification_target,omitempty"`

	// 消息通知主题名称
	NotificationTargetName *string `json:"notification_target_name,omitempty"`

	// 消息通知类型
	NotificationTargetType *string `json:"notification_target_type,omitempty"`

	// 语言
	Language *string `json:"language,omitempty"`

	// 时区
	TimeZone       *string `json:"time_zone,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateEventSubResponse) String added in v0.1.14

func (o CreateEventSubResponse) String() string

type CreateSnapshotPolicyRequest added in v0.1.14

type CreateSnapshotPolicyRequest struct {

	// 集群ID
	ClusterId string `json:"cluster_id"`

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

Request Object

func (CreateSnapshotPolicyRequest) String added in v0.1.14

type CreateSnapshotPolicyResponse added in v0.1.14

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

Response Object

func (CreateSnapshotPolicyResponse) String added in v0.1.14

type CreateSnapshotRequest

type CreateSnapshotRequest struct {
	Body *CreateSnapshotRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateSnapshotRequest) String

func (o CreateSnapshotRequest) String() string

type CreateSnapshotRequestBody

type CreateSnapshotRequestBody struct {
	Snapshot *Snapshot `json:"snapshot"`
}

This is a auto create Body Object

func (CreateSnapshotRequestBody) String

func (o CreateSnapshotRequestBody) String() string

type CreateSnapshotResponse

type CreateSnapshotResponse struct {
	Snapshot       *SnapshotResp `json:"snapshot,omitempty"`
	HttpStatusCode int           `json:"-"`
}

Response Object

func (CreateSnapshotResponse) String

func (o CreateSnapshotResponse) String() string

type CreateWorkloadPlanRequest added in v0.1.14

type CreateWorkloadPlanRequest struct {

	// 集群ID
	ClusterId string `json:"cluster_id"`

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

Request Object

func (CreateWorkloadPlanRequest) String added in v0.1.14

func (o CreateWorkloadPlanRequest) String() string

type CreateWorkloadPlanResponse added in v0.1.14

type CreateWorkloadPlanResponse struct {

	// 响应编码。
	WorkloadResCode *int32 `json:"workload_res_code,omitempty"`

	// 响应信息。
	WorkloadResStr *string `json:"workload_res_str,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateWorkloadPlanResponse) String added in v0.1.14

type DatabasePermissionReq added in v0.1.44

type DatabasePermissionReq struct {

	// 对象类型 [DATABASE | SCHEMA | TABLE | VIEW | COLUMN | FUNCTION| SEQUENCE | NODEGROUP | ROLE]
	Type string `json:"type"`

	// 是否授权操作
	IsGrant bool `json:"is_grant"`

	// 授权列表 is_grant为true时必填
	GrantList *[]Grant `json:"grant_list,omitempty"`

	// 撤销权限列表 is_grant为false时必填
	RevokeList *[]Revoke `json:"revoke_list,omitempty"`

	// 被授权角色列表
	RoleList []string `json:"role_list"`

	// 权限所属对象列表
	ObjectList *interface{} `json:"object_list"`

	// 撤销权限是否级联撤销 默认 true
	Cascade *bool `json:"cascade,omitempty"`

	// 数据库名称
	Database string `json:"database"`

	// 模式名称
	Schema *string `json:"schema,omitempty"`

	// 表名
	Table *string `json:"table,omitempty"`
}

数据库权限请求

func (DatabasePermissionReq) String added in v0.1.44

func (o DatabasePermissionReq) String() string

type DatabaseUser added in v0.1.44

type DatabaseUser struct {

	// 用户名
	Name *string `json:"name,omitempty"`

	// 是否可以登陆
	Login *bool `json:"login,omitempty"`
}

用户基本信息

func (DatabaseUser) String added in v0.1.44

func (o DatabaseUser) String() string

type DatabaseUserInfoReq added in v0.1.44

type DatabaseUserInfoReq struct {

	// 是否可以登陆
	Login *bool `json:"login,omitempty"`

	// 创建角色权限
	Createrole *bool `json:"createrole,omitempty"`

	// 创建数据库权限
	Createdb *bool `json:"createdb,omitempty"`

	// 系统管理员
	Systemadmin *bool `json:"systemadmin,omitempty"`

	// 审计管理员
	Auditadmin *bool `json:"auditadmin,omitempty"`

	// 继承所在组权限
	Inherit *bool `json:"inherit,omitempty"`

	// 访问外表权限
	Useft *bool `json:"useft,omitempty"`

	// 连接数限制
	ConnLimit *int32 `json:"conn_limit,omitempty"`

	// 是否允许流复制
	Replication *bool `json:"replication,omitempty"`

	// 角色生效时间 yyyy-MM-ddTHH:mm:ssZ
	ValidBegin *string `json:"valid_begin,omitempty"`

	// 角色过期时间 yyyy-MM-ddTHH:mm:ssZ
	ValidUntil *string `json:"valid_until,omitempty"`

	// 是否锁定
	Lock *bool `json:"lock,omitempty"`
}

用户详细信息

func (DatabaseUserInfoReq) String added in v0.1.44

func (o DatabaseUserInfoReq) String() string

type Datastore added in v0.1.14

type Datastore struct {

	// 集群类型。
	Type *string `json:"type,omitempty"`

	// 集群版本。
	Version *string `json:"version,omitempty"`
}

集群版本

func (Datastore) String added in v0.1.14

func (o Datastore) String() string

type DeleteAlarmSubRequest added in v0.1.14

type DeleteAlarmSubRequest struct {

	// 告警订阅ID
	AlarmSubId string `json:"alarm_sub_id"`
}

Request Object

func (DeleteAlarmSubRequest) String added in v0.1.14

func (o DeleteAlarmSubRequest) String() string

type DeleteAlarmSubResponse added in v0.1.14

type DeleteAlarmSubResponse struct {

	// 告警订阅ID
	Id *string `json:"id,omitempty"`

	// 告警订阅名称
	Name *string `json:"name,omitempty"`

	// 是否开启订阅
	Enable *int32 `json:"enable,omitempty"`

	// 告警级别
	AlarmLevel *string `json:"alarm_level,omitempty"`

	// 租户凭证ID
	ProjectId *string `json:"project_id,omitempty"`

	// 所属服务,支持DWS,DLI,DGC,CloudTable,CDM,GES,CSS
	NameSpace *string `json:"name_space,omitempty"`

	// 消息主题地址
	NotificationTarget *string `json:"notification_target,omitempty"`

	// 消息主题名称
	NotificationTargetName *string `json:"notification_target_name,omitempty"`

	// 消息主题类型
	NotificationTargetType *string `json:"notification_target_type,omitempty"`

	// 语言
	Language *string `json:"language,omitempty"`

	// 时区
	TimeZone       *string `json:"time_zone,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteAlarmSubResponse) String added in v0.1.14

func (o DeleteAlarmSubResponse) String() string

type DeleteClusterDnsRequest added in v0.1.14

type DeleteClusterDnsRequest struct {

	// 集群的ID
	ClusterId string `json:"cluster_id"`

	// 域名类型,支持删除公网域名。
	Type string `json:"type"`
}

Request Object

func (DeleteClusterDnsRequest) String added in v0.1.14

func (o DeleteClusterDnsRequest) String() string

type DeleteClusterDnsResponse added in v0.1.14

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

Response Object

func (DeleteClusterDnsResponse) String added in v0.1.14

func (o DeleteClusterDnsResponse) String() string

type DeleteClusterRequest

type DeleteClusterRequest struct {

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

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

Request Object

func (DeleteClusterRequest) String

func (o DeleteClusterRequest) String() string

type DeleteClusterRequestBody

type DeleteClusterRequestBody struct {

	// 集群需要保留的快照数
	KeepLastManualSnapshot int32 `json:"keep_last_manual_snapshot"`
}

This is a auto create Body Object

func (DeleteClusterRequestBody) String

func (o DeleteClusterRequestBody) String() string

type DeleteClusterResponse

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

Response Object

func (DeleteClusterResponse) String

func (o DeleteClusterResponse) String() string

type DeleteDataSourceRequest added in v0.1.18

type DeleteDataSourceRequest struct {

	// 集群ID
	ClusterId string `json:"cluster_id"`

	// 数据源id
	ExtDataSourceId string `json:"ext_data_source_id"`
}

Request Object

func (DeleteDataSourceRequest) String added in v0.1.18

func (o DeleteDataSourceRequest) String() string

type DeleteDataSourceResponse added in v0.1.18

type DeleteDataSourceResponse struct {

	// 删除数据源job_id。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteDataSourceResponse) String added in v0.1.18

func (o DeleteDataSourceResponse) String() string

type DeleteDisasterRecoveryRequest added in v0.1.14

type DeleteDisasterRecoveryRequest struct {

	// 集群的ID
	DisasterRecoveryId string `json:"disaster_recovery_id"`
}

Request Object

func (DeleteDisasterRecoveryRequest) String added in v0.1.14

type DeleteDisasterRecoveryResponse added in v0.1.14

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

Response Object

func (DeleteDisasterRecoveryResponse) String added in v0.1.14

type DeleteEventSubRequest added in v0.1.14

type DeleteEventSubRequest struct {

	// 事件订阅ID
	EventSubId string `json:"event_sub_id"`
}

Request Object

func (DeleteEventSubRequest) String added in v0.1.14

func (o DeleteEventSubRequest) String() string

type DeleteEventSubResponse added in v0.1.14

type DeleteEventSubResponse struct {

	// 订阅ID
	Id *string `json:"id,omitempty"`

	// 订阅名称
	Name *string `json:"name,omitempty"`

	// 事件源类型
	SourceType *string `json:"source_type,omitempty"`

	// 事件源ID
	SourceId *string `json:"source_id,omitempty"`

	// 事件类别
	Category *string `json:"category,omitempty"`

	// 事件级别
	Severity *string `json:"severity,omitempty"`

	// 事件标签
	Tag *string `json:"tag,omitempty"`

	// 是否开启订阅 1为开启,0为关闭
	Enable *int32 `json:"enable,omitempty"`

	// 租户凭证ID
	ProjectId *string `json:"project_id,omitempty"`

	// 所属服务
	NameSpace *string `json:"name_space,omitempty"`

	// 消息通知主题地址
	NotificationTarget *string `json:"notification_target,omitempty"`

	// 消息通知主题名称
	NotificationTargetName *string `json:"notification_target_name,omitempty"`

	// 消息通知类型
	NotificationTargetType *string `json:"notification_target_type,omitempty"`

	// 语言
	Language *string `json:"language,omitempty"`

	// 时区
	TimeZone       *string `json:"time_zone,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteEventSubResponse) String added in v0.1.14

func (o DeleteEventSubResponse) String() string

type DeleteSnapshotPolicyRequest added in v0.1.14

type DeleteSnapshotPolicyRequest struct {

	// 集群ID。
	ClusterId string `json:"cluster_id"`

	// 快照策略ID。
	Id string `json:"id"`
}

Request Object

func (DeleteSnapshotPolicyRequest) String added in v0.1.14

type DeleteSnapshotPolicyResponse added in v0.1.14

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

Response Object

func (DeleteSnapshotPolicyResponse) String added in v0.1.14

type DeleteSnapshotRequest

type DeleteSnapshotRequest struct {

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

Request Object

func (DeleteSnapshotRequest) String

func (o DeleteSnapshotRequest) String() string

type DeleteSnapshotResponse

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

Response Object

func (DeleteSnapshotResponse) String

func (o DeleteSnapshotResponse) String() string

type DeleteWorkloadQueueRequest added in v0.1.14

type DeleteWorkloadQueueRequest struct {

	// 集群ID。
	ClusterId string `json:"cluster_id"`

	// 逻辑集群名称。
	LogicalClusterName *string `json:"logical_cluster_name,omitempty"`

	// 工作负载队列名称。
	WorkloadQueueName string `json:"workload_queue_name"`
}

Request Object

func (DeleteWorkloadQueueRequest) String added in v0.1.14

type DeleteWorkloadQueueResponse added in v0.1.14

type DeleteWorkloadQueueResponse struct {

	// 响应编码。
	WorkloadResCode *int32 `json:"workload_res_code,omitempty"`

	// 响应信息。
	WorkloadResStr *string `json:"workload_res_str,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteWorkloadQueueResponse) String added in v0.1.14

type Detail

type Detail struct {

	// 属性类型。
	Type *string `json:"type,omitempty"`

	// 属性值。
	Value string `json:"value"`

	// 属性单位。
	Unit string `json:"unit"`
}

节点类型详细

func (Detail) String

func (o Detail) String() string

type DisassociateEipRequest added in v0.1.14

type DisassociateEipRequest struct {

	// 集群ID
	ClusterId string `json:"cluster_id"`

	// 集群绑定的弹性IP
	EipId string `json:"eip_id"`
}

Request Object

func (DisassociateEipRequest) String added in v0.1.14

func (o DisassociateEipRequest) String() string

type DisassociateEipResponse added in v0.1.14

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

Response Object

func (DisassociateEipResponse) String added in v0.1.14

func (o DisassociateEipResponse) String() string

type DisassociateElbRequest added in v0.1.14

type DisassociateElbRequest struct {

	// 集群ID
	ClusterId string `json:"cluster_id"`

	// 集群已绑定的弹性负载均衡ID
	ElbId string `json:"elb_id"`
}

Request Object

func (DisassociateElbRequest) String added in v0.1.14

func (o DisassociateElbRequest) String() string

type DisassociateElbResponse added in v0.1.14

type DisassociateElbResponse struct {

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

Response Object

func (DisassociateElbResponse) String added in v0.1.14

func (o DisassociateElbResponse) String() string

type DisasterRecovery added in v0.1.18

type DisasterRecovery struct {

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

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

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

	// 容灾类型
	DrType *string `json:"dr_type,omitempty"`

	// 主集群ID
	PrimaryClusterId *string `json:"primary_cluster_id,omitempty"`

	// 主集群名称
	PrimaryClusterName *string `json:"primary_cluster_name,omitempty"`

	// 备集群ID
	StandbyClusterId *string `json:"standby_cluster_id,omitempty"`

	// 备集群名称
	StandbyClusterName *string `json:"standby_cluster_name,omitempty"`

	// 主集群角色
	PrimaryClusterRole *string `json:"primary_cluster_role,omitempty"`

	// 备集群角色
	StandbyClusterRole *string `json:"standby_cluster_role,omitempty"`

	// 主集群状态
	PrimaryClusterStatus *string `json:"primary_cluster_status,omitempty"`

	// 备集群状态
	StandbyClusterStatus *string `json:"standby_cluster_status,omitempty"`

	// 主集群region
	PrimaryClusterRegion *string `json:"primary_cluster_region,omitempty"`

	// 备集群region
	StandbyClusterRegion *string `json:"standby_cluster_region,omitempty"`

	// 主集群project_id
	PrimaryClusterProjectId *string `json:"primary_cluster_project_id,omitempty"`

	// 备集群project_id
	StandbyClusterProjectId *string `json:"standby_cluster_project_id,omitempty"`

	// 最近同步时间
	LastDisasterTime *string `json:"last_disaster_time,omitempty"`

	// 启动时间
	StartTime *string `json:"start_time,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`
}

func (DisasterRecovery) String added in v0.1.18

func (o DisasterRecovery) String() string

type DisasterRecoveryCluster added in v0.1.40

type DisasterRecoveryCluster struct {

	// 容灾集群信息ID
	Id *string `json:"id,omitempty"`

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

	// 容灾集群所在AZ
	ClusterAz *string `json:"cluster_az,omitempty"`

	// 容灾集群角色
	Role *string `json:"role,omitempty"`

	// 容灾集群所在region
	Region *string `json:"region,omitempty"`

	// 容灾集群状态
	Status *string `json:"status,omitempty"`

	// 容灾进度
	Progress *string `json:"progress,omitempty"`

	// 上一次容灾时间
	LastSuccessTime *string `json:"last_success_time,omitempty"`

	// OBS桶名称
	ObsBucketName *string `json:"obs_bucket_name,omitempty"`
}

容灾集群信息

func (DisasterRecoveryCluster) String added in v0.1.40

func (o DisasterRecoveryCluster) String() string

type DisasterRecoveryClusterVo added in v0.1.40

type DisasterRecoveryClusterVo struct {

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

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

容灾可用集群信息

func (DisasterRecoveryClusterVo) String added in v0.1.40

func (o DisasterRecoveryClusterVo) String() string

type DisasterRecoveryId added in v0.1.14

type DisasterRecoveryId struct {

	// 容灾ID
	Id *string `json:"id,omitempty"`
}

func (DisasterRecoveryId) String added in v0.1.14

func (o DisasterRecoveryId) String() string

type DisasterRecoveryQueryResp added in v0.1.44

type DisasterRecoveryQueryResp struct {

	// 容灾ID
	Id *string `json:"id,omitempty"`

	// 容灾名称
	Name *string `json:"name,omitempty"`

	// 容灾类型
	DrType *string `json:"dr_type,omitempty"`

	// 容灾状态
	Status *string `json:"status,omitempty"`

	PrimaryCluster *DisasterRecoveryCluster `json:"primary_cluster,omitempty"`

	StandbyCluster *DisasterRecoveryCluster `json:"standby_cluster,omitempty"`

	// 容灾同步周期
	DrSyncPeriod *string `json:"dr_sync_period,omitempty"`

	// 容灾启动时间
	StartTime *string `json:"start_time,omitempty"`

	// 容灾创建时间
	CreateTime *string `json:"create_time,omitempty"`
}

查询容灾信息返回体

func (DisasterRecoveryQueryResp) String added in v0.1.44

func (o DisasterRecoveryQueryResp) String() string

type DiskResp added in v0.1.14

type DiskResp struct {

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

	// 主机名称
	HostName *string `json:"host_name,omitempty"`

	// 磁盘名称
	DiskName *string `json:"disk_name,omitempty"`

	// 磁盘类型(系统盘、数据盘、日志盘)。
	DiskType *string `json:"disk_type,omitempty"`

	// 磁盘总容量(GB)。
	Total *float64 `json:"total,omitempty"`

	// 磁盘已使用容量(GB)。
	Used *float64 `json:"used,omitempty"`

	// 磁盘可用容量(GB)。
	Available *float64 `json:"available,omitempty"`

	// 磁盘使用率(%)。
	UsedPercentage *float64 `json:"used_percentage,omitempty"`

	// IO等待时间(ms)。
	Await *float64 `json:"await,omitempty"`

	// IO服务时间(ms)。
	Svctm *float64 `json:"svctm,omitempty"`

	// IO使用率(%)。
	Util *float64 `json:"util,omitempty"`

	// 磁盘读速率(KB/s)。
	ReadRate *float64 `json:"read_rate,omitempty"`

	// 磁盘写速率(KB/s)。
	WriteRate *float64 `json:"write_rate,omitempty"`
}

func (DiskResp) String added in v0.1.14

func (o DiskResp) String() string

type DssPool added in v0.1.14

type DssPool struct {

	// 专属分布式存储池名称。
	Id string `json:"id"`

	// 专属分布式存储池ID。
	Name string `json:"name"`

	// 专属分布式存储池的存储类型。 - SSD:超高IO专属分布式存储池。
	Type string `json:"type"`

	// 专属分布式存储池归属的project_id。
	ProjectId string `json:"project_id"`

	// 专属分布式存储池所属可用区。
	AvailabilityZone string `json:"availability_zone"`

	// 申请的专属分布式存储容量,单位TB。
	Capacity int32 `json:"capacity"`

	// 专属分布式存储池的状态。 - available:专属分布式存储池处于可用状态。 - deploying:专属分布式存储池处于正在部署的过程中,不可使用。 - extending:专属分布式存储池处于正在扩容的过程中,可使用。
	Status string `json:"status"`

	// 专属分布式存储池的创建时间。 - 时间格式:UTC YYYY-MM-DDTHH:MM:SS
	CreatedAt string `json:"created_at"`
}

专属分布式存储池详情。

func (DssPool) String added in v0.1.14

func (o DssPool) String() string

type ElbResp added in v0.1.20

type ElbResp struct {

	// 公网ip
	PublicIp *string `json:"public_ip,omitempty"`

	// 内网ip
	PrivateIp *string `json:"private_ip,omitempty"`

	// Elb终端地址
	PrivateEndpoint *string `json:"private_endpoint,omitempty"`

	// Elb名称
	Name *string `json:"name,omitempty"`

	// Elb的ID
	Id *string `json:"id,omitempty"`

	// Elb所属VPC的ID
	VpcId *string `json:"vpc_id,omitempty"`
}

集群ELB的相关信息

func (ElbResp) String added in v0.1.20

func (o ElbResp) String() string

type Endpoints

type Endpoints struct {

	// 内网连接信息。
	ConnectInfo *string `json:"connect_info,omitempty"`

	// 内网JDBC URL,默认格式如下: jdbc:postgresql://<connect_info>/<YOUR_DATABASE_NAME>
	JdbcUrl *string `json:"jdbc_url,omitempty"`
}

集群的内网连接信息。

func (Endpoints) String

func (o Endpoints) String() string

type EventResponse added in v0.1.14

type EventResponse struct {

	// 事件类别
	Category *string `json:"category,omitempty"`

	// 事件描述
	Description *string `json:"description,omitempty"`

	// 事件ID
	EventId *string `json:"event_id,omitempty"`

	// 事件定义名称
	Name *string `json:"name,omitempty"`

	// 事件显示名称
	DisplayName *string `json:"display_name,omitempty"`

	// 所属服务
	NameSpace *string `json:"name_space,omitempty"`

	// 事件级别
	Severity *string `json:"severity,omitempty"`

	// 事件源类别
	SourceType *string `json:"source_type,omitempty"`

	// 时间
	OccurTime *int64 `json:"occur_time,omitempty"`

	// 租户凭证ID
	ProjectId *string `json:"project_id,omitempty"`

	// 事件源ID
	SourceId *string `json:"source_id,omitempty"`

	// 事件源名称
	SourceName *string `json:"source_name,omitempty"`

	// 状态
	Status *int32 `json:"status,omitempty"`

	// 事件主题
	Subject *string `json:"subject,omitempty"`

	// 事件信息
	Context *string `json:"context,omitempty"`
}

事件返回体

func (EventResponse) String added in v0.1.14

func (o EventResponse) String() string

type EventSpecResponse added in v0.1.14

type EventSpecResponse struct {

	// 事件配置ID
	Id *string `json:"id,omitempty"`

	// 事件配置定义名称
	Name *string `json:"name,omitempty"`

	// 事件配置显示名称
	DisplayName *string `json:"display_name,omitempty"`

	// 事件配置描述
	Description *string `json:"description,omitempty"`

	// 事件主题
	Subject *string `json:"subject,omitempty"`

	// 事件类别
	Category *string `json:"category,omitempty"`

	// 事件级别
	Severity *string `json:"severity,omitempty"`

	// 事件源类型
	SourceType *string `json:"source_type,omitempty"`

	// 所属服务
	NameSpace *string `json:"name_space,omitempty"`
}

事件配置对象

func (EventSpecResponse) String added in v0.1.14

func (o EventSpecResponse) String() string

type EventSubRequest added in v0.1.14

type EventSubRequest struct {

	// 事件订阅名称
	Name string `json:"name"`

	// 事件源类型支持cluster,backup,disaster-recovery
	SourceType *string `json:"source_type,omitempty"`

	// 事件源ID
	SourceId *string `json:"source_id,omitempty"`

	// 事件类别支持management,monitor,security,system alarm
	Category *string `json:"category,omitempty"`

	// 事件级别支持normal,warning
	Severity *string `json:"severity,omitempty"`

	// 事件标签
	Tag *string `json:"tag,omitempty"`

	// 是否开启订阅 1为开启,0为关闭
	Enable *int32 `json:"enable,omitempty"`

	// 消息通知地址
	NotificationTarget string `json:"notification_target"`

	// 消息主题名称
	NotificationTargetName string `json:"notification_target_name"`

	// 消息通知类型只支持SMN
	NotificationTargetType string `json:"notification_target_type"`

	// 时区
	TimeZone *string `json:"time_zone,omitempty"`
}

创建事件订阅请求体

func (EventSubRequest) String added in v0.1.14

func (o EventSubRequest) String() string

type EventSubUpdateRequest added in v0.1.14

type EventSubUpdateRequest struct {

	// 事件订阅名称
	Name string `json:"name"`

	// 事件源类型支持cluster,backup,disaster-recovery
	SourceType *string `json:"source_type,omitempty"`

	// 事件源ID
	SourceId *string `json:"source_id,omitempty"`

	// 事件类别支持management,monitor,security,system alarm
	Category *string `json:"category,omitempty"`

	// 事件级别支持normal,warning
	Severity *string `json:"severity,omitempty"`

	// 事件标签
	Tag *string `json:"tag,omitempty"`

	// 是否开启订阅 1为开启,0为关闭
	Enable *int32 `json:"enable,omitempty"`

	// 消息通知地址
	NotificationTarget string `json:"notification_target"`

	// 消息主题名称
	NotificationTargetName string `json:"notification_target_name"`

	// 消息通知类型只支持SMN
	NotificationTargetType string `json:"notification_target_type"`
}

更新订阅事件请求体

func (EventSubUpdateRequest) String added in v0.1.14

func (o EventSubUpdateRequest) String() string

type EventSubscriptionResponse added in v0.1.14

type EventSubscriptionResponse struct {

	// 订阅ID
	Id *string `json:"id,omitempty"`

	// 订阅名称
	Name *string `json:"name,omitempty"`

	// 事件源类型
	SourceType *string `json:"source_type,omitempty"`

	// 事件源ID
	SourceId *string `json:"source_id,omitempty"`

	// 事件类别
	Category *string `json:"category,omitempty"`

	// 事件级别
	Severity *string `json:"severity,omitempty"`

	// 事件标签
	Tag *string `json:"tag,omitempty"`

	// 是否开启订阅 1为开启,0为关闭
	Enable *int32 `json:"enable,omitempty"`

	// 租户凭证ID
	ProjectId *string `json:"project_id,omitempty"`

	// 所属服务
	NameSpace *string `json:"name_space,omitempty"`

	// 消息通知主题地址
	NotificationTarget *string `json:"notification_target,omitempty"`

	// 消息通知主题名称
	NotificationTargetName *string `json:"notification_target_name,omitempty"`

	// 消息通知类型
	NotificationTargetType *string `json:"notification_target_type,omitempty"`

	// 语言
	Language *string `json:"language,omitempty"`

	// 时区
	TimeZone *string `json:"time_zone,omitempty"`
}

事件订阅详情

func (EventSubscriptionResponse) String added in v0.1.14

func (o EventSubscriptionResponse) String() string

type ExecuteRedistributionClusterRequest added in v0.1.14

type ExecuteRedistributionClusterRequest struct {

	// 集群ID
	ClusterId string `json:"cluster_id"`

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

Request Object

func (ExecuteRedistributionClusterRequest) String added in v0.1.14

type ExecuteRedistributionClusterResponse added in v0.1.14

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

Response Object

func (ExecuteRedistributionClusterResponse) String added in v0.1.14

type ExpandInstanceStorage added in v0.1.18

type ExpandInstanceStorage struct {

	// 磁盘扩容后单节点有效存储容量(GB / 节点)。该容量必须大于当前单节点有效容量,小于等于集群规格支持的单节点最大容量,扩容容量为规格支持的步长倍数。集群规格配置详情可根据“查询节点类型”查询。
	NewSize int32 `json:"new_size"`
}

磁盘扩容后单节点有效存储容量(GB / 节点),集群总容量 = 单节点容量 x 节点数量。

func (ExpandInstanceStorage) String added in v0.1.18

func (o ExpandInstanceStorage) String() string

type ExpandInstanceStorageRequest added in v0.1.18

type ExpandInstanceStorageRequest struct {

	// 集群的ID。
	ClusterId string `json:"cluster_id"`

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

Request Object

func (ExpandInstanceStorageRequest) String added in v0.1.18

type ExpandInstanceStorageResponse added in v0.1.18

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

Response Object

func (ExpandInstanceStorageResponse) String added in v0.1.18

type ExtDataSource added in v0.1.14

type ExtDataSource struct {

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

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

	// 类型。
	Type *string `json:"type,omitempty"`

	// 数据库。
	ConnectInfo *string `json:"connect_info,omitempty"`

	// 用户名。
	UserName *string `json:"user_name,omitempty"`

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

	// 配置状态。
	ConfigureStatus *string `json:"configure_status,omitempty"`

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

	// 数据源id。
	DataSourceId *string `json:"data_source_id,omitempty"`

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

	// 更新时间。
	Updated *string `json:"updated,omitempty"`

	// 数据源更新时间。
	DataSourceUpdated *string `json:"data_source_updated,omitempty"`

	// 扩展信息。
	ExtendProperties *interface{} `json:"extend_properties,omitempty"`

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

	// 失败原因。
	FailReason *string `json:"fail_reason,omitempty"`
}

数据源信息

func (ExtDataSource) String added in v0.1.14

func (o ExtDataSource) String() string

type ExtDataSourceReq added in v0.1.18

type ExtDataSourceReq struct {

	// 数据源id
	DataSourceId *string `json:"data_source_id,omitempty"`

	// 类型
	Type string `json:"type"`

	// 数据源名称
	DataSourceName string `json:"data_source_name"`

	// 用户名
	UserName string `json:"user_name"`

	// 密码
	UserPwd *string `json:"user_pwd,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 重启
	Reboot *bool `json:"reboot,omitempty"`

	// 数据库
	ConnectInfo *string `json:"connect_info,omitempty"`
}

数据源请求

func (ExtDataSourceReq) String added in v0.1.18

func (o ExtDataSourceReq) String() string

type FailedReason

type FailedReason struct {

	// 错误码。
	ErrorCode *string `json:"error_code,omitempty"`

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

func (FailedReason) String

func (o FailedReason) String() string

type FineGrainedSnapshotDetail added in v0.1.14

type FineGrainedSnapshotDetail struct {

	// 数据库。
	Database *string `json:"database,omitempty"`

	// 模式列表。
	SchemaList *[]string `json:"schema_list,omitempty"`

	// 表集合。
	TableList *[]string `json:"table_list,omitempty"`
}

细粒度备份信息

func (FineGrainedSnapshotDetail) String added in v0.1.14

func (o FineGrainedSnapshotDetail) String() string

type Grant added in v0.1.44

type Grant struct {

	// 权限名称,根据不通数据库对象类型,拥有权限不同 - database  CREATE | CONNECT | TEMPORARY | TEMP  ALL  PRIVILEGES - schema  CREATE | USAGE | ALTER | DROP  ALL  PRIVILEGES - table  SELECT | INSERT | UPDATE | DELETE | TRUNCATE | REFERENCES | TRIGGER | ANALYZE | ANALYSE | VACUUM | ALTER | DROP  ALL  PRIVILEGES - view  SELECT | INSERT | UPDATE | DELETE | TRUNCATE | REFERENCES   | TRIGGER | ANALYZE | ANALYSE | VACUUM | ALTER | DROP  ALL  PRIVILEGES - column  SELECT | INSERT | UPDATE | REFERENCES  ALL  PRIVILEGES - function  EXECUTE  ALL  PRIVILEGES - sequence  SELECT | UPDATE | USAGE  ALL  PRIVILEGES - nodegroup  CREATE | USAGE | COMPUTE  ALL  PRIVILEGES - role  role_name(角色名称)
	Permission string `json:"permission"`

	// 是否包含授权选项
	GrantWith bool `json:"grant_with"`
}

授权信息

func (Grant) String added in v0.1.44

func (o Grant) String() string

type HostOverviewResponse added in v0.1.14

type HostOverviewResponse struct {

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

	// 主机名称
	HostName *string `json:"host_name,omitempty"`

	// 主机状态
	HostStat *string `json:"host_stat,omitempty"`

	// IP地址
	WorkIp *string `json:"work_ip,omitempty"`

	// 系统中未使用的内存(GB)。
	MemFree *float64 `json:"mem_free,omitempty"`

	// 总内存(GB)。
	MemTotal *float64 `json:"mem_total,omitempty"`

	// 内存使用率(GB)。
	MemUsage *float64 `json:"mem_usage,omitempty"`

	// 缓存内存(GB)。
	MemCached *float64 `json:"mem_cached,omitempty"`

	// 缓冲内存(MB)。
	MemBuffer *float64 `json:"mem_buffer,omitempty"`

	// ram暂存在swap中的大小(GB)。
	SwapFree *float64 `json:"swap_free,omitempty"`

	// 交换空间总和(GB)。
	SwapTotal *float64 `json:"swap_total,omitempty"`

	// CPU使用率(%)。
	CpuUsage *float64 `json:"cpu_usage,omitempty"`

	// 系统CPU占用率(%)。
	CpuUsageSys *float64 `json:"cpu_usage_sys,omitempty"`

	// 用户CPU占用率(%)。
	CpuUsageUsr *float64 `json:"cpu_usage_usr,omitempty"`

	// 空闲CPU占用率(%)。
	CpuIdle *float64 `json:"cpu_idle,omitempty"`

	// IO等待(%)。
	CpuIowait *float64 `json:"cpu_iowait,omitempty"`

	// 磁盘平均使用率(%)。
	DiskUsageAvg *float64 `json:"disk_usage_avg,omitempty"`

	// 磁盘总容量(GB)。
	DiskTotal *float64 `json:"disk_total,omitempty"`

	// 磁盘使用容量(GB)。
	DiskUsed *float64 `json:"disk_used,omitempty"`

	// 磁盘可用容量(GB)。
	DiskAvailable *float64 `json:"disk_available,omitempty"`

	// 磁盘IO(KB/s)。
	DiskIo *float64 `json:"disk_io,omitempty"`

	// 磁盘读速率(KB/s)。
	DiskIoRead *float64 `json:"disk_io_read,omitempty"`

	// 磁盘写速率(KB/s)。
	DiskIoWrite *float64 `json:"disk_io_write,omitempty"`

	// TCP协议栈重传率(%)。
	TcpResendRate *float64 `json:"tcp_resend_rate,omitempty"`

	// 网络IO(KB/s)。
	NetIo *float64 `json:"net_io,omitempty"`
}

func (HostOverviewResponse) String added in v0.1.14

func (o HostOverviewResponse) String() string

type IndicatorInfo added in v0.1.23

type IndicatorInfo struct {

	// 监控指标名称。
	IndicatorName *string `json:"indicator_name,omitempty"`

	// 采集模块名称。
	PluginName *string `json:"plugin_name,omitempty"`

	// 默认采集频率。
	DefaultCollectRate *string `json:"default_collect_rate,omitempty"`

	// 支持的集群版本。
	SupportDatastoreVersion *string `json:"support_datastore_version,omitempty"`
}

func (IndicatorInfo) String added in v0.1.23

func (o IndicatorInfo) String() string

type LinkCopyReq added in v0.1.18

type LinkCopyReq struct {

	// 快照名称
	BackupName string `json:"backup_name"`

	// 描述
	Description *string `json:"description,omitempty"`
}

快照复制请求

func (LinkCopyReq) String added in v0.1.18

func (o LinkCopyReq) String() string

type ListAlarmConfigsRequest added in v0.1.14

type ListAlarmConfigsRequest struct {

	// 偏移量
	Offset *string `json:"offset,omitempty"`

	// 限制条目数
	Limit *string `json:"limit,omitempty"`
}

Request Object

func (ListAlarmConfigsRequest) String added in v0.1.14

func (o ListAlarmConfigsRequest) String() string

type ListAlarmConfigsResponse added in v0.1.14

type ListAlarmConfigsResponse struct {

	// 告警配置总数
	Count *int32 `json:"count,omitempty"`

	// 告警配置列表
	AlarmConfigs   *[]AlarmConfigResponse `json:"alarm_configs,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ListAlarmConfigsResponse) String added in v0.1.14

func (o ListAlarmConfigsResponse) String() string

type ListAlarmDetailRequest added in v0.1.14

type ListAlarmDetailRequest struct {

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

	// 当前页
	Offset *string `json:"offset,omitempty"`

	// 总页数
	Limit *string `json:"limit,omitempty"`
}

Request Object

func (ListAlarmDetailRequest) String added in v0.1.14

func (o ListAlarmDetailRequest) String() string

type ListAlarmDetailResponse added in v0.1.14

type ListAlarmDetailResponse struct {

	// 告警详情总数
	Count *int32 `json:"count,omitempty"`

	// 告警列表
	AlarmDetails   *[]AlarmDetailResponse `json:"alarm_details,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ListAlarmDetailResponse) String added in v0.1.14

func (o ListAlarmDetailResponse) String() string

type ListAlarmStatisticRequest added in v0.1.14

type ListAlarmStatisticRequest struct {

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

Request Object

func (ListAlarmStatisticRequest) String added in v0.1.14

func (o ListAlarmStatisticRequest) String() string

type ListAlarmStatisticResponse added in v0.1.14

type ListAlarmStatisticResponse struct {

	// 告警统计列表
	AlarmStatistics *[]AlarmStatisticResponse `json:"alarm_statistics,omitempty"`
	HttpStatusCode  int                       `json:"-"`
}

Response Object

func (ListAlarmStatisticResponse) String added in v0.1.14

type ListAlarmSubsRequest added in v0.1.14

type ListAlarmSubsRequest struct {

	// 偏移量
	Offset *string `json:"offset,omitempty"`

	// 限制条目数
	Limit *string `json:"limit,omitempty"`
}

Request Object

func (ListAlarmSubsRequest) String added in v0.1.14

func (o ListAlarmSubsRequest) String() string

type ListAlarmSubsResponse added in v0.1.14

type ListAlarmSubsResponse struct {

	// 告警订阅总数
	Count *int32 `json:"count,omitempty"`

	// 告警订阅列表
	AlarmSubscriptions *[]AlarmSubscriptionResponse `json:"alarm_subscriptions,omitempty"`
	HttpStatusCode     int                          `json:"-"`
}

Response Object

func (ListAlarmSubsResponse) String added in v0.1.14

func (o ListAlarmSubsResponse) String() string

type ListAuditLogRequest added in v0.1.14

type ListAuditLogRequest struct {

	// 集群ID
	ClusterId string `json:"cluster_id"`
}

Request Object

func (ListAuditLogRequest) String added in v0.1.14

func (o ListAuditLogRequest) String() string

type ListAuditLogResponse added in v0.1.14

type ListAuditLogResponse struct {

	// 审计日志列表。
	Records *[]AuditDumpRecord `json:"records,omitempty"`

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

	// 总数。
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListAuditLogResponse) String added in v0.1.14

func (o ListAuditLogResponse) String() string

type ListAvailabilityZonesRequest added in v0.1.14

type ListAvailabilityZonesRequest struct {
}

Request Object

func (ListAvailabilityZonesRequest) String added in v0.1.14

type ListAvailabilityZonesResponse added in v0.1.14

type ListAvailabilityZonesResponse struct {

	// 可用区列表对象。
	AvailabilityZones *[]AvailabilityZone `json:"availability_zones,omitempty"`

	// 可用区数量。
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListAvailabilityZonesResponse) String added in v0.1.14

type ListAvailableDisasterClustersRequest added in v0.1.40

type ListAvailableDisasterClustersRequest struct {

	// 主集群ID
	PrimaryClusterId *string `json:"primary_cluster_id,omitempty"`

	// 主集群规格ID
	PrimarySpecId *string `json:"primary_spec_id,omitempty"`

	// 主集群DN数量
	PrimaryClusterDnNum *string `json:"primary_cluster_dn_num,omitempty"`

	// 备集群所在region
	StandbyRegion *string `json:"standby_region,omitempty"`

	// 备集群项目ID
	StandbyProjectId *string `json:"standby_project_id,omitempty"`

	// 备集群所在AZ
	StandbyAzCode *string `json:"standby_az_code,omitempty"`

	// 容灾类型
	DrType *string `json:"dr_type,omitempty"`

	// 数仓类型
	DatastoreType *string `json:"datastore_type,omitempty"`

	// 数仓版本
	DatastoreVersion *string `json:"datastore_version,omitempty"`
}

Request Object

func (ListAvailableDisasterClustersRequest) String added in v0.1.40

type ListAvailableDisasterClustersResponse added in v0.1.40

type ListAvailableDisasterClustersResponse struct {

	// 容灾可用集群列表
	DisasterRecoveryClusters *[]DisasterRecoveryClusterVo `json:"disaster_recovery_clusters,omitempty"`
	HttpStatusCode           int                          `json:"-"`
}

Response Object

func (ListAvailableDisasterClustersResponse) String added in v0.1.40

type ListClusterCnRequest added in v0.1.14

type ListClusterCnRequest struct {

	// 集群的ID。
	ClusterId string `json:"cluster_id"`
}

Request Object

func (ListClusterCnRequest) String added in v0.1.14

func (o ListClusterCnRequest) String() string

type ListClusterCnResponse added in v0.1.14

type ListClusterCnResponse struct {

	// 集群支持的最小CN节点数量。
	MinNum *int32 `json:"min_num,omitempty"`

	// 集群支持的最大CN节点数量。
	MaxNum *int32 `json:"max_num,omitempty"`

	// CN节点详情列表。
	Instances      *[]CoordinatorNode `json:"instances,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ListClusterCnResponse) String added in v0.1.14

func (o ListClusterCnResponse) String() string

type ListClusterConfigurationsParameterRequest added in v0.1.14

type ListClusterConfigurationsParameterRequest struct {

	// 集群的ID。
	ClusterId string `json:"cluster_id"`

	// 参数组ID。
	ConfigurationId string `json:"configuration_id"`
}

Request Object

func (ListClusterConfigurationsParameterRequest) String added in v0.1.14

type ListClusterConfigurationsParameterResponse added in v0.1.14

type ListClusterConfigurationsParameterResponse struct {

	// 集群使用的参数配置信息。
	Configurations *[]ConfigurationParameter `json:"configurations,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

Response Object

func (ListClusterConfigurationsParameterResponse) String added in v0.1.14

type ListClusterConfigurationsRequest added in v0.1.14

type ListClusterConfigurationsRequest struct {

	// 集群的ID。
	ClusterId string `json:"cluster_id"`
}

Request Object

func (ListClusterConfigurationsRequest) String added in v0.1.14

type ListClusterConfigurationsResponse added in v0.1.14

type ListClusterConfigurationsResponse struct {

	// 集群所关联的参数组信息。
	Configurations *[]ClusterConfiguration `json:"configurations,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

Response Object

func (ListClusterConfigurationsResponse) String added in v0.1.14

type ListClusterDetailsRequest

type ListClusterDetailsRequest struct {

	// 集群ID
	ClusterId string `json:"cluster_id"`
}

Request Object

func (ListClusterDetailsRequest) String

func (o ListClusterDetailsRequest) String() string

type ListClusterDetailsResponse

type ListClusterDetailsResponse struct {
	Cluster        *ClusterDetail `json:"cluster,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ListClusterDetailsResponse) String

type ListClusterScaleInNumbersRequest added in v0.1.14

type ListClusterScaleInNumbersRequest struct {

	// 集群ID
	ClusterId string `json:"cluster_id"`
}

Request Object

func (ListClusterScaleInNumbersRequest) String added in v0.1.14

type ListClusterScaleInNumbersResponse added in v0.1.14

type ListClusterScaleInNumbersResponse struct {

	// 合适的缩容数
	ShrinkSequence *[]string `json:"shrink_sequence,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListClusterScaleInNumbersResponse) String added in v0.1.14

type ListClusterSnapshotsRequest added in v0.1.14

type ListClusterSnapshotsRequest struct {

	// 集群ID
	ClusterId string `json:"cluster_id"`

	// 查询条数
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量
	Offset *int32 `json:"offset,omitempty"`

	// 排序字段
	SortKey *string `json:"sort_key,omitempty"`

	// 排序规则
	SortDir *string `json:"sort_dir,omitempty"`
}

Request Object

func (ListClusterSnapshotsRequest) String added in v0.1.14

type ListClusterSnapshotsResponse added in v0.1.14

type ListClusterSnapshotsResponse struct {

	// 快照对象列表。
	Snapshots *[]ClusterSnapshots `json:"snapshots,omitempty"`

	// 项目ID。
	ProjectId *string `json:"project_id,omitempty"`

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

	// 快照对象列表总数
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListClusterSnapshotsResponse) String added in v0.1.14

type ListClusterTagsRequest added in v0.1.14

type ListClusterTagsRequest struct {

	// 集群的ID。
	ClusterId string `json:"cluster_id"`
}

Request Object

func (ListClusterTagsRequest) String added in v0.1.14

func (o ListClusterTagsRequest) String() string

type ListClusterTagsResponse added in v0.1.14

type ListClusterTagsResponse struct {

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

Response Object

func (ListClusterTagsResponse) String added in v0.1.14

func (o ListClusterTagsResponse) String() string

type ListClusterWorkloadRequest added in v0.1.14

type ListClusterWorkloadRequest struct {

	// 集群ID
	ClusterId string `json:"cluster_id"`
}

Request Object

func (ListClusterWorkloadRequest) String added in v0.1.14

type ListClusterWorkloadResponse added in v0.1.14

type ListClusterWorkloadResponse struct {

	// 结果状态码。
	WorkloadResCode *int32 `json:"workload_res_code,omitempty"`

	// 结果描述。
	WorkloadResStr *string `json:"workload_res_str,omitempty"`

	WorkloadStatus *WorkloadStatus `json:"workload_status,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (ListClusterWorkloadResponse) String added in v0.1.14

type ListClustersRequest

type ListClustersRequest struct {
}

Request Object

func (ListClustersRequest) String

func (o ListClustersRequest) String() string

type ListClustersResponse

type ListClustersResponse struct {

	// 集群对象列表。
	Clusters *[]ClusterInfo `json:"clusters,omitempty"`

	// 集群对象列表总数。
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListClustersResponse) String

func (o ListClustersResponse) String() string

type ListDataSourceRequest added in v0.1.14

type ListDataSourceRequest struct {

	// 集群ID
	ClusterId string `json:"cluster_id"`
}

Request Object

func (ListDataSourceRequest) String added in v0.1.14

func (o ListDataSourceRequest) String() string

type ListDataSourceResponse added in v0.1.14

type ListDataSourceResponse struct {

	// 数据源列表。
	DataSources *[]ExtDataSource `json:"data_sources,omitempty"`

	// 项目ID。
	ProjectId *string `json:"project_id,omitempty"`

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

	// 数据源类型。
	Type *string `json:"type,omitempty"`

	// 总数。
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListDataSourceResponse) String added in v0.1.14

func (o ListDataSourceResponse) String() string

type ListDatabaseUsersRequest added in v0.1.44

type ListDatabaseUsersRequest struct {

	// cluster_id
	ClusterId string `json:"cluster_id"`
}

Request Object

func (ListDatabaseUsersRequest) String added in v0.1.44

func (o ListDatabaseUsersRequest) String() string

type ListDatabaseUsersResponse added in v0.1.44

type ListDatabaseUsersResponse struct {

	// user list
	Users          *[]DatabaseUser `json:"users,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (ListDatabaseUsersResponse) String added in v0.1.44

func (o ListDatabaseUsersResponse) String() string

type ListDisasterRecoverRequest added in v0.1.14

type ListDisasterRecoverRequest struct {
}

Request Object

func (ListDisasterRecoverRequest) String added in v0.1.14

type ListDisasterRecoverResponse added in v0.1.14

type ListDisasterRecoverResponse struct {

	// 容灾对象
	DisasterRecovery *[]DisasterRecovery `json:"disaster_recovery,omitempty"`
	HttpStatusCode   int                 `json:"-"`
}

Response Object

func (ListDisasterRecoverResponse) String added in v0.1.14

type ListDssPoolsRequest added in v0.1.14

type ListDssPoolsRequest struct {
}

Request Object

func (ListDssPoolsRequest) String added in v0.1.14

func (o ListDssPoolsRequest) String() string

type ListDssPoolsResponse added in v0.1.14

type ListDssPoolsResponse struct {

	// 专属分布式存储池详情列表。
	Pools *[]DssPool `json:"pools,omitempty"`

	// 专属分布式存储池个数。
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListDssPoolsResponse) String added in v0.1.14

func (o ListDssPoolsResponse) String() string

type ListElbsRequest added in v0.1.14

type ListElbsRequest struct {

	// 集群ID
	ClusterId string `json:"cluster_id"`
}

Request Object

func (ListElbsRequest) String added in v0.1.14

func (o ListElbsRequest) String() string

type ListElbsResponse added in v0.1.14

type ListElbsResponse struct {

	// 弹性负载均衡列表
	Elbs           *[]ClusterElbInfo `json:"elbs,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListElbsResponse) String added in v0.1.14

func (o ListElbsResponse) String() string

type ListEventSpecsRequest added in v0.1.14

type ListEventSpecsRequest struct {

	// 事件配置名称
	SpecName *string `json:"spec_name,omitempty"`

	// 事件类别
	Category *string `json:"category,omitempty"`

	// 事件级别
	Severity *string `json:"severity,omitempty"`

	// 事件源类别
	SourceType *string `json:"source_type,omitempty"`

	// 事件标签
	Tag *string `json:"tag,omitempty"`

	// 偏移量
	Offset *string `json:"offset,omitempty"`

	// 限制条目数
	Limit *string `json:"limit,omitempty"`
}

Request Object

func (ListEventSpecsRequest) String added in v0.1.14

func (o ListEventSpecsRequest) String() string

type ListEventSpecsResponse added in v0.1.14

type ListEventSpecsResponse struct {

	// 事件配置总数
	Count *int32 `json:"count,omitempty"`

	// 事件配置列表
	EventSpecs     *[]EventSpecResponse `json:"event_specs,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

Response Object

func (ListEventSpecsResponse) String added in v0.1.14

func (o ListEventSpecsResponse) String() string

type ListEventSubsRequest added in v0.1.14

type ListEventSubsRequest struct {

	// 偏移量
	Offset *string `json:"offset,omitempty"`

	// 限制条目数
	Limit *string `json:"limit,omitempty"`
}

Request Object

func (ListEventSubsRequest) String added in v0.1.14

func (o ListEventSubsRequest) String() string

type ListEventSubsResponse added in v0.1.14

type ListEventSubsResponse struct {

	// 事件订阅总数
	Count *int32 `json:"count,omitempty"`

	// 事件订阅详情列表
	EventSubscriptions *[]EventSubscriptionResponse `json:"event_subscriptions,omitempty"`
	HttpStatusCode     int                          `json:"-"`
}

Response Object

func (ListEventSubsResponse) String added in v0.1.14

func (o ListEventSubsResponse) String() string

type ListEventsRequest added in v0.1.14

type ListEventsRequest struct {

	// 偏移量
	Offset *string `json:"offset,omitempty"`

	// 限制条目数
	Limit *string `json:"limit,omitempty"`
}

Request Object

func (ListEventsRequest) String added in v0.1.14

func (o ListEventsRequest) String() string

type ListEventsResponse added in v0.1.14

type ListEventsResponse struct {

	// 事件详情列表
	Events *[]EventResponse `json:"events,omitempty"`

	// 事件总数
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListEventsResponse) String added in v0.1.14

func (o ListEventsResponse) String() string

type ListHostDiskRequest added in v0.1.14

type ListHostDiskRequest struct {

	// 集群ID。获取方法,请参见9.6-获取集群ID。
	ClusterId *string `json:"cluster_id,omitempty"`

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

	// 数据条目数。
	Limit int32 `json:"limit"`

	// 数据偏移量。
	Offset int32 `json:"offset"`
}

Request Object

func (ListHostDiskRequest) String added in v0.1.14

func (o ListHostDiskRequest) String() string

type ListHostDiskResponse added in v0.1.14

type ListHostDiskResponse struct {
	Body           *[]DiskResp `json:"body,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ListHostDiskResponse) String added in v0.1.14

func (o ListHostDiskResponse) String() string

type ListHostNetRequest added in v0.1.14

type ListHostNetRequest struct {

	// 集群ID。获取方法,请参见9.6-获取集群ID。
	ClusterId *string `json:"cluster_id,omitempty"`

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

	// 数据条目数。
	Limit int32 `json:"limit"`

	// 数据偏移量。
	Offset int32 `json:"offset"`
}

Request Object

func (ListHostNetRequest) String added in v0.1.14

func (o ListHostNetRequest) String() string

type ListHostNetResponse added in v0.1.14

type ListHostNetResponse struct {
	Body           *[]NetResp `json:"body,omitempty"`
	HttpStatusCode int        `json:"-"`
}

Response Object

func (ListHostNetResponse) String added in v0.1.14

func (o ListHostNetResponse) String() string

type ListHostOverviewRequest added in v0.1.14

type ListHostOverviewRequest struct {

	// 集群ID。获取方法,请参见9.6-获取集群ID。
	ClusterId *string `json:"cluster_id,omitempty"`

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

	// 数据条目数。
	Limit int32 `json:"limit"`

	// 数据偏移量。
	Offset int32 `json:"offset"`
}

Request Object

func (ListHostOverviewRequest) String added in v0.1.14

func (o ListHostOverviewRequest) String() string

type ListHostOverviewResponse added in v0.1.14

type ListHostOverviewResponse struct {

	// openApi查询主机概览
	Body           *[]HostOverviewResponse `json:"body,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

Response Object

func (ListHostOverviewResponse) String added in v0.1.14

func (o ListHostOverviewResponse) String() string

type ListJobDetailsRequest added in v0.1.14

type ListJobDetailsRequest struct {

	// 任务ID
	JobId string `json:"job_id"`
}

Request Object

func (ListJobDetailsRequest) String added in v0.1.14

func (o ListJobDetailsRequest) String() string

type ListJobDetailsResponse added in v0.1.14

type ListJobDetailsResponse struct {

	// 任务ID
	JobId *string `json:"job_id,omitempty"`

	// 任务名称
	JobName *string `json:"job_name,omitempty"`

	// 任务开始时间
	BeginTime *string `json:"begin_time,omitempty"`

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

	// 任务当前状态
	Status *string `json:"status,omitempty"`

	// 任务失败错误码
	FailedCode *string `json:"failed_code,omitempty"`

	// 任务失败错误详情
	FailedDetail *string `json:"failed_detail,omitempty"`

	// 任务进度
	Progress       *string `json:"progress,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListJobDetailsResponse) String added in v0.1.14

func (o ListJobDetailsResponse) String() string

type ListMonitorIndicatorDataRequest added in v0.1.23

type ListMonitorIndicatorDataRequest struct {

	// 开始时间。
	From string `json:"from"`

	// 结束时间。
	To string `json:"to"`

	// 取值方法。
	Function *string `json:"function,omitempty"`

	// 取值周期。
	Period *string `json:"period,omitempty"`

	// 指标名称。
	IndicatorName string `json:"indicator_name"`

	// 第一层级。
	Dim0 string `json:"dim0"`

	// 第二层级。
	Dim1 *string `json:"dim1,omitempty"`
}

Request Object

func (ListMonitorIndicatorDataRequest) String added in v0.1.23

type ListMonitorIndicatorDataResponse added in v0.1.23

type ListMonitorIndicatorDataResponse struct {
	Body           *[]TrendQueryDataResp `json:"body,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (ListMonitorIndicatorDataResponse) String added in v0.1.23

type ListMonitorIndicatorsRequest added in v0.1.23

type ListMonitorIndicatorsRequest struct {
}

Request Object

func (ListMonitorIndicatorsRequest) String added in v0.1.23

type ListMonitorIndicatorsResponse added in v0.1.23

type ListMonitorIndicatorsResponse struct {
	Body           *[]IndicatorInfo `json:"body,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (ListMonitorIndicatorsResponse) String added in v0.1.23

type ListNodeTypesRequest

type ListNodeTypesRequest struct {
}

Request Object

func (ListNodeTypesRequest) String

func (o ListNodeTypesRequest) String() string

type ListNodeTypesResponse

type ListNodeTypesResponse struct {

	// 节点类型对象列表。
	NodeTypes *[]NodeTypes `json:"node_types,omitempty"`

	// 节点类型总数
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListNodeTypesResponse) String

func (o ListNodeTypesResponse) String() string

type ListQuotasRequest added in v0.1.14

type ListQuotasRequest struct {
}

Request Object

func (ListQuotasRequest) String added in v0.1.14

func (o ListQuotasRequest) String() string

type ListQuotasResponse added in v0.1.14

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

Response Object

func (ListQuotasResponse) String added in v0.1.14

func (o ListQuotasResponse) String() string

type ListSnapshotDetailsRequest

type ListSnapshotDetailsRequest struct {

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

Request Object

func (ListSnapshotDetailsRequest) String

type ListSnapshotDetailsResponse

type ListSnapshotDetailsResponse struct {
	Snapshot       *SnapshotDetail `json:"snapshot,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (ListSnapshotDetailsResponse) String

type ListSnapshotPolicyRequest added in v0.1.14

type ListSnapshotPolicyRequest struct {

	// 集群ID
	ClusterId string `json:"cluster_id"`
}

Request Object

func (ListSnapshotPolicyRequest) String added in v0.1.14

func (o ListSnapshotPolicyRequest) String() string

type ListSnapshotPolicyResponse added in v0.1.14

type ListSnapshotPolicyResponse struct {

	// 保留天数。
	KeepDay *string `json:"keep_day,omitempty"`

	// 备份策略。
	BackupStrategies *[]BackupStrategyDetail `json:"backup_strategies,omitempty"`

	// 备份设备。
	DeviceName *string `json:"device_name,omitempty"`

	// 服务IP。
	ServerIps *[]string `json:"server_ips,omitempty"`

	// 服务端口。
	ServerPort *string `json:"server_port,omitempty"`

	// 参数。
	BackupParam    *string `json:"backup_param,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListSnapshotPolicyResponse) String added in v0.1.14

type ListSnapshotStatisticsRequest added in v0.1.14

type ListSnapshotStatisticsRequest struct {

	// 集群的ID。
	ClusterId string `json:"cluster_id"`
}

Request Object

func (ListSnapshotStatisticsRequest) String added in v0.1.14

type ListSnapshotStatisticsResponse added in v0.1.14

type ListSnapshotStatisticsResponse struct {

	// 快照统计信息。
	Statistics     *[]SnapshotsStatistic `json:"statistics,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (ListSnapshotStatisticsResponse) String added in v0.1.14

type ListSnapshotsRequest

type ListSnapshotsRequest struct {
}

Request Object

func (ListSnapshotsRequest) String

func (o ListSnapshotsRequest) String() string

type ListSnapshotsResponse

type ListSnapshotsResponse struct {

	// 快照对象列表。
	Snapshots *[]Snapshots `json:"snapshots,omitempty"`

	// 快照对象列表总数
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListSnapshotsResponse) String

func (o ListSnapshotsResponse) String() string

type ListStatisticsRequest added in v0.1.14

type ListStatisticsRequest struct {
}

Request Object

func (ListStatisticsRequest) String added in v0.1.14

func (o ListStatisticsRequest) String() string

type ListStatisticsResponse added in v0.1.14

type ListStatisticsResponse struct {

	// 资源数量信息列表。
	Statistics     *[]Statistic `json:"statistics,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ListStatisticsResponse) String added in v0.1.14

func (o ListStatisticsResponse) String() string

type ListTagsRequest added in v0.1.14

type ListTagsRequest struct {
}

Request Object

func (ListTagsRequest) String added in v0.1.14

func (o ListTagsRequest) String() string

type ListTagsResponse added in v0.1.14

type ListTagsResponse struct {

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

Response Object

func (ListTagsResponse) String added in v0.1.14

func (o ListTagsResponse) String() string

type ListWorkloadQueueRequest added in v0.1.14

type ListWorkloadQueueRequest struct {

	// 集群ID
	ClusterId string `json:"cluster_id"`
}

Request Object

func (ListWorkloadQueueRequest) String added in v0.1.14

func (o ListWorkloadQueueRequest) String() string

type ListWorkloadQueueResponse added in v0.1.14

type ListWorkloadQueueResponse struct {

	// 工作负载队列名称。
	WorkloadQueueNameList *[]string `json:"workload_queue_name_list,omitempty"`

	// 结果状态码。
	WorkloadResCode *int32 `json:"workload_res_code,omitempty"`

	// 结果描述。
	WorkloadResStr *string `json:"workload_res_str,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListWorkloadQueueResponse) String added in v0.1.14

func (o ListWorkloadQueueResponse) String() string

type MaintainWindow

type MaintainWindow struct {

	// 每周的维护时间,以天为粒度,取值如下:  - Mon:星期一 - Tue:星期二 - Wed:星期三 - Thu:星期四 - Fri:星期五 - Sat:星期六 - Sun:星期日
	Day *string `json:"day,omitempty"`

	// 维护开始时间,显示格式为 HH:mm,时区为GMT+0。
	StartTime *string `json:"start_time,omitempty"`

	// 维护结束时间,显示格式为 HH:mm, 时区为GMT+0。
	EndTime *string `json:"end_time,omitempty"`
}

集群维护时间窗信息

func (MaintainWindow) String

func (o MaintainWindow) String() string

type MaintenanceWindow added in v0.1.14

type MaintenanceWindow struct {

	// 日期,范围:Mon、Tue、Wed、Thu、Fri、Sat、Sun。
	Day string `json:"day"`

	// 开始时间,UTC时间,格式为HH:mm,例如:22:00。 - 时间必须是整点。 - 开始时间和结束时间必须间隔4小时。
	StartTime string `json:"start_time"`

	// 结束时间,UTC时间,格式为HH:mm,例如:02:00。 - 时间必须是整点。 - 开始时间和结束时间必须间隔4小时。
	EndTime string `json:"end_time"`
}

可维护时间段。

func (MaintenanceWindow) String added in v0.1.14

func (o MaintenanceWindow) String() string

type ModifyClusterDns added in v0.1.14

type ModifyClusterDns struct {

	// 待修改的域名。
	Name string `json:"name"`

	// 域名类型。 - public:公网域名。 - private:内网域名。
	Type string `json:"type"`

	// 用于填写默认生成的SOA记录中有效缓存时间,以秒为单位。 - 取值范围:300~2147483647。 - 默认值为300s。
	Ttl int32 `json:"ttl"`
}

修改的域名信息。

func (ModifyClusterDns) String added in v0.1.14

func (o ModifyClusterDns) String() string

type NetResp added in v0.1.14

type NetResp struct {

	// 虚拟集群ID。
	VirtualClusterId *int32 `json:"virtual_cluster_id,omitempty"`

	// 查询时间。
	Ctime *int64 `json:"ctime,omitempty"`

	// 主机ID。
	HostId *int32 `json:"host_id,omitempty"`

	// 主机名称。
	HostName *string `json:"host_name,omitempty"`

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

	// 网卡状态(true代表up/false代表down)。
	Up *bool `json:"up,omitempty"`

	// 网卡速度(Mbps)。
	Speed *int64 `json:"speed,omitempty"`

	// 接收包数(个)。
	RecvPackets *int64 `json:"recv_packets,omitempty"`

	// 发送包数(个)。
	SendPackets *int64 `json:"send_packets,omitempty"`

	// 接收丢包数(个)。
	RecvDrop *int64 `json:"recv_drop,omitempty"`

	// 接收速率(KB/s)。
	RecvRate *float64 `json:"recv_rate,omitempty"`

	// 发送速率(KB/s)。
	SendRate *float64 `json:"send_rate,omitempty"`

	// 网络速率(KB/s)。
	IoRate *float64 `json:"io_rate,omitempty"`

	// 网卡名称。
	InterfaceName *string `json:"interface_name,omitempty"`
}

func (NetResp) String added in v0.1.14

func (o NetResp) String() string

type NodeTypeAvailableZones added in v0.1.21

type NodeTypeAvailableZones struct {

	// 可用区ID。
	Code string `json:"code"`

	// 节点类型可用状态。 - normal:可用 - sellout:售罄 - abandon:不可用
	Status string `json:"status"`
}

节点类型支持的可用区及状态信息。

func (NodeTypeAvailableZones) String added in v0.1.21

func (o NodeTypeAvailableZones) String() string

type NodeTypeDatastores added in v0.1.21

type NodeTypeDatastores struct {

	// 内核版本号。
	Version string `json:"version"`

	Attachments *NodeTypeDatastoresAttachments `json:"attachments"`
}

内核版本信息。

func (NodeTypeDatastores) String added in v0.1.21

func (o NodeTypeDatastores) String() string

type NodeTypeDatastoresAttachments added in v0.1.21

type NodeTypeDatastoresAttachments struct {

	// 内核版本支持的最小CN。
	MinCn string `json:"min_cn"`

	// 内核版本支持的最大CN。
	MaxCn string `json:"max_cn"`
}

内核版本附加信息。

func (NodeTypeDatastoresAttachments) String added in v0.1.21

type NodeTypeElasticVolumeSpecs added in v0.1.21

type NodeTypeElasticVolumeSpecs struct {

	// 云盘存储类型。
	Type string `json:"type"`

	// 云盘容量调整步长。
	Step string `json:"step"`

	// 云盘支持的最小容量。
	MinSize int32 `json:"min_size"`

	// 云盘支持的最大容量。
	MaxSize int32 `json:"max_size"`
}

如果规格为弹性容量规格,则该属性为规格典配的弹性容量信息,包括存储类型、最小容量、最大容量以及步长信息,如果为固定存储规格,则该属性为null。

func (NodeTypeElasticVolumeSpecs) String added in v0.1.21

type NodeTypes

type NodeTypes struct {

	// 节点类型名称。
	SpecName string `json:"spec_name"`

	// 节点类型详细。
	Detail []Detail `json:"detail"`

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

	// 产品类型 - dws:云数仓。 - hybrid:实时数仓。 - stream:IoT数仓。
	DatastoreType string `json:"datastore_type"`

	// 支持的可用区及状态信息。
	AvailableZones []NodeTypeAvailableZones `json:"available_zones"`

	// 内存大小。
	Ram int32 `json:"ram"`

	// CPU数量。
	Vcpus int32 `json:"vcpus"`

	// 内核版本信息。
	Datastores []NodeTypeDatastores `json:"datastores"`

	Volume *VolumeResp `json:"volume"`

	// 如果规格为弹性容量规格,则该属性为规格典配的弹性容量信息,包括存储类型、最小容量、最大容量以及步长信息,如果为固定存储规格,则该属性为null。
	ElasticVolumeSpecs []NodeTypeElasticVolumeSpecs `json:"elastic_volume_specs"`
}

节点类型对象

func (NodeTypes) String

func (o NodeTypes) String() string

type Nodes added in v0.0.88

type Nodes struct {

	// 集群实例ID
	Id string `json:"id"`

	// 集群实例状态 - 100:创建中 - 199:空闲 - 200:可用 - 300:不可用 - 303:创建失败 - 304:删除中 - 305:删除失败 - 400:已删除
	Status string `json:"status"`
}

集群实例对象

func (Nodes) String added in v0.0.88

func (o Nodes) String() string

type ObjectAuthority added in v0.1.44

type ObjectAuthority struct {

	// 对象名称
	Name *string `json:"name,omitempty"`

	// 角色权限集合
	RoleAuthority *[]RoleAuthority `json:"role_authority,omitempty"`
}

对象权限信息

func (ObjectAuthority) String added in v0.1.44

func (o ObjectAuthority) String() string

type OpenPublicIp added in v0.1.14

type OpenPublicIp struct {

	// 弹性IP绑定类型,取值如下: auto_assign:自动绑定 not_use:暂未使用 bind_existing :使用已有
	PublicBindType *string `json:"public_bind_type,omitempty"`

	// 弹性IP的ID
	EipId *string `json:"eip_id,omitempty"`
}

弹性公网IP对象

func (OpenPublicIp) String added in v0.1.14

func (o OpenPublicIp) String() string

type ParameterGroup

type ParameterGroup struct {

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

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

	// 集群参数状态,有效值包括:  - In-Sync:已同步 - Applying:应用中 - Pending-Reboot:需重启生效 - Sync-Failure:应用失败
	Status string `json:"status"`
}

集群所关联的参数组信息

func (ParameterGroup) String

func (o ParameterGroup) String() string

type PauseDisasterRecoveryRequest added in v0.1.14

type PauseDisasterRecoveryRequest struct {

	// 容灾ID
	DisasterRecoveryId string `json:"disaster_recovery_id"`
}

Request Object

func (PauseDisasterRecoveryRequest) String added in v0.1.14

type PauseDisasterRecoveryResponse added in v0.1.14

type PauseDisasterRecoveryResponse struct {
	DisasterRecovery *DisasterRecoveryId `json:"disaster_recovery,omitempty"`
	HttpStatusCode   int                 `json:"-"`
}

Response Object

func (PauseDisasterRecoveryResponse) String added in v0.1.14

type ProjectTag added in v0.1.14

type ProjectTag struct {

	// 键。
	Key string `json:"key"`

	// 值。
	Values []string `json:"values"`
}

标签详情。

func (ProjectTag) String added in v0.1.14

func (o ProjectTag) String() string

type PublicEndpoints

type PublicEndpoints struct {

	// 公网连接信息
	PublicConnectInfo *string `json:"public_connect_info,omitempty"`

	// 公网JDBC URL,默认格式如下: jdbc:postgresql://<public_connect_info>/<YOUR_DATABASE_name>
	JdbcUrl *string `json:"jdbc_url,omitempty"`
}

func (PublicEndpoints) String

func (o PublicEndpoints) String() string

type PublicIp

type PublicIp struct {

	// 弹性IP绑定类型,取值如下:  - auto_assign:自动绑定 - not_use:暂未使用 - bind_existing :使用已有
	PublicBindType string `json:"public_bind_type"`

	// 弹性IP的id
	EipId *string `json:"eip_id,omitempty"`
}

func (PublicIp) String

func (o PublicIp) String() string

type QuotasQuotas added in v0.1.18

type QuotasQuotas struct {

	// 资源列表对象。
	Resources *[]QuotasResource `json:"resources,omitempty"`
}

配额列表对象。

func (QuotasQuotas) String added in v0.1.18

func (o QuotasQuotas) String() string

type QuotasResource added in v0.1.18

type QuotasResource struct {

	// 项目资源类型。
	Type string `json:"type"`

	// 已使用的资源数量。
	Used string `json:"used"`

	// 项目资源配额。
	Quota int32 `json:"quota"`

	// 资源计量单位。
	Unit int32 `json:"unit"`
}

资源配额详情。

func (QuotasResource) String added in v0.1.18

func (o QuotasResource) String() string

type ReconfigureExtDataSourceAction added in v0.1.14

type ReconfigureExtDataSourceAction struct {

	// 重启。
	Reboot *bool `json:"reboot,omitempty"`

	// 委托。
	Agency *string `json:"agency,omitempty"`
}

更新数据源配置

func (ReconfigureExtDataSourceAction) String added in v0.1.14

type ReconfigureExtDataSourceActionReq added in v0.1.18

type ReconfigureExtDataSourceActionReq struct {
	Reconfigure *ReconfigureExtDataSourceAction `json:"reconfigure"`
}

更新数据源配置

func (ReconfigureExtDataSourceActionReq) String added in v0.1.18

type RedistributionReq added in v0.1.18

type RedistributionReq struct {

	// 重分布模式
	RedisMode string `json:"redis_mode"`

	// 重分布并发数
	ParallelJobs int32 `json:"parallel_jobs"`
}

重分布请求

func (RedistributionReq) String added in v0.1.18

func (o RedistributionReq) String() string

type ResetPasswordRequest

type ResetPasswordRequest struct {

	// 指定待重置密码集群的ID
	ClusterId string `json:"cluster_id"`

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

Request Object

func (ResetPasswordRequest) String

func (o ResetPasswordRequest) String() string

type ResetPasswordRequestBody

type ResetPasswordRequestBody struct {

	// GaussDB(DWS) 集群管理员新密码。 新密码复杂度要求如下:  - 密码字符长度为8~32位。 - 不能与用户名或倒序的用户名相同。 - 至少包含以下4种类型的3种:    - 小写字母   - 大写字母   - 数字   - 特殊字符(~!?,.:;-_'\"(){}[]/<>@#%^&*+|\\=)。 - 不能与历史密码相同。 - 不能为弱密码。
	NewPassword string `json:"new_password"`
}

This is a auto create Body Object

func (ResetPasswordRequestBody) String

func (o ResetPasswordRequestBody) String() string

type ResetPasswordResponse

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

Response Object

func (ResetPasswordResponse) String

func (o ResetPasswordResponse) String() string

type ResizeClusterRequest

type ResizeClusterRequest struct {

	// 待调整大小的集群ID
	ClusterId string `json:"cluster_id"`

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

Request Object

func (ResizeClusterRequest) String

func (o ResizeClusterRequest) String() string

type ResizeClusterRequestBody

type ResizeClusterRequestBody struct {
	ScaleOut *ScaleOut `json:"scale_out,omitempty"`
}

This is a auto create Body Object

func (ResizeClusterRequestBody) String

func (o ResizeClusterRequestBody) String() string

type ResizeClusterResponse

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

Response Object

func (ResizeClusterResponse) String

func (o ResizeClusterResponse) String() string

type ResizeInfo

type ResizeInfo struct {

	// 扩容后的节点数量
	TargetNodeNum *int32 `json:"target_node_num,omitempty"`

	// 扩容前的节点数量
	OriginNodeNum *int32 `json:"origin_node_num,omitempty"`

	// 扩容状态,取值如下:  - GROWING:扩容中 - RESIZE_FAILURE:扩容失败
	ResizeStatus *string `json:"resize_status,omitempty"`

	// 扩容开始时间,格式为ISO8601:YYYY-MM-DDThh:mm:ss
	StartTime *string `json:"start_time,omitempty"`
}

集群扩容状态详情

func (ResizeInfo) String

func (o ResizeInfo) String() string

type ResourceTag added in v0.1.14

type ResourceTag struct {

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

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

标签详情。

func (ResourceTag) String added in v0.1.14

func (o ResourceTag) String() string

type RestartClusterRequest

type RestartClusterRequest struct {

	// 指定待重启集群的ID
	ClusterId string `json:"cluster_id"`

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

Request Object

func (RestartClusterRequest) String

func (o RestartClusterRequest) String() string

type RestartClusterRequestBody

type RestartClusterRequestBody struct {

	// 重启标识
	Restart *interface{} `json:"restart"`
}

This is a auto create Body Object

func (RestartClusterRequestBody) String

func (o RestartClusterRequestBody) String() string

type RestartClusterResponse

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

Response Object

func (RestartClusterResponse) String

func (o RestartClusterResponse) String() string

type Restore

type Restore struct {

	// 集群名称,要求唯一性,必须以字母开头并只包含字母、数字、中划线,下划线,长度为4~64个字符。
	Name string `json:"name"`

	// 指定子网ID,用于集群网络配置。默认值与原集群相同。
	SubnetId *string `json:"subnet_id,omitempty"`

	// 指定安全组ID,用于集群网络配置。默认值与原集群相同。
	SecurityGroupId *string `json:"security_group_id,omitempty"`

	// 指定虚拟私有云ID,用于集群网络配置。默认值与原集群相同。
	VpcId *string `json:"vpc_id,omitempty"`

	// 指定集群可用区。默认值与原集群相同。
	AvailabilityZone *string `json:"availability_zone,omitempty"`

	// 指定集群服务端口
	Port *int32 `json:"port,omitempty"`

	PublicIp *PublicIp `json:"public_ip,omitempty"`

	// 企业项目ID,对集群指定企业项目,如果未指定,则使用默认企业项目“default”的ID,即0。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

恢复对象

func (Restore) String

func (o Restore) String() string

type RestoreClusterRequest

type RestoreClusterRequest struct {

	// 待恢复的快照ID。
	SnapshotId string `json:"snapshot_id"`

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

Request Object

func (RestoreClusterRequest) String

func (o RestoreClusterRequest) String() string

type RestoreClusterRequestBody

type RestoreClusterRequestBody struct {
	Restore *Restore `json:"restore"`
}

This is a auto create Body Object

func (RestoreClusterRequestBody) String

func (o RestoreClusterRequestBody) String() string

type RestoreClusterResponse

type RestoreClusterResponse struct {
	Cluster        *Cluster `json:"cluster,omitempty"`
	HttpStatusCode int      `json:"-"`
}

Response Object

func (RestoreClusterResponse) String

func (o RestoreClusterResponse) String() string

type RestoreDisasterRequest added in v0.1.14

type RestoreDisasterRequest struct {

	// 容灾ID
	DisasterRecoveryId string `json:"disaster_recovery_id"`
}

Request Object

func (RestoreDisasterRequest) String added in v0.1.14

func (o RestoreDisasterRequest) String() string

type RestoreDisasterResponse added in v0.1.14

type RestoreDisasterResponse struct {
	DisasterRecovery *DisasterRecoveryId `json:"disaster_recovery,omitempty"`
	HttpStatusCode   int                 `json:"-"`
}

Response Object

func (RestoreDisasterResponse) String added in v0.1.14

func (o RestoreDisasterResponse) String() string

type RestorePoint added in v0.1.14

type RestorePoint struct {

	// 快照ID
	BackRef *string `json:"back_ref,omitempty"`

	// 恢复时间
	RestoreTime *int64 `json:"restore_time,omitempty"`

	// 集群ID
	ClusterId *string `json:"cluster_id,omitempty"`
}

恢复集群

func (RestorePoint) String added in v0.1.14

func (o RestorePoint) String() string

type Revoke added in v0.1.44

type Revoke struct {

	// 权限名称,根据不通数据库对象类型,拥有权限不同 - database  CREATE | CONNECT | TEMPORARY | TEMP  ALL  PRIVILEGES - schema  CREATE | USAGE | ALTER | DROP  ALL  PRIVILEGES - table  SELECT | INSERT | UPDATE | DELETE | TRUNCATE | REFERENCES | TRIGGER | ANALYZE | ANALYSE | VACUUM | ALTER | DROP  ALL  PRIVILEGES - view  SELECT | INSERT | UPDATE | DELETE | TRUNCATE | REFERENCES   | TRIGGER | ANALYZE | ANALYSE | VACUUM | ALTER | DROP  ALL  PRIVILEGES - column  SELECT | INSERT | UPDATE | REFERENCES  ALL  PRIVILEGES - function  EXECUTE  ALL  PRIVILEGES - sequence  SELECT | UPDATE | USAGE  ALL  PRIVILEGES - nodegroup  CREATE | USAGE | COMPUTE  ALL  PRIVILEGES - role  role_name(角色名称)
	Permission string `json:"permission"`

	// 是否仅移除授权选项
	RevokeWith bool `json:"revoke_with"`
}

移除权限信息

func (Revoke) String added in v0.1.44

func (o Revoke) String() string

type RoleAuthority added in v0.1.44

type RoleAuthority struct {

	// 角色名称
	Role *string `json:"role,omitempty"`

	// 权限列表
	RightList *[]string `json:"right_list,omitempty"`
}

角色权限信息

func (RoleAuthority) String added in v0.1.44

func (o RoleAuthority) String() string

type ScaleOut

type ScaleOut struct {

	// 扩容节点数。
	Count int32 `json:"count"`
}

扩容集群详情

func (ScaleOut) String

func (o ScaleOut) String() string

type ShowDatabaseAuthorityRequest added in v0.1.44

type ShowDatabaseAuthorityRequest struct {

	// cluster_id
	ClusterId string `json:"cluster_id"`

	// 对象类型 [DATABASE | SCHEMA | TABLE | VIEW | COLUMN| FUNCTION|| SEQUENCE| NODEGROUP]
	Type string `json:"type"`

	// 对象名称
	Name []string `json:"name"`

	// 数据库名
	Database string `json:"database"`

	// 模式名,对象类型为TABLE、VIEW、COLUMN、FUNCTION、SEQUENCE时必选
	Schema *string `json:"schema,omitempty"`

	// 表名,对象类型为COLUMN时必选
	Table *string `json:"table,omitempty"`
}

Request Object

func (ShowDatabaseAuthorityRequest) String added in v0.1.44

type ShowDatabaseAuthorityResponse added in v0.1.44

type ShowDatabaseAuthorityResponse struct {

	// 对象权限集合
	Authorities    *[]ObjectAuthority `json:"authorities,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ShowDatabaseAuthorityResponse) String added in v0.1.44

type ShowDatabaseUserRequest added in v0.1.44

type ShowDatabaseUserRequest struct {

	// cluster_id
	ClusterId string `json:"cluster_id"`

	// name
	Name string `json:"name"`
}

Request Object

func (ShowDatabaseUserRequest) String added in v0.1.44

func (o ShowDatabaseUserRequest) String() string

type ShowDatabaseUserResponse added in v0.1.44

type ShowDatabaseUserResponse struct {

	// 是否可以登陆
	Login *bool `json:"login,omitempty"`

	// 创建角色权限
	Createrole *bool `json:"createrole,omitempty"`

	// 创建数据库权限
	Createdb *bool `json:"createdb,omitempty"`

	// 系统管理员
	Systemadmin *bool `json:"systemadmin,omitempty"`

	// 审计管理员
	Auditadmin *bool `json:"auditadmin,omitempty"`

	// 继承所在组权限
	Inherit *bool `json:"inherit,omitempty"`

	// 访问外表权限
	Useft *bool `json:"useft,omitempty"`

	// 连接数限制
	ConnLimit *int32 `json:"conn_limit,omitempty"`

	// 是否允许流复制
	Replication *bool `json:"replication,omitempty"`

	// 角色生效时间
	ValidBegin *int64 `json:"valid_begin,omitempty"`

	// 角色过期时间
	ValidUntil *int64 `json:"valid_until,omitempty"`

	// 是否锁定
	Lock           *bool `json:"lock,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (ShowDatabaseUserResponse) String added in v0.1.44

func (o ShowDatabaseUserResponse) String() string

type ShowDisasterDetailRequest added in v0.1.40

type ShowDisasterDetailRequest struct {

	// 容灾ID
	DisasterRecoveryId string `json:"disaster_recovery_id"`
}

Request Object

func (ShowDisasterDetailRequest) String added in v0.1.40

func (o ShowDisasterDetailRequest) String() string

type ShowDisasterDetailResponse added in v0.1.40

type ShowDisasterDetailResponse struct {
	DisasterRecovery *DisasterRecoveryQueryResp `json:"disaster_recovery,omitempty"`
	HttpStatusCode   int                        `json:"-"`
}

Response Object

func (ShowDisasterDetailResponse) String added in v0.1.40

type ShowDisasterProgressRequest added in v0.1.44

type ShowDisasterProgressRequest struct {

	// disaster_recovery_id
	DisasterRecoveryId string `json:"disaster_recovery_id"`
}

Request Object

func (ShowDisasterProgressRequest) String added in v0.1.44

type ShowDisasterProgressResponse added in v0.1.44

type ShowDisasterProgressResponse struct {
	DisasterRecoveryProgress *ClusterDisasterRecovery `json:"disaster_recovery_progress,omitempty"`
	HttpStatusCode           int                      `json:"-"`
}

Response Object

func (ShowDisasterProgressResponse) String added in v0.1.44

type ShrinkClusterRequest added in v0.1.14

type ShrinkClusterRequest struct {

	// 集群ID
	ClusterId string `json:"cluster_id"`

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

Request Object

func (ShrinkClusterRequest) String added in v0.1.14

func (o ShrinkClusterRequest) String() string

type ShrinkClusterResponse added in v0.1.14

type ShrinkClusterResponse struct {

	// 缩容job_id。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShrinkClusterResponse) String added in v0.1.14

func (o ShrinkClusterResponse) String() string

type Snapshot

type Snapshot struct {

	// 快照名称,要求唯一性且必须以字母开头,不区分大小写,可以包含字母、数字、中划线或者下划线,不能包含其他的特殊字符,长度为4~64个字符。
	Name string `json:"name"`

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

	// 快照描述,若不指定,描述为空。快照描述的字符长度不能超过256个字符,且不支持特殊字符!<>'=&\"。
	Description *string `json:"description,omitempty"`
}

快照对象

func (Snapshot) String

func (o Snapshot) String() string

type SnapshotDetail added in v0.0.85

type SnapshotDetail struct {

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

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

	// 快照描述。
	Description string `json:"description"`

	// 快照创建的日期时间,格式为 ISO8601: YYYY-MM-DDThh:mm:ssZ。
	Started string `json:"started"`

	// 快照完成的日期时间,格式为 ISO8601: YYYY-MM-DDThh:mm:ssZ。
	Finished string `json:"finished"`

	// 快照大小,单位GB。
	Size float64 `json:"size"`

	// 快照状态: - CREATING:创建中。 - AVAILABLE:可用。 - UNAVAILABLE:不可用。
	Status string `json:"status"`

	// 快照创建类型。
	Type string `json:"type"`

	// 快照对应的集群ID
	ClusterId string `json:"cluster_id"`

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

	// 快照对应的集群名称。
	ClusterName *string `json:"cluster_name,omitempty"`

	// 快照预计开始时间。
	BakExpectedStartTime *string `json:"bak_expected_start_time,omitempty"`

	// 快照保留天数。
	BakKeepDay *int32 `json:"bak_keep_day,omitempty"`

	// 快照策略。
	BakPeriod *string `json:"bak_period,omitempty"`

	// 数据库用户。
	DbUser *string `json:"db_user,omitempty"`

	// 快照进度。
	Progress *string `json:"progress,omitempty"`

	// 快照BakcupKey。
	BackupKey *string `json:"backup_key,omitempty"`

	// 增量快照,使用的前一个快照BakcupKey。
	PriorBackupKey *string `json:"prior_backup_key,omitempty"`

	// 对应全量快照BakcupKey。
	BaseBackupKey *string `json:"base_backup_key,omitempty"`

	// 备份介质。
	BackupDevice *string `json:"backup_device,omitempty"`

	// 累计快照大小。
	TotalBackupSize *int32 `json:"total_backup_size,omitempty"`

	// 对应全量快照名称。
	BaseBackupName *string `json:"base_backup_name,omitempty"`

	// 是否支持就地恢复。
	SupportInplaceRestore *bool `json:"support_inplace_restore,omitempty"`

	// 是否是细粒度备份。
	FineGrainedBackup *bool `json:"fine_grained_backup,omitempty"`

	// 备份级别。
	BackupLevel *string `json:"backup_level,omitempty"`

	FineGrainedBackupDetail *FineGrainedSnapshotDetail `json:"fine_grained_backup_detail,omitempty"`

	// guestAgent版本。
	GuestAgentVersion *string `json:"guest_agent_version,omitempty"`

	// 集群状态。
	ClusterStatus *string `json:"cluster_status,omitempty"`
}

快照详情对象

func (SnapshotDetail) String added in v0.0.85

func (o SnapshotDetail) String() string

type SnapshotResp

type SnapshotResp struct {

	// Snapshot ID
	Id *string `json:"id,omitempty"`
}

func (SnapshotResp) String

func (o SnapshotResp) String() string

type Snapshots

type Snapshots struct {

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

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

	// 快照描述。
	Description string `json:"description"`

	// 快照创建的日期时间,格式为 ISO8601: YYYY-MM-DDThh:mm:ssZ。
	Started string `json:"started"`

	// 快照完成的日期时间,格式为 ISO8601: YYYY-MM-DDThh:mm:ssZ。
	Finished string `json:"finished"`

	// 快照大小,单位 GB。
	Size float64 `json:"size"`

	// 快照状态:  - CREATING:创建中。 - AVAILABLE:可用。 - UNAVAILABLE:不可用。
	Status string `json:"status"`

	// 快照创建类型
	Type string `json:"type"`

	// 快照对应的集群ID
	ClusterId string `json:"cluster_id"`
}

快照对象列表

func (Snapshots) String

func (o Snapshots) String() string

type SnapshotsStatistic added in v0.1.14

type SnapshotsStatistic struct {

	// 资源统计信息名称。 - storage.free:免费容量。 - storage.paid:付费容量。 - storage.used:已用容量。
	Name string `json:"name"`

	// 资源统计信息值。
	Value float32 `json:"value"`

	// 资源统计信息单位。
	Unit string `json:"unit"`
}

快照统计信息。

func (SnapshotsStatistic) String added in v0.1.14

func (o SnapshotsStatistic) String() string

type StartDisasterRecoveryRequest added in v0.1.14

type StartDisasterRecoveryRequest struct {

	// 容灾ID
	DisasterRecoveryId string `json:"disaster_recovery_id"`
}

Request Object

func (StartDisasterRecoveryRequest) String added in v0.1.14

type StartDisasterRecoveryResponse added in v0.1.14

type StartDisasterRecoveryResponse struct {
	DisasterRecovery *DisasterRecoveryId `json:"disaster_recovery,omitempty"`
	HttpStatusCode   int                 `json:"-"`
}

Response Object

func (StartDisasterRecoveryResponse) String added in v0.1.14

type Statistic added in v0.1.14

type Statistic struct {

	// 资源名称。 - cluster.total:总集群(个)。 - cluster.normal:可用集群(个)。 - instance.total:总节点(个)。 - instance.normal:可用节点(个)。 - storage.total:总容量(GB)。
	Name string `json:"name"`

	// 资源数量值。
	Value float64 `json:"value"`

	// 资源数量单位。
	Unit string `json:"unit"`
}

资源数量详情。

func (Statistic) String added in v0.1.14

func (o Statistic) String() string

type SwitchFailoverDisasterRequest added in v0.1.14

type SwitchFailoverDisasterRequest struct {

	// 容灾ID
	DisasterRecoveryId string `json:"disaster_recovery_id"`
}

Request Object

func (SwitchFailoverDisasterRequest) String added in v0.1.14

type SwitchFailoverDisasterResponse added in v0.1.14

type SwitchFailoverDisasterResponse struct {
	DisasterRecovery *DisasterRecoveryId `json:"disaster_recovery,omitempty"`
	HttpStatusCode   int                 `json:"-"`
}

Response Object

func (SwitchFailoverDisasterResponse) String added in v0.1.14

type SwitchOverClusterRequest added in v0.1.14

type SwitchOverClusterRequest struct {

	// 集群的ID。
	ClusterId string `json:"cluster_id"`
}

Request Object

func (SwitchOverClusterRequest) String added in v0.1.14

func (o SwitchOverClusterRequest) String() string

type SwitchOverClusterResponse added in v0.1.14

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

Response Object

func (SwitchOverClusterResponse) String added in v0.1.14

func (o SwitchOverClusterResponse) String() string

type SwitchoverDisasterRecoveryRequest added in v0.1.14

type SwitchoverDisasterRecoveryRequest struct {

	// 容灾ID
	DisasterRecoveryId string `json:"disaster_recovery_id"`
}

Request Object

func (SwitchoverDisasterRecoveryRequest) String added in v0.1.14

type SwitchoverDisasterRecoveryResponse added in v0.1.14

type SwitchoverDisasterRecoveryResponse struct {
	DisasterRecovery *DisasterRecoveryId `json:"disaster_recovery,omitempty"`
	HttpStatusCode   int                 `json:"-"`
}

Response Object

func (SwitchoverDisasterRecoveryResponse) String added in v0.1.14

type SyncIamUsersRequest added in v0.1.44

type SyncIamUsersRequest struct {

	// cluster_id
	ClusterId string `json:"cluster_id"`
}

Request Object

func (SyncIamUsersRequest) String added in v0.1.44

func (o SyncIamUsersRequest) String() string

type SyncIamUsersResponse added in v0.1.44

type SyncIamUsersResponse struct {

	// 创建成功用户列表
	SyncUser       *[]string `json:"sync_user,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (SyncIamUsersResponse) String added in v0.1.44

func (o SyncIamUsersResponse) String() string

type Tag added in v0.1.14

type Tag struct {

	// 标签key
	Key *string `json:"key,omitempty"`

	// 标签值
	Value *string `json:"value,omitempty"`
}

标签

func (Tag) String added in v0.1.14

func (o Tag) String() string

type Tags

type Tags struct {

	// 键。输入标签键的最大长度为128个unicode字符,不能为空字符串,且首尾字符不能为空格。 不能包含“=”,“*”,“<”,“>”,“\\\\”,“,”,“|”,“/”。 只能包含大写字母(A-Z)、小写字母(a-z)、数字(0-9)和特殊字符(中划线-、下划线_)以及中文字符。
	Key string `json:"key"`

	// 值。输入标签值的最大长度为256个字符,首尾字符不能为空格,可以为空字符串。 不能包含“=”,“*”,“<”,“>”,“\\\\”,“,”,“|”,“/”。 只能包含大写字母(A-Z)、小写字母(a-z)、数字(0-9)和特殊字符(中划线-、下划线_)以及中文字符。
	Value string `json:"value"`
}

标签列表

func (Tags) String

func (o Tags) String() string

type TrendQueryData added in v0.1.23

type TrendQueryData struct {

	// 查询结果。
	Result *string `json:"result,omitempty"`

	// 时间戳。
	Timestamp *int64 `json:"timestamp,omitempty"`
}

func (TrendQueryData) String added in v0.1.23

func (o TrendQueryData) String() string

type TrendQueryDataResp added in v0.1.23

type TrendQueryDataResp struct {

	// 查询时间。
	QueryTime *int64 `json:"query_time,omitempty"`

	// 监控指标名称。
	IndicatorName *string `json:"indicator_name,omitempty"`

	// 监控对象id。
	ObjectId *string `json:"object_id,omitempty"`

	// 单位。
	Unit *string `json:"unit,omitempty"`

	// 次级监控id。
	SubObjectId *string `json:"sub_object_id,omitempty"`

	// 节点数据。
	DataPoints *[]TrendQueryData `json:"data_points,omitempty"`
}

func (TrendQueryDataResp) String added in v0.1.23

func (o TrendQueryDataResp) String() string

type UpdateAlarmSubRequest added in v0.1.14

type UpdateAlarmSubRequest struct {

	// 告警订阅ID
	AlarmSubId string `json:"alarm_sub_id"`

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

Request Object

func (UpdateAlarmSubRequest) String added in v0.1.14

func (o UpdateAlarmSubRequest) String() string

type UpdateAlarmSubResponse added in v0.1.14

type UpdateAlarmSubResponse struct {

	// 告警订阅ID
	Id *string `json:"id,omitempty"`

	// 告警订阅名称
	Name *string `json:"name,omitempty"`

	// 是否开启订阅
	Enable *int32 `json:"enable,omitempty"`

	// 告警级别
	AlarmLevel *string `json:"alarm_level,omitempty"`

	// 租户凭证ID
	ProjectId *string `json:"project_id,omitempty"`

	// 所属服务,支持DWS,DLI,DGC,CloudTable,CDM,GES,CSS
	NameSpace *string `json:"name_space,omitempty"`

	// 消息主题地址
	NotificationTarget *string `json:"notification_target,omitempty"`

	// 消息主题名称
	NotificationTargetName *string `json:"notification_target_name,omitempty"`

	// 消息主题类型
	NotificationTargetType *string `json:"notification_target_type,omitempty"`

	// 语言
	Language *string `json:"language,omitempty"`

	// 时区
	TimeZone       *string `json:"time_zone,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateAlarmSubResponse) String added in v0.1.14

func (o UpdateAlarmSubResponse) String() string

type UpdateClusterDnsRequest added in v0.1.14

type UpdateClusterDnsRequest struct {

	// 集群的ID
	ClusterId string `json:"cluster_id"`

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

Request Object

func (UpdateClusterDnsRequest) String added in v0.1.14

func (o UpdateClusterDnsRequest) String() string

type UpdateClusterDnsResponse added in v0.1.14

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

Response Object

func (UpdateClusterDnsResponse) String added in v0.1.14

func (o UpdateClusterDnsResponse) String() string

type UpdateConfigurationRequest added in v0.1.14

type UpdateConfigurationRequest struct {

	// 集群的ID。
	ClusterId string `json:"cluster_id"`

	// 参数组ID。
	ConfigurationId string `json:"configuration_id"`

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

Request Object

func (UpdateConfigurationRequest) String added in v0.1.14

type UpdateConfigurationResponse added in v0.1.14

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

Response Object

func (UpdateConfigurationResponse) String added in v0.1.14

type UpdateDataSourceRequest added in v0.1.14

type UpdateDataSourceRequest struct {

	// 集群ID
	ClusterId string `json:"cluster_id"`

	// 数据源id
	ExtDataSourceId string `json:"ext_data_source_id"`

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

Request Object

func (UpdateDataSourceRequest) String added in v0.1.14

func (o UpdateDataSourceRequest) String() string

type UpdateDataSourceResponse added in v0.1.14

type UpdateDataSourceResponse struct {

	// 更新数据源job_id。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateDataSourceResponse) String added in v0.1.14

func (o UpdateDataSourceResponse) String() string

type UpdateDatabaseAuthorityRequest added in v0.1.44

type UpdateDatabaseAuthorityRequest struct {

	// cluster_id
	ClusterId string `json:"cluster_id"`

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

Request Object

func (UpdateDatabaseAuthorityRequest) String added in v0.1.44

type UpdateDatabaseAuthorityResponse added in v0.1.44

type UpdateDatabaseAuthorityResponse struct {

	// sql列表
	ViewSql        *[]string `json:"view_sql,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (UpdateDatabaseAuthorityResponse) String added in v0.1.44

type UpdateDatabaseUserInfoRequest added in v0.1.44

type UpdateDatabaseUserInfoRequest struct {

	// cluster_id
	ClusterId string `json:"cluster_id"`

	// name
	Name string `json:"name"`

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

Request Object

func (UpdateDatabaseUserInfoRequest) String added in v0.1.44

type UpdateDatabaseUserInfoResponse added in v0.1.44

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

Response Object

func (UpdateDatabaseUserInfoResponse) String added in v0.1.44

type UpdateDisasterInfoRequest added in v0.1.40

type UpdateDisasterInfoRequest struct {

	// 容灾ID
	DisasterRecoveryId string `json:"disaster_recovery_id"`

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

Request Object

func (UpdateDisasterInfoRequest) String added in v0.1.40

func (o UpdateDisasterInfoRequest) String() string

type UpdateDisasterInfoResponse added in v0.1.40

type UpdateDisasterInfoResponse struct {
	DisasterRecovery *DisasterRecoveryId `json:"disaster_recovery,omitempty"`
	HttpStatusCode   int                 `json:"-"`
}

Response Object

func (UpdateDisasterInfoResponse) String added in v0.1.40

type UpdateDisasterRecoveryReq added in v0.1.40

type UpdateDisasterRecoveryReq struct {

	// 容灾同步周期
	DrSyncPeriod *string `json:"dr_sync_period,omitempty"`

	// 是否发送请求
	SendRequest *int32 `json:"send_request,omitempty"`

	// 主集群角色
	PrimaryToRole *string `json:"primary_to_role,omitempty"`

	// 设置容灾动作
	ResetAction *string `json:"reset_action,omitempty"`

	// 备集群角色
	StandbyToRole *string `json:"standby_to_role,omitempty"`

	// 容灾状态
	DrStatus *string `json:"dr_status,omitempty"`
}

更新容灾配置请求体

func (UpdateDisasterRecoveryReq) String added in v0.1.40

func (o UpdateDisasterRecoveryReq) String() string

type UpdateDisasterRecoveryRequest added in v0.1.40

type UpdateDisasterRecoveryRequest struct {
	DisasterRecovery *UpdateDisasterRecoveryReq `json:"disaster_recovery,omitempty"`
}

func (UpdateDisasterRecoveryRequest) String added in v0.1.40

type UpdateEventSubRequest added in v0.1.14

type UpdateEventSubRequest struct {

	// 事件订阅ID
	EventSubId string `json:"event_sub_id"`

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

Request Object

func (UpdateEventSubRequest) String added in v0.1.14

func (o UpdateEventSubRequest) String() string

type UpdateEventSubResponse added in v0.1.14

type UpdateEventSubResponse struct {

	// 订阅ID
	Id *string `json:"id,omitempty"`

	// 订阅名称
	Name *string `json:"name,omitempty"`

	// 事件源类型
	SourceType *string `json:"source_type,omitempty"`

	// 事件源ID
	SourceId *string `json:"source_id,omitempty"`

	// 事件类别
	Category *string `json:"category,omitempty"`

	// 事件级别
	Severity *string `json:"severity,omitempty"`

	// 事件标签
	Tag *string `json:"tag,omitempty"`

	// 是否开启订阅 1为开启,0为关闭
	Enable *int32 `json:"enable,omitempty"`

	// 租户凭证ID
	ProjectId *string `json:"project_id,omitempty"`

	// 所属服务
	NameSpace *string `json:"name_space,omitempty"`

	// 消息通知主题地址
	NotificationTarget *string `json:"notification_target,omitempty"`

	// 消息通知主题名称
	NotificationTargetName *string `json:"notification_target_name,omitempty"`

	// 消息通知类型
	NotificationTargetType *string `json:"notification_target_type,omitempty"`

	// 语言
	Language *string `json:"language,omitempty"`

	// 时区
	TimeZone       *string `json:"time_zone,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateEventSubResponse) String added in v0.1.14

func (o UpdateEventSubResponse) String() string

type UpdateMaintenanceWindowRequest added in v0.1.14

type UpdateMaintenanceWindowRequest struct {

	// 集群的ID。
	ClusterId string `json:"cluster_id"`

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

Request Object

func (UpdateMaintenanceWindowRequest) String added in v0.1.14

type UpdateMaintenanceWindowResponse added in v0.1.14

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

Response Object

func (UpdateMaintenanceWindowResponse) String added in v0.1.14

type V2CreateCluster added in v0.1.27

type V2CreateCluster struct {

	// 集群名称,要求唯一性,必须以字母开头并只包含字母、数字、中划线或下划线,长度为4~64个字符。
	Name string `json:"name"`

	// 集群规格名称。节点类型详情请参见数据仓库类型数据仓库类型。
	Flavor string `json:"flavor"`

	// 集群CN数量,取值范围为2~集群节点数,最大值为20,默认值为3。
	NumCn int32 `json:"num_cn"`

	// 集群节点数量,集群模式取值范围为3~256,实时数仓(单机模式)取值为1。
	NumNode int32 `json:"num_node"`

	// 管理员用户名称。用户命名要求如下: 只能由小写字母、数字或下划线组成。 必须由小写字母或下划线开头。 长度为1~63个字符。用户名不能为DWS数据库的关键字。
	DbName string `json:"db_name"`

	// 管理员用户密码。 8~32个字符 至少包含以下字符中的3种:大写字母、小写字母、数字和特殊字符(~!?,.:;-_(){}[]/<>@#%^&*+|\\=)。不能与用户名或倒序的用户名相同。
	DbPassword string `json:"db_password"`

	// 集群数据库端口,取值范围为8000~30000,默认值:8000。
	DbPort int32 `json:"db_port"`

	// 专属存储池ID
	DssPoolId *string `json:"dss_pool_id,omitempty"`

	// 可用区列表。集群可用区选择详情请参见地区和终端节点地区和终端节点。
	AvailabilityZones []string `json:"availability_zones"`

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

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

	// 指定子网ID,用于集群网络配置。
	SubnetId string `json:"subnet_id"`

	// 指定安全组ID,用于集群网络配置。
	SecurityGroupId *string `json:"security_group_id,omitempty"`

	PublicIp *PublicIp `json:"public_ip,omitempty"`

	// 集群版本
	DatastoreVersion string `json:"datastore_version"`

	// 密钥ID
	MasterKeyId *string `json:"master_key_id,omitempty"`

	// 密钥名称
	MasterKeyName *string `json:"master_key_name,omitempty"`

	// 加密算法
	CryptAlgorithm *string `json:"crypt_algorithm,omitempty"`

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

	// 企业项目ID,对集群指定企业项目,如果未指定,则使用默认企业项目“default”的ID,即0。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

v2创建集群请求

func (V2CreateCluster) String added in v0.1.27

func (o V2CreateCluster) String() string

type V2CreateClusterReq added in v0.1.27

type V2CreateClusterReq struct {
	Cluster *V2CreateCluster `json:"cluster,omitempty"`
}

V2接口创建集群请求体。

func (V2CreateClusterReq) String added in v0.1.27

func (o V2CreateClusterReq) String() string

type Volume added in v0.1.14

type Volume struct {

	// 磁盘名称,取值范围为 SSD(超高IO),高IO(SAS),普通IO(SATA)
	Volume *string `json:"volume,omitempty"`

	// 磁盘容量
	Capacity *int32 `json:"capacity,omitempty"`
}

磁盘

func (Volume) String added in v0.1.14

func (o Volume) String() string

type VolumeResp added in v0.1.21

type VolumeResp struct {

	// 磁盘类型,仅支持SSD。
	Type string `json:"type"`

	// 磁盘可用容量。
	Size int32 `json:"size"`
}

如果规格为固定存储容量规格,则该属性为规格典配的存储容量信息,如果为弹性存储规格,则该属性为null。

func (VolumeResp) String added in v0.1.21

func (o VolumeResp) String() string

type WorkloadPlanReq added in v0.1.18

type WorkloadPlanReq struct {

	// 计划名称
	PlanName string `json:"plan_name"`

	// 逻辑集群名称
	LogicalClusterName *string `json:"logical_cluster_name,omitempty"`
}

资源管理计划

func (WorkloadPlanReq) String added in v0.1.18

func (o WorkloadPlanReq) String() string

type WorkloadQueue added in v0.1.14

type WorkloadQueue struct {

	// 工作负载队列名称。
	WorkloadQueueName string `json:"workload_queue_name"`

	// 逻辑集群名称。
	LogicalClusterName *string `json:"logical_cluster_name,omitempty"`

	// 资源配置队列。
	WorkloadResourceItemList []WorkloadResource `json:"workload_resource_item_list"`
}

工作负载队列

func (WorkloadQueue) String added in v0.1.14

func (o WorkloadQueue) String() string

type WorkloadQueueReq added in v0.1.18

type WorkloadQueueReq struct {
	WorkloadQueue *WorkloadQueue `json:"workload_queue"`
}

资源池

func (WorkloadQueueReq) String added in v0.1.18

func (o WorkloadQueueReq) String() string

type WorkloadResource added in v0.1.14

type WorkloadResource struct {

	// 资源名称。
	ResourceName string `json:"resource_name"`

	// 资源属性值。
	ResourceValue int32 `json:"resource_value"`
}

工作负载队列资源项

func (WorkloadResource) String added in v0.1.14

func (o WorkloadResource) String() string

type WorkloadStatus added in v0.1.14

type WorkloadStatus struct {

	// 开关。
	WorkloadSwitch string `json:"workload_switch"`

	// 最大并发数。
	MaxConcurrencyNum *string `json:"max_concurrency_num,omitempty"`
}

资源管理信息

func (WorkloadStatus) String added in v0.1.14

func (o WorkloadStatus) String() string

type WorkloadStatusReq added in v0.1.18

type WorkloadStatusReq struct {
	WorkloadStatus *WorkloadStatus `json:"workload_status,omitempty"`
}

资源管理状态

func (WorkloadStatusReq) String added in v0.1.18

func (o WorkloadStatusReq) String() string

Source Files

Jump to

Keyboard shortcuts

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