Documentation
¶
Index ¶
- type AddSnapshotReference
- type AnalyzeParam
- type AnalyzeResourceData
- type AnalyzeResponse
- type AnalyzeResult
- type AppInfo
- type AppRelation
- type ArchSpecConfig
- type Assets
- type AuthConfig
- type AutoSnapshot
- type AzConf
- type AzSpecConf
- type AzSpecConf2
- type AzSpecConfig
- type AzSpecConfig2
- type BaseStorage
- type BillingInstance
- type CanChangeStatus
- type CdcFollowTask
- type CdcFollowTaskIndexStats
- type CdcFollowTaskShardStats
- type ChangeType
- type CheckUpgradeVersion
- type CheckUpgradeVersionItem
- type ClusterLevel
- type ClusterSettings
- type ClusterTypeInfo
- type ClustersDetail
- type Connects
- type ConstantStorageLimit
- type ConstraintsConf
- type CreateAppInfo
- type CreateCdcFollowTaskSettings
- type CreateEsVersionSettings
- type CreateHistoryIndex
- type CreateNoticeConfigSettings
- type CreateOpenapiConfigSettings
- type CreateSubTask
- type CreatedAt
- type CustomConfigItem
- type CustomSnapshotConfig
- type DeleteK8sResourceSettings
- type DeleteSnapshotReference
- type DescribeCdcFollowTaskResponse
- type DescribeCdcFollowTaskSettings
- type DescribeCdcFollowTaskStatsSettings
- type DescribeCdcFollowTasksResponse
- type DescribeInstanceLogsResponse
- type DescribeInstanceLogsSettings
- type DescribeV1ConfigmapSettings
- type DetailAnalyzeResourceData
- type DiagnoseItem
- type DiagnoseOverviewReport
- type DiagnoseReport
- type DiffItem
- type DimensionMetricData
- type DownloadUrl
- type DynamicTemplates
- type EntityInfo
- type EsEnhanceFeatures
- type EsVersion
- type EstimateTaskTimeReqParam
- type ExecuteShell
- type ExecuteShellResult
- type ExtendInfo
- type ExternalEndpoint
- type FaildResult
- type Features
- type FlavorConfig
- type FlexibleStorageLimit
- type ForwardEsApi
- type ForwardEsApiResult
- type GetK8sResourceSettings
- type IncStorage
- type IndexDeail
- type IndexLevel
- type IndexLevelOperations
- type IndexMappingPropertiesAnalyzer
- type IndexMappingPropertiesSearchAnalyzer
- type IndexMappingPropertiesType
- type IndexName
- type IndexPropertiesType
- type IndexTemplateCron
- type IndexTemplateCronConf
- type IndexTemplateCronLog
- type IndicatorSimpleMetadata
- type Instance
- type InstanceClass
- type InstanceClassDetail
- type InstanceClassDetailListModel
- type InstanceClassRecommend
- type InstanceClassSpec
- type InstanceExtendInfo
- type InstanceName
- type InstanceNode
- type InstanceResourceQuota
- type InstanceScenarioTemplate
- type InstanceSpec
- type InstanceSpecConf
- type InstanceSpecConfig
- type InstanceStatus
- type InternalEndpoint
- type IpConns
- type Log
- type LogLine
- type LongStorage
- type MaintainableTimeItem
- type MaintainableTimes
- type MenuDetail
- type MergeClusterInfo
- type MetricDataPoint
- type MetricItem
- type MetricType
- type ModifyEsVersionSettings
- type ModifyIndexMappingsSettings
- type ModifyInstanceExtendInfoSettings
- type ModifyInstanceFeatureRequest
- type ModifyInstanceSpecPreCheckData
- type ModifyInstanceSpecValidatedAllowed
- type ModifyNoticeConfigSettings
- type ModifyOpenapiConfigSettings
- type ModifyScenarioTemplateSettings
- type ModifyV1ConfigmapSettings
- type Names
- type NodeConf
- type NodeCountLimit
- type NodeListItem
- type NodeSpecConfig
- type Notice
- type NoticeConfig
- type OpenapiConfig
- type Operation
- type OpsTag
- type PauseCdcFollowTaskSettings
- type PipelineInfo
- type PipelineList
- type PipelineMode
- type PipelineProgress
- type Plugin
- type PluginItem
- type PluginListItem
- type PluginStatusArray
- type PreviewScenarioTemplate
- type PublicExposeTypesSettings
- type ReadMetric
- type RecommendNodeInfo
- type Record
- type Records
- type RegionInfo
- type RegionSpecConfig
- type RegionSpecConfig2
- type RemoveCdcFollowTaskSettings
- type Report
- type ReqTpaasExtension
- type Resource
- type ResourceEstimates
- type RespTpaasExtension
- type RestoreSnapshotById
- type ResultInfo
- type ResumeCdcFollowTaskSettings
- type RoleModel
- type RunningTasks
- type Sales
- type Scenario
- type ScenarioTemplate
- type Snapshot
- type SnapshotReference
- type Step
- type StopSnapshotById
- type Storage
- type StorageConfig
- type StorageLimit
- type StructMappings
- type StructMappingsProperties
- type SubTaskInfo
- type SubTaskList
- type SubTaskProgress
- type SubmitUpgradeVersion
- type SupportCrossAzNumber
- type SupportEstimateTaskTime
- type SupportPlatformList
- type SupportTaskList
- type Synonym
- type Tag
- type TaskAllStepProgress
- type TaskBasicInfo
- type TaskConfig
- type TaskDetail
- type TaskListItem
- type TaskModifyInfo
- type TaskStepProgress
- type TaskSupportStatusList
- type TemplateContent
- type TemplateResult
- type TemplateSettings
- type TimeRange
- type TimeSlots
- type TypeVersionDescs
- type UnitValue
- type UpdateK8sResourceMetadataSettings
- type UpdateK8sResourceSettings
- type UpgradeJdkVersionSettings
- type UserModel
- type UserResourceTypeModel
- type VersionDesc
- type WeekDays
- type WriteMetric
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddSnapshotReference ¶ added in v1.65.0
type AnalyzeParam ¶ added in v1.65.0
type AnalyzeResourceData ¶ added in v1.65.0
type AnalyzeResourceData struct {
/* 数据类型 (Optional) */
DataType string `json:"dataType"`
/* (Optional) */
Data []DetailAnalyzeResourceData `json:"data"`
}
type AnalyzeResponse ¶ added in v1.65.0
type AnalyzeResponse struct {
/* 该实体分析的结果 (Optional) */
Result AnalyzeResult `json:"result"`
/* (Optional) */
DependentEntities []EntityInfo `json:"dependentEntities"`
}
type AnalyzeResult ¶ added in v1.65.0
type AnalyzeResult struct {
/* 实体类型,如ES、POD等 (Optional) */
EntityType string `json:"entityType"`
/* 分析结果信息 (Optional) */
Result ResultInfo `json:"result"`
/* 该结果的详情url,可直接点击跳转到对应的详情页面 (Optional) */
DetailUrl string `json:"detailUrl"`
/* 资源相关信息映射表<属性名:属性值>,如ES集群的信息(集群名称等)<name:es测试集群> (Optional) */
SourceInfo interface{} `json:"sourceInfo"`
/* 产品监控的核心指标源信息 (Optional) */
MonitorIndicators []IndicatorSimpleMetadata `json:"monitorIndicators"`
/* 分析明细数据信息 (Optional) */
Datas []AnalyzeResourceData `json:"datas"`
}
type AppInfo ¶ added in v1.65.0
type AppInfo struct {
/* 应用名称 (Optional) */
AppName string `json:"appName"`
/* 备注 (Optional) */
Comment string `json:"comment"`
/* 负责人 (Optional) */
Leader string `json:"leader"`
/* 状态 (Optional) */
AppStatus string `json:"appStatus"`
/* 组织机构 (Optional) */
Organization string `json:"organization"`
/* 实例ID (Optional) */
InstanceId string `json:"instanceId"`
/* 实例名称 (Optional) */
InstanceName string `json:"instanceName"`
/* level (Optional) */
Level string `json:"level"`
}
type AppRelation ¶ added in v1.65.0
type AppRelation struct {
}
type ArchSpecConfig ¶ added in v1.65.0
type ArchSpecConfig struct {
/* cpu架构类型(x86/arm64) (Optional) */
ArchType string `json:"archType"`
/* 该架构是否对外售卖 (Optional) */
OnSale bool `json:"onSale"`
/* 指定架构下包含的节点的可选配置信息 (Optional) */
NodeSpecConfig []NodeSpecConfig `json:"nodeSpecConfig"`
}
type Assets ¶ added in v1.20.0
type Assets struct {
/* es实例ID (Optional) */
InstanceId string `json:"instanceId"`
/* es实例名称 (Optional) */
InstanceName string `json:"instanceName"`
/* es实例版本 (Optional) */
InstanceVersion string `json:"instanceVersion"`
/* es http endpoint (Optional) */
Endpoint string `json:"endpoint"`
/* 资源信息 (Optional) */
Resources []Resource `json:"resources"`
/* es实例是否开启鉴权 (Optional) */
IsAuth bool `json:"isAuth"`
}
type AuthConfig ¶
type AuthConfig struct {
/* 是否开启身份验证;true为开启,false为不开启 (Optional) */
AuthEnabled *bool `json:"authEnabled"`
/* 用户名. 不可为空,支持数字、大小写字母、英文下划线“_”及中划线“-”,且不超过32字符 (Optional) */
Username *string `json:"username"`
/* 密码. 需6到128位,包括大小写字母、数字、和特殊字符([a-z],[A-Z],[0-9]和[-!@#$%&^*+=_:;,.?]) (Optional) */
Password *string `json:"password"`
}
type AutoSnapshot ¶
type AutoSnapshot struct {
/* 是否开启自动备份;true为开启,false为不开启 (Optional) */
Open *bool `json:"open"`
/* 自动备份时间,0时区的小时数,[0,24)范围内取整 (Optional) */
Hour *int `json:"hour"`
/* 备份保存天数 (Optional) */
ReservedOfDay *int `json:"reservedOfDay"`
/* 备份索引 (Optional) */
Indices *string `json:"indices"`
/* 快照种类,精确匹配,支持单个(System:系统、Custom:自定义)默认:System (Optional) */
Category *string `json:"category"`
}
type AzSpecConf ¶ added in v1.65.0
type AzSpecConf struct {
/* 可以选择创建的集群版本 (Optional) */
Version []string `json:"version"`
/* 描述指定az可选的节点类型、磁盘类型、节点规格 (Optional) */
AzSpecConfig AzSpecConfig `json:"azSpecConfig"`
/* 版本详细信息 (Optional) */
VersionDesc []VersionDesc `json:"versionDesc"`
/* 版本详细信息v2 (Optional) */
TypeVersionDescs []TypeVersionDescs `json:"typeVersionDescs"`
}
type AzSpecConf2 ¶ added in v1.65.0
type AzSpecConf2 struct {
/* 可以选择创建的集群版本 (Optional) */
Version []string `json:"version"`
/* 描述指定az可选的 arch架构、节点类型、磁盘类型、节点规格 (Optional) */
AzSpecConfig AzSpecConfig2 `json:"azSpecConfig"`
/* 版本详细信息 (Optional) */
VersionDesc []VersionDesc `json:"versionDesc"`
/* 版本详细信息v2 (Optional) */
TypeVersionDescs []TypeVersionDescs `json:"typeVersionDescs"`
}
type AzSpecConfig ¶ added in v1.65.0
type AzSpecConfig struct {
/* az是否对外售卖 (Optional) */
OnSale bool `json:"onSale"`
/* 逻辑azId (Optional) */
AzId string `json:"azId"`
/* 指定az下包含的节点的可选配置信息 (Optional) */
NodeSpecConfig []NodeSpecConfig `json:"nodeSpecConfig"`
}
type AzSpecConfig2 ¶ added in v1.65.0
type AzSpecConfig2 struct {
/* az是否对外售卖 (Optional) */
OnSale bool `json:"onSale"`
/* 逻辑azId (Optional) */
AzId string `json:"azId"`
/* 指定az下包含的节点的可选配置信息 (Optional) */
ArchSpecConfig []ArchSpecConfig `json:"archSpecConfig"`
}
type BaseStorage ¶ added in v1.65.0
type BillingInstance ¶ added in v1.65.0
type CanChangeStatus ¶ added in v1.65.0
type CdcFollowTask ¶ added in v1.65.0
type CdcFollowTask struct {
}
type CdcFollowTaskIndexStats ¶ added in v1.65.0
type CdcFollowTaskIndexStats struct {
/* (Optional) */
Shards []CdcFollowTaskShardStats `json:"shards"`
}
type CdcFollowTaskShardStats ¶ added in v1.65.0
type CdcFollowTaskShardStats struct {
}
type ChangeType ¶ added in v1.65.0
type CheckUpgradeVersion ¶ added in v1.65.0
type CheckUpgradeVersion struct {
/* 版本 (Optional) */
Version string `json:"version"`
}
type CheckUpgradeVersionItem ¶ added in v1.65.0
type ClusterLevel ¶ added in v1.65.0
type ClusterLevel struct {
/* 支持的集群级别操作。可选操作以及含义是{
MONITOR(查看集群配置信息,查看集群监控数据等操作的权限,例如可以通过/_cluster/settings接口查看集群配置。映射到具体的action是,cluster:monitor/*),
MANAGE(修改集群配置信息,添加快照,执行reroute等操作的权限,例如可以通过/_cluster/settings接口修改集群配置。映射到具体的action是,cluster:*,indices:admin/template/*)
}
(Optional) */
Operations []Operation `json:"operations"`
/* 字段的中文含义 (Optional) */
Comment string `json:"comment"`
}
type ClusterSettings ¶ added in v1.65.0
type ClusterSettings struct {
}
type ClusterTypeInfo ¶ added in v1.65.0
type ClustersDetail ¶ added in v1.65.0
type ConstantStorageLimit ¶ added in v1.65.0
type ConstantStorageLimit struct {
/* 本地盘大小 (Optional) */
DiskGB int `json:"diskGB"`
}
type ConstraintsConf ¶
type ConstraintsConf struct {
/* 磁盘类型,zbs表示SSD云硬盘, local_ssd表示本地SSD盘 (Optional) */
StorageType string `json:"storageType"`
/* 是否在售 (Optional) */
OnSale bool `json:"onSale"`
/* 规格代码,规格代码详情参见:https://docs.jdcloud.com/cn/jcs-for-elasticsearch/specifications (Optional) */
ClassCode []string `json:"classCode"`
/* 节点数最小值 (Optional) */
MinCount int `json:"minCount"`
/* 节点数最大值 (Optional) */
MaxCount int `json:"maxCount"`
/* 节点数默认值 (Optional) */
DefaultCount int `json:"defaultCount"`
/* 节点数步长 (Optional) */
StepCount int `json:"stepCount"`
/* 是否包含存储 (Optional) */
StorageScale bool `json:"storageScale"`
/* 存储最小值 (Optional) */
MinStorageGB int `json:"minStorageGB"`
/* 存储最大值 (Optional) */
MaxStorageGB int `json:"maxStorageGB"`
/* 存储默认值 (Optional) */
DefaultStorageGB int `json:"defaultStorageGB"`
/* 存储步长 (Optional) */
StepStorageGB int `json:"stepStorageGB"`
}
type CreateAppInfo ¶ added in v1.65.0
type CreateCdcFollowTaskSettings ¶ added in v1.65.0
type CreateCdcFollowTaskSettings struct {
}
type CreateEsVersionSettings ¶ added in v1.65.0
type CreateEsVersionSettings struct {
}
type CreateHistoryIndex ¶ added in v1.65.0
type CreateHistoryIndex struct {
/* 索引模板名称 (Optional) */
IndexTemplate string `json:"indexTemplate"`
/* 索引前缀, 最大长度255 (Optional) */
IndexPrefix string `json:"indexPrefix"`
/* 任务执行频率, day: 每天,month:每月 (Optional) */
Cycle string `json:"cycle"`
/* 索引后缀格式, "yyyy-MM-dd", "yyyy.MM.dd", "yyyy_MM_dd", "yyyyMMdd", "yyyy-MM", "yyyy.MM", "yyyy_MM", "yyyyMM" (Optional) */
IndexSuffixFormat string `json:"indexSuffixFormat"`
/* 索引天数 (Optional) */
ReserveOfDay int `json:"reserveOfDay"`
/* 开始时间,遵循ISO8601标准,使用UTC时间,格式为:YYYY-MM-DDTHH:mm:ssZ (Optional) */
BeginTime string `json:"beginTime"`
}
type CreateNoticeConfigSettings ¶ added in v1.65.0
type CreateNoticeConfigSettings struct {
}
type CreateOpenapiConfigSettings ¶ added in v1.65.0
type CreateOpenapiConfigSettings struct {
}
type CreateSubTask ¶ added in v1.65.0
type CreateSubTask struct {
/* 任务名称(migrate_dict,migratee_plugin,delete_autosnapshot_repo,dest_join_src,migrate_indices,change_entry_flow,split_cluster) */
TaskName string `json:"taskName"`
/* 任务类型 */
OpType int `json:"opType"`
/* pipeline id(创建时非必须填写,启动子任务是必须填写) */
PipelineId string `json:"pipelineId"`
/* 可以是任何东西(string格式的json体) (Optional) */
Info string `json:"info"`
/* 创建人 (Optional) */
Creator string `json:"creator"`
}
type CustomConfigItem ¶ added in v1.65.0
type CustomConfigItem struct {
/* 支持的参数:
indices.fielddata.cache.size:指定分配到字段数据的Java堆空间的百分比
indices.memory.index_buffer_size:索引缓冲大小
indices.query.bool.max_clause_count:指定 Lucene 布尔查询中允许的子句的最大数量,5.0以上版本支持
action.destructive_requires_name:删除索引时使用精确的索引名称还是通配符
thread_pool.search.queue_size: 线程池seach队列大小
thread_pool.bulk.queue_size:线程池写入队列大小,6.3以下版本支持
thread_pool.write.queue_size:线程池写入队列大小,6.3和以上版本支持
*/
ConfigKey string `json:"configKey"`
/* 支持的参数:
indices.fielddata.cache.size:百分数,[1%,100%],es默认100%
indices.memory.index_buffer_size:百分数,[1%,100%],es默认10%
indices.query.bool.max_clause_count:整数值,es默认1024
action.destructive_requires_name:bool值,es默认false
thread_pool.search.queue_size:整数值,es默认1000
thread_pool.bulk.queue_size:整数值,es默认200
thread_pool.write.queue_size:整数值,es默认200
*/
ConfigValue string `json:"configValue"`
}
type CustomSnapshotConfig ¶ added in v1.65.0
type CustomSnapshotConfig struct {
/* 自定义快照id,对应customSnapshotConfigId (Optional) */
Id int `json:"id"`
/* 仓库名称 (Optional) */
RepositoryName string `json:"repositoryName"`
/* endpoint (Optional) */
Endpoint string `json:"endpoint"`
/* accessKey (Optional) */
AccessKey string `json:"accessKey"`
/* secretKey (Optional) */
SecretKey string `json:"secretKey"`
/* bucket (Optional) */
Bucket string `json:"bucket"`
/* basePath (Optional) */
BasePath string `json:"basePath"`
/* 是否压缩 (Optional) */
Compress bool `json:"compress"`
}
type DeleteK8sResourceSettings ¶ added in v1.65.0
type DeleteK8sResourceSettings struct {
/* instanceId (Optional) */
InstanceId string `json:"instanceId"`
/* namespace (Optional) */
Namespace string `json:"namespace"`
/* resourceType (Optional) */
ResourceType string `json:"resourceType"`
/* resourceName (Optional) */
ResourceName string `json:"resourceName"`
}
type DeleteSnapshotReference ¶ added in v1.65.0
type DeleteSnapshotReference struct {
/* 实例id (Optional) */
ReferenceInstanceId string `json:"referenceInstanceId"`
}
type DescribeCdcFollowTaskResponse ¶ added in v1.65.0
type DescribeCdcFollowTaskResponse struct {
/* (Optional) */
Task CdcFollowTask `json:"task"`
}
type DescribeCdcFollowTaskSettings ¶ added in v1.65.0
type DescribeCdcFollowTaskSettings struct {
}
type DescribeCdcFollowTaskStatsSettings ¶ added in v1.65.0
type DescribeCdcFollowTaskStatsSettings struct {
}
type DescribeCdcFollowTasksResponse ¶ added in v1.65.0
type DescribeCdcFollowTasksResponse struct {
/* (Optional) */
Tasks []CdcFollowTask `json:"tasks"`
}
type DescribeInstanceLogsResponse ¶ added in v1.65.0
type DescribeInstanceLogsResponse struct {
/* 滚动类型(scroll/page) (Optional) */
ScrollType string `json:"scrollType"`
/* 日志内容列表 (Optional) */
Logs []LogLine `json:"logs"`
/* 符合条件的日志总数 (Optional) */
Total int `json:"total"`
/* 是否已查询完全部日志 (Optional) */
Completed bool `json:"completed"`
/* 下页的时间戳(毫秒) (Optional) */
NextTime int64 `json:"nextTime"`
/* 上页的时间戳(毫秒) (Optional) */
PreTime int64 `json:"preTime"`
}
type DescribeInstanceLogsSettings ¶ added in v1.65.0
type DescribeInstanceLogsSettings struct {
/* 日志类型(main/index/search/gc) (Optional) */
LogType string `json:"logType"`
/* 排序 (Optional) */
Direction string `json:"direction"`
/* 节点名称 (Optional) */
NodeName string `json:"nodeName"`
/* 搜索关键字 (Optional) */
Keyword string `json:"keyword"`
/* 分页起始位置 (Optional) */
From int `json:"from"`
/* 每页日志条数 (Optional) */
Size int `json:"size"`
/* 日志开始时间戳(毫秒) (Optional) */
StartTime int64 `json:"startTime"`
/* 日志结束时间戳(毫秒) (Optional) */
EndTime int64 `json:"endTime"`
}
type DescribeV1ConfigmapSettings ¶ added in v1.65.0
type DescribeV1ConfigmapSettings struct {
}
type DetailAnalyzeResourceData ¶ added in v1.65.0
type DetailAnalyzeResourceData struct {
/* 分析项 (Optional) */
AnalyzeItem string `json:"analyzeItem"`
/* 分析结果 (Optional) */
AnalyzeResult string `json:"analyzeResult"`
/* 分析描述 (Optional) */
AnalyzeDesc string `json:"analyzeDesc"`
/* 分析结果建议 (Optional) */
AnalyzeSuggest string `json:"analyzeSuggest"`
/* 分析结果状态 (Optional) */
Status string `json:"status"`
}
type DiagnoseItem ¶ added in v1.65.0
type DiagnoseItem struct {
/* 状态,Error,Red,Yellow,Green (Optional) */
Health string `json:"health"`
/* 诊断项名称 (Optional) */
Name string `json:"name"`
/* 诊断项说明 (Optional) */
Desc string `json:"desc"`
/* 诊断结果 (Optional) */
Result string `json:"result"`
/* 诊断建议 (Optional) */
Suggest string `json:"suggest"`
}
type DiagnoseOverviewReport ¶ added in v1.65.0
type DiagnoseOverviewReport struct {
/* 实例ID (Optional) */
InstanceId string `json:"instanceId"`
/* 实例名称 (Optional) */
InstanceName string `json:"instanceName"`
/* 实例是否开启诊断 (Optional) */
InstanceOpenDiagnose bool `json:"instanceOpenDiagnose"`
/* 报告类型 (Optional) */
ReportType string `json:"reportType"`
/* 状态,Completed:已完成,InProgress:执行中 (Optional) */
ReportStatus string `json:"reportStatus"`
/* 报告健康状态 (Optional) */
ReportHealth string `json:"reportHealth"`
/* 报告ID (Optional) */
ReportId string `json:"reportId"`
/* 报告生成时间 (Optional) */
ReportTime string `json:"reportTime"`
/* 错误诊断项列表 (Optional) */
ErrorDiagnoseItems []DiagnoseItem `json:"errorDiagnoseItems"`
/* 红色(异常)诊断项列表 (Optional) */
RedDiagnoseItems []DiagnoseItem `json:"redDiagnoseItems"`
/* 黄色(警告)诊断项列表 (Optional) */
YellowDiagnoseItems []DiagnoseItem `json:"yellowDiagnoseItems"`
/* 绿色(正常)诊断项列表 (Optional) */
GreenDiagnoseItems []DiagnoseItem `json:"greenDiagnoseItems"`
}
type DiagnoseReport ¶ added in v1.65.0
type DiagnoseReport struct {
/* 报告编号 (Optional) */
ReportId string `json:"reportId"`
/* 创建时间,遵循ISO8601标准,使用UTC时间,格式为:YYYY-MM-DDTHH:mm:ssZ (Optional) */
CreateTime string `json:"createTime"`
/* 状态,Error,Red,Yellow,Green (Optional) */
Health string `json:"health"`
/* 状态,Completed:已完成,InProgress:执行中 (Optional) */
Status string `json:"status"`
/* 类型,Auto:自动,Manual:手动 (Optional) */
ReportType string `json:"reportType"`
/* error诊断项 (Optional) */
ErrorDiagnoseItems []DiagnoseItem `json:"errorDiagnoseItems"`
/* red诊断项 (Optional) */
RedDiagnoseItems []DiagnoseItem `json:"redDiagnoseItems"`
/* yellow诊断项 (Optional) */
YellowDiagnoseItems []DiagnoseItem `json:"yellowDiagnoseItems"`
/* green诊断项 (Optional) */
GreenDiagnoseItems []DiagnoseItem `json:"greenDiagnoseItems"`
}
type DimensionMetricData ¶ added in v1.65.0
type DimensionMetricData struct {
/* 维度名称(如节点名、索引名) (Optional) */
Name string `json:"name"`
/* 该指标的时间序列数据 (Optional) */
Values []MetricDataPoint `json:"values"`
}
type DownloadUrl ¶ added in v1.65.0
type DynamicTemplates ¶ added in v1.65.0
type DynamicTemplates struct {
/* 用户自定义 (Optional) */
JsonSettings interface{} `json:"jsonSettings"`
}
type EntityInfo ¶ added in v1.65.0
type EntityInfo struct {
/* 实体类型 (Optional) */
EntityType string `json:"entityType"`
/* 该实体分析服务提供方 (Optional) */
ServiceProvider string `json:"serviceProvider"`
/* 该实体进行分析需要的参数 (Optional) */
Param AnalyzeParam `json:"param"`
}
type EsEnhanceFeatures ¶ added in v1.65.0
type EsEnhanceFeatures struct {
}
type EstimateTaskTimeReqParam ¶ added in v1.65.0
type ExecuteShell ¶ added in v1.65.0
type ExecuteShellResult ¶ added in v1.65.0
type ExtendInfo ¶ added in v1.65.0
type ExtendInfo struct {
}
type ExternalEndpoint ¶ added in v1.65.0
type FaildResult ¶ added in v1.65.0
type Features ¶ added in v1.20.0
type Features struct {
/* 是否支持身份验证功能;true为支持,false为不支持 (Optional) */
Auth bool `json:"auth"`
/* 数科上tpaas定制功能;true为校验,false为不校验(最低标准是账户名密码都非空) (Optional) */
IsCheckUsernameAndPassword bool `json:"isCheckUsernameAndPassword"`
/* 创建集群时,是否检查集群名格式;true为校验,false为不校验 (Optional) */
IsCheckClusterName bool `json:"isCheckClusterName"`
/* esdts功能对指定用户是否可见 (Optional) */
EsdtsEnable bool `json:"esdtsEnable"`
/* 指定集群类型(共享存储型-shared, 通用存储型-general) (Optional) */
ClusterType []string `json:"clusterType"`
/* 是否强制开启鉴权 (Optional) */
IsForceOpenAuth bool `json:"isForceOpenAuth"`
/* 前端是否展示任务管理子模块 (Optional) */
IsTurnTaskSubmodule bool `json:"isTurnTaskSubmodule"`
/* 是否展示集群类型 (Optional) */
IsShowClusterType bool `json:"isShowClusterType"`
/* 开启任务列表(true-开启任务列表功能, false-关闭任务列表功能) (Optional) */
Tasklist bool `json:"tasklist"`
/* 集群类型信息 (Optional) */
ClusterTypeInfos []ClusterTypeInfo `json:"clusterTypeInfos"`
/* 是否支持版本升级 (Optional) */
UpgradeVersion bool `json:"upgradeVersion"`
/* 快照默认保存时间 (Optional) */
SnapshotDefaultReserveTime int `json:"snapshotDefaultReserveTime"`
/* 是否允许自定义快照时间 (Optional) */
SnapshotEnableCustomReserveTime bool `json:"snapshotEnableCustomReserveTime"`
/* 是否开启白名单 (Optional) */
WhiteList bool `json:"whiteList"`
/* 白名单最大数量 (Optional) */
WhiteListMaxItem bool `json:"whiteListMaxItem"`
/* 是否支持跨实例恢复快照 (Optional) */
CrossRestoreSnapshot bool `json:"crossRestoreSnapshot"`
/* 是否开启容量评估特性 (Optional) */
CapacityEvaluate bool `json:"capacityEvaluate"`
/* 是否开启kibana单独计费开关,true为是 (Optional) */
KibanaCharge bool `json:"kibanaCharge"`
/* 是否展示kibana开启公网访问的开关,true-是 (Optional) */
KibanaPublicServiceExpose bool `json:"kibanaPublicServiceExpose"`
/* 是否开启可维护时间特性,true为是 (Optional) */
MaintenanceTime bool `json:"maintenanceTime"`
}
type FlavorConfig ¶ added in v1.65.0
type FlavorConfig struct {
/* 指定规格是否售卖 (Optional) */
OnSale bool `json:"onSale"`
/* 规格代码 (Optional) */
InstanceClassCode string `json:"instanceClassCode"`
/* 指定规格表示的cpu核数 (Optional) */
Cpu int `json:"cpu"`
/* 指定规格表示的内存 (Optional) */
MemoryGB int `json:"memoryGB"`
/* 存储配置(是不是云盘、本地盘的大小、云盘的最小值、最大值、默认值、步长) (Optional) */
StorageLimit StorageLimit `json:"storageLimit"`
/* 节点个数配置(节点个数最小值、最大值、默认值、步长) (Optional) */
NodeCountLimit NodeCountLimit `json:"nodeCountLimit"`
/* 指定磁盘类型下的各种计算规格详情 (Optional) */
ResourceEstimates []ResourceEstimates `json:"resourceEstimates"`
}
type FlexibleStorageLimit ¶ added in v1.65.0
type ForwardEsApi ¶ added in v1.65.0
type ForwardEsApi struct {
/* 实例id (Optional) */
InstanceId string `json:"instanceId"`
/* 节点id (Optional) */
NodeId string `json:"nodeId"`
/* 节点地址,http://ip:9200 (Optional) */
Host string `json:"host"`
/* method (Optional) */
Method string `json:"method"`
/* url (Optional) */
Url string `json:"url"`
/* body (Optional) */
Body string `json:"body"`
/* url (Optional) */
Direct bool `json:"direct"`
}
type ForwardEsApiResult ¶ added in v1.65.0
type GetK8sResourceSettings ¶ added in v1.65.0
type GetK8sResourceSettings struct {
/* instanceId (Optional) */
InstanceId string `json:"instanceId"`
/* namespace (Optional) */
Namespace string `json:"namespace"`
/* resourceType (Optional) */
ResourceType string `json:"resourceType"`
/* resourceName (Optional) */
ResourceName string `json:"resourceName"`
/* labels (Optional) */
Labels interface{} `json:"labels"`
}
type IncStorage ¶ added in v1.65.0
type IncStorage struct {
/* 热存储每日增量 (Optional) */
Inc BaseStorage `json:"inc"`
/* 数据存储周期,不超过3年(无论单位是day);可选单位(day-默认,month,year) (Optional) */
LifeCycle UnitValue `json:"lifeCycle"`
}
type IndexDeail ¶ added in v1.65.0
type IndexDeail struct {
/* 索引名称 (Optional) */
Index string `json:"index"`
/* 健康状态 (Optional) */
Health string `json:"health"`
/* 索引状态 (Optional) */
Status string `json:"status"`
/* 副本数 (Optional) */
Rep string `json:"rep"`
/* 主分片数 (Optional) */
Pri string `json:"pri"`
/* 文档数 (Optional) */
DocsCount string `json:"docsCount"`
/* 删除状态文档数 (Optional) */
DocsDeleted string `json:"docsDeleted"`
/* 主分片存储大小 (Optional) */
PriStoreSize string `json:"priStoreSize"`
/* 总存储大小 (Optional) */
StoreSize string `json:"storeSize"`
/* 别名 (Optional) */
Aliases string `json:"aliases"`
}
type IndexLevel ¶ added in v1.65.0
type IndexLevel struct {
/* 支持的索引级别操作。可选操作以及含义是{
ALL(操作索引的全部权限,例如CRUD document,CRUD index等操作的权限。映射到具体的action是,indices:*,internal:transport/proxy/indices:*),
MONITOR(查看索引配置信息,查看索引监控数据等操作的权限,例如可以通过/_stats接口查看索引监控信息。映射到具体的action是,indices:monitor/*),
MANAGE(修改索引副本等配置信息的操作权限,例如通过/indexName/_settings接口修改索引配置。映射到具体的action是,indices:monitor/*,indices:admin/*),
CREATE_INDEX(创建索引的权限。映射到具体的action是,indices:admin/create),
DELETE_INDEX(删除索引的权限。映射到具体的action是,indices:admin/delete),
WRITE(写document的权限,修改mapping的权限。具体映射到具体的action是,indices:data/write/*,indices:admin/mapping/put),
READ(读document的权限。映射到具体的action是,indices:data/read/*),
DELETE(删除document的权限。映射到具体的action是,indices:data/write/delete*,indices:data/write/bulk*)
}
(Optional) */
Operations []Operation `json:"operations"`
/* 字段的中文含义 (Optional) */
Comment string `json:"comment"`
}
type IndexLevelOperations ¶ added in v1.65.0
type IndexMappingPropertiesAnalyzer ¶ added in v1.65.0
type IndexMappingPropertiesAnalyzer struct {
/* Name of the analyzer (Optional) */
Name string `json:"name"`
}
type IndexMappingPropertiesSearchAnalyzer ¶ added in v1.65.0
type IndexMappingPropertiesSearchAnalyzer struct {
/* Name of the search analyzer (Optional) */
Name string `json:"name"`
}
type IndexMappingPropertiesType ¶ added in v1.65.0
type IndexMappingPropertiesType struct {
/* Name of the type (Optional) */
Name string `json:"name"`
}
type IndexName ¶ added in v1.65.0
type IndexName struct {
/* 索引名称 (Optional) */
IndexName string `json:"indexName"`
}
type IndexPropertiesType ¶ added in v1.65.0
type IndexPropertiesType struct {
/* List of type descriptions (Optional) */
Types []IndexMappingPropertiesType `json:"types"`
/* List of analyzer descriptions (Optional) */
Analyzers []IndexMappingPropertiesAnalyzer `json:"analyzers"`
/* List of search analyzer descriptions (Optional) */
SearchAnalyzers []IndexMappingPropertiesSearchAnalyzer `json:"searchAnalyzers"`
}
type IndexTemplateCron ¶
type IndexTemplateCron struct {
/* 任务ID (Optional) */
TaskID string `json:"taskID"`
/* 创建时间,遵循ISO8601标准,使用UTC时间,格式为:YYYY-MM-DDTHH:mm:ssZ (Optional) */
CreatedTime string `json:"createdTime"`
/* 任务配置信息 (Optional) */
Settings IndexTemplateCronConf `json:"settings"`
}
type IndexTemplateCronConf ¶
type IndexTemplateCronConf struct {
/* 索引模板名称 */
TemplateName string `json:"templateName"`
/* 任务起始执行时间,遵循ISO8601标准,使用UTC时间,格式为:YYYY-MM-DDTHH:mm:ssZ */
BeginTime string `json:"beginTime"`
/* 任务执行频率, day: 每天,month:每月,quarter:季度,halfyear:半年,year:年,fix:固定,week:周 */
Cycle string `json:"cycle"`
/* 索引前缀, 最大长度255 */
IndexPrefix string `json:"indexPrefix"`
/* 索引后缀格式, "yyyy-MM-dd", "yyyy.MM.dd", "yyyy_MM_dd", "yyyyMMdd", "yyyy-MM", "yyyy.MM", "yyyy_MM", "yyyyMM", "yyyy" */
IndexSuffixFormat string `json:"indexSuffixFormat"`
/* 提前创建索引天数 */
AheadOfDay int `json:"aheadOfDay"`
/* 是否开启自动删除索引 */
IsAutoDelete bool `json:"isAutoDelete"`
/* 索引保留天数, 开启自动删除索引后生效 */
ReserveOfDay int `json:"reserveOfDay"`
/* 删除白名单,最多可以添加150个索引白名单 (Optional) */
DeleteWhitelist string `json:"deleteWhitelist"`
/* 是否开启自动迁移索引到冷节点 */
IsAutoSwitchToWarmdata bool `json:"isAutoSwitchToWarmdata"`
/* 冷数据转换(天) (Optional) */
WarmdataDelayOfDay int `json:"warmdataDelayOfDay"`
/* 冷节点索引白名单:不改为冷节点 (Optional) */
WarmdataWhitelist string `json:"warmdataWhitelist"`
/* 迁移到冷节点后,索引是否为0副本 (Optional) */
IsWarmdataZeroReplicas bool `json:"isWarmdataZeroReplicas"`
/* 迁移到冷节点后,索引是否只读 (Optional) */
IsWarmdataReadonly bool `json:"isWarmdataReadonly"`
/* 删除正则表达式 (Optional) */
DeleteRegexp string `json:"deleteRegexp"`
/* 是否0副本 (Optional) */
IsZeroReplicas bool `json:"isZeroReplicas"`
/* 0副本天数 (Optional) */
ZeroReplicasOfDay int `json:"zeroReplicasOfDay"`
}
type IndexTemplateCronLog ¶ added in v1.65.0
type IndexTemplateCronLog struct {
/* instanceId (Optional) */
InstanceId string `json:"instanceId"`
/* taskId (Optional) */
TaskId string `json:"taskId"`
/* actionType (Optional) */
ActionType string `json:"actionType"`
/* template (Optional) */
Template string `json:"template"`
/* index (Optional) */
Index string `json:"index"`
/* result (Optional) */
Result string `json:"result"`
/* description (Optional) */
Description string `json:"description"`
/* 创建时间,遵循ISO8601标准,使用UTC时间,格式为:YYYY-MM-DDTHH:mm:ssZ` (Optional) */
CreatedAt string `json:"createdAt"`
}
type IndicatorSimpleMetadata ¶ added in v1.65.0
type Instance ¶
type Instance struct {
/* 实例ID (Optional) */
InstanceId string `json:"instanceId"`
/* 实例名称 (Optional) */
InstanceName string `json:"instanceName"`
/* 实例版本,目前主流支持6.8.23和7.10.2 (Optional) */
InstanceVersion string `json:"instanceVersion"`
/* 集群类型,根据es底层使用的存储类型区分。可选类型(通用存储型-general, 共享存储型-shared)。默认是general (Optional) */
ClusterType string `json:"clusterType"`
/* 实例状态,running:运行,error:错误,creating:创建中,changing:变配中,stop:已停止,processing:处理中 (Optional) */
InstanceStatus string `json:"instanceStatus"`
/* 实例的配置信息 (Optional) */
InstanceClass InstanceClass `json:"instanceClass"`
/* 创建时间,遵循ISO8601标准,使用UTC时间,格式为:YYYY-MM-DDTHH:mm:ssZ (Optional) */
CreateTime string `json:"createTime"`
/* AZ信息,各AZ编码详见:https://docs.jdcloud.com/cn/jcs-for-elasticsearch/restrictions (Optional) */
AzId string `json:"azId"`
/* 所属VPC的ID (Optional) */
VpcId string `json:"vpcId"`
/* 所属子网的ID (Optional) */
SubnetId string `json:"subnetId"`
/* 计费信息 (Optional) */
Charge charge.Charge `json:"charge"`
/* 内网地址 (Optional) */
InternalEndpoint InternalEndpoint `json:"internalEndpoint"`
/* Tag信息 (Optional) */
Tags []Tag `json:"tags"`
/* 是否开启了专用主节点,true为开启,false为不开启 (Optional) */
DedicatedMaster bool `json:"dedicatedMaster"`
/* 是否开启了协调节点,true为开启,false为不开启 (Optional) */
Coordinating bool `json:"coordinating"`
/* 是否开启了warmnode,true为开启,false为不开启 (Optional) */
Warmnode bool `json:"warmnode"`
/* tpaas环境扩展参数 (Optional) */
TpaasExtension RespTpaasExtension `json:"tpaasExtension"`
/* 任务的开始时间(包括变配、创建、重启等任务),时间格式 2022-07-04T09:55:20Z (Optional) */
TaskStartTime string `json:"taskStartTime"`
/* 0-100 正整数,任务进度条 (Optional) */
TaskProgress int `json:"taskProgress"`
/* 任务的执行状态,包括(init、executing、timeout、succ、fail、error) (Optional) */
TaskStatus string `json:"taskStatus"`
/* 任务的持续运行时间,单位为s(秒);如果任务成功则返回0 (Optional) */
TaskTimeConsuming int `json:"taskTimeConsuming"`
/* 标志任务的持续运行时间(taskTimeConsuming)是否还会继续增加。 (Optional) */
IsTaskTimeConsumeContinueIncrease bool `json:"isTaskTimeConsumeContinueIncrease"`
/* taskStatus==error时, 展示错误信息 (Optional) */
TaskErrorInfo string `json:"taskErrorInfo"`
/* cpu的架构类型(armd64、amd64) (Optional) */
ArchType string `json:"archType"`
/* 实例的扩展信息 (Optional) */
ExtendInfo ExtendInfo `json:"extendInfo"`
/* scenarioTemplate (Optional) */
ScenarioTemplate InstanceScenarioTemplate `json:"scenarioTemplate"`
/* appRelation (Optional) */
AppRelation AppRelation `json:"appRelation"`
}
type InstanceClass ¶
type InstanceClass struct {
/* data节点规格代码,规格代码对照关系参见:https://docs.jdcloud.com/cn/jcs-for-elasticsearch/specifications (Optional) */
NodeClass string `json:"nodeClass"`
/* data节点cpu核数 (Optional) */
NodeCpu int `json:"nodeCpu"`
/* data节点内存单位GB (Optional) */
NodeMemoryGB int `json:"nodeMemoryGB"`
/* data节点磁盘是否加密 (Optional) */
NodeDiskEncrypt bool `json:"nodeDiskEncrypt"`
/* data节点存储大小单位GB (Optional) */
NodeDiskGB int `json:"nodeDiskGB"`
/* data节点存储类型 (Optional) */
NodeDiskType string `json:"nodeDiskType"`
/* data节点数量 (Optional) */
NodeCount int `json:"nodeCount"`
/* warmdata节点规格代码,规格代码对照关系参见:https://docs.jdcloud.com/cn/jcs-for-elasticsearch/specifications (Optional) */
WarmNodeClass string `json:"warmNodeClass"`
/* warmdata节点cpu核数 (Optional) */
WarmNodeCpu int `json:"warmNodeCpu"`
/* warmdata节点内存单位GB (Optional) */
WarmNodeMemoryGB int `json:"warmNodeMemoryGB"`
/* warmdata节点磁盘是否加密 (Optional) */
WarmNodeDiskEncrypt bool `json:"warmNodeDiskEncrypt"`
/* warmdata节点存储大小单位GB (Optional) */
WarmNodeDiskGB int `json:"warmNodeDiskGB"`
/* warmdata节点存储类型 (Optional) */
WarmNodeDiskType string `json:"warmNodeDiskType"`
/* warmdata节点数量 (Optional) */
WarmNodeCount int `json:"warmNodeCount"`
/* master节点规格代码,规格代码对照关系参见:https://docs.jdcloud.com/cn/jcs-for-elasticsearch/specifications (Optional) */
MasterClass string `json:"masterClass"`
/* master节点cpu核数 (Optional) */
MasterCpu int `json:"masterCpu"`
/* master节点内存单位GB (Optional) */
MasterMemoryGB int `json:"masterMemoryGB"`
/* master节点磁盘是否加密 (Optional) */
MasterDiskEncrypt bool `json:"masterDiskEncrypt"`
/* master节点存储大小单位GB (Optional) */
MasterDiskGB int `json:"masterDiskGB"`
/* master节点存储类型 (Optional) */
MasterDiskType string `json:"masterDiskType"`
/* master节点数量 (Optional) */
MasterCount int `json:"masterCount"`
/* coordinating节点规格代码,规格代码对照关系参见:https://docs.jdcloud.com/cn/jcs-for-elasticsearch/specifications (Optional) */
CoordinatingClass string `json:"coordinatingClass"`
/* coordinating节点cpu核数 (Optional) */
CoordinatingCpu int `json:"coordinatingCpu"`
/* coordinating节点内存单位GB (Optional) */
CoordinatingMemoryGB int `json:"coordinatingMemoryGB"`
/* coordinating节点磁盘是否加密 (Optional) */
CoordinatingDiskEncrypt bool `json:"coordinatingDiskEncrypt"`
/* coordinating节点存储大小单位GB (Optional) */
CoordinatingDiskGB int `json:"coordinatingDiskGB"`
/* coordinating节点存储类型 (Optional) */
CoordinatingDiskType string `json:"coordinatingDiskType"`
/* coordinating节点数量 (Optional) */
CoordinatingCount int `json:"coordinatingCount"`
/* kibana节点数量 (Optional) */
KibanaCount int `json:"kibanaCount"`
/* kibana节点规格代码,规格代码对照关系参见:https://docs.jdcloud.com/cn/jcs-for-elasticsearch/specifications (Optional) */
KibanaClass string `json:"kibanaClass"`
/* kibana节点规格代码节点cpu核数 (Optional) */
KibanaCpu int `json:"kibanaCpu"`
/* kibana节点规格代码节点内存单位GB (Optional) */
KibanaMemoryGB int `json:"kibanaMemoryGB"`
}
type InstanceClassDetail ¶
type InstanceClassDetail struct {
/* 规格代码,规格代码详情参见:https://docs.jdcloud.com/cn/jcs-for-elasticsearch/specifications (Optional) */
InstanceClassCode string `json:"instanceClassCode"`
/* cpu核数 (Optional) */
Cpu int `json:"cpu"`
/* 内存单位GB (Optional) */
MemoryGB int `json:"memoryGB"`
/* 存储大小单位GB (Optional) */
DiskGB int `json:"diskGB"`
}
type InstanceClassDetailListModel ¶ added in v1.65.0
type InstanceClassDetailListModel struct {
/* id (Optional) */
Id int `json:"id"`
/* 规则代码 (Optional) */
InstanceClassCode string `json:"instanceClassCode"`
/* iaas规格代码 (Optional) */
IaasFlavorCode string `json:"iaasFlavorCode"`
/* cpu (Optional) */
Cpu int `json:"cpu"`
/* 内存,单位为GB (Optional) */
MemoryGb int `json:"memoryGb"`
/* 磁盘,单位GB (Optional) */
DiskGb int `json:"diskGb"`
/* 存储类型 (Optional) */
StorageType string `json:"storageType"`
/* 创建时间 (Optional) */
CreatedAt string `json:"createdAt"`
/* 更新时间 (Optional) */
UpdatedAt string `json:"updatedAt"`
}
type InstanceClassRecommend ¶ added in v1.65.0
type InstanceClassRecommend struct {
/* region (Optional) */
RegionId string `json:"regionId"`
/* 逻辑可用区 (Optional) */
AzId string `json:"azId"`
/* 物理可用区 (Optional) */
PazId string `json:"pazId"`
/* 架构类型arm64/amd64 (Optional) */
ArchType string `json:"archType"`
/* 专有主节点信息 (Optional) */
MasterNode RecommendNodeInfo `json:"masterNode"`
/* 协调节点信息 (Optional) */
CoordinatingNode RecommendNodeInfo `json:"coordinatingNode"`
/* 数据节点信息 (Optional) */
HotNode RecommendNodeInfo `json:"hotNode"`
/* warm节点信息 (Optional) */
WarmNode RecommendNodeInfo `json:"warmNode"`
/* 备注说明(比如提示该pin,没有合适的warm节点可售卖) (Optional) */
Msg string `json:"msg"`
/* 是否已经超出售卖范围(true-是的,false没有) (Optional) */
OverSaleRange bool `json:"overSaleRange"`
/* 该种规格推荐的分数 (Optional) */
Score float64 `json:"score"`
/* 实例版本(如6.8.23、6.8.23_basic、6.8.23_internal等) (Optional) */
InstanceVersion string `json:"instanceVersion"`
}
type InstanceClassSpec ¶
type InstanceClassSpec struct {
/* data节点规格代码,详细规格请参考:https://docs.jdcloud.com/cn/jcs-for-elasticsearch/specifications (Optional) */
NodeClass *string `json:"nodeClass"`
/* data节点存储大小,单位GB。单点存储规格范围20-4000GB,只允许输入整数且步长为10GB, (Optional) */
NodeDiskGB *int `json:"nodeDiskGB"`
/* data节点数量,各region和可用区的节点数量规格限制不完全相同,详情请参考:https://docs.jdcloud.com/cn/jcs-for-elasticsearch/restrictions (Optional) */
NodeCount *int `json:"nodeCount"`
/* warmdata节点规格代码,详细规格请参考:https://docs.jdcloud.com/cn/jcs-for-elasticsearch/specifications (Optional) */
WarmNodeClass *string `json:"warmNodeClass"`
/* warmdata节点存储大小,单位GB。单点存储规格范围20-4000GB,只允许输入整数且步长为10GB, (Optional) */
WarmNodeDiskGB *int `json:"warmNodeDiskGB"`
/* warmdata节点存储类型,ssd.gp1(通用型SSD云盘)、hdd.std1(容量型HDD云盘) (Optional) */
WarmNodeDiskType *string `json:"warmNodeDiskType"`
/* warmdata节点数量,各region和可用区的warmnode节点数量规格限制不完全相同,详情请参考:https://docs.jdcloud.com/cn/jcs-for-elasticsearch/restrictions (Optional) */
WarmNodeCount *int `json:"warmNodeCount"`
/* master节点规格代码,与data节点规格代码一致。 (Optional) */
MasterClass *string `json:"masterClass"`
/* master节点存储大小,固定为20GB,不可调整 (Optional) */
MasterDiskGB *int `json:"masterDiskGB"`
/* master节点数量,固定为3,不可调整 (Optional) */
MasterCount *int `json:"masterCount"`
/* coordinating节点规格代码,与data节点规格代码一致。 (Optional) */
CoordinatingClass *string `json:"coordinatingClass"`
/* coordinating节点存储大小,固定为20GB,不可调整 (Optional) */
CoordinatingDiskGB *int `json:"coordinatingDiskGB"`
/* coordinating节点数量,各region和可用区的节点数量规格限制不完全相同,详情请参考:https://docs.jdcloud.com/cn/jcs-for-elasticsearch/restrictions (Optional) */
CoordinatingCount *int `json:"coordinatingCount"`
/* kibana节点数量 (Optional) */
KibanaCount *int `json:"kibanaCount"`
/* kibana节点规格代码,规格代码对照关系参见:https://docs.jdcloud.com/cn/jcs-for-elasticsearch/specifications (Optional) */
KibanaClass *string `json:"kibanaClass"`
}
type InstanceExtendInfo ¶ added in v1.65.0
type InstanceExtendInfo struct {
}
type InstanceName ¶
type InstanceNode ¶
type InstanceNode struct {
/* 节点名称 (Optional) */
NodeName string `json:"nodeName"`
}
type InstanceResourceQuota ¶ added in v1.65.0
type InstanceResourceQuota struct {
}
type InstanceScenarioTemplate ¶ added in v1.65.0
type InstanceScenarioTemplate struct {
}
type InstanceSpec ¶
type InstanceSpec struct {
/* 私有网络vpcId */
VpcId string `json:"vpcId"`
/* 子网subnetId */
SubnetId string `json:"subnetId"`
/* 集群类型,根据es底层使用的存储类型区分。可选类型(通用存储型-general, 共享存储型-shared)。默认是general (Optional) */
ClusterType *string `json:"clusterType"`
/* es版本,当前支持5.6.9、6.5.4、6.7.0、7.5.2 */
InstanceVersion string `json:"instanceVersion"`
/* es集群名称,不可为空,只支持大小写字母、数字、英文下划线或者中划线,以字母开头且不能超过32位 */
InstanceName string `json:"instanceName"`
/* 可用区,各可用区编码请参考:https://docs.jdcloud.com/cn/jcs-for-elasticsearch/restrictions */
AzId string `json:"azId"`
/* 规格配置,规格代码请参考:https://docs.jdcloud.com/cn/jcs-for-elasticsearch/specifications */
InstanceClass *InstanceClassSpec `json:"instanceClass"`
/* 是否包含专用主节点,默认false (Optional) */
DedicatedMaster *bool `json:"dedicatedMaster"`
/* 是否包含协调节点,默认false (Optional) */
Coordinating *bool `json:"coordinating"`
/* 是否包含warnnode,默认false (Optional) */
Warmnode *bool `json:"warmnode"`
/* 自动快照设置。 (Optional) */
AutoSnapshot *AutoSnapshot `json:"autoSnapshot"`
/* es数据面身份验证设置信息 (Optional) */
AuthConfig *AuthConfig `json:"authConfig"`
/* 用户普通标签 (Optional) */
UserTags []Tag `json:"userTags"`
/* tpaas环境的扩展参数 (Optional) */
TpaasExtension *ReqTpaasExtension `json:"tpaasExtension"`
/* es实例的扩展信息 (Optional) */
ExtendInfo *ExtendInfo `json:"extendInfo"`
}
type InstanceSpecConf ¶
type InstanceSpecConf struct {
/* es版本 (Optional) */
Version []string `json:"version"`
/* 规格详情 (Optional) */
InstanceClassDetail []InstanceClassDetail `json:"instanceClassDetail"`
/* az的配置 (Optional) */
AzConf []AzConf `json:"azConf"`
}
type InstanceSpecConfig ¶ added in v1.65.0
type InstanceSpecConfig struct {
/* id (Optional) */
Id int `json:"id"`
/* 资源类型 (Optional) */
ResourceType string `json:"resourceType"`
/* region (Optional) */
RegionId string `json:"regionId"`
/* az (Optional) */
AzId string `json:"azId"`
/* 节点类型 (Optional) */
NodeType string `json:"nodeType"`
/* 存储类型 (Optional) */
StorageType string `json:"storageType"`
/* 架构类型 (Optional) */
ArchType string `json:"archType"`
/* 配置类型代码 (Optional) */
InstanceClassCode string `json:"instanceClassCode"`
/* 最大数量 (Optional) */
MaxCount int `json:"maxCount"`
/* 最小数量 (Optional) */
MinCount int `json:"minCount"`
/* 默认数量 (Optional) */
DefaultCount int `json:"defaultCount"`
/* 数量变更大小 (Optional) */
CountStep int `json:"countStep"`
/* 存储类型 (Optional) */
StorageScale bool `json:"storageScale"`
/* 最大存储 (Optional) */
MaxStorage int `json:"maxStorage"`
/* 最小存储 (Optional) */
MinStorage int `json:"minStorage"`
/* 默认存储 (Optional) */
DefaultStorage int `json:"defaultStorage"`
/* 存储变更大小 (Optional) */
StorageStep int `json:"storageStep"`
/* 是否在售 (Optional) */
OnSale bool `json:"onSale"`
/* 备注 (Optional) */
Remark string `json:"remark"`
/* 创建时间 (Optional) */
CreatedAt string `json:"createdAt"`
/* 更新时间 (Optional) */
UpdatedAt string `json:"updatedAt"`
}
type InstanceStatus ¶ added in v1.65.0
type InstanceStatus struct {
/* es id (Optional) */
InstanceId string `json:"instanceId"`
/* <a href="https://docs.jdcloud.com/cn/jcs-for-elasticsearch/status">es实例状态</a> (Optional) */
Status string `json:"status"`
}
type InternalEndpoint ¶
type InternalEndpoint struct {
/* es http endpoint (Optional) */
EsHttpEndpoint string `json:"esHttpEndpoint"`
}
type Log ¶ added in v1.65.0
type Log struct {
/* id (Optional) */
Id string `json:"id"`
/* description (Optional) */
Description string `json:"description"`
/* action (Optional) */
Action string `json:"action"`
/* nodeName (Optional) */
NodeName string `json:"nodeName"`
/* params (Optional) */
Params string `json:"params"`
/* result (Optional) */
Result string `json:"result"`
/* timestamp (Optional) */
Timestamp string `json:"timestamp"`
}
type LongStorage ¶ added in v1.65.0
type LongStorage struct {
/* warm数据长期存储,每日增量 (Optional) */
Inc BaseStorage `json:"inc"`
/* 数据存储周期,不超过3年(无论单位是day);可选单位(day-默认,month,year) (Optional) */
LifeCycle UnitValue `json:"lifeCycle"`
}
type MaintainableTimeItem ¶ added in v1.65.0
type MaintainableTimes ¶ added in v1.65.0
type MaintainableTimes struct {
/* 可维护时间工作日;默认星期一到星期天;["1","2","3","4","5","6","7"] -> [1 -> 星期一,2 -> 星期二 ,3 -> 星期三 ,4 -> 星期四, 5 -> 星期五, 6 -> 星期六, 7 -> 星期天] (Optional) */
WeekDays WeekDays `json:"weekDays"`
/* 一天中的可运维时间段;默认 18:00-22:00(0时区);支持 02:00-06:00 06:00-10:00 10:00-14:00 14:00-18:00 18:00-22:00 22:00-02:00 (Optional) */
TimeSlots TimeSlots `json:"timeSlots"`
/* 默认0时区 (Optional) */
TimeZone int `json:"timeZone"`
}
type MenuDetail ¶ added in v1.65.0
type MenuDetail struct {
/* 菜单名称 (Optional) */
MenuName string `json:"menuName"`
/* action名称,例如:action=health,点击菜单时候请求http://host/health (Optional) */
Action string `json:"action"`
/* 菜单类型. (cluster-集群菜单项, node-节点菜单项, index-索引菜单项. 以后还有可能增加.) (Optional) */
ActionType string `json:"actionType"`
/* 交互文案,例如:查看集群_cluster/health (Optional) */
ProposeMsg string `json:"proposeMsg"`
/* tip文案 (Optional) */
TipInfo string `json:"tipInfo"`
/* action如果需要requestBody. 特别是PUT/POST类的ES api, 每个action的requestBody不一样, 需要给出示例. 是JSONString格式. (Optional) */
ActionRequestBodyDemo string `json:"actionRequestBodyDemo"`
}
type MergeClusterInfo ¶ added in v1.65.0
type MergeClusterInfo struct {
/* 请求es的http地址,多个地址以逗号分隔开;云舰填写(内网访问域名,如:http://es-27xujhm3ww-http.es-27xujhm3ww.svc.m6.x.abchost.local:9200) */
ClusterHttpAddr string `json:"clusterHttpAddr"`
/* 可用区(公有云和tpaas必填,默认值为cn-north-1) (Optional) */
Region string `json:"region"`
/* pin(公有云和tpaas必填) (Optional) */
Pin string `json:"pin"`
/* 实例id(公有云和tpaas必填) (Optional) */
InstanceId string `json:"instanceId"`
/* es用户名 (Optional) */
EsUser string `json:"esUser"`
/* es密码 (Optional) */
EsPwd string `json:"esPwd"`
/* es发现种子地址 (Optional) */
UnicastHosts string `json:"unicastHosts"`
/* 平台(cloud-公有云、tpaas-云舰、tpaasInternal-内部、jiesi-泰山ES) */
Platform string `json:"platform"`
/* 命名空间(云舰独有) (Optional) */
NameSpace string `json:"nameSpace"`
/* k8s集群(云舰独有,代理转发需要,不填写走默认) (Optional) */
K8sClusterId string `json:"k8sClusterId"`
/* azId(az id) (Optional) */
AzId string `json:"azId"`
}
type MetricDataPoint ¶ added in v1.65.0
type MetricItem ¶ added in v1.65.0
type MetricItem struct {
/* 指标类型(如cpu、memory) (Optional) */
MetricType string `json:"metricType"`
/* 该指标下的维度数据 (Optional) */
Data []DimensionMetricData `json:"data"`
}
type MetricType ¶ added in v1.65.0
type MetricType struct {
}
type ModifyEsVersionSettings ¶ added in v1.65.0
type ModifyEsVersionSettings struct {
}
type ModifyIndexMappingsSettings ¶ added in v1.65.0
type ModifyIndexMappingsSettings struct {
/* 索引名称 (Optional) */
IndexName string `json:"indexName"`
/* 索引映射 (Optional) */
Mappings interface{} `json:"mappings"`
/* 结构化映射 (Optional) */
StructMappings StructMappings `json:"structMappings"`
}
type ModifyInstanceExtendInfoSettings ¶ added in v1.65.0
type ModifyInstanceExtendInfoSettings struct {
}
type ModifyInstanceFeatureRequest ¶ added in v1.65.0
type ModifyInstanceFeatureRequest struct {
}
type ModifyInstanceSpecPreCheckData ¶ added in v1.65.0
type ModifyInstanceSpecPreCheckData struct {
}
type ModifyInstanceSpecValidatedAllowed ¶ added in v1.65.0
type ModifyInstanceSpecValidatedAllowed struct {
}
type ModifyNoticeConfigSettings ¶ added in v1.65.0
type ModifyNoticeConfigSettings struct {
}
type ModifyOpenapiConfigSettings ¶ added in v1.65.0
type ModifyOpenapiConfigSettings struct {
}
type ModifyScenarioTemplateSettings ¶ added in v1.65.0
type ModifyScenarioTemplateSettings struct {
/* 场景模板 (Optional) */
ScenarioTemplate string `json:"scenarioTemplate"`
}
type ModifyV1ConfigmapSettings ¶ added in v1.65.0
type ModifyV1ConfigmapSettings struct {
}
type NodeConf ¶
type NodeConf struct {
/* 磁盘类型,支持两种:zbs(SSD云硬盘)和local_ssd(本地SSD盘),默认为zbs (Optional) */
StorageType []string `json:"storageType"`
/* 限制条件 (Optional) */
Constraints []ConstraintsConf `json:"constraints"`
}
type NodeCountLimit ¶ added in v1.65.0
type NodeListItem ¶ added in v1.65.0
type NodeListItem struct {
/* 节点所属regionId (Optional) */
RegionId string `json:"regionId"`
/* 节点所属azId (Optional) */
AzId string `json:"azId"`
/* 节点名 (Optional) */
NodeName string `json:"nodeName"`
/* 节点角色 (master-专有主节点, coordinating-协调节点, node-数据节点, warmnode-冷数据节点) (Optional) */
NodeType string `json:"nodeType"`
/* 节点状态 (在线, 离线) (Optional) */
Status string `json:"status"`
/* 节点在线时长 (单位是millis) (Optional) */
OnlineDuration int `json:"onlineDuration"`
/* 节点规格 (2核8G220GB等) (Optional) */
Flavor string `json:"flavor"`
/* 节点IP (Optional) */
Ip string `json:"ip"`
/* CPU使用率(0-100) (Optional) */
CpuUsage float64 `json:"cpuUsage"`
/* CPU总核数 (Optional) */
CpuCore int `json:"cpuCore"`
/* 内存使用率(0-100) (Optional) */
MemUsage float64 `json:"memUsage"`
/* 节点内存大小 (Optional) */
MemGB int `json:"memGB"`
/* 磁盘使用率(0-100) (Optional) */
DiskUsage float64 `json:"diskUsage"`
/* 节点磁盘大小 (Optional) */
DiskGB int `json:"diskGB"`
/* 节点负载 (Optional) */
Load float64 `json:"load"`
}
type NodeSpecConfig ¶ added in v1.65.0
type NodeSpecConfig struct {
/* 节点类型(data/master/coordinating) (Optional) */
NodeType string `json:"nodeType"`
/* 指定节点可选的磁盘类型 (Optional) */
StorageType []string `json:"storageType"`
/* 指定节点类型下的各种磁盘配置详情 (Optional) */
StorageConfig []StorageConfig `json:"storageConfig"`
}
type NoticeConfig ¶ added in v1.65.0
type NoticeConfig struct {
}
type OpenapiConfig ¶ added in v1.65.0
type OpenapiConfig struct {
}
type PauseCdcFollowTaskSettings ¶ added in v1.65.0
type PauseCdcFollowTaskSettings struct {
}
type PipelineInfo ¶ added in v1.65.0
type PipelineInfo struct {
/* pipeline id */
PipelineId string `json:"pipelineId"`
/* pipeline状态(该状态的值从describeMigrateTaskPipelines接口返回值字段canChangeStatus中,获取可选择的状态) (Optional) */
Status string `json:"status"`
/* mode 是否为普通类pipeline,false-为集群节点融合类的pipeline (Optional) */
CommonMode bool `json:"commonMode"`
}
type PipelineList ¶ added in v1.65.0
type PipelineList struct {
/* 源端集群名称 (Optional) */
SrcClusterName string `json:"srcClusterName"`
/* 目的端集群名称 (Optional) */
DestClusterName string `json:"destClusterName"`
/* pipeline id (Optional) */
PipelineId string `json:"pipelineId"`
/* 源端集群配置信息 (Optional) */
Config TaskConfig `json:"config"`
/* 应用id (Optional) */
AppId string `json:"appId"`
/* 创建人 (Optional) */
Creator string `json:"creator"`
/* 当前子任务 (Optional) */
CurrentSubTaskName string `json:"currentSubTaskName"`
/* 集群存储的索引大小 (Optional) */
IndicesStore string `json:"indicesStore"`
/* 源端master (Optional) */
SrcMasterNodes string `json:"srcMasterNodes"`
/* 目的端master (Optional) */
DestMasterNodes string `json:"destMasterNodes"`
/* 源端所有数据节点 (Optional) */
SrcDataNodes string `json:"srcDataNodes"`
/* 目的端m所有数据节点 (Optional) */
DestDataNodes string `json:"destDataNodes"`
/* pipeline状态 (Optional) */
Status string `json:"status"`
/* 任务创建时间 (Optional) */
CreateTime string `json:"createTime"`
/* 任务更新时间 (Optional) */
UpdateTime string `json:"updateTime"`
/* pipeline进度 (Optional) */
PipelineProgress PipelineProgress `json:"pipelineProgress"`
/* mode 是否为普通类pipeline,false-为集群节点融合类的pipeline (Optional) */
CommonMode bool `json:"commonMode"`
/* 任务可以变更到的状态 (Optional) */
CanChangeStatus []CanChangeStatus `json:"canChangeStatus"`
}
type PipelineMode ¶ added in v1.65.0
type PipelineProgress ¶ added in v1.65.0
type PipelineProgress struct {
/* 所有子任务进度 (Optional) */
ProgressDetail []SubTaskProgress `json:"progressDetail"`
/* pipeline总进度(比如0.9代表90%) (Optional) */
Progress string `json:"progress"`
}
type PluginItem ¶ added in v1.65.0
type PluginListItem ¶ added in v1.65.0
type PluginListItem struct {
/* 插件id (Optional) */
PluginId string `json:"pluginId"`
/* 插件名称 (Optional) */
PluginName string `json:"pluginName"`
/* 插件类型(system,custom) (Optional) */
PluginType string `json:"pluginType"`
/* 插件类型(系统默认,自定义插件) (Optional) */
PluginTypeCN string `json:"pluginTypeCN"`
/* 插件版本 (Optional) */
PluginVersion string `json:"pluginVersion"`
/* pluginStatus(已安装-installed,未安装-uninstalled,安装中-installing,卸载中-uninstalling,不可用-unavailable,已删除-deleted) (Optional) */
Status string `json:"status"`
/* 插件的状态(已安装-installed,未安装-uninstalled,安装中-installing,卸载中-uninstalling,不可用-unavailable,已删除-deleted)) (Optional) */
StatusCN string `json:"statusCN"`
/* 插件描述信息,取自于插件plugin-descriptor.properties文件中的description (Optional) */
Description string `json:"description"`
/* 插件是否可以删除,true-可以删除,false-可以删除 (Optional) */
CanDelete bool `json:"canDelete"`
/* 插件是否可以卸载,true-可以卸载,false-不可卸载 (Optional) */
CanUninstall bool `json:"canUninstall"`
/* 插件是否可以安装,true-可以安装,false-不可安装 (Optional) */
CanInstall bool `json:"canInstall"`
/* 插件是否需要更新,true-可以更新,false-不需要更新 (Optional) */
NeedUpdate bool `json:"needUpdate"`
}
type PluginStatusArray ¶ added in v1.65.0
type PluginStatusArray struct {
/* pluginStatus(已安装-installed,未安装-uninstalled,安装中-installing,卸载中-uninstalling,不可用-unavailable,已删除-deleted)) (Optional) */
Status string `json:"status"`
/* 插件的状态(已安装-installed,未安装-uninstalled,安装中-installing,卸载中-uninstalling,不可用-unavailable,已删除-deleted)) (Optional) */
StatusCN string `json:"statusCN"`
}
type PreviewScenarioTemplate ¶ added in v1.65.0
type PreviewScenarioTemplate struct {
/* 当前模板 (Optional) */
CurrentTemplate ScenarioTemplate `json:"currentTemplate"`
/* 新模板 (Optional) */
NewTemplate ScenarioTemplate `json:"newTemplate"`
}
type PublicExposeTypesSettings ¶ added in v1.65.0
type PublicExposeTypesSettings struct {
}
type ReadMetric ¶ added in v1.65.0
type RecommendNodeInfo ¶ added in v1.65.0
type RecommendNodeInfo struct {
/* 节点规格 (Optional) */
ClassCode string `json:"classCode"`
/* cpu (Optional) */
Cpu int `json:"cpu"`
/* 内存 (Optional) */
Memory int `json:"memory"`
/* 磁盘大小(gb) (Optional) */
DiskGb int `json:"diskGb"`
/* 数据节点磁盘类型(local_ssd/local_ssd2/ssd.gp1/hdd.std1/cfs.std/zbs/ssd.io1) (Optional) */
DiskType string `json:"diskType"`
/* 数据节点磁盘类型描述(local_ssd-本地盘/local_ssd2-本地盘/ssd.gp1-通用型SSD云盘/hdd.std1-容量型HDD云盘/cfs.std-共享弹性存储/zbs/ssd.io1-性能型SSD云盘) (Optional) */
DiskTypeDesc string `json:"diskTypeDesc"`
/* 节点个数 (Optional) */
Count int `json:"count"`
}
type Record ¶ added in v1.65.0
type Record struct {
/* reportId (Optional) */
ReportId string `json:"reportId"`
/* instanceId (Optional) */
InstanceId string `json:"instanceId"`
/* nodeName (Optional) */
NodeName string `json:"nodeName"`
/* index (Optional) */
Index string `json:"index"`
/* indexId (Optional) */
IndexId string `json:"indexId"`
/* searchType (Optional) */
SearchType string `json:"searchType"`
/* took (Optional) */
Took int `json:"took"`
/* source (Optional) */
Source string `json:"source"`
/* content (Optional) */
Content string `json:"content"`
/* recordAt (Optional) */
RecordAt string `json:"recordAt"`
/* createdAt (Optional) */
CreatedAt string `json:"createdAt"`
}
type Records ¶ added in v1.65.0
type Records struct {
/* ID of the report (Optional) */
ReportId string `json:"reportId"`
/* Instance ID (Optional) */
InstanceId string `json:"instanceId"`
/* index (Optional) */
Index string `json:"index"`
/* indexId (Optional) */
IndexId string `json:"indexId"`
/* Total log count (Optional) */
LogCount int `json:"logCount"`
/* Sum of took times (Optional) */
SumTook int `json:"sumTook"`
/* Average took time (Optional) */
AvgTook int `json:"avgTook"`
/* Minimum took time (Optional) */
MinTook int `json:"minTook"`
/* Maximum took time (Optional) */
MaxTook int `json:"maxTook"`
/* Count of took > 100ms (Optional) */
TookGt100 int `json:"tookGt100"`
/* Count of took > 200ms (Optional) */
TookGt200 int `json:"tookGt200"`
/* Count of took > 500ms (Optional) */
TookGt500 int `json:"tookGt500"`
/* Count of took > 1000ms (Optional) */
TookGt1000 int `json:"tookGt1000"`
/* Count of took > 10000ms (Optional) */
TookGt10000 int `json:"tookGt10000"`
/* Record date time (Optional) */
RecordAt string `json:"recordAt"`
/* Creation date time (Optional) */
CreatedAt string `json:"createdAt"`
}
type RegionInfo ¶ added in v1.65.0
type RegionInfo struct {
}
type RegionSpecConfig ¶ added in v1.65.0
type RegionSpecConfig struct {
/* 可选择的es版本 (Optional) */
Version []string `json:"version"`
/* 每个az下可选节点类型、磁盘类型、节点规格 (Optional) */
AzSpecConfig []AzSpecConfig `json:"azSpecConfig"`
}
type RegionSpecConfig2 ¶ added in v1.65.0
type RegionSpecConfig2 struct {
/* 可选择的es版本 (Optional) */
Version []string `json:"version"`
/* 每个az下可选 arch架构、节点类型、磁盘类型、节点规格 (Optional) */
AzSpecConfig []AzSpecConfig2 `json:"azSpecConfig"`
}
type RemoveCdcFollowTaskSettings ¶ added in v1.65.0
type RemoveCdcFollowTaskSettings struct {
}
type Report ¶ added in v1.65.0
type Report struct {
/* ID of the report (Optional) */
Id string `json:"id"`
/* Instance ID (Optional) */
InstanceId string `json:"instanceId"`
/* Total log count (Optional) */
LogCount int `json:"logCount"`
/* Sum of took times (Optional) */
SumTook int `json:"sumTook"`
/* Average took time (Optional) */
AvgTook int `json:"avgTook"`
/* Minimum took time (Optional) */
MinTook int `json:"minTook"`
/* Maximum took time (Optional) */
MaxTook int `json:"maxTook"`
/* Count of took > 100ms (Optional) */
TookGt100 int `json:"tookGt100"`
/* Count of took > 200ms (Optional) */
TookGt200 int `json:"tookGt200"`
/* Count of took > 500ms (Optional) */
TookGt500 int `json:"tookGt500"`
/* Count of took > 1000ms (Optional) */
TookGt1000 int `json:"tookGt1000"`
/* Count of took > 10000ms (Optional) */
TookGt10000 int `json:"tookGt10000"`
/* Source of the log (Optional) */
Source string `json:"source"`
/* Status of the report (Optional) */
Status string `json:"status"`
/* Record date time (Optional) */
RecordAt string `json:"recordAt"`
/* Creation date time (Optional) */
CreatedAt string `json:"createdAt"`
}
type ReqTpaasExtension ¶ added in v1.65.0
type ReqTpaasExtension struct {
/* 外部访问方式,支持的值为NodePort, LoadBalancer和空,空表示不开启 (Optional) */
ExternalServiceType *string `json:"externalServiceType"`
}
type ResourceEstimates ¶ added in v1.65.0
type ResourceEstimates struct {
/* az (Optional) */
AzId string `json:"azId"`
/* 可用节点数 (Optional) */
Count int `json:"count"`
/* 节点个数最大值 (Optional) */
AvailableCount int `json:"availableCount"`
/* 最小节点数 (Optional) */
MinCount int `json:"minCount"`
/* 默认节点数 (Optional) */
DefaultCount int `json:"defaultCount"`
}
type RespTpaasExtension ¶ added in v1.65.0
type RespTpaasExtension struct {
/* 外部访问地址 (Optional) */
ExternalEndpoint ExternalEndpoint `json:"externalEndpoint"`
}
type RestoreSnapshotById ¶ added in v1.65.0
type RestoreSnapshotById struct {
/* 索引 (Optional) */
Indices string `json:"indices"`
/* 重命名 (Optional) */
RenamePattern string `json:"renamePattern"`
/* 重命名 (Optional) */
RenameReplacement string `json:"renameReplacement"`
/* 快照id (Optional) */
SnapshotId string `json:"snapshotId"`
/* 实例id (Optional) */
SnapshotInstanceId string `json:"snapshotInstanceId"`
/* 快照种类,精确匹配,支持单个(System:系统、Custom:自定义)默认:System (Optional) */
Category string `json:"category"`
}
type ResultInfo ¶ added in v1.65.0
type ResumeCdcFollowTaskSettings ¶ added in v1.65.0
type ResumeCdcFollowTaskSettings struct {
}
type RoleModel ¶ added in v1.65.0
type RoleModel struct {
/* role的名称 (Optional) */
RoleName string `json:"roleName"`
/* 是否是内建role (Optional) */
IsBuiltIn bool `json:"isBuiltIn"`
/* 支持的集群级别的操作 (Optional) */
ClusterLevelOperations []string `json:"clusterLevelOperations"`
/* 支持的索引级别的操作列表 (Optional) */
IndexLevel []IndexLevelOperations `json:"indexLevel"`
/* 与此role相关联的users (Optional) */
Users []string `json:"users"`
}
type RunningTasks ¶ added in v1.65.0
type RunningTasks struct {
/* id (Optional) */
Id string `json:"id"`
/* 节点id (Optional) */
Node string `json:"node"`
/* 节点名称 (Optional) */
Name string `json:"name"`
/* 任务action (Optional) */
Action string `json:"action"`
/* 任务运行时间,单位:纳秒 (Optional) */
Running_time_in_nanos int64 `json:"running_time_in_nanos"`
/* 任务开始时间,单位:毫秒 (Optional) */
Start_time_in_millis int64 `json:"start_time_in_millis"`
/* 任务类型 (Optional) */
Type string `json:"type"`
/* 任务是否可以被kill (Optional) */
Cancellable bool `json:"cancellable"`
/* 任务是否已经被kill (Optional) */
Cancelled bool `json:"cancelled"`
/* 任务状态 (Optional) */
Status string `json:"status"`
/* 任务状态描述,可能是字符串或JSON结构(action=search) (Optional) */
Description interface{} `json:"description"`
/* 子任务列表 (Optional) */
Children []RunningTasks `json:"children"`
}
type Sales ¶ added in v1.65.0
type Sales struct {
/* es实例ID (Optional) */
InstanceId int `json:"instanceId"`
/* cpu售卖量,单位核 (Optional) */
CpuCores int `json:"cpuCores"`
/* 内存售卖量,单位GB (Optional) */
MemoryGBs int `json:"memoryGBs"`
/* 本地盘售卖量,单位GB (Optional) */
LocalDiskGBs int `json:"localDiskGBs"`
/* 云盘售卖量,单位GB (Optional) */
CloudDiskGBs int `json:"cloudDiskGBs"`
/* 磁盘售卖量,单位GB (Optional) */
TotalDiskGBs int `json:"totalDiskGBs"`
/* cpu使用量,单位核 (Optional) */
UsedCpuCores int `json:"usedCpuCores"`
/* 内存使用量,单位GB (Optional) */
UsedMemoryGBs int `json:"usedMemoryGBs"`
/* 本地盘使用量,单位GB (Optional) */
UsedLocalDiskGBs int `json:"usedLocalDiskGBs"`
/* 云盘使用量,单位GB (Optional) */
UsedCloudDiskGBs int `json:"usedCloudDiskGBs"`
/* 磁盘使用量,单位GB (Optional) */
UsedTotalDiskGBs int `json:"usedTotalDiskGBs"`
/* 实例维度统计信息里边是节点个数的含义,pin,region维度的统计数据里边是实例个数的含义 (Optional) */
Num int `json:"num"`
/* 用户pin (Optional) */
Pin string `json:"pin"`
/* 地域 (Optional) */
RegionId string `json:"regionId"`
/* 可用区 (Optional) */
AzId string `json:"azId"`
}
type Scenario ¶ added in v1.65.0
type Scenario struct {
/* 场景编码(common,log_scenario,search_scenario,data_analysis_scenario,database_boost) */
Code string `json:"code"`
/* 场景名称(common-通用场景,log_scenario-日志场景,search_scenario-搜索场景,data_analysis_scenario-数据分析场景,database_boost-数据库加速场景) (Optional) */
Name string `json:"name"`
/* 是否有每日增量 */
IsStoreInc bool `json:"isStoreInc"`
/* 是否有需要长期存储的数据,长期存储的数据不超过3年 */
IsLongTermStorage bool `json:"isLongTermStorage"`
/* 是否有聚合查询 */
IsAgg bool `json:"isAgg"`
}
type ScenarioTemplate ¶ added in v1.65.0
type ScenarioTemplate struct {
/* code (Optional) */
Code string `json:"code"`
/* 名称 (Optional) */
Name string `json:"name"`
/* 描述 (Optional) */
Desc string `json:"desc"`
/* 是否默认 (Optional) */
IsDefault string `json:"isDefault"`
/* 模板设置 (Optional) */
TemplateSettings TemplateSettings `json:"templateSettings"`
/* 集群设置 (Optional) */
ClusterSettings ClusterSettings `json:"clusterSettings"`
}
type Snapshot ¶
type Snapshot struct {
/* 快照ID (Optional) */
SnapshotId string `json:"snapshotId"`
/* 快照类型,Auto:自动,Manual:人工 (Optional) */
Type string `json:"type"`
/* 创建时间,遵循ISO8601标准,使用UTC时间,格式为:YYYY-MM-DDTHH:mm:ssZ (Optional) */
CreateTime string `json:"createTime"`
/* 备份的索引 (Optional) */
Indices []string `json:"indices"`
/* 快照状态,Available:可用,Unavailable:不可用,Creating:创建中 (Optional) */
Status string `json:"status"`
/* 快照种类,精确匹配,支持单个(System:系统、Custom:自定义)默认:System (Optional) */
Category string `json:"category"`
/* 自定义快照配置id (Optional) */
CustomSnapshotConfigId int `json:"customSnapshotConfigId"`
/* 快照进度(0~100),仅当快照状态为创建中、恢复中时返回 (Optional) */
Progress int `json:"progress"`
/* task运行时长,仅当快照状态为创建中、恢复中时返回 (Optional) */
TaskTimeConsuming string `json:"taskTimeConsuming"`
/* taskId,仅当快照状态为创建中、恢复中时返回 (Optional) */
TaskId int `json:"taskId"`
}
type SnapshotReference ¶ added in v1.65.0
type SnapshotReference struct {
/* id (Optional) */
Id int `json:"id"`
/* createTime (Optional) */
CreateTime string `json:"createTime"`
/* referenceName (Optional) */
ReferenceName string `json:"referenceName"`
/* referenceInstanceId (Optional) */
ReferenceInstanceId string `json:"referenceInstanceId"`
/* status (Optional) */
Status string `json:"status"`
}
type Step ¶ added in v1.65.0
type Step struct {
/* 步骤编号 (Optional) */
StepSeqId int `json:"stepSeqId"`
/* 步骤名称 (Optional) */
StepName string `json:"stepName"`
/* 步骤描述 (Optional) */
StepNameDesc string `json:"stepNameDesc"`
/* 步骤开始执行时间 (Optional) */
StepStartTime string `json:"stepStartTime"`
/* 步骤结束执行时间 (Optional) */
StepEndTime string `json:"stepEndTime"`
/* 步骤状态 (Optional) */
StepStatus string `json:"stepStatus"`
/* 步骤详细信息。主要是步骤失败, 需要展示失败原因。 (Optional) */
StepDetailInfo string `json:"stepDetailInfo"`
/* 当前步骤预估还需多少时间 (Optional) */
EstimatedTookTimeDesc string `json:"estimatedTookTimeDesc"`
}
type StopSnapshotById ¶ added in v1.65.0
type Storage ¶ added in v1.65.0
type Storage struct {
/* 基础存储数据,索引副本数目 */
BaseStorage BaseStorage `json:"baseStorage"`
/* 热存储每日增量,索引副本数与baseStorage的副本数为同一个取值 (Optional) */
IncStorage IncStorage `json:"incStorage"`
/* 查询较少,长时间存储 (Optional) */
LongStorage LongStorage `json:"longStorage"`
}
type StorageConfig ¶ added in v1.65.0
type StorageConfig struct {
/* 指定磁盘类型是否售卖 (Optional) */
OnSale bool `json:"onSale"`
/* 磁盘类型(zbs/local_ssd/ssd.gp1/hdd.std1) (Optional) */
StorageType string `json:"storageType"`
/* 指定磁盘类型下的各种计算规格详情 (Optional) */
FlavorConfig []FlavorConfig `json:"flavorConfig"`
}
type StorageLimit ¶ added in v1.65.0
type StorageLimit struct {
/* 是不是云盘 (Optional) */
StorageScale bool `json:"storageScale"`
/* 本地盘限制 (Optional) */
ConstantStorageLimit ConstantStorageLimit `json:"constantStorageLimit"`
/* 云盘限制 (Optional) */
FlexibleStorageLimit FlexibleStorageLimit `json:"flexibleStorageLimit"`
}
type StructMappings ¶ added in v1.65.0
type StructMappings struct {
/* 结构化映射 (Optional) */
Properties []StructMappingsProperties `json:"properties"`
}
type StructMappingsProperties ¶ added in v1.65.0
type StructMappingsProperties struct {
/* 字段名称 (Optional) */
Name string `json:"name"`
/* 是否索引 (Optional) */
Index bool `json:"index"`
/* 是否存储 (Optional) */
Store bool `json:"store"`
/* 字段类型 (Optional) */
Type string `json:"type"`
/* 分词器 (Optional) */
Analyzer string `json:"analyzer"`
/* 搜索分词器 (Optional) */
SearchAnalyzer string `json:"searchAnalyzer"`
/* 用户自定义 (Optional) */
UserDefine interface{} `json:"userDefine"`
}
type SubTaskInfo ¶ added in v1.65.0
type SubTaskInfo struct {
/* 任务名称(migrate_plugin, migrate_dict,delete_autosnapshot_repo,dest_join_src,migrate_indices,change_entry_flow,split_cluster) (Optional) */
TaskName string `json:"taskName"`
/* 任务状态(该状态的值从,describeSubTasksByPipeline接口返回值字段canChangeStatus中,获取可选择的状态) (Optional) */
TaskStatus string `json:"taskStatus"`
/* pipeline id */
PipelineId string `json:"pipelineId"`
/* 任务id */
TaskId string `json:"taskId"`
/* 可以是任何东西(string格式的json体) (Optional) */
Info string `json:"info"`
}
type SubTaskList ¶ added in v1.65.0
type SubTaskList struct {
/* 集群名称 (Optional) */
ClusterName string `json:"clusterName"`
/* 任务类型 (Optional) */
OpType int `json:"opType"`
/* taskId (Optional) */
TaskId string `json:"taskId"`
/* pipeline id (Optional) */
PipelineId string `json:"pipelineId"`
/* 创建人 (Optional) */
Creator string `json:"creator"`
/* 步骤名称 (Optional) */
StepName string `json:"stepName"`
/* 任务状态 (Optional) */
Status string `json:"status"`
/* 任务名称 (Optional) */
TaskName string `json:"taskName"`
/* 任务中文名称 (Optional) */
TaskNameZh string `json:"taskNameZh"`
/* 任务进度 (Optional) */
TaskAllStepProgress TaskAllStepProgress `json:"taskAllStepProgress"`
/* 任务创建时间 (Optional) */
CreateTime string `json:"createTime"`
/* 任务更新时间 (Optional) */
UpdateTime string `json:"updateTime"`
/* 任务可以变更到的状态 (Optional) */
CanChangeStatus []CanChangeStatus `json:"canChangeStatus"`
/* 子任务是否会自动执行 (Optional) */
TaskAuto bool `json:"taskAuto"`
}
type SubTaskProgress ¶ added in v1.65.0
type SubTaskProgress struct {
/* 任务名称 (Optional) */
TaskName string `json:"taskName"`
/* 任务中文名称 (Optional) */
TaskNameZh string `json:"taskNameZh"`
/* 任务名称 (Optional) */
TaskWeight string `json:"taskWeight"`
/* 任务进度 (Optional) */
TaskProgress string `json:"taskProgress"`
/* 任务开始时间 (Optional) */
StartTime string `json:"startTime"`
/* 任务结束时间 (Optional) */
EndTime string `json:"endTime"`
/* 任务状态 (Optional) */
TaskStatus string `json:"taskStatus"`
}
type SubmitUpgradeVersion ¶ added in v1.65.0
type SubmitUpgradeVersion struct {
/* 版本 (Optional) */
Version string `json:"version"`
}
type SupportCrossAzNumber ¶ added in v1.65.0
type SupportEstimateTaskTime ¶ added in v1.65.0
type SupportPlatformList ¶ added in v1.65.0
type SupportTaskList ¶ added in v1.65.0
type SupportTaskList struct {
/* 任务名称(migate_dict,migate_plugin,delete_autosnapshot_repo,dest_join_src,migrate_indices,change_entry_flow,split_cluster) (Optional) */
TaskName string `json:"taskName"`
/* task中文描述(迁移词典,迁移插件,删除自动快照仓库,集群融合,迁移索引,切流,切分集群) (Optional) */
TaskNameZh string `json:"taskNameZh"`
/* 任务类型 (Optional) */
OpType int `json:"opType"`
/* 子任务特性处于什么阶段(unAvailable-还不可用,beta-试验阶段,release-生产可用) (Optional) */
PublishStatus string `json:"publishStatus"`
/* 该任务可执行的前提子任务 (Optional) */
PrerequisiteOpType int `json:"prerequisiteOpType"`
}
type Synonym ¶ added in v1.65.0
type Synonym struct {
/* 上传同义词文件唯一id (Optional) */
Id int `json:"id"`
/* 同义词文件名称 (Optional) */
FileName string `json:"fileName"`
/* 同义词文件内容 (Optional) */
SynonymFile string `json:"synonymFile"`
/* 同义词文件内容的md5摘要 (Optional) */
Md5str string `json:"md5str"`
/* 同义词文件的操作状态 (Optional) */
Status string `json:"status"`
/* 同义词文件下载地址 (Optional) */
DownloadUrl string `json:"downloadUrl"`
/* 上传文件类型,同义词文件类型 synonym (Optional) */
BusinessType string `json:"businessType"`
}
type TaskAllStepProgress ¶ added in v1.65.0
type TaskAllStepProgress struct {
/* 子任务中所有子步骤进度 (Optional) */
ProgressDetail []TaskStepProgress `json:"progressDetail"`
/* 子任务总进度(比如0.9代表90%) (Optional) */
Progress string `json:"progress"`
}
type TaskBasicInfo ¶ added in v1.65.0
type TaskBasicInfo struct {
/* 任务开始执行时间 (Optional) */
TaskStartTime string `json:"taskStartTime"`
/* 任务结束执行时间 (Optional) */
TaskEndTime string `json:"taskEndTime"`
/* 任务执行人(主账户) (Optional) */
User string `json:"user"`
/* 任务执行人(子用户) (Optional) */
SubUser string `json:"subUser"`
/* 任务的执行状态
init - 初始化。代表任务刚初始化, 待调度运行。中间态, 允许中断
executing - 进行中。 代表任务被调度执行。 中间态, 允许中断
succ - 已完成。 终止态, 任务运行完成
fail - 变更中断。 终止态
error - 失败。 中间态, 允许重试
(Optional) */
TaskStatus string `json:"taskStatus"`
/* 当前任务预估总的还需多少时间 (Optional) */
EstimatedTookTimeDesc string `json:"estimatedTookTimeDesc"`
}
type TaskConfig ¶ added in v1.65.0
type TaskConfig struct {
/* 源端集群配置信息 (Optional) */
SrcClusterInfo MergeClusterInfo `json:"srcClusterInfo"`
/* 目的端集群配置信息 (Optional) */
DestClusterInfo MergeClusterInfo `json:"destClusterInfo"`
/* 子任务集合,安装逗号分割 (Optional) */
SubTasks string `json:"subTasks"`
}
type TaskDetail ¶ added in v1.65.0
type TaskDetail struct {
/* 任务基本信息 (Optional) */
TaskBasicInfo TaskBasicInfo `json:"taskBasicInfo"`
/* 变更信息 (Optional) */
TaskModifyInfo TaskModifyInfo `json:"taskModifyInfo"`
/* 一个任务是有多个步骤组成, 这里展示步骤列表 (Optional) */
Steps []Step `json:"steps"`
}
type TaskListItem ¶ added in v1.65.0
type TaskListItem struct {
/* 任务ID (Optional) */
TaskId int `json:"taskId"`
/* 任务的开始时间(包括变配, 创建, 重启等任务), 时间格式 2022-07-04T09:55:20Z (Optional) */
TaskStartTime string `json:"taskStartTime"`
/* 任务类型(包括但不限于创建、变配、重启 等任务), 用于前端展示使用 (Optional) */
TaskType string `json:"taskType"`
/* 任务类型, 是数字枚举类型, 用于查询过滤条件 (Optional) */
TaskOpType int `json:"taskOpType"`
/* 任务执行人(主账户) (Optional) */
User string `json:"user"`
/* 任务执行人(子用户) (Optional) */
SubUser string `json:"subUser"`
/* 任务的执行状态
init - 初始化, 代表任务刚初始化, 待调度运行。中间态, 允许中断
executing - 执行中, 代表任务被调度执行。 中间态, 允许中断
succ - 执行成功。 终止态, 任务运行完成
fail - 执行失败。 终止态
error - 执行出错。 中间态, 允许重试
(Optional) */
TaskStatus string `json:"taskStatus"`
/* 0-100 正整数,任务进度条 (Optional) */
TaskProgress int `json:"taskProgress"`
/* 任务的持续运行时间,单位为s(秒);如果任务成功则返回0 (Optional) */
TaskTimeConsuming int `json:"taskTimeConsuming"`
/* 标志任务的持续运行时间(taskTimeConsuming)是否还会继续增加。 (Optional) */
IsTaskTimeConsumeContinueIncrease bool `json:"isTaskTimeConsumeContinueIncrease"`
/* taskStatus==error时, 展示错误信息 (Optional) */
TaskErrorInfo string `json:"taskErrorInfo"`
/* 任务的结束时间(包括变配、创建、重启等任务),时间格式 2022-07-04T09:55:20Z (Optional) */
TaskEndTime string `json:"taskEndTime"`
/* 任务是否可以中断, 任务状态从 executing => fail, error => fail, init => fail (Optional) */
CanInterruptTask bool `json:"canInterruptTask"`
/* 任务是否可以重试, 任务状态从 error => executing (Optional) */
CanRetryTask bool `json:"canRetryTask"`
/* 任务关联的实例ID (Optional) */
InstanceId string `json:"instanceId"`
/* regionId (Optional) */
RegionId string `json:"regionId"`
/* pin (Optional) */
Pin string `json:"pin"`
/* pin (Optional) */
ExecuteTime string `json:"executeTime"`
/* taskRequestId (Optional) */
TaskRequestId string `json:"taskRequestId"`
}
type TaskModifyInfo ¶ added in v1.65.0
type TaskModifyInfo struct {
/* 任务类型 (Optional) */
TaskType string `json:"taskType"`
/* 任务变更前后对比信息 (Optional) */
ModifyDiffs interface{} `json:"modifyDiffs"`
}
type TaskStepProgress ¶ added in v1.65.0
type TaskStepProgress struct {
/* 步骤名称 (Optional) */
StepName string `json:"stepName"`
/* 步骤中文名称 (Optional) */
StepNameZh string `json:"stepNameZh"`
/* 步骤权重 (Optional) */
StepWeight string `json:"stepWeight"`
/* 步骤进度 (Optional) */
StepProgress string `json:"stepProgress"`
/* 步骤开始时间 (Optional) */
StartTime string `json:"startTime"`
/* 步骤结束时间 (Optional) */
EndTime string `json:"endTime"`
/* 步骤状态 (Optional) */
StepStatus string `json:"stepStatus"`
}
type TaskSupportStatusList ¶ added in v1.65.0
type TemplateContent ¶ added in v1.65.0
type TemplateContent struct {
/* 匹配模式 */
Patterns string `json:"patterns"`
/* 排序 (Optional) */
Order int `json:"order"`
/* 映射 (Optional) */
Mappings interface{} `json:"mappings"`
/* 别名 (Optional) */
Aliases interface{} `json:"aliases"`
/* 模版settings */
TemplateSettings TemplateSettings `json:"templateSettings"`
/* 结构化映射 (Optional) */
StructMappings StructMappings `json:"structMappings"`
/* 动态模板 (Optional) */
DynamicTemplates DynamicTemplates `json:"dynamicTemplates"`
}
type TemplateResult ¶ added in v1.65.0
type TemplateResult struct {
/* 模板名称 (Optional) */
TemplateName string `json:"templateName"`
/* 模板名匹配规则 (Optional) */
IndexPattern string `json:"indexPattern"`
/* 优先级 (Optional) */
Order int `json:"order"`
/* 主分片数 (Optional) */
PrimaryShards int `json:"primaryShards"`
/* 副本数 (Optional) */
ReplicasNums int `json:"replicasNums"`
/* 刷新间隔 (Optional) */
RefreshInterval string `json:"refreshInterval"`
/* 压缩算法 (Optional) */
IndexCodec string `json:"indexCodec"`
/* 创建时间 (Optional) */
CreatedAt string `json:"createdAt"`
/* 更新时间 (Optional) */
UpdatedAt string `json:"updatedAt"`
}
type TemplateSettings ¶ added in v1.65.0
type TemplateSettings struct {
/* 是否使用json setting作为模版的setting */
IsJsonSetting bool `json:"isJsonSetting"`
/* 分片数 (Optional) */
NumberOfShards int `json:"numberOfShards"`
/* 副本数 (Optional) */
NumberOfReplicas int `json:"numberOfReplicas"`
/* 刷新时间 (Optional) */
RefreshInterval string `json:"refreshInterval"`
/* 压缩方式 (Optional) */
Codec string `json:"codec"`
/* json setting (Optional) */
JsonSetting interface{} `json:"jsonSetting"`
/* 节点shard数 (Optional) */
TotalShardsPerNode int `json:"totalShardsPerNode"`
}
type TimeSlots ¶ added in v1.65.0
type TimeSlots struct {
/* 默认可维护工作时间段18:00-22:00(0时区) (Optional) */
DefaultV string `json:"defaultV"`
/* 默认长度四个小时;可选工作时间 02:00-06:00 06:00-10:00 10:00-14:00 14:00-18:00 18:00-22:00 22:00-02:00 (Optional) */
TimeLen int `json:"timeLen"`
/* 第一个时间段的开始时间,18:00,startTime + timeLen = 18:00-22:00 (Optional) */
StartTime string `json:"startTime"`
}
type TypeVersionDescs ¶ added in v1.65.0
type TypeVersionDescs struct {
/* 具体版本信息 (Optional) */
VersionDescs []VersionDesc `json:"versionDescs"`
}
type UpdateK8sResourceMetadataSettings ¶ added in v1.65.0
type UpdateK8sResourceMetadataSettings struct {
/* instanceId (Optional) */
InstanceId string `json:"instanceId"`
/* namespace (Optional) */
Namespace string `json:"namespace"`
/* resourceType (Optional) */
ResourceType string `json:"resourceType"`
/* resourceName (Optional) */
ResourceName string `json:"resourceName"`
/* labels (Optional) */
Labels interface{} `json:"labels"`
/* annotations (Optional) */
Annotations interface{} `json:"annotations"`
}
type UpdateK8sResourceSettings ¶ added in v1.65.0
type UpdateK8sResourceSettings struct {
/* instanceId (Optional) */
InstanceId string `json:"instanceId"`
/* namespace (Optional) */
Namespace string `json:"namespace"`
/* resourceType (Optional) */
ResourceType string `json:"resourceType"`
/* resourceName (Optional) */
ResourceName string `json:"resourceName"`
/* content (Optional) */
Content string `json:"content"`
}
type UpgradeJdkVersionSettings ¶ added in v1.65.0
type UpgradeJdkVersionSettings struct {
}
type UserResourceTypeModel ¶ added in v1.65.0
type UserResourceTypeModel struct {
/* id (Optional) */
Id int `json:"id"`
/* pin (Optional) */
Pin string `json:"pin"`
/* 资源类型 (Optional) */
ResourceType string `json:"resourceType"`
/* 创建时间 (Optional) */
CreatedAt string `json:"createdAt"`
/* 更新时间 (Optional) */
UpdatedAt string `json:"updatedAt"`
}
type VersionDesc ¶ added in v1.65.0
type VersionDesc struct {
}
type WeekDays ¶ added in v1.65.0
type WeekDays struct {
/* 可维护时间的工作日;默认星期一到星期天;["1","2","3","4","5","6","7"] (Optional) */
DefaultV []MaintainableTimeItem `json:"defaultV"`
/* 可选可维护时间工作日;星期一到星期天;["1","2","3","4","5","6","7"] (Optional) */
All []MaintainableTimeItem `json:"all"`
}
type WriteMetric ¶ added in v1.65.0
Source Files
¶
- AddSnapshotReference.go
- AnalyzeParam.go
- AnalyzeResourceData.go
- AnalyzeResponse.go
- AnalyzeResult.go
- AppInfo.go
- AppRelation.go
- ArchSpecConfig.go
- Assets.go
- AuthConfig.go
- AutoSnapshot.go
- AzConf.go
- AzSpecConf.go
- AzSpecConf2.go
- AzSpecConfig.go
- AzSpecConfig2.go
- BaseStorage.go
- BillingInstance.go
- CanChangeStatus.go
- CdcFollowTask.go
- CdcFollowTaskIndexStats.go
- CdcFollowTaskShardStats.go
- ChangeType.go
- CheckUpgradeVersion.go
- CheckUpgradeVersionItem.go
- ClusterLevel.go
- ClusterSettings.go
- ClusterTypeInfo.go
- ClustersDetail.go
- Connects.go
- ConstantStorageLimit.go
- ConstraintsConf.go
- CreateAppInfo.go
- CreateCdcFollowTaskSettings.go
- CreateEsVersionSettings.go
- CreateHistoryIndex.go
- CreateNoticeConfigSettings.go
- CreateOpenapiConfigSettings.go
- CreateSubTask.go
- CreatedAt.go
- CustomConfigItem.go
- CustomSnapshotConfig.go
- DeleteK8sResourceSettings.go
- DeleteSnapshotReference.go
- DescribeCdcFollowTaskResponse.go
- DescribeCdcFollowTaskSettings.go
- DescribeCdcFollowTaskStatsSettings.go
- DescribeCdcFollowTasksResponse.go
- DescribeInstanceLogsResponse.go
- DescribeInstanceLogsSettings.go
- DescribeV1ConfigmapSettings.go
- DetailAnalyzeResourceData.go
- DiagnoseItem.go
- DiagnoseOverviewReport.go
- DiagnoseReport.go
- DiffItem.go
- DimensionMetricData.go
- DownloadUrl.go
- DynamicTemplates.go
- EntityInfo.go
- EsEnhanceFeatures.go
- EsVersion.go
- EstimateTaskTimeReqParam.go
- ExecuteShell.go
- ExecuteShellResult.go
- ExtendInfo.go
- ExternalEndpoint.go
- FaildResult.go
- Features.go
- FlavorConfig.go
- FlexibleStorageLimit.go
- ForwardEsApi.go
- ForwardEsApiResult.go
- GetK8sResourceSettings.go
- IncStorage.go
- IndexDeail.go
- IndexLevel.go
- IndexLevelOperations.go
- IndexMappingPropertiesAnalyzer.go
- IndexMappingPropertiesSearchAnalyzer.go
- IndexMappingPropertiesType.go
- IndexName.go
- IndexPropertiesType.go
- IndexTemplateCron.go
- IndexTemplateCronConf.go
- IndexTemplateCronLog.go
- IndicatorSimpleMetadata.go
- Instance.go
- InstanceClass.go
- InstanceClassDetail.go
- InstanceClassDetailListModel.go
- InstanceClassRecommend.go
- InstanceClassSpec.go
- InstanceExtendInfo.go
- InstanceName.go
- InstanceNode.go
- InstanceResourceQuota.go
- InstanceScenarioTemplate.go
- InstanceSpec.go
- InstanceSpecConf.go
- InstanceSpecConfig.go
- InstanceStatus.go
- InternalEndpoint.go
- IpConns.go
- Log.go
- LogLine.go
- LongStorage.go
- MaintainableTimeItem.go
- MaintainableTimes.go
- MenuDetail.go
- MergeClusterInfo.go
- MetricDataPoint.go
- MetricItem.go
- MetricType.go
- ModifyEsVersionSettings.go
- ModifyIndexMappingsSettings.go
- ModifyInstanceExtendInfoSettings.go
- ModifyInstanceFeatureRequest.go
- ModifyInstanceSpecPreCheckData.go
- ModifyInstanceSpecValidatedAllowed.go
- ModifyNoticeConfigSettings.go
- ModifyOpenapiConfigSettings.go
- ModifyScenarioTemplateSettings.go
- ModifyV1ConfigmapSettings.go
- Names.go
- NodeConf.go
- NodeCountLimit.go
- NodeListItem.go
- NodeSpecConfig.go
- Notice.go
- NoticeConfig.go
- OpenapiConfig.go
- Operation.go
- OpsTag.go
- PauseCdcFollowTaskSettings.go
- PipelineInfo.go
- PipelineList.go
- PipelineMode.go
- PipelineProgress.go
- Plugin.go
- PluginItem.go
- PluginListItem.go
- PluginStatusArray.go
- PreviewScenarioTemplate.go
- PublicExposeTypesSettings.go
- ReadMetric.go
- RecommendNodeInfo.go
- Record.go
- Records.go
- RegionInfo.go
- RegionSpecConfig.go
- RegionSpecConfig2.go
- RemoveCdcFollowTaskSettings.go
- Report.go
- ReqTpaasExtension.go
- Resource.go
- ResourceEstimates.go
- RespTpaasExtension.go
- RestoreSnapshotById.go
- ResultInfo.go
- ResumeCdcFollowTaskSettings.go
- RoleModel.go
- RunningTasks.go
- Sales.go
- Scenario.go
- ScenarioTemplate.go
- Snapshot.go
- SnapshotReference.go
- Step.go
- StopSnapshotById.go
- Storage.go
- StorageConfig.go
- StorageLimit.go
- StructMappings.go
- StructMappingsProperties.go
- SubTaskInfo.go
- SubTaskList.go
- SubTaskProgress.go
- SubmitUpgradeVersion.go
- SupportCrossAzNumber.go
- SupportEstimateTaskTime.go
- SupportPlatformList.go
- SupportTaskList.go
- Synonym.go
- Tag.go
- TaskAllStepProgress.go
- TaskBasicInfo.go
- TaskConfig.go
- TaskDetail.go
- TaskListItem.go
- TaskModifyInfo.go
- TaskStepProgress.go
- TaskSupportStatusList.go
- TemplateContent.go
- TemplateResult.go
- TemplateSettings.go
- TimeRange.go
- TimeSlots.go
- TypeVersionDescs.go
- UnitValue.go
- UpdateK8sResourceMetadataSettings.go
- UpdateK8sResourceSettings.go
- UpgradeJdkVersionSettings.go
- UserModel.go
- UserResourceTypeModel.go
- VersionDesc.go
- WeekDays.go
- WriteMetric.go
Click to show internal directories.
Click to hide internal directories.