diff options
Diffstat (limited to 'data/zh_cn/emr/2021-03-20/api-docs.php')
| -rw-r--r-- | data/zh_cn/emr/2021-03-20/api-docs.php | 42118 |
1 files changed, 12207 insertions, 29911 deletions
diff --git a/data/zh_cn/emr/2021-03-20/api-docs.php b/data/zh_cn/emr/2021-03-20/api-docs.php index bdbd412..f3e83ca 100644 --- a/data/zh_cn/emr/2021-03-20/api-docs.php +++ b/data/zh_cn/emr/2021-03-20/api-docs.php @@ -1,181 +1,87 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Emr', - 'version' => '2021-03-20', - ], + 'info' => ['style' => 'RPC', 'product' => 'Emr', 'version' => '2021-03-20'], 'directories' => [ [ - 'id' => 305838, - 'title' => '基础', + 'children' => ['ListReleaseVersions', 'ListInstanceTypes'], 'type' => 'directory', - 'children' => [ - 'ListReleaseVersions', - 'ListInstanceTypes', - ], + 'title' => '基础', + 'id' => 143855, ], [ - 'id' => 305841, - 'title' => '集群', + 'children' => ['RunCluster', 'CreateCluster', 'GetCluster', 'UpdateClusterAttribute', 'ListClusters', 'DeleteCluster', 'GetClusterCloneMeta', 'UpdateClusterAutoRenew'], 'type' => 'directory', - 'children' => [ - 'RunCluster', - 'CreateCluster', - 'GetCluster', - 'UpdateClusterAttribute', - 'ListClusters', - 'DeleteCluster', - 'GetClusterCloneMeta', - 'UpdateClusterAutoRenew', - ], + 'title' => '集群', + 'id' => 143779, ], [ - 'id' => 305850, - 'title' => '集群模板', + 'children' => ['CreateApiTemplate', 'UpdateApiTemplate', 'ListApiTemplates', 'GetApiTemplate', 'DeleteApiTemplate', 'RunApiTemplate'], 'type' => 'directory', - 'children' => [ - 'CreateApiTemplate', - 'UpdateApiTemplate', - 'ListApiTemplates', - 'GetApiTemplate', - 'DeleteApiTemplate', - 'RunApiTemplate', - ], + 'title' => '集群模板', + 'id' => 143848, ], [ - 'id' => 305857, - 'title' => '节点组', + 'children' => ['CreateNodeGroup', 'ListNodeGroups', 'GetNodeGroup', 'IncreaseNodes', 'DecreaseNodes', 'ListNodes', 'UpdateNodeGroupAttributes', 'DeleteNodeGroup'], 'type' => 'directory', - 'children' => [ - 'CreateNodeGroup', - 'ListNodeGroups', - 'GetNodeGroup', - 'IncreaseNodes', - 'DecreaseNodes', - 'ListNodes', - ], + 'title' => '节点组', + 'id' => 143787, ], [ - 'id' => 305864, - 'title' => '弹性伸缩', + 'children' => ['PutAutoScalingPolicy', 'PutManagedScalingPolicy', 'GetAutoScalingPolicy', 'GetManagedScalingPolicy', 'RemoveAutoScalingPolicy', 'ListAutoScalingActivities', 'GetAutoScalingActivity'], 'type' => 'directory', - 'children' => [ - 'PutAutoScalingPolicy', - 'PutManagedScalingPolicy', - 'GetAutoScalingPolicy', - 'GetManagedScalingPolicy', - 'RemoveAutoScalingPolicy', - 'ListAutoScalingActivities', - 'GetAutoScalingActivity', - ], + 'title' => '弹性伸缩', + 'id' => 143802, ], [ - 'id' => 305872, - 'title' => '应用', + 'children' => ['ListApplications', 'GetApplication', 'RunApplicationAction', 'ListApplicationConfigs', 'UpdateApplicationConfigs', 'ListComponents', 'ListComponentInstances'], 'type' => 'directory', - 'children' => [ - 'ListApplications', - 'GetApplication', - 'RunApplicationAction', - 'ListApplicationConfigs', - 'UpdateApplicationConfigs', - 'ListComponents', - 'ListComponentInstances', - ], + 'title' => '应用', + 'id' => 143835, ], [ - 'id' => 305880, - 'title' => '操作', + 'children' => ['GetOperation'], 'type' => 'directory', - 'children' => [ - 'GetOperation', - ], + 'title' => '操作', + 'id' => 143794, ], [ - 'id' => 305882, - 'title' => '资源组', + 'children' => ['JoinResourceGroup'], 'type' => 'directory', - 'children' => [ - 'JoinResourceGroup', - ], + 'title' => '资源组', + 'id' => 143796, ], [ - 'id' => 305884, - 'title' => '标签', + 'children' => ['TagResources', 'UntagResources', 'ListTagResources'], 'type' => 'directory', - 'children' => [ - 'TagResources', - 'UntagResources', - 'ListTagResources', - ], + 'title' => '标签', + 'id' => 143798, ], [ - 'id' => 305888, - 'title' => '脚本', + 'children' => ['CreateScript', 'ListScripts', 'UpdateScript', 'DeleteScript'], 'type' => 'directory', - 'children' => [ - 'CreateScript', - 'ListScripts', - 'UpdateScript', - 'DeleteScript', - ], + 'title' => '脚本', + 'id' => 143843, ], [ - 'id' => 305893, - 'title' => '监控诊断', - 'type' => 'directory', 'children' => [ - 'ListDoctorHiveDatabases', - 'GetDoctorHiveDatabase', - 'GetDoctorHiveCluster', - 'ListDoctorHiveTables', - 'GetDoctorHiveTable', - 'ListDoctorHDFSUGI', - 'ListDoctorHBaseTables', - 'ListDoctorHBaseRegionServers', - 'GetDoctorHBaseTable', - 'GetDoctorHBaseRegionServer', - 'GetDoctorHBaseRegion', - 'GetDoctorHBaseCluster', - 'GetDoctorHDFSDirectory', - 'ListDoctorJobsStats', - 'ListDoctorReports', - 'GetDoctorReportComponentSummary', - 'ListDoctorJobs', - 'ListDoctorComputeSummary', - 'GetDoctorComputeSummary', - 'GetDoctorJob', - 'ListDoctorApplications', - 'ListDoctorHDFSDirectories', - 'GetDoctorHDFSCluster', - 'GetDoctorApplication', + 'ListDoctorHiveDatabases', 'GetDoctorHiveDatabase', 'GetDoctorHiveCluster', 'ListDoctorHiveTables', 'GetDoctorHiveTable', 'ListDoctorHDFSUGI', 'ListDoctorHBaseTables', 'ListDoctorHBaseRegionServers', 'GetDoctorHBaseTable', 'GetDoctorHBaseRegionServer', 'GetDoctorHBaseRegion', 'GetDoctorHBaseCluster', 'GetDoctorHDFSDirectory', 'ListDoctorJobsStats', 'ListDoctorReports', 'GetDoctorReportComponentSummary', 'ListDoctorJobs', 'ListDoctorComputeSummary', 'GetDoctorComputeSummary', 'GetDoctorJob', + 'ListDoctorApplications', 'ListDoctorHDFSDirectories', 'GetDoctorHDFSCluster', 'GetDoctorApplication', ], - ], - [ - 'id' => 305918, - 'title' => 'OpenLDAP用户管理', 'type' => 'directory', - 'children' => [ - 'CreateUsers', - 'DeleteUsers', - 'UpdateUserAttribute', - 'ListUsers', - ], + 'title' => '监控诊断', + 'id' => 143810, ], [ - 'id' => 305923, - 'title' => '其他', + 'children' => ['CreateUsers', 'DeleteUsers', 'UpdateUserAttribute', 'ListUsers'], 'type' => 'directory', - 'children' => [ - 'ExportApplicationConfigs', - ], + 'title' => 'OpenLDAP用户管理', + 'id' => 143858, ], [ - 'id' => 305925, - 'title' => '其他', + 'children' => ['ExportApplicationConfigs'], 'type' => 'directory', - 'children' => [], + 'title' => '其他', + 'id' => 143863, ], ], 'components' => [ @@ -183,146 +89,51 @@ 'AckConfig' => [ 'type' => 'object', 'properties' => [ - 'AckInstanceId' => [ - 'title' => 'ack集群id', - 'description' => 'ack集群id', - 'type' => 'string', - ], - 'NodeSelectors' => [ - 'title' => 'ack的节点标签限制', - 'description' => 'ack的节点标签限制', - 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/Tag', - ], - ], + 'LimitMemory' => ['title' => 'Pod的内存限制值。', 'description' => 'Pod的内存限制值。', 'type' => 'number', 'format' => 'float'], + 'NodeAffinity' => ['title' => '节点亲和性', 'type' => 'string'], + 'RequestMemory' => ['title' => 'Pod的内存请求值。', 'description' => 'Pod的内存请求值。', 'type' => 'number', 'format' => 'float'], 'Tolerations' => [ 'title' => 'ack的节点污点容忍', 'description' => 'ack的节点污点容忍', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/Toleration', - ], - ], - 'Namespace' => [ - 'title' => 'ack 命名空间', - 'description' => 'ack 命名空间', - 'type' => 'string', - ], - 'RequestCpu' => [ - 'title' => 'Pod的CPU请求值', - 'description' => 'Pod的CPU请求值', - 'type' => 'number', - 'format' => 'float', - ], - 'RequestMemory' => [ - 'title' => 'Pod的内存请求值。', - 'description' => 'Pod的内存请求值。', - 'type' => 'number', - 'format' => 'float', - ], - 'LimitCpu' => [ - 'title' => 'Pod的CPU限制值。', - 'description' => 'Pod的CPU限制值。', - 'type' => 'number', - 'format' => 'float', - ], - 'LimitMemory' => [ - 'title' => 'Pod的内存限制值。', - 'description' => 'Pod的内存限制值。', - 'type' => 'number', - 'format' => 'float', - ], - 'DataDiskStorageClass' => [ - 'title' => '类型', - 'type' => 'string', - ], - 'DataDiskSize' => [ - 'title' => '磁盘大小', - 'type' => 'integer', - 'format' => 'int32', - ], - 'CustomLabels' => [ - 'title' => 'label', - 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/Tag', - ], + 'items' => ['$ref' => '#/components/schemas/Toleration'], ], + 'DataDiskStorageClass' => ['title' => '类型', 'type' => 'string'], + 'LimitCpu' => ['title' => 'Pod的CPU限制值。', 'description' => 'Pod的CPU限制值。', 'type' => 'number', 'format' => 'float'], 'CustomAnnotations' => [ 'title' => 'annotations', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/Tag', - ], - ], - 'MountHostCgroup' => [ - 'title' => '是否挂在cgroup', - 'type' => 'boolean', - ], - 'NodeAffinity' => [ - 'title' => '节点亲和性', - 'type' => 'string', - ], - 'PodAntiAffinity' => [ - 'title' => '应用反亲和性', - 'type' => 'string', - ], - 'PodAffinity' => [ - 'title' => '应用亲和性', - 'type' => 'string', - ], - 'PreStartCommand' => [ - 'title' => '启动命令', - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['$ref' => '#/components/schemas/Tag'], ], + 'Namespace' => ['title' => 'ack 命名空间', 'description' => 'ack 命名空间', 'type' => 'string'], 'Pvcs' => [ 'title' => '云存储声明', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'DataDiskStorageClass' => [ - 'title' => '类型', - 'type' => 'string', - ], - 'DataDiskSize' => [ - 'title' => '磁盘大小', - 'type' => 'integer', - 'format' => 'int64', - ], - 'Path' => [ - 'title' => '挂载路径', - 'type' => 'string', - ], - 'Name' => [ - 'title' => 'pvc名称', - 'type' => 'string', - ], + 'Path' => ['title' => '挂载路径', 'type' => 'string'], + 'DataDiskStorageClass' => ['title' => '类型', 'type' => 'string'], + 'DataDiskSize' => ['title' => '磁盘大小', 'type' => 'integer', 'format' => 'int64'], + 'Name' => ['title' => 'pvc名称', 'type' => 'string'], ], ], ], + 'PodAffinity' => ['title' => '应用亲和性', 'type' => 'string'], + 'CustomLabels' => [ + 'title' => 'label', + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/Tag'], + ], 'Volumes' => [ 'title' => '卷定义', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => '卷名称', - 'type' => 'string', - ], - 'Path' => [ - 'title' => '源路径', - 'type' => 'string', - ], - 'Type' => [ - 'title' => 'type', - 'type' => 'string', - ], + 'Path' => ['title' => '源路径', 'type' => 'string'], + 'Type' => ['title' => 'type', 'type' => 'string'], + 'Name' => ['title' => '卷名称', 'type' => 'string'], ], ], ], @@ -332,49 +143,41 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => '卷名称', - 'type' => 'string', - ], - 'Path' => [ - 'title' => '容器内挂载路径', - 'type' => 'string', - ], + 'Path' => ['title' => '容器内挂载路径', 'type' => 'string'], + 'Name' => ['title' => '卷名称', 'type' => 'string'], ], ], ], + 'MountHostCgroup' => ['title' => '是否挂在cgroup', 'type' => 'boolean'], + 'PreStartCommand' => [ + 'title' => '启动命令', + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + 'AckInstanceId' => ['title' => 'ack集群id', 'description' => 'ack集群id', 'type' => 'string'], + 'DataDiskSize' => ['title' => '磁盘大小', 'type' => 'integer', 'format' => 'int32'], + 'PodAntiAffinity' => ['title' => '应用反亲和性', 'type' => 'string'], + 'NodeSelectors' => [ + 'title' => 'ack的节点标签限制', + 'description' => 'ack的节点标签限制', + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/Tag'], + ], + 'RequestCpu' => ['title' => 'Pod的CPU请求值', 'description' => 'Pod的CPU请求值', 'type' => 'number', 'format' => 'float'], ], ], 'AckNode' => [ 'type' => 'object', 'properties' => [ - 'NodeId' => [ - 'title' => '节点ID。', - 'description' => '节点ID。', - 'type' => 'string', - 'example' => 'i-bp1cudc25w2bfwl5****', - ], - 'NodeSelector' => [ - 'title' => 'ACK节点选择器。', - 'description' => 'ACK节点选择器。', - '$ref' => '#/components/schemas/AckNodeSelector', - ], + 'NodeId' => ['title' => '节点ID。', 'description' => '节点ID。', 'type' => 'string', 'example' => 'i-bp1cudc25w2bfwl5****'], + 'NodeSelector' => ['title' => 'ACK节点选择器。', 'description' => 'ACK节点选择器。', '$ref' => '#/components/schemas/AckNodeSelector'], ], ], 'AckNodePool' => [ 'type' => 'object', 'properties' => [ - 'NodePoolId' => [ - 'title' => '节点池ID。', - 'description' => '节点池ID。', - 'type' => 'string', - 'example' => 'npe76629caa1b14a73bf3e47c6d481****', - ], - 'NodeSelector' => [ - 'title' => 'ACK节点选择器。', - 'description' => 'ACK节点选择器。', - '$ref' => '#/components/schemas/AckNodeSelector', - ], + 'NodePoolId' => ['title' => '节点池ID。', 'description' => '节点池ID。', 'type' => 'string', 'example' => 'npe76629caa1b14a73bf3e47c6d481****'], + 'NodeSelector' => ['title' => 'ACK节点选择器。', 'description' => 'ACK节点选择器。', '$ref' => '#/components/schemas/AckNodeSelector'], ], ], 'AckNodeSelector' => [ @@ -387,18 +190,8 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Key' => [ - 'title' => '标签键。', - 'description' => '标签键。', - 'type' => 'string', - 'example' => 'emr', - ], - 'Value' => [ - 'title' => '标签值。', - 'description' => '标签值。', - 'type' => 'string', - 'example' => 'true', - ], + 'Value' => ['title' => '标签值。', 'description' => '标签值。', 'type' => 'string', 'example' => 'true'], + 'Key' => ['title' => '标签键。', 'description' => '标签键。', 'type' => 'string', 'example' => 'emr'], ], ], ], @@ -409,23 +202,9 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Key' => [ - 'title' => '污点键。', - 'description' => '污点键。', - 'type' => 'string', - 'example' => 'emr', - ], - 'Value' => [ - 'title' => '污点值。', - 'description' => '污点值。', - 'type' => 'string', - 'example' => 'true', - ], - 'Effect' => [ - 'title' => '污点效果。', - 'description' => '污点效果。', - 'type' => 'string', - ], + 'Value' => ['title' => '污点值。', 'description' => '污点值。', 'type' => 'string', 'example' => 'true'], + 'Effect' => ['title' => '污点效果。', 'description' => '污点效果。', 'type' => 'string'], + 'Key' => ['title' => '污点键。', 'description' => '污点键。', 'type' => 'string', 'example' => 'emr'], ], ], ], @@ -434,329 +213,87 @@ 'AdviseSummary' => [ 'type' => 'object', 'properties' => [ - 'VcoreUtilizationRate' => [ - '$ref' => '#/components/schemas/DoubleMetric', - ], - 'MemoryUtilizationRate' => [ - '$ref' => '#/components/schemas/DoubleMetric', - ], + 'VcoreUtilizationRate' => ['$ref' => '#/components/schemas/DoubleMetric'], + 'MemoryUtilizationRate' => ['$ref' => '#/components/schemas/DoubleMetric'], ], ], 'ApiTemplate' => [ 'description' => 'Api模板。', 'type' => 'object', 'properties' => [ - 'RegionId' => [ - 'title' => '区域ID。', - 'description' => '地域ID 。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'TemplateId' => [ - 'title' => '模板ID。', - 'description' => '模板ID。', - 'type' => 'string', - 'example' => 'AT-Af***', - ], - 'TemplateName' => [ - 'title' => '模板ID。', - 'description' => '模板名称。', - 'type' => 'string', - 'example' => 'datalakeTest1', - ], - 'ApiName' => [ - 'title' => '接口名。', - 'description' => '接口名。', - 'type' => 'string', - 'example' => 'CreateCluster', - ], - 'ResourceGroupId' => [ - 'title' => '资源组ID。', - 'description' => '资源组ID。', - 'type' => 'string', - 'example' => 'rg-acfmzabjyop****', - ], - 'Status' => [ - 'title' => '模板状态。', - 'description' => '模板状态。', - 'type' => 'string', - 'example' => 'READY', - ], - 'Content' => [ - 'title' => '模版接口参数。', - 'description' => '模板接口参数。', - 'type' => 'string', - 'example' => 'content'."\n", - ], + 'Status' => ['title' => '模板状态。', 'description' => '模板状态。', 'type' => 'string', 'example' => 'READY'], + 'ResourceGroupId' => ['title' => '资源组ID。', 'description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-acfmzabjyop****'], + 'ApiName' => ['title' => '接口名。', 'description' => '接口名。', 'type' => 'string', 'example' => 'CreateCluster'], + 'Content' => ['title' => '模版接口参数。', 'description' => '模板接口参数。', 'type' => 'string', 'example' => 'content'."\n"], + 'TemplateName' => ['title' => '模板ID。', 'description' => '模板名称。', 'type' => 'string', 'example' => 'datalakeTest1'], + 'RegionId' => ['title' => '区域ID。', 'description' => '地域ID 。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'TemplateId' => ['title' => '模板ID。', 'description' => '模板ID。', 'type' => 'string', 'example' => 'AT-Af***'], ], ], 'Application' => [ 'type' => 'object', 'properties' => [ - 'ApplicationName' => [ - 'title' => '应用名称。', - 'description' => '应用名称。从EMR控制台集群创建页面可查看到各EMR发行版的应用名称列表。', - 'type' => 'string', - 'required' => true, - 'example' => 'SPARK', - ], + 'ApplicationName' => ['title' => '应用名称。', 'description' => '应用名称。从EMR控制台集群创建页面可查看到各EMR发行版的应用名称列表。', 'type' => 'string', 'required' => true, 'example' => 'SPARK'], ], + 'description' => '', ], 'ApplicationConfig' => [ 'description' => '参数配置', 'type' => 'object', 'properties' => [ - 'ApplicationName' => [ - 'title' => '应用名称。', - 'description' => '应用名称。从EMR控制台集群创建页面可查看到各EMR发行版的应用名称列表。', - 'type' => 'string', - 'required' => true, - 'example' => 'HDFS', - ], - 'ConfigFileName' => [ - 'title' => '应用配置文件名。', - 'description' => '配置文件名称。'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'hdfs-site.xml', - ], - 'ConfigItemKey' => [ - 'title' => '配置项键。', - 'description' => '配置项键。', - 'type' => 'string', - 'required' => true, - 'example' => 'dfs.namenode.checkpoint.period', - ], - 'ConfigItemValue' => [ - 'title' => '配置项值。', - 'description' => '配置项值。', - 'type' => 'string', - 'example' => '3600s', - ], - 'ConfigScope' => [ - 'title' => '配置范围。', - 'description' => '配置范围。取值范围:'."\n" - .'- CLUSTER:集群级别。'."\n" - .'- NODE_GROUP:节点组级别。'."\n" - ."\n" - .'默认值:CLUSTER。', - 'type' => 'string', - 'example' => 'NODE_GROUP', - ], - 'NodeGroupName' => [ - 'title' => '节点组名称。', - 'description' => '节点组名称。ConfigScope取值NODE_GROUP时,且参数NodeGroupId为空时生效,该参数生效。', - 'type' => 'string', - 'example' => 'core-1', - ], - 'NodeGroupId' => [ - 'title' => '节点组ID。', - 'description' => '节点组ID。ConfigScope取值NODE_GROUP时,该参数生效。NodeGroupId参数优先级高于NodeGroupName。', - 'type' => 'string', - 'example' => 'ng-869471354ecd****', - ], + 'ConfigFileName' => ['title' => '应用配置文件名。', 'description' => '配置文件名称。'."\n", 'type' => 'string', 'required' => true, 'example' => 'hdfs-site.xml'], + 'ApplicationName' => ['title' => '应用名称。', 'description' => '应用名称。从EMR控制台集群创建页面可查看到各EMR发行版的应用名称列表。', 'type' => 'string', 'required' => true, 'example' => 'HDFS'], + 'ConfigItemKey' => ['title' => '配置项键。', 'description' => '配置项键。', 'type' => 'string', 'required' => true, 'example' => 'dfs.namenode.checkpoint.period'], + 'NodeGroupName' => ['title' => '节点组名称。', 'description' => '节点组名称。ConfigScope取值NODE_GROUP时,且参数NodeGroupId为空时生效,该参数生效。', 'type' => 'string', 'example' => 'core-1'], + 'ConfigScope' => ['title' => '配置范围。', 'description' => '配置范围。取值范围:'."\n" + .'- CLUSTER:集群级别。'."\n" + .'- NODE_GROUP:节点组级别。'."\n" + ."\n" + .'默认值:CLUSTER。', 'type' => 'string', 'example' => 'NODE_GROUP'], + 'NodeGroupId' => ['title' => '节点组ID。', 'description' => '节点组ID。ConfigScope取值NODE_GROUP时,该参数生效。NodeGroupId参数优先级高于NodeGroupName。', 'type' => 'string', 'example' => 'ng-869471354ecd****'], + 'ConfigItemValue' => ['title' => '配置项值。', 'description' => '配置项值。', 'type' => 'string', 'example' => '3600s'], ], ], 'ApplicationConfigFile' => [ 'type' => 'object', 'properties' => [ - 'ApplicationName' => [ - 'title' => '应用名称。', - 'description' => '应用名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'HDFS', - ], - 'ConfigFileName' => [ - 'title' => '配置文件名称。', - 'description' => '配置文件名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'core-site.xml', - ], - ], - ], - 'ApplicationConfigParam' => [ - 'title' => '服务配置。', - 'type' => 'object', - 'properties' => [ - 'ConfigFileName' => [ - 'title' => '配置文件名称。', - 'type' => 'string', - 'example' => 'hdfs-site.xml', - ], - 'ConfigItemKey' => [ - 'title' => '配置项键。', - 'type' => 'string', - 'example' => 'dfs.namenode.checkpoint.period', - ], - 'ConfigItemValue' => [ - 'title' => '配置项值。', - 'type' => 'string', - 'example' => '3600s', - ], - 'ConfigItemDescription' => [ - 'title' => '配置项描述。', - 'type' => 'string', - 'example' => 'namenode checkpoint period', - ], - 'ConfigScope' => [ - 'title' => '配置作用域。', - 'type' => 'string', - ], - 'NodeId' => [ - 'title' => '节点ID。', - 'type' => 'string', - 'example' => 'i-bp10h9rezawz1i4o****', - ], - 'NodeGroupId' => [ - 'title' => '节点组ID。', - 'type' => 'string', - 'example' => 'G-DE1CF4661E09****', - ], - 'ConfigAction' => [ - 'title' => '配置动作。', - 'type' => 'string', - 'example' => 'DELETE', - ], - 'EffectiveType' => [ - 'title' => '生效方式。', - 'type' => 'string', - 'example' => 'MANUAL', - ], - 'EffectiveActions' => [ - 'title' => '生效操作。', - 'type' => 'string', - 'example' => 'RESTART', - ], + 'ApplicationName' => ['title' => '应用名称。', 'description' => '应用名称。', 'type' => 'string', 'required' => true, 'example' => 'HDFS'], + 'ConfigFileName' => ['title' => '配置文件名称。', 'description' => '配置文件名称。', 'type' => 'string', 'required' => false, 'example' => 'core-site.xml'], ], ], 'ApplicationConfigurationFile' => [ 'type' => 'object', 'properties' => [ - 'ApplicationName' => [ - 'type' => 'string', - 'required' => false, - ], - 'ConfigFileName' => [ - 'type' => 'string', - 'required' => false, - ], - 'ConfigFilePath' => [ - 'type' => 'string', - 'required' => false, - ], - 'ConfigFileFormat' => [ - 'type' => 'string', - ], - 'ConfigFileLink' => [ - 'type' => 'string', - ], - 'ConfigFileOwner' => [ - 'type' => 'string', - ], - 'ConfigFileGroup' => [ - 'type' => 'string', - ], - 'ConfigFileMode' => [ - 'type' => 'string', - ], - 'Description' => [ - 'type' => 'string', - ], - 'NodeGroupId' => [ - 'type' => 'string', - ], - 'NodeId' => [ - 'type' => 'string', - ], - 'ClusterId' => [ - 'type' => 'string', - ], + 'ApplicationName' => ['type' => 'string', 'required' => false], + 'ConfigFileName' => ['type' => 'string', 'required' => false], + 'ConfigFilePath' => ['type' => 'string', 'required' => false], + 'ConfigFileFormat' => ['type' => 'string'], + 'ConfigFileLink' => ['type' => 'string'], + 'ConfigFileOwner' => ['type' => 'string'], + 'ConfigFileGroup' => ['type' => 'string'], + 'ConfigFileMode' => ['type' => 'string'], + 'Description' => ['type' => 'string'], + 'NodeGroupId' => ['type' => 'string'], + 'NodeId' => ['type' => 'string'], + 'ClusterId' => ['type' => 'string'], ], ], 'Attribute' => [ 'type' => 'object', 'properties' => [ - 'Key' => [ - 'title' => '键。', - 'description' => '键。', - 'type' => 'string', - 'example' => 'currentYarnRangerPluginState', - ], - 'Value' => [ - 'title' => '值。', - 'description' => '值。', - 'type' => 'string', - 'example' => 'true', - ], + 'Value' => ['title' => '值。', 'description' => '值。', 'type' => 'string', 'example' => 'true'], + 'Key' => ['title' => '键。', 'description' => '键。', 'type' => 'string', 'example' => 'currentYarnRangerPluginState'], ], ], 'AutoRenewInstance' => [ 'type' => 'object', 'properties' => [ - 'InstanceId' => [ - 'title' => '节点ID。', - 'description' => '节点ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'i-bp1cudc25w2bfwl5****', - ], - 'AutoRenew' => [ - 'title' => '自动续费。', - 'description' => '自动续费。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'AutoRenewDuration' => [ - 'title' => '自动续费时长。', - 'description' => '自动续费时长。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'AutoRenewDurationUnit' => [ - 'title' => '自动付费时长单位。', - 'description' => '自动付费时长单位。', - 'type' => 'string', - 'example' => 'Month', - ], - 'EmrAutoRenewDuration' => [ - 'title' => 'emr实例自动续费时长。', - 'description' => 'emr实例自动续费时长。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'EmrAutoRenewDurationUnit' => [ - 'title' => 'emr实例自动续费时长单位。', - 'description' => 'emr实例自动续费时长单位。', - 'type' => 'string', - 'example' => 'Month', - ], - ], - ], - 'AutoRenewInstanceParam' => [ - 'title' => 'A short description of struct', - 'description' => '自动续费实例参数', - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'title' => '实例ID', - 'type' => 'string', - ], - 'AutoRenewDuration' => [ - 'title' => '自动续费时长', - 'type' => 'string', - ], - 'AutoRenewDurationUnit' => [ - 'title' => '自动续费时长单位', - 'type' => 'string', - ], - 'AutoRenew' => [ - 'title' => '是否自动续费', - 'type' => 'string', - ], + 'InstanceId' => ['title' => '节点ID。', 'description' => '节点ID。', 'type' => 'string', 'required' => true, 'example' => 'i-bp1cudc25w2bfwl5****'], + 'AutoRenew' => ['title' => '自动续费。', 'description' => '自动续费。', 'type' => 'boolean', 'example' => 'true'], + 'AutoRenewDuration' => ['title' => '自动续费时长。', 'description' => '自动续费时长。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'AutoRenewDurationUnit' => ['title' => '自动付费时长单位。', 'description' => '自动付费时长单位。', 'type' => 'string', 'example' => 'Month'], + 'EmrAutoRenewDuration' => ['title' => 'emr实例自动续费时长。', 'description' => 'emr实例自动续费时长。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'EmrAutoRenewDurationUnit' => ['title' => 'emr实例自动续费时长单位。', 'description' => 'emr实例自动续费时长单位。', 'type' => 'string', 'example' => 'Month'], ], ], 'AutoScalingConstraints' => [ @@ -766,18 +303,14 @@ 'title' => '支持的弹性伸缩规则类型。', 'description' => '支持的弹性伸缩规则类型。', 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'example' => '["TIME_TRIGGER","METRICS_TRIGGER"]', ], 'SupportMetrics' => [ 'title' => '支持的按负载弹性伸缩指标列表。', 'description' => '支持的按负载弹性伸缩指标列表。', 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'example' => '["YarnRootAvailableMemoryUsage","YarnRootAvailableVcores"]', ], 'SupportMetricTags' => [ @@ -787,58 +320,30 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'MetricName' => [ - 'title' => '指标名称。', - 'description' => '指标名称。', - 'type' => 'string', - ], + 'MetricName' => ['title' => '指标名称。', 'description' => '指标名称。', 'type' => 'string'], 'Tags' => [ 'title' => '指标Tag。', 'description' => '指标Tag。', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/Tag', - ], + 'items' => ['$ref' => '#/components/schemas/Tag'], ], ], ], ], - 'MaxAdjustmentValue' => [ - 'title' => '单次伸缩活动最大扩缩容节点数量。', - 'description' => '单次伸缩活动最大扩缩容节点数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1000', - ], - 'MaxByLoadRuleCount' => [ - 'title' => '按负载规则数量最大值。', - 'description' => '按负载规则数量最大值。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'MaxByTimeRuleCount' => [ - 'title' => '按时间规则数量最大值。', - 'description' => '按时间规则数量最大值。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], + 'MaxAdjustmentValue' => ['title' => '单次伸缩活动最大扩缩容节点数量。', 'description' => '单次伸缩活动最大扩缩容节点数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'], + 'MaxByLoadRuleCount' => ['title' => '按负载规则数量最大值。', 'description' => '按负载规则数量最大值。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'MaxByTimeRuleCount' => ['title' => '按时间规则数量最大值。', 'description' => '按时间规则数量最大值。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'AutoScalingMetricUnits' => [ 'title' => '按负载伸缩指标单位描述。', 'description' => '按负载伸缩指标单位描述。', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/MetricUnitValue', - ], + 'items' => ['$ref' => '#/components/schemas/MetricUnitValue'], ], 'DefaultMetricTriggeredRules' => [ 'title' => '默认按负载弹性伸缩规则列表', 'description' => '默认按负载弹性伸缩规则列表', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/ScalingRule', - ], + 'items' => ['$ref' => '#/components/schemas/ScalingRule'], ], ], ], @@ -849,624 +354,148 @@ 'ScalingRules' => [ 'title' => '弹性伸缩规则列表', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/ScalingRule', - ], + 'items' => ['required' => false, '$ref' => '#/components/schemas/ScalingRule'], 'required' => false, ], 'Constraints' => [ 'title' => '最大最小值约束', 'type' => 'object', 'properties' => [ - 'MaxCapacity' => [ - 'title' => '最大值', - 'type' => 'integer', - 'format' => 'int32', - ], - 'MinCapacity' => [ - 'title' => '最小值', - 'type' => 'integer', - 'format' => 'int32', - ], + 'MaxCapacity' => ['title' => '最大值', 'type' => 'integer', 'format' => 'int32'], + 'MinCapacity' => ['title' => '最小值', 'type' => 'integer', 'format' => 'int32'], ], ], ], ], - 'ByLoadScalingRule' => [ - 'type' => 'object', - 'properties' => [ - 'MetricName' => [ - 'title' => '指标名称。', - 'description' => '指标名称。指标名称需要在 ListAutoScalingMetrics 接口返回的指标名称列表中。', - 'type' => 'string', - 'required' => true, - 'example' => 'yarn_resourcemanager_root_availablememoryusage', - ], - 'Statistics' => [ - 'title' => '统计量名称。', - 'description' => '统计量名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'AVG', - ], - 'ComparisonOperator' => [ - 'title' => '比较符。', - 'description' => '比较符。', - 'type' => 'string', - 'required' => true, - 'example' => 'LT', - ], - 'TimeWindow' => [ - 'title' => '统计窗口。', - 'description' => '统计窗口。单位为秒。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '30', - ], - 'Threshold' => [ - 'title' => '阈值。', - 'description' => '阈值。', - 'type' => 'number', - 'format' => 'double', - 'required' => true, - 'example' => '12.5', - ], - 'EvaluationCount' => [ - 'title' => '统计次数。', - 'description' => '统计次数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '2', - ], - 'CoolDownInterval' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'ByLoadScalingRuleSpec' => [ - 'type' => 'object', - 'properties' => [ - 'MetricName' => [ - 'title' => '指标名称。', - 'description' => '指标名称。指标名称需要在 ListAutoScalingMetrics 接口返回的指标名称列表中。', - 'type' => 'string', - 'required' => true, - 'example' => 'yarn_resourcemanager_root_availablememoryusage', - ], - 'Statistics' => [ - 'title' => '统计量名称。', - 'description' => '统计量名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'AVG', - ], - 'ComparisonOperator' => [ - 'title' => '比较符。', - 'description' => '比较符。', - 'type' => 'string', - 'required' => true, - 'example' => 'LT', - ], - 'TimeWindow' => [ - 'title' => '统计窗口。', - 'description' => '统计窗口。单位为秒。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '30', - ], - 'Threshold' => [ - 'title' => '阈值。', - 'description' => '阈值。', - 'type' => 'number', - 'format' => 'double', - 'required' => true, - 'example' => '12.5', - ], - 'EvaluationCount' => [ - 'title' => '统计次数。', - 'description' => '统计次数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '2', - ], - ], - ], - 'ByTimeScalingRule' => [ - 'type' => 'object', - 'properties' => [ - 'LaunchTime' => [ - 'title' => '启动时间戳。', - 'description' => '启动时间戳。单位为毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1639714634819', - ], - 'EndTime' => [ - 'title' => '重复执行定时任务的结束时间戳。', - 'description' => '重复执行定时任务的结束时间戳。单位为毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1639714800000', - ], - 'LaunchExpirationTime' => [ - 'title' => '定时任务触发操作失败后,在此时间内重试。单位为秒,取值范围:0~3600。', - 'description' => '定时任务触发操作失败后,在此时间内重试。单位为秒,取值范围:0~3600。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '600', - ], - 'RecurrenceType' => [ - 'title' => '指定时间规则的执行类型。', - 'description' => '指定时间规则的执行类型。', - 'type' => 'string', - 'example' => 'WEEKLY', - ], - 'RecurrenceValue' => [ - 'title' => '重复执行定时任务的数值。', - 'description' => '重复执行定时任务的数值。具体取值取决于 recurrenceType 设置。'."\n" - .'- recurrenceType 取 MINUTELY 时,只能填一个数值,取值范围:1~1440。'."\n" - .'- recurrenceType 取 HOURLY 时,只能填一个数值,取值范围:1~24。'."\n" - .'- recurrenceType 取 DAILY 时,只能填一个数值,取值范围:1~31。'."\n" - .'- recurrenceType 取 WEEKLY 时,可以填入多个值,填多个值时使用英文逗号(,)分隔。周一到周天分别用MON,TUE,WED,THU,FRI,SAT,SUN代替。 比如 MON,FRI,SUN 代表周一、周五、周天。'."\n" - .'- recurrenceType 取 MONTHLY 时,格式为A-B或者A,B。A、B的取值范围为1~31,如果使用A-B时B必须大于A。', - 'type' => 'string', - 'example' => 'MON,FRI,SUN', - ], - ], - ], - 'ByTimeScalingRuleSpec' => [ - 'type' => 'object', - 'properties' => [ - 'LaunchTime' => [ - 'title' => '启动时间戳。', - 'description' => '启动时间戳。单位为毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1639714634819', - ], - 'EndTime' => [ - 'title' => '重复执行定时任务的结束时间戳。', - 'description' => '重复执行定时任务的结束时间戳。单位为毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1639714800000', - ], - 'RecurrenceType' => [ - 'title' => '指定时间规则的执行类型。', - 'description' => '指定时间规则的执行类型。', - 'type' => 'string', - 'example' => 'WEEKLY', - ], - 'RecurrenceValue' => [ - 'title' => '重复执行定时任务的数值。', - 'description' => '重复执行定时任务的数值。具体取值取决于 recurrenceType 设置。', - 'type' => 'string', - 'example' => 'MON,FRI,SUN', - ], - ], - ], - 'ClickhouseConf' => [ - 'title' => 'A short description of struct', - 'description' => 'ClickhouseConf', - 'type' => 'object', - 'properties' => [ - 'InitialReplica' => [ - 'title' => 'initialReplica', - 'type' => 'integer', - 'format' => 'int32', - ], - 'InitialShard' => [ - 'title' => 'initialShard', - 'type' => 'integer', - 'format' => 'int32', - ], - 'NewNodeCount' => [ - 'title' => 'newNodeCount', - 'type' => 'integer', - 'format' => 'int32', - ], - 'ResizeType' => [ - 'title' => 'resizeType', - 'type' => 'string', - ], - ], - ], 'Cluster' => [ 'title' => '集群实体', 'description' => '集群实体', 'type' => 'object', 'properties' => [ - 'RegionId' => [ - 'title' => '地域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'ResourceGroupId' => [ - 'title' => '资源组ID。', - 'description' => '资源组ID。', - 'type' => 'string', - 'example' => 'rg-acfmzabjyop****', - ], - 'ClusterId' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'example' => 'c-b933c5aac8fe****', - ], - 'ClusterName' => [ - 'title' => '集群名称。', - 'description' => '集群名称。', - 'type' => 'string', - 'example' => 'emrtest', - ], - 'ClusterType' => [ - 'title' => '集群类型。', - 'description' => '集群类型。取值范围:'."\n" - .'- DATALAKE:新版数据湖。'."\n" - .'- OLAP:数据分析。'."\n" - .'- DATAFLOW:实时数据流。'."\n" - .'- DATASERVING:数据服务。'."\n" - .'- CUSTOM:自定义混部集群。'."\n" - .'- HADOOP:旧版数据湖。', - 'type' => 'string', - 'example' => 'DATALAKE', - ], - 'ClusterState' => [ - 'title' => '集群状态。', - 'description' => '集群状态。取值范围:'."\n" - .'- STARTING:启动中。'."\n" - .'- START_FAILED:启动失败。'."\n" - .'- BOOTSTRAPPING:引导操作初始化。'."\n" - .'- RUNNING:运行中。'."\n" - .'- TERMINATING:终止中。'."\n" - .'- TERMINATED:已终止。'."\n" - .'- TERMINATED\\_WITH\\_ERRORS:发生异常导致终止'."\n" - .'- TERMINATE_FAILED:终止失败。', - 'type' => 'string', - 'example' => 'RUNNING', - ], - 'StateChangeReason' => [ - 'description' => '集群状态变化原因。', - '$ref' => '#/components/schemas/ClusterStateChangeReason', - ], - 'PaymentType' => [ - 'title' => '付费类型。', - 'description' => '付费类型。取值范围:'."\n" - .'- PayAsYouGo:后付费。'."\n" - .'- Subscription:预付费。', - 'type' => 'string', - 'example' => 'PayAsYouGo', - ], - 'SubscriptionConfig' => [ - 'title' => '预付费配置。', - 'description' => '预付费配置。', - '$ref' => '#/components/schemas/SubscriptionConfig', - ], - 'CreateTime' => [ - 'title' => '创建时间。', - 'description' => '集群创建时间戳。自1970年1月1日(00:00:00 GMT)至集群创建时的总毫秒数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1592837465784', - ], - 'ReadyTime' => [ - 'title' => '可用时间。', - 'description' => '集群可用时间戳。自1970年1月1日(00:00:00 GMT)至集群可用时间的总毫秒数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1592837465784', - ], - 'EndTime' => [ - 'title' => '删除时间。', - 'description' => '集群删除时间。自1970年1月1日(00:00:00 GMT)至集群删除时间的总毫秒数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1592837465784', - ], - 'ExpireTime' => [ - 'title' => '过期时间。', - 'description' => '集群过期时间。自1970年1月1日(00:00:00 GMT)至集群过期时间的总毫秒数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1592837465784', - ], - 'ReleaseVersion' => [ - 'title' => 'EMR发行版。', - 'description' => 'EMR发行版。', - 'type' => 'string', - 'example' => 'EMR-5.8.0', - ], - 'DeployMode' => [ - 'title' => '部署模式。', - 'description' => '集群中的应用部署模式。取值范围:'."\n" - .'- NORMAL:非高可用部署。'."\n" - .'- HA:高可用部署。', - 'type' => 'string', - 'example' => 'HA', - ], - 'SecurityMode' => [ - 'title' => 'Kerberos安全模式。', - 'description' => '集群Kerberos安全模式。取值范围:'."\n" - .'- NORMAL:普通模式,不开启Kerberos模式。'."\n" - .'- KERBEROS:开启Kerberos模式。', - 'type' => 'string', - 'example' => 'NORMAL', - ], - 'NodeAttributes' => [ - 'title' => '节点属性。', - 'description' => '节点属性。', - '$ref' => '#/components/schemas/NodeAttributes', - ], + 'ClusterState' => ['title' => '集群状态。', 'description' => '集群状态。取值范围:'."\n" + .'- STARTING:启动中。'."\n" + .'- START_FAILED:启动失败。'."\n" + .'- BOOTSTRAPPING:引导操作初始化。'."\n" + .'- RUNNING:运行中。'."\n" + .'- TERMINATING:终止中。'."\n" + .'- TERMINATED:已终止。'."\n" + .'- TERMINATED\\_WITH\\_ERRORS:发生异常导致终止'."\n" + .'- TERMINATE_FAILED:终止失败。', 'type' => 'string', 'example' => 'RUNNING'], + 'Description' => ['title' => '集群备注', 'description' => '集群备注', 'type' => 'string', 'example' => 'EMR cluster'], + 'ResourceGroupId' => ['title' => '资源组ID。', 'description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-acfmzabjyop****'], + 'ReadyTime' => ['title' => '可用时间。', 'description' => '集群可用时间戳。自1970年1月1日(00:00:00 GMT)至集群可用时间的总毫秒数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1592837465784'], + 'EndTime' => ['title' => '删除时间。', 'description' => '集群删除时间。自1970年1月1日(00:00:00 GMT)至集群删除时间的总毫秒数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1592837465784'], + 'ClusterId' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'example' => 'c-b933c5aac8fe****'], + 'CreateTime' => ['title' => '创建时间。', 'description' => '集群创建时间戳。自1970年1月1日(00:00:00 GMT)至集群创建时的总毫秒数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1592837465784'], + 'EmrDefaultRole' => ['title' => 'EMR默认角色。', 'description' => 'EMR默认角色。', 'type' => 'string', 'example' => 'AliyunEMRDefaultRole'], + 'ClusterType' => ['title' => '集群类型。', 'description' => '集群类型。取值范围:'."\n" + .'- DATALAKE:新版数据湖。'."\n" + .'- OLAP:数据分析。'."\n" + .'- DATAFLOW:实时数据流。'."\n" + .'- DATASERVING:数据服务。'."\n" + .'- CUSTOM:自定义混部集群。'."\n" + .'- HADOOP:旧版数据湖。', 'type' => 'string', 'example' => 'DATALAKE'], + 'DeletionProtection' => ['title' => '释放保护', 'description' => '释放保护', 'type' => 'boolean', 'example' => 'false'], + 'ReleaseVersion' => ['title' => 'EMR发行版。', 'description' => 'EMR发行版。', 'type' => 'string', 'example' => 'EMR-5.8.0'], + 'SubscriptionConfig' => ['title' => '预付费配置。', 'description' => '预付费配置。', '$ref' => '#/components/schemas/SubscriptionConfig'], + 'DeployMode' => ['title' => '部署模式。', 'description' => '集群中的应用部署模式。取值范围:'."\n" + .'- NORMAL:非高可用部署。'."\n" + .'- HA:高可用部署。', 'type' => 'string', 'example' => 'HA'], + 'SecurityMode' => ['title' => 'Kerberos安全模式。', 'description' => '集群Kerberos安全模式。取值范围:'."\n" + .'- NORMAL:普通模式,不开启Kerberos模式。'."\n" + .'- KERBEROS:开启Kerberos模式。', 'type' => 'string', 'example' => 'NORMAL'], + 'NodeAttributes' => ['title' => '节点属性。', 'description' => '节点属性。', '$ref' => '#/components/schemas/NodeAttributes'], + 'ClusterName' => ['title' => '集群名称。', 'description' => '集群名称。', 'type' => 'string', 'example' => 'emrtest'], + 'PaymentType' => ['title' => '付费类型。', 'description' => '付费类型。取值范围:'."\n" + .'- PayAsYouGo:后付费。'."\n" + .'- Subscription:预付费。', 'type' => 'string', 'example' => 'PayAsYouGo'], + 'RegionId' => ['title' => '地域ID。', 'description' => '区域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'ExpireTime' => ['title' => '过期时间。', 'description' => '集群过期时间。自1970年1月1日(00:00:00 GMT)至集群过期时间的总毫秒数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1592837465784'], + 'StateChangeReason' => ['description' => '集群状态变化原因。', '$ref' => '#/components/schemas/ClusterStateChangeReason'], 'Tags' => [ 'title' => '集群标签。', 'description' => '集群标签。', 'type' => 'array', - 'items' => [ - 'description' => '标签。', - '$ref' => '#/components/schemas/Tag', - ], - ], - 'EmrDefaultRole' => [ - 'title' => 'EMR默认角色。', - 'description' => 'EMR默认角色。', - 'type' => 'string', - 'example' => 'AliyunEMRDefaultRole', - ], - 'Description' => [ - 'title' => '集群备注', - 'description' => '集群备注', - 'type' => 'string', - 'example' => 'EMR cluster', - ], - 'DeletionProtection' => [ - 'title' => '释放保护', - 'description' => '释放保护', - 'type' => 'boolean', - 'example' => 'false', - ], - ], - ], - 'ClusterScript' => [ - 'title' => 'A short description of struct', - 'description' => '集群脚本', - 'type' => 'object', - 'properties' => [ - 'ScriptName' => [ - 'title' => '脚本名', - 'type' => 'string', - ], - 'ScriptPath' => [ - 'title' => '脚本路径', - 'type' => 'string', - ], - 'ScriptArgs' => [ - 'title' => '脚本参数', - 'type' => 'string', - ], - 'Priority' => [ - 'title' => '优先级', - 'type' => 'integer', - 'format' => 'int32', - ], - 'NodeSelect' => [ - 'title' => '节点选择', - '$ref' => '#/components/schemas/NodeSelector', - ], - 'ExecutionMoment' => [ - 'title' => '执行时机', - 'type' => 'string', - 'example' => '取值:BEFORE_INSTALL, AFTER_STARTED', - ], - 'ExecutionFailStrategy' => [ - 'title' => '执行失败策略', - 'type' => 'string', - 'example' => '取值:FAILED_CONTINUE, FAILED_BLOCKED', + 'items' => ['description' => '标签。', '$ref' => '#/components/schemas/Tag'], ], ], ], 'ClusterStateChangeReason' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'title' => '状态码。', - 'description' => '状态码。取值范围:'."\n" - .'- UserRequest:用户请求。'."\n" - .'- OutOfStock:请求的ECS实例类型无库存。'."\n" - .'- NotAuthorized:无权限。'."\n" - .'- QuotaExceeded:Quota超出。'."\n" - .'- OperationDenied:操作被拒绝。'."\n" - .'- AccountException:账号异常。'."\n" - .'- NodeFailure:ECS节点异常。'."\n" - .'- BootstrapFailure:引导失败。'."\n" - .'- ValidationFail:业务逻辑校验失败。'."\n" - .'- ServiceFailure:依赖的其他服务失败。'."\n" - .'- InternalError:内部错误。', - 'type' => 'string', - 'example' => 'OutOfStock', - ], - 'Message' => [ - 'title' => '状态变化信息。', - 'description' => '集群状态变化信息。', - 'type' => 'string', - 'example' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.', - ], - ], + 'Message' => ['title' => '状态变化信息。', 'description' => '集群状态变化信息。', 'type' => 'string', 'example' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.'], + 'Code' => ['title' => '状态码。', 'description' => '状态码。取值范围:'."\n" + .'- UserRequest:用户请求。'."\n" + .'- OutOfStock:请求的ECS实例类型无库存。'."\n" + .'- NotAuthorized:无权限。'."\n" + .'- QuotaExceeded:Quota超出。'."\n" + .'- OperationDenied:操作被拒绝。'."\n" + .'- AccountException:账号异常。'."\n" + .'- NodeFailure:ECS节点异常。'."\n" + .'- BootstrapFailure:引导失败。'."\n" + .'- ValidationFail:业务逻辑校验失败。'."\n" + .'- ServiceFailure:依赖的其他服务失败。'."\n" + .'- InternalError:内部错误。', 'type' => 'string', 'example' => 'OutOfStock'], + ], + 'description' => '', ], 'ClusterSummary' => [ 'type' => 'object', 'properties' => [ - 'ClusterId' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'example' => 'c-b933c5aac8fe****', - ], - 'ClusterName' => [ - 'title' => '集群名称。', - 'description' => '集群名称。', - 'type' => 'string', - 'example' => 'emrtest', - ], - 'ClusterType' => [ - 'title' => '集群类型。', - 'description' => '集群类型。取值范围:'."\n" - .'- DATALAKE:新版数据湖。'."\n" - .'- OLAP:数据分析。'."\n" - .'- DATAFLOW:实时数据流。'."\n" - .'- DATASERVING:数据服务。', - 'type' => 'string', - 'example' => 'DATALAKE', - ], - 'ClusterState' => [ - 'title' => '集群状态。', - 'description' => '集群状态。取值范围:'."\n" - .'- STARTING:启动中。'."\n" - .'- START_FAILED:启动失败。'."\n" - .'- BOOTSTRAPPING:引导操作初始化。'."\n" - .'- RUNNING:运行中。'."\n" - .'- TERMINATING:终止中。'."\n" - .'- TERMINATED:已终止。'."\n" - .'- TERMINATED\\_WITH\\_ERRORS:发生异常导致终止'."\n" - .'- TERMINATE_FAILED:终止失败。', - 'type' => 'string', - 'example' => 'RUNNING', - ], - 'PaymentType' => [ - 'title' => '付费类型。', - 'description' => '付费类型。取值范围:'."\n" - .'- PayAsYouGo:后付费。'."\n" - .'- Subscription:预付费。', - 'type' => 'string', - 'example' => 'PayAsYouGo', - ], - 'CreateTime' => [ - 'title' => '创建时间。', - 'description' => '创建时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1592837465788', - ], - 'ReadyTime' => [ - 'title' => '可用时间。', - 'description' => '可用时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1592837465788', - ], - 'ExpireTime' => [ - 'title' => '过期时间。', - 'description' => '过期时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1592837475788', - ], - 'EndTime' => [ - 'title' => '删除时间。', - 'description' => '删除时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1592837485788', - ], - 'ReleaseVersion' => [ - 'title' => 'EMR发行版。', - 'description' => 'EMR发行版。', - 'type' => 'string', - 'example' => 'EMR-5.8.0', - ], - 'ResourceGroupId' => [ - 'title' => '资源组ID。', - 'description' => '资源组ID。', - 'type' => 'string', - 'example' => 'rg-acfmzabjyop****', - ], - 'StateChangeReason' => [ - 'title' => '失败原因。', - 'description' => '失败原因。', - '$ref' => '#/components/schemas/ClusterStateChangeReason', - ], + 'ClusterId' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'example' => 'c-b933c5aac8fe****'], + 'ClusterName' => ['title' => '集群名称。', 'description' => '集群名称。', 'type' => 'string', 'example' => 'emrtest'], + 'ClusterType' => ['title' => '集群类型。', 'description' => '集群类型。取值范围:'."\n" + .'- DATALAKE:新版数据湖。'."\n" + .'- OLAP:数据分析。'."\n" + .'- DATAFLOW:实时数据流。'."\n" + .'- DATASERVING:数据服务。', 'type' => 'string', 'example' => 'DATALAKE'], + 'ClusterState' => ['title' => '集群状态。', 'description' => '集群状态。取值范围:'."\n" + .'- STARTING:启动中。'."\n" + .'- START_FAILED:启动失败。'."\n" + .'- BOOTSTRAPPING:引导操作初始化。'."\n" + .'- RUNNING:运行中。'."\n" + .'- TERMINATING:终止中。'."\n" + .'- TERMINATED:已终止。'."\n" + .'- TERMINATED\\_WITH\\_ERRORS:发生异常导致终止'."\n" + .'- TERMINATE_FAILED:终止失败。', 'type' => 'string', 'example' => 'RUNNING'], + 'PaymentType' => ['title' => '付费类型。', 'description' => '付费类型。取值范围:'."\n" + .'- PayAsYouGo:后付费。'."\n" + .'- Subscription:预付费。', 'type' => 'string', 'example' => 'PayAsYouGo'], + 'CreateTime' => ['title' => '创建时间。', 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1592837465788'], + 'ReadyTime' => ['title' => '可用时间。', 'description' => '可用时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1592837465788'], + 'ExpireTime' => ['title' => '过期时间。', 'description' => '过期时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1592837475788'], + 'EndTime' => ['title' => '删除时间。', 'description' => '删除时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1592837485788'], + 'ReleaseVersion' => ['title' => 'EMR发行版。', 'description' => 'EMR发行版。', 'type' => 'string', 'example' => 'EMR-5.8.0'], + 'ResourceGroupId' => ['title' => '资源组ID。', 'description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-acfmzabjyop****'], + 'StateChangeReason' => ['title' => '失败原因。', 'description' => '失败原因。', '$ref' => '#/components/schemas/ClusterStateChangeReason'], 'Tags' => [ 'title' => '标签列表。', 'description' => '标签列表。', 'type' => 'array', - 'items' => [ - 'description' => '标签。', - '$ref' => '#/components/schemas/Tag', - ], - ], - 'EmrDefaultRole' => [ - 'title' => 'EMR服务角色。', - 'description' => 'EMR服务角色。', - 'type' => 'string', - 'example' => 'AliyunEMRDefaultRole', - ], - 'Description' => [ - 'title' => '集群描述', - 'description' => '集群描述。', - 'type' => 'string', - 'example' => 'EMR cluster', - ], - 'DeletionProtection' => [ - 'title' => 'DeletionProtection', - 'description' => '释放保护。', - 'type' => 'boolean', - 'example' => 'false', + 'items' => ['description' => '标签。', '$ref' => '#/components/schemas/Tag'], ], + 'EmrDefaultRole' => ['title' => 'EMR服务角色。', 'description' => 'EMR服务角色。', 'type' => 'string', 'example' => 'AliyunEMRDefaultRole'], + 'Description' => ['title' => '集群描述', 'description' => '集群描述。', 'type' => 'string', 'example' => 'EMR cluster'], + 'DeletionProtection' => ['title' => 'DeletionProtection', 'description' => '释放保护。', 'type' => 'boolean', 'example' => 'false'], ], + 'description' => '', ], 'CollationTimeZone' => [ 'type' => 'object', 'properties' => [ - 'TimeZone' => [ - 'title' => 'IANA时区标识符', - 'type' => 'string', - 'example' => 'Asia/Shanghai', - ], - 'CurrentTimeOffset' => [ - 'title' => '当前UTC偏移量', - 'type' => 'string', - 'example' => 'UTC+08:00', - ], + 'TimeZone' => ['title' => 'IANA时区标识符', 'type' => 'string', 'example' => 'Asia/Shanghai'], + 'CurrentTimeOffset' => ['title' => '当前UTC偏移量', 'type' => 'string', 'example' => 'UTC+08:00'], ], ], 'ComponentInstanceSelector' => [ 'description' => '组件实例选择器。', 'type' => 'object', 'properties' => [ - 'ActionScope' => [ - 'description' => '执行范围。取值范围:'."\n" - ."\n" - .'- APPLICATION:应用级别。'."\n" - .'- COMPONENT:组件级别。'."\n" - .'- COMPONENT_INSTANCE:组件实例级别', - 'type' => 'string', - 'deprecated' => true, - 'example' => 'APPLICATION'."\n", - ], - 'RunActionScope' => [ - 'title' => '执行范围。', - 'description' => '执行范围。取值范围:'."\n" - .'- APPLICATION:应用级别。'."\n" - .'- COMPONENT:组件级别。'."\n" - .'- COMPONENT_INSTANCE:组件实例级别。', - 'type' => 'string', - 'required' => true, - 'example' => 'APPLICATION', - ], - 'ApplicationName' => [ - 'title' => '应用名称。', - 'description' => '应用名称。', - 'type' => 'string', - 'example' => 'HDFS', - ], + 'ActionScope' => ['description' => '执行范围。取值范围:'."\n" + ."\n" + .'- APPLICATION:应用级别。'."\n" + .'- COMPONENT:组件级别。'."\n" + .'- COMPONENT_INSTANCE:组件实例级别。', 'type' => 'string', 'deprecated' => true, 'example' => 'APPLICATION'."\n"], 'Components' => [ 'title' => '组件列表。', 'description' => '组件列表。'."\n" @@ -1476,21 +505,16 @@ 'description' => '组件信息。', 'type' => 'object', 'properties' => [ - 'ApplicationName' => [ - 'title' => '应用名称。', - 'description' => '应用名称。', - 'type' => 'string', - 'example' => 'HDFS', - ], - 'ComponentName' => [ - 'title' => '组件名称。', - 'description' => '组件名称。', - 'type' => 'string', - 'example' => 'DataNode', - ], + 'ApplicationName' => ['title' => '应用名称。', 'description' => '应用名称。', 'type' => 'string', 'example' => 'HDFS'], + 'ComponentName' => ['title' => '组件名称。', 'description' => '组件名称。', 'type' => 'string', 'example' => 'DataNode'], ], ], ], + 'RunActionScope' => ['title' => '执行范围。', 'description' => '执行范围。取值范围:'."\n" + .'- APPLICATION:应用级别。'."\n" + .'- COMPONENT:组件级别。'."\n" + .'- COMPONENT_INSTANCE:组件实例级别。', 'type' => 'string', 'required' => true, 'example' => 'APPLICATION'], + 'ApplicationName' => ['title' => '应用名称。', 'description' => '应用名称。', 'type' => 'string', 'example' => 'HDFS'], 'ComponentInstances' => [ 'title' => '组件实例列表。', 'description' => '组件实例列表。RunActionScope为COPONENT_INSTANCE时使用。', @@ -1499,127 +523,23 @@ 'description' => '实例组件安装信息。', 'type' => 'object', 'properties' => [ - 'ApplicationName' => [ - 'title' => '应用名称。', - 'description' => '应用名称。', - 'type' => 'string', - 'example' => 'HDFS', - ], - 'ComponentName' => [ - 'title' => '组件名称。', - 'description' => '组件名称。', - 'type' => 'string', - 'example' => 'DataNode', - ], - 'NodeId' => [ - 'title' => '节点ID。', - 'description' => '节点ID。', - 'type' => 'string', - 'example' => 'i-bp1cudc25w2bfwl5****', - ], - ], - ], - ], - ], - ], - 'ComponentLayout' => [ - 'type' => 'object', - 'properties' => [ - 'NodeSelector' => [ - 'title' => '节点选择。', - 'description' => '节点选择器。', - 'type' => 'object', - 'properties' => [ - 'NodeSelectType' => [ - 'title' => '节点选择类型。', - 'description' => '节点选择类型。', - 'type' => 'string', - 'required' => true, - 'example' => 'CLUSTER', - ], - 'NodeStartIndex' => [ - 'title' => '节点开始编号。', - 'description' => '节点开始编号,包含开始编号。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'NodeEndIndex' => [ - 'title' => '节点结束编号。', - 'description' => '节点结束编号,包含结束编号。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'NodeNames' => [ - 'title' => '节点名称列表。', - 'description' => '节点名称列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - 'example' => '[null]', - ], - 'NodeGroupId' => [ - 'title' => '节点组ID。', - 'description' => '节点组ID。', - 'type' => 'string', - 'example' => 'G-F609686D45D4ABCD', - ], - 'NodeGroupTypes' => [ - 'title' => '节点组类型。', - 'description' => 'SelectType = NODE_GROUP 且 nodeGroupId 不存在时使用', - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - 'example' => '[null]', - ], - 'NodeGroupIndex' => [ - 'title' => '机器组下标编号。', - 'description' => '机器组下标编号。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'NodeGroupName' => [ - 'title' => '机器组名。', - 'description' => '机器组名。', - 'type' => 'string', - 'example' => 'master-1', + 'ApplicationName' => ['title' => '应用名称。', 'description' => '应用名称。', 'type' => 'string', 'example' => 'HDFS'], + 'NodeId' => ['title' => '节点ID。', 'description' => '节点ID。', 'type' => 'string', 'example' => 'i-bp1cudc25w2bfwl5****'], + 'ComponentName' => ['title' => '组件名称。', 'description' => '组件名称。', 'type' => 'string', 'example' => 'DataNode'], ], ], ], - 'ApplicationName' => [ - 'title' => '应用名称。', - 'description' => '应用名称。', - 'type' => 'string', - 'example' => 'HDFS', - ], - 'ComponentName' => [ - 'title' => '组件名称。', - 'description' => '组件名称。', - 'type' => 'string', - 'example' => 'DataNode', - ], ], ], 'ConfigEffectActions' => [ 'type' => 'object', 'properties' => [ - 'ConfigEffectAction' => [ - 'title' => '配置生效动作。', - 'description' => '配置生效动作。', - 'type' => 'string', - 'example' => 'restart', - ], + 'ConfigEffectAction' => ['title' => '配置生效动作。', 'description' => '配置生效动作。', 'type' => 'string', 'example' => 'restart'], 'ConfigFiles' => [ 'title' => '配置生效配置文件。', 'description' => '配置生效配置文件。', 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'example' => 'null', ], ], @@ -1627,573 +547,145 @@ 'ConvertNodeGroup' => [ 'type' => 'object', 'properties' => [ - 'NodeGroupId' => [ - 'title' => '节点组ID。', - 'description' => '节点组ID。', - 'type' => 'string', - 'example' => 'ng-869471354ecd****', - ], - 'PaymentType' => [ - 'title' => '付费类型。', - 'description' => '付费类型。', - 'type' => 'string', - 'example' => 'PayAsYouGo', - ], - 'PaymentDuration' => [ - 'title' => '付费时长。', - 'description' => '付费时长。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'PaymentDurationUnit' => [ - 'title' => '付费时长单位。', - 'description' => '付费时长单位。', - 'type' => 'string', - 'example' => 'Month', - ], - ], - ], - 'ConvertNodeGroupParam' => [ - 'title' => 'A short description of struct', - 'description' => '付费类型转换参数', - 'type' => 'object', - 'properties' => [ - 'NodeGroupId' => [ - 'title' => '机器组ID', - 'type' => 'string', - 'required' => true, - ], - 'PaymentType' => [ - 'title' => '付费类型', - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'Subscription', - ], - ], - 'PaymentDuration' => [ - 'title' => '付费时长', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'PaymentDurationUnit' => [ - 'title' => '付费时长单位', - 'type' => 'string', - ], + 'NodeGroupId' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'example' => 'ng-869471354ecd****'], + 'PaymentDurationUnit' => ['title' => '付费时长单位。', 'description' => '付费时长单位。', 'type' => 'string', 'example' => 'Month'], + 'PaymentType' => ['title' => '付费类型。', 'description' => '付费类型。', 'type' => 'string', 'example' => 'PayAsYouGo'], + 'PaymentDuration' => ['title' => '付费时长。', 'description' => '付费时长。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], ], ], 'CostInstanceType' => [ 'type' => 'object', 'properties' => [ - 'SystemDisk' => [ - 'title' => '系统盘信息。', - 'description' => '系统盘信息。', - '$ref' => '#/components/schemas/SystemDisk', - ], + 'SystemDisk' => ['title' => '系统盘信息。', 'description' => '系统盘信息。', '$ref' => '#/components/schemas/SystemDisk'], 'DataDisks' => [ 'title' => '数据盘列表。', 'description' => '数据盘列表。', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/DataDisk', - ], - ], - 'Memory' => [ - 'title' => '内存大小。', - 'description' => '内存大小。', - 'type' => 'integer', - 'format' => 'int32', - ], - 'Cpu' => [ - 'title' => 'CPU核数。', - 'description' => 'CPU核数。', - 'type' => 'integer', - 'format' => 'int32', - ], - 'InstanceType' => [ - 'title' => '实例类型列表。', - 'description' => '实例类型列表。', - 'type' => 'string', - 'example' => '["ecs.g6.4xlarge"]', + 'items' => ['$ref' => '#/components/schemas/DataDisk'], ], + 'Memory' => ['title' => '内存大小。', 'description' => '内存大小。', 'type' => 'integer', 'format' => 'int32'], + 'Cpu' => ['title' => 'CPU核数。', 'description' => 'CPU核数。', 'type' => 'integer', 'format' => 'int32'], + 'InstanceType' => ['title' => '实例类型列表。', 'description' => '实例类型列表。', 'type' => 'string', 'example' => '["ecs.g6.4xlarge"]'], ], ], 'CostNodeGroupConfig' => [ 'type' => 'object', 'properties' => [ - 'NodeCount' => [ - 'title' => '节点数。', - 'description' => '节点数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'MinimalNodeCount' => [ - 'title' => '最小节点数。', - 'description' => '最小节点数限制。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'NodeGroupName' => [ - 'type' => 'string', - ], - 'NodeGroupType' => [ - 'title' => '节点组类型。', - 'description' => '节点组类型。取值范围:'."\n" - .'- MASTER:管理类型节点组。'."\n" - .'- CORE:存储类型节点组。'."\n" - .'- TASK:计算类型节点组。', - 'type' => 'string', - 'example' => 'CORE', - ], - 'PaymentType' => [ - 'title' => '付费类型。', - 'description' => '付费类型。', - 'type' => 'string', - ], + 'NodeCount' => ['title' => '节点数。', 'description' => '节点数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'MinimalNodeCount' => ['title' => '最小节点数。', 'description' => '最小节点数限制。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'NodeGroupType' => ['title' => '节点组类型。', 'description' => '节点组类型。取值范围:'."\n" + .'- MASTER:管理类型节点组。'."\n" + .'- CORE:存储类型节点组。'."\n" + .'- TASK:计算类型节点组。', 'type' => 'string', 'example' => 'CORE'], + 'PaymentType' => ['title' => '付费类型。', 'description' => '付费类型。', 'type' => 'string'], 'InstanceTypes' => [ 'title' => '实例类型列表。', 'description' => '实例类型列表。', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/CostInstanceType', - ], - ], - 'MaximalNodeCount' => [ - 'title' => '最大节点数。', - 'description' => '最大节点数限制。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', + 'items' => ['$ref' => '#/components/schemas/CostInstanceType'], ], + 'MaximalNodeCount' => ['title' => '最大节点数。', 'description' => '最大节点数限制。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'NodeGroupName' => ['type' => 'string'], ], ], 'CostOptimizedConfig' => [ 'description' => '成本优化模式配置。', 'type' => 'object', 'properties' => [ - 'OnDemandBaseCapacity' => [ - 'title' => '按量实例个数的最小值。', - 'description' => '按量实例个数的最小值。节点组所需要按量实例个数的最小值,取值范围:0~1000。当按量实例个数少于该值时,将优先创建按量实例。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '80', - ], - 'OnDemandPercentageAboveBaseCapacity' => [ - 'title' => '超出的实例中按量实例应占的比例。', - 'description' => '节点组满足最小按量实例OnDemandBaseCapacity要求后,超出的实例中按量实例应占的比例,取值范围:0~100。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '80', - ], - 'SpotInstancePools' => [ - 'title' => '可用实例规格的个数。', - 'description' => '指定可用实例规格的个数,伸缩组将按成本最低的多个规格均衡创建抢占式实例。取值范围:0~10。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '2', - ], + 'OnDemandBaseCapacity' => ['title' => '按量实例个数的最小值。', 'description' => '按量实例个数的最小值。节点组所需要按量实例个数的最小值,取值范围:0~1000。当按量实例个数少于该值时,将优先创建按量实例。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '80'], + 'OnDemandPercentageAboveBaseCapacity' => ['title' => '超出的实例中按量实例应占的比例。', 'description' => '节点组满足最小按量实例OnDemandBaseCapacity要求后,超出的实例中按量实例应占的比例,取值范围:0~100。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '80'], + 'SpotInstancePools' => ['title' => '可用实例规格的个数。', 'description' => '指定可用实例规格的个数,伸缩组将按成本最低的多个规格均衡创建抢占式实例。取值范围:0~10。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2'], ], ], - 'CreateNodeGroupConfig' => [ + 'DataDisk' => [ 'type' => 'object', 'properties' => [ - 'NodeGroupType' => [ - 'title' => '节点组类型。', - 'description' => '节点组类型。取值范围:'."\n" - .'- MASTER:管理类型节点组。'."\n" - .'- CORE:存储类型节点组。'."\n" - .'- TASK:计算类型节点组。', - 'type' => 'string', - 'required' => true, - 'example' => 'CORE', - ], - 'NodeGroupName' => [ - 'title' => '节点组名称。', - 'description' => '节点组名称。最大长度128个字符。集群内要求节点组名称唯一。', - 'type' => 'string', - 'example' => 'core-1', - ], - 'PaymentType' => [ - 'title' => '节点组付费类型。', - 'description' => '节点组付费类型。不传入时默认和集群付费类型一致。取值范围:'."\n" - .'- PayAsYouGo:后付费,按量付费。'."\n" - .'- Subscription:预付费,包年包月。'."\n" - ."\n" - .'默认值:PayAsYouGo。', - 'type' => 'string', - 'example' => 'PayAsYouGo', - ], - 'SubscriptionConfig' => [ - 'title' => '节点组预付费配置。', - 'description' => '节点组预付费配置。不传入时默认和集群预付费配置一致。', - '$ref' => '#/components/schemas/SubscriptionConfig', - ], - 'SpotStrategy' => [ - 'title' => '抢占式Spot实例策略。', - 'description' => '抢占式Spot实例策略。取值范围:'."\n" - .'- NoSpot:正常按量付费实例。'."\n" - .'- SpotWithPriceLimit:设置最高出价的抢占式实例。'."\n" - .'- SpotAsPriceGo:系统自动出价,最高按量付费价格的抢占式实例。'."\n" - ."\n" - .'默认值:NoSpot。', - 'type' => 'string', - 'example' => 'NoSpot', - ], - 'WithPublicIp' => [ - 'title' => '是否开公网IP。', - 'description' => '是否开公网IP。取值范围:'."\n" - .'- true:开公网。'."\n" - .'- false:不开公网。'."\n" - ."\n" - .'默认值:false。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'NodeCount' => [ - 'title' => '节点数量。', - 'description' => '节点数量。取值范围:1~1000。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'SystemDisk' => [ - 'title' => '系统盘。', - 'description' => '系统盘。', - '$ref' => '#/components/schemas/SystemDisk', - ], - 'GracefulShutdown' => [ - 'title' => '是否开启优雅下线。', - 'description' => '节点组上部署的组件是否开启优雅下线。取值范围:'."\n" - .'- true:开启优雅下线。'."\n" - .'- false:不开启优雅下线。'."\n" - ."\n" - .'默认值:false。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'SpotInstanceRemedy' => [ - 'title' => '是否开启补齐抢占式实例。', - 'description' => '开启后,当收到抢占式实例将被回收的系统消息时,伸缩组将尝试创建新的实例,替换掉将被回收的抢占式实例。取值范围:'."\n" - .'- true:开启补齐抢占式实例。'."\n" - .'- false:不开启补齐抢占式实例。'."\n" - ."\n" - .'默认值:false。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'CompensateWithOnDemand' => [ - 'title' => '当 nodeResizeStrategy 取值为 COST_OPTIMIZED 时,如果因价格、库存等原因无法创建足够的抢占式实例,是否允许自动尝试创建按量实例满足', - 'type' => 'boolean', - 'example' => 'true', - ], - 'NodeResizeStrategy' => [ - 'title' => '节点扩容策略。', - 'description' => '节点扩容策略。取值范围:'."\n" - .'- COST_OPTIMIZED:成本优化策略。'."\n" - .'- PRIORITY:优先级策略。'."\n" - ."\n" - .'默认值:PRIORITY。', - 'type' => 'string', - 'example' => 'PRIORITY', - ], - 'CostOptimizedConfig' => [ - 'title' => '成本优化模式配置。', - 'description' => '成本优化模式配置。', - '$ref' => '#/components/schemas/CostOptimizedConfig', - ], - 'DeploymentSetStrategy' => [ - 'title' => '部署集策略。', - 'description' => '部署集策略。取值范围:'."\n" - .'- NONE:不适用部署集。'."\n" - .'- CLUSTER:使用集群级别部署集。'."\n" - .'- NODE_GROUP:使用节点组级别部署集。'."\n" - ."\n" - .'默认值:NONE。', - 'type' => 'string', - 'example' => 'NONE', - ], - 'AutoScalingPolicy' => [ - 'title' => '弹性伸缩规则', - '$ref' => '#/components/schemas/AutoScalingPolicy', - ], - 'PrivatePoolOptions' => [ - 'title' => '创建实例时使用的资源池策略,该参数只在创建按量付费实例时生效。', - '$ref' => '#/components/schemas/PrivatePoolOptions', - ], - 'SpotBidPrices' => [ - 'title' => '抢占式Spot实例出价价格。', - 'description' => '抢占式Spot实例出价价格。参数SpotStrategy取值为SpotWithPriceLimit时生效。数组元数个数N的取值范围:0~100。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'InstanceType' => [ - 'title' => '实例类型。', - 'description' => '实例类型。', - 'type' => 'string', - 'example' => 'ecs.g7.2xlarge', - ], - 'BidPrice' => [ - 'title' => '实例的每小时最高出价。', - 'description' => '实例的每小时最高出价。支持最大3位小数,参数SpotStrategy=SpotWithPriceLimit时,该参数生效。', - 'type' => 'number', - 'format' => 'double', - 'example' => '1000.0', - ], - ], - ], - 'maxItems' => 100, - ], - 'VSwitchIds' => [ - 'title' => '虚拟机交换机ID列表。', - 'description' => '虚拟机交换机ID列表。数组元数个数N的取值范围:1~20。', - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - 'example' => '["vsw-hp35g7ya5ymw68mmg****"]', - 'maxItems' => 20, - ], - 'AdditionalSecurityGroupIds' => [ - 'title' => '附加安全组。', - 'description' => '附加安全组。除集群设置的安全组外,为节点组单独设置的附加安全组。数组元数个数N的取值范围:0~2。', - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - 'example' => '["sg-hp3abbae8lb6lmb1****"]', - 'maxItems' => 5, - ], - 'InstanceTypes' => [ - 'title' => '节点实例类型列表。', - 'description' => '节点实例类型列表。数组元数个数N的取值范围:1~100。', - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - 'example' => '["ecs.g6.xlarge"]', - 'maxItems' => 100, - ], - 'DataDisks' => [ - 'title' => '数据盘。', - 'description' => '数据盘。当前数据盘只支持一种磁盘类型,即数组元数个数N的取值范围:1~1。', - 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/DataDisk', - ], - 'maxItems' => 1, - ], - 'ComponentTags' => [ - 'title' => '自定义组件列表', + 'Category' => ['title' => '磁盘类型。', 'description' => '磁盘类型。取值范围:'."\n" + .' - cloud_efficiency:高效云盘。'."\n" + .' - cloud_ssd:SSD云盘。'."\n" + .' - cloud_essd:ESSD云盘。'."\n" + .' - cloud:普通云盘。', 'type' => 'string', 'required' => true, 'example' => 'cloud_essd'], + 'Size' => ['title' => '磁盘大小。', 'description' => '单位GB。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '80'], + 'PerformanceLevel' => ['title' => 'ESSD云盘性能级别。', 'description' => '创建ESSD云盘作为数据盘使用时,设置云盘的性能等级。取值范围:'."\n" + .'- PL0:单盘最高随机读写IOPS 1万。'."\n" + .'- PL1:单盘最高随机读写IOPS 5万。'."\n" + .'- PL2:单盘最高随机读写IOPS 10万。'."\n" + .'- PL3:单盘最高随机读写IOPS 100万。'."\n" + ."\n" + .'默认值:PL1。', 'type' => 'string', 'example' => 'PL1'], + 'Count' => ['title' => '每个节点磁盘数量。', 'description' => '磁盘数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + ], + 'description' => '', + ], + 'DeploymentSetConstraints' => [ + 'type' => 'object', + 'properties' => [ + 'Values' => [ + 'title' => '枚举值。', + 'description' => '枚举值。', 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], + 'example' => '["CLUSTER","NODE_GROUP","NONE"]', ], + 'DefaultValue' => ['title' => '默认值。', 'description' => '默认值。', 'type' => 'string', 'example' => 'CLUSTER'], + 'ReplacementStrategy' => ['title' => '替换策略。', 'description' => '替换策略。', '$ref' => '#/components/schemas/ReplacementStrategy'], + 'EnableState' => ['type' => 'string', 'example' => '是否启用部署集限制策略'], ], ], - 'CreateNodeGroupParam' => [ - 'title' => '机器组信息。', - 'description' => '机器组', + 'DiskConstraints' => [ 'type' => 'object', 'properties' => [ - 'NodeGroupName' => [ - 'title' => '机器组名称。', - 'type' => 'string', - 'example' => 'core-1', - ], - 'NodeGroupType' => [ - 'title' => '机器组类型。', - 'type' => 'string', - 'example' => 'CORE', - ], - 'NodeRamRole' => [ - 'title' => '机器组RAM角色。', - 'type' => 'string', - 'example' => 'AliyunEmrEcsDefaultRole', - ], - 'NodeCount' => [ - 'title' => '机器数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'ZoneId' => [ - 'title' => '可用区ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou-e', - ], - 'SecurityGroupId' => [ - 'title' => '安全组ID。', - 'type' => 'string', - 'example' => 'sg-hp3abbae8lb6lmb1****', - ], - 'PaymentType' => [ - 'title' => '付费类型。', - 'type' => 'string', - 'example' => 'Subscription', - ], - 'WithPublicIp' => [ - 'title' => '是否挂载公网。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'VSwitchIds' => [ - 'title' => '交换机ID。', - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'NodeKeyPairName' => [ - 'title' => '节点密钥名称。', - 'type' => 'string', - 'example' => 'sshkey', - ], - 'NodeRootPassword' => [ - 'title' => '节点登陆密码。', - 'type' => 'string', - 'example' => '*******', - ], - 'InstanceTypes' => [ - 'title' => '实例类型列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'example' => 'ecs.g6e.xlarge', - ], - ], - 'DataDisks' => [ - 'title' => '数据盘列表。', + 'Categories' => [ + 'title' => '支持的磁盘类型。', + 'description' => '支持的磁盘类型。', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/DiskInfo', - ], - ], - 'SystemDisk' => [ - 'title' => '系统盘。', - '$ref' => '#/components/schemas/SystemDiskParam', - ], - 'SpotStrategy' => [ - 'title' => '竞价策略。', - 'type' => 'string', - 'example' => 'NoSpot', - 'enum' => [ - 'NoSpot', - 'SpotAsPriceGo', - 'SpotWithPriceLimit', - ], - ], - 'PaymentDuration' => [ - 'title' => '包年包月周期', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PaymentDurationUnit' => [ - 'title' => '包年包月单位', - 'type' => 'string', - 'example' => 'Monthly', - ], - 'AutoRenew' => [ - 'title' => '是否自动续费', - 'type' => 'boolean', - 'example' => 'false', - ], - 'AutoRenewDuration' => [ - 'title' => '续费周期', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'AutoRenewDurationUnit' => [ - 'title' => '续费周期单位', - 'type' => 'string', - 'example' => 'Monthly', + 'items' => ['type' => 'string'], + 'example' => '["cloud_efficiency","cloud_ssd","cloud_essd","local_disk"]', ], + 'SizeConstraint' => ['title' => '磁盘容量限制。', 'description' => '磁盘容量限制。', '$ref' => '#/components/schemas/ValueConstraints'], + 'CountConstraint' => ['title' => '磁盘数量最小值。', 'description' => '磁盘数量最小值。', '$ref' => '#/components/schemas/ValueConstraints'], + ], + ], + 'DiskSize' => [ + 'type' => 'object', + 'properties' => [ + 'Category' => ['title' => '磁盘类型。', 'description' => '磁盘类型。', 'type' => 'string', 'required' => true, 'example' => 'cloud_essd'], + 'Size' => ['title' => '磁盘大小。', 'description' => '单位GB。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'], + ], + ], + 'DoubleMetric' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => ['type' => 'number', 'format' => 'double'], + 'Unit' => ['type' => 'string'], ], ], 'DRPlanConfiguration' => [ 'type' => 'object', 'properties' => [ - 'RegionId' => [ - 'title' => '地域ID', - 'type' => 'string', - 'required' => true, - ], - 'ClusterType' => [ - 'title' => '集群类型', - 'type' => 'string', - 'required' => true, - ], - 'ReleaseVersion' => [ - 'title' => 'EMR发行版', - 'type' => 'string', - 'required' => true, - ], - 'DeployMode' => [ - 'title' => '部署模式', - 'type' => 'string', - 'required' => false, - ], - 'LogCollectStrategy' => [ - 'title' => '日志开关策略', - 'type' => 'string', - 'required' => false, - ], - 'ClusterName' => [ - 'title' => '容灾集群名称', - 'type' => 'string', - 'required' => true, - ], - 'DeletionProtection' => [ - 'type' => 'boolean', - ], - 'SecurityMode' => [ - 'title' => 'Kerberos安全模式', - 'type' => 'string', - 'required' => true, - ], - 'PaymentType' => [ - 'title' => '付费类型', - 'type' => 'string', - 'required' => true, - ], - 'NodeAttributes' => [ - 'title' => '节点属性', - 'required' => true, - '$ref' => '#/components/schemas/NodeAttributes', - ], + 'RegionId' => ['title' => '地域ID', 'type' => 'string', 'required' => true], + 'ClusterType' => ['title' => '集群类型', 'type' => 'string', 'required' => true], + 'ReleaseVersion' => ['title' => 'EMR发行版', 'type' => 'string', 'required' => true], + 'DeployMode' => ['title' => '部署模式', 'type' => 'string', 'required' => false], + 'LogCollectStrategy' => ['title' => '日志开关策略', 'type' => 'string', 'required' => false], + 'ClusterName' => ['title' => '容灾集群名称', 'type' => 'string', 'required' => true], + 'DeletionProtection' => ['type' => 'boolean'], + 'SecurityMode' => ['title' => 'Kerberos安全模式', 'type' => 'string', 'required' => true], + 'PaymentType' => ['title' => '付费类型', 'type' => 'string', 'required' => true], + 'NodeAttributes' => ['title' => '节点属性', 'required' => true, '$ref' => '#/components/schemas/NodeAttributes'], 'ManagedScalingPolicy' => [ 'type' => 'object', 'properties' => [ - 'Constraints' => [ - '$ref' => '#/components/schemas/ManagedScalingConstraints', - ], + 'Constraints' => ['$ref' => '#/components/schemas/ManagedScalingConstraints'], ], ], - 'ResourceGroupId' => [ - 'type' => 'string', - ], - 'Description' => [ - 'type' => 'string', - ], - 'SubscriptionConfig' => [ - '$ref' => '#/components/schemas/SubscriptionConfig', - ], + 'ResourceGroupId' => ['type' => 'string'], + 'Description' => ['type' => 'string'], + 'SubscriptionConfig' => ['$ref' => '#/components/schemas/SubscriptionConfig'], 'BootstrapScripts' => [ 'title' => '引导脚本列表', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/Script', - ], + 'items' => ['$ref' => '#/components/schemas/Script'], ], 'Tags' => [ 'title' => '标签列表', @@ -2201,533 +693,102 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Key' => [ - 'title' => '标签键。', - 'description' => '标签键。必填参数,不允许为空字符串。最多支持128个字符,不能以aliyun和acs:开头,不能包含http://或https://。', - 'type' => 'string', - 'required' => true, - 'example' => 'department', - ], - 'Value' => [ - 'title' => '标签值。', - 'description' => '标签值。非必填,可以为空字符串。最多支持128个字符,不能以acs:开头,不能包含http://或者https://。', - 'type' => 'string', - 'example' => 'IT', - ], + 'Key' => ['title' => '标签键。', 'description' => '标签键。必填参数,不允许为空字符串。最多支持128个字符,不能以aliyun和acs:开头,不能包含http://或https://。', 'type' => 'string', 'required' => true, 'example' => 'department'], + 'Value' => ['title' => '标签值。', 'description' => '标签值。非必填,可以为空字符串。最多支持128个字符,不能以acs:开头,不能包含http://或者https://。', 'type' => 'string', 'example' => 'IT'], ], ], ], 'NodeGroups' => [ 'title' => '节点组配置', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/NodeGroupConfig', - ], + 'items' => ['$ref' => '#/components/schemas/NodeGroupConfig'], 'required' => true, ], 'Applications' => [ 'title' => '集群应用列表', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/Application', - ], + 'items' => ['$ref' => '#/components/schemas/Application'], 'required' => true, ], 'ApplicationConfigs' => [ 'title' => '应用配置项', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/ApplicationConfig', - ], + 'items' => ['$ref' => '#/components/schemas/ApplicationConfig'], ], ], ], 'DRPlanConfigurationDetail' => [ 'type' => 'object', 'properties' => [ - 'RegionId' => [ - 'title' => '地域ID', - 'type' => 'string', - 'required' => true, - ], - 'ClusterType' => [ - 'title' => '集群类型', - 'type' => 'string', - 'required' => true, - ], - 'ReleaseVersion' => [ - 'title' => 'EMR发行版', - 'type' => 'string', - 'required' => true, - ], - 'DeployMode' => [ - 'title' => '部署模式', - 'type' => 'string', - 'required' => true, - ], - 'LogCollectStrategy' => [ - 'title' => '日志开关策略', - 'type' => 'string', - 'required' => true, - ], - 'ClusterName' => [ - 'title' => '容灾集群名称', - 'type' => 'string', - 'required' => false, - ], - 'DeletionProtection' => [ - 'type' => 'boolean', - ], - 'MetaStoreType' => [ - 'title' => '元数据存储类型', - 'type' => 'string', - 'required' => true, - ], - 'SecurityMode' => [ - 'title' => 'Kerberos安全模式', - 'type' => 'string', - 'required' => true, - ], - 'PaymentType' => [ - 'title' => '付费类型', - 'type' => 'string', - 'required' => true, - ], - 'NodeAttributes' => [ - 'title' => '节点属性', - 'required' => true, - '$ref' => '#/components/schemas/NodeAttributes', - ], + 'RegionId' => ['title' => '地域ID', 'type' => 'string', 'required' => true], + 'ClusterType' => ['title' => '集群类型', 'type' => 'string', 'required' => true], + 'ReleaseVersion' => ['title' => 'EMR发行版', 'type' => 'string', 'required' => true], + 'DeployMode' => ['title' => '部署模式', 'type' => 'string', 'required' => true], + 'LogCollectStrategy' => ['title' => '日志开关策略', 'type' => 'string', 'required' => true], + 'ClusterName' => ['title' => '容灾集群名称', 'type' => 'string', 'required' => false], + 'DeletionProtection' => ['type' => 'boolean'], + 'MetaStoreType' => ['title' => '元数据存储类型', 'type' => 'string', 'required' => true], + 'SecurityMode' => ['title' => 'Kerberos安全模式', 'type' => 'string', 'required' => true], + 'PaymentType' => ['title' => '付费类型', 'type' => 'string', 'required' => true], + 'NodeAttributes' => ['title' => '节点属性', 'required' => true, '$ref' => '#/components/schemas/NodeAttributes'], 'ManagedScalingPolicy' => [ 'type' => 'object', 'properties' => [ - 'Constraints' => [ - '$ref' => '#/components/schemas/ManagedScalingConstraints', - ], + 'Constraints' => ['$ref' => '#/components/schemas/ManagedScalingConstraints'], ], ], - 'ResourceGroupId' => [ - 'type' => 'string', - ], - 'SubscriptionConfig' => [ - '$ref' => '#/components/schemas/SubscriptionConfig', - ], - 'Description' => [ - 'type' => 'string', - ], + 'ResourceGroupId' => ['type' => 'string'], + 'SubscriptionConfig' => ['$ref' => '#/components/schemas/SubscriptionConfig'], + 'Description' => ['type' => 'string'], 'BootstrapScripts' => [ 'title' => '引导脚本列表', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/Script', - ], + 'items' => ['$ref' => '#/components/schemas/Script'], ], 'Tags' => [ 'title' => '标签列表', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/Tag', - ], + 'items' => ['$ref' => '#/components/schemas/Tag'], ], 'NodeGroups' => [ 'title' => '节点组配置', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/NodeGroupConfig', - ], + 'items' => ['$ref' => '#/components/schemas/NodeGroupConfig'], ], 'Applications' => [ 'title' => '集群应用列表', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/Application', - ], + 'items' => ['$ref' => '#/components/schemas/Application'], ], 'ApplicationConfigs' => [ 'title' => '应用配置项', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/ApplicationConfig', - ], + 'items' => ['$ref' => '#/components/schemas/ApplicationConfig'], ], 'ScalingPolicies' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/ScalingPolicy', - ], - ], - 'ScalingTimeZone' => [ - 'type' => 'string', - ], - ], - ], - 'DataDisk' => [ - 'type' => 'object', - 'properties' => [ - 'Category' => [ - 'title' => '磁盘类型。', - 'description' => '磁盘类型。取值范围:'."\n" - .' - cloud_efficiency:高效云盘。'."\n" - .' - cloud_ssd:SSD云盘。'."\n" - .' - cloud_essd:ESSD云盘。'."\n" - .' - cloud:普通云盘。', - 'type' => 'string', - 'required' => true, - 'example' => 'cloud_essd', - ], - 'Size' => [ - 'title' => '磁盘大小。', - 'description' => '单位GB。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '80', - ], - 'PerformanceLevel' => [ - 'title' => 'ESSD云盘性能级别。', - 'description' => '创建ESSD云盘作为数据盘使用时,设置云盘的性能等级。取值范围:'."\n" - .'- PL0:单盘最高随机读写IOPS 1万。'."\n" - .'- PL1:单盘最高随机读写IOPS 5万。'."\n" - .'- PL2:单盘最高随机读写IOPS 10万。'."\n" - .'- PL3:单盘最高随机读写IOPS 100万。'."\n" - ."\n" - .'默认值:PL1。', - 'type' => 'string', - 'example' => 'PL1', - ], - 'Count' => [ - 'title' => '每个节点磁盘数量。', - 'description' => '磁盘数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - ], - ], - 'DecreaseNodeGroupParam' => [ - 'title' => 'A short description of struct', - 'description' => '缩容机器参数', - 'type' => 'object', - 'properties' => [ - 'NodeGroupId' => [ - 'title' => '机器组ID', - 'type' => 'string', - 'required' => true, - 'example' => 'G-21E39B11837E****', - ], - 'ReleaseInstanceIds' => [ - 'title' => '释放节点实例ID列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'required' => false, - 'example' => 'i-bp1cudc25w2bfwl5****', - ], - 'required' => true, - ], - ], - ], - 'DeploymentLayout' => [ - 'title' => 'A short description of struct', - 'description' => '组件自定义拓扑入参', - 'type' => 'object', - 'properties' => [ - 'ApplicationName' => [ - 'title' => 'ApplicationName', - 'type' => 'string', - ], - 'ComponentName' => [ - 'title' => 'ComponentName', - 'type' => 'string', - ], - 'NodeSelector' => [ - '$ref' => '#/components/schemas/NodeSelector', - ], - ], - ], - 'DeploymentSetConstraints' => [ - 'type' => 'object', - 'properties' => [ - 'Values' => [ - 'title' => '枚举值。', - 'description' => '枚举值。', - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - 'example' => '["CLUSTER","NODE_GROUP","NONE"]', - ], - 'DefaultValue' => [ - 'title' => '默认值。', - 'description' => '默认值。', - 'type' => 'string', - 'example' => 'CLUSTER', - ], - 'ReplacementStrategy' => [ - 'title' => '替换策略。', - 'description' => '替换策略。', - '$ref' => '#/components/schemas/ReplacementStrategy', - ], - 'EnableState' => [ - 'type' => 'string', - 'example' => '是否启用部署集限制策略', - ], - ], - ], - 'Disk' => [ - 'type' => 'object', - 'properties' => [ - 'Category' => [ - 'title' => '磁盘类型。', - 'description' => '磁盘类型。', - 'type' => 'string', - 'example' => 'cloud_essd', - ], - 'Size' => [ - 'title' => '磁盘大小。', - 'description' => '单位GB。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'PerformanceLevel' => [ - 'title' => '性能级别。', - 'description' => '性能级别。', - 'type' => 'string', - 'example' => 'S0', - ], - 'Count' => [ - 'title' => '每个节点磁盘数量。', - 'description' => '每个节点磁盘数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - ], - ], - 'DiskConstraints' => [ - 'type' => 'object', - 'properties' => [ - 'Categories' => [ - 'title' => '支持的磁盘类型。', - 'description' => '支持的磁盘类型。', - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - 'example' => '["cloud_efficiency","cloud_ssd","cloud_essd","local_disk"]', - ], - 'SizeConstraint' => [ - 'title' => '磁盘容量限制。', - 'description' => '磁盘容量限制。', - '$ref' => '#/components/schemas/ValueConstraints', - ], - 'CountConstraint' => [ - 'title' => '磁盘数量最小值。', - 'description' => '磁盘数量最小值。', - '$ref' => '#/components/schemas/ValueConstraints', - ], - ], - ], - 'DiskInfo' => [ - 'title' => 'A short description of struct', - 'type' => 'object', - 'properties' => [ - 'Category' => [ - 'title' => 'category', - 'type' => 'string', - ], - 'Size' => [ - 'title' => 'size', - 'type' => 'integer', - 'format' => 'int32', - ], - 'PerformanceLevel' => [ - 'title' => 'performanceLevel', - 'type' => 'string', - ], - 'Count' => [ - 'title' => 'count', - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'DiskSize' => [ - 'type' => 'object', - 'properties' => [ - 'Category' => [ - 'title' => '磁盘类型。', - 'description' => '磁盘类型。', - 'type' => 'string', - 'required' => true, - 'example' => 'cloud_essd', - ], - 'Size' => [ - 'title' => '磁盘大小。', - 'description' => '单位GB。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - ], - ], - 'DoubleMetric' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'number', - 'format' => 'double', - ], - 'Unit' => [ - 'type' => 'string', + 'items' => ['$ref' => '#/components/schemas/ScalingPolicy'], ], + 'ScalingTimeZone' => ['type' => 'string'], ], ], 'FailedReason' => [ 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'title' => '错误码。', - 'description' => '错误码。', - 'type' => 'string', - 'example' => 'MissingParameter.InstanceType', - ], - 'ErrorMessage' => [ - 'title' => '错误信息。', - 'description' => '错误信息。', - 'type' => 'string', - 'example' => 'The instance type is required.', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944abcd', - ], - ], - ], - 'HealthSummary' => [ - 'title' => 'A short description of struct', - 'description' => '健康数据统计', - 'type' => 'object', - 'properties' => [ - 'StoppedCount' => [ - 'title' => '停止数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'BadCount' => [ - 'title' => '异常数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'WarningCount' => [ - 'title' => '警告数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'GoodCount' => [ - 'title' => '良好数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'NoneCount' => [ - 'title' => '无状态数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'UnknownCount' => [ - 'title' => '未知数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'TotalCount' => [ - 'title' => '组件实例总数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '8', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944abcd'], + 'ErrorCode' => ['title' => '错误码。', 'description' => '错误码。', 'type' => 'string', 'example' => 'MissingParameter.InstanceType'], + 'ErrorMessage' => ['title' => '错误信息。', 'description' => '错误信息。', 'type' => 'string', 'example' => 'The instance type is required.'], ], ], 'IncreaseNodeGroup' => [ 'type' => 'object', 'properties' => [ - 'NodeGroupId' => [ - 'title' => '节点组ID。', - 'description' => '节点组ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ng-869471354ecd****', - ], - 'NodeCount' => [ - 'title' => '节点数量。', - 'description' => '节点数量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '3', - ], - 'PaymentDuration' => [ - 'title' => '付费时长。', - 'description' => '付费时长。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'PaymentDurationUnit' => [ - 'title' => '付费时长单位。', - 'description' => '付费时长单位。', - 'type' => 'string', - 'example' => 'Month', - ], - 'VSwitchId' => [ - 'title' => '虚拟机交换机ID。', - 'description' => '虚拟机交换机ID。', - 'type' => 'string', - 'example' => 'vsw-hp35g7ya5ymw68mmg****', - ], - 'Description' => [ - 'title' => '描述。', - 'description' => '描述。', - 'type' => 'string', - 'example' => '描述', - ], - ], - ], - 'IncreaseNodeGroupParam' => [ - 'title' => 'A short description of struct', - 'description' => '扩缩容机器参数', - 'type' => 'object', - 'properties' => [ - 'NodeGroupId' => [ - 'title' => '机器组ID', - 'type' => 'string', - ], - 'NodeCount' => [ - 'title' => '节点数量', - 'type' => 'integer', - 'format' => 'int64', - ], - 'VSwitchId' => [ - 'title' => '交换机ID', - 'type' => 'string', - ], - 'PaymentDuration' => [ - 'title' => '续费时长。', - 'type' => 'integer', - 'format' => 'int32', - ], - 'PaymentDurationUnit' => [ - 'title' => '续费时长单位。', - 'type' => 'string', - ], + 'Description' => ['title' => '描述。', 'description' => '描述。', 'type' => 'string', 'example' => '描述'], + 'NodeCount' => ['title' => '节点数量。', 'description' => '节点数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '3'], + 'NodeGroupId' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****'], + 'VSwitchId' => ['title' => '虚拟机交换机ID。', 'description' => '虚拟机交换机ID。', 'type' => 'string', 'example' => 'vsw-hp35g7ya5ymw68mmg****'], + 'PaymentDurationUnit' => ['title' => '付费时长单位。', 'description' => '付费时长单位。', 'type' => 'string', 'example' => 'Month'], + 'PaymentDuration' => ['title' => '付费时长。', 'description' => '付费时长。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], ], ], 'InstanceCategory' => [ @@ -2735,803 +796,292 @@ 'properties' => [ 'Keys' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'example' => 'null', ], 'Values' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'example' => 'null', ], - 'DefaultValue' => [ - 'title' => '默认值。', - 'description' => '默认值。', - 'type' => 'string', - 'example' => 'CLUSTER', - ], + 'DefaultValue' => ['title' => '默认值。', 'description' => '默认值。', 'type' => 'string', 'example' => 'CLUSTER'], ], ], 'InstanceType' => [ 'type' => 'object', 'properties' => [ - 'InstanceTypeFamily' => [ - 'title' => '实例规格所属的实例规格族。', - 'description' => '实例规格所属的实例规格族。取值请参见ECS的文档[DescribeInstanceTypeFamilies](~~25621~~)。', - 'type' => 'string', - 'example' => 'ecs.g6', - ], - 'InstanceType' => [ - 'title' => '实例规格。', - 'description' => 'ECS的实例规格。更多信息请参见ECS[实例规格族](~~25378~~)。', - 'type' => 'string', - 'example' => 'ecs.g6.large', - ], - 'Optimized' => [ - 'title' => '是否IO优化类型。', - 'description' => '是否IO优化类型。取值范围:'."\n" - ."\n" - .'- true:I/O优化。'."\n" - .'- false:非I/O优化。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'CpuCore' => [ - 'title' => 'vCPU内核数目。', - 'description' => 'vCPU内核数目。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'InstanceCategory' => [ - 'title' => '实例规格分类。', - 'description' => '实例规格分类。取值范围:'."\n" - .'- General-purpose: 通用型。'."\n" - .'- Compute-optimized:计算型。'."\n" - .'- Memory-optimized:内存型。'."\n" - .'- Big data:大数据型。'."\n" - .'- Local SSDs :本地SSD型。'."\n" - .'- High Clock Speed :高主频型。'."\n" - .'- Enhanced :增强型。'."\n" - .'- Shared:共享型。'."\n" - .'- Compute-optimized with GPU :GPU计算型。'."\n" - .'- Visual Compute-optimized :视觉计算型。'."\n" - .'- Heterogeneous Service :异构服务型。'."\n" - .'- Compute-optimized with FPGA :FPGA计算型。'."\n" - .'- Compute-optimized with NPU :NPU计算型。'."\n" - .'- ECS Bare Metal :弹性裸金属服务器。'."\n" - .'- Super Computing Cluster:超级计算集群。', - 'type' => 'string', - 'example' => 'Compute-optimized', - ], - 'CpuArchitecture' => [ - 'title' => 'cpu架构。', - 'description' => 'CPU架构。取值范围:'."\n" - ."\n" - .'- X86:X86架构。'."\n" - .'- ARM:ARM架构。', - 'type' => 'string', - 'example' => 'X86', - ], - 'LocalStorageCapacity' => [ - 'title' => '实例挂载的本地盘的单盘容量。', - 'description' => '实例挂载的本地盘的单盘容量。单位:GiB。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '40', - ], - 'LocalStorageAmount' => [ - 'title' => '实例挂载的本地盘的数量。', - 'description' => '实例挂载的本地盘的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'ModifyType' => [ - 'type' => 'string', - ], - ], + 'InstanceTypeFamily' => ['title' => '实例规格所属的实例规格族。', 'description' => '实例规格所属的实例规格族。取值请参见ECS的文档[DescribeInstanceTypeFamilies](~~25621~~)。', 'type' => 'string', 'example' => 'ecs.g6'], + 'InstanceType' => ['title' => '实例规格。', 'description' => 'ECS的实例规格。更多信息请参见ECS[实例规格族](~~25378~~)。', 'type' => 'string', 'example' => 'ecs.g6.large'], + 'Optimized' => ['title' => '是否IO优化类型。', 'description' => '是否IO优化类型。取值范围:'."\n" + ."\n" + .'- true:I/O优化。'."\n" + .'- false:非I/O优化。', 'type' => 'boolean', 'example' => 'true'], + 'CpuCore' => ['title' => 'vCPU内核数目。', 'description' => 'vCPU内核数目。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'], + 'InstanceCategory' => ['title' => '实例规格分类。', 'description' => '实例规格分类。取值范围:'."\n" + .'- General-purpose: 通用型。'."\n" + .'- Compute-optimized:计算型。'."\n" + .'- Memory-optimized:内存型。'."\n" + .'- Big data:大数据型。'."\n" + .'- Local SSDs :本地SSD型。'."\n" + .'- High Clock Speed :高主频型。'."\n" + .'- Enhanced :增强型。'."\n" + .'- Shared:共享型。'."\n" + .'- Compute-optimized with GPU :GPU计算型。'."\n" + .'- Visual Compute-optimized :视觉计算型。'."\n" + .'- Heterogeneous Service :异构服务型。'."\n" + .'- Compute-optimized with FPGA :FPGA计算型。'."\n" + .'- Compute-optimized with NPU :NPU计算型。'."\n" + .'- ECS Bare Metal :弹性裸金属服务器。'."\n" + .'- Super Computing Cluster:超级计算集群。', 'type' => 'string', 'example' => 'Compute-optimized'], + 'CpuArchitecture' => ['title' => 'cpu架构。', 'description' => 'CPU架构。取值范围:'."\n" + ."\n" + .'- X86:X86架构。'."\n" + .'- ARM:ARM架构。', 'type' => 'string', 'example' => 'X86'], + 'LocalStorageCapacity' => ['title' => '实例挂载的本地盘的单盘容量。', 'description' => '实例挂载的本地盘的单盘容量。单位:GiB。', 'type' => 'integer', 'format' => 'int64', 'example' => '40'], + 'LocalStorageAmount' => ['title' => '实例挂载的本地盘的数量。', 'description' => '实例挂载的本地盘的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'], + 'ModifyType' => ['type' => 'string'], + ], + 'description' => '', ], 'IntegerMetric' => [ 'type' => 'object', 'properties' => [ - 'Value' => [ - 'title' => '值', - 'type' => 'integer', - 'format' => 'int32', - ], - 'Unit' => [ - 'title' => '单位', - 'type' => 'string', - ], + 'Value' => ['title' => '值', 'type' => 'integer', 'format' => 'int32'], + 'Unit' => ['title' => '单位', 'type' => 'string'], ], ], 'KeyValue' => [ 'type' => 'object', 'properties' => [ - 'Key' => [ - 'title' => '键。', - 'description' => '键。', - 'type' => 'string', - 'example' => 'key', - ], - 'Value' => [ - 'title' => '值。', - 'description' => '值。', - 'type' => 'string', - 'example' => 'value', - ], - ], - ], - 'ListApiTemplatesDTO' => [ - 'title' => 'A short description of struct', - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'title' => '主键', - 'type' => 'integer', - 'format' => 'int64', - ], - 'GmtModified' => [ - 'title' => '修改时间', - 'type' => 'integer', - 'format' => 'int64', - ], - 'GmtCreate' => [ - 'title' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - ], - 'RegionId' => [ - 'title' => '区域', - 'type' => 'string', - ], - 'OperatorId' => [ - 'title' => '操作者ID', - 'type' => 'string', - ], - 'UserId' => [ - 'title' => '用户ID', - 'type' => 'string', - ], - 'TemplateId' => [ - 'title' => '模版ID', - 'type' => 'string', - ], - 'TemplateName' => [ - 'title' => '模板名', - 'type' => 'string', - ], - 'ResourceGroupId' => [ - 'title' => '资源组ID', - 'type' => 'string', - ], - 'ApiName' => [ - 'title' => '接口名', - 'type' => 'string', - ], - 'Status' => [ - 'title' => '模板状态为READY,DELETED', - 'type' => 'string', - ], - 'Content' => [ - 'title' => '模板接口参数', - 'type' => 'string', - ], + 'Value' => ['title' => '值。', 'description' => '值。', 'type' => 'string', 'example' => 'value'], + 'Key' => ['title' => '键。', 'description' => '键。', 'type' => 'string', 'example' => 'key'], ], ], 'ManagedScalingConstraints' => [ 'description' => '托管伸缩约束。', 'type' => 'object', 'properties' => [ - 'MaxCapacity' => [ - 'title' => '最大值。', - 'description' => '最大值。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2000', - ], - 'MinCapacity' => [ - 'title' => '最小值。', - 'description' => '最小值。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'MaxOnDemandCapacity' => [ - 'title' => '最大按量节点数量。', - 'description' => '按量付费Task节点的最大数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - ], - ], - 'MetaStoreConf' => [ - 'title' => 'A short description of struct', - 'description' => 'MetaStoreConf', - 'type' => 'object', - 'properties' => [ - 'DbUrl' => [ - 'title' => '数据库url。', - 'type' => 'string', - ], - 'DbUserName' => [ - 'title' => '用户名。', - 'type' => 'string', - ], - 'DbPassword' => [ - 'title' => '密码。', - 'type' => 'string', - ], - ], - ], - 'MetricUnitValue' => [ - 'type' => 'object', - 'properties' => [ - 'MetricName' => [ - 'title' => '指标名称。', - 'description' => '指标名称。', - 'type' => 'string', - ], - 'MetricUnit' => [ - 'title' => '指标单位。', - 'description' => '指标单位。', - 'type' => 'string', - ], + 'MaxOnDemandCapacity' => ['title' => '最大按量节点数量。', 'description' => '按量付费Task节点的最大数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'MinCapacity' => ['title' => '最小值。', 'description' => '最小值。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'MaxCapacity' => ['title' => '最大值。', 'description' => '最大值。', 'type' => 'integer', 'format' => 'int32', 'example' => '2000'], ], ], 'MetricsTrigger' => [ 'description' => '指标触发。', 'type' => 'object', 'properties' => [ - 'TimeWindow' => [ - 'title' => '统计窗口。', - 'description' => '统计窗口。必填参数,单位为秒。取值范围30~1800。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '30', - ], - 'EvaluationCount' => [ - 'title' => '统计次数。', - 'description' => '统计次数。必填参数,取值范围:1~5。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '2', - ], - 'CoolDownInterval' => [ - 'title' => '冷却时间。', - 'description' => '冷却时间。 单位为秒。取值范围:0~10800。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '300', - ], + 'CoolDownInterval' => ['title' => '冷却时间。', 'description' => '冷却时间。 单位为秒。取值范围:0~10800。', 'type' => 'integer', 'format' => 'int32', 'example' => '300'], 'TimeConstraints' => [ 'title' => '时间限制。', 'description' => '时间限制。', 'type' => 'array', - 'items' => [ - 'description' => '时间限制。', - '$ref' => '#/components/schemas/TimeConstraint', - ], - ], - 'ConditionLogicOperator' => [ - 'title' => '多指标逻辑关系。', - 'description' => '多指标逻辑关系。取值范围:'."\n" - .'- And:与。'."\n" - .'- Or(默认值):或。', - 'type' => 'string', - 'example' => 'Or', + 'items' => ['description' => '时间限制。', '$ref' => '#/components/schemas/TimeConstraint'], ], + 'EvaluationCount' => ['title' => '统计次数。', 'description' => '统计次数。必填参数,取值范围:1~5。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2'], + 'TimeWindow' => ['title' => '统计窗口。', 'description' => '统计窗口。必填参数,单位为秒。取值范围30~1800。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '30'], 'Conditions' => [ 'title' => '指标触发条件列表。', 'description' => '指标触发条件列表。', 'type' => 'array', - 'items' => [ - 'description' => '触发阈值。必填参数。', - '$ref' => '#/components/schemas/TriggerCondition', - ], + 'items' => ['description' => '触发阈值。必填参数。', '$ref' => '#/components/schemas/TriggerCondition'], ], + 'ConditionLogicOperator' => ['title' => '多指标逻辑关系。', 'description' => '多指标逻辑关系。取值范围:'."\n" + .'- And:与。'."\n" + .'- Or(默认值):或。', 'type' => 'string', 'example' => 'Or'], ], ], - 'Node' => [ + 'MetricUnitValue' => [ 'type' => 'object', 'properties' => [ - 'ZoneId' => [ - 'title' => '可用区ID。', - 'description' => '可用区ID。', - 'type' => 'string', - 'example' => 'cn-beijing-h', - ], - 'NodeGroupId' => [ - 'title' => '节点组ID。', - 'description' => '节点组ID。', - 'type' => 'string', - 'example' => 'ng-869471354ecd****', - ], - 'NodeGroupType' => [ - 'title' => '节点组类型。', - 'description' => '节点组类型。取值范围:'."\n" - .'- MASTER:主节点组类型。'."\n" - .'- CORE:核心节点组类型。'."\n" - .'- TASK:计算节点组类型。', - 'type' => 'string', - 'example' => 'CORE', - ], - 'NodeId' => [ - 'title' => '节点ID。', - 'description' => '节点ID。', - 'type' => 'string', - 'example' => 'i-bp1cudc25w2bfwl5****', - ], - 'NodeName' => [ - 'title' => '节点名称。', - 'description' => '节点名称。', - 'type' => 'string', - 'example' => 'core1-1', - ], - 'PublicIp' => [ - 'title' => '公网IP。', - 'description' => '公网IP。', - 'type' => 'string', - 'example' => '42.1.1.**', - ], - 'PrivateIp' => [ - 'title' => '私网IP。', - 'description' => '私网IP。', - 'type' => 'string', - 'example' => '10.10.**.**', - ], - 'InstanceType' => [ - 'title' => '实例类型。', - 'description' => '实例类型。对应ECS的实例类型,您可以通过调用ECS服务的[DescribeInstanceTypes](~~25620~~)获取可用的实例类型。', - 'type' => 'string', - 'example' => 'ecs.g7.xlarge', - ], - 'NodeState' => [ - 'title' => '节点状态。', - 'description' => '节点状态。取值范围:'."\n" - .'- Pending:创建中。'."\n" - .'- Starting:启动中。'."\n" - .'- Running:运行中。'."\n" - .'- Stopping:停止中。'."\n" - .'- Stopped:已停止。'."\n" - .'- Terminated:已终止。', - 'type' => 'string', - 'example' => 'Running', - ], - 'MaintenanceStatus' => [ - 'title' => '运维模式状态。', - 'description' => '运维模式状态。取值范围:'."\n" - .'- ON:处于运维模式。'."\n" - .'- OFF:处于非运维模式。'."\n" - ."\n" - .'为空表示处于非运维模式。', - 'type' => 'string', - ], - 'ExpireTime' => [ - 'title' => '节点过期时间。', - 'description' => '节点过期时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1603728394857', - ], - 'AutoRenew' => [ - 'title' => '节点是否自动续费。', - 'description' => '节点是否自动续费。取值范围:'."\n" - .'- true:已开启自动续费。'."\n" - .'- false:未开启自动续费。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'AutoRenewDuration' => [ - 'title' => '节点自动续费时长。', - 'description' => '节点自动续费时长。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'AutoRenewDurationUnit' => [ - 'title' => '节点自动续费时长单位。', - 'description' => '节点自动续费时长单位。', - 'type' => 'string', - 'example' => 'Month', - ], - 'CreateTime' => [ - 'title' => '节点创建时间。返回状态使用。', - 'description' => '节点创建时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1603728394857', - ], + 'MetricName' => ['title' => '指标名称。', 'description' => '指标名称。', 'type' => 'string'], + 'MetricUnit' => ['title' => '指标单位。', 'description' => '指标单位。', 'type' => 'string'], ], ], - 'NodeAttributes' => [ + 'Node' => [ 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'title' => '专有网络ID。', - 'description' => '专有网络ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-bp1tgey2p0ytxmdo5****', - ], - 'ZoneId' => [ - 'title' => '可用区ID。', - 'description' => '可用区ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-beijing-h', - ], - 'SecurityGroupId' => [ - 'title' => '安全组ID。', - 'description' => '安全组ID。EMR只支持普通安全组,不支持企业安全组。', - 'type' => 'string', - 'required' => true, - 'example' => 'sg-hp3abbae8lb6lmb1****', - ], - 'RamRole' => [ - 'title' => 'ECS访问资源绑定的角色。', - 'description' => 'ECS访问资源绑定的角色。'."\n" - .'默认值:AliyunECSInstanceForEMRRole。', - 'type' => 'string', - 'example' => 'AliyunECSInstanceForEMRRole', - ], - 'KeyPairName' => [ - 'title' => 'ECS ssh登录秘钥。', - 'description' => 'ECS ssh登录密钥。', - 'type' => 'string', - 'example' => 'emr_login', - ], - 'MasterRootPassword' => [ - 'title' => 'MASTER节点root密码。', - 'description' => 'MASTER节点root用户密码。作为API的出参时,该参数将返回空。', - 'type' => 'string', - 'example' => 'EAQ#86****', - ], - 'SystemDiskEncrypted' => [ - 'title' => '是否启用云盘加密。', - 'description' => '是否启用云盘加密。取值范围:'."\n" - .'- true:启用加密。'."\n" - .'- false(默认值):不加密。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'SystemDiskKMSKeyId' => [ - 'title' => 'KMS加密秘钥ID。', - 'description' => 'KMS密钥ID。', - 'type' => 'string', - 'example' => '0e478b7a-4262-4802-b8cb-00d3fb40****', - ], - 'DataDiskEncrypted' => [ - 'title' => '是否启用云盘加密。', - 'description' => '数据盘是否启用加密,详见:<props="china">[加密数据盘](https://help.aliyun.com/zh/ecs/user-guide/encrypt-a-data-disk)</props><props="intl">[加密数据盘](https://www.alibabacloud.com/help/en/ecs/user-guide/encryption-overview)</props>。取值范围:'."\n" - .'- true:启用加密。'."\n" - .'- false(默认值):不加密。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'DataDiskKMSKeyId' => [ - 'title' => 'KMS加密秘钥ID。', - 'description' => '数据盘KMS密钥ID。', - 'type' => 'string', - 'example' => '0e478b7a-4262-4802-b8cb-00d3fb40****', - ], - ], + 'AutoRenewDurationUnit' => ['title' => '节点自动续费时长单位。', 'description' => '节点自动续费时长单位。', 'type' => 'string', 'example' => 'Month'], + 'NodeState' => ['title' => '节点状态。', 'description' => '节点状态。取值范围:'."\n" + .'- Pending:创建中。'."\n" + .'- Starting:启动中。'."\n" + .'- Running:运行中。'."\n" + .'- Stopping:停止中。'."\n" + .'- Stopped:已停止。'."\n" + .'- Terminated:已终止。', 'type' => 'string', 'example' => 'Running'], + 'ZoneId' => ['title' => '可用区ID。', 'description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-beijing-h'], + 'NodeName' => ['title' => '节点名称。', 'description' => '节点名称。', 'type' => 'string', 'example' => 'core1-1'], + 'PublicIp' => ['title' => '公网IP。', 'description' => '公网IP。', 'type' => 'string', 'example' => '42.1.1.**'], + 'AutoRenew' => ['title' => '节点是否自动续费。', 'description' => '节点是否自动续费。取值范围:'."\n" + .'- true:已开启自动续费。'."\n" + .'- false:未开启自动续费。', 'type' => 'boolean', 'example' => 'false'], + 'CreateTime' => ['title' => '节点创建时间。返回状态使用。', 'description' => '节点创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1603728394857'], + 'AutoRenewDuration' => ['title' => '节点自动续费时长。', 'description' => '节点自动续费时长。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PrivateIp' => ['title' => '私网IP。', 'description' => '私网IP。', 'type' => 'string', 'example' => '10.10.**.**'], + 'NodeGroupId' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'example' => 'ng-869471354ecd****'], + 'NodeGroupType' => ['title' => '节点组类型。', 'description' => '节点组类型。取值范围:'."\n" + .'- MASTER:主节点组类型。'."\n" + .'- CORE:核心节点组类型。'."\n" + .'- TASK:计算节点组类型。', 'type' => 'string', 'example' => 'CORE'], + 'NodeId' => ['title' => '节点ID。', 'description' => '节点ID。', 'type' => 'string', 'example' => 'i-bp1cudc25w2bfwl5****'], + 'InstanceType' => ['title' => '实例类型。', 'description' => '实例类型。对应ECS的实例类型,您可以通过调用ECS服务的[DescribeInstanceTypes](~~25620~~)获取可用的实例类型。', 'type' => 'string', 'example' => 'ecs.g7.xlarge'], + 'ExpireTime' => ['title' => '节点过期时间。', 'description' => '节点过期时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1603728394857'], + 'MaintenanceStatus' => ['title' => '运维模式状态。', 'description' => '运维模式状态。取值范围:'."\n" + .'- ON:处于运维模式。'."\n" + .'- OFF:处于非运维模式。'."\n" + ."\n" + .'为空表示处于非运维模式。', 'type' => 'string'], + ], + 'description' => '', ], - 'NodeCountConstraint' => [ - 'title' => '节点数量约束。', + 'NodeAttributes' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'title' => '约束类型。', - 'type' => 'string', - 'required' => true, - 'example' => 'range', - ], - 'Values' => [ - 'title' => '枚举值。', - 'type' => 'array', - 'items' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - 'Min' => [ - 'title' => '最小值。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Max' => [ - 'title' => '最大值。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - ], + 'KeyPairName' => ['title' => 'ECS ssh登录秘钥。', 'description' => 'ECS ssh登录密钥。', 'type' => 'string', 'example' => 'emr_login'], + 'VpcId' => ['title' => '专有网络ID。', 'description' => '专有网络ID。', 'type' => 'string', 'required' => true, 'example' => 'vpc-bp1tgey2p0ytxmdo5****'], + 'ZoneId' => ['title' => '可用区ID。', 'description' => '可用区ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing-h'], + 'MasterRootPassword' => ['title' => 'MASTER节点root密码。', 'description' => 'MASTER节点root用户密码。作为API的出参时,该参数将返回空。', 'type' => 'string', 'example' => 'EAQ#86****'], + 'SystemDiskKMSKeyId' => ['title' => 'KMS加密秘钥ID。', 'description' => 'KMS密钥ID。', 'type' => 'string', 'example' => '0e478b7a-4262-4802-b8cb-00d3fb40****'], + 'SecurityGroupId' => ['title' => '安全组ID。', 'description' => '安全组ID。EMR只支持普通安全组,不支持企业安全组。', 'type' => 'string', 'required' => true, 'example' => 'sg-hp3abbae8lb6lmb1****'], + 'DataDiskKMSKeyId' => ['title' => 'KMS加密秘钥ID。', 'description' => '数据盘KMS密钥ID。', 'type' => 'string', 'example' => '0e478b7a-4262-4802-b8cb-00d3fb40****'], + 'RamRole' => ['title' => 'ECS访问资源绑定的角色。', 'description' => 'ECS访问资源绑定的角色。'."\n" + .'默认值:AliyunECSInstanceForEMRRole。', 'type' => 'string', 'example' => 'AliyunECSInstanceForEMRRole'], + 'DataDiskEncrypted' => ['title' => '是否启用云盘加密。', 'description' => '数据盘是否启用加密,详见:<props="china">[加密数据盘](https://help.aliyun.com/zh/ecs/user-guide/encrypt-a-data-disk)</props><props="intl">[加密数据盘](https://www.alibabacloud.com/help/en/ecs/user-guide/encryption-overview)</props>。取值范围:'."\n" + .'- true:启用加密。'."\n" + .'- false(默认值):不加密。', 'type' => 'boolean', 'example' => 'false'], + 'SystemDiskEncrypted' => ['title' => '是否启用云盘加密。', 'description' => '是否启用云盘加密。取值范围:'."\n" + .'- true:启用加密。'."\n" + .'- false(默认值):不加密。', 'type' => 'boolean', 'example' => 'false'], + ], + 'description' => '', ], 'NodeGroup' => [ 'description' => '节点组。', 'type' => 'object', 'properties' => [ - 'ZoneId' => [ - 'title' => '可用区ID。', - 'description' => '可用区ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'NodeGroupId' => [ - 'title' => '节点组ID。', - 'description' => '节点组ID。', - 'type' => 'string', - 'example' => 'ng-869471354ecd****', - ], - 'NodeGroupName' => [ - 'title' => '节点组名称。', - 'description' => '节点组名。', - 'type' => 'string', - 'example' => 'core-1', - ], - 'NodeGroupType' => [ - 'title' => '节点组类型。', - 'description' => '节点组类型。取值范围:'."\n" - ."\n" - .'- MASTER:主节点。'."\n" - .'- CORE:核心节点。'."\n" - .'- TASK:任务节点。'."\n" - .'- GATEWAY:网关节点。DATALAKE、OLAP、DATASERVING不支持该参数。', - 'type' => 'string', - 'example' => 'MASTER', - ], - 'RunningNodeCount' => [ - 'title' => '存活节点数量。', - 'description' => '存活节点数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'InstanceTypes' => [ - 'title' => '实例类型列表。', - 'description' => '实例类型集合。', - 'type' => 'array', - 'items' => [ - 'description' => '实例类型。', - 'type' => 'string', - 'example' => 'ecs.g7.2xlarge', - ], - 'example' => '["ecs.g6.4xlarge"]', - ], - 'PaymentType' => [ - 'title' => '节点组付费类型。', - 'description' => '付费类型。取值范围:'."\n" - .'Subscription: 包年包月。'."\n" - .'PayAsYouGo:按量付费。', - 'type' => 'string', - 'example' => 'Subscription', - ], + 'WithPublicIp' => ['title' => '是否开公网IP。', 'description' => '是否开通公网IP。', 'type' => 'boolean', 'example' => 'true'], + 'SpotInstanceRemedy' => ['title' => '是否开启补齐抢占式实例。', 'description' => '开启补齐抢占式实例后,当收到抢占式实例将被回收的系统消息时,伸缩组将尝试创建新的实例,替换掉将被回收的抢占式实例。取值范围:'."\n" + .'- true:开启补齐抢占式实例。'."\n" + .'- false:不开启补齐抢占式实例。'."\n" + ."\n" + .'默认值:false。', 'type' => 'boolean', 'example' => 'false'], 'DataDisks' => [ 'title' => '数据盘列表。', 'description' => '数据盘组。', 'type' => 'array', - 'items' => [ - 'description' => '数据盘。', - '$ref' => '#/components/schemas/DataDisk', - ], - ], - 'SystemDisk' => [ - 'title' => '系统盘信息。', - 'description' => '系统盘。', - '$ref' => '#/components/schemas/SystemDisk', - ], - 'NodeGroupState' => [ - 'title' => '节点组状态。', - 'description' => '节点组状态。', - 'type' => 'string', - 'example' => 'RESIZING', - ], - 'AdditionalSecurityGroupIds' => [ - 'title' => '额外安全组ID列表。', - 'description' => '安全组ID。', + 'items' => ['description' => '数据盘。', '$ref' => '#/components/schemas/DataDisk'], + ], + 'CompensateWithOnDemand' => ['title' => '当 nodeResizeStrategy 取值为 COST_OPTIMIZED 时,如果因价格、库存等原因无法创建足够的抢占式实例,是否允许自动尝试创建按量实例满足', 'description' => '当 nodeResizeStrategy 取值为 COST_OPTIMIZED 时,如果因价格、库存等原因无法创建足够的抢占式实例,是否允许自动尝试创建按量实例满足ECS实例数量要求。', 'type' => 'boolean', 'example' => 'true'], + 'NodeGroupState' => ['title' => '节点组状态。', 'description' => '节点组状态。', 'type' => 'string', 'example' => 'RESIZING'], + 'SystemDisk' => ['title' => '系统盘信息。', 'description' => '系统盘。', '$ref' => '#/components/schemas/SystemDisk'], + 'PrivatePoolOptions' => ['title' => '节点组私有池设置', 'description' => '节点组私有池设置', '$ref' => '#/components/schemas/PrivatePoolOptions'], + 'NodeGroupType' => ['title' => '节点组类型。', 'description' => '节点组类型。取值范围:'."\n" + ."\n" + .'- MASTER:主节点。'."\n" + .'- CORE:核心节点。'."\n" + .'- TASK:任务节点。'."\n" + .'- GATEWAY:网关节点。DATALAKE、OLAP、DATASERVING不支持该参数。', 'type' => 'string', 'example' => 'MASTER'], + 'PaymentType' => ['title' => '节点组付费类型。', 'description' => '付费类型。取值范围:'."\n" + .'Subscription: 包年包月。'."\n" + .'PayAsYouGo:按量付费。', 'type' => 'string', 'example' => 'Subscription'], + 'InstanceTypes' => [ + 'title' => '实例类型列表。', + 'description' => '实例类型集合。', 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - 'example' => '["sg-hp3abbae8lb6lmb1****"]', - ], - 'WithPublicIp' => [ - 'title' => '是否开公网IP。', - 'description' => '是否开通公网IP。', - 'type' => 'boolean', - 'example' => 'true', + 'items' => ['description' => '实例类型。', 'type' => 'string', 'example' => 'ecs.g7.2xlarge'], + 'example' => '["ecs.g6.4xlarge"]', ], + 'CostOptimizedConfig' => ['title' => '成本优化模式配置。', 'description' => '成本优化模式配置。', '$ref' => '#/components/schemas/CostOptimizedConfig'], + 'GracefulShutdown' => ['title' => '是否开启优雅下线。', 'description' => '节点组上部署的组件是否开启优雅下线。取值范围:'."\n" + .'- true:开启优雅下线。'."\n" + .'- false:不开启优雅下线。', 'type' => 'boolean', 'example' => 'false'], + 'SpotStrategy' => ['title' => '是否支持竞价实例。', 'description' => '竞价实例使用策略。取值范围:'."\n" + ."\n" + .'- NoSpot:不使用竞价实例。'."\n" + .'- SpotWithPriceLimit:竞价实例,自定义价格上限。'."\n" + .'- SpotAsPriceGo:竞价实例,系统自动调节竞价上限,最高价格不超过按量实例的价格。'."\n" + ."\n" + .'默认值:NoSpot。', 'type' => 'string', 'example' => 'NoSpot'], + 'StateChangeReason' => ['title' => '状态变化原因。', 'description' => '状态改变原因。', 'example' => '手动重启', '$ref' => '#/components/schemas/NodeGroupStateChangeReason'], + 'Status' => ['title' => '节点组状态。', 'description' => '节点组状态。', 'type' => 'string', 'example' => 'CREATED'], + 'ZoneId' => ['title' => '可用区ID。', 'description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'NodeGroupName' => ['title' => '节点组名称。', 'description' => '节点组名。', 'type' => 'string', 'example' => 'core-1'], 'VSwitchIds' => [ 'title' => '虚拟机交换机ID列表。', 'description' => '交换机ID集合。', 'type' => 'array', - 'items' => [ - 'description' => '交换机ID。', - 'type' => 'string', - 'example' => 'vsw-bp1opd2qejvhsabfe****', - ], + 'items' => ['description' => '交换机ID。', 'type' => 'string', 'example' => 'vsw-bp1opd2qejvhsabfe****'], 'example' => '["vsw-hp35g7ya5ymw68mmg****"]', ], - 'SpotStrategy' => [ - 'title' => '是否支持竞价实例。', - 'description' => '竞价实例使用策略。取值范围:'."\n" - ."\n" - .'- NoSpot:不使用竞价实例。'."\n" - .'- SpotWithPriceLimit:竞价实例,自定义价格上限。'."\n" - .'- SpotAsPriceGo:竞价实例,系统自动调节竞价上限,最高价格不超过按量实例的价格。'."\n" - ."\n" - .'默认值:NoSpot。', - 'type' => 'string', - 'example' => 'NoSpot', - ], 'SpotBidPrices' => [ 'title' => '竞价参数', 'description' => '抢占式Spot实例出价价格。参数SpotStrategy取值为SpotWithPriceLimit时生效。数组元数个数N的取值范围:0~100。', 'type' => 'array', - 'items' => [ - 'description' => '抢占式Spot实例出价价格。', - '$ref' => '#/components/schemas/SpotBidPrice', - ], + 'items' => ['description' => '抢占式Spot实例出价价格。', '$ref' => '#/components/schemas/SpotBidPrice'], ], - 'StateChangeReason' => [ - 'title' => '状态变化原因。', - 'description' => '状态改变原因。', - 'example' => '手动重启', - '$ref' => '#/components/schemas/NodeGroupStateChangeReason', - ], - 'GracefulShutdown' => [ - 'title' => '是否开启优雅下线。', - 'description' => '节点组上部署的组件是否开启优雅下线。取值范围:'."\n" - .'- true:开启优雅下线。'."\n" - .'- false:不开启优雅下线。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'SpotInstanceRemedy' => [ - 'title' => '是否开启补齐抢占式实例。', - 'description' => '开启补齐抢占式实例后,当收到抢占式实例将被回收的系统消息时,伸缩组将尝试创建新的实例,替换掉将被回收的抢占式实例。取值范围:'."\n" - .'- true:开启补齐抢占式实例。'."\n" - .'- false:不开启补齐抢占式实例。'."\n" - ."\n" - .'默认值:false。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'CompensateWithOnDemand' => [ - 'title' => '当 nodeResizeStrategy 取值为 COST_OPTIMIZED 时,如果因价格、库存等原因无法创建足够的抢占式实例,是否允许自动尝试创建按量实例满足', - 'description' => '当 nodeResizeStrategy 取值为 COST_OPTIMIZED 时,如果因价格、库存等原因无法创建足够的抢占式实例,是否允许自动尝试创建按量实例满足ECS实例数量要求。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'NodeResizeStrategy' => [ - 'title' => '节点扩容策略。取值范围:', - 'description' => '- COST_OPTIMIZED:成本优化策略。'."\n" - .'- PRIORITY:优先级策略。', - 'type' => 'string', - 'example' => 'PRIORITY', - ], - 'CostOptimizedConfig' => [ - 'title' => '成本优化模式配置。', - 'description' => '成本优化模式配置。', - '$ref' => '#/components/schemas/CostOptimizedConfig', - ], - 'DeploymentSetStrategy' => [ - 'title' => '部署集策略。', - 'description' => '部署集策略。取值范围:'."\n" - .'- NONE:不适用部署集。'."\n" - .'- CLUSTER:使用集群级别部署集。'."\n" - .'- NODE_GROUP:使用节点组级别部署集。'."\n" - ."\n" - .'默认值:NONE。', - 'type' => 'string', - 'example' => 'NONE', - ], - 'PrivatePoolOptions' => [ - 'title' => '节点组私有池设置', - 'description' => '节点组私有池设置', - '$ref' => '#/components/schemas/PrivatePoolOptions', - ], - 'Status' => [ - 'title' => '节点组状态。', - 'description' => '节点组状态。', - 'type' => 'string', - 'example' => 'CREATED', + 'NodeResizeStrategy' => ['title' => '节点扩容策略。取值范围:', 'description' => '- COST_OPTIMIZED:成本优化策略。'."\n" + .'- PRIORITY:优先级策略。', 'type' => 'string', 'example' => 'PRIORITY'], + 'NodeGroupId' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'example' => 'ng-869471354ecd****'], + 'AdditionalSecurityGroupIds' => [ + 'title' => '额外安全组ID列表。', + 'description' => '安全组ID。', + 'type' => 'array', + 'items' => ['type' => 'string', 'description' => ''], + 'example' => '["sg-hp3abbae8lb6lmb1****"]', ], + 'DeploymentSetStrategy' => ['title' => '部署集策略。', 'description' => '部署集策略。取值范围:'."\n" + .'- NONE:不适用部署集。'."\n" + .'- CLUSTER:使用集群级别部署集。'."\n" + .'- NODE_GROUP:使用节点组级别部署集。'."\n" + ."\n" + .'默认值:NONE。', 'type' => 'string', 'example' => 'NONE'], + 'RunningNodeCount' => ['title' => '存活节点数量。', 'description' => '存活节点数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], ], ], 'NodeGroupConfig' => [ 'type' => 'object', 'properties' => [ - 'NodeGroupType' => [ - 'title' => '节点组类型。', - 'description' => '节点组类型。取值范围:'."\n" - .'- MASTER:管理类型节点组。'."\n" - .'- CORE:存储类型节点组。'."\n" - .'- TASK:计算类型节点组。', - 'type' => 'string', - 'required' => true, - 'example' => 'CORE', - ], - 'NodeGroupName' => [ - 'title' => '节点组名称。', - 'description' => '节点组名称。最大长度128个字符。集群内要求节点组名称唯一。', - 'type' => 'string', - 'example' => 'core-1', - ], - 'PaymentType' => [ - 'title' => '节点组付费类型。', - 'description' => '节点组付费类型。不传入时默认和集群付费类型一致。取值范围:'."\n" - .'- PayAsYouGo:后付费,按量付费。'."\n" - .'- Subscription:预付费,包年包月。'."\n" - ."\n" - .'默认值:PayAsYouGo。', - 'type' => 'string', - 'example' => 'PayAsYouGo', - ], - 'SubscriptionConfig' => [ - 'title' => '节点组预付费配置。', - 'description' => '节点组预付费配置。不传入时默认和集群预付费配置一致。', - '$ref' => '#/components/schemas/SubscriptionConfig', - ], - 'SpotStrategy' => [ - 'title' => '抢占式Spot实例策略。', - 'description' => '抢占式Spot实例策略。取值范围:'."\n" - .'- NoSpot:正常按量付费实例。'."\n" - .'- SpotWithPriceLimit:设置最高出价的抢占式实例。'."\n" - .'- SpotAsPriceGo:系统自动出价,最高按量付费价格的抢占式实例。'."\n" - ."\n" - .'默认值:NoSpot。', - 'type' => 'string', - 'example' => 'NoSpot', - ], + 'NodeGroupType' => ['title' => '节点组类型。', 'description' => '节点组类型。取值范围:'."\n" + .'- MASTER:管理类型节点组。'."\n" + .'- CORE:存储类型节点组。'."\n" + .'- TASK:计算类型节点组。', 'type' => 'string', 'required' => true, 'example' => 'CORE'], + 'NodeGroupName' => ['title' => '节点组名称。', 'description' => '节点组名称。最大长度128个字符。集群内要求节点组名称唯一。', 'type' => 'string', 'example' => 'core-1'], + 'PaymentType' => ['title' => '节点组付费类型。', 'description' => '节点组付费类型。不传入时默认和集群付费类型一致。取值范围:'."\n" + .'- PayAsYouGo:后付费,按量付费。'."\n" + .'- Subscription:预付费,包年包月。'."\n" + ."\n" + .'默认值:PayAsYouGo。', 'type' => 'string', 'example' => 'PayAsYouGo'], + 'SubscriptionConfig' => ['title' => '节点组预付费配置。', 'description' => '节点组预付费配置。不传入时默认和集群预付费配置一致。', '$ref' => '#/components/schemas/SubscriptionConfig'], + 'SpotStrategy' => ['title' => '抢占式Spot实例策略。', 'description' => '抢占式Spot实例策略。取值范围:'."\n" + .'- NoSpot:正常按量付费实例。'."\n" + .'- SpotWithPriceLimit:设置最高出价的抢占式实例。'."\n" + .'- SpotAsPriceGo:系统自动出价,最高按量付费价格的抢占式实例。'."\n" + ."\n" + .'默认值:NoSpot。', 'type' => 'string', 'example' => 'NoSpot'], 'SpotBidPrices' => [ 'title' => '抢占式Spot实例出价价格。', 'description' => '抢占式Spot实例出价价格。参数SpotStrategy取值为SpotWithPriceLimit时生效。数组元数个数N的取值范围:0~100。', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/SpotBidPrice', - ], + 'items' => ['$ref' => '#/components/schemas/SpotBidPrice', 'description' => ''], 'maxItems' => 100, ], 'VSwitchIds' => [ 'title' => '虚拟机交换机ID列表。', 'description' => '虚拟机交换机ID列表。数组元数个数N的取值范围:1~20。', 'type' => 'array', - 'items' => [ - 'description' => '虚拟机交换机ID。', - 'type' => 'string', - ], + 'items' => ['description' => '虚拟机交换机ID。', 'type' => 'string'], 'example' => '["vsw-hp35g7ya5ymw68mmg****"]', 'maxItems' => 20, ], - 'WithPublicIp' => [ - 'title' => '是否开公网IP。', - 'description' => '是否开公网IP。取值范围:'."\n" - .'- true:开公网。'."\n" - .'- false:不开公网。'."\n" - ."\n" - .'默认值:false。', - 'type' => 'boolean', - 'example' => 'false', - ], + 'WithPublicIp' => ['title' => '是否开公网IP。', 'description' => '是否开公网IP。取值范围:'."\n" + .'- true:开公网。'."\n" + .'- false:不开公网。'."\n" + ."\n" + .'默认值:false。', 'type' => 'boolean', 'example' => 'false'], 'AdditionalSecurityGroupIds' => [ 'title' => '附加安全组。', 'description' => '附加安全组。除集群设置的安全组外,为节点组单独设置的附加安全组。数组元数个数N的取值范围:0~2。', 'type' => 'array', - 'items' => [ - 'description' => '安全组ID。', - 'type' => 'string', - 'example' => 'sg-hp3abbae8lb6lmb1****', - ], + 'items' => ['description' => '安全组ID。', 'type' => 'string', 'example' => 'sg-hp3abbae8lb6lmb1****'], 'example' => '["sg-hp3abbae8lb6lmb1****"]', 'maxItems' => 5, ], @@ -3539,803 +1089,201 @@ 'title' => '节点实例类型列表。', 'description' => '节点实例类型列表。数组元数个数N的取值范围:1~100。', 'type' => 'array', - 'items' => [ - 'description' => '节点实例类型。', - 'type' => 'string', - 'example' => 'ecs.g7.2xlarge', - ], + 'items' => ['description' => '节点实例类型。', 'type' => 'string', 'example' => 'ecs.g7.2xlarge'], 'example' => '["ecs.g6.xlarge"]', 'maxItems' => 100, ], - 'NodeCount' => [ - 'title' => '节点数量。', - 'description' => '节点数量。取值范围:1~1000。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'SystemDisk' => [ - 'title' => '系统盘。', - 'description' => '系统盘。', - '$ref' => '#/components/schemas/SystemDisk', - ], + 'NodeCount' => ['title' => '节点数量。', 'description' => '节点数量。取值范围:1~1000。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'SystemDisk' => ['title' => '系统盘。', 'description' => '系统盘。', '$ref' => '#/components/schemas/SystemDisk'], 'DataDisks' => [ 'title' => '数据盘。', 'description' => '数据盘。当前数据盘只支持一种磁盘类型,即数组元数个数N的取值范围:1~1。', 'type' => 'array', - 'items' => [ - 'description' => '数据盘。', - '$ref' => '#/components/schemas/DataDisk', - ], + 'items' => ['description' => '数据盘。', '$ref' => '#/components/schemas/DataDisk'], 'maxItems' => 1, ], - 'GracefulShutdown' => [ - 'title' => '是否开启优雅下线。', - 'description' => '节点组上部署的组件是否开启优雅下线。取值范围:'."\n" - .'- true:开启优雅下线。'."\n" - .'- false:不开启优雅下线。'."\n" - ."\n" - .'默认值:false。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'SpotInstanceRemedy' => [ - 'title' => '是否开启补齐抢占式实例。', - 'description' => '开启后,当收到抢占式实例将被回收的系统消息时,伸缩组将尝试创建新的实例,替换掉将被回收的抢占式实例。取值范围:'."\n" - .'- true:开启补齐抢占式实例。'."\n" - .'- false:不开启补齐抢占式实例。'."\n" - ."\n" - .'默认值:false。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'CompensateWithOnDemand' => [ - 'title' => '当 nodeResizeStrategy 取值为 COST_OPTIMIZED 时,如果因价格、库存等原因无法创建足够的抢占式实例,是否允许自动尝试创建按量实例满足', - 'description' => '当 nodeResizeStrategy 取值为 COST_OPTIMIZED 时,如果因价格、库存等原因无法创建足够的抢占式实例,是否允许自动尝试创建按量实例满足', - 'type' => 'boolean', - 'example' => 'true', - ], - 'NodeResizeStrategy' => [ - 'title' => '节点扩容策略。', - 'description' => '节点扩容策略。取值范围:'."\n" - .'- COST_OPTIMIZED:成本优化策略。'."\n" - .'- PRIORITY:优先级策略。'."\n" - ."\n" - .'默认值:PRIORITY。', - 'type' => 'string', - 'example' => 'PRIORITY', - ], - 'CostOptimizedConfig' => [ - 'title' => '成本优化模式配置。', - 'description' => '成本优化模式配置。', - '$ref' => '#/components/schemas/CostOptimizedConfig', - ], - 'DeploymentSetStrategy' => [ - 'title' => '部署集策略。', - 'description' => '部署集策略。取值范围:'."\n" - .'- NONE:不适用部署集。'."\n" - .'- CLUSTER:使用集群级别部署集。'."\n" - .'- NODE_GROUP:使用节点组级别部署集。'."\n" - ."\n" - .'默认值:NONE。', - 'type' => 'string', - 'example' => 'NONE', - ], + 'GracefulShutdown' => ['title' => '是否开启优雅下线。', 'description' => '节点组上部署的组件是否开启优雅下线。取值范围:'."\n" + .'- true:开启优雅下线。'."\n" + .'- false:不开启优雅下线。'."\n" + ."\n" + .'默认值:false。', 'type' => 'boolean', 'example' => 'false'], + 'SpotInstanceRemedy' => ['title' => '是否开启补齐抢占式实例。', 'description' => '开启后,当收到抢占式实例将被回收的系统消息时,伸缩组将尝试创建新的实例,替换掉将被回收的抢占式实例。取值范围:'."\n" + .'- true:开启补齐抢占式实例。'."\n" + .'- false:不开启补齐抢占式实例。'."\n" + ."\n" + .'默认值:false。', 'type' => 'boolean', 'example' => 'true'], + 'CompensateWithOnDemand' => ['title' => '当 nodeResizeStrategy 取值为 COST_OPTIMIZED 时,如果因价格、库存等原因无法创建足够的抢占式实例,是否允许自动尝试创建按量实例满足', 'description' => '当 nodeResizeStrategy 取值为 COST_OPTIMIZED 时,如果因价格、库存等原因无法创建足够的抢占式实例,是否允许自动尝试创建按量实例满足', 'type' => 'boolean', 'example' => 'true'], + 'NodeResizeStrategy' => ['title' => '节点扩容策略。', 'description' => '节点扩容策略。取值范围:'."\n" + .'- COST_OPTIMIZED:成本优化策略。'."\n" + .'- PRIORITY:优先级策略。'."\n" + ."\n" + .'默认值:PRIORITY。', 'type' => 'string', 'example' => 'PRIORITY'], + 'CostOptimizedConfig' => ['title' => '成本优化模式配置。', 'description' => '成本优化模式配置。', '$ref' => '#/components/schemas/CostOptimizedConfig'], + 'DeploymentSetStrategy' => ['title' => '部署集策略。', 'description' => '部署集策略。取值范围:'."\n" + .'- NONE:不适用部署集。'."\n" + .'- CLUSTER:使用集群级别部署集。'."\n" + .'- NODE_GROUP:使用节点组级别部署集。'."\n" + ."\n" + .'默认值:NONE。', 'type' => 'string', 'example' => 'NONE'], 'ComponentTags' => [ 'title' => '自定义组件列表', 'description' => '自定义组件列表', 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'AutoScalingPolicy' => [ - 'title' => '弹性伸缩规则', - 'description' => '弹性伸缩规则', - '$ref' => '#/components/schemas/AutoScalingPolicy', - ], - 'PrivatePoolOptions' => [ - 'title' => '创建实例时使用的资源池策略,该参数只在创建按量付费实例时生效。', - 'description' => '创建实例时使用的资源池策略,该参数只在创建按量付费实例时生效。', - '$ref' => '#/components/schemas/PrivatePoolOptions', - ], - ], - ], - 'NodeGroupParam' => [ - 'title' => 'A short description of struct', - 'description' => '机器组', - 'type' => 'object', - 'properties' => [ - 'NodeGroupName' => [ - 'title' => '机器组名称', - 'type' => 'string', - ], - 'NodeGroupIndex' => [ - 'title' => '机器组序号', - 'type' => 'integer', - 'format' => 'int32', - ], - 'NodeGroupType' => [ - 'title' => '机器组类型', - 'type' => 'string', - ], - 'NodeCount' => [ - 'title' => '机器数量', - 'type' => 'integer', - 'format' => 'int32', - ], - 'ZoneId' => [ - 'title' => '分区', - 'type' => 'string', - ], - 'PaymentType' => [ - 'title' => '付费类型', - 'type' => 'string', - ], - 'PaymentDuration' => [ - 'title' => '付费周期', - 'type' => 'integer', - 'format' => 'int32', - ], - 'PaymentDurationUnit' => [ - 'title' => '付费周期单位', - 'type' => 'string', - ], - 'AutoPayOrder' => [ - 'title' => '自动支付', - 'type' => 'boolean', - ], - 'AutoRenew' => [ - 'title' => '自动续费', - 'type' => 'boolean', - ], - 'AutoRenewDuration' => [ - 'title' => 'autoRenewDuration', - 'type' => 'integer', - 'format' => 'int32', - ], - 'AutoRenewDurationUnit' => [ - 'title' => 'AutoRenewDurationUnit', - 'type' => 'string', - ], - 'Description' => [ - 'title' => '备注', - 'type' => 'string', - ], - 'VSwitchIds' => [ - 'title' => 'vSwitchIds', - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'InstanceTypes' => [ - 'title' => 'instanceTypes', - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'DataDisks' => [ - 'title' => 'dataDisks', - 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/DiskInfo', - ], - ], - 'SystemDisk' => [ - 'title' => 'systemDisk', - '$ref' => '#/components/schemas/SystemDiskParam', + 'items' => ['type' => 'string', 'description' => ''], ], + 'AutoScalingPolicy' => ['title' => '弹性伸缩规则', 'description' => '弹性伸缩规则', '$ref' => '#/components/schemas/AutoScalingPolicy'], + 'PrivatePoolOptions' => ['title' => '创建实例时使用的资源池策略,该参数只在创建按量付费实例时生效。', 'description' => '创建实例时使用的资源池策略,该参数只在创建按量付费实例时生效。', '$ref' => '#/components/schemas/PrivatePoolOptions'], ], + 'description' => '', ], 'NodeGroupStateChangeReason' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'title' => '状态码。', - 'description' => '状态码。取值范围:'."\n" - .'- UserRequest:用户请求。'."\n" - .'- OutOfStock:请求的ECS实例类型无库存。'."\n" - .'- NotAuthorized:无权限。'."\n" - .'- QuotaExceeded:Quota超出。'."\n" - .'- OperationDenied:操作被拒绝。'."\n" - .'- AccountException:账号异常。'."\n" - .'- NodeFailure:ECS节点异常。'."\n" - .'- BootstrapFailure:引导失败。'."\n" - .'- ValidationFail:业务逻辑校验失败。'."\n" - .'- ServiceFailure:依赖的其他服务失败。'."\n" - .'- InternalError:内部错误。', - 'type' => 'string', - 'example' => 'UserRequest', - ], - 'Message' => [ - 'title' => '描述信息。', - 'description' => '状态变化详细描述信息。', - 'type' => 'string', - 'example' => 'The instance type is required.', - ], - ], + 'Message' => ['title' => '描述信息。', 'description' => '状态变化详细描述信息。', 'type' => 'string', 'example' => 'The instance type is required.'], + 'Code' => ['title' => '状态码。', 'description' => '状态码。取值范围:'."\n" + .'- UserRequest:用户请求。'."\n" + .'- OutOfStock:请求的ECS实例类型无库存。'."\n" + .'- NotAuthorized:无权限。'."\n" + .'- QuotaExceeded:Quota超出。'."\n" + .'- OperationDenied:操作被拒绝。'."\n" + .'- AccountException:账号异常。'."\n" + .'- NodeFailure:ECS节点异常。'."\n" + .'- BootstrapFailure:引导失败。'."\n" + .'- ValidationFail:业务逻辑校验失败。'."\n" + .'- ServiceFailure:依赖的其他服务失败。'."\n" + .'- InternalError:内部错误。', 'type' => 'string', 'example' => 'UserRequest'], + ], + 'description' => '', ], 'NodeSelector' => [ 'description' => '节点选择器。', 'type' => 'object', 'properties' => [ - 'NodeSelectType' => [ - 'title' => '节点选择类型。', - 'description' => '节点选择类型。取值范围:'."\n" - .'- CLUSTER:集群。'."\n" - .'- NODE_GROUP:节点组。'."\n" - .'- NODE:节点。', - 'type' => 'string', - 'required' => true, - 'example' => 'CLUSTER', - ], - 'NodeNames' => [ - 'title' => '节点名称数组。', - 'description' => '节点名称列表。当NodeSelectType取值Node时,该参数生效。', - 'type' => 'array', - 'items' => [ - 'description' => '节点名称。', - 'type' => 'string', - 'example' => 'master-1-1', - ], - 'example' => '["core1-1"]', - ], - 'NodeGroupId' => [ - 'title' => '节点组ID。', - 'description' => '> 该参数已废弃,替换为NodeGroupIds参数。', - 'type' => 'string', - 'deprecated' => true, - 'example' => 'ng-869471354ecd****', - ], - 'NodeGroupIds' => [ - 'title' => '节点组ID数组', - 'description' => '节点组ID数组', - 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'example' => 'ng-869471354ecd****', - ], - ], 'NodeGroupTypes' => [ 'title' => '节点组类型。', 'description' => '节点组类型。当NodeSelectType取值NodeGroup,且参数NodeGroupId为空时生效。数组元数个数N取值范围:0~10。', 'type' => 'array', - 'items' => [ - 'description' => '节点组类型。取值范围:'."\n" - .'- MASTER:主节点组类型。'."\n" - .'- CORE:核心节点组类型。'."\n" - .'- TASK:计算阶节点组类型。', - 'type' => 'string', - 'example' => 'MASTER', - ], + 'items' => ['description' => '节点组类型。取值范围:'."\n" + .'- MASTER:主节点组类型。'."\n" + .'- CORE:核心节点组类型。'."\n" + .'- TASK:计算阶节点组类型。', 'type' => 'string', 'example' => 'MASTER'], 'example' => '["CORE","TASK"]', 'maxItems' => 10, ], - 'NodeGroupName' => [ - 'title' => '节点组名称。', - 'description' => '> 该参数已废弃,替换为NodeGroupNames。', - 'type' => 'string', - 'deprecated' => true, - 'example' => 'master-1', - ], + 'NodeGroupName' => ['title' => '节点组名称。', 'description' => '> 该参数已废弃,替换为NodeGroupNames。', 'type' => 'string', 'deprecated' => true, 'example' => 'master-1'], + 'NodeGroupId' => ['title' => '节点组ID。', 'description' => '> 该参数已废弃,替换为NodeGroupIds参数。', 'type' => 'string', 'deprecated' => true, 'example' => 'ng-869471354ecd****'], 'NodeGroupNames' => [ 'title' => '节点组名称数组', 'description' => '节点组名称数组', 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'example' => 'master-1', - ], - ], - ], - ], - 'OSUser' => [ - 'type' => 'object', - 'properties' => [ - 'Group' => [ - 'title' => '用户组。', - 'description' => '用户组。', - 'type' => 'string', - 'required' => false, - 'example' => 'hadoop', - ], - 'User' => [ - 'title' => '用户名称。', - 'description' => '用户名称。', - 'type' => 'string', - 'required' => false, - 'example' => '王五', + 'items' => ['type' => 'string', 'example' => 'master-1', 'description' => ''], ], - 'Password' => [ - 'title' => '用户密码。', - 'description' => '用户密码。', - 'type' => 'string', - 'required' => false, - 'example' => '12345****', - ], - ], - ], - 'OnKubeClusterResource' => [ - 'title' => 'A short description of struct', - 'description' => 'OnKubeClusterResource', - 'type' => 'object', - 'properties' => [ - 'Cpu' => [ - 'title' => 'Cpu', - 'type' => 'string', + 'NodeSelectType' => ['title' => '节点选择类型。', 'description' => '节点选择类型。取值范围:'."\n" + .'- CLUSTER:集群。'."\n" + .'- NODE_GROUP:节点组。'."\n" + .'- NODE:节点。', 'type' => 'string', 'required' => true, 'example' => 'CLUSTER'], + 'NodeGroupIds' => [ + 'title' => '节点组ID数组', + 'description' => '节点组ID数组', + 'type' => 'array', + 'items' => ['type' => 'string', 'example' => 'ng-869471354ecd****', 'description' => ''], ], - 'Memory' => [ - 'title' => '内存', - 'type' => 'string', + 'NodeNames' => [ + 'title' => '节点名称数组。', + 'description' => '节点名称列表。当NodeSelectType取值Node时,该参数生效。', + 'type' => 'array', + 'items' => ['description' => '节点名称。', 'type' => 'string', 'example' => 'master-1-1'], + 'example' => '["core1-1"]', ], ], ], 'Operation' => [ 'type' => 'object', 'properties' => [ - 'ClusterId' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'example' => 'c-b933c5aac8fe****', - ], - 'OperationId' => [ - 'title' => '操作ID。', - 'description' => '操作ID。', - 'type' => 'string', - 'example' => 'op-13c37a77c505****', - ], - 'CreateTime' => [ - 'title' => '创建时间。', - 'description' => '创建时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1628589439114', - ], - 'StartTime' => [ - 'title' => '开始时间。', - 'description' => '开始时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1628589439114', - ], - 'EndTime' => [ - 'title' => '结束时间。', - 'description' => '结束时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1628589439114', - ], - 'OperationType' => [ - 'title' => '操作类型。', - 'description' => '操作类型。', - 'type' => 'string', - 'example' => 'CREATE_CLUSTER', - ], - 'OperationState' => [ - 'title' => '操作状态。', - 'description' => '操作状态。取值范围:'."\n" - .'- IN_PROGRESS:执行中。'."\n" - .'- COMPLETED:已完成。'."\n" - .'- HUMAN_PROCESSING:人工介入。'."\n" - .'- FAILED:失败。', - 'type' => 'string', - 'example' => 'COMPLETED', - ], - 'Description' => [ - 'title' => '描述。', - 'description' => '描述。', - 'type' => 'string', - 'example' => 'start', - ], - 'StateChangeReason' => [ - 'title' => '状态转换原因。', - 'description' => '操作状态转换原因。', - '$ref' => '#/components/schemas/OperationStateChangeReason', - ], - ], + 'Description' => ['title' => '描述。', 'description' => '描述。', 'type' => 'string', 'example' => 'start'], + 'EndTime' => ['title' => '结束时间。', 'description' => '结束时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1628589439114'], + 'ClusterId' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'example' => 'c-b933c5aac8fe****'], + 'OperationId' => ['title' => '操作ID。', 'description' => '操作ID。', 'type' => 'string', 'example' => 'op-13c37a77c505****'], + 'CreateTime' => ['title' => '创建时间。', 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1628589439114'], + 'StartTime' => ['title' => '开始时间。', 'description' => '开始时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1628589439114'], + 'OperationType' => ['title' => '操作类型。', 'description' => '操作类型。', 'type' => 'string', 'example' => 'CREATE_CLUSTER'], + 'OperationState' => ['title' => '操作状态。', 'description' => '操作状态。取值范围:'."\n" + .'- IN_PROGRESS:执行中。'."\n" + .'- COMPLETED:已完成。'."\n" + .'- HUMAN_PROCESSING:人工介入。'."\n" + .'- FAILED:失败。', 'type' => 'string', 'example' => 'COMPLETED'], + 'StateChangeReason' => ['title' => '状态转换原因。', 'description' => '操作状态转换原因。', '$ref' => '#/components/schemas/OperationStateChangeReason'], + ], + 'description' => '', ], 'OperationData' => [ 'title' => 'A short description of struct', 'description' => '集群操作数据', 'type' => 'object', 'properties' => [ - 'actualDeliveredAmounts' => [ - 'title' => 'actualDeliveredAmounts', - 'type' => 'integer', - 'format' => 'int32', - ], - 'toBeDeliveredAmounts' => [ - 'title' => 'toBeDeliveredAmounts', - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'OperationStateChangeReason' => [ - 'type' => 'object', - 'properties' => [ - 'Code' => [ - 'title' => '状态码。', - 'description' => '操作状态码。取值范围:'."\n" - .'- UserRequest:用户请求。'."\n" - .'- OutOfStock:请求的ECS实例类型无库存。'."\n" - .'- NotAuthorized:无权限。'."\n" - .'- QuotaExceeded:Quota超出。'."\n" - .'- OperationDenied:操作被拒绝。'."\n" - .'- AccountException:账号异常。'."\n" - .'- NodeFailure:ECS节点异常。'."\n" - .'- BootstrapFailure:引导失败。'."\n" - .'- ValidationFail:业务逻辑校验失败。'."\n" - .'- ServiceFailure:依赖的其他服务失败。'."\n" - .'- InternalError:内部错误。', - 'type' => 'string', - 'example' => 'OutOfStock', - ], - 'Message' => [ - 'title' => '状态变化信息。', - 'description' => '操作状态变化信息。', - 'type' => 'string', - 'example' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.', - ], - ], - ], - 'Order' => [ - 'title' => 'A short description of struct', - 'description' => '订单', - 'type' => 'object', - 'properties' => [ - 'OrderId' => [ - 'title' => '订单ID', - 'type' => 'string', - ], - 'CreateTime' => [ - 'title' => '创建时间', - 'type' => 'string', - ], - ], - ], - 'Page' => [ - 'title' => 'A short description of struct', - 'description' => '数据列表', - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'title' => '总数', - 'type' => 'integer', - 'format' => 'int64', - ], - 'NextToken' => [ - 'title' => '起始', - 'type' => 'string', - ], - 'MaxResults' => [ - 'title' => '页面大小', - 'type' => 'integer', - 'format' => 'int64', - ], - 'Items' => [ - 'title' => '数据', + 'actualDeliveredAmounts' => ['title' => 'actualDeliveredAmounts', 'type' => 'integer', 'format' => 'int32'], + 'toBeDeliveredAmounts' => ['title' => 'toBeDeliveredAmounts', 'type' => 'integer', 'format' => 'int32'], + 'failedRefundInstanceIds' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], - 'Pod' => [ - 'title' => 'A short description of struct', + 'OperationStateChangeReason' => [ 'type' => 'object', 'properties' => [ - 'PodName' => [ - 'title' => 'podName', - 'type' => 'string', - ], - 'PodStatus' => [ - 'title' => 'podStatus', - 'type' => 'string', - ], - 'Reason' => [ - 'title' => 'reason', - 'type' => 'string', - ], - 'Message' => [ - 'title' => 'message', - 'type' => 'string', - ], - ], - ], - 'PriceInfo' => [ - 'title' => 'A short description of struct', - 'description' => '价格信息', - 'type' => 'object', - 'properties' => [ - 'PayType' => [ - 'title' => '支付类型', - 'type' => 'string', - ], - 'OriginalPrice' => [ - 'title' => '原始金额', - 'type' => 'string', - ], - 'SpotOriginalPrice' => [ - 'title' => '竞价原始价格', - 'type' => 'string', - ], - 'DiscountPrice' => [ - 'title' => '折扣金额', - 'type' => 'string', - ], - 'TaxPrice' => [ - 'title' => '税费金额', - 'type' => 'string', - ], - 'Currency' => [ - 'title' => '币种', - 'type' => 'string', - ], - 'SpotPrice' => [ - 'title' => '竞价价格', - 'type' => 'string', - ], - 'TradePrice' => [ - 'title' => '交易金额', - 'type' => 'string', - ], - 'ResourceType' => [ - 'title' => '资源类型', - 'type' => 'string', - ], - 'SpotInstanceTypeOriginalPrice' => [ - 'title' => '竞价原始价格', - 'type' => 'string', - ], - 'SpotInstanceTypePrice' => [ - 'title' => '竞价价格', - 'type' => 'string', - ], - 'PromotionResults' => [ - 'title' => '列表', - 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/PromotionInfo', - ], - ], - ], + 'Message' => ['title' => '状态变化信息。', 'description' => '操作状态变化信息。', 'type' => 'string', 'example' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.'], + 'Code' => ['title' => '状态码。', 'description' => '操作状态码。取值范围:'."\n" + .'- UserRequest:用户请求。'."\n" + .'- OutOfStock:请求的ECS实例类型无库存。'."\n" + .'- NotAuthorized:无权限。'."\n" + .'- QuotaExceeded:Quota超出。'."\n" + .'- OperationDenied:操作被拒绝。'."\n" + .'- AccountException:账号异常。'."\n" + .'- NodeFailure:ECS节点异常。'."\n" + .'- BootstrapFailure:引导失败。'."\n" + .'- ValidationFail:业务逻辑校验失败。'."\n" + .'- ServiceFailure:依赖的其他服务失败。'."\n" + .'- InternalError:内部错误。', 'type' => 'string', 'example' => 'OutOfStock'], + ], + 'description' => '', ], 'PrivatePoolOptions' => [ 'title' => '私有池设置', 'description' => 'PrivatePoolOptions', 'type' => 'object', 'properties' => [ + 'MatchCriteria' => ['title' => '实例启动的私有池容量选项。弹性保障服务或容量预定服务在生效后会生成私有池容量,供实例启动时选择。取值范围: Open:开放模式。将自动匹配开放类型的私有池容量。如果没有符合条件的私有池容量,则使用公共池资源启动。该模式下无需设置PrivatePoolOptions.Id参数。 Target:指定模式。使用指定的私有池容量启动实例,如果该私有池容量不可用,则实例会启动失败。该模式下必须指定私有池 ID,即PrivatePoolOptions.Id参数为必填项。 None:不使用模式。实例启动将不使用私有池容量。 默认值:None。', 'description' => '实例启动的私有池容量选项。弹性保障服务或容量预定服务在生效后会生成私有池容量,供实例启动时选择。取值范围: '."\n" + .'Open:开放模式。将自动匹配开放类型的私有池容量。如果没有符合条件的私有池容量,则使用公共池资源启动。该模式下无需设置PrivatePoolIds参数。'."\n" + .'Target:指定模式。使用指定的私有池容量启动实例,如果该私有池容量不可用,则实例会启动失败。该模式下必须指定私有池 ID,即PrivatePoolIds参数为必填项。 '."\n" + .'None:不使用模式。实例启动将不使用私有池容量。 默认值:None。', 'type' => 'string', 'example' => 'Open'], 'PrivatePoolIds' => [ 'title' => '私有池 ID。即弹性保障服务 ID 或容量预定服务 ID。', 'description' => '私有池 ID列表。', 'type' => 'array', - 'items' => [ - 'description' => '私有池 ID。即弹性保障服务 ID 或容量预定服务 ID。', - 'type' => 'string', - 'example' => 'crp-xxxx', - ], + 'items' => ['description' => '私有池 ID。即弹性保障服务 ID 或容量预定服务 ID。', 'type' => 'string', 'example' => 'crp-xxxx'], 'example' => 'eap-bp67acfmxazb4****', ], - 'MatchCriteria' => [ - 'title' => '实例启动的私有池容量选项。弹性保障服务或容量预定服务在生效后会生成私有池容量,供实例启动时选择。取值范围: Open:开放模式。将自动匹配开放类型的私有池容量。如果没有符合条件的私有池容量,则使用公共池资源启动。该模式下无需设置PrivatePoolOptions.Id参数。 Target:指定模式。使用指定的私有池容量启动实例,如果该私有池容量不可用,则实例会启动失败。该模式下必须指定私有池 ID,即PrivatePoolOptions.Id参数为必填项。 None:不使用模式。实例启动将不使用私有池容量。 默认值:None。', - 'description' => '实例启动的私有池容量选项。弹性保障服务或容量预定服务在生效后会生成私有池容量,供实例启动时选择。取值范围: '."\n" - .'Open:开放模式。将自动匹配开放类型的私有池容量。如果没有符合条件的私有池容量,则使用公共池资源启动。该模式下无需设置PrivatePoolIds参数。'."\n" - .'Target:指定模式。使用指定的私有池容量启动实例,如果该私有池容量不可用,则实例会启动失败。该模式下必须指定私有池 ID,即PrivatePoolIds参数为必填项。 '."\n" - .'None:不使用模式。实例启动将不使用私有池容量。 默认值:None。', - 'type' => 'string', - 'example' => 'Open', - ], ], ], 'Promotion' => [ 'type' => 'object', 'properties' => [ - 'PromotionName' => [ - 'title' => '优惠券名称。', - 'description' => '优惠券名称。', - 'type' => 'string', - 'example' => '5元优惠券', - ], - 'PromotionDesc' => [ - 'title' => '优惠券描述。', - 'description' => '优惠券描述。', - 'type' => 'string', - 'example' => '5元优惠券(有效期至23年8月11日)', - ], - 'PromotionOptionNo' => [ - 'title' => '优惠券号。', - 'description' => '优惠券号。', - 'type' => 'string', - 'required' => true, - 'example' => 'ABC123', - ], - 'PromotionOptionCode' => [ - 'title' => '优惠券码。', - 'description' => '优惠券码。', - 'type' => 'string', - 'example' => 'youhui_quan', - ], - 'ProductCode' => [ - 'title' => '产品码。', - 'description' => '产品码。', - 'type' => 'string', - 'example' => 'ecs', - ], - ], - ], - 'PromotionInfo' => [ - 'title' => 'A short description of struct', - 'description' => '代金券详情', - 'type' => 'object', - 'properties' => [ - 'PromotionOptionCode' => [ - 'title' => '代金券编号', - 'type' => 'string', - ], - 'PromotionOptionNo' => [ - 'title' => '代金券号码', - 'type' => 'string', - ], - 'PromotionName' => [ - 'title' => '代金券名称', - 'type' => 'string', - ], - 'PromotionDesc' => [ - 'title' => '代金券描述', - 'type' => 'string', - ], - 'CanPromFee' => [ - 'title' => '优惠金额', - 'type' => 'string', - ], - 'IsSelected' => [ - 'title' => '是否选中', - 'type' => 'string', - ], - ], - ], - 'PromotionParam' => [ - 'title' => 'A short description of struct', - 'description' => '促销入参', - 'type' => 'object', - 'properties' => [ - 'PromotionOptionNo' => [ - 'title' => 'PromotionOptionNo', - 'type' => 'string', - ], - 'PromotionOptionCode' => [ - 'title' => 'PromotionOptionCode', - 'type' => 'string', - ], - 'ProductCode' => [ - 'title' => 'ProductCode', - 'type' => 'string', - ], - ], - ], - 'RecommendScalingRule' => [ - 'type' => 'object', - 'properties' => [ - 'RuleName' => [ - 'title' => '规则名称。', - 'description' => '规则名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'scale-out-memory', - ], - 'TriggerType' => [ - 'title' => '伸缩规则类型。', - 'description' => '伸缩规则类型。 取值范围:'."\n" - .'- TIME_TRIGGER: 按时间伸缩。'."\n" - .'- METRICS_TRIGGER: 按负载伸缩。', - 'type' => 'string', - 'required' => true, - 'example' => 'TIME_TRIGGER', - ], - 'ActivityType' => [ - 'title' => '伸缩活动类型。', - 'description' => '伸缩活动类型。取值范围:'."\n" - .'- SCALE_OUT:扩容。'."\n" - .'- SCALE_IN:缩容。', - 'type' => 'string', - 'required' => true, - 'example' => 'SCALE_IN', - ], - 'AdjustmentValue' => [ - 'title' => '调整值。', - 'description' => '调整值。需要为正数,代表需要扩容或者缩容的实例数量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '100', - ], - 'TimeTrigger' => [ - 'title' => '按照时间伸缩描述。', - 'description' => '按照时间伸缩描述。'."\n" - .'<p>', - '$ref' => '#/components/schemas/TimeTrigger', - ], - 'MetricsTrigger' => [ - 'title' => '按照负载伸缩描述。', - 'description' => '按照负载伸缩描述。'."\n" - .'<p>', - '$ref' => '#/components/schemas/MetricsTrigger', - ], - 'MaxSave' => [ - 'title' => '最大节约成本。', - 'description' => '最大节约成本。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.12', - ], - 'InstanceType' => [ - 'title' => '推荐的规格类型。', - 'description' => '推荐的规格类型。', - 'type' => 'string', - ], + 'PromotionName' => ['title' => '优惠券名称。', 'description' => '优惠券名称。', 'type' => 'string', 'example' => '5元优惠券'], + 'PromotionDesc' => ['title' => '优惠券描述。', 'description' => '优惠券描述。', 'type' => 'string', 'example' => '5元优惠券(有效期至23年8月11日)'], + 'PromotionOptionNo' => ['title' => '优惠券号。', 'description' => '优惠券号。', 'type' => 'string', 'required' => true, 'example' => 'ABC123'], + 'ProductCode' => ['title' => '产品码。', 'description' => '产品码。', 'type' => 'string', 'example' => 'ecs'], + 'PromotionOptionCode' => ['title' => '优惠券码。', 'description' => '优惠券码。', 'type' => 'string', 'example' => 'youhui_quan'], ], ], 'RenewInstance' => [ 'type' => 'object', 'properties' => [ - 'InstanceId' => [ - 'title' => '节点ID。', - 'description' => '节点ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'i-bp1cudc25w2bfwl5****', - ], - 'RenewDuration' => [ - 'title' => '续费时长。', - 'description' => '续费时长。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'RenewDurationUnit' => [ - 'title' => '付费时长单位。', - 'description' => '付费时长单位。', - 'type' => 'string', - 'example' => 'Month', - ], - 'EmrRenewDuration' => [ - 'title' => 'emr实例续费时长。', - 'description' => 'emr实例续费时长。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'EmrRenewDurationUnit' => [ - 'title' => 'emr实例续费时长单位。', - 'description' => 'emr实例续费时长单位。', - 'type' => 'string', - 'example' => 'Month', - ], - ], - ], - 'RenewInstanceParam' => [ - 'title' => 'A short description of struct', - 'description' => '实例续费', - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'title' => '实例ID', - 'type' => 'string', - ], - 'RenewDuration' => [ - 'title' => '续费时长', - 'type' => 'integer', - 'format' => 'int64', - ], - 'RenewDurationUnit' => [ - 'title' => '续费时长单位', - 'type' => 'string', - ], + 'RenewDurationUnit' => ['title' => '付费时长单位。', 'description' => '付费时长单位。', 'type' => 'string', 'example' => 'Month'], + 'InstanceId' => ['title' => '节点ID。', 'description' => '节点ID。', 'type' => 'string', 'required' => true, 'example' => 'i-bp1cudc25w2bfwl5****'], + 'RenewDuration' => ['title' => '续费时长。', 'description' => '续费时长。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'EmrRenewDuration' => ['title' => 'emr实例续费时长。', 'description' => 'emr实例续费时长。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'EmrRenewDurationUnit' => ['title' => 'emr实例续费时长单位。', 'description' => 'emr实例续费时长单位。', 'type' => 'string', 'example' => 'Month'], ], ], 'ReplacementStrategy' => [ @@ -4343,242 +1291,52 @@ 'properties' => [ 'InstanceCategories' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/InstanceCategory', - ], - ], - ], - ], - 'RequestTag' => [ - 'title' => 'A short description of struct', - 'description' => '标签', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'title' => '键', - 'type' => 'string', - ], - 'Value' => [ - 'title' => '值', - 'type' => 'string', - ], - ], - ], - 'ResizeDiskNodeGroupParam' => [ - 'title' => 'A short description of struct', - 'description' => '磁盘扩容参数', - 'type' => 'object', - 'properties' => [ - 'NodeGroupId' => [ - 'title' => '机器组ID', - 'type' => 'string', - ], - 'DataDiskCapacity' => [ - 'title' => '磁盘容量', - 'type' => 'integer', - 'format' => 'int64', - ], - 'RollingRestart' => [ - 'title' => '滚动重启', - 'type' => 'boolean', + 'items' => ['$ref' => '#/components/schemas/InstanceCategory'], ], ], ], 'ResourceSummary' => [ 'type' => 'object', 'properties' => [ - 'VcoreUtilizationRate' => [ - '$ref' => '#/components/schemas/DoubleMetric', - ], - 'OriginalTotalVcore' => [ - '$ref' => '#/components/schemas/IntegerMetric', - ], - 'InefficientTaskRate' => [ - '$ref' => '#/components/schemas/DoubleMetric', - ], - 'MemoryUtilizationRate' => [ - '$ref' => '#/components/schemas/DoubleMetric', - ], - ], - ], - 'ScalingActivity' => [ - 'title' => '伸缩活动', - 'description' => '伸缩活动', - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'title' => '伸缩活动id', - 'type' => 'string', - ], - 'StartTime' => [ - 'title' => '开始时间', - 'type' => 'integer', - 'format' => 'int64', - ], - 'EndTime' => [ - 'title' => '结束时间', - 'type' => 'integer', - 'format' => 'int64', - ], - 'ExpectNum' => [ - 'title' => '预计伸缩后的实例个数', - 'type' => 'integer', - 'format' => 'int32', - ], - 'InstanceIds' => [ - 'title' => '伸缩Ecs实例列表', - 'type' => 'string', - ], - 'TotalCapacity' => [ - 'title' => '伸缩组总容量', - 'type' => 'integer', - 'format' => 'int32', - ], - 'Cause' => [ - 'title' => '伸缩原因', - 'type' => 'string', - ], - 'Description' => [ - 'title' => '伸缩活动描述', - 'type' => 'string', - ], - 'Transition' => [ - 'title' => '活动类型, 缩容/扩容', - 'type' => 'string', - ], - 'ScalingRuleName' => [ - 'title' => '关联伸缩规则名称', - 'type' => 'string', - ], - 'EssScalingRuleId' => [ - 'title' => '关联ESS伸缩规则Id', - 'type' => 'string', - ], - 'Status' => [ - 'title' => '伸缩活动状态,成功/失败/被拒绝', - 'type' => 'string', - ], - 'ScalingGroupId' => [ - 'title' => '伸缩组id', - 'type' => 'string', - ], - 'HostGroupName' => [ - 'title' => '机器组', - 'type' => 'string', - ], + 'VcoreUtilizationRate' => ['$ref' => '#/components/schemas/DoubleMetric'], + 'MemoryUtilizationRate' => ['$ref' => '#/components/schemas/DoubleMetric'], + 'OriginalTotalVcore' => ['$ref' => '#/components/schemas/IntegerMetric'], + 'InefficientTaskRate' => ['$ref' => '#/components/schemas/DoubleMetric'], ], ], 'ScalingActivityResult' => [ 'description' => '伸缩活动结果。', 'type' => 'object', 'properties' => [ - 'InstanceId' => [ - 'title' => '实例ID。', - 'description' => '实例ID。', - 'type' => 'string', - 'example' => 'i-bp1cudc25w2bfwl5****', - ], - ], - ], - 'ScalingActivityResultDTO' => [ - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'title' => '实例ID。', - 'description' => '实例ID。', - 'type' => 'string', - 'example' => 'i-bp1cudc25w2bfwl5****', - ], + 'InstanceId' => ['title' => '实例ID。', 'description' => '实例ID。', 'type' => 'string', 'example' => 'i-bp1cudc25w2bfwl5****'], ], ], 'ScalingAnalyzeResult' => [ 'type' => 'object', 'properties' => [ - 'ActualUsage' => [ - 'title' => '实际资源利用率。', - 'description' => '实际资源利用率。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.12', - ], - 'IdealUsage' => [ - 'title' => '理想资源用量。', - 'description' => '理想资源用量。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.12', - ], - 'ReservedCores' => [ - 'title' => '固定资源保留核数(非master)。', - 'description' => '固定资源保留核数(非master)core。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ReleaseCores' => [ - 'title' => '固定资源释放核数(非master)。', - 'description' => '固定资源释放核数(非master)core。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], - 'ScalingAnalyzeTimeRange' => [ - 'type' => 'object', - 'properties' => [ - 'StartTime' => [ - 'title' => '起始时间。', - 'description' => '起始时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1676441971000', - ], - 'EndTime' => [ - 'title' => '结束时间。', - 'description' => '结束时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1676441972000', - ], - 'Type' => [ - 'title' => '峰谷类型。', - 'description' => '峰谷类型。 peak/valley', - 'type' => 'string', - 'example' => 'peak', - ], + 'IdealUsage' => ['title' => '理想资源用量。', 'description' => '理想资源用量。', 'type' => 'number', 'format' => 'float', 'example' => '0.12'], + 'ReleaseCores' => ['title' => '固定资源释放核数(非master)。', 'description' => '固定资源释放核数(非master)core。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ReservedCores' => ['title' => '固定资源保留核数(非master)。', 'description' => '固定资源保留核数(非master)core。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ActualUsage' => ['title' => '实际资源利用率。', 'description' => '实际资源利用率。', 'type' => 'number', 'format' => 'float', 'example' => '0.12'], ], ], 'ScalingConstraints' => [ 'description' => '弹性伸缩约束。', 'type' => 'object', 'properties' => [ - 'MaxCapacity' => [ - 'title' => '最大值。', - 'description' => '节点组最大节点数。 默认值:2000。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2000', - ], - 'MinCapacity' => [ - 'title' => '最小值。', - 'description' => '节点组最小节点数。'."\n" - .'默认值:0。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], + 'MaxCapacity' => ['title' => '最大值。', 'description' => '节点组最大节点数。 默认值:2000。', 'type' => 'integer', 'format' => 'int32', 'example' => '2000'], + 'MinCapacity' => ['title' => '最小值。', 'description' => '节点组最小节点数。'."\n" + .'默认值:0。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], ], ], 'ScalingGroupConfig' => [ 'type' => 'object', 'properties' => [ - 'SpotStrategy' => [ - 'title' => '抢占式Spot实例策略。', - 'description' => '抢占式Spot实例策略。', - 'type' => 'string', - 'example' => 'NoSpot', - ], + 'DataDiskCount' => ['title' => '数据盘个数。', 'description' => '数据盘个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'], + 'SysDiskSize' => ['title' => '系统盘大小,单位GB。', 'description' => '系统盘大小,单位GB。', 'type' => 'integer', 'format' => 'int64', 'example' => '80'], + 'TriggerMode' => ['title' => '伸缩活动触发模式。', 'description' => '伸缩活动触发模式。', 'type' => 'string', 'example' => 'ByLoad'], + 'ScalingMinSize' => ['title' => '伸缩组节点最小个数。', 'description' => '伸缩组节点最小个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'SysDiskCategory' => ['title' => '系统盘类型。', 'description' => '系统盘类型。', 'type' => 'string', 'example' => 'cloud_essd'], 'InstanceTypeList' => [ 'title' => '抢占实例列表。', 'description' => '抢占实例列表。', @@ -4586,168 +1344,53 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'InstanceType' => [ - 'title' => 'Ecs类型。', - 'description' => 'Ecs类型。', - 'type' => 'string', - 'example' => 'ecs.c5.xlarge', - ], - 'SpotPriceLimit' => [ - 'title' => '抢占价格上限,可空。', - 'description' => '抢占价格上限,可空。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.79', - ], + 'SpotPriceLimit' => ['title' => '抢占价格上限,可空。', 'description' => '抢占价格上限,可空。', 'type' => 'number', 'format' => 'float', 'example' => '0.79'], + 'InstanceType' => ['title' => 'Ecs类型。', 'description' => 'Ecs类型。', 'type' => 'string', 'example' => 'ecs.c5.xlarge'], ], ], ], - 'SysDiskCategory' => [ - 'title' => '系统盘类型。', - 'description' => '系统盘类型。', - 'type' => 'string', - 'example' => 'cloud_essd', - ], - 'SysDiskSize' => [ - 'title' => '系统盘大小,单位GB。', - 'description' => '系统盘大小,单位GB。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '80', - ], - 'DataDiskCategory' => [ - 'title' => '数据盘类型。', - 'description' => '数据盘类型。', - 'type' => 'string', - 'example' => 'cloud_essd', - ], - 'DataDiskSize' => [ - 'title' => '数据盘大小,单位GB。', - 'description' => '数据盘大小,单位GB。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '40', - ], - 'DataDiskCount' => [ - 'title' => '数据盘个数。', - 'description' => '数据盘个数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'ScalingMaxSize' => [ - 'title' => '伸缩组节点最大个数。', - 'description' => '伸缩组节点最大个数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'ScalingMinSize' => [ - 'title' => '伸缩组节点最小个数。', - 'description' => '伸缩组节点最小个数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'DefaultCoolDownTime' => [ - 'title' => '默认冷却时间。', - 'description' => '默认冷却时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], 'NodeOfflinePolicy' => [ 'title' => '节点下线策略。', 'description' => '节点下线策略。', 'type' => 'object', 'properties' => [ - 'Mode' => [ - 'title' => '下线模式,是否为优雅下线。', - 'description' => '下线模式,是否为优雅下线。', - 'type' => 'string', - 'example' => 'DEFAULT', - ], - 'TimeoutMs' => [ - 'title' => '下线超时时间,单位毫秒。', - 'description' => '下线超时时间,单位毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], + 'TimeoutMs' => ['title' => '下线超时时间,单位毫秒。', 'description' => '下线超时时间,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Mode' => ['title' => '下线模式,是否为优雅下线。', 'description' => '下线模式,是否为优雅下线。', 'type' => 'string', 'example' => 'DEFAULT'], ], ], - 'TriggerMode' => [ - 'title' => '伸缩活动触发模式。', - 'description' => '伸缩活动触发模式。', - 'type' => 'string', - 'example' => 'ByLoad', + 'PrivatePoolOptions' => [ + 'title' => '私有池选项 。', + 'description' => '私有池选项 。', + 'type' => 'object', + 'properties' => [ + 'MatchCriteria' => ['title' => '实例启动的私有池容量选项。。', 'description' => '实例启动的私有池容量选项。。', 'type' => 'string', 'example' => 'Open'], + 'Id' => ['title' => '私有池id。', 'description' => '私有池id。', 'type' => 'string', 'example' => 'eap-bp67acfmxazb4****'], + ], ], + 'ScalingMaxSize' => ['title' => '伸缩组节点最大个数。', 'description' => '伸缩组节点最大个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'DataDiskSize' => ['title' => '数据盘大小,单位GB。', 'description' => '数据盘大小,单位GB。', 'type' => 'integer', 'format' => 'int64', 'example' => '40'], + 'DataDiskCategory' => ['title' => '数据盘类型。', 'description' => '数据盘类型。', 'type' => 'string', 'example' => 'cloud_essd'], + 'DefaultCoolDownTime' => ['title' => '默认冷却时间。', 'description' => '默认冷却时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], 'MultiAvailablePolicy' => [ 'title' => '资源可用性策略(成本优化参数)。', 'description' => '资源可用性策略(成本优化参数)。', 'type' => 'object', 'properties' => [ - 'PolicyType' => [ - 'title' => '策略类型。', - 'description' => '策略类型。', - 'type' => 'string', - 'example' => 'PRIORITY', - ], + 'PolicyType' => ['title' => '策略类型。', 'description' => '策略类型。', 'type' => 'string', 'example' => 'PRIORITY'], 'PolicyParam' => [ 'title' => '资源可用性策略(成本优化参数)。', 'description' => '资源可用性策略(成本优化参数)。', 'type' => 'object', 'properties' => [ - 'OnDemandBaseCapacity' => [ - 'title' => '按需实例最小个数。', - 'description' => '按需实例最小个数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'OnDemandPercentageAboveBaseCapacity' => [ - 'title' => '按需实例百分比。', - 'description' => '按需实例百分比。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'SpotInstanceRemedy' => [ - 'title' => '是否使用按量补偿。', - 'description' => '是否使用按量补偿。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'SpotInstancePools' => [ - 'title' => '抢占实例类型池规模。', - 'description' => '抢占实例类型池规模。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], + 'SpotInstanceRemedy' => ['title' => '是否使用按量补偿。', 'description' => '是否使用按量补偿。', 'type' => 'boolean', 'example' => 'false'], + 'OnDemandBaseCapacity' => ['title' => '按需实例最小个数。', 'description' => '按需实例最小个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'OnDemandPercentageAboveBaseCapacity' => ['title' => '按需实例百分比。', 'description' => '按需实例百分比。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'SpotInstancePools' => ['title' => '抢占实例类型池规模。', 'description' => '抢占实例类型池规模。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], ], ], ], ], - 'PrivatePoolOptions' => [ - 'title' => '私有池选项 。', - 'description' => '私有池选项 。', - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'title' => '私有池id。', - 'description' => '私有池id。', - 'type' => 'string', - 'example' => 'eap-bp67acfmxazb4****', - ], - 'MatchCriteria' => [ - 'title' => '实例启动的私有池容量选项。。', - 'description' => '实例启动的私有池容量选项。。', - 'type' => 'string', - 'example' => 'Open', - ], - ], - ], + 'SpotStrategy' => ['title' => '抢占式Spot实例策略。', 'description' => '抢占式Spot实例策略。', 'type' => 'string', 'example' => 'NoSpot'], ], ], 'ScalingPolicy' => [ @@ -4757,714 +1400,203 @@ 'ScalingRules' => [ 'title' => '弹性伸缩规则', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/ScalingRule', - ], - ], - 'ScalingPolicyId' => [ - 'title' => '弹性伸缩id', - 'type' => 'string', - ], - 'Constraints' => [ - '$ref' => '#/components/schemas/ManagedScalingConstraints', - ], - 'NodeGroupName' => [ - 'title' => '节点组名称', - 'type' => 'string', - ], - 'ClusterId' => [ - 'title' => '集群id', - 'type' => 'string', - ], - 'NodeGroupId' => [ - 'title' => '节点组id', - 'type' => 'string', - ], - 'ScalingPolicyType' => [ - 'title' => '弹性伸缩类型', - 'type' => 'string', - 'example' => 'AUTO / MANAGED', - ], - 'Disabled' => [ - 'title' => '是否开启', - 'type' => 'boolean', + 'items' => ['$ref' => '#/components/schemas/ScalingRule'], ], + 'ScalingPolicyId' => ['title' => '弹性伸缩id', 'type' => 'string'], + 'Constraints' => ['$ref' => '#/components/schemas/ManagedScalingConstraints'], + 'NodeGroupName' => ['title' => '节点组名称', 'type' => 'string'], + 'ClusterId' => ['title' => '集群id', 'type' => 'string'], + 'NodeGroupId' => ['title' => '节点组id', 'type' => 'string'], + 'ScalingPolicyType' => ['title' => '弹性伸缩类型', 'type' => 'string', 'example' => 'AUTO / MANAGED'], + 'Disabled' => ['title' => '是否开启', 'type' => 'boolean'], ], ], 'ScalingRule' => [ 'description' => '伸缩规则配置。', 'type' => 'object', 'properties' => [ - 'RuleName' => [ - 'title' => '规则名称。', - 'description' => '规则名称。必填参数,不允许为空字符串。', - 'type' => 'string', - 'required' => true, - 'example' => 'scalingByYarnMemory', - ], - 'TriggerType' => [ - 'title' => '伸缩规则类型。', - 'description' => '伸缩规则类型。必填参数。取值范围:'."\n" - .'- TIME_TRIGGER:按时间伸缩。'."\n" - .'- METRICS_TRIGGER:按负载伸缩。', - 'type' => 'string', - 'required' => true, - 'example' => 'TIME_TRIGGER', - ], - 'ActivityType' => [ - 'title' => '伸缩活动类型。', - 'description' => '伸缩活动类型。必填参数。取值范围:'."\n" - .'- SCALE_OUT:扩容。'."\n" - .'- SCALE_IN:缩容。', - 'type' => 'string', - 'required' => true, - 'example' => 'SCALE_IN', - ], - 'AdjustmentValue' => [ - 'title' => '调整值。', - 'description' => '调整值。必填参数,需要为正数,代表需要扩容或者缩容的实例数量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '100', - ], - 'TimeTrigger' => [ - 'title' => '按照时间伸缩描述。', - 'description' => '按照时间伸缩描述。'."\n" - .'<p>', - '$ref' => '#/components/schemas/TimeTrigger', - ], - 'MetricsTrigger' => [ - 'title' => '按照负载伸缩描述。', - 'description' => '按照负载伸缩描述。'."\n" - .'<p>', - '$ref' => '#/components/schemas/MetricsTrigger', - ], - 'MinAdjustmentValue' => [ - 'title' => '弹性伸缩扩容最小交付数量。', - 'description' => '扩容最小交付数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], - 'ScalingRuleSpec' => [ - 'type' => 'object', - 'properties' => [ - 'ScalingRuleName' => [ - 'title' => '规则名称。', - 'description' => '规则名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'scale-out-memory', - ], - 'ScalingRuleType' => [ - 'title' => '伸缩规则类型。', - 'description' => '伸缩规则类型。', - 'type' => 'string', - 'required' => true, - 'example' => 'BY_TIME', - ], - 'ScalingActivityType' => [ - 'title' => '伸缩活动类型。', - 'description' => '伸缩活动类型。', - 'type' => 'string', - 'required' => true, - 'example' => 'SCALE_IN', - ], - 'AdjustmentValue' => [ - 'title' => '调整值。', - 'description' => '调整值。需要为正数,代表需要扩容或者缩容的实例数量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '100', - ], - 'CoolDownInterval' => [ - 'title' => '冷却时间。', - 'description' => '冷却时间。单位为秒,取值范围在30~10800秒之间。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '60', - ], - 'ByTimeScalingRuleSpec' => [ - 'title' => '按照时间伸缩描述。', - 'description' => '按照时间伸缩描述。', - 'type' => 'object', - 'properties' => [ - 'LaunchTime' => [ - 'title' => '启动时间戳。', - 'description' => '启动时间戳。单位为毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1639714634819', - ], - 'EndTime' => [ - 'title' => '重复执行定时任务的结束时间戳。', - 'description' => '重复执行定时任务的结束时间戳。单位为毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1639714800000', - ], - 'RecurrenceType' => [ - 'title' => '指定时间规则的执行类型。', - 'description' => '指定时间规则的执行类型。', - 'type' => 'string', - 'example' => 'WEEKLY', - ], - 'RecurrenceValue' => [ - 'title' => '重复执行定时任务的数值。', - 'description' => '重复执行定时任务的数值。具体取值取决于 recurrenceType 设置。', - 'type' => 'string', - 'example' => 'MON,FRI,SUN', - ], - ], - ], - 'ByLoadScalingRuleSpec' => [ - 'title' => '按照负载伸缩描述。', - 'description' => '按照负载伸缩描述。', - 'type' => 'object', - 'properties' => [ - 'MetricName' => [ - 'title' => '指标名称。', - 'description' => '指标名称。指标名称需要在 ListAutoScalingMetrics 接口返回的指标名称列表中。', - 'type' => 'string', - 'required' => true, - 'example' => 'yarn_resourcemanager_root_availablememoryusage', - ], - 'Statistics' => [ - 'title' => '统计量名称。', - 'description' => '统计量名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'AVG', - ], - 'ComparisonOperator' => [ - 'title' => '比较符。', - 'description' => '比较符。', - 'type' => 'string', - 'required' => true, - 'example' => 'LT', - ], - 'TimeWindow' => [ - 'title' => '统计窗口。', - 'description' => '统计窗口。单位为秒。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '30', - ], - 'Threshold' => [ - 'title' => '阈值。', - 'description' => '阈值。', - 'type' => 'number', - 'format' => 'double', - 'required' => true, - 'example' => '12.5', - ], - 'EvaluationCount' => [ - 'title' => '统计次数。', - 'description' => '统计次数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '2', - ], - ], - ], + 'RuleName' => ['title' => '规则名称。', 'description' => '规则名称。必填参数,不允许为空字符串。', 'type' => 'string', 'required' => true, 'example' => 'scalingByYarnMemory'], + 'TriggerType' => ['title' => '伸缩规则类型。', 'description' => '伸缩规则类型。必填参数。取值范围:'."\n" + .'- TIME_TRIGGER:按时间伸缩。'."\n" + .'- METRICS_TRIGGER:按负载伸缩。', 'type' => 'string', 'required' => true, 'example' => 'TIME_TRIGGER'], + 'ActivityType' => ['title' => '伸缩活动类型。', 'description' => '伸缩活动类型。必填参数。取值范围:'."\n" + .'- SCALE_OUT:扩容。'."\n" + .'- SCALE_IN:缩容。', 'type' => 'string', 'required' => true, 'example' => 'SCALE_IN'], + 'AdjustmentValue' => ['title' => '调整值。', 'description' => '调整值。必填参数,需要为正数,代表需要扩容或者缩容的实例数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '100'], + 'TimeTrigger' => ['title' => '按照时间伸缩描述。', 'description' => '按照时间伸缩描述。'."\n" + .'<p>', '$ref' => '#/components/schemas/TimeTrigger'], + 'MetricsTrigger' => ['title' => '按照负载伸缩描述。', 'description' => '按照负载伸缩描述。'."\n" + .'<p>', '$ref' => '#/components/schemas/MetricsTrigger'], + 'MinAdjustmentValue' => ['title' => '弹性伸缩扩容最小交付数量。', 'description' => '扩容最小交付数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], 'ScalingRuleV1' => [ 'type' => 'object', 'properties' => [ - 'ScalingConfigBizId' => [ - 'title' => '弹性规则配置ID。', - 'description' => '弹性规则配置ID。', - 'type' => 'string', - 'example' => 'SCB-DCD96BCCFED1****', - ], - 'RuleType' => [ - 'title' => '规则类型。', - 'description' => '规则类型。', - 'type' => 'string', - 'example' => 'BY_LOAD', - ], - 'RuleName' => [ - 'title' => '规则名称。', - 'description' => '规则名称。', - 'type' => 'string', - 'example' => 'tule1', - ], - 'CoolDownTime' => [ - 'title' => '冷却时间,单位秒。', - 'description' => '冷却时间,单位秒。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], + 'CoolDownTime' => ['title' => '冷却时间,单位秒。', 'description' => '冷却时间,单位秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'], + 'AdjustmentValue' => ['title' => '调整值,正数为扩容,负数为缩容。', 'description' => '调整值,正数为扩容,负数为缩容。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'RuleParam' => [ 'title' => '规则参数。', 'description' => '规则参数。', 'type' => 'object', 'properties' => [ - 'MetricName' => [ - 'title' => '[负载触发参数] 度量名称。', - 'description' => '[负载触发参数] 度量名称。', - 'type' => 'string', - 'example' => 'YarnRootAvailableVCores', - ], - 'Statistics' => [ - 'title' => '[负载触发参数] 统计方式。', - 'description' => '[负载触发参数] 统计方式。', - 'type' => 'string', - 'example' => 'Average', - ], - 'ComparisonOperator' => [ - 'title' => '[负载触发参数] 比较符。', - 'description' => '[负载触发参数] 比较符。', - 'type' => 'string', - 'example' => '>', - ], - 'Period' => [ - 'title' => '[负载触发参数] 统计时长,单位分钟。', - 'description' => '[负载触发参数] 统计时长,单位分钟。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'Threshold' => [ - 'title' => '[负载触发参数] 阈值。', - 'description' => '[负载触发参数] 阈值。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EvaluationCount' => [ - 'title' => '[负载触发参数] 统计次数。', - 'description' => '[负载触发参数] 统计次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RecurrenceType' => [ - 'title' => '[时间调度参数] 周期类型。', - 'description' => '[时间调度参数] 周期类型。', - 'type' => 'string', - 'example' => 'Daily', - ], - 'RecurrenceValue' => [ - 'title' => '[时间调度参数] 周期类型周期值。', - 'description' => '[时间调度参数] 周期类型周期值。', - 'type' => 'string', - 'example' => '1', - ], - 'RecurrenceEndTime' => [ - 'title' => '[时间调度参数] 周期类型周期结束时间。', - 'description' => '[时间调度参数] 周期类型周期结束时间。', - 'type' => 'string', - 'example' => '2021-09-16T05:02Z', - ], - 'LaunchTime' => [ - 'title' => '[时间调度参数] 周期类型周期开始时间。', - 'description' => '[时间调度参数] 周期类型周期开始时间。', - 'type' => 'string', - 'example' => '2021-09-15T04:02Z', - ], - 'LaunchExpirationTime' => [ - 'title' => '[时间调度参数] 周期类型周期过期时间。', - 'description' => '[时间调度参数] 周期类型周期过期时间。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], + 'MetricName' => ['title' => '[负载触发参数] 度量名称。', 'description' => '[负载触发参数] 度量名称。', 'type' => 'string', 'example' => 'YarnRootAvailableVCores'], + 'ComparisonOperator' => ['title' => '[负载触发参数] 比较符。', 'description' => '[负载触发参数] 比较符。', 'type' => 'string', 'example' => '>'], + 'LaunchTime' => ['title' => '[时间调度参数] 周期类型周期开始时间。', 'description' => '[时间调度参数] 周期类型周期开始时间。', 'type' => 'string', 'example' => '2021-09-15T04:02Z'], + 'RecurrenceType' => ['title' => '[时间调度参数] 周期类型。', 'description' => '[时间调度参数] 周期类型。', 'type' => 'string', 'example' => 'Daily'], + 'Period' => ['title' => '[负载触发参数] 统计时长,单位分钟。', 'description' => '[负载触发参数] 统计时长,单位分钟。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'EvaluationCount' => ['title' => '[负载触发参数] 统计次数。', 'description' => '[负载触发参数] 统计次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RecurrenceValue' => ['title' => '[时间调度参数] 周期类型周期值。', 'description' => '[时间调度参数] 周期类型周期值。', 'type' => 'string', 'example' => '1'], + 'RecurrenceEndTime' => ['title' => '[时间调度参数] 周期类型周期结束时间。', 'description' => '[时间调度参数] 周期类型周期结束时间。', 'type' => 'string', 'example' => '2021-09-16T05:02Z'], + 'Statistics' => ['title' => '[负载触发参数] 统计方式。', 'description' => '[负载触发参数] 统计方式。', 'type' => 'string', 'example' => 'Average'], + 'LaunchExpirationTime' => ['title' => '[时间调度参数] 周期类型周期过期时间。', 'description' => '[时间调度参数] 周期类型周期过期时间。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Threshold' => ['title' => '[负载触发参数] 阈值。', 'description' => '[负载触发参数] 阈值。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], - 'AdjustmentType' => [ - 'title' => '调整类型。', - 'description' => '调整类型。', - 'type' => 'string', - 'example' => 'QUANTITY_CHANGE_IN_CAPACITY', - ], - 'AdjustmentValue' => [ - 'title' => '调整值,正数为扩容,负数为缩容。', - 'description' => '调整值,正数为扩容,负数为缩容。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'RuleType' => ['title' => '规则类型。', 'description' => '规则类型。', 'type' => 'string', 'example' => 'BY_LOAD'], + 'ScalingConfigBizId' => ['title' => '弹性规则配置ID。', 'description' => '弹性规则配置ID。', 'type' => 'string', 'example' => 'SCB-DCD96BCCFED1****'], + 'RuleName' => ['title' => '规则名称。', 'description' => '规则名称。', 'type' => 'string', 'example' => 'tule1'], + 'AdjustmentType' => ['title' => '调整类型。', 'description' => '调整类型。', 'type' => 'string', 'example' => 'QUANTITY_CHANGE_IN_CAPACITY'], ], ], 'Script' => [ 'type' => 'object', 'properties' => [ - 'ScriptName' => [ - 'title' => '脚本名称。', - 'description' => '脚本名称。必填。长度为1~64个字符,必须以大小字母或中文开头,不能以 http:// 和 https:// 开头。可以包含中文、英文、数字、下划线(_)、或者短划线(-)', - 'type' => 'string', - 'required' => true, - 'example' => '脚本名-1', - ], - 'ScriptPath' => [ - 'title' => '脚本路径。', - 'description' => '脚本所在OSS路径。必填。以 oss:// 开头。', - 'type' => 'string', - 'required' => true, - 'example' => 'oss://bucket1/update_hosts.sh', - ], - 'ScriptArgs' => [ - 'title' => '脚本参数。', - 'description' => '脚本执行参数。非必填参数。', - 'type' => 'string', - 'example' => '-host 10.0.10.5 -m 30', - ], - 'Priority' => [ - 'title' => '优先级。', - 'description' => '> 此参数已废弃,脚本执行的顺序同脚本定义的顺序。', - 'type' => 'integer', - 'format' => 'int32', - 'deprecated' => true, - 'example' => '1', - ], - 'NodeSelector' => [ - 'title' => '节点选择器。', - 'description' => '节点选择器。', - 'required' => true, - '$ref' => '#/components/schemas/NodeSelector', - ], - 'ExecutionMoment' => [ - 'title' => '脚本的执行时机。', - 'description' => '脚本的执行时机。取值范围:'."\n" - .'- BEFORE_INSTALL:应用安装前。'."\n" - .'- AFTER_STARTED:应用启动后。', - 'type' => 'string', - 'example' => 'BEFORE_INSTALL', - ], - 'ExecutionFailStrategy' => [ - 'title' => '执行失败策略。', - 'description' => '执行失败策略。取值范围:'."\n" - .'- FAILED_CONTINUE:失败后不阻塞集群创建或者阻塞集群扩容。'."\n" - .'- FAILED_BLOCK:失败后阻塞集群创建或者阻塞集群扩容。', - 'type' => 'string', - 'example' => 'FAILED_CONTINUE', - ], - ], + 'ScriptPath' => ['title' => '脚本路径。', 'description' => '脚本所在OSS路径。必填。以 oss:// 开头。', 'type' => 'string', 'required' => true, 'example' => 'oss://bucket1/update_hosts.sh'], + 'ScriptArgs' => ['title' => '脚本参数。', 'description' => '脚本执行参数。非必填参数。', 'type' => 'string', 'example' => '-host 10.0.10.5 -m 30'], + 'ExecutionFailStrategy' => ['title' => '执行失败策略。', 'description' => '执行失败策略。取值范围:'."\n" + .'- FAILED_CONTINUE:失败后不阻塞集群创建或者阻塞集群扩容。'."\n" + .'- FAILED_BLOCK:失败后阻塞集群创建或者阻塞集群扩容。', 'type' => 'string', 'example' => 'FAILED_CONTINUE'], + 'Priority' => ['title' => '优先级。', 'description' => '> 此参数已废弃,脚本执行的顺序同脚本定义的顺序。', 'type' => 'integer', 'format' => 'int32', 'deprecated' => true, 'example' => '1'], + 'ScriptName' => ['title' => '脚本名称。', 'description' => '脚本名称。必填。长度为1~64个字符,必须以大小字母或中文开头,不能以 http:// 和 https:// 开头。可以包含中文、英文、数字、下划线(_)、或者短划线(-)', 'type' => 'string', 'required' => true, 'example' => '脚本名-1'], + 'ExecutionMoment' => ['title' => '脚本的执行时机。', 'description' => '脚本的执行时机。取值范围:'."\n" + .'- BEFORE_INSTALL:应用安装前。'."\n" + .'- AFTER_STARTED:应用启动后。', 'type' => 'string', 'example' => 'BEFORE_INSTALL'], + 'NodeSelector' => ['title' => '节点选择器。', 'description' => '节点选择器。', 'required' => true, '$ref' => '#/components/schemas/NodeSelector'], + ], + 'description' => '', ], 'SpotBidPrice' => [ 'type' => 'object', 'properties' => [ - 'InstanceType' => [ - 'title' => '实例类型。', - 'description' => 'ECS实例类型。', - 'type' => 'string', - 'example' => 'ecs.g7.2xlarge', - ], - 'BidPrice' => [ - 'title' => '实例的每小时最高出价。', - 'description' => '实例的每小时最高出价。支持最大3位小数,参数SpotStrategy=SpotWithPriceLimit时,该参数生效。', - 'type' => 'number', - 'format' => 'double', - 'example' => '1000.0', - ], - ], - ], - 'SpotPriceLimit' => [ - 'type' => 'object', - 'properties' => [ - 'InstanceType' => [ - 'type' => 'string', - ], - 'PriceLimit' => [ - 'type' => 'number', - 'format' => 'double', - ], + 'BidPrice' => ['title' => '实例的每小时最高出价。', 'description' => '实例的每小时最高出价。支持最大3位小数,参数SpotStrategy=SpotWithPriceLimit时,该参数生效。', 'type' => 'number', 'format' => 'double', 'example' => '1000.0'], + 'InstanceType' => ['title' => '实例类型。', 'description' => 'ECS实例类型。', 'type' => 'string', 'example' => 'ecs.g7.2xlarge'], ], + 'description' => '', ], 'StateChangeReason' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'title' => '状态码。', - 'description' => '状态码。取值范围:'."\n" - .'- UserRequest:用户请求。'."\n" - .'- QuotaExceeded:配额超出。'."\n" - .'- InternalError:内部错误。', - 'type' => 'string', - 'example' => 'MissingParameter', - ], - 'Message' => [ - 'title' => '描述信息。', - 'description' => '描述信息。', - 'type' => 'string', - 'example' => 'The instance type is required.', - ], + 'Code' => ['title' => '状态码。', 'description' => '状态码。取值范围:'."\n" + .'- UserRequest:用户请求。'."\n" + .'- QuotaExceeded:配额超出。'."\n" + .'- InternalError:内部错误。', 'type' => 'string', 'example' => 'MissingParameter'], + 'Message' => ['title' => '描述信息。', 'description' => '描述信息。', 'type' => 'string', 'example' => 'The instance type is required.'], ], + 'description' => '', ], 'SubscriptionConfig' => [ 'type' => 'object', 'properties' => [ - 'PaymentDurationUnit' => [ - 'title' => '付费时长单位。', - 'description' => '付费时长单位。取值范围:'."\n" - .'- Month:月。', - 'type' => 'string', - 'required' => true, - 'example' => 'Month', - ], - 'PaymentDuration' => [ - 'title' => '付费时长。', - 'description' => '付费时长。PaymentDurationUnit取值为Month时,取值:1、2、3、4、5、6、7、8、9、12、24、36、48、60。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '12', - ], - 'AutoRenew' => [ - 'title' => '自动续费。', - 'description' => '自动续费。取值范围:'."\n" - .'- true:开启启动续费。'."\n" - .'- false:不开启自动续费。'."\n" - .'默认值:false。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'AutoRenewDurationUnit' => [ - 'title' => '自动续费时长单位。AutoRenew取值为true时生效,取值范围:', - 'description' => '自动续费时长单位,取值范围:'."\n" - .'- Month:月。', - 'type' => 'string', - 'example' => 'Month', - ], - 'AutoRenewDuration' => [ - 'title' => '自动续费时长。', - 'description' => '自动续费时长。当AutoRenew取值为true时生效。当AutoRenewDurationUnit取值为Month时,取值:1、2、3、4、5、6、7、8、9、12、24、36、48、60。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - ], + 'AutoRenewDurationUnit' => ['title' => '自动续费时长单位。AutoRenew取值为true时生效,取值范围:', 'description' => '自动续费时长单位,取值范围:'."\n" + .'- Month:月。', 'type' => 'string', 'example' => 'Month'], + 'AutoRenew' => ['title' => '自动续费。', 'description' => '自动续费。取值范围:'."\n" + .'- true:开启启动续费。'."\n" + .'- false:不开启自动续费。'."\n" + .'默认值:false。', 'type' => 'boolean', 'example' => 'true'], + 'PaymentDurationUnit' => ['title' => '付费时长单位。', 'description' => '付费时长单位。取值范围:'."\n" + .'- Month:月。', 'type' => 'string', 'required' => true, 'example' => 'Month'], + 'PaymentDuration' => ['title' => '付费时长。', 'description' => '付费时长。PaymentDurationUnit取值为Month时,取值:1、2、3、4、5、6、7、8、9、12、24、36、48、60。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '12'], + 'AutoRenewDuration' => ['title' => '自动续费时长。', 'description' => '自动续费时长。当AutoRenew取值为true时生效。当AutoRenewDurationUnit取值为Month时,取值:1、2、3、4、5、6、7、8、9、12、24、36、48、60。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + ], + 'description' => '', ], 'SystemDisk' => [ 'type' => 'object', 'properties' => [ - 'Category' => [ - 'title' => '磁盘类型。', - 'description' => '磁盘类型。取值范围:'."\n" - .' - cloud_efficiency:高效云盘。'."\n" - .' - cloud_ssd:SSD云盘。'."\n" - .' - cloud_essd:ESSD云盘。'."\n" - .' - cloud:普通云盘。', - 'type' => 'string', - 'required' => true, - 'example' => 'cloud_essd', - ], - 'Size' => [ - 'title' => '磁盘大小。', - 'description' => '单位GB。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '60', - ], - 'PerformanceLevel' => [ - 'title' => 'ESSD云盘性能级别。', - 'description' => '创建ESSD云盘作为系统盘使用时,设置云盘的性能等级。取值范围:'."\n" - .'- PL0:单盘最高随机读写IOPS 1万。'."\n" - .'- PL1(默认):单盘最高随机读写IOPS 5万。'."\n" - .'- PL2:单盘最高随机读写IOPS 10万。'."\n" - .'- PL3:单盘最高随机读写IOPS 100万。'."\n" - ."\n" - .'默认值:PL1。', - 'type' => 'string', - 'example' => 'PL1', - ], - 'Count' => [ - 'title' => '每个节点磁盘数量。', - 'description' => '每个节点系统盘数量,默认值为1。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], - 'SystemDiskParam' => [ - 'title' => 'A short description of struct', - 'type' => 'object', - 'properties' => [ - 'Category' => [ - 'title' => 'category', - 'type' => 'string', - ], - 'Size' => [ - 'title' => 'size', - 'type' => 'integer', - 'format' => 'int32', - ], - 'PerformanceLevel' => [ - 'title' => 'performanceLevel', - 'type' => 'string', - ], - ], + 'Category' => ['title' => '磁盘类型。', 'description' => '磁盘类型。取值范围:'."\n" + .' - cloud_efficiency:高效云盘。'."\n" + .' - cloud_ssd:SSD云盘。'."\n" + .' - cloud_essd:ESSD云盘。'."\n" + .' - cloud:普通云盘。', 'type' => 'string', 'required' => true, 'example' => 'cloud_essd'], + 'Size' => ['title' => '磁盘大小。', 'description' => '单位GB。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '60'], + 'PerformanceLevel' => ['title' => 'ESSD云盘性能级别。', 'description' => '创建ESSD云盘作为系统盘使用时,设置云盘的性能等级。取值范围:'."\n" + .'- PL0:单盘最高随机读写IOPS 1万。'."\n" + .'- PL1(默认):单盘最高随机读写IOPS 5万。'."\n" + .'- PL2:单盘最高随机读写IOPS 10万。'."\n" + .'- PL3:单盘最高随机读写IOPS 100万。'."\n" + ."\n" + .'默认值:PL1。', 'type' => 'string', 'example' => 'PL1'], + 'Count' => ['title' => '每个节点磁盘数量。', 'description' => '每个节点系统盘数量,默认值为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + ], + 'description' => '', ], 'Tag' => [ 'description' => '标签', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'title' => '标签键。', - 'description' => '标签键。必填参数,不允许为空字符串。最多支持128个字符,不能以```aliyun```和```acs:```开头,不能包含```http://```或 ```https://```。', - 'type' => 'string', - 'required' => true, - 'example' => 'department', - ], - 'Value' => [ - 'title' => '标签值。', - 'description' => '标签值。非必填,可以为空字符串。最多支持128个字符,不能以```acs:```开头,不能包含```http://```或者```https://```。', - 'type' => 'string', - 'example' => 'IT', - ], - ], - ], - 'TagResource' => [ - 'title' => 'A short description of struct', - 'description' => '标签资源', - 'type' => 'object', - 'properties' => [ - 'TagKey' => [ - 'title' => '标签键', - 'type' => 'string', - ], - 'TagValue' => [ - 'title' => '标签值', - 'type' => 'string', - ], - 'ResourceType' => [ - 'title' => '资源类型', - 'type' => 'string', - ], - 'ResourceId' => [ - 'title' => '资源ID', - 'type' => 'string', - ], + 'Value' => ['title' => '标签值。', 'description' => '标签值。非必填,可以为空字符串。最多支持128个字符,不能以```acs:```开头,不能包含```http://```或者```https://```。', 'type' => 'string', 'example' => 'IT'], + 'Key' => ['title' => '标签键。', 'description' => '标签键。必填参数,不允许为空字符串。最多支持128个字符,不能以```aliyun```和```acs:```开头,不能包含```http://```或 ```https://```。', 'type' => 'string', 'required' => true, 'example' => 'department'], ], ], 'TimeConstraint' => [ 'description' => '时间限制。', 'type' => 'object', 'properties' => [ - 'StartTime' => [ - 'title' => '开始时间。', - 'description' => '开始时间。取值范围:00:00至23:59。', - 'type' => 'string', - 'example' => '06:00', - ], - 'EndTime' => [ - 'title' => '结束时间。', - 'description' => '结束时间。取值范围:00:00至23:59。', - 'type' => 'string', - 'example' => '23:59', - ], + 'EndTime' => ['title' => '结束时间。', 'description' => '结束时间。取值范围:00:00至23:59。', 'type' => 'string', 'example' => '23:59'], + 'StartTime' => ['title' => '开始时间。', 'description' => '开始时间。取值范围:00:00至23:59。', 'type' => 'string', 'example' => '06:00'], ], ], 'TimeRange' => [ 'type' => 'object', 'properties' => [ - 'StartTime' => [ - 'title' => '起始时间。', - 'description' => '起始时间。', - 'type' => 'string', - 'example' => '1676441971000', - ], - 'EndTime' => [ - 'title' => '结束时间。', - 'description' => '结束时间。', - 'type' => 'string', - 'example' => '1676441972000', - ], + 'EndTime' => ['title' => '结束时间。', 'description' => '结束时间。', 'type' => 'string', 'example' => '1676441972000'], + 'StartTime' => ['title' => '起始时间。', 'description' => '起始时间。', 'type' => 'string', 'example' => '1676441971000'], ], ], 'TimeTrigger' => [ 'description' => '时间触发条件。', 'type' => 'object', 'properties' => [ - 'LaunchTime' => [ - 'title' => '启动时间。', - 'description' => '伸缩规则执行时间。必填参数。HH:MM格式字符串。', - 'type' => 'string', - 'required' => true, - 'example' => '17:30', - ], - 'StartTime' => [ - 'title' => '开始时间戳。', - 'description' => '开始时间戳。必填参数。单位为毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1639714800000', - ], - 'EndTime' => [ - 'title' => '结束时间戳。', - 'description' => '结束时间戳。单位为毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1639714800000', - ], - 'LaunchExpirationTime' => [ - 'title' => '定时任务触发操作失败后,在此时间内重试。单位为秒,取值范围:0~3600。', - 'description' => '定时任务触发操作失败后,在此时间内重试。单位为秒,取值范围:0~3600。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '600', - ], - 'RecurrenceType' => [ - 'title' => '指定时间规则的执行类型。', - 'description' => '指定时间规则的执行类型。取值范围:'."\n" - .'- DAILY:按天重复。'."\n" - .'- WEEKLY:按周重复。'."\n" - .'- MONTHLY:按月重复。', - 'type' => 'string', - 'example' => 'WEEKLY', - ], - 'RecurrenceValue' => [ - 'title' => '重复执行定时任务的数值。', - 'description' => '重复执行定时任务的数值。具体取值取决于RecurrenceType设置。'."\n" - .'- RecurrenceType取DAILY时,只能填一个数值,取值范围:1~31。'."\n" - .'- RecurrenceType取WEEKLY时,可以填入多个值,填多个值时使用英文逗号(,)分隔。周一到周天分别用MON,TUE,WED,THU,FRI,SAT,SUN代替。例如,MON,FRI,SUN代表周一、周五、周天。'."\n" - .'- RecurrenceType取MONTHLY时,格式为A-B或者A,B。A和B的取值范围都为1~31,如果使用A-B时B必须大于A。', - 'type' => 'string', - 'example' => 'MON,FRI,SUN', - ], + 'LaunchTime' => ['title' => '启动时间。', 'description' => '伸缩规则执行时间。必填参数。HH:MM格式字符串。', 'type' => 'string', 'required' => true, 'example' => '17:30'], + 'EndTime' => ['title' => '结束时间戳。', 'description' => '结束时间戳。单位为毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1639714800000'], + 'RecurrenceType' => ['title' => '指定时间规则的执行类型。', 'description' => '指定时间规则的执行类型。取值范围:'."\n" + .'- DAILY:按天重复。'."\n" + .'- WEEKLY:按周重复。'."\n" + .'- MONTHLY:按月重复。', 'type' => 'string', 'example' => 'WEEKLY'], + 'StartTime' => ['title' => '开始时间戳。', 'description' => '开始时间戳。必填参数。单位为毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1639714800000'], + 'RecurrenceValue' => ['title' => '重复执行定时任务的数值。', 'description' => '重复执行定时任务的数值。具体取值取决于RecurrenceType设置。'."\n" + .'- RecurrenceType取DAILY时,只能填一个数值,取值范围:1~31。'."\n" + .'- RecurrenceType取WEEKLY时,可以填入多个值,填多个值时使用英文逗号(,)分隔。周一到周天分别用MON,TUE,WED,THU,FRI,SAT,SUN代替。例如,MON,FRI,SUN代表周一、周五、周天。'."\n" + .'- RecurrenceType取MONTHLY时,格式为A-B或者A,B。A和B的取值范围都为1~31,如果使用A-B时B必须大于A。', 'type' => 'string', 'example' => 'MON,FRI,SUN'], + 'LaunchExpirationTime' => ['title' => '定时任务触发操作失败后,在此时间内重试。单位为秒,取值范围:0~3600。', 'description' => '定时任务触发操作失败后,在此时间内重试。单位为秒,取值范围:0~3600。', 'type' => 'integer', 'format' => 'int32', 'example' => '600'], ], ], 'Toleration' => [ 'type' => 'object', 'properties' => [ - 'Key' => [ - 'type' => 'string', - ], - 'Value' => [ - 'type' => 'string', - ], - 'Operator' => [ - 'type' => 'string', - ], - 'Effect' => [ - 'type' => 'string', - ], + 'Operator' => ['type' => 'string'], + 'Value' => ['type' => 'string'], + 'Effect' => ['type' => 'string'], + 'Key' => ['type' => 'string'], ], ], 'TriggerCondition' => [ 'description' => '触发条件。', 'type' => 'object', 'properties' => [ - 'MetricName' => [ - 'title' => '指标名称。', - 'description' => '指标名称。必填参数,不允许为空字符串。您可以在[添加弹性伸缩规则](~~445658~~)中查看指标名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'yarn_resourcemanager_queue_PendingVCores', - ], + 'MetricName' => ['title' => '指标名称。', 'description' => '指标名称。必填参数,不允许为空字符串。您可以在[添加弹性伸缩规则](~~445658~~)中查看指标名称。', 'type' => 'string', 'required' => true, 'example' => 'yarn_resourcemanager_queue_PendingVCores'], + 'ComparisonOperator' => ['title' => '比较符。', 'description' => '比较符。必填参数。取值范围:'."\n" + .'- EQ:等于。'."\n" + .'- NE:不等于。'."\n" + .'- GT:大于。'."\n" + .'- LT:小于。'."\n" + .'- GE:大于等于。'."\n" + .'- LE:小于等于。', 'type' => 'string', 'required' => true, 'example' => 'LT'], + 'Statistics' => ['title' => '统计量名称。', 'description' => '统计量名称。必填参数。取值范围:'."\n" + .'- MAX:最大值。'."\n" + .'- MIN:最小值。'."\n" + .'- AVG:平均值。', 'type' => 'string', 'required' => true, 'example' => 'AVG'], 'Tags' => [ 'title' => '指标Tag。', 'description' => '指标分区标签列表'."\n" @@ -5496,559 +1628,92 @@ ."\n" .'标签:`partition_name: DEFAULT_PARTITION`', 'type' => 'array', - 'items' => [ - 'description' => '标签。', - '$ref' => '#/components/schemas/Tag', - ], - ], - 'Statistics' => [ - 'title' => '统计量名称。', - 'description' => '统计量名称。必填参数。取值范围:'."\n" - .'- MAX:最大值。'."\n" - .'- MIN:最小值。'."\n" - .'- AVG:平均值。', - 'type' => 'string', - 'required' => true, - 'example' => 'AVG', - ], - 'ComparisonOperator' => [ - 'title' => '比较符。', - 'description' => '比较符。必填参数。取值范围:'."\n" - .'- EQ:等于。'."\n" - .'- NE:不等于。'."\n" - .'- GT:大于。'."\n" - .'- LT:小于。'."\n" - .'- GE:大于等于。'."\n" - .'- LE:小于等于。', - 'type' => 'string', - 'required' => true, - 'example' => 'LT', - ], - 'Threshold' => [ - 'title' => '阈值。', - 'description' => '触发阈值。必填参数。', - 'type' => 'number', - 'format' => 'double', - 'required' => true, - 'example' => '12.5', + 'items' => ['description' => '标签。', '$ref' => '#/components/schemas/Tag'], ], + 'Threshold' => ['title' => '阈值。', 'description' => '触发阈值。必填参数。', 'type' => 'number', 'format' => 'double', 'required' => true, 'example' => '12.5'], ], ], 'UpdateApplicationConfig' => [ 'type' => 'object', 'properties' => [ - 'ConfigFileName' => [ - 'title' => '应用配置文件名。', - 'description' => '应用配置文件名。', - 'type' => 'string', - 'example' => 'hdfs-site.xml', - ], - 'ConfigItemKey' => [ - 'title' => '配置项键。', - 'description' => '配置项键。', - 'type' => 'string', - 'example' => 'dfs.namenode.checkpoint.period', - ], - 'ConfigItemValue' => [ - 'title' => '配置项值。', - 'description' => '配置项值。', - 'type' => 'string', - 'example' => '3600s', - ], - 'ConfigDescription' => [ - 'title' => '修改描述。', - 'description' => '修改描述。', - 'type' => 'string', - 'example' => 'dfs.namenode.checkpoint.period', - ], + 'ConfigFileName' => ['title' => '应用配置文件名。', 'description' => '应用配置文件名。', 'type' => 'string', 'example' => 'hdfs-site.xml'], + 'ConfigItemKey' => ['title' => '配置项键。', 'description' => '配置项键。', 'type' => 'string', 'example' => 'dfs.namenode.checkpoint.period'], + 'ConfigDescription' => ['title' => '修改描述。', 'description' => '修改描述。', 'type' => 'string', 'example' => 'dfs.namenode.checkpoint.period'], + 'ConfigItemValue' => ['title' => '配置项值。', 'description' => '配置项值。', 'type' => 'string', 'example' => '3600s'], ], + 'description' => '', ], 'UpdateSpecNodeGroup' => [ 'type' => 'object', 'properties' => [ - 'NodeGroupId' => [ - 'title' => '节点组ID。', - 'description' => '节点组ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ng-869471354ecd****', - ], - 'NewInstanceType' => [ - 'title' => '实例类型。', - 'description' => '新实例类型。', - 'type' => 'string', - 'required' => true, - 'example' => 'ecs.g7.xlarge', - ], - 'ModifyType' => [ - 'type' => 'string', - ], - ], - ], - 'UpdateSpecNodeGroupParam' => [ - 'title' => 'A short description of struct', - 'description' => '升配机器组参数', - 'type' => 'object', - 'properties' => [ - 'NodeGroupId' => [ - 'title' => '机器组ID', - 'type' => 'string', - ], - 'NewInstanceType' => [ - 'title' => '新实例类型', - 'type' => 'string', - ], - ], - ], - 'User' => [ - 'type' => 'object', - 'properties' => [ - 'UserId' => [ - 'title' => '用户ID。', - 'description' => '用户ID。', - 'type' => 'string', - 'required' => true, - 'example' => '1238539****', - ], - 'UserName' => [ - 'title' => '用户名称。', - 'description' => '用户名称。', - 'type' => 'string', - 'required' => true, - 'example' => '王五', - ], - 'Password' => [ - 'title' => '用户密码。', - 'description' => '用户密码。', - 'type' => 'string', - 'required' => true, - 'example' => '12345****', - ], - 'Group' => [ - 'title' => '用户组。', - 'description' => '用户组。', - 'type' => 'string', - 'example' => 'hadoop', - ], - 'UserType' => [ - 'title' => '用户类型。', - 'description' => '用户类型。', - 'type' => 'string', - 'example' => 'LDAP', - ], - ], - ], - 'UserParam' => [ - 'title' => 'A short description of struct', - 'description' => '用户入参', - 'type' => 'object', - 'properties' => [ - 'UserName' => [ - 'title' => '用户名。', - 'type' => 'string', - ], - 'Password' => [ - 'title' => '密码。', - 'type' => 'string', - ], - 'UserId' => [ - 'title' => '用户ID。', - 'type' => 'string', - ], + 'NodeGroupId' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****'], + 'NewInstanceType' => ['title' => '实例类型。', 'description' => '新实例类型。', 'type' => 'string', 'required' => true, 'example' => 'ecs.g7.xlarge'], + 'ModifyType' => ['type' => 'string'], ], ], 'ValueConstraints' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'title' => '值限制类型。', - 'description' => '值限制类型。', - 'type' => 'string', - ], - 'Start' => [ - 'title' => '起始值。', - 'description' => '起始值。', - 'type' => 'integer', - 'format' => 'int32', - ], - 'Step' => [ - 'title' => '步长。', - 'description' => '步长。', - 'type' => 'integer', - 'format' => 'int32', - ], - 'End' => [ - 'title' => '结束值。', - 'description' => '结束值。', - 'type' => 'integer', - 'format' => 'int32', - ], + 'Type' => ['title' => '值限制类型。', 'description' => '值限制类型。', 'type' => 'string'], + 'Start' => ['title' => '起始值。', 'description' => '起始值。', 'type' => 'integer', 'format' => 'int32'], + 'Step' => ['title' => '步长。', 'description' => '步长。', 'type' => 'integer', 'format' => 'int32'], + 'End' => ['title' => '结束值。', 'description' => '结束值。', 'type' => 'integer', 'format' => 'int32'], 'Values' => [ 'title' => '枚举值。', 'description' => '枚举值。', 'type' => 'array', - 'items' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'items' => ['type' => 'integer', 'format' => 'int32'], 'example' => 'null', ], - 'DefaultValue' => [ - 'title' => '默认值。', - 'description' => '默认值。', - 'type' => 'integer', - 'format' => 'int32', - ], + 'DefaultValue' => ['title' => '默认值。', 'description' => '默认值。', 'type' => 'integer', 'format' => 'int32'], ], ], ], ], 'apis' => [ - 'ListReleaseVersions' => [ - 'description' => '查询主版本。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce6STB1S', - ], - ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'IaasType', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => 'IaaS资源类型。', - 'description' => 'IaaS资源类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'ECS', - ], - ], - [ - 'name' => 'ClusterType', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群类型。', - 'description' => '集群类型。', - 'type' => 'string', - 'required' => true, - 'example' => 'DATALAKE', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => '返回数据', - 'description' => '返回数据', - 'type' => 'object', - 'properties' => [ - 'ReleaseVersions' => [ - 'description' => '版本列表。', - 'type' => 'array', - 'items' => [ - 'description' => '版本。', - 'type' => 'object', - 'properties' => [ - 'Series' => [ - 'title' => '版本序列。', - 'description' => '版本序列。', - 'type' => 'string', - 'example' => 'EMR-5.X', - ], - 'ReleaseVersion' => [ - 'title' => 'EMR发行版。', - 'description' => 'EMR发行版。', - 'type' => 'string', - 'example' => 'EMR-5.8.0', - ], - 'IaasType' => [ - 'title' => 'IaaS类型。', - 'description' => 'IaaS类型。', - 'type' => 'string', - 'example' => 'ECS', - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '返回读取到的数据位置。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '本次请求所返回的最大记录条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '本次请求条件下的数据总量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], - ], - 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], - ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], - ], - 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ReleaseVersions\\": [\\n {\\n \\"Series\\": \\"EMR-5.X\\",\\n \\"ReleaseVersion\\": \\"EMR-5.8.0\\",\\n \\"IaasType\\": \\"ECS\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => '查询版本', - 'summary' => '查看EMR发布主板本。', - ], - 'ListInstanceTypes' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateApiTemplate' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce6STB1S', - 'FEATUREemapreduceSNGGYA', - ], + 'operationType' => 'create', + 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '地域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ClusterId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'c-b933c5aac8fe****', - ], - ], - [ - 'name' => 'ZoneId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '可用区ID。', - 'description' => '可用区ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-beijing-h', - ], - ], - [ - 'name' => 'NodeGroupId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '节点组ID。', - 'description' => '节点组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'G-F06C4B47966A****', - ], - ], - [ - 'name' => 'ClusterType', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群类型。', - 'description' => '集群类型。', - 'type' => 'string', - 'required' => true, - 'example' => 'DATALAKE', - ], - ], - [ - 'name' => 'PaymentType', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '付费类型。', - 'description' => '付费类型。', - 'type' => 'string', - 'required' => true, - 'example' => 'PayAsYouGo', - ], - ], - [ - 'name' => 'NodeGroupType', + 'name' => 'TemplateName', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '节点组类型。', - 'description' => '节点组类型。', - 'type' => 'string', - 'required' => true, - 'example' => 'CORE', - ], + 'schema' => ['title' => '集群模板名字。', 'description' => '集群模板名字。', 'type' => 'string', 'required' => true, 'example' => 'DATALAKE template'], ], [ - 'name' => 'IsModification', + 'name' => 'ApiName', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '是否变配。', - 'description' => '是否变配。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['title' => '接口名。', 'description' => 'API名称,目前只支持创建集群API模板。取值范围:CreateCluster。', 'type' => 'string', 'required' => true, 'example' => 'CreateCluster'], ], [ - 'name' => 'ReleaseVersion', + 'name' => 'Content', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => 'EMR发行版。', - 'description' => 'EMR发行版。', - 'type' => 'string', - 'required' => false, - 'example' => '线上已发布版本EMR-5.8.0', - ], + 'schema' => ['title' => '接口参数request内容', 'description' => '集群模版内容。取值:创建集群[CreateCluster](~~454393~~)的入参JSON化后的内容。', 'type' => 'string', 'required' => true, 'example' => 'content'], ], [ - 'name' => 'DeployMode', + 'name' => 'ResourceGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '部署模式。', - 'description' => '部署模式。', - 'type' => 'string', - 'required' => false, - 'example' => 'HA', - ], - ], - [ - 'name' => 'InstanceType', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '机型', - 'description' => '机型', - 'type' => 'string', - 'required' => false, - 'example' => 'ecs.g6.xlarge', - ], + 'schema' => ['title' => '资源组ID。', 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmzabjyop****'], ], ], 'responses' => [ @@ -6058,524 +1723,73 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'InstanceTypes' => [ - 'description' => '机型列表', - 'type' => 'array', - 'items' => [ - 'description' => '机型信息', - '$ref' => '#/components/schemas/InstanceType', - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '返回读取到的数据位置。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '本次请求所返回的最大记录条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '本次请求条件下的数据总量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'TemplateId' => ['description' => '模板ID(建议使用参数TemplateId)。', 'type' => 'string', 'example' => 'at-41b4c6a0fc63****'], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'Success' => ['description' => '模板ID(待废弃)。', 'type' => 'string', 'example' => 'at-41b4c6a0fc63****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InstanceTypes\\": [\\n {\\n \\"InstanceTypeFamily\\": \\"ecs.g6\\",\\n \\"InstanceType\\": \\"ecs.g6.large\\",\\n \\"Status\\": \\"Available\\",\\n \\"StockStatus\\": \\"WithStock\\",\\n \\"Optimized\\": true,\\n \\"CpuCore\\": 4,\\n \\"InstanceCategory\\": \\"Compute-optimized\\",\\n \\"CpuArchitecture\\": \\"X86\\",\\n \\"LocalStorageCapacity\\": 40,\\n \\"LocalStorageAmount\\": 8,\\n \\"ModifyType\\": \\"\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => '获取实例类型列表', - 'summary' => '获取EMR机型列表。', - ], - 'RunCluster' => [ - 'summary' => '创建一个按量付费或者预付费(包年包月)集群。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'high', - 'chargeType' => 'paid', - 'abilityTreeCode' => '246666', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce6STB1S', - ], - ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'ResourceGroupId', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '资源组ID。', - 'description' => '资源组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmzabjyop****', - ], - ], - [ - 'name' => 'PaymentType', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '付费类型。', - 'description' => '付费类型。取值范围:'."\n" - .'- PayAsYouGo:后付费。'."\n" - .'- Subscription:预付费。'."\n" - ."\n" - .'默认值:PayAsYouGo。', - 'type' => 'string', - 'required' => false, - 'example' => 'PayAsYouGo', - ], - ], - [ - 'name' => 'SubscriptionConfig', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'style' => 'json', - 'schema' => [ - 'description' => '预付费配置。当PaymentType取值为Subscription时必填。', - 'required' => false, - '$ref' => '#/components/schemas/SubscriptionConfig', - ], - ], - [ - 'name' => 'ClusterType', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群类型。', - 'description' => '集群类型。取值范围:'."\n" - .'- DATALAKE:新版数据湖。'."\n" - .'- OLAP:数据分析。'."\n" - .'- DATAFLOW:实时数据流。'."\n" - .'- DATASERVING:数据服务。'."\n" - .'- CUSTOM:自定义混部集群。'."\n" - .'- HADOOP:旧版数据湖(不推荐使用,建议使用新版数据湖)。'."\n" - ."\n" - .'如果您在2022年12月19日17点(UTC+8)以后第一次创建EMR集群,不能选择HADOOP、DATA_SCIENCE、PRESTO、ZOOKEEPER集群类型。', - 'type' => 'string', - 'required' => true, - 'example' => 'DATALAKE', - ], - ], - [ - 'name' => 'ReleaseVersion', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => 'EMR发行版。', - 'description' => 'EMR发行版。可通过EMR集群售卖页面查看EMR发行版。', - 'type' => 'string', - 'required' => true, - 'example' => 'EMR-5.16.0', - ], - ], - [ - 'name' => 'ClusterName', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群名称。', - 'description' => '集群名称。长度为1~128个字符,必须以大小字母或中文开头,不能以 http:// 和 https:// 开头。可以包含中文、英文、数字、半角冒号(:)、下划线(_)、半角句号(.)或者短划线(-)。', - 'type' => 'string', - 'required' => true, - 'example' => 'emrtest', - ], - ], - [ - 'name' => 'DeployMode', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '部署模式。', - 'description' => '集群中的应用部署模式。取值范围:'."\n" - .'- NORMAL(默认值):非高可用部署。集群1个MASTER节点。'."\n" - .'- HA:高可用部署。高可用部署要求至少3个MASTER节点。', - 'type' => 'string', - 'required' => false, - 'example' => 'HA', - ], - ], - [ - 'name' => 'SecurityMode', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => 'Kerberos安全模式。', - 'description' => '集群Kerberos安全模式。取值范围:'."\n" - .'- NORMAL(默认值):普通模式,不开启Kerberos模式。'."\n" - .'- KERBEROS:开启Kerberos模式。', - 'type' => 'string', - 'required' => false, - 'example' => 'NORMAL', - ], - ], - [ - 'name' => 'Applications', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'style' => 'json', - 'schema' => [ - 'title' => '应用列表。', - 'description' => '应用列表。数组元素个数N的取值范围:1~100。', - 'type' => 'array', - 'items' => [ - 'description' => '应用。', - 'required' => false, - '$ref' => '#/components/schemas/Application', - ], - 'required' => true, - ], - ], - [ - 'name' => 'ApplicationConfigs', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'style' => 'json', - 'schema' => [ - 'title' => '应用配置。', - 'description' => '应用配置。数组元素个数N的取值范围:1~1000。', - 'type' => 'array', - 'items' => [ - 'description' => '应用配置。', - 'required' => false, - '$ref' => '#/components/schemas/ApplicationConfig', - ], - 'required' => false, - ], - ], - [ - 'name' => 'NodeAttributes', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'style' => 'json', - 'schema' => [ - 'description' => '节点属性。集群所有ECS节点基础属性。', - 'required' => false, - '$ref' => '#/components/schemas/NodeAttributes', - ], - ], - [ - 'name' => 'NodeGroups', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'style' => 'json', - 'schema' => [ - 'title' => '节点组。', - 'description' => '节点组配置数组。数组元素个数N的取值范围:1~100。', - 'type' => 'array', - 'items' => [ - 'description' => '节点组配置。', - 'required' => false, - '$ref' => '#/components/schemas/NodeGroupConfig', - ], - 'required' => true, - ], - ], - [ - 'name' => 'BootstrapScripts', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'style' => 'json', - 'schema' => [ - 'title' => '引导脚本。', - 'description' => '引导脚本数组。数组元素个数N的取值范围:1~10。', - 'type' => 'array', - 'items' => [ - 'description' => '引导脚本。', - 'required' => false, - '$ref' => '#/components/schemas/Script', - ], - 'required' => false, - ], - ], - [ - 'name' => 'Tags', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'style' => 'json', - 'schema' => [ - 'title' => '标签。', - 'description' => '标签。数组元数个数N的取值范围:0~20。', - 'type' => 'array', - 'items' => [ - 'description' => '标签。', - 'required' => false, - '$ref' => '#/components/schemas/Tag', - ], - 'required' => false, - ], - ], - [ - 'name' => 'ClientToken', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '幂等客户端TOKEN。', - 'description' => '幂等客户端TOKEN。同一个ClientToken多次调用的返回结果一致,同一个ClientToken最多只创建一个集群。', - 'type' => 'string', - 'required' => false, - 'example' => 'A7D960FA-6DBA-5E07-8746-A63E3E4D****', - ], - ], - [ - 'name' => 'Description', - 'in' => 'formData', - 'schema' => [ - 'description' => '集群描述。', - 'type' => 'string', - 'required' => false, - 'example' => 'Emr cluster for ETL', - ], - ], - [ - 'name' => 'DeletionProtection', - 'in' => 'formData', - 'schema' => [ - 'description' => '集群是否开启删除保护。取值范围:'."\n" - .'- true:开启删除保护。'."\n" - .'- false:不开启删除保护。'."\n" - ."\n" - .'默认值:false。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - ], - [ - 'name' => 'Promotions', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/Promotion', - ], - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'ClusterId' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'example' => 'c-b933c5aac7f7***', - ], - 'OperationId' => [ - 'title' => '操作ID。', - 'description' => '操作ID。', - 'type' => 'string', - 'example' => 'op-13c37a77c505****', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'title' => '创建API模板', + 'summary' => '创建一个预定义的API模板,该模板包含了API的基本结构、请求方式、URL路径、请求参数和响应格式等信息。', + 'requestParamsDescription' => '参数 Content 值示例(JAVA语言):'."\n" + .'`'."\n" + ."\n" + .'CreateClusterRequest request = new CreateClusterRequest();'."\n" + ."\n" + .'request.setRegionId("cn-beijing");'."\n" + ."\n" + .'request.setClusterType("DATALAKE");'."\n" + ."\n" + .'//创建集群其他参数... '."\n" + ."\n" + .'String content = new Gson().toJson(request);'."\n" + .'`', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:CreateApiTemplate', + 'authLevel' => '', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'OperationDenied', - 'errorMessage' => 'The operation is invalid. %s', - ], - [ - 'errorCode' => 'OutOfStock', - 'errorMessage' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.', - ], - [ - 'errorCode' => 'QuotaExceeded', - 'errorMessage' => 'Request fail due to quota exceed. %s', - ], - [ - 'errorCode' => 'AccountException', - 'errorMessage' => 'Account exception. %s', - ], - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], - ], - 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], - ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], - ], - 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ClusterId\\": \\"c-b933c5aac7f7***\\",\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '创建集群', - 'description' => 'RunCluster 是 CreateCluster 的升级版本,采用 HTTPS POST 请求,支持更长的参数内容。对于复杂参数,如对象和数组,RunCluster 采用 JSON 格式,使其对 CLI 工具更加友好。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TemplateId\\": \\"at-41b4c6a0fc63****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"Success\\": \\"at-41b4c6a0fc63****\\"\\n}","type":"json"}]', ], 'CreateCluster' => [ - 'summary' => '创建一个按量付费或者预付费(包年包月)的集群。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6587,134 +1801,79 @@ 'riskType' => 'high', 'chargeType' => 'paid', 'abilityTreeCode' => '12612', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce6STB1S', - ], + 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '资源组ID。', - 'description' => '资源组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmzabjyop****', - ], + 'schema' => ['title' => '资源组ID。', 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmzabjyop****'], ], [ 'name' => 'PaymentType', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '付费类型。', - 'description' => '付费类型。取值范围:'."\n" - .'- PayAsYouGo:后付费。'."\n" - .'- Subscription:预付费。'."\n" - ."\n" - .'默认值:PayAsYouGo。', - 'type' => 'string', - 'required' => false, - 'example' => 'PayAsYouGo', - ], + 'schema' => ['title' => '付费类型。', 'description' => '付费类型。取值范围:'."\n" + .'- PayAsYouGo:后付费。'."\n" + .'- Subscription:预付费。'."\n" + ."\n" + .'默认值:PayAsYouGo。', 'type' => 'string', 'required' => false, 'example' => 'PayAsYouGo'], ], [ 'name' => 'SubscriptionConfig', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', - 'schema' => [ - 'title' => '预付费配置。', - 'description' => '预付费配置。当PaymentType取值为Subscription时必填。', - 'required' => false, - '$ref' => '#/components/schemas/SubscriptionConfig', - ], + 'schema' => ['title' => '预付费配置。', 'description' => '预付费配置。当PaymentType取值为Subscription时必填。', 'required' => false, '$ref' => '#/components/schemas/SubscriptionConfig'], ], [ 'name' => 'ClusterType', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群类型。', - 'description' => '集群类型。取值范围:'."\n" - .'- DATALAKE:新版数据湖。'."\n" - .'- OLAP:数据分析。'."\n" - .'- DATAFLOW:实时数据流。'."\n" - .'- DATASERVING:数据服务。'."\n" - .'- CUSTOM:自定义混部集群。'."\n" - .'- HADOOP:旧版数据湖(不推荐使用,建议使用新版数据湖)。'."\n" - ."\n" - .'如果您在2022年12月19日17点(UTC+8)以后第一次创建EMR集群,不能选择HADOOP、DATA_SCIENCE、PRESTO、ZOOKEEPER集群类型。', - 'type' => 'string', - 'required' => true, - 'example' => 'DATALAKE', - ], + 'schema' => ['title' => '集群类型。', 'description' => '集群类型。取值范围:'."\n" + .'- DATALAKE:新版数据湖。'."\n" + .'- OLAP:数据分析。'."\n" + .'- DATAFLOW:实时数据流。'."\n" + .'- DATASERVING:数据服务。'."\n" + .'- CUSTOM:自定义混部集群。'."\n" + .'- HADOOP:旧版数据湖(不推荐使用,建议使用新版数据湖)。'."\n" + ."\n" + .'如果您在2022年12月19日17点(UTC+8)以后第一次创建EMR集群,不能选择HADOOP、DATA_SCIENCE、PRESTO、ZOOKEEPER集群类型。', 'type' => 'string', 'required' => true, 'example' => 'DATALAKE'], ], [ 'name' => 'ReleaseVersion', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => 'EMR发行版。', - 'description' => 'EMR发行版。可通过EMR集群售卖页面查看EMR发行版。', - 'type' => 'string', - 'required' => true, - 'example' => 'EMR-5.16.0', - ], + 'schema' => ['title' => 'EMR发行版。', 'description' => 'EMR发行版。可通过EMR集群售卖页面查看EMR发行版。', 'type' => 'string', 'required' => true, 'example' => 'EMR-5.16.0'], ], [ 'name' => 'ClusterName', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群名称。', - 'description' => '集群名称。长度为1~128个字符,必须以大小字母或中文开头,不能以 http:// 和 https:// 开头。可以包含中文、英文、数字、半角冒号(:)、下划线(_)、半角句号(.)或者短划线(-)', - 'type' => 'string', - 'required' => true, - 'example' => 'emrtest', - ], + 'schema' => ['title' => '集群名称。', 'description' => '集群名称。长度为1~128个字符,必须以大小字母或中文开头,不能以 http:// 和 https:// 开头。可以包含中文、英文、数字、半角冒号(:)、下划线(_)、半角句号(.)或者短划线(-)', 'type' => 'string', 'required' => true, 'example' => 'emrtest'], ], [ 'name' => 'DeployMode', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '部署模式。', - 'description' => '集群中的应用部署模式。取值范围:'."\n" - .'- NORMAL(默认值):非高可用部署。集群1个MASTER节点。'."\n" - .'- HA:高可用部署。高可用部署要求至少3个MASTER节点。', - 'type' => 'string', - 'required' => false, - 'example' => 'HA', - ], + 'schema' => ['title' => '部署模式。', 'description' => '集群中的应用部署模式。取值范围:'."\n" + .'- NORMAL(默认值):非高可用部署。集群1个MASTER节点。'."\n" + .'- HA:高可用部署。高可用部署要求至少3个MASTER节点。', 'type' => 'string', 'required' => false, 'example' => 'HA'], ], [ 'name' => 'SecurityMode', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => 'Kerberos安全模式。', - 'description' => '集群Kerberos安全模式。取值范围:'."\n" - .'- NORMAL(默认值):普通模式,不开启Kerberos模式。'."\n" - .'- KERBEROS:开启Kerberos模式。', - 'type' => 'string', - 'required' => false, - 'example' => 'NORMAL', - ], + 'schema' => ['title' => 'Kerberos安全模式。', 'description' => '集群Kerberos安全模式。取值范围:'."\n" + .'- NORMAL(默认值):普通模式,不开启Kerberos模式。'."\n" + .'- KERBEROS:开启Kerberos模式。', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'], ], [ 'name' => 'Applications', @@ -6725,11 +1884,7 @@ 'title' => '应用列表。', 'description' => '应用列表。数组元素个数N的取值范围:1~100。', 'type' => 'array', - 'items' => [ - 'description' => '应用。', - 'required' => false, - '$ref' => '#/components/schemas/Application', - ], + 'items' => ['description' => '应用。', 'required' => false, '$ref' => '#/components/schemas/Application'], 'required' => true, 'maxItems' => 100, ], @@ -6743,11 +1898,7 @@ 'title' => '应用配置。', 'description' => '应用配置。数组元素个数N的取值范围:1~1000。', 'type' => 'array', - 'items' => [ - 'description' => '应用配置。', - 'required' => false, - '$ref' => '#/components/schemas/ApplicationConfig', - ], + 'items' => ['description' => '应用配置。', 'required' => false, '$ref' => '#/components/schemas/ApplicationConfig'], 'required' => false, 'maxItems' => 1000, ], @@ -6757,12 +1908,7 @@ 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', - 'schema' => [ - 'title' => '节点属性。', - 'description' => '节点属性。集群所有ECS节点基础属性。', - 'required' => true, - '$ref' => '#/components/schemas/NodeAttributes', - ], + 'schema' => ['title' => '节点属性。', 'description' => '节点属性。集群所有ECS节点基础属性。', 'required' => true, '$ref' => '#/components/schemas/NodeAttributes'], ], [ 'name' => 'NodeGroups', @@ -6773,11 +1919,7 @@ 'title' => '节点组。', 'description' => '节点组配置数组。数组元素个数N的取值范围:1~100。', 'type' => 'array', - 'items' => [ - 'description' => '节点组配置。', - 'required' => false, - '$ref' => '#/components/schemas/NodeGroupConfig', - ], + 'items' => ['description' => '节点组配置。', 'required' => false, '$ref' => '#/components/schemas/NodeGroupConfig'], 'required' => true, 'example' => 'NORMAL', 'maxItems' => 100, @@ -6792,11 +1934,7 @@ 'title' => '引导脚本。', 'description' => '引导脚本数组。数组元素个数N的取值范围:1~10。', 'type' => 'array', - 'items' => [ - 'description' => '引导脚本。', - 'required' => false, - '$ref' => '#/components/schemas/Script', - ], + 'items' => ['description' => '引导脚本。', 'required' => false, '$ref' => '#/components/schemas/Script'], 'required' => false, 'maxItems' => 10, ], @@ -6810,11 +1948,7 @@ 'title' => '标签。', 'description' => '标签。数组元数个数N的取值范围:0~20。', 'type' => 'array', - 'items' => [ - 'description' => '标签。', - 'required' => false, - '$ref' => '#/components/schemas/Tag', - ], + 'items' => ['description' => '标签。', 'required' => false, '$ref' => '#/components/schemas/Tag'], 'required' => false, 'example' => 'A7D960FA-6DBA-5E07-8746-A63E3E4D****', 'maxItems' => 20, @@ -6824,37 +1958,21 @@ 'name' => 'ClientToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '幂等客户端TOKEN。', - 'description' => '幂等客户端TOKEN。同一个ClientToken多次调用的返回结果一致,同一个ClientToken最多只创建一个集群。', - 'type' => 'string', - 'required' => false, - 'example' => 'A7D960FA-6DBA-5E07-8746-A63E3E4D****', - ], + 'schema' => ['title' => '幂等客户端TOKEN。', 'description' => '幂等客户端TOKEN。同一个ClientToken多次调用的返回结果一致,同一个ClientToken最多只创建一个集群。', 'type' => 'string', 'required' => false, 'example' => 'A7D960FA-6DBA-5E07-8746-A63E3E4D****'], ], [ 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => '集群描述。', - 'type' => 'string', - 'required' => false, - 'example' => 'Emr cluster for ETL', - ], + 'schema' => ['description' => '集群描述。', 'type' => 'string', 'required' => false, 'example' => 'Emr cluster for ETL'], ], [ 'name' => 'DeletionProtection', 'in' => 'query', - 'schema' => [ - 'description' => '集群是否开启删除保护。取值范围:'."\n" - .'- true:开启删除保护。'."\n" - .'- false:不开启删除保护。'."\n" - ."\n" - .'默认值:false。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '集群是否开启删除保护。取值范围:'."\n" + .'- true:开启删除保护。'."\n" + .'- false:不开启删除保护。'."\n" + ."\n" + .'默认值:false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], ], 'responses' => [ @@ -6864,328 +1982,214 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'ClusterId' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'example' => 'c-b933c5aac7f7***', - ], - 'OperationId' => [ - 'title' => '操作ID。', - 'description' => '操作ID。', - 'type' => 'string', - 'example' => 'op-13c37a77c505****', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'ClusterId' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'example' => 'c-b933c5aac7f7***'], + 'OperationId' => ['title' => '操作ID。', 'description' => '操作ID。', 'type' => 'string', 'example' => 'op-13c37a77c505****'], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'OperationDenied', - 'errorMessage' => 'The operation is invalid. %s', - ], - [ - 'errorCode' => 'OutOfStock', - 'errorMessage' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.', - ], - [ - 'errorCode' => 'QuotaExceeded', - 'errorMessage' => 'Request fail due to quota exceed. %s', - ], - [ - 'errorCode' => 'AccountException', - 'errorMessage' => 'Account exception. %s', - ], - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'OperationDenied', 'errorMessage' => 'The operation is invalid. %s', 'description' => '操作被拒绝。'], + ['errorCode' => 'OutOfStock', 'errorMessage' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.', 'description' => '请求的资源库存不足,请尝试其他类型资源,或者其他可用区,或者其他区域。'], + ['errorCode' => 'QuotaExceeded', 'errorMessage' => 'Request fail due to quota exceed. %s', 'description' => '因配额超出导致请求失败。'], + ['errorCode' => 'AccountException', 'errorMessage' => 'Account exception. %s', 'description' => '账号异常。'], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'staticInfo' => [ - 'returnType' => 'asynchronous', - 'callback' => 'Emr::2021-03-20::GetOperation', - 'callbackInterval' => 10000, - 'maxCallbackTimes' => 180, - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ClusterId\\": \\"c-b933c5aac7f7***\\",\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateClusterResponse>\\n <RequestId>B51A4569-34A9-4EE3-B072-4BD054C21384</RequestId>\\n <OperationId>a5fdae32-ba06-4208-944b-53a8c209c9d9</OperationId>\\n <ClusterId>C-DEE18D2E8D890652</ClusterId>\\n</CreateClusterResponse>","errorExample":""}]', + 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'Emr::2021-03-20::GetOperation', 'callbackInterval' => 10000, 'maxCallbackTimes' => 180], 'title' => '创建集群', - ], - 'GetCluster' => [ - 'methods' => [ - 'get', - 'post', + 'summary' => '创建一个按量付费或者预付费(包年包月)的集群。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateCluster'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:CreateCluster', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"ClusterId\\": \\"c-b933c5aac7f7***\\",\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateClusterResponse>\\n <RequestId>B51A4569-34A9-4EE3-B072-4BD054C21384</RequestId>\\n <OperationId>a5fdae32-ba06-4208-944b-53a8c209c9d9</OperationId>\\n <ClusterId>C-DEE18D2E8D890652</ClusterId>\\n</CreateClusterResponse>","errorExample":""}]', + ], + 'CreateNodeGroup' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '13223', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceGZP0FZ', - ], + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREemapreduceSNGGYA'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '地域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'C-E525E04F3914****'], + ], + [ + 'name' => 'NodeGroup', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => ['title' => '节点组信息。', 'description' => '机器组信息。', 'required' => true, '$ref' => '#/components/schemas/NodeGroupConfig'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', - 'description' => '返回数据', + 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'Cluster' => [ - 'description' => '集群详情。', - '$ref' => '#/components/schemas/Cluster', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'NodeGroupId' => ['description' => '机器组ID。', 'type' => 'string', 'example' => 'G-21E39B11837E****'], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Cluster\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzabjyop****\\",\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"ClusterName\\": \\"emrtest\\",\\n \\"ClusterType\\": \\"DATALAKE\\",\\n \\"ClusterState\\": \\"RUNNING\\",\\n \\"StateChangeReason\\": {\\n \\"Code\\": \\"OutOfStock\\",\\n \\"Message\\": \\"The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.\\"\\n },\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"SubscriptionConfig\\": {\\n \\"PaymentDurationUnit\\": \\"Month\\",\\n \\"PaymentDuration\\": 12,\\n \\"AutoPayOrder\\": false,\\n \\"AutoRenew\\": true,\\n \\"AutoRenewDurationUnit\\": \\"Month\\",\\n \\"AutoRenewDuration\\": 12\\n },\\n \\"CreateTime\\": 1592837465784,\\n \\"ReadyTime\\": 1592837465784,\\n \\"EndTime\\": 1592837465784,\\n \\"ExpireTime\\": 1592837465784,\\n \\"ReleaseVersion\\": \\"EMR-5.3.0\\",\\n \\"DeployMode\\": \\"HA\\",\\n \\"SecurityMode\\": \\"NORMAL\\",\\n \\"NodeAttributes\\": {\\n \\"VpcId\\": \\"vpc-bp1tgey2p0ytxmdo5****\\",\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"SecurityGroupId\\": \\"sg-hp3abbae8lb6lmb1****\\",\\n \\"RamRole\\": \\"AliyunECSInstanceForEMRRole\\",\\n \\"KeyPairName\\": \\"emr_login\\",\\n \\"MasterRootPassword\\": \\"Adxefswfd****\\",\\n \\"SystemDiskEncrypted\\": false,\\n \\"SystemDiskKMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\",\\n \\"DataDiskEncrypted\\": false,\\n \\"DataDiskKMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\",\\n \\"DiskEncrypted\\": false,\\n \\"DiskKMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\"\\n },\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"EmrDefaultRole\\": \\"AliyunEMRDefaultRole\\",\\n \\"VpcId\\": \\"\\",\\n \\"LogCollectStrategy\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"DeletionProtection\\": false\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","errorExample":""},{"type":"xml","example":"<GetClusterResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</RequestId>\\n <Cluster>\\n <ClusterId>C-E525E04F3914****</ClusterId>\\n <ClusterName>emr-hadoop-cluster</ClusterName>\\n <ClusterType>HADOOP</ClusterType>\\n <ClusterState>IDEL</ClusterState>\\n <PaymentType>Subscription</PaymentType>\\n <DeleteTime>1592837465784</DeleteTime>\\n <ExpiredTime>1592837465784</ExpiredTime>\\n <NetworkType>vpc</NetworkType>\\n <DeployMode>NORMAL</DeployMode>\\n <SecurityMode>NORMAL</SecurityMode>\\n <MetaStoreType>LOCAL</MetaStoreType>\\n <CreateTime>1592837465784</CreateTime>\\n <RegionId>cn-hangzhou</RegionId>\\n <MainVersion>EMR-3.33.0</MainVersion>\\n <StateChangeReason>手动重启</StateChangeReason>\\n </Cluster>\\n</GetClusterResponse>","errorExample":""}]', - 'title' => '获取集群', - 'summary' => '获取集群详情。', - ], - 'UpdateClusterAttribute' => [ - 'methods' => [ - 'get', - 'post', + 'title' => '创建节点组', + 'summary' => '创建节点组。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateNodeGroup'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:CreateNodeGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"NodeGroupId\\": \\"G-21E39B11837E****\\",\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateNodeGroupResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</RequestId>\\n <NodeGroupId>G-21E39B11837E****</NodeGroupId>\\n</CreateNodeGroupResponse>","errorExample":""}]', + ], + 'CreateScript' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '101707', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceGZP0FZ', - ], + 'operationType' => 'create', + 'abilityTreeCode' => '119860', + 'abilityTreeNodes' => ['FEATUREemapreduceY1BE2N', 'FEATUREemapreduce42QKNE'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'ClusterName', + 'name' => 'ScriptType', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群名称。', - 'description' => '集群名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'emrtest', - ], + 'schema' => ['title' => '集群脚本类型。', 'description' => '脚本类型。取值范围:'."\n" + .' '."\n" + .'- BOOTSTRAP:ECS实例引导脚本。'."\n" + .'- NORMAL:普通脚本。', 'type' => 'string', 'required' => true, 'example' => 'BOOTSTRAP'], ], [ - 'name' => 'Description', + 'name' => 'Scripts', 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => '集群描述。', - 'type' => 'string', - 'required' => false, - 'example' => 'Emr cluster for ETL', + 'title' => '集群脚本列表。', + 'description' => '脚本列表。', + 'type' => 'array', + 'items' => ['description' => '脚本。', 'required' => false, '$ref' => '#/components/schemas/Script'], + 'required' => true, + 'maxItems' => 20, ], ], [ - 'name' => 'DeletionProtection', + 'name' => 'TimeoutSecs', 'in' => 'query', - 'schema' => [ - 'description' => '释放保护。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['title' => '手动执行脚本超时时间,不支持引导脚本设置', 'description' => '手动执行脚本超时时间,不支持引导脚本设置。', 'type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -7195,316 +2199,234 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'ScriptId' => ['description' => '脚本ID。', 'type' => 'string', 'example' => 'cs-d6d6bc841c0d415fb81808bc6d09****'], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'InvalidParameter.ClusterId', 'errorMessage' => 'The specified clusterId is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter.ClusterScript', 'errorMessage' => 'The specified clusterScript is invalid', 'description' => ''], + ['errorCode' => 'InvalidParameter.ClusterScriptType', 'errorMessage' => 'The specified scriptType is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter.ClusterScriptNumberOverLimit', 'errorMessage' => 'The cluster script number has already exceeded max limit [%s]', 'description' => ''], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '更新集群属性', - 'summary' => '更新集群属性。', - ], - 'ListClusters' => [ - 'summary' => '查询EMR集群列表。', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '创建脚本', + 'summary' => '创建引导脚本或者普通集群脚本。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateScript'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:CreateScript', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScriptId\\": \\"cs-d6d6bc841c0d415fb81808bc6d09****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + ], + 'CreateUsers' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '13343', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceGZP0FZ', - ], + 'operationType' => 'create', + 'abilityTreeCode' => '258146', + 'abilityTreeNodes' => ['FEATUREemapreduceUBSEPK'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '地域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - 'enum' => [ - 'cn-qingdao', - 'cn-beijing', - 'cn-zhangjiakou', - 'cn-huhehaote', - 'cn-hangzhou', - 'cn-shanghai', - 'cn-shenzhen', - 'cn-chengdu', - 'cn-hongkong', - 'cn-wulanchabu', - 'cn-heyuan-acdr-1', - 'cn-qingdao-acdr-ut-1', - 'ap-northeast-1', - 'ap-southeast-1', - 'ap-southeast-2', - 'ap-southeast-3', - 'ap-southeast-5', - 'ap-south-1', - 'us-east-1', - 'us-west-1', - 'me-east-1', - 'me-central-1', - 'eu-central-1', - 'eu-west-1', - 'cn-north-2-gov-1', - 'cn-wulanchabu-acdr-1', - 'cn-shanghai-cloudspe', - 'na-south-1', - ], - ], + 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'NextToken', + 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => '标记当前开始读取的位置,置空表示从头开始。', - 'type' => 'string', - 'required' => false, - 'example' => 'eyJlY21OZXh0VG9rZW4iOiIxIiwidGFpaGFvTmV4dFRva2VuIjoiNTYiLCJ0YWloYW9OZXh0VG9rZW5JbnQiOjU2LCJlY21OZXh0VG9rZW5JbnQiOjF9', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'MaxResults', + 'name' => 'Users', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => '一次获取的最大记录数。取值范围:1~100。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', + 'title' => '用户列表。', + 'description' => '用户列表。数组元数个数 N 的取值范围:0~10。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'UserName' => ['title' => '用户名。', 'description' => '用户名。', 'type' => 'string', 'required' => true, 'example' => 'xi'], + 'Password' => ['title' => '用户密码。', 'description' => '用户密码。', 'type' => 'string', 'required' => true, 'example' => '*Ab123'], + ], + 'required' => false, + 'description' => '', + ], + 'required' => true, + 'maxItems' => 20, ], ], - [ - 'name' => 'ClusterName', - 'in' => 'query', - 'allowEmptyValue' => false, + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '集群名称。', - 'description' => '集群名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'emrtest', + 'title' => 'Schema of Response', + 'description' => '返回数据', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'Data' => ['description' => '请求结果,取值如下:true:请求成功。 false:请求失败。', 'type' => 'boolean', 'example' => 'true'], + ], ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], + ], + 404 => [ + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], + ], + 503 => [ + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '批量创建用户', + 'summary' => '批量创建用户', + 'description' => '批量创建用户。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:CreateUsers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"Data\\": true\\n}","type":"json"}]', + ], + 'DecreaseNodes' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ResourceGroupId', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '49020', + 'abilityTreeNodes' => ['FEATUREemapreduceS8IPKA'], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '资源组ID。', - 'description' => '资源组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmzabjyop****', - ], + 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ClusterIds', + 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '集群ID列表。数组元数个数N的取值范围:1~100。', - 'description' => '集群ID列表。数组元素个数N的取值范围:1~100。', - 'type' => 'array', - 'items' => [ - 'description' => '集群ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'c-b933c5aac8fe****', - ], - 'required' => false, - 'example' => 'rg-acfmzabjyop****', - 'maxItems' => 100, - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'ClusterTypes', + 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '集群类型列表。数组元数个数N的取值范围:1~100。', - 'description' => '集群类型列表。数组元素个数N的取值范围:1~100。', - 'type' => 'array', - 'items' => [ - 'description' => '集群类型。取值范围:'."\n" - .'- DATALAKE:新版数据湖。'."\n" - .'- OLAP:数据分析。'."\n" - .'- DATAFLOW:实时数据流。'."\n" - .'- DATASERVING:数据服务。'."\n" - .'- CUSTOM:自定义混部集群。'."\n" - .'- HADOOP:旧版数据湖。', - 'type' => 'string', - 'required' => false, - 'example' => 'DATALAKE', - ], - 'required' => false, - 'example' => '["c-b933c5aac8fe****"]', - 'maxItems' => 100, - ], + 'schema' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****'], ], [ - 'name' => 'ClusterStates', + 'name' => 'DecreaseNodeCount', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '集群状态列表。数组元数个数N的取值范围:1~100。', - 'description' => '集群状态数组。数组元素个数N的取值范围:1~100。', - 'type' => 'array', - 'items' => [ - 'description' => '集群状态。取值范围:'."\n" - .'- STARTING:启动中。'."\n" - .'- START_FAILED:启动失败。'."\n" - .'- BOOTSTRAPPING:引导操作初始化。'."\n" - .'- RUNNING:运行中。'."\n" - .'- TERMINATING:终止中。'."\n" - .'- TERMINATED:已终止。'."\n" - .'- TERMINATED\\_WITH\\_ERRORS:发生异常导致终止'."\n" - .'- TERMINATE_FAILED:终止失败。', - 'type' => 'string', - 'required' => false, - 'example' => 'RUNNING', - ], - 'required' => false, - 'example' => '["HADOOP"]', - 'maxItems' => 100, - ], + 'schema' => ['title' => '缩容节点数量。', 'description' => '缩容节点数量。本次缩容节点数量。取值应小于当前节点组存活节点数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3'], ], [ - 'name' => 'PaymentTypes', + 'name' => 'NodeIds', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'title' => '付费类型列表。数组元数个数N的取值范围:1~100。', - 'description' => '付费类型。数据元素个数N的取值范围:1~2。', + 'title' => '节点ID列表。', + 'description' => '节点ID数组。数组元数个数N的取值范围:1~500。', 'type' => 'array', - 'items' => [ - 'description' => '付费类型。取值范围:'."\n" - .'- PayAsYouGo:后付费。'."\n" - .'- Subscription:预付费。', - 'type' => 'string', - 'required' => false, - 'example' => 'PayAsYouGo', - ], + 'items' => ['description' => '节点ID。', 'type' => 'string', 'required' => false, 'example' => 'i-bp1cudc25w2bfwl5****'], 'required' => false, - 'example' => '["ECS"]', - 'maxItems' => 100, + 'example' => '["i-bp1cudc25w2bfwl5****"]', ], ], [ - 'name' => 'Tags', + 'name' => 'BatchInterval', 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '标签列表。数组元数个数N的取值范围:1~20。', - 'description' => '标签列表。数组元素个数N取值范围:1~20。', - 'type' => 'array', - 'items' => [ - 'description' => '标签。', - 'required' => false, - '$ref' => '#/components/schemas/Tag', - ], - 'required' => false, - 'example' => '["PayAsYouGo"]', - 'maxItems' => 20, - ], + 'schema' => ['title' => '各批次间的冷却时间。', 'description' => '各批次间的冷却时间。', 'type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'BatchSize', + 'in' => 'query', + 'schema' => ['title' => '单批次并发下线台数。', 'description' => '单批次并发下线台数。', 'type' => 'integer', 'format' => 'int32', 'required' => false], ], ], 'responses' => [ @@ -7514,118 +2436,63 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'Clusters' => [ - 'description' => '集群列表。', - 'type' => 'array', - 'items' => [ - 'description' => '集群信息。', - '$ref' => '#/components/schemas/ClusterSummary', - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3896A', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '下页页码。', - 'type' => 'string', - 'example' => 'eyJlY21OZXh0VG9rZW4iOiIxIiwidGFpaGFvTmV4dFRva2VuIjoiNTYiLCJ0YWloYW9OZXh0VG9rZW5JbnQiOjU2LCJlY21OZXh0VG9rZW5JbnQiOjF9', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '分页总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1000', - ], + 'OperationId' => ['title' => '操作ID', 'description' => '操作ID', 'type' => 'string', 'example' => 'op-13c37a77c505****'], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '44430037-E59A-3E66-A2B0-97D155346F22'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'OperationDenied', 'errorMessage' => 'The operation is invalid. %s', 'description' => '操作被拒绝。'], + ['errorCode' => 'ConcurrentModification', 'errorMessage' => 'The request on %s failed due to multiple requests to change this object were submitted simultaneously. Wait a few minutes and try again.', 'description' => '并发操作导致请求失败。'], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Clusters\\": [\\n {\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"ClusterName\\": \\"emrtest\\",\\n \\"ClusterType\\": \\"DATALAKE\\",\\n \\"ClusterState\\": \\"RUNNING\\",\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"CreateTime\\": 1592837465784,\\n \\"ReadyTime\\": 1592837465784,\\n \\"ExpireTime\\": 1592837465784,\\n \\"EndTime\\": 1592837465784,\\n \\"ReleaseVersion\\": \\"EMR-5.8.0\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzabjyop****\\",\\n \\"StateChangeReason\\": {\\n \\"Code\\": \\"OutOfStock\\",\\n \\"Message\\": \\"The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.\\"\\n },\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"EmrDefaultRole\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"DeletionProtection\\": true\\n }\\n ],\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3896A\\",\\n \\"NextToken\\": \\"eyJlY21OZXh0VG9rZW4iOiIxIiwidGFpaGFvTmV4dFRva2VuIjoiNTYiLCJ0YWloYW9OZXh0VG9rZW5JbnQiOjU2LCJlY21OZXh0VG9rZW5JbnQiOjF9\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 1000\\n}","errorExample":""},{"type":"xml","example":"<ListClustersResponse>\\n <Clusters>\\n <ClusterId>C-E525E04F3914****</ClusterId>\\n <ClusterName>emr-hadoop-cluster</ClusterName>\\n <ClusterType>HADOOP</ClusterType>\\n <ClusterState>IDEL</ClusterState>\\n <PaymentType>Subscription</PaymentType>\\n <CreateTime>1592837465784</CreateTime>\\n <DeleteTime>1592837465784</DeleteTime>\\n <ExpiredTime>1592837465784</ExpiredTime>\\n </Clusters>\\n <TotalCount>1000</TotalCount>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</RequestId>\\n <NextToken>2</NextToken>\\n <MaxResults>20</MaxResults>\\n</ListClustersResponse>","errorExample":""}]', - 'title' => '查询集群', - ], - 'DeleteCluster' => [ - 'methods' => [ - 'get', - 'post', + 'title' => '缩容', + 'summary' => '对目标节点组执行缩容操作。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DecreaseNodes'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:DecreaseNodes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"44430037-E59A-3E66-A2B0-97D155346F22\\"\\n}","type":"json"}]', + ], + 'DeleteApiTemplate' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7634,186 +2501,120 @@ 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'delete', - 'abilityTreeCode' => '14474', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceC8NILI', - ], + 'abilityTreeCode' => '189491', + 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ClusterId', + 'name' => 'TemplateId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群模板id。', 'description' => '集群模板ID。', 'type' => 'string', 'required' => true, 'example' => 'at-****'], + ], + [ + 'name' => 'ApiName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '接口名。', 'description' => '接口名。', 'type' => 'string', 'required' => true, 'example' => 'CreateCluster'], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '资源组ID。', 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmzabjyop****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', - 'description' => '返回数据', + 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'OperationId' => [ - 'title' => '操作ID。', - 'description' => '操作ID。', - 'type' => 'string', - 'example' => 'op-13c37a77c505****', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'Success' => ['description' => '调用是否成功:'."\n" + .'- true :调用成功'."\n" + .'- false:调用失败。', 'type' => 'boolean', 'deprecated' => true, 'example' => 'true'], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'OperationDenied', - 'errorMessage' => 'The operation is invalid. %s', - ], - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'staticInfo' => [ - 'returnType' => 'asynchronous', - 'callback' => 'Emr::2021-03-20::GetOperation', - 'callbackInterval' => 10000, - 'maxCallbackTimes' => 60, + 'title' => '删除API模板', + 'summary' => '删除指定的API模板。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'emr:DeleteApiTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteClusterResponse>\\n <requestId>69EBEFC7-9193-1DDA-8E16-9E03779377B5</requestId>\\n <Data>true</Data>\\n</DeleteClusterResponse>","errorExample":""}]', - 'title' => '删除集群', - 'summary' => '删除一个按量付费的集群。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], - 'GetClusterCloneMeta' => [ - 'summary' => '获取EMR集群克隆元数据信息,便于通过 CreateCluster API快速创建集群。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteCluster' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '150379', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce6STB1S', - 'FEATUREemapreduceGZP0FZ', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '14474', + 'abilityTreeNodes' => ['FEATUREemapreduceC8NILI'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '地域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], ], 'responses' => [ @@ -7823,371 +2624,63 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'ClusterCloneMeta' => [ - 'description' => '集群克隆元数据。', - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'title' => '地域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'ResourceGroupId' => [ - 'title' => '资源组ID。', - 'description' => '资源组ID。', - 'type' => 'string', - 'example' => 'rg-acfmzabjyop****', - ], - 'ClusterState' => [ - 'title' => '集群状态。', - 'description' => '集群状态。取值范围:'."\n" - .'- STARTING:启动中。'."\n" - .'- START_FAILED:启动失败。'."\n" - .'- BOOTSTRAPPING:引导操作初始化。'."\n" - .'- RUNNING:运行中。'."\n" - .'- TERMINATING:终止中。'."\n" - .'- TERMINATED:已终止。'."\n" - .'- TERMINATED\\_WITH\\_ERRORS:发生异常导致终止'."\n" - .'- TERMINATE_FAILED:终止失败。', - 'type' => 'string', - 'example' => 'RUNNING', - ], - 'ClusterId' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'example' => 'c-b933c5aac7f7****', - ], - 'ClusterName' => [ - 'title' => '集群名称。', - 'description' => '集群名称。', - 'type' => 'string', - 'example' => 'emrtest', - ], - 'ClusterType' => [ - 'title' => '集群类型。', - 'description' => '集群类型。取值范围:'."\n" - .'- DATALAKE:新版数据湖。'."\n" - .'- OLAP:数据分析。'."\n" - .'- DATAFLOW:实时数据流。'."\n" - .'- DATASERVING:数据服务。'."\n" - .'- CUSTOM:自定义混部集群。'."\n" - .'- HADOOP:旧版数据湖。', - 'type' => 'string', - 'example' => 'DATALAKE', - ], - 'PaymentType' => [ - 'title' => '付费类型。', - 'description' => '付费类型。取值范围:'."\n" - .'- PayAsYouGo:后付费。'."\n" - .'- Subscription:预付费。', - 'type' => 'string', - 'example' => 'PayAsYouGo', - ], - 'SubscriptionConfig' => [ - 'title' => '预付费配置。', - 'description' => '预付费配置。', - '$ref' => '#/components/schemas/SubscriptionConfig', - ], - 'ReleaseVersion' => [ - 'title' => 'EMR发行版。', - 'description' => 'EMR发行版。', - 'type' => 'string', - 'example' => 'EMR-5.6.0', - ], - 'DeployMode' => [ - 'title' => '部署模式。', - 'description' => '集群中的应用部署模式。取值范围:'."\n" - .'- NORMAL:非高可用部署。'."\n" - .'- HA:高可用部署。', - 'type' => 'string', - 'example' => 'HA', - ], - 'SecurityMode' => [ - 'title' => 'Kerberos安全模式。', - 'description' => '集群Kerberos安全模式。取值范围:'."\n" - .'- NORMAL:普通模式,不开启Kerberos模式。'."\n" - .'- KERBEROS:开启Kerberos模式。', - 'type' => 'string', - 'example' => 'NORMAL', - ], - 'NodeAttributes' => [ - 'title' => '节点属性。', - 'description' => '节点属性。', - '$ref' => '#/components/schemas/NodeAttributes', - ], - 'Tags' => [ - 'description' => '集群标签列表。', - 'type' => 'array', - 'items' => [ - 'description' => '标签。', - '$ref' => '#/components/schemas/Tag', - ], - ], - 'EmrDefaultRole' => [ - 'title' => 'EMR服务角色。', - 'description' => 'EMR服务角色。', - 'type' => 'string', - 'example' => 'AliyunEMRDefaultRole', - ], - 'Applications' => [ - 'title' => '集群应用。', - 'description' => '集群应用。', - 'type' => 'array', - 'items' => [ - 'description' => '应用。', - '$ref' => '#/components/schemas/Application', - ], - ], - 'ApplicationConfigs' => [ - 'title' => '创建集群时的服务配置项。', - 'description' => '修改过的应用配置项。', - 'type' => 'array', - 'items' => [ - 'description' => '配置项。', - '$ref' => '#/components/schemas/ApplicationConfig', - ], - ], - 'NodeGroups' => [ - 'description' => '节点组配置数组。数组元素个数N的取值范围:1~100。', - 'type' => 'array', - 'items' => [ - 'description' => '节点组。', - '$ref' => '#/components/schemas/NodeGroup', - ], - ], - 'BootstrapScripts' => [ - 'description' => '引导脚本数组。数组元素个数N的取值范围:1~10。', - 'type' => 'array', - 'items' => [ - 'description' => '引导脚本。', - '$ref' => '#/components/schemas/Script', - ], - ], - 'ExistCloneConfig' => [ - 'description' => 'HADOOP集群是支持克隆创建集群时传入的应用配置。取值范围:'."\n" - .'- False:不支持。'."\n" - .'- True:支持。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'ScalingPolicies' => [ - 'description' => '集群各节点组的弹性伸缩策略。', - 'type' => 'array', - 'items' => [ - 'description' => '弹性伸缩策略。', - 'type' => 'object', - 'properties' => [ - 'NodeGroupId' => [ - 'title' => '节点组ID。', - 'description' => '节点组ID。', - 'type' => 'string', - 'example' => 'ng-869471354ecd****', - ], - 'ClusterId' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'example' => 'c-b933c5aac8fe****', - ], - 'ScalingRules' => [ - 'title' => '伸缩规则列表', - 'description' => '弹性伸缩规则列表。', - 'type' => 'array', - 'items' => [ - 'description' => '弹性伸缩规则。', - 'type' => 'object', - 'properties' => [ - 'RuleName' => [ - 'title' => '弹性伸缩规则名称。', - 'description' => '弹性伸缩规则名称。', - 'type' => 'string', - 'example' => 'scaling-out-memory', - ], - 'TriggerType' => [ - 'title' => '伸缩规则类型。', - 'description' => '伸缩规则类型。必填参数。取值范围:'."\n" - .'- TIME_TRIGGER:按时间伸缩。'."\n" - .'- METRICS_TRIGGER:按负载伸缩。', - 'type' => 'string', - 'example' => 'TIME_TRIGGER', - ], - 'ActivityType' => [ - 'title' => '伸缩类型。', - 'description' => '伸缩活动类型。必填参数。取值范围:'."\n" - .'- SCALE_OUT:扩容。'."\n" - .'- SCALE_IN:缩容。', - 'type' => 'string', - 'example' => 'SCALE_OUT', - ], - 'AdjustmentValue' => [ - 'title' => '调整值。', - 'description' => '调整值。必填参数,需要为正数,代表需要扩容或者缩容的实例数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'TimeTrigger' => [ - 'title' => '按照时间伸缩描述。', - 'description' => '按照时间伸缩描述。', - '$ref' => '#/components/schemas/TimeTrigger', - ], - 'MetricsTrigger' => [ - 'title' => '按照负载伸缩描述。', - 'description' => '按照负载伸缩描述。', - '$ref' => '#/components/schemas/MetricsTrigger', - ], - ], - ], - ], - 'ScalingPolicyId' => [ - 'title' => '伸缩策略ID。', - 'description' => '伸缩策略ID。', - 'type' => 'string', - 'example' => 'asp-asduwe23znl***', - ], - 'Constraints' => [ - 'title' => '最大最小值约束', - 'description' => '节点组的节点数最大最小值约束。', - 'type' => 'object', - 'properties' => [ - 'MaxCapacity' => [ - 'title' => '最大值', - 'description' => '节点组最大节点数。 默认值:2000。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'MinCapacity' => [ - 'title' => '最小值', - 'description' => '节点组最小节点数。 默认值:0。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '50', - ], - 'MaxOnDemandCapacity' => [ - 'title' => '最大按量值。', - 'description' => '最大按量值。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - ], - ], - 'ScalingPolicyType' => [ - 'title' => '弹性策略类型', - 'description' => '弹性策略类型', - 'type' => 'string', - ], - 'NodeGroupName' => [ - 'description' => '节点组名称。', - 'type' => 'string', - 'example' => 'emr-etltask', - ], - ], - ], - ], - 'DeletionProtection' => [ - 'description' => '集群是否开启删除保护。取值范围:'."\n" - .'- true:开启删除保护。'."\n" - .'- false:不开启删除保护。'."\n" - ."\n" - .'默认值:false。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'CollationTimeZone' => [ - 'title' => '弹性伸缩时区', - 'description' => '弹性伸缩时区', - '$ref' => '#/components/schemas/CollationTimeZone', - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'OperationId' => ['title' => '操作ID。', 'description' => '操作ID。', 'type' => 'string', 'example' => 'op-13c37a77c505****'], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'OperationDenied', 'errorMessage' => 'The operation is invalid. %s', 'description' => '操作被拒绝。'], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ClusterCloneMeta\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzabjyop****\\",\\n \\"ClusterState\\": \\"RUNNING\\",\\n \\"ClusterId\\": \\"c-b933c5aac7f7****\\",\\n \\"ClusterName\\": \\"emrtest\\",\\n \\"ClusterType\\": \\"DATALAKE\\",\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"SubscriptionConfig\\": {\\n \\"PaymentDurationUnit\\": \\"Month\\",\\n \\"PaymentDuration\\": 12,\\n \\"AutoPayOrder\\": false,\\n \\"AutoRenew\\": true,\\n \\"AutoRenewDurationUnit\\": \\"Month\\",\\n \\"AutoRenewDuration\\": 12\\n },\\n \\"ReleaseVersion\\": \\"EMR-5.6.0\\",\\n \\"DeployMode\\": \\"HA\\",\\n \\"SecurityMode\\": \\"NORMAL\\",\\n \\"NodeAttributes\\": {\\n \\"VpcId\\": \\"vpc-bp1tgey2p0ytxmdo5****\\",\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"SecurityGroupId\\": \\"sg-hp3abbae8lb6lmb1****\\",\\n \\"RamRole\\": \\"AliyunECSInstanceForEMRRole\\",\\n \\"KeyPairName\\": \\"emr_login\\",\\n \\"MasterRootPassword\\": \\"Adxefswfd****\\",\\n \\"SystemDiskEncrypted\\": false,\\n \\"SystemDiskKMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\",\\n \\"DataDiskEncrypted\\": false,\\n \\"DataDiskKMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\",\\n \\"DiskEncrypted\\": false,\\n \\"DiskKMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\"\\n },\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"EmrDefaultRole\\": \\"AliyunEMRDefaultRole\\",\\n \\"Applications\\": [\\n {\\n \\"ApplicationName\\": \\"HDFS\\",\\n \\"ApplicationVersion\\": \\"2.6.0\\"\\n }\\n ],\\n \\"ApplicationConfigs\\": [\\n {\\n \\"ApplicationName\\": \\"HDFS\\",\\n \\"ConfigFileName\\": \\"hdfs-site.xml\\",\\n \\"ConfigItemKey\\": \\"dfs.namenode.checkpoint.period\\",\\n \\"ConfigItemValue\\": \\"3600s\\",\\n \\"ConfigScope\\": \\"NODE_GROUP\\",\\n \\"NodeGroupName\\": \\"core-1\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\"\\n }\\n ],\\n \\"NodeGroups\\": [\\n {\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupName\\": \\"core-1\\",\\n \\"NodeGroupType\\": \\"CORE\\",\\n \\"RunningNodeCount\\": 3,\\n \\"InstanceTypes\\": [\\n \\"\\"\\n ],\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"DataDisks\\": [\\n {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 80,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 5\\n }\\n ],\\n \\"SystemDisk\\": {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 60,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 1\\n },\\n \\"NodeGroupState\\": \\"CREATED\\",\\n \\"AdditionalSecurityGroupIds\\": [\\n \\"\\"\\n ],\\n \\"WithPublicIp\\": false,\\n \\"VSwitchIds\\": [\\n \\"\\"\\n ],\\n \\"SpotStrategy\\": \\"NoSpot\\",\\n \\"SpotBidPrices\\": [\\n {\\n \\"InstanceType\\": \\"ecs.g7.2xlarge\\",\\n \\"BidPrice\\": 1000\\n }\\n ],\\n \\"StateChangeReason\\": {\\n \\"Code\\": \\"MissingParameter\\",\\n \\"Message\\": \\"The instance type is required.\\"\\n },\\n \\"MinimalNodeCount\\": 0,\\n \\"MaximalNodeCount\\": 200,\\n \\"GracefulShutdown\\": false,\\n \\"SpotInstanceRemedy\\": true,\\n \\"CompensateWithOnDemand\\": true,\\n \\"NodeResizeStrategy\\": \\"PRIORITY\\",\\n \\"CostOptimizedConfig\\": {\\n \\"OnDemandBaseCapacity\\": 80,\\n \\"OnDemandPercentageAboveBaseCapacity\\": 80,\\n \\"SpotInstancePools\\": 2\\n },\\n \\"DeploymentSetStrategy\\": \\"NONE\\",\\n \\"AutoCompensateState\\": true,\\n \\"ExtraAttributes\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"AckConfig\\": {\\n \\"AckInstanceId\\": \\"\\",\\n \\"NodeSelectors\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"Tolerations\\": [\\n {\\n \\"Key\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Operator\\": \\"\\",\\n \\"Effect\\": \\"\\"\\n }\\n ],\\n \\"Namespace\\": \\"\\",\\n \\"RequestCpu\\": 0,\\n \\"RequestMemory\\": 0,\\n \\"LimitCpu\\": 0,\\n \\"LimitMemory\\": 0,\\n \\"DataDiskStorageClass\\": \\"\\",\\n \\"DataDiskSize\\": 0,\\n \\"CustomLabels\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"CustomAnnotations\\": [],\\n \\"MountHostCgroup\\": true,\\n \\"NodeAffinity\\": \\"\\",\\n \\"PodAntiAffinity\\": \\"\\",\\n \\"PodAffinity\\": \\"\\",\\n \\"PreStartCommand\\": [\\n \\"\\"\\n ],\\n \\"Pvcs\\": [\\n {\\n \\"DataDiskStorageClass\\": \\"\\",\\n \\"DataDiskSize\\": 0,\\n \\"Path\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"Volumes\\": [\\n {\\n \\"Name\\": \\"\\",\\n \\"Path\\": \\"\\",\\n \\"Type\\": \\"\\"\\n }\\n ],\\n \\"VolumeMounts\\": [\\n {\\n \\"Name\\": \\"\\",\\n \\"Path\\": \\"\\"\\n }\\n ]\\n },\\n \\"IaaSType\\": \\"\\",\\n \\"PrivatePoolOptions\\": {\\n \\"PrivatePoolIds\\": [\\n \\"\\"\\n ],\\n \\"MatchCriteria\\": \\"Open\\"\\n },\\n \\"Status\\": \\"CREATED\\"\\n }\\n ],\\n \\"BootstrapScripts\\": [\\n {\\n \\"ScriptName\\": \\"脚本名-1\\",\\n \\"ScriptPath\\": \\"oss://bucket1/update_hosts.sh\\",\\n \\"ScriptArgs\\": \\"-host 10.0.10.5 -m 30\\",\\n \\"Priority\\": 1,\\n \\"NodeSelector\\": {\\n \\"NodeSelectType\\": \\"CLUSTER\\",\\n \\"NodeNames\\": [\\n \\"\\"\\n ],\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupIds\\": [\\n \\"ng-869471354ecd****\\"\\n ],\\n \\"NodeGroupTypes\\": [\\n \\"\\"\\n ],\\n \\"NodeGroupName\\": \\"master-1\\",\\n \\"NodeGroupNames\\": [\\n \\"master-1\\"\\n ]\\n },\\n \\"ExecutionMoment\\": \\"BEFORE_INSTALL\\",\\n \\"ExecutionFailStrategy\\": \\"FAILED_CONTINUE\\"\\n }\\n ],\\n \\"ExistCloneConfig\\": true,\\n \\"ScalingPolicies\\": [\\n {\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"ScalingRules\\": [\\n {\\n \\"RuleName\\": \\"scaling-out-memory\\",\\n \\"TriggerType\\": \\"TIME_TRIGGER\\",\\n \\"ActivityType\\": \\"SCALE_OUT\\",\\n \\"AdjustmentValue\\": 100,\\n \\"TimeTrigger\\": {\\n \\"LaunchTime\\": \\"\\",\\n \\"StartTime\\": 1639714800000,\\n \\"EndTime\\": 1639714800000,\\n \\"LaunchExpirationTime\\": 600,\\n \\"RecurrenceType\\": \\"WEEKLY\\",\\n \\"RecurrenceValue\\": \\"MON,FRI,SUN\\"\\n },\\n \\"MetricsTrigger\\": {\\n \\"TimeWindow\\": 30,\\n \\"EvaluationCount\\": 2,\\n \\"CoolDownInterval\\": 300,\\n \\"TimeConstraints\\": [\\n {\\n \\"StartTime\\": \\"06:00:00\\",\\n \\"EndTime\\": \\"23:59:59\\"\\n }\\n ],\\n \\"ConditionLogicOperator\\": \\"Or\\",\\n \\"Conditions\\": [\\n {\\n \\"MetricName\\": \\"yarn_resourcemanager_root_availablememoryusage\\",\\n \\"Tags\\": [],\\n \\"Statistics\\": \\"AVG\\",\\n \\"ComparisonOperator\\": \\"LT\\",\\n \\"Threshold\\": 12.5\\n }\\n ]\\n }\\n }\\n ],\\n \\"ScalingPolicyId\\": \\"asp-asduwe23znl***\\",\\n \\"Constraints\\": {\\n \\"MaxCapacity\\": 200,\\n \\"MinCapacity\\": 50,\\n \\"MaxOnDemandCapacity\\": 200\\n },\\n \\"ScalingPolicyType\\": \\"\\",\\n \\"NodeGroupName\\": \\"emr-etltask\\"\\n }\\n ],\\n \\"DeletionProtection\\": false,\\n \\"CollationTimeZone\\": {\\n \\"TimeZone\\": \\"Asia/Shanghai\\",\\n \\"CurrentTimeOffset\\": \\"UTC+08:00\\"\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '获取集群克隆元数据', - ], - 'UpdateClusterAutoRenew' => [ - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'Emr::2021-03-20::GetOperation', 'callbackInterval' => 10000, 'maxCallbackTimes' => 60], + 'title' => '删除集群', + 'summary' => '删除一个按量付费的集群。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteCluster'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'emr:DeleteCluster', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteClusterResponse>\\n <requestId>69EBEFC7-9193-1DDA-8E16-9E03779377B5</requestId>\\n <Data>true</Data>\\n</DeleteClusterResponse>","errorExample":""}]', + ], + 'DeleteNodeGroup' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8195,294 +2688,128 @@ ], 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '19032', - 'abilityTreeNodes' => [ - 'SPUemapreduceZSGDF4', - ], + 'operationType' => 'delete', + 'abilityTreeNodes' => ['FEATUREemapreduceSNGGYA'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '区域ID。您可以调用[ListRegions](url)查看。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-d6661c71139a****', - ], - ], - [ - 'name' => 'ClusterAutoRenew', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群是否自动续费。', - 'description' => '集群是否开启自动续费。取值范围:'."\n" - ."\n" - .'- true:开启自动续费。'."\n" - ."\n" - .'- false:不开启自动续费。'."\n" - ."\n" - .'默认值:false。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - [ - 'name' => 'ClusterAutoRenewDuration', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群自动续费时长。', - 'description' => '集群自动续费时长。当 ClusterAutoRenew 取值为 true 时生效。'."\n" - .'ClusterAutoRenewDurationUnit取值为 Month 时,取值:1、2、3、4、5、6、7、8、9、12、24、36。ClusterAutoRenewDurationUnit取值为 Year时,取值:1、2、3。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'ClusterAutoRenewDurationUnit', + 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群自动续费时长单位。', - 'description' => '集群续费时长单位。取值范围:'."\n" - ."\n" - .'- Month:月。'."\n" - ."\n" - .'- Year:年。'."\n" - ."\n" - .'默认值:Month。', - 'type' => 'string', - 'required' => false, - 'example' => 'Monthly', - ], + 'schema' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****'], ], [ - 'name' => 'RenewAllInstances', + 'name' => 'Description', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '续费所有ECS实例。', - 'description' => '是否对集群中所有ECS实例配置自动续费。取值范围:'."\n" - ."\n" - .'- true:对集群中所有ECS实例配置自动续费,默认配置自动续费1个月。'."\n" - ."\n" - .'- false:不对集群中所有ECS实例配置自动续费。可在AutoRenewInstances中指定要配置自动续费的ECS实例。'."\n" - ."\n" - .'默认值:false。', - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'AutoRenewInstances', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '自动续费ECS实例列表。', - 'description' => '自动续费ECS实例列表。RenewAllInstances不为true时生效。', - 'type' => 'array', - 'items' => [ - 'description' => '自动续费的ECS实例。', - 'required' => false, - '$ref' => '#/components/schemas/AutoRenewInstance', - ], - 'required' => false, - 'maxItems' => 5000, - ], + 'schema' => ['title' => '描述备注。', 'description' => '描述备注。', 'type' => 'string', 'required' => false, 'example' => '机器组不再需要'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', - 'description' => '返回数据。', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '成功。', - 'type' => 'boolean', - 'deprecated' => true, - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3896A', - ], + 'Success' => ['description' => '调用释放机器组接口的操作结果。取值为布尔值:'."\n" + ."\n" + .'- true:操作成功'."\n" + .'- false:操作失败', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '64EBE3F5-0498-1578-BEC0-6ACE364E912D'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'OperationDenied', 'errorMessage' => 'The operation is invalid. %s', 'description' => '操作被拒绝。'], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3896A\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateClusterAutoRenewResponse>\\n <requestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</requestId>\\n <OperationId>64bedf6d-96e3-4780-95a0-4ad376ad****</OperationId>\\n</UpdateClusterAutoRenewResponse>","errorExample":""}]', - 'title' => '修改集群的自动续费属性', - 'summary' => '为您的EMR集群及其下ECS实例修改自动续费的属性,即配置自动续费的开启/关闭。', - 'description' => '请确保在使用该接口前,已充分了解E-MapReduce产品的收费方式和[价格](https://www.aliyun.com/price/product?spm=openapi-amp.newDocPublishment.0.0.d54d281ftXTbvg#/emapreduce/detail/emrpre)。注意:自动续费不等于立即续费,若您的实例已经到期或将于明天到期,请先手动续费。', - ], - 'CreateApiTemplate' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => '删除节点组', + 'summary' => '删除已创建的集群节点组。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"64EBE3F5-0498-1578-BEC0-6ACE364E912D\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteNodeGroupResponse>\\n <RequestId>64EBE3F5-0498-1578-BEC0-6ACE364E912D</RequestId>\\n <Success>true</Success>\\n</DeleteNodeGroupResponse>","errorExample":""}]', + ], + 'DeleteScript' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], + [ + 'APP' => [], + ], ], 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce6STB1S', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '119859', + 'abilityTreeNodes' => ['FEATUREemapreduceY1BE2N', 'FEATUREemapreduce42QKNE'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '地域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'TemplateName', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群模板名字。', - 'description' => '集群模板名字。', - 'type' => 'string', - 'required' => true, - 'example' => 'DATALAKE模板', - ], - ], - [ - 'name' => 'ApiName', + 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '接口名。', - 'description' => 'API名称,目前只支持创建集群API模板。取值范围:CreateCluster。', - 'type' => 'string', - 'required' => true, - 'example' => 'CreateCluster', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'Content', + 'name' => 'ScriptType', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '接口参数request内容', - 'description' => '集群模版内容。取值:创建集群[CreateCluster](~~454393~~)的入参JSON化后的内容。', - 'type' => 'string', - 'required' => true, - 'example' => 'content', - ], + 'schema' => ['title' => '集群脚本类型。', 'description' => '脚本类型。取值范围:'."\n" + ."\n" + .'- BOOTSTRAP:ECS实例引导脚本。'."\n" + .'- NORMAL:普通脚本。', 'type' => 'string', 'required' => true, 'example' => 'BOOTSTRAP'], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'ScriptId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '资源组ID。', - 'description' => '资源组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmzabjyop****', - ], + 'schema' => ['title' => '脚本ID。', 'description' => '脚本ID。', 'type' => 'string', 'required' => true, 'example' => 'cs-da7476a7679a4d4c9cede62ebe09****'], ], ], 'responses' => [ @@ -8492,115 +2819,60 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'TemplateId' => [ - 'description' => '模板ID(建议使用参数TemplateId)。', - 'type' => 'string', - 'example' => 'at-41b4c6a0fc63****', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'Success' => [ - 'description' => '模板ID(待废弃)。', - 'type' => 'string', - 'example' => 'at-41b4c6a0fc63****', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TemplateId\\": \\"at-41b4c6a0fc63****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"Success\\": \\"at-41b4c6a0fc63****\\"\\n}","type":"json"}]', - 'title' => '创建API模板', - 'summary' => '创建一个预定义的API模板,该模板包含了API的基本结构、请求方式、URL路径、请求参数和响应格式等信息。', - 'requestParamsDescription' => '参数 Content 值示例(JAVA语言):'."\n" - .'`'."\n" - ."\n" - .'CreateClusterRequest request = new CreateClusterRequest();'."\n" - ."\n" - .'request.setRegionId("cn-beijing");'."\n" - ."\n" - .'request.setClusterType("DATALAKE");'."\n" - ."\n" - .'//创建集群其他参数... '."\n" - ."\n" - .'String content = new Gson().toJson(request);'."\n" - .'`', - ], - 'UpdateApiTemplate' => [ - 'description' => '修改集群模板', - 'methods' => [ - 'get', - 'post', + 'title' => '删除脚本', + 'summary' => '删除引导脚本或者普通脚本。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteScript'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'emr:DeleteScript', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + ], + 'DeleteUsers' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -8608,313 +2880,186 @@ ], 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce6STB1S', - ], + 'operationType' => 'delete', + 'abilityTreeCode' => '258145', + 'abilityTreeNodes' => ['FEATUREemapreduce3NR9KZ'], ], 'parameters' => [ [ - 'name' => 'RegionId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'TemplateName', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群模板名字。', - 'description' => '集群模板名字。', - 'type' => 'string', - 'required' => true, - 'example' => 'DATALAKE模板', - ], - ], - [ - 'name' => 'ApiName', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '接口名。', - 'description' => 'API名称,目前只支持创建集群API模板。取值范围:CreateCluster。', - 'type' => 'string', - 'required' => true, - 'example' => 'CreateCluster', - ], - ], - [ - 'name' => 'Content', - 'in' => 'query', + 'name' => 'ClusterId', + 'in' => 'formData', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '接口参数request内容', - 'description' => '集群模版内容。取值:创建集群[CreateCluster](~~454393~~)的入参JSON化后的内容。', - 'type' => 'string', - 'required' => true, - 'example' => 'content', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'ResourceGroupId', - 'in' => 'query', + 'name' => 'UserNames', + 'in' => 'formData', 'allowEmptyValue' => false, + 'style' => 'json', 'schema' => [ - 'title' => '资源组ID。', - 'description' => '资源组ID。', - 'type' => 'string', + 'description' => '用户名称列表,不得为空。数组元数个数 N 的取值范围:1~10。', + 'type' => 'array', + 'items' => ['description' => '用户名称', 'type' => 'string', 'required' => false, 'example' => 'xi'], 'required' => false, - 'example' => 'rg-acfmzabjyop****', ], ], [ - 'name' => 'TemplateId', + 'name' => 'RegionId', 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群模板id。', - 'description' => '集群模板ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'AT-****', - ], + 'schema' => ['description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => '返回数据', + 'title' => 'Schema of Response', + 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '请求结果,取值如下:true:请求成功。 false:请求失败。', - 'type' => 'boolean', - 'deprecated' => true, - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => ' '."\n" + .'DD6B1B2A-5837-5237-ABE4-FF0C8944****'."\n"], + 'Data' => ['description' => '请求结果,取值如下:true:请求成功。 false:请求失败。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '批量删除用户', + 'summary' => '批量删除用户。', + 'description' => '批量删除用户。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'emr:DeleteUsers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'Cluster', 'arn' => 'acs:emr:{#regionId}:{#accountId}:cluster/{#Clusterld}'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '更新API模板', - 'summary' => '更新API模板。', - 'requestParamsDescription' => '参数 Content 值示例(JAVA语言):'."\n" - .'`'."\n" - ."\n" - .'CreateClusterRequest request = new CreateClusterRequest();'."\n" - ."\n" - .'request.setRegionId("cn-beijing");'."\n" - ."\n" - .'request.setClusterType("DATALAKE");'."\n" - ."\n" - .'//创建集群其他参数... '."\n" - ."\n" - .'String content = new Gson().toJson(request);'."\n" - .'`', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"\\\\t\\\\nDD6B1B2A-5837-5237-ABE4-FF0C8944****\\\\n\\",\\n \\"Data\\": true\\n}","type":"json"}]', ], - 'ListApiTemplates' => [ - 'summary' => '查看API模板列表。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ExportApplicationConfigs' => [ + 'summary' => '导出集群指定服务配置', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', - 'abilityTreeCode' => '189428', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceU64T1A', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREemapreduce66Y5VC'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'NextToken', + 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => '标记当前开始读取的位置。', - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'MaxResults', + 'name' => 'ApplicationConfigFiles', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => '一次获取的最大记录数。', - 'type' => 'integer', - 'format' => 'int32', + 'title' => '导出应用配置。', + 'description' => '导出应用配置列表。', + 'type' => 'array', + 'items' => ['description' => '导出应用配置。', 'required' => false, '$ref' => '#/components/schemas/ApplicationConfigFile'], 'required' => false, - 'example' => '20', ], ], [ - 'name' => 'TemplateId', + 'name' => 'FileFormat', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ - 'title' => '集群模板id。', - 'description' => '集群模板ID。', + 'title' => '导出应用配置的文件格式。', + 'description' => '导出应用配置的文件格式。取值范围:'."\n" + .'- JSON'."\n" + .'- XML', 'type' => 'string', 'required' => false, - 'example' => 'at-41b4c6a0fc63****', + 'enumValueTitles' => ['XML' => 'XML', 'JSON' => 'JSON'], + 'example' => 'XML', ], ], [ - 'name' => 'TemplateIds', + 'name' => 'ExportMode', 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', 'schema' => [ - 'title' => '集群模板id列表。', - 'description' => 'API模板ID列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'API模板ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'at-41b4c6a0fc63****', - ], + 'description' => '服务配置导出模式。取值范围:'."\n" + .'- MODIFICATION'."\n" + .'- ALL', + 'type' => 'string', 'required' => false, - 'example' => '["AT-****"]', + 'example' => 'MODIFICATION', + 'default' => 'ALL', + 'enum' => ['MODIFICATION', 'ALL'], ], ], [ - 'name' => 'ApiName', + 'name' => 'ConfigScope', 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '接口名。', - 'description' => '接口名。', - 'type' => 'string', - 'required' => true, - 'example' => 'CreateCluster', - ], + 'schema' => ['type' => 'string'], ], [ - 'name' => 'TemplateName', + 'name' => 'NodeGroupIds', 'in' => 'query', - 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '集群模板名字。', - 'description' => '集群模板名字。', - 'type' => 'string', - 'required' => false, - 'example' => 'DATALAKE模板', + 'type' => 'array', + 'items' => ['type' => 'string'], ], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'NodeIds', 'in' => 'query', - 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '资源组ID。', - 'description' => '资源组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmzabjyop****', + 'type' => 'array', + 'items' => ['type' => 'string'], ], ], ], @@ -8922,123 +3067,75 @@ 200 => [ 'schema' => [ 'title' => '返回数据', - 'description' => '返回数据。', + 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'ApiTemplates' => [ - 'description' => 'API模板数组。', + 'ApplicationConfigs' => [ + 'description' => '导出的应用配置列表。', 'type' => 'array', 'items' => [ - 'description' => 'API模板详情。', - '$ref' => '#/components/schemas/ApiTemplate', + 'description' => '导出的应用配置。', + 'type' => 'object', + 'properties' => [ + 'ApplicationName' => ['title' => '应用名称。', 'description' => '应用名称。', 'type' => 'string', 'example' => 'YARN'], + 'ConfigFileName' => ['title' => '文件名称。', 'description' => '文件名称。', 'type' => 'string', 'example' => 'yarn-site.xml'], + 'Content' => ['title' => '文件内容,base64加密。', 'description' => '文件内容,base64加密。', 'type' => 'string', 'example' => 'export key=value'], + ], ], - 'deprecated' => true, - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '返回读取到的数据位置。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '本次请求所返回的最大记录条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '本次请求条件下的数据总量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '导出服务配置', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ExportApplicationConfigs'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ExportApplicationConfigs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ApiTemplates\\": [\\n {\\n \\"Id\\": 1,\\n \\"GmtCreate\\": 0,\\n \\"CreateTime\\": 0,\\n \\"GmtModified\\": 0,\\n \\"UpdateTime\\": 0,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"UserId\\": \\"150***\\",\\n \\"OperatorId\\": \\"150***\\",\\n \\"TemplateId\\": \\"AT-Af***\\",\\n \\"TemplateName\\": \\"AT-Af***\\",\\n \\"ApiName\\": \\"CreateCluster\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzabjyop****\\",\\n \\"Status\\": \\"READY\\",\\n \\"Content\\": \\"\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => '查看API模板列表', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ApplicationConfigs\\": [\\n {\\n \\"ApplicationName\\": \\"YARN\\",\\n \\"ConfigFileName\\": \\"yarn-site.xml\\",\\n \\"Content\\": \\"export key=value\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], 'GetApiTemplate' => [ - 'summary' => '获取特定API模板的详细配置信息。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9048,34 +3145,20 @@ 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '189863', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceU64T1A', - ], + 'abilityTreeNodes' => ['FEATUREemapreduceU64T1A'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'TemplateId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群模板id。', - 'description' => '集群模板ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'at-41b4c6a0fc63****', - ], + 'schema' => ['title' => '集群模板id。', 'description' => '集群模板ID。', 'type' => 'string', 'required' => true, 'example' => 'at-41b4c6a0fc63****'], ], ], 'responses' => [ @@ -9085,156 +3168,88 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'API模板内容。', - 'deprecated' => true, - '$ref' => '#/components/schemas/ApiTemplate', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'Data' => ['description' => 'API模板内容。', 'deprecated' => true, '$ref' => '#/components/schemas/ApiTemplate'], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Id\\": 1,\\n \\"GmtCreate\\": 0,\\n \\"CreateTime\\": 0,\\n \\"GmtModified\\": 0,\\n \\"UpdateTime\\": 0,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"UserId\\": \\"150***\\",\\n \\"OperatorId\\": \\"150***\\",\\n \\"TemplateId\\": \\"AT-Af***\\",\\n \\"TemplateName\\": \\"AT-Af***\\",\\n \\"ApiName\\": \\"CreateCluster\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzabjyop****\\",\\n \\"Status\\": \\"READY\\",\\n \\"Content\\": \\"\\"\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', 'title' => '查看API模板内容', - ], - 'DeleteApiTemplate' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'summary' => '获取特定API模板的详细配置信息。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetApiTemplate', + 'authLevel' => '', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Status\\": \\"READY\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzabjyop****\\",\\n \\"ApiName\\": \\"CreateCluster\\",\\n \\"Content\\": \\"content\\\\n\\",\\n \\"TemplateName\\": \\"datalakeTest1\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"TemplateId\\": \\"AT-Af***\\"\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + ], + 'GetApplication' => [ + 'description' => '查询应用详情。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '189491', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce6STB1S', - ], + 'operationType' => 'get', + 'abilityTreeNodes' => ['FEATUREemapreduceU3PP4U'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'TemplateId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群模板id。', - 'description' => '集群模板ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'at-****', - ], + 'schema' => ['title' => '地域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ApiName', + 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '接口名。', - 'description' => '接口名。', - 'type' => 'string', - 'required' => true, - 'example' => 'CreateCluster', - ], + 'schema' => ['title' => '集群ID。', 'description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => 'c-e6a9d46e92675****'], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'ApplicationName', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '资源组ID。', - 'description' => '资源组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmzabjyop****', - ], + 'schema' => ['title' => '应用名称。', 'description' => '应用名称。', 'type' => 'string', 'required' => true, 'example' => 'HDFS'], ], ], 'responses' => [ @@ -9244,160 +3259,149 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '调用是否成功:'."\n" - .'- true :调用成功'."\n" - .'- false:调用失败。', - 'type' => 'boolean', - 'deprecated' => true, - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + 'Application' => [ + 'description' => '应用。', + 'type' => 'object', + 'properties' => [ + 'ApplicationName' => ['title' => '应用名称。', 'description' => '应用名称。', 'type' => 'string', 'example' => 'HDFS'], + 'ApplicationVersion' => ['title' => '应用版本。', 'description' => '应用版本。', 'type' => 'string', 'example' => '2.8.1'], + 'CommunityVersion' => ['title' => '社区版本。', 'description' => '社区版本。', 'type' => 'string', 'example' => '2.8.1'], + 'Actions' => [ + 'title' => '操作列表。', + 'description' => '应用支持的动作列表。', + 'type' => 'array', + 'items' => [ + 'description' => '动作。', + 'type' => 'object', + 'properties' => [ + 'RunActionScope' => ['title' => '执行范围。', 'description' => '执行范围。取值范围:'."\n" + ."\n" + .'- APPLICATION:应用范围。'."\n" + .'- COMPONENT:组件范围。'."\n" + .'- COMPONENT_INSTANCE:组件实例范围。', 'type' => 'string', 'example' => 'COMPONENT_INSTANCE'], + 'ComponentName' => ['title' => '组件名称。', 'description' => '组件名称。', 'type' => 'string', 'example' => 'DataNode'], + 'ActionName' => ['title' => '操作名称。', 'description' => '动作名称。', 'type' => 'string', 'example' => 'decommission'], + 'Description' => ['title' => '操作描述。', 'description' => '动作描述。', 'type' => 'string', 'example' => 'Description'], + 'Command' => ['title' => '命令。', 'description' => '动作命令。', 'type' => 'string', 'example' => 'decommission'], + 'ActionParams' => [ + 'title' => '操作参数。', + 'description' => '动作参数列表。', + 'type' => 'array', + 'items' => [ + 'description' => '动作参数。', + 'type' => 'object', + 'properties' => [ + 'Key' => ['title' => '动作参数KEY。', 'description' => '参数名称。', 'type' => 'string', 'example' => 'timeout'], + 'ValueAttribute' => [ + 'title' => '动作参数属性。', + 'description' => '参数值属性。', + 'type' => 'object', + 'properties' => [ + 'ValueType' => ['title' => '属性值类型。', 'description' => '值类型。', 'type' => 'string', 'example' => 'int'], + 'ValueMaximum' => ['title' => '最大值。', 'description' => '值最大范围。', 'type' => 'string', 'example' => '100'], + 'ValueMinimum' => ['title' => '最小值。', 'description' => '值最小范围。', 'type' => 'string', 'example' => '1'], + 'ValueUnit' => ['title' => '值单位。', 'description' => '值单位。', 'type' => 'string', 'example' => 'Second'], + 'ValueIncrementStep' => ['title' => '值步长。', 'description' => '值增量大小。', 'type' => 'string', 'example' => '1'], + 'Description' => ['title' => '值表述。', 'description' => '值表述。', 'type' => 'string', 'example' => 'Set timeout duration'], + ], + ], + 'Description' => ['title' => '动作参数描述。', 'description' => '动作描述。', 'type' => 'string', 'example' => 'Decommission action'], + ], + ], + ], + ], + ], + ], + 'ApplicationState' => ['title' => '应用操作状态。', 'description' => '应用操作状态。', 'type' => 'string', 'example' => 'RUNNING'], + ], ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'InvokeEcmError', 'errorMessage' => 'An error occurred while invoking ECM service.', 'description' => ''], + ['errorCode' => 'NotFound.Cluster', 'errorMessage' => 'The cluster is not found.', 'description' => ''], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '删除API模板', - 'summary' => '删除指定的API模板。', - ], - 'RunApiTemplate' => [ - 'methods' => [ - 'get', - 'post', + 'title' => '获取应用详情', + 'summary' => '获取应用详情。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetApplication'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetApplication', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Application\\": {\\n \\"ApplicationName\\": \\"HDFS\\",\\n \\"ApplicationVersion\\": \\"2.8.1\\",\\n \\"CommunityVersion\\": \\"2.8.1\\",\\n \\"Actions\\": [\\n {\\n \\"RunActionScope\\": \\"COMPONENT_INSTANCE\\",\\n \\"ComponentName\\": \\"DataNode\\",\\n \\"ActionName\\": \\"decommission\\",\\n \\"Description\\": \\"Description\\",\\n \\"Command\\": \\"decommission\\",\\n \\"ActionParams\\": [\\n {\\n \\"Key\\": \\"timeout\\",\\n \\"ValueAttribute\\": {\\n \\"ValueType\\": \\"int\\",\\n \\"ValueMaximum\\": \\"100\\",\\n \\"ValueMinimum\\": \\"1\\",\\n \\"ValueUnit\\": \\"Second\\",\\n \\"ValueIncrementStep\\": \\"1\\",\\n \\"Description\\": \\"Set timeout duration\\"\\n },\\n \\"Description\\": \\"Decommission action\\"\\n }\\n ]\\n }\\n ],\\n \\"ApplicationState\\": \\"RUNNING\\"\\n },\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","errorExample":""},{"type":"xml","example":"<GetApplicationResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</RequestId>\\n <Application>\\n <ApplicationName>KAFKA</ApplicationName>\\n <ApplicationVersion>2.8.1</ApplicationVersion>\\n <Actions>\\n <ComponentName>server</ComponentName>\\n <ActionName>innode_disks_balance</ActionName>\\n <ActionParams>\\n <Key>in-node-disks-balance-threshold</Key>\\n <ValueAttribute>\\n <ValueType>int</ValueType>\\n <ValueMaximum>111</ValueMaximum>\\n <ValueMinimum>111</ValueMinimum>\\n <ValueUnit>null</ValueUnit>\\n <ValueIncrementStep>1</ValueIncrementStep>\\n </ValueAttribute>\\n <Description>description of in-node-disks-balance-threshold key</Description>\\n </ActionParams>\\n </Actions>\\n </Application>\\n</GetApplicationResponse>","errorExample":""}]', + ], + 'GetAutoScalingActivity' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '189472', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce6STB1S', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '132561', + 'abilityTreeNodes' => ['FEATUREemapreduce7I2Y7W'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '地域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'TemplateId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群模板id。', - 'description' => '集群模板ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'AT-****', - ], - ], - [ - 'name' => 'ApiName', + 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '接口名。', - 'description' => '接口名。', - 'type' => 'string', - 'required' => true, - 'example' => 'CreateCluster', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'ClientToken', + 'name' => 'ScalingActivityId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '幂等客户端TOKEN。', - 'description' => '幂等客户端TOKEN。', - 'type' => 'string', - 'required' => false, - 'example' => 'A7D960FA-6DBA-5E07-8746-A63E3E4D****', - ], + 'schema' => ['title' => '伸缩活动ID。', 'description' => '伸缩活动ID。', 'type' => 'string', 'required' => true, 'example' => 'asa-36373b084d6b4b13aa50f4129a9e****'], ], ], 'responses' => [ @@ -9407,247 +3411,229 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '请求返回内容。', - 'type' => 'string', - 'example' => '{\\"clusterId\\":\\"c-b7be171f1928****\\",\\"operationId\\":\\"op-61126efe629d****\\"}', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + 'ScalingActivity' => [ + 'description' => '伸缩活动信息。', + 'type' => 'object', + 'properties' => [ + 'ActivityId' => ['title' => '伸缩活动ID。', 'description' => '伸缩活动ID。', 'type' => 'string', 'example' => 'asa-36373b084d6b4b13aa50f4129a9e****'], + 'RuleName' => ['title' => '伸缩规则名称。', 'description' => '伸缩规则名称。', 'type' => 'string', 'example' => 'scaling-out-memory'], + 'ActivityType' => ['title' => '伸缩活动类型。', 'description' => '伸缩活动类型。取值范围:'."\n" + .'- SCALE_OUT:扩容。'."\n" + .'- SCALE_IN:缩容。', 'type' => 'string', 'example' => 'SCALE_OUT'], + 'ClusterId' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'example' => 'c-b933c5aac8fe****'], + 'NodeGroupId' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'example' => 'ng-869471354ecd****'], + 'NodeGroupName' => ['title' => '节点组名称。', 'description' => '节点组名称。', 'type' => 'string', 'example' => 'task-01'], + 'StartTime' => ['title' => '伸缩启动时间。', 'description' => '伸缩启动时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1639714634819'], + 'EndTime' => ['title' => '伸缩结束时间。', 'description' => '伸缩结束时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1639715634819'], + 'ActivityState' => ['title' => '伸缩活动状态。', 'description' => '伸缩活动状态。取值范围:'."\n" + .'- REJECTED:拒绝。'."\n" + .'- SUCCESSFUL:成功。'."\n" + .'- FAILED:失败。'."\n" + .'- IN_PROGRESS:进行中。', 'type' => 'string', 'example' => 'IN_PROGRESS'], + 'ExpectNum' => ['title' => '本次扩缩数量。', 'description' => '本次扩缩数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'OperationId' => ['title' => '操作ID。', 'description' => '操作ID。', 'type' => 'string', 'example' => 'op-13c37a77c505****'], + 'Description' => ['title' => '伸缩活动描述。', 'description' => '伸缩活动描述。', 'type' => 'string', 'example' => 'clusterId not exist'], + 'ActivityResults' => [ + 'title' => '本次伸缩活动对应的实例列表。', + 'description' => '本次伸缩活动对应的实例列表。', + 'type' => 'array', + 'items' => ['description' => '伸缩活动对应的实例列表。', '$ref' => '#/components/schemas/ScalingActivityResult'], + ], + 'PolicyType' => ['description' => '策略类型。', 'type' => 'string', 'example' => 'AUTO'], + 'RuleDetail' => ['title' => '伸缩规则详述。', 'description' => '伸缩规则详述。', '$ref' => '#/components/schemas/ScalingRule'], + ], ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"{\\\\\\\\\\\\\\"clusterId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"c-b7be171f1928****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operationId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"op-61126efe629d****\\\\\\\\\\\\\\"}\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '调用API模板', - 'summary' => '调用 API 模板。', - ], - 'CreateNodeGroup' => [ - 'summary' => '创建节点组。', - 'description' => '创建节点组。', - 'methods' => [ - 'get', - 'post', + 'title' => '获取弹性伸缩活动', + 'summary' => '获取弹性伸缩活动详情。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAutoScalingActivity'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetAutoScalingActivity', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingActivity\\": {\\n \\"ActivityId\\": \\"asa-36373b084d6b4b13aa50f4129a9e****\\",\\n \\"RuleName\\": \\"scaling-out-memory\\",\\n \\"ActivityType\\": \\"SCALE_OUT\\",\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupName\\": \\"task-01\\",\\n \\"StartTime\\": 1639714634819,\\n \\"EndTime\\": 1639715634819,\\n \\"ActivityState\\": \\"IN_PROGRESS\\",\\n \\"ExpectNum\\": 10,\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"Description\\": \\"clusterId not exist\\",\\n \\"ActivityResults\\": [\\n {\\n \\"InstanceId\\": \\"i-bp1cudc25w2bfwl5****\\"\\n }\\n ],\\n \\"PolicyType\\": \\"AUTO\\",\\n \\"RuleDetail\\": {\\n \\"RuleName\\": \\"scalingByYarnMemory\\",\\n \\"TriggerType\\": \\"TIME_TRIGGER\\",\\n \\"ActivityType\\": \\"SCALE_IN\\",\\n \\"AdjustmentValue\\": 100,\\n \\"TimeTrigger\\": {\\n \\"LaunchTime\\": \\"17:30\\",\\n \\"EndTime\\": 1639714800000,\\n \\"RecurrenceType\\": \\"WEEKLY\\",\\n \\"StartTime\\": 1639714800000,\\n \\"RecurrenceValue\\": \\"MON,FRI,SUN\\",\\n \\"LaunchExpirationTime\\": 600\\n },\\n \\"MetricsTrigger\\": {\\n \\"CoolDownInterval\\": 300,\\n \\"TimeConstraints\\": [\\n {\\n \\"EndTime\\": \\"23:59\\",\\n \\"StartTime\\": \\"06:00\\"\\n }\\n ],\\n \\"EvaluationCount\\": 2,\\n \\"TimeWindow\\": 30,\\n \\"Conditions\\": [\\n {\\n \\"MetricName\\": \\"yarn_resourcemanager_queue_PendingVCores\\",\\n \\"ComparisonOperator\\": \\"LT\\",\\n \\"Statistics\\": \\"AVG\\",\\n \\"Tags\\": [\\n {\\n \\"Value\\": \\"IT\\",\\n \\"Key\\": \\"department\\"\\n }\\n ],\\n \\"Threshold\\": 12.5\\n }\\n ],\\n \\"ConditionLogicOperator\\": \\"Or\\"\\n },\\n \\"MinAdjustmentValue\\": 1\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + ], + 'GetAutoScalingPolicy' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceSNGGYA', - ], + 'abilityTreeCode' => '132560', + 'abilityTreeNodes' => ['FEATUREemapreduceB95X9C'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'C-E525E04F3914****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'NodeGroup', + 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '节点组信息', - 'description' => '机器组信息。', - 'required' => false, - '$ref' => '#/components/schemas/NodeGroupConfig', - ], + 'schema' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', - 'description' => '返回数据。', + 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'NodeGroupId' => [ - 'title' => '节点组id', - 'description' => '机器组ID。', - 'type' => 'string', - 'example' => 'G-21E39B11837E****', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****', + 'ScalingPolicy' => [ + 'description' => '弹性伸缩策略。', + 'type' => 'object', + 'properties' => [ + 'NodeGroupId' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'example' => 'ng-869471354ecd****'], + 'ClusterId' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'example' => 'c-b933c5aac8fe****'], + 'ScalingRules' => [ + 'title' => '伸缩规则列表', + 'description' => '伸缩规则列表', + 'type' => 'array', + 'items' => [ + 'description' => '伸缩规则列表。', + 'type' => 'object', + 'properties' => [ + 'RuleName' => ['title' => '弹性伸缩规则名称。', 'description' => '弹性伸缩规则名称。', 'type' => 'string', 'example' => 'scaling-out-memory'], + 'TriggerType' => ['title' => '伸缩规则类型。', 'description' => '伸缩规则类型。取值范围:'."\n" + .'- TIME_TRIGGER:按时间伸缩。'."\n" + .'- METRICS_TRIGGER:按负载伸缩。', 'type' => 'string', 'example' => 'TIME_TRIGGER'], + 'ActivityType' => ['title' => '伸缩类型。', 'description' => '伸缩活动类型。取值范围:'."\n" + .'- SCALE_OUT:扩容。'."\n" + .'- SCALE_IN:缩容。', 'type' => 'string', 'example' => 'SCALE_OUT'], + 'AdjustmentType' => ['title' => '调整类型。', 'description' => '调整类型。', 'type' => 'string', 'example' => 'CHANGE_IN_CAPACITY'], + 'AdjustmentValue' => ['title' => '调整值。', 'description' => '调整值。需要为正数,代表需要扩容或者缩容的实例数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'TimeTrigger' => ['title' => '按照时间伸缩描述。', 'description' => '按照时间伸缩描述。', '$ref' => '#/components/schemas/TimeTrigger'], + 'MetricsTrigger' => ['title' => '按照负载伸缩描述。', 'description' => '按照负载伸缩描述。', '$ref' => '#/components/schemas/MetricsTrigger'], + 'CollationTimeZone' => ['$ref' => '#/components/schemas/CollationTimeZone'], + ], + ], + ], + 'ScalingPolicyId' => ['title' => '伸缩策略ID。', 'description' => '伸缩策略ID。', 'type' => 'string', 'example' => 'asp-asduwe23znl***'], + 'Constraints' => [ + 'title' => '最大最小值约束', + 'description' => '节点组的节点数最大最小值约束。', + 'type' => 'object', + 'properties' => [ + 'MaxCapacity' => ['title' => '最大值', 'description' => '节点组最大节点数。'."\n" + .'默认值:2000。', 'type' => 'integer', 'format' => 'int32', 'example' => '2000'], + 'MinCapacity' => ['title' => '最小值', 'description' => '节点组最小节点数。'."\n" + .'默认值:0。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + ], + ], + ], ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"NodeGroupId\\": \\"G-21E39B11837E****\\",\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateNodeGroupResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</RequestId>\\n <NodeGroupId>G-21E39B11837E****</NodeGroupId>\\n</CreateNodeGroupResponse>","errorExample":""}]', - 'title' => '创建节点组', - ], - 'ListNodeGroups' => [ - 'methods' => [ - 'get', - 'post', + 'title' => '查看自定义弹性伸缩策略', + 'summary' => '查看自定义弹性伸缩策略。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAutoScalingPolicy'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetAutoScalingPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingPolicy\\": {\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"ScalingRules\\": [\\n {\\n \\"RuleName\\": \\"scaling-out-memory\\",\\n \\"TriggerType\\": \\"TIME_TRIGGER\\",\\n \\"ActivityType\\": \\"SCALE_OUT\\",\\n \\"AdjustmentType\\": \\"CHANGE_IN_CAPACITY\\",\\n \\"AdjustmentValue\\": 100,\\n \\"TimeTrigger\\": {\\n \\"LaunchTime\\": \\"17:30\\",\\n \\"EndTime\\": 1639714800000,\\n \\"RecurrenceType\\": \\"WEEKLY\\",\\n \\"StartTime\\": 1639714800000,\\n \\"RecurrenceValue\\": \\"MON,FRI,SUN\\",\\n \\"LaunchExpirationTime\\": 600\\n },\\n \\"MetricsTrigger\\": {\\n \\"CoolDownInterval\\": 300,\\n \\"TimeConstraints\\": [\\n {\\n \\"EndTime\\": \\"23:59\\",\\n \\"StartTime\\": \\"06:00\\"\\n }\\n ],\\n \\"EvaluationCount\\": 2,\\n \\"TimeWindow\\": 30,\\n \\"Conditions\\": [\\n {\\n \\"MetricName\\": \\"yarn_resourcemanager_queue_PendingVCores\\",\\n \\"ComparisonOperator\\": \\"LT\\",\\n \\"Statistics\\": \\"AVG\\",\\n \\"Tags\\": [\\n {\\n \\"Value\\": \\"IT\\",\\n \\"Key\\": \\"department\\"\\n }\\n ],\\n \\"Threshold\\": 12.5\\n }\\n ],\\n \\"ConditionLogicOperator\\": \\"Or\\"\\n },\\n \\"CollationTimeZone\\": {\\n \\"TimeZone\\": \\"Asia/Shanghai\\",\\n \\"CurrentTimeOffset\\": \\"UTC+08:00\\"\\n }\\n }\\n ],\\n \\"ScalingPolicyId\\": \\"asp-asduwe23znl***\\",\\n \\"Constraints\\": {\\n \\"MaxCapacity\\": 2000,\\n \\"MinCapacity\\": 0\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + ], + 'GetCluster' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9655,160 +3641,22 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '13702', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceSNGGYA', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '13223', + 'abilityTreeNodes' => ['FEATUREemapreduceGZP0FZ'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '地域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '地域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], - ], - [ - 'name' => 'NextToken', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => '标记当前开始读取的位置,置空表示从头开始。', - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - ], - [ - 'name' => 'MaxResults', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => '一次获取的最大记录数。取值范围:1~100。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], - ], - [ - 'name' => 'NodeGroupIds', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '节点组ID列表。', - 'description' => '节点组ID列表。数组元素个数N取值范围:1~100。', - 'type' => 'array', - 'items' => [ - 'description' => '节点分组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ng-869471354ecd****', - ], - 'required' => false, - 'example' => 'c-b933c5aac8fe****', - 'maxItems' => 100, - ], - ], - [ - 'name' => 'NodeGroupNames', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '节点组名称列表。', - 'description' => '节点组名称列表。数组元素个数N取值范围:1~100。', - 'type' => 'array', - 'items' => [ - 'description' => '节点组名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'core-1', - ], - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - 'maxItems' => 100, - ], - ], - [ - 'name' => 'NodeGroupTypes', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '节点组类型列表。', - 'description' => '节点组类型列表。数组元素个数N取值范围:1~100。', - 'type' => 'array', - 'items' => [ - 'description' => '节点组类型。取值范围:'."\n" - .'- MASTER:管理类型节点组。'."\n" - .'- CORE:存储类型节点组。'."\n" - .'- TASK:计算类型节点组。', - 'type' => 'string', - 'required' => false, - 'example' => 'CORE', - ], - 'required' => false, - 'example' => '20', - 'maxItems' => 100, - ], - ], - [ - 'name' => 'NodeGroupStates', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '节点组状态。', - 'description' => '节点组状态。数组元素个数N取值范围:1~100。', - 'type' => 'array', - 'items' => [ - 'description' => '节点组状态。取值范围:'."\n" - .' - PROVISIONING:初始化中。'."\n" - .' - INCREASING:扩容中。'."\n" - .' - DECREASING:缩容中。'."\n" - .' - SUSPENDED:挂起。'."\n" - .' - RUNNING:运行中。'."\n" - .' - RECONFIGURING:变配中。'."\n" - .' - TERMINATING:终止中。'."\n" - .' - TERMINATED:已终止。', - 'type' => 'string', - 'required' => false, - 'example' => 'RUNNING', - ], - 'required' => false, - 'example' => '["CORE"]', - 'maxItems' => 50, - ], - ], - [ - 'name' => 'ZoneId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], ], 'responses' => [ @@ -9818,120 +3666,61 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'NodeGroups' => [ - 'description' => '节点组数组。', - 'type' => 'array', - 'items' => [ - 'description' => '节点组。', - '$ref' => '#/components/schemas/NodeGroup', - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '返回读取到的数据位置。空代表数据已经读取完毕。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '本次请求所返回的最大记录条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '本次请求条件下的数据总量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'Cluster' => ['description' => '集群详情。', '$ref' => '#/components/schemas/Cluster'], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"NodeGroups\\": [\\n {\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupName\\": \\"core-1\\",\\n \\"NodeGroupType\\": \\"CORE\\",\\n \\"RunningNodeCount\\": 3,\\n \\"InstanceTypes\\": [\\n \\"\\"\\n ],\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"DataDisks\\": [\\n {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 80,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 5\\n }\\n ],\\n \\"SystemDisk\\": {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 60,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 1\\n },\\n \\"NodeGroupState\\": \\"CREATED\\",\\n \\"AdditionalSecurityGroupIds\\": [\\n \\"\\"\\n ],\\n \\"WithPublicIp\\": false,\\n \\"VSwitchIds\\": [\\n \\"\\"\\n ],\\n \\"SpotStrategy\\": \\"NoSpot\\",\\n \\"SpotBidPrices\\": [\\n {\\n \\"InstanceType\\": \\"ecs.g7.2xlarge\\",\\n \\"BidPrice\\": 1000\\n }\\n ],\\n \\"StateChangeReason\\": {\\n \\"Code\\": \\"MissingParameter\\",\\n \\"Message\\": \\"The instance type is required.\\"\\n },\\n \\"MinimalNodeCount\\": 0,\\n \\"MaximalNodeCount\\": 200,\\n \\"GracefulShutdown\\": false,\\n \\"SpotInstanceRemedy\\": true,\\n \\"CompensateWithOnDemand\\": true,\\n \\"NodeResizeStrategy\\": \\"PRIORITY\\",\\n \\"CostOptimizedConfig\\": {\\n \\"OnDemandBaseCapacity\\": 80,\\n \\"OnDemandPercentageAboveBaseCapacity\\": 80,\\n \\"SpotInstancePools\\": 2\\n },\\n \\"DeploymentSetStrategy\\": \\"NONE\\",\\n \\"AutoCompensateState\\": true,\\n \\"ExtraAttributes\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"AckConfig\\": {\\n \\"AckInstanceId\\": \\"\\",\\n \\"NodeSelectors\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"Tolerations\\": [\\n {\\n \\"Key\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Operator\\": \\"\\",\\n \\"Effect\\": \\"\\"\\n }\\n ],\\n \\"Namespace\\": \\"\\",\\n \\"RequestCpu\\": 0,\\n \\"RequestMemory\\": 0,\\n \\"LimitCpu\\": 0,\\n \\"LimitMemory\\": 0,\\n \\"DataDiskStorageClass\\": \\"\\",\\n \\"DataDiskSize\\": 0,\\n \\"CustomLabels\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"CustomAnnotations\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"MountHostCgroup\\": true,\\n \\"NodeAffinity\\": \\"\\",\\n \\"PodAntiAffinity\\": \\"\\",\\n \\"PodAffinity\\": \\"\\",\\n \\"PreStartCommand\\": [\\n \\"\\"\\n ],\\n \\"Pvcs\\": [\\n {\\n \\"DataDiskStorageClass\\": \\"\\",\\n \\"DataDiskSize\\": 0,\\n \\"Path\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"Volumes\\": [\\n {\\n \\"Name\\": \\"\\",\\n \\"Path\\": \\"\\",\\n \\"Type\\": \\"\\"\\n }\\n ],\\n \\"VolumeMounts\\": [\\n {\\n \\"Name\\": \\"\\",\\n \\"Path\\": \\"\\"\\n }\\n ]\\n },\\n \\"IaaSType\\": \\"\\",\\n \\"PrivatePoolOptions\\": {\\n \\"PrivatePoolIds\\": [\\n \\"\\"\\n ],\\n \\"MatchCriteria\\": \\"Open\\"\\n },\\n \\"Status\\": \\"CREATED\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","errorExample":""},{"type":"xml","example":"<ListNodeGroupsResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</RequestId>\\n <MaxResults>20</MaxResults>\\n <NextToken>2</NextToken>\\n <TotalCount>1000</TotalCount>\\n <NodeGroups>\\n <NodeGroupId>G-21E39B11837E****</NodeGroupId>\\n <NodeGroupType>CORE</NodeGroupType>\\n <NodeGroupName>core-1</NodeGroupName>\\n <PaymentType>Subscription</PaymentType>\\n <NodeCount>2</NodeCount>\\n <InstanceTypes>ecs.g6e.xlarge</InstanceTypes>\\n <NodeStatus>Running</NodeStatus>\\n <DataDisks/>\\n <SystemDisk/>\\n <VSwitchIds>vsw-bp1opd2qejvhsabfe****</VSwitchIds>\\n </NodeGroups>\\n</ListNodeGroupsResponse>","errorExample":""}]', - 'title' => '查询节点组', - 'summary' => '查询EMR集群节点组列表。', - ], - 'GetNodeGroup' => [ - 'description' => '获取节点组详情。', - 'methods' => [ - 'get', - 'post', + 'title' => '获取集群', + 'summary' => '获取集群详情。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetCluster'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetCluster', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Cluster\\": {\\n \\"ClusterState\\": \\"RUNNING\\",\\n \\"Description\\": \\"EMR cluster\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzabjyop****\\",\\n \\"ReadyTime\\": 1592837465784,\\n \\"EndTime\\": 1592837465784,\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"CreateTime\\": 1592837465784,\\n \\"EmrDefaultRole\\": \\"AliyunEMRDefaultRole\\",\\n \\"ClusterType\\": \\"DATALAKE\\",\\n \\"DeletionProtection\\": false,\\n \\"ReleaseVersion\\": \\"EMR-5.8.0\\",\\n \\"SubscriptionConfig\\": {\\n \\"AutoRenewDurationUnit\\": \\"Month\\",\\n \\"AutoRenew\\": true,\\n \\"PaymentDurationUnit\\": \\"Month\\",\\n \\"PaymentDuration\\": 12,\\n \\"AutoRenewDuration\\": 12\\n },\\n \\"DeployMode\\": \\"HA\\",\\n \\"SecurityMode\\": \\"NORMAL\\",\\n \\"NodeAttributes\\": {\\n \\"KeyPairName\\": \\"emr_login\\",\\n \\"VpcId\\": \\"vpc-bp1tgey2p0ytxmdo5****\\",\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"MasterRootPassword\\": \\"EAQ#86****\\",\\n \\"SystemDiskKMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\",\\n \\"SecurityGroupId\\": \\"sg-hp3abbae8lb6lmb1****\\",\\n \\"DataDiskKMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\",\\n \\"RamRole\\": \\"AliyunECSInstanceForEMRRole\\",\\n \\"DataDiskEncrypted\\": false,\\n \\"SystemDiskEncrypted\\": false\\n },\\n \\"ClusterName\\": \\"emrtest\\",\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ExpireTime\\": 1592837465784,\\n \\"StateChangeReason\\": {\\n \\"Message\\": \\"The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.\\",\\n \\"Code\\": \\"OutOfStock\\"\\n },\\n \\"Tags\\": [\\n {\\n \\"Value\\": \\"IT\\",\\n \\"Key\\": \\"department\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","errorExample":""},{"type":"xml","example":"<GetClusterResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</RequestId>\\n <Cluster>\\n <ClusterId>C-E525E04F3914****</ClusterId>\\n <ClusterName>emr-hadoop-cluster</ClusterName>\\n <ClusterType>HADOOP</ClusterType>\\n <ClusterState>IDEL</ClusterState>\\n <PaymentType>Subscription</PaymentType>\\n <DeleteTime>1592837465784</DeleteTime>\\n <ExpiredTime>1592837465784</ExpiredTime>\\n <NetworkType>vpc</NetworkType>\\n <DeployMode>NORMAL</DeployMode>\\n <SecurityMode>NORMAL</SecurityMode>\\n <MetaStoreType>LOCAL</MetaStoreType>\\n <CreateTime>1592837465784</CreateTime>\\n <RegionId>cn-hangzhou</RegionId>\\n <MainVersion>EMR-3.33.0</MainVersion>\\n <StateChangeReason>手动重启</StateChangeReason>\\n </Cluster>\\n</GetClusterResponse>","errorExample":""}]', + ], + 'GetClusterCloneMeta' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9940,46 +3729,23 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce51LGQ1', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '150379', + 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S', 'FEATUREemapreduceGZP0FZ'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '地域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], - ], - [ - 'name' => 'NodeGroupId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '节点组ID。', - 'description' => '节点组ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ng-869471354ecd****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], ], 'responses' => [ @@ -9989,478 +3755,421 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'NodeGroup' => [ - 'description' => '节点组。', - '$ref' => '#/components/schemas/NodeGroup', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + 'ClusterCloneMeta' => [ + 'description' => '集群克隆元数据。', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['title' => '地域ID。', 'description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'ResourceGroupId' => ['title' => '资源组ID。', 'description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-acfmzabjyop****'], + 'ClusterState' => ['title' => '集群状态。', 'description' => '集群状态。取值范围:'."\n" + .'- STARTING:启动中。'."\n" + .'- START_FAILED:启动失败。'."\n" + .'- BOOTSTRAPPING:引导操作初始化。'."\n" + .'- RUNNING:运行中。'."\n" + .'- TERMINATING:终止中。'."\n" + .'- TERMINATED:已终止。'."\n" + .'- TERMINATED\\_WITH\\_ERRORS:发生异常导致终止'."\n" + .'- TERMINATE_FAILED:终止失败。', 'type' => 'string', 'example' => 'RUNNING'], + 'ClusterId' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'example' => 'c-b933c5aac7f7****'], + 'ClusterName' => ['title' => '集群名称。', 'description' => '集群名称。', 'type' => 'string', 'example' => 'emrtest'], + 'ClusterType' => ['title' => '集群类型。', 'description' => '集群类型。取值范围:'."\n" + .'- DATALAKE:新版数据湖。'."\n" + .'- OLAP:数据分析。'."\n" + .'- DATAFLOW:实时数据流。'."\n" + .'- DATASERVING:数据服务。'."\n" + .'- CUSTOM:自定义混部集群。'."\n" + .'- HADOOP:旧版数据湖。', 'type' => 'string', 'example' => 'DATALAKE'], + 'PaymentType' => ['title' => '付费类型。', 'description' => '付费类型。取值范围:'."\n" + .'- PayAsYouGo:后付费。'."\n" + .'- Subscription:预付费。', 'type' => 'string', 'example' => 'PayAsYouGo'], + 'SubscriptionConfig' => ['title' => '预付费配置。', 'description' => '预付费配置。', '$ref' => '#/components/schemas/SubscriptionConfig'], + 'ReleaseVersion' => ['title' => 'EMR发行版。', 'description' => 'EMR发行版。', 'type' => 'string', 'example' => 'EMR-5.6.0'], + 'DeployMode' => ['title' => '部署模式。', 'description' => '集群中的应用部署模式。取值范围:'."\n" + .'- NORMAL:非高可用部署。'."\n" + .'- HA:高可用部署。', 'type' => 'string', 'example' => 'HA'], + 'SecurityMode' => ['title' => 'Kerberos安全模式。', 'description' => '集群Kerberos安全模式。取值范围:'."\n" + .'- NORMAL:普通模式,不开启Kerberos模式。'."\n" + .'- KERBEROS:开启Kerberos模式。', 'type' => 'string', 'example' => 'NORMAL'], + 'NodeAttributes' => ['title' => '节点属性。', 'description' => '节点属性。', '$ref' => '#/components/schemas/NodeAttributes'], + 'Tags' => [ + 'description' => '集群标签列表。', + 'type' => 'array', + 'items' => ['description' => '标签。', '$ref' => '#/components/schemas/Tag'], + ], + 'EmrDefaultRole' => ['title' => 'EMR服务角色。', 'description' => 'EMR服务角色。', 'type' => 'string', 'example' => 'AliyunEMRDefaultRole'], + 'Applications' => [ + 'title' => '集群应用。', + 'description' => '集群应用。', + 'type' => 'array', + 'items' => ['description' => '应用。', '$ref' => '#/components/schemas/Application'], + ], + 'ApplicationConfigs' => [ + 'title' => '创建集群时的服务配置项。', + 'description' => '修改过的应用配置项。', + 'type' => 'array', + 'items' => ['description' => '配置项。', '$ref' => '#/components/schemas/ApplicationConfig'], + ], + 'NodeGroups' => [ + 'description' => '节点组配置数组。数组元素个数N的取值范围:1~100。', + 'type' => 'array', + 'items' => ['description' => '节点组。', '$ref' => '#/components/schemas/NodeGroup'], + ], + 'BootstrapScripts' => [ + 'description' => '引导脚本数组。数组元素个数N的取值范围:1~10。', + 'type' => 'array', + 'items' => ['description' => '引导脚本。', '$ref' => '#/components/schemas/Script'], + ], + 'ExistCloneConfig' => ['description' => 'HADOOP集群是支持克隆创建集群时传入的应用配置。取值范围:'."\n" + .'- False:不支持。'."\n" + .'- True:支持。', 'type' => 'boolean', 'example' => 'True'], + 'ScalingPolicies' => [ + 'description' => '集群各节点组的弹性伸缩策略。', + 'type' => 'array', + 'items' => [ + 'description' => '弹性伸缩策略。', + 'type' => 'object', + 'properties' => [ + 'NodeGroupId' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'example' => 'ng-869471354ecd****'], + 'ClusterId' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'example' => 'c-b933c5aac8fe****'], + 'ScalingRules' => [ + 'title' => '伸缩规则列表', + 'description' => '弹性伸缩规则列表。', + 'type' => 'array', + 'items' => [ + 'description' => '弹性伸缩规则。', + 'type' => 'object', + 'properties' => [ + 'RuleName' => ['title' => '弹性伸缩规则名称。', 'description' => '弹性伸缩规则名称。', 'type' => 'string', 'example' => 'scaling-out-memory'], + 'TriggerType' => ['title' => '伸缩规则类型。', 'description' => '伸缩规则类型。必填参数。取值范围:'."\n" + .'- TIME_TRIGGER:按时间伸缩。'."\n" + .'- METRICS_TRIGGER:按负载伸缩。', 'type' => 'string', 'example' => 'TIME_TRIGGER'], + 'ActivityType' => ['title' => '伸缩类型。', 'description' => '伸缩活动类型。必填参数。取值范围:'."\n" + .'- SCALE_OUT:扩容。'."\n" + .'- SCALE_IN:缩容。', 'type' => 'string', 'example' => 'SCALE_OUT'], + 'AdjustmentValue' => ['title' => '调整值。', 'description' => '调整值。必填参数,需要为正数,代表需要扩容或者缩容的实例数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'TimeTrigger' => ['title' => '按照时间伸缩描述。', 'description' => '按照时间伸缩描述。', '$ref' => '#/components/schemas/TimeTrigger'], + 'MetricsTrigger' => ['title' => '按照负载伸缩描述。', 'description' => '按照负载伸缩描述。', '$ref' => '#/components/schemas/MetricsTrigger'], + ], + ], + ], + 'ScalingPolicyId' => ['title' => '伸缩策略ID。', 'description' => '伸缩策略ID。', 'type' => 'string', 'example' => 'asp-asduwe23znl***'], + 'Constraints' => [ + 'title' => '最大最小值约束', + 'description' => '节点组的节点数最大最小值约束。', + 'type' => 'object', + 'properties' => [ + 'MaxCapacity' => ['title' => '最大值', 'description' => '节点组最大节点数。 默认值:2000。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'MinCapacity' => ['title' => '最小值', 'description' => '节点组最小节点数。 默认值:0。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'], + 'MaxOnDemandCapacity' => ['title' => '最大按量值。', 'description' => '最大按量值。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + ], + ], + 'ScalingPolicyType' => ['title' => '弹性策略类型', 'description' => '弹性策略类型', 'type' => 'string'], + 'NodeGroupName' => ['description' => '节点组名称。', 'type' => 'string', 'example' => 'emr-etltask'], + ], + ], + ], + 'DeletionProtection' => ['description' => '集群是否开启删除保护。取值范围:'."\n" + .'- true:开启删除保护。'."\n" + .'- false:不开启删除保护。'."\n" + ."\n" + .'默认值:false。', 'type' => 'boolean', 'example' => 'false'], + 'CollationTimeZone' => ['$ref' => '#/components/schemas/CollationTimeZone'], + ], ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"NodeGroup\\": {\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupName\\": \\"core-1\\",\\n \\"NodeGroupType\\": \\"CORE\\",\\n \\"RunningNodeCount\\": 3,\\n \\"InstanceTypes\\": [\\n \\"\\"\\n ],\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"DataDisks\\": [\\n {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 80,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 5\\n }\\n ],\\n \\"SystemDisk\\": {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 60,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 1\\n },\\n \\"NodeGroupState\\": \\"CREATED\\",\\n \\"AdditionalSecurityGroupIds\\": [\\n \\"\\"\\n ],\\n \\"WithPublicIp\\": false,\\n \\"VSwitchIds\\": [\\n \\"\\"\\n ],\\n \\"SpotStrategy\\": \\"NoSpot\\",\\n \\"SpotBidPrices\\": [\\n {\\n \\"InstanceType\\": \\"ecs.g7.2xlarge\\",\\n \\"BidPrice\\": 1000\\n }\\n ],\\n \\"StateChangeReason\\": {\\n \\"Code\\": \\"MissingParameter\\",\\n \\"Message\\": \\"The instance type is required.\\"\\n },\\n \\"MinimalNodeCount\\": 0,\\n \\"MaximalNodeCount\\": 200,\\n \\"GracefulShutdown\\": false,\\n \\"SpotInstanceRemedy\\": true,\\n \\"CompensateWithOnDemand\\": true,\\n \\"NodeResizeStrategy\\": \\"PRIORITY\\",\\n \\"CostOptimizedConfig\\": {\\n \\"OnDemandBaseCapacity\\": 80,\\n \\"OnDemandPercentageAboveBaseCapacity\\": 80,\\n \\"SpotInstancePools\\": 2\\n },\\n \\"DeploymentSetStrategy\\": \\"NONE\\",\\n \\"AutoCompensateState\\": true,\\n \\"ExtraAttributes\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"AckConfig\\": {\\n \\"AckInstanceId\\": \\"\\",\\n \\"NodeSelectors\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"Tolerations\\": [\\n {\\n \\"Key\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Operator\\": \\"\\",\\n \\"Effect\\": \\"\\"\\n }\\n ],\\n \\"Namespace\\": \\"\\",\\n \\"RequestCpu\\": 0,\\n \\"RequestMemory\\": 0,\\n \\"LimitCpu\\": 0,\\n \\"LimitMemory\\": 0,\\n \\"DataDiskStorageClass\\": \\"\\",\\n \\"DataDiskSize\\": 0,\\n \\"CustomLabels\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"CustomAnnotations\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"MountHostCgroup\\": true,\\n \\"NodeAffinity\\": \\"\\",\\n \\"PodAntiAffinity\\": \\"\\",\\n \\"PodAffinity\\": \\"\\",\\n \\"PreStartCommand\\": [\\n \\"\\"\\n ],\\n \\"Pvcs\\": [\\n {\\n \\"DataDiskStorageClass\\": \\"\\",\\n \\"DataDiskSize\\": 0,\\n \\"Path\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"Volumes\\": [\\n {\\n \\"Name\\": \\"\\",\\n \\"Path\\": \\"\\",\\n \\"Type\\": \\"\\"\\n }\\n ],\\n \\"VolumeMounts\\": [\\n {\\n \\"Name\\": \\"\\",\\n \\"Path\\": \\"\\"\\n }\\n ]\\n },\\n \\"IaaSType\\": \\"\\",\\n \\"PrivatePoolOptions\\": {\\n \\"PrivatePoolIds\\": [\\n \\"\\"\\n ],\\n \\"MatchCriteria\\": \\"Open\\"\\n },\\n \\"Status\\": \\"CREATED\\"\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","errorExample":""},{"type":"xml","example":"<GetNodeGroupResponse>\\n <NodeGroup>\\n </NodeGroup>\\n</GetNodeGroupResponse>","errorExample":""}]', - 'title' => '获取节点组', - 'summary' => '获取节点组详情。', - ], - 'IncreaseNodes' => [ - 'methods' => [ - 'get', - 'post', + 'title' => '获取集群克隆元数据', + 'summary' => '获取EMR集群克隆元数据信息,便于通过 CreateCluster API快速创建集群。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetClusterCloneMeta'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetClusterCloneMeta', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ClusterCloneMeta\\": {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzabjyop****\\",\\n \\"ClusterState\\": \\"RUNNING\\",\\n \\"ClusterId\\": \\"c-b933c5aac7f7****\\",\\n \\"ClusterName\\": \\"emrtest\\",\\n \\"ClusterType\\": \\"DATALAKE\\",\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"SubscriptionConfig\\": {\\n \\"AutoRenewDurationUnit\\": \\"Month\\",\\n \\"AutoRenew\\": true,\\n \\"PaymentDurationUnit\\": \\"Month\\",\\n \\"PaymentDuration\\": 12,\\n \\"AutoRenewDuration\\": 12\\n },\\n \\"ReleaseVersion\\": \\"EMR-5.6.0\\",\\n \\"DeployMode\\": \\"HA\\",\\n \\"SecurityMode\\": \\"NORMAL\\",\\n \\"NodeAttributes\\": {\\n \\"KeyPairName\\": \\"emr_login\\",\\n \\"VpcId\\": \\"vpc-bp1tgey2p0ytxmdo5****\\",\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"MasterRootPassword\\": \\"EAQ#86****\\",\\n \\"SystemDiskKMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\",\\n \\"SecurityGroupId\\": \\"sg-hp3abbae8lb6lmb1****\\",\\n \\"DataDiskKMSKeyId\\": \\"0e478b7a-4262-4802-b8cb-00d3fb40****\\",\\n \\"RamRole\\": \\"AliyunECSInstanceForEMRRole\\",\\n \\"DataDiskEncrypted\\": false,\\n \\"SystemDiskEncrypted\\": false\\n },\\n \\"Tags\\": [\\n {\\n \\"Value\\": \\"IT\\",\\n \\"Key\\": \\"department\\"\\n }\\n ],\\n \\"EmrDefaultRole\\": \\"AliyunEMRDefaultRole\\",\\n \\"Applications\\": [\\n {\\n \\"ApplicationName\\": \\"SPARK\\"\\n }\\n ],\\n \\"ApplicationConfigs\\": [\\n {\\n \\"ConfigFileName\\": \\"hdfs-site.xml\\",\\n \\"ApplicationName\\": \\"HDFS\\",\\n \\"ConfigItemKey\\": \\"dfs.namenode.checkpoint.period\\",\\n \\"NodeGroupName\\": \\"core-1\\",\\n \\"ConfigScope\\": \\"NODE_GROUP\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"ConfigItemValue\\": \\"3600s\\"\\n }\\n ],\\n \\"NodeGroups\\": [\\n {\\n \\"WithPublicIp\\": true,\\n \\"SpotInstanceRemedy\\": false,\\n \\"DataDisks\\": [\\n {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 80,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 5\\n }\\n ],\\n \\"CompensateWithOnDemand\\": true,\\n \\"NodeGroupState\\": \\"RESIZING\\",\\n \\"SystemDisk\\": {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 60,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 1\\n },\\n \\"PrivatePoolOptions\\": {\\n \\"MatchCriteria\\": \\"Open\\",\\n \\"PrivatePoolIds\\": [\\n \\"crp-xxxx\\"\\n ]\\n },\\n \\"NodeGroupType\\": \\"MASTER\\",\\n \\"PaymentType\\": \\"Subscription\\",\\n \\"InstanceTypes\\": [\\n \\"ecs.g7.2xlarge\\"\\n ],\\n \\"CostOptimizedConfig\\": {\\n \\"OnDemandBaseCapacity\\": 80,\\n \\"OnDemandPercentageAboveBaseCapacity\\": 80,\\n \\"SpotInstancePools\\": 2\\n },\\n \\"GracefulShutdown\\": false,\\n \\"SpotStrategy\\": \\"NoSpot\\",\\n \\"StateChangeReason\\": {\\n \\"Message\\": \\"The instance type is required.\\",\\n \\"Code\\": \\"UserRequest\\"\\n },\\n \\"Status\\": \\"CREATED\\",\\n \\"ZoneId\\": \\"cn-hangzhou\\",\\n \\"NodeGroupName\\": \\"core-1\\",\\n \\"VSwitchIds\\": [\\n \\"vsw-bp1opd2qejvhsabfe****\\"\\n ],\\n \\"SpotBidPrices\\": [\\n {\\n \\"BidPrice\\": 1000,\\n \\"InstanceType\\": \\"ecs.g7.2xlarge\\"\\n }\\n ],\\n \\"NodeResizeStrategy\\": \\"PRIORITY\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"AdditionalSecurityGroupIds\\": [\\n \\"\\"\\n ],\\n \\"DeploymentSetStrategy\\": \\"NONE\\",\\n \\"RunningNodeCount\\": 3\\n }\\n ],\\n \\"BootstrapScripts\\": [\\n {\\n \\"ScriptPath\\": \\"oss://bucket1/update_hosts.sh\\",\\n \\"ScriptArgs\\": \\"-host 10.0.10.5 -m 30\\",\\n \\"ExecutionFailStrategy\\": \\"FAILED_CONTINUE\\",\\n \\"Priority\\": 1,\\n \\"ScriptName\\": \\"脚本名-1\\",\\n \\"ExecutionMoment\\": \\"BEFORE_INSTALL\\",\\n \\"NodeSelector\\": {\\n \\"NodeGroupTypes\\": [\\n \\"MASTER\\"\\n ],\\n \\"NodeGroupName\\": \\"master-1\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupNames\\": [\\n \\"master-1\\"\\n ],\\n \\"NodeSelectType\\": \\"CLUSTER\\",\\n \\"NodeGroupIds\\": [\\n \\"ng-869471354ecd****\\"\\n ],\\n \\"NodeNames\\": [\\n \\"master-1-1\\"\\n ]\\n }\\n }\\n ],\\n \\"ExistCloneConfig\\": true,\\n \\"ScalingPolicies\\": [\\n {\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"ScalingRules\\": [\\n {\\n \\"RuleName\\": \\"scaling-out-memory\\",\\n \\"TriggerType\\": \\"TIME_TRIGGER\\",\\n \\"ActivityType\\": \\"SCALE_OUT\\",\\n \\"AdjustmentValue\\": 100,\\n \\"TimeTrigger\\": {\\n \\"LaunchTime\\": \\"17:30\\",\\n \\"EndTime\\": 1639714800000,\\n \\"RecurrenceType\\": \\"WEEKLY\\",\\n \\"StartTime\\": 1639714800000,\\n \\"RecurrenceValue\\": \\"MON,FRI,SUN\\",\\n \\"LaunchExpirationTime\\": 600\\n },\\n \\"MetricsTrigger\\": {\\n \\"CoolDownInterval\\": 300,\\n \\"TimeConstraints\\": [\\n {\\n \\"EndTime\\": \\"23:59\\",\\n \\"StartTime\\": \\"06:00\\"\\n }\\n ],\\n \\"EvaluationCount\\": 2,\\n \\"TimeWindow\\": 30,\\n \\"Conditions\\": [\\n {\\n \\"MetricName\\": \\"yarn_resourcemanager_queue_PendingVCores\\",\\n \\"ComparisonOperator\\": \\"LT\\",\\n \\"Statistics\\": \\"AVG\\",\\n \\"Tags\\": [\\n {\\n \\"Value\\": \\"IT\\",\\n \\"Key\\": \\"department\\"\\n }\\n ],\\n \\"Threshold\\": 12.5\\n }\\n ],\\n \\"ConditionLogicOperator\\": \\"Or\\"\\n }\\n }\\n ],\\n \\"ScalingPolicyId\\": \\"asp-asduwe23znl***\\",\\n \\"Constraints\\": {\\n \\"MaxCapacity\\": 200,\\n \\"MinCapacity\\": 50,\\n \\"MaxOnDemandCapacity\\": 200\\n },\\n \\"ScalingPolicyType\\": \\"\\",\\n \\"NodeGroupName\\": \\"emr-etltask\\"\\n }\\n ],\\n \\"DeletionProtection\\": false,\\n \\"CollationTimeZone\\": {\\n \\"TimeZone\\": \\"Asia/Shanghai\\",\\n \\"CurrentTimeOffset\\": \\"UTC+08:00\\"\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + ], + 'GetDoctorApplication' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '20107', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce6STB1S', - ], + 'operationType' => 'get', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], - ], - [ - 'name' => 'NodeGroupId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '节点组ID。', - 'description' => '节点组ID。扩容的目标节点组。', - 'type' => 'string', - 'required' => true, - 'example' => 'ng-869471354ecd****', - ], - ], - [ - 'name' => 'IncreaseNodeCount', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '节点数量。', - 'description' => '节点数量。本次扩容的增量节点数量。取值范围:1~500。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '3', - ], - ], - [ - 'name' => 'AutoPayOrder', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '是否自动支付。', - 'description' => '是否自动支付本次扩容操作涉及的订单。节点组付费类型PaymentType取值Subscription时该参数生效。取值范围:'."\n" - .'- true:自动支付本次操作涉及的订单。'."\n" - .'- false:不自动支付本次操作涉及的订单。'."\n" - ."\n" - .'默认值:false。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - ], - [ - 'name' => 'AutoRenew', - 'in' => 'query', - 'schema' => [ - 'description' => '本次扩容的节点是否开启自动续费,默认值为false。取值范围:'."\n" - .'- true:开启自动续费。'."\n" - .'- false:不开启自动续费。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - ], - [ - 'name' => 'PaymentDuration', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '付费时长。', - 'description' => '付费时长。当PaymentDurationUnit取值为Month时,取值:1、2、3、4、5、6、7、8、9、12、24、36、48、60。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '12', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'PaymentDurationUnit', + 'name' => 'AppId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '付费时长单位。', - 'description' => '付费时长单位。取值范围:'."\n" - .'- Month:月。', - 'type' => 'string', - 'required' => false, - 'example' => 'Month', - ], + 'schema' => ['title' => 'app id', 'description' => '任务提交到YARN的ID。', 'type' => 'string', 'required' => true, 'example' => 'application_1542620905989_****'], ], [ - 'name' => 'ApplicationConfigs', + 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '应用配置。', - 'description' => '应用配置。数组元素个数N的取值范围:1~1000。', - 'type' => 'array', - 'items' => [ - 'description' => '应用配置。', - 'required' => false, - '$ref' => '#/components/schemas/ApplicationConfig', - ], - 'required' => false, - 'example' => 'Month', - 'maxItems' => 100, - ], - ], - [ - 'name' => 'MinIncreaseNodeCount', - 'in' => 'query', - 'schema' => [ - 'description' => '本次扩容接受的最小节点数量。取值范围为 1 到 500。'."\n" - ."\n" - .'- 若设置了该值,当ECS库存数量小于IncreaseNodeCount 时,扩容流程将尽力创建 `MinIncreaseNodeCount` 个节点,扩容流程状态将显示为部分成功 `PARTIAL_COMPLETED`。'."\n" - .'- 如果不设置该值,当ECS库存数量小于IncreaseNodeCount 时,扩容流程失败,状态为失败 `FAILED`。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'Promotions', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/Promotion', - ], - 'required' => false, - ], + 'schema' => ['description' => '其日期和时间信息以ISO 8601格式表示,例如:2023年1月1日为 2023-01-01。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', - 'description' => '返回数据。', + 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'OperationId' => [ - 'title' => '操作ID。', - 'description' => '操作ID。', - 'type' => 'string', - 'example' => 'op-13c37a77c505****', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + 'Data' => [ + 'description' => '任务详情。', + 'type' => 'object', + 'properties' => [ + 'AppName' => ['description' => '任务名称。', 'type' => 'string', 'example' => 'CREATE TABLE test...ranks=1 (Stage-1)'], + 'Ids' => [ + 'description' => '任务IDs,多个ID间使用英文逗号(,)分隔。', + 'type' => 'array', + 'items' => ['description' => 'YARN的任务ID。', 'type' => 'string', 'example' => 'application_1643475036865_******'], + 'example' => 'null', + ], + 'User' => ['description' => '任务提交用户名。', 'type' => 'string', 'example' => 'DW'], + 'StartTime' => ['description' => '任务提交时间,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1677465658275'], + 'EndTime' => ['description' => '任务结束时间,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1666213200000'], + 'Queue' => ['description' => '任务提交到YARN的队列。', 'type' => 'string', 'example' => 'DW'], + 'Type' => ['description' => '计算引擎类型。', 'type' => 'string', 'example' => 'SPARK'], + 'QuerySql' => ['description' => '任务提交的SQL语句,非SQL任务为空。', 'type' => 'string', 'example' => 'SELECT id, count(1) FROM test group by id;'], + 'Metrics' => [ + 'description' => '指标数据。', + 'type' => 'object', + 'properties' => [ + 'VcoreUtilization' => [ + 'description' => 'CPU使用率,同Linux Top的%CPU含义。', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '指标名称。', + 'type' => 'string', + 'enumValueTitles' => [], + 'example' => 'vcoreUtilization', + ], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '32.1'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of used vcore to total available cores'], + ], + ], + 'MemUtilization' => [ + 'description' => '内存使用率。', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '指标名称。', + 'type' => 'string', + 'enumValueTitles' => [], + 'example' => 'memUtilization', + ], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.82'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of used memory to total available memory'], + ], + ], + 'VcoreSeconds' => [ + 'description' => 'CPU使用量。', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '指标名称。', + 'type' => 'string', + 'enumValueTitles' => [], + 'example' => 'vcoreSeconds', + ], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '11123'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'VCores * Sec'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total vcore usage over time in seconds'], + ], + ], + 'MemSeconds' => [ + 'description' => '内存使用量。', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '指标名称。', + 'type' => 'string', + 'enumValueTitles' => [], + 'example' => 'memSeconds', + ], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '12312312'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB * Sec'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total memory usage over time in seconds'], + ], + ], + ], + ], + 'Analysis' => [ + 'description' => '任务分析。', + 'type' => 'object', + 'properties' => [ + 'Score' => ['description' => '任务评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '67'], + 'Suggestion' => ['description' => '任务运行建议。', 'type' => 'string', 'example' => '##### 当前节点:container'."\n" + .'##### 存在问题:'."\n" + .'最大内存利用率为7.75%,利用率较低'."\n" + ."\n\n" + .'尝试减小Tez Container内存,可通过hive.tez.container.size进行设置'."\n" + ."\n"], + ], + ], + ], ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'OperationDenied', - 'errorMessage' => 'The operation is invalid. %s', - ], - [ - 'errorCode' => 'OutOfStock', - 'errorMessage' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.', - ], - [ - 'errorCode' => 'QuotaExceeded', - 'errorMessage' => 'Request fail due to quota exceed. %s', - ], - [ - 'errorCode' => 'AccountException', - 'errorMessage' => 'Account exception. %s', - ], - [ - 'errorCode' => 'ConcurrentModification', - 'errorMessage' => 'The request on %s failed due to multiple requests to change this object were submitted simultaneously. Wait a few minutes and try again.', - ], - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '获取单个任务分析结果', + 'summary' => '通过EMR Doctor获取任务分析信息。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorApplication', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","errorExample":""},{"type":"xml","example":"<IncreaseNodesResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</RequestId>\\n <OperationId>64bedf6d-96e3-4780-95a0-4ad376ad****</OperationId>\\n</IncreaseNodesResponse>","errorExample":""}]', - 'title' => '扩容', - 'summary' => '对目标节点组执行扩容操作。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"AppName\\": \\"CREATE TABLE test...ranks=1 (Stage-1)\\",\\n \\"Ids\\": [\\n \\"application_1643475036865_******\\"\\n ],\\n \\"User\\": \\"DW\\",\\n \\"StartTime\\": 1677465658275,\\n \\"EndTime\\": 1666213200000,\\n \\"Queue\\": \\"DW\\",\\n \\"Type\\": \\"SPARK\\",\\n \\"QuerySql\\": \\"SELECT id, count(1) FROM test group by id;\\",\\n \\"Metrics\\": {\\n \\"VcoreUtilization\\": {\\n \\"Name\\": \\"vcoreUtilization\\",\\n \\"Value\\": 32.1,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Ratio of used vcore to total available cores\\"\\n },\\n \\"MemUtilization\\": {\\n \\"Name\\": \\"memUtilization\\",\\n \\"Value\\": 0.82,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Ratio of used memory to total available memory\\"\\n },\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\",\\n \\"Value\\": 11123,\\n \\"Unit\\": \\"VCores * Sec\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"Score\\": 67,\\n \\"Suggestion\\": \\"##### 当前节点:container\\\\n##### 存在问题:\\\\n最大内存利用率为7.75%,利用率较低\\\\n\\\\n\\\\n尝试减小Tez Container内存,可通过hive.tez.container.size进行设置\\\\n\\\\n\\"\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], - 'DecreaseNodes' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetDoctorComputeSummary' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '49020', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceS8IPKA', - ], + 'operationType' => 'get', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], - ], - [ - 'name' => 'NodeGroupId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '节点组ID。', - 'description' => '节点组ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ng-869471354ecd****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'DecreaseNodeCount', + 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '缩容节点数量。', - 'description' => '缩容节点数量。本次缩容节点数量。取值应小于当前节点组存活节点数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3', - ], + 'schema' => ['description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], [ - 'name' => 'NodeIds', + 'name' => 'ComponentInfo', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'title' => '节点ID列表。', - 'description' => '节点ID数组。数组元数个数N的取值范围:1~500。', - 'type' => 'array', - 'items' => [ - 'description' => '节点ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'i-bp1cudc25w2bfwl5****', + 'description' => '资源信息,用于过滤结果。', + 'type' => 'object', + 'properties' => [ + 'ComponentType' => ['description' => '过滤资源的类型。取值:'."\n" + .'- engine:通过引擎类型来过滤结果。'."\n" + .'- queue:通过队列来过滤结果。'."\n" + .'- cluster:展示整个集群结果。'."\n" + ."\n\n" + .'如果不填写,默认展示整个集群信息。', 'type' => 'string', 'required' => false, 'example' => 'engine'], + 'ComponentName' => ['description' => '根据ComponentType来设置特定过滤条件,如ComponentType为queue,就可以指定特定队列名称来获取特定队列资源使用情况。', 'type' => 'string', 'required' => false, 'example' => 'MAPREDUCE'], ], 'required' => false, - 'example' => '["i-bp1cudc25w2bfwl5****"]', - ], - ], - [ - 'name' => 'BatchInterval', - 'in' => 'query', - 'schema' => [ - 'title' => '各批次间的冷却时间。', - 'description' => '各批次间的冷却时间。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'BatchSize', - 'in' => 'query', - 'schema' => [ - 'title' => '单批次并发下线台数。', - 'description' => '单批次并发下线台数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, ], ], ], @@ -10468,109 +4177,165 @@ 200 => [ 'schema' => [ 'title' => '返回数据', - 'description' => '返回数据。', + 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'OperationId' => [ - 'title' => '操作ID', - 'description' => '操作ID', - 'type' => 'string', - 'example' => 'op-13c37a77c505****', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '44430037-E59A-3E66-A2B0-97D155346F22', + 'Data' => [ + 'description' => '资源使用详情。', + 'type' => 'object', + 'properties' => [ + 'Metrics' => [ + 'description' => '指标数据。', + 'type' => 'object', + 'properties' => [ + 'VcoreSeconds' => [ + 'description' => '资源CPU使用总量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'vcoreSeconds'."\n"], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1231412'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'VCores * Sec'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total vcore usage over time in seconds'."\n"], + ], + ], + 'MemSeconds' => [ + 'description' => '资源内存使用总量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'memSeconds'."\n"], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '12312312'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB * Sec'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total memory usage over time in seconds'."\n"], + ], + ], + 'VcoreUtilization' => [ + 'description' => '资源平均CPU使用率。同Linux Top的%CPU含义。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'vcoreUtilization'."\n"], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '32.1'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of used vcore to total available cores'."\n"], + ], + ], + 'MemUtilization' => [ + 'description' => '资源平均内存利用率。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'memUtilization'."\n"], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.82'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of used memory to total available memory'."\n"], + ], + ], + 'VcoreSecondsDayGrowthRatio' => [ + 'description' => '资源CPU使用总量日环比。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'vcoreSecondsDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.22'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Growth ratio of virtual core usage in seconds per day'], + ], + ], + 'MemSecondsDayGrowthRatio' => [ + 'description' => '资源内存使用总量日环比。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'memSecondsDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.36'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Growth ratio of memory usage in seconds per day'], + ], + ], + 'ReadSize' => [ + 'description' => '资源读取文件系统总量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'readSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '504888659968'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total cumulative size of data read in megabytes (MB)'], + ], + ], + 'WriteSize' => [ + 'description' => '资源写入文件系统总量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'writeSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '6294093393920'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total cumulative size of data written in megabytes (MB)'], + ], + ], + ], + ], + 'Analysis' => [ + 'description' => '资源分析。', + 'type' => 'object', + 'properties' => [ + 'HealthyJobCount' => ['description' => '健康任务总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'], + 'SubHealthyJobCount' => ['description' => '亚健康任务总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1123'], + 'UnhealthyJobCount' => ['description' => '不健康任务总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '23'], + 'NeedAttentionJobCount' => ['description' => '需要关注的任务总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '234'], + 'Score' => ['description' => '资源任务评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '73'], + 'ScoreDayGrowthRatio' => ['description' => '资源任务评分日环比。', 'type' => 'number', 'format' => 'float', 'example' => '0.02'], + ], + ], + ], ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'OperationDenied', - 'errorMessage' => 'The operation is invalid. %s', - ], - [ - 'errorCode' => 'ConcurrentModification', - 'errorMessage' => 'The request on %s failed due to multiple requests to change this object were submitted simultaneously. Wait a few minutes and try again.', - ], - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '获取集群单个资源使用结果', + 'summary' => '通过EMR Doctor获取集群单个资源使用结果。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorComputeSummary', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"44430037-E59A-3E66-A2B0-97D155346F22\\"\\n}","type":"json"}]', - 'title' => '缩容', - 'summary' => '对目标节点组执行缩容操作。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Metrics\\": {\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\\\n\\",\\n \\"Value\\": 1231412,\\n \\"Unit\\": \\"VCores * Sec\\\\n\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\\\n\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\\\n\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\\\n\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\\\n\\"\\n },\\n \\"VcoreUtilization\\": {\\n \\"Name\\": \\"vcoreUtilization\\\\n\\",\\n \\"Value\\": 32.1,\\n \\"Unit\\": \\"“”\\\\n\\",\\n \\"Description\\": \\"Ratio of used vcore to total available cores\\\\n\\"\\n },\\n \\"MemUtilization\\": {\\n \\"Name\\": \\"memUtilization\\\\n\\",\\n \\"Value\\": 0.82,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of used memory to total available memory\\\\n\\"\\n },\\n \\"VcoreSecondsDayGrowthRatio\\": {\\n \\"Name\\": \\"vcoreSecondsDayGrowthRatio\\",\\n \\"Value\\": 0.22,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Growth ratio of virtual core usage in seconds per day\\"\\n },\\n \\"MemSecondsDayGrowthRatio\\": {\\n \\"Name\\": \\"memSecondsDayGrowthRatio\\",\\n \\"Value\\": 0.36,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Growth ratio of memory usage in seconds per day\\"\\n },\\n \\"ReadSize\\": {\\n \\"Name\\": \\"readSize\\",\\n \\"Value\\": 504888659968,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total cumulative size of data read in megabytes (MB)\\"\\n },\\n \\"WriteSize\\": {\\n \\"Name\\": \\"writeSize\\",\\n \\"Value\\": 6294093393920,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total cumulative size of data written in megabytes (MB)\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HealthyJobCount\\": 3,\\n \\"SubHealthyJobCount\\": 1123,\\n \\"UnhealthyJobCount\\": 23,\\n \\"NeedAttentionJobCount\\": 234,\\n \\"Score\\": 73,\\n \\"ScoreDayGrowthRatio\\": 0.02\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], - 'ListNodes' => [ - 'summary' => '查询EMR集群节点列表。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetDoctorHBaseCluster' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10578,406 +4343,440 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceSNGGYA', - ], + 'operationType' => 'get', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], - ], - [ - 'name' => 'NextToken', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => '标记当前开始读取的位置,置空表示从头开始。', - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'MaxResults', + 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => '一次获取的最大记录数。取值范围:1~100。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => '日期。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], - [ - 'name' => 'NodeGroupIds', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '节点组ID列表。', - 'description' => '节点组ID列表。', - 'type' => 'array', - 'items' => [ - 'description' => '节点组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ng-869471354ecd****'."\n", + 'title' => '返回数据', + 'description' => '返回数据', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '返回数据。', + 'type' => 'object', + 'properties' => [ + 'Metrics' => [ + 'description' => '指标信息。', + 'type' => 'object', + 'properties' => [ + 'TableCount' => [ + 'description' => '表数量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tableCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of tables'], + ], + ], + 'TotalDataSize' => [ + 'description' => '集群大小。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '256'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total data size in megabytes (MB)'], + ], + ], + 'TotalReadRequest' => [ + 'description' => '总的读取请求次数。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalReadRequest'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '430'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total number of read requests'], + ], + ], + 'TotalWriteRequest' => [ + 'description' => '总的写入请求次数', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalWriteRequest'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '520'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total number of write requests'], + ], + ], + 'AvgLoad' => [ + 'description' => '平均负载。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'avgLoad'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '36.0'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The average load under normal working conditions'], + ], + ], + 'NormalAvgLoad' => [ + 'description' => '正常的平均负载。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'normalAvgLoad'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '526.4'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The average load under normal working conditions'], + ], + ], + 'RegionBalance' => [ + 'description' => 'region均衡度。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'regionBalance'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.0'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The ability to evenly distribute Regions on different RegionServer nodes'], + ], + ], + 'TotalRequest' => [ + 'description' => '集群请求总数。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalRequest'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '576'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total number of requests'], + ], + ], + 'RegionServerCount' => [ + 'description' => 'Region Server 数量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'regionServerCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of region servers count'], + ], + ], + 'RegionCount' => [ + 'description' => 'Region 数量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'regionCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '161'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of regions count'], + ], + ], + 'MemHeap' => [ + 'description' => '内存大小。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'memHeap'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '240'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Memory heap usage in megabytes (MB)'], + ], + ], + 'StoreFileCount' => [ + 'description' => 'store file个数。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'storeFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '298'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of store files'], + ], + ], + 'DailyReadRequest' => [ + 'description' => '单日的读请求数量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyReadRequest'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '430'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of read requests per day'], + ], + ], + 'DailyWriteRequest' => [ + 'description' => '单日的写请求数量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyWriteRequest'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '128'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of write requests per day'], + ], + ], + ], + ], + 'Analysis' => [ + 'description' => '分析结果。', + 'type' => 'object', + 'properties' => [ + 'HbaseScore' => ['description' => 'HBase 集群整体得分。', 'type' => 'integer', 'format' => 'int32', 'example' => '85'], + ], + ], + ], + ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', ], ], - [ - 'name' => 'NodeIds', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '节点ID列表。', - 'description' => '节点ID列表。', - 'type' => 'array', - 'items' => [ - 'description' => '节点ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'i-bp1cudc25w2bfwl5****'."\n", + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], + ], + 404 => [ + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], + ], + 503 => [ + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '获取 HBase 集群信息', + 'summary' => '获取 HBase 集群维度指标信息。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHBaseCluster', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'required' => false, - 'example' => 'c-b933c5aac8fe****', - 'maxItems' => 100, ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Metrics\\": {\\n \\"TableCount\\": {\\n \\"Name\\": \\"tableCount\\",\\n \\"Value\\": 10,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tables\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 256,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\"\\n },\\n \\"TotalReadRequest\\": {\\n \\"Name\\": \\"totalReadRequest\\",\\n \\"Value\\": 430,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of read requests\\"\\n },\\n \\"TotalWriteRequest\\": {\\n \\"Name\\": \\"totalWriteRequest\\",\\n \\"Value\\": 520,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of write requests\\"\\n },\\n \\"AvgLoad\\": {\\n \\"Name\\": \\"avgLoad\\",\\n \\"Value\\": 36,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The average load under normal working conditions\\"\\n },\\n \\"NormalAvgLoad\\": {\\n \\"Name\\": \\"normalAvgLoad\\",\\n \\"Value\\": 526.4,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The average load under normal working conditions\\"\\n },\\n \\"RegionBalance\\": {\\n \\"Name\\": \\"regionBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The ability to evenly distribute Regions on different RegionServer nodes\\"\\n },\\n \\"TotalRequest\\": {\\n \\"Name\\": \\"totalRequest\\",\\n \\"Value\\": 576,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of requests\\"\\n },\\n \\"RegionServerCount\\": {\\n \\"Name\\": \\"regionServerCount\\",\\n \\"Value\\": 6,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of region servers count\\"\\n },\\n \\"RegionCount\\": {\\n \\"Name\\": \\"regionCount\\",\\n \\"Value\\": 161,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of regions count\\"\\n },\\n \\"MemHeap\\": {\\n \\"Name\\": \\"memHeap\\",\\n \\"Value\\": 240,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Memory heap usage in megabytes (MB)\\"\\n },\\n \\"StoreFileCount\\": {\\n \\"Name\\": \\"storeFileCount\\",\\n \\"Value\\": 298,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of store files\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\",\\n \\"Value\\": 430,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of read requests per day\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\",\\n \\"Value\\": 128,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of write requests per day\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HbaseScore\\": 85\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + ], + 'GetDoctorHBaseRegion' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'NodeNames', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '节点名称列表。', - 'description' => '节点名称列表。', - 'type' => 'array', - 'items' => [ - 'description' => '节点名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'core1-1', - ], - 'required' => false, - 'example' => '20', - 'maxItems' => 100, - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], + ], + 'parameters' => [ [ - 'name' => 'PrivateIps', + 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '私网IP。', - 'description' => '私网IP。', - 'type' => 'array', - 'items' => [ - 'description' => '私网IP。', - 'type' => 'string', - 'required' => false, - 'example' => '10.10.10.8', - ], - 'required' => false, - 'example' => '["172.12.0.91"]', - 'maxItems' => 1, - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'PublicIps', + 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '公网IP。', - 'description' => '公网IP。', - 'type' => 'array', - 'items' => [ - 'description' => '公网IP。', - 'type' => 'string', - 'required' => false, - 'example' => '42.1.1.**', - ], - 'required' => false, - 'example' => '["120.13.14.38"]', - 'maxItems' => 1, - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'NodeStates', + 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '节点状态。', - 'description' => '节点状态。', - 'type' => 'array', - 'items' => [ - 'description' => '节点状态。取值范围:'."\n" - .'- Pending:创建中。'."\n" - .'- Starting:启动中。'."\n" - .'- Running:运行中。'."\n" - .'- Stopping:停止中。'."\n" - .'- Stopped:已停止。'."\n" - .'- Terminated:已终止。', - 'type' => 'string', - 'required' => false, - 'example' => 'Running', - ], - 'required' => false, - 'example' => '["CREATED"]', - 'maxItems' => 100, - ], + 'schema' => ['description' => '日期。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], [ - 'name' => 'Tags', + 'name' => 'HbaseRegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '标签列表。', - 'description' => '绑定的标签列表。', - 'type' => 'array', - 'items' => [ - 'description' => '标签。', - 'required' => false, - '$ref' => '#/components/schemas/Tag', - ], - 'required' => false, - 'maxItems' => 20, - ], + 'schema' => ['description' => 'Region ID。', 'type' => 'string', 'required' => true, 'example' => '67f6808f60a8c357103a3a95fe00610e'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', - 'description' => '返回数据。', + 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'Nodes' => [ - 'description' => '节点列表。', - 'type' => 'array', - 'items' => [ - 'description' => '节点信息。', - '$ref' => '#/components/schemas/Node', + 'Data' => [ + 'description' => '返回数据。', + 'type' => 'object', + 'properties' => [ + 'TableName' => ['description' => '表名称。', 'type' => 'string', 'example' => 'tb_item'], + 'RegionServerHost' => ['description' => 'RegionServer的Host。', 'type' => 'string', 'example' => 'emr-worker-2.cluster-20****'], + 'Metrics' => [ + 'description' => '指标信息。', + 'type' => 'object', + 'properties' => [ + 'TotalReadRequest' => [ + 'description' => '总的读取请求次数', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalReadRequest'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total read request'], + ], + ], + 'TotalWriteRequest' => [ + 'description' => '总的写入请求次数', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalWriteRequest'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total Write Request'], + ], + ], + 'StoreFileCount' => [ + 'description' => 'store file个数。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'storeFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of store file'], + ], + ], + 'DailyReadRequest' => [ + 'description' => '单日的读请求数量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyReadRequest '], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of read requests per day'."\n"], + ], + ], + 'DailyWriteRequest' => [ + 'description' => '单日的写请求数量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyWriteRequest '], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of write requests per day'."\n"], + ], + ], + ], + ], ], ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '下次开始读取的位置。返回空时表示数据已经读取完毕。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '本次请求所返回的最大记录条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '本次请求条件下的总记录数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '获取 HBase Region 信息', + 'summary' => '获取 HBase Region 信息。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHBaseRegion', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Nodes\\": [\\n {\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupType\\": \\"CORE\\",\\n \\"NodeId\\": \\"i-bp1cudc25w2bfwl5****\\",\\n \\"NodeName\\": \\"core1-1\\",\\n \\"PublicIp\\": \\"42.120.75.***\\",\\n \\"PrivateIp\\": \\"10.10.10.1\\",\\n \\"InstanceType\\": \\"ecs.g6e.xlarge\\",\\n \\"NodeState\\": \\"Running\\",\\n \\"MaintenanceStatus\\": \\"\\",\\n \\"ExpireTime\\": 1603728394857,\\n \\"AutoRenew\\": false,\\n \\"AutoRenewDuration\\": 1,\\n \\"AutoRenewDurationUnit\\": \\"Month\\",\\n \\"CreateTime\\": 0\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","errorExample":""},{"type":"xml","example":"<ListNodesResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</RequestId>\\n <MaxResults>20</MaxResults>\\n <NextToken>2</NextToken>\\n <TotalCount>1000</TotalCount>\\n <Nodes>\\n <NodeName>emr-header-1</NodeName>\\n <NodeId>i-bp1opd2qejvhsab****</NodeId>\\n <PublicIp>42.120.75.***</PublicIp>\\n <PrivateIp>10.10.10.1</PrivateIp>\\n <InstanceType>ecs.g6e.xlarge</InstanceType>\\n <NodeStatus>Running</NodeStatus>\\n <NodeGroupId>G-21E39B11837E****</NodeGroupId>\\n <NodeGroupType>CORE</NodeGroupType>\\n <StateChangeReason>手动重启</StateChangeReason>\\n </Nodes>\\n</ListNodesResponse>","errorExample":""}]', - 'title' => '查询节点', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TableName\\": \\"tb_item\\",\\n \\"RegionServerHost\\": \\"emr-worker-2.cluster-20****\\",\\n \\"Metrics\\": {\\n \\"TotalReadRequest\\": {\\n \\"Name\\": \\"totalReadRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total read request\\"\\n },\\n \\"TotalWriteRequest\\": {\\n \\"Name\\": \\"totalWriteRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total Write Request\\"\\n },\\n \\"StoreFileCount\\": {\\n \\"Name\\": \\"storeFileCount\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of store file\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of read requests per day\\\\n\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of write requests per day\\\\n\\"\\n }\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], - 'PutAutoScalingPolicy' => [ - 'summary' => '创建自定义弹性伸缩策略。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetDoctorHBaseRegionServer' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '145776', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceYE4TE8', - ], + 'operationType' => 'get', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'NodeGroupId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '节点组ID。', - 'description' => '节点组ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ng-869471354ecd****', - ], - ], - [ - 'name' => 'ScalingRules', + 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '弹性伸缩规则描述列表。', - 'description' => '弹性伸缩规则描述列表。数组元数个数N的取值范围:0~100。', - 'type' => 'array', - 'items' => [ - 'description' => '弹性伸缩规则。', - 'required' => false, - '$ref' => '#/components/schemas/ScalingRule', - ], - 'required' => false, - 'maxItems' => 100, - ], + 'schema' => ['description' => '日期。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], [ - 'name' => 'Constraints', + 'name' => 'RegionServerHost', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '最大最小值约束。', - 'description' => '节点组最大最小值约束。', - 'required' => false, - '$ref' => '#/components/schemas/ScalingConstraints', - ], + 'schema' => ['description' => 'RegionServer的Host。', 'type' => 'string', 'required' => true, 'example' => 'emr-worker-4.cluster-20****'."\n"], ], ], 'responses' => [ @@ -10987,98 +4786,170 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + 'Data' => [ + 'description' => '返回数据。', + 'type' => 'object', + 'properties' => [ + 'Metrics' => [ + 'description' => '指标信息。', + 'type' => 'object', + 'properties' => [ + 'RegionCount' => [ + 'description' => 'Region的数量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'regionCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '15'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of regions count'], + ], + ], + 'TotalReadRequest' => [ + 'description' => '累积的读请求数量', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalReadRequest'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total number of read requests'], + ], + ], + 'TotalWriteRequest' => [ + 'description' => '累积的写请求数量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalWriteRequest '], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total number of write requests'], + ], + ], + 'TotalRequest' => [ + 'description' => '累积的总请求数量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalRequest'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total number of requests'], + ], + ], + 'DailyReadRequest' => [ + 'description' => '单日的读请求数量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyReadRequest'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of read requests per day'], + ], + ], + 'DailyWriteRequest' => [ + 'description' => '单日的写请求数量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyWriteRequest'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of write requests per day'], + ], + ], + 'AvgGc' => [ + 'description' => '平均GC时间。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'avgGc'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '42.3'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The efficiency of garbage collection in the system'], + ], + ], + 'CacheRatio' => [ + 'description' => '缓存比例。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'cacheRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '95.3'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of the BlockCache memory size'], + ], + ], + 'DailyReadRequestDayGrowthRatio' => [ + 'description' => '单日读请求数量的增长率。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyReadRequestDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.0'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The growth rate of daily read request quantity.'."\n"], + ], + ], + 'DailyWriteRequestDayGrowthRatio' => [ + 'description' => '单日写请求数量的增长率。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyWriteRequestDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.0'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The growth rate of daily write request quantity.'], + ], + ], + ], + ], + ], ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NotFound.Cluster', - 'errorMessage' => 'Cluster does not exist.', - ], - [ - 'errorCode' => 'InvokeError.PutAutoScalingPolicy', - 'errorMessage' => 'Put auto scaling policy failed:%s.', - ], - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '获取 HBase ReagionServer 信息', + 'summary' => '获取 HBase ReagionServer 信息。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHBaseRegionServer', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '创建自定义弹性伸缩策略', - 'description' => '配置弹性伸缩策略', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Metrics\\": {\\n \\"RegionCount\\": {\\n \\"Name\\": \\"regionCount\\",\\n \\"Value\\": 15,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of regions count\\"\\n },\\n \\"TotalReadRequest\\": {\\n \\"Name\\": \\"totalReadRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of read requests\\"\\n },\\n \\"TotalWriteRequest\\": {\\n \\"Name\\": \\"totalWriteRequest\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of write requests\\"\\n },\\n \\"TotalRequest\\": {\\n \\"Name\\": \\"totalRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of requests\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of read requests per day\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of write requests per day\\"\\n },\\n \\"AvgGc\\": {\\n \\"Name\\": \\"avgGc\\",\\n \\"Value\\": 42.3,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The efficiency of garbage collection in the system\\"\\n },\\n \\"CacheRatio\\": {\\n \\"Name\\": \\"cacheRatio\\",\\n \\"Value\\": 95.3,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of the BlockCache memory size\\"\\n },\\n \\"DailyReadRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyReadRequestDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The growth rate of daily read request quantity.\\\\n\\"\\n },\\n \\"DailyWriteRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyWriteRequestDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The growth rate of daily write request quantity.\\"\\n }\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], - 'PutManagedScalingPolicy' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'GetDoctorHBaseTable' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11087,46 +4958,32 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '235212', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceB95X9C', - ], + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'Constraints', + 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => '集群最大最小值约束。', - 'required' => false, - '$ref' => '#/components/schemas/ManagedScalingConstraints', - ], + 'schema' => ['description' => '日期。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], + ], + [ + 'name' => 'TableName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => '表名。', 'type' => 'string', 'required' => true, 'example' => 'namespace1:tb_item'], ], ], 'responses' => [ @@ -11136,94 +4993,338 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + 'Data' => [ + 'description' => '返回数据。', + 'type' => 'object', + 'properties' => [ + 'Metrics' => [ + 'description' => '指标信息。', + 'type' => 'object', + 'properties' => [ + 'RegionServerCount' => [ + 'description' => 'RegionServer数量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'regionServerCount'], + 'Value' => ['description' => '使用量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of region servers count'], + ], + ], + 'RegionCount' => [ + 'description' => 'region数量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'regionCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of regions count'], + ], + ], + 'TableSize' => [ + 'description' => '表大小。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tableSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => 'tb_item'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the table'], + ], + ], + 'StoreFileCount' => [ + 'description' => 'store file个数。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'storeFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of store files'], + ], + ], + 'DailyReadRequest' => [ + 'description' => '单日的读请求数量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '项目名称。', 'type' => 'string', 'example' => 'dailyReadRequest'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'test-update'], + ], + ], + 'DailyWriteRequest' => [ + 'description' => '单日的写请求数量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyWriteRequest'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of write requests per day'], + ], + ], + 'RegionBalance' => [ + 'description' => 'region均衡度。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'regionBalance'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.0'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The ability to evenly distribute Regions on different RegionServer nodes'], + ], + ], + 'RequestBalance' => [ + 'description' => '请求均衡度。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'requestBalance'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.0'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The balance of distributing requests'], + ], + ], + 'HotDataSize' => [ + 'description' => '热数据大小。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the hot data size'], + ], + ], + 'WarmDataSize' => [ + 'description' => '温数据大小。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSize'], + 'Value' => ['description' => '使用率。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the warm data size'."\n"], + ], + ], + 'ColdDataSize' => [ + 'description' => '冷数据大小。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the cold data size'], + ], + ], + 'FreezeDataSize' => [ + 'description' => '极冷数据大小。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the freeze data size'], + ], + ], + 'WarmConfigDay' => [ + 'description' => '热数据访问天数配置。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmConfigDay'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the warm data size'], + ], + ], + 'ColdConfigDay' => [ + 'description' => '冷数据访问天数配置。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldConfigDay'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'day'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Cold config day'], + ], + ], + 'FreezeConfigDay' => [ + 'description' => '冷数据访问天数配置。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeConfigDay'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'day'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Freeze config day'."\n"], + ], + ], + 'Locality' => [ + 'description' => '本地化率。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'locality'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The locality of data'], + ], + ], + 'ColdAccessDay' => [ + 'description' => '表多少天没被访问。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldAccessDay'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'day'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Cold access day'], + ], + ], + 'RegionCountDayGrowthRatio' => [ + 'description' => 'region个数日增量比例。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'regionCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.8'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of region count'], + ], + ], + 'TableSizeDayGrowthRatio' => [ + 'description' => '表大小日增量比例。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tableSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of table size'], + ], + ], + 'StoreFileCountDayGrowthRatio' => [ + 'description' => 'store file个数日增量比例。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'storeFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of store file count'], + ], + ], + 'DailyReadRequestDayGrowthRatio' => [ + 'description' => '单日读请求日增量比例。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyReadRequestDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of table size'], + ], + ], + 'DailyWriteRequestDayGrowthRatio' => [ + 'description' => '单日写请求日增量比例。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyWriteRequestDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The balance of distributing requests'], + ], + ], + 'ReadRequestBalance' => [ + 'description' => '读均衡度。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'readRequestBalance'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The balance of distributing read requests'], + ], + ], + 'WriteRequestBalance' => [ + 'description' => '写均衡度。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'writeRequestBalance'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The balance of distributing write requests'], + ], + ], + ], + ], + 'Analysis' => [ + 'description' => '诊断结果。', + 'type' => 'object', + 'properties' => [ + 'TableScore' => ['description' => '表打分。', 'type' => 'integer', 'format' => 'int32', 'example' => '85'], + 'RequestUnbalanceSuggestion' => ['description' => '读写不均衡描述。', 'type' => 'string', 'example' => 'read request unbalance is <p class=\'report-detail-topic\'>表分区总数量为14,分区平均读请求数量为5032486,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 4ac818a3ab3fd727490a5b4d4dac7667 读请求数量: 15485664</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 021b387ae92959def65041e25eade3aa 读请求数量: 7731980</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d58f33abfe857e5fd0045eaa31c93df8 读请求数量: 7705237</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 4ca84757a7d0948b8552cfeebefa25a9 读请求数量: 7703492</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 1018192dae42995fc75c6d5b5981a9b7 读请求数量: 7695284</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>'], + 'RequestHotspotRegionList' => [ + 'description' => '读写热点region列表。', + 'type' => 'array', + 'items' => ['description' => '读写热点region。', 'type' => 'string', 'example' => '5f019e8cf7c16be9768634cb99ccbe05'], + 'example' => 'null', + ], + 'ReadRequestUnbalanceSuggestion' => ['description' => '读不均衡描述。', 'type' => 'string', 'example' => 'read request unbalance is <p class=\'report-detail-topic\'>表分区总数量为14,分区平均读请求数量为5032486,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 4ac818a3ab3fd727490a5b4d4dac7667 读请求数量: 15485664</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 021b387ae92959def65041e25eade3aa 读请求数量: 7731980</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d58f33abfe857e5fd0045eaa31c93df8 读请求数量: 7705237</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 4ca84757a7d0948b8552cfeebefa25a9 读请求数量: 7703492</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 1018192dae42995fc75c6d5b5981a9b7 读请求数量: 7695284</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>'], + 'ReadRequestHotspotRegionList' => [ + 'description' => '读热点hotspot regions列表。', + 'type' => 'array', + 'items' => ['description' => '读热点hotspot regions列表。', 'type' => 'string', 'example' => '5f019e8cf7c16be9768634cb99ccbe05'], + 'example' => 'null', + ], + 'WriteRequestUnbalanceSuggestion' => ['description' => '写不均衡度描述。', 'type' => 'string', 'example' => 'write request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均写请求数量为769954,以下分区存在写请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 4a938c08750869c47b7a92edeeec2ccc 写请求数量: 2115051</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: b4d21974df92bdf3589e63e4da1fc923 写请求数量: 1592509</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 25eb6717470f4ddbabe9187ff0fc0cb3 写请求数量: 1585420</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>'], + 'WriteRequestHotspotRegionList' => [ + 'description' => '写热点hotspot regions列表。', + 'type' => 'array', + 'items' => ['description' => '写热点hotspot regions。', 'type' => 'string', 'example' => '5f019e8cf7c16be9768634cb99ccbe05'], + 'example' => 'null', + ], + ], + ], + ], ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '获取 HBase Table 信息', + 'summary' => '获取 HBase Table 信息。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHBaseTable', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '创建托管伸缩策略', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Metrics\\": {\\n \\"RegionServerCount\\": {\\n \\"Name\\": \\"regionServerCount\\",\\n \\"Value\\": 10,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of region servers count\\"\\n },\\n \\"RegionCount\\": {\\n \\"Name\\": \\"regionCount\\",\\n \\"Value\\": 10,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of regions count\\"\\n },\\n \\"TableSize\\": {\\n \\"Name\\": \\"tableSize\\",\\n \\"Value\\": 0,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Size of the table\\"\\n },\\n \\"StoreFileCount\\": {\\n \\"Name\\": \\"storeFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of store files\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"test-update\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of write requests per day\\"\\n },\\n \\"RegionBalance\\": {\\n \\"Name\\": \\"regionBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The ability to evenly distribute Regions on different RegionServer nodes\\"\\n },\\n \\"RequestBalance\\": {\\n \\"Name\\": \\"requestBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing requests\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the hot data size\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Size of the cold data size\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the freeze data size\\"\\n },\\n \\"WarmConfigDay\\": {\\n \\"Name\\": \\"warmConfigDay\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\"\\n },\\n \\"ColdConfigDay\\": {\\n \\"Name\\": \\"coldConfigDay\\",\\n \\"Value\\": 10,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Cold config day\\"\\n },\\n \\"FreezeConfigDay\\": {\\n \\"Name\\": \\"freezeConfigDay\\",\\n \\"Value\\": 10,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Freeze config day\\\\n\\"\\n },\\n \\"Locality\\": {\\n \\"Name\\": \\"locality\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The locality of data\\"\\n },\\n \\"ColdAccessDay\\": {\\n \\"Name\\": \\"coldAccessDay\\",\\n \\"Value\\": 3,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Cold access day\\"\\n },\\n \\"RegionCountDayGrowthRatio\\": {\\n \\"Name\\": \\"regionCountDayGrowthRatio\\",\\n \\"Value\\": 0.8,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of region count\\"\\n },\\n \\"TableSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"tableSizeDayGrowthRatio\\",\\n \\"Value\\": 1.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of table size\\"\\n },\\n \\"StoreFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"storeFileCountDayGrowthRatio\\",\\n \\"Value\\": 1.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of store file count\\"\\n },\\n \\"DailyReadRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyReadRequestDayGrowthRatio\\",\\n \\"Value\\": 1.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of table size\\"\\n },\\n \\"DailyWriteRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyWriteRequestDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing requests\\"\\n },\\n \\"ReadRequestBalance\\": {\\n \\"Name\\": \\"readRequestBalance\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing read requests\\"\\n },\\n \\"WriteRequestBalance\\": {\\n \\"Name\\": \\"writeRequestBalance\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing write requests\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"TableScore\\": 85,\\n \\"RequestUnbalanceSuggestion\\": \\"read request unbalance is <p class=\'report-detail-topic\'>表分区总数量为14,分区平均读请求数量为5032486,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 4ac818a3ab3fd727490a5b4d4dac7667 读请求数量: 15485664</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 021b387ae92959def65041e25eade3aa 读请求数量: 7731980</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d58f33abfe857e5fd0045eaa31c93df8 读请求数量: 7705237</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 4ca84757a7d0948b8552cfeebefa25a9 读请求数量: 7703492</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 1018192dae42995fc75c6d5b5981a9b7 读请求数量: 7695284</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"RequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ],\\n \\"ReadRequestUnbalanceSuggestion\\": \\"read request unbalance is <p class=\'report-detail-topic\'>表分区总数量为14,分区平均读请求数量为5032486,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 4ac818a3ab3fd727490a5b4d4dac7667 读请求数量: 15485664</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 021b387ae92959def65041e25eade3aa 读请求数量: 7731980</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d58f33abfe857e5fd0045eaa31c93df8 读请求数量: 7705237</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 4ca84757a7d0948b8552cfeebefa25a9 读请求数量: 7703492</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 1018192dae42995fc75c6d5b5981a9b7 读请求数量: 7695284</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"ReadRequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ],\\n \\"WriteRequestUnbalanceSuggestion\\": \\"write request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均写请求数量为769954,以下分区存在写请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 4a938c08750869c47b7a92edeeec2ccc 写请求数量: 2115051</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: b4d21974df92bdf3589e63e4da1fc923 写请求数量: 1592509</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 25eb6717470f4ddbabe9187ff0fc0cb3 写请求数量: 1585420</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"WriteRequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ]\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], - 'GetAutoScalingPolicy' => [ - 'summary' => '查看自定义弹性伸缩策略。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetDoctorHDFSCluster' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11232,49 +5333,26 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '132560', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceB95X9C', - ], + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'NodeGroupId', + 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '节点组ID。', - 'description' => '节点组ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ng-869471354ecd****', - ], + 'schema' => ['description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], ], 'responses' => [ @@ -11284,197 +5362,497 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'ScalingPolicy' => [ - 'description' => '弹性伸缩策略。', + 'Data' => [ + 'description' => 'HDFS分析数据。', 'type' => 'object', 'properties' => [ - 'NodeGroupId' => [ - 'title' => '节点组ID。', - 'description' => '节点组ID。', - 'type' => 'string', - 'example' => 'ng-869471354ecd****', - ], - 'ClusterId' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'example' => 'c-b933c5aac8fe****', - ], - 'ScalingRules' => [ - 'title' => '伸缩规则列表', - 'description' => '伸缩规则列表', - 'type' => 'array', - 'items' => [ - 'description' => '伸缩规则列表。', - 'type' => 'object', - 'properties' => [ - 'RuleName' => [ - 'title' => '弹性伸缩规则名称。', - 'description' => '弹性伸缩规则名称。', - 'type' => 'string', - 'example' => 'scaling-out-memory', - ], - 'TriggerType' => [ - 'title' => '伸缩规则类型。', - 'description' => '伸缩规则类型。取值范围:'."\n" - .'- TIME_TRIGGER:按时间伸缩。'."\n" - .'- METRICS_TRIGGER:按负载伸缩。', - 'type' => 'string', - 'example' => 'TIME_TRIGGER', - ], - 'ActivityType' => [ - 'title' => '伸缩类型。', - 'description' => '伸缩活动类型。取值范围:'."\n" - .'- SCALE_OUT:扩容。'."\n" - .'- SCALE_IN:缩容。', - 'type' => 'string', - 'example' => 'SCALE_OUT', - ], - 'AdjustmentType' => [ - 'title' => '调整类型。', - 'description' => '调整类型。', - 'type' => 'string', - 'example' => 'CHANGE_IN_CAPACITY', - ], - 'AdjustmentValue' => [ - 'title' => '调整值。', - 'description' => '调整值。需要为正数,代表需要扩容或者缩容的实例数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'TimeTrigger' => [ - 'title' => '按照时间伸缩描述。', - 'description' => '按照时间伸缩描述。', - '$ref' => '#/components/schemas/TimeTrigger', - ], - 'MetricsTrigger' => [ - 'title' => '按照负载伸缩描述。', - 'description' => '按照负载伸缩描述。', - '$ref' => '#/components/schemas/MetricsTrigger', - ], - 'CollationTimeZone' => [ - 'title' => '时区信息', - 'description' => '时区信息', - '$ref' => '#/components/schemas/CollationTimeZone', + 'Metrics' => [ + 'description' => '指标信息。', + 'type' => 'object', + 'properties' => [ + 'LargeFileCount' => [ + 'description' => '大文件个数。大文件指的是1 GB以上大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of large files'], + ], + ], + 'MediumFileCount' => [ + 'description' => '中文件个数。中文件指的是128 MB以上,1 GB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '234'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of medium files'], + ], + ], + 'SmallFileCount' => [ + 'description' => '小文件个数。小文件指的是10 MB以上,128 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '12345'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of small files'], + ], + ], + 'TinyFileCount' => [ + 'description' => '极小文件个数。极小文件指的是0 MB以上,10 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '232131'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of tiny files'], + ], + ], + 'EmptyFileCount' => [ + 'description' => '空文件个数。空文件指的是0 MB大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '15595897'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of empty files'], + ], + ], + 'TotalFileCount' => [ + 'description' => '总文件个数。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '51683279'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of total files'], + ], + ], + 'HotDataSize' => [ + 'description' => '热数据的数据量大小。热数据指的是7日内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '6701531944206'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the hot data size'], + ], + ], + 'WarmDataSize' => [ + 'description' => '温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '4062349775577'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the warm data size'], + ], + ], + 'ColdDataSize' => [ + 'description' => '冷数据的数据量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '5570958082267'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the cold data size'], + ], + ], + 'FreezeDataSize' => [ + 'description' => '极冷数据的数据量大小。极冷数据指的是90日以内都没有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1231312431'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the freeze data size'], + ], + ], + 'TotalDataSize' => [ + 'description' => '总数据量大小。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '62086342083623'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total data size in megabytes (MB)'], + ], + ], + 'LargeFileRatio' => [ + 'description' => '大文件个数占比。大文件指的是1 GB以上大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.22'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of large files'], + ], + ], + 'MediumFileRatio' => [ + 'description' => '中文件个数占比。中文件指的是128 MB以上,1 GB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.21'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of medium files'], + ], + ], + 'SmallFileRatio' => [ + 'description' => '小文件个数占比。小文件指的是10 MB以上,128 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.19'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of small files'], + ], + ], + 'TinyFileRatio' => [ + 'description' => '极小文件个数占比。极小文件指的是0 MB以上,10 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.19'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of tiny files'], + ], + ], + 'EmptyFileRatio' => [ + 'description' => '空文件个数占比。空文件指的是0 MB大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.3'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of empty files'], + ], + ], + 'HotDataRatio' => [ + 'description' => '热数据的数据量大小占比。热数据指的是7日内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.22'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Hot data ratio'], + ], + ], + 'WarmDataRatio' => [ + 'description' => '温数据的数据量大小占比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.12'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of warm data'], + ], + ], + 'ColdDataRatio' => [ + 'description' => '冷数据的数据量大小占比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Cold data ratio'], + ], + ], + 'FreezeDataRatio' => [ + 'description' => '极冷数据的数据量大小占比。极冷数据指的是90日以内都没有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.12'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of freeze data'], + ], + ], + 'TotalFileDayGrowthCount' => [ + 'description' => '总文件个数日增量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '27809'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of total files'], + ], + ], + 'LargeFileDayGrowthCount' => [ + 'description' => '大文件个数日增量。大文件指的是1 GB以上大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of large files'], + ], + ], + 'MediumFileDayGrowthCount' => [ + 'description' => '中文件个数增量。比中文件指的是128 MB以上,1 GB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '176'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of medium files'], + ], + ], + 'SmallFileDayGrowthCount' => [ + 'description' => '小文件个数日增量。小文件指的是10 MB以上,128 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '12321'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of small files'], + ], + ], + 'TinyFileDayGrowthCount' => [ + 'description' => '极小文件个数日增量。极小文件指的是0 MB以上,10 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '-123'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of tiny files'], + ], + ], + 'EmptyFileDayGrowthCount' => [ + 'description' => '空文件个数日增量。空文件指的是0 MB大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '114'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of empty files'], + ], + ], + 'HotDataDayGrowthSize' => [ + 'description' => '热数据的数据量日增量大小。热数据指的是7日内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '123154'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of hot data'], + ], + ], + 'WarmDataDayGrowthSize' => [ + 'description' => '温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '-64806998319'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of warm data'], + ], + ], + 'ColdDataDayGrowthSize' => [ + 'description' => '冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '-182636577752'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of cold data'], + ], + ], + 'FreezeDataDayGrowthSize' => [ + 'description' => '极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '-167683929450'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of freeze data'], + ], + ], + 'TotalDataDayGrowthSize' => [ + 'description' => '全部数据的数据量日增量大小。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '256482228248'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of total data'], + ], + ], + 'TotalFileCountDayGrowthRatio' => [ + 'description' => '总文件个数日环比。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.02'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total files'], + ], + ], + 'LargeFileCountDayGrowthRatio' => [ + 'description' => '大文件个数日环比。大文件指的是1 GB以上大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.39'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of large files'], + ], + ], + 'MediumFileCountDayGrowthRatio' => [ + 'description' => '中文件个数日环比。比中文件指的是128 MB以上,1 GB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.19'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of medium files'], + ], + ], + 'SmallFileCountDayGrowthRatio' => [ + 'description' => '小文件个数日环比。小文件指的是10 MB以上,128 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.02'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of small files'], + ], + ], + 'TinyFileCountDayGrowthRatio' => [ + 'description' => '极小文件个数日环比。极小文件指的是0 MB以上,10 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.003'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of tiny files'], + ], + ], + 'EmptyFileCountDayGrowthRatio' => [ + 'description' => '空文件个数日环比。空文件指的是0 MB大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.005'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of empty files'], + ], + ], + 'HotDataSizeDayGrowthRatio' => [ + 'description' => '热数据的数据量大小日环比。热数据指的是7日内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.1114'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of hot data size'], + ], + ], + 'WarmDataSizeDayGrowthRatio' => [ + 'description' => '温数据的数据量大小日环比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '-0.015'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of warm data size'], + ], + ], + 'ColdDataSizeDayGrowthRatio' => [ + 'description' => '冷数据的数据量大小日环比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '-0.03'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of cold data size'], + ], + ], + 'FreezeDataSizeDayGrowthRatio' => [ + 'description' => '极冷数据的数据量大小日环比。极冷数据指的是90日以内都没有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '-0.09'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of freeze data size'], + ], + ], + 'TotalDataSizeDayGrowthRatio' => [ + 'description' => '总数据量大小日环比。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.14'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total data size'], ], ], ], ], - 'ScalingPolicyId' => [ - 'title' => '伸缩策略ID。', - 'description' => '伸缩策略ID。', - 'type' => 'string', - 'example' => 'asp-asduwe23znl***', - ], - 'Constraints' => [ - 'title' => '最大最小值约束', - 'description' => '节点组的节点数最大最小值约束。', + 'Analysis' => [ + 'description' => '分析结果。', 'type' => 'object', 'properties' => [ - 'MaxCapacity' => [ - 'title' => '最大值', - 'description' => '节点组最大节点数。'."\n" - .'默认值:2000。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2000', - ], - 'MinCapacity' => [ - 'title' => '最小值', - 'description' => '节点组最小节点数。'."\n" - .'默认值:0。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], + 'HdfsScore' => ['description' => 'HDFS整体评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '55'], ], ], ], ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '获取HDFS分析结果', + 'summary' => '通过EMR Doctor获取集群HDFS数据分析结果。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHDFSCluster', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingPolicy\\": {\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"ScalingRules\\": [\\n {\\n \\"RuleName\\": \\"scaling-out-memory\\",\\n \\"TriggerType\\": \\"TIME_TRIGGER\\",\\n \\"ActivityType\\": \\"SCALE_OUT\\",\\n \\"AdjustmentType\\": \\"CHANGE_IN_CAPACITY\\",\\n \\"AdjustmentValue\\": 100,\\n \\"TimeTrigger\\": {\\n \\"LaunchTime\\": \\"\\",\\n \\"StartTime\\": 1639714800000,\\n \\"EndTime\\": 1639714800000,\\n \\"LaunchExpirationTime\\": 600,\\n \\"RecurrenceType\\": \\"WEEKLY\\",\\n \\"RecurrenceValue\\": \\"MON,FRI,SUN\\"\\n },\\n \\"MetricsTrigger\\": {\\n \\"TimeWindow\\": 30,\\n \\"EvaluationCount\\": 2,\\n \\"CoolDownInterval\\": 300,\\n \\"TimeConstraints\\": [\\n {\\n \\"StartTime\\": \\"06:00:00\\",\\n \\"EndTime\\": \\"23:59:59\\"\\n }\\n ],\\n \\"ConditionLogicOperator\\": \\"Or\\",\\n \\"Conditions\\": [\\n {\\n \\"MetricName\\": \\"yarn_resourcemanager_root_availablememoryusage\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"Statistics\\": \\"AVG\\",\\n \\"ComparisonOperator\\": \\"LT\\",\\n \\"Threshold\\": 12.5\\n }\\n ]\\n },\\n \\"CollationTimeZone\\": {\\n \\"TimeZone\\": \\"Asia/Shanghai\\",\\n \\"CurrentTimeOffset\\": \\"UTC+08:00\\"\\n }\\n }\\n ],\\n \\"ScalingPolicyId\\": \\"asp-asduwe23znl***\\",\\n \\"Constraints\\": {\\n \\"MaxCapacity\\": 2000,\\n \\"MinCapacity\\": 0\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '查看自定义弹性伸缩策略', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Metrics\\": {\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of large files\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 234,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of medium files\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 12345,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of small files\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 232131,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of tiny files\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 15595897,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of empty files\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 51683279,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of total files\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 6701531944206,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the hot data size\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 4062349775577,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 5570958082267,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the cold data size\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1231312431,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the freeze data size\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 62086342083623,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.22,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of large files\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.21,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of medium files\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.19,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of small files\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.19,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of tiny files\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\",\\n \\"Value\\": 0.3,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of empty files\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\",\\n \\"Value\\": 0.22,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Hot data ratio\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.12,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of warm data\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Cold data ratio\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.12,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of freeze data\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 27809,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Day growth count of total files\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 2,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Day growth count of large files\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 176,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of medium files\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 12321,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of small files\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": -123,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of tiny files\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": 114,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of empty files\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 123154,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of hot data\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": -64806998319,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of warm data\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": -182636577752,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of cold data\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": -167683929450,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of freeze data\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 256482228248,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of total data\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of total files\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.39,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of large files\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.19,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of small files\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.003,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.005,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.1114,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.015,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.03,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.09,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.14,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HdfsScore\\": 55\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], - 'GetManagedScalingPolicy' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'GetDoctorHDFSDirectory' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11483,35 +5861,32 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '235207', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceB95X9C', - ], + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], + ], + [ + 'name' => 'DirPath', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => '目录名称。目录不超过5级。', 'type' => 'string', 'required' => true, 'example' => '/tmp/test'], ], ], 'responses' => [ @@ -11521,189 +5896,433 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'ScalingPolicy' => [ - 'description' => '弹性伸缩策略。', + 'Data' => [ + 'description' => 'HDFS目录分析数据。', 'type' => 'object', 'properties' => [ - 'ClusterId' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'example' => 'c-b933c5aac8fe****', - ], - 'ScalingPolicyId' => [ - 'title' => '伸缩策略ID。', - 'description' => '伸缩策略ID。', - 'type' => 'string', - 'example' => 'asp-asduwe23znl***', - ], - 'Constraints' => [ - 'title' => '最大最小值约束', - 'description' => '最大最小值约束。', + 'Depth' => ['description' => '目录层级。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'User' => ['description' => '目录属主。', 'type' => 'string', 'example' => 'DW'], + 'Group' => ['description' => '目录属组。', 'type' => 'string', 'example' => 'DW'], + 'Metrics' => [ + 'description' => '指标信息。', 'type' => 'object', 'properties' => [ - 'MaxCapacity' => [ - 'title' => '最大值', - 'description' => '最大值。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'MinCapacity' => [ - 'title' => '最小值', - 'description' => '最小值。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'MaxOnDemandCapacity' => [ - 'title' => '最大按量数量', - 'description' => '按量付费Task节点的最大数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', + 'TotalFileCount' => [ + 'description' => '总文件个数。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '51683279'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of total files'."\n"], + ], + ], + 'LargeFileCount' => [ + 'description' => '大文件个数。大文件指的是1 GB以上大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of large files'."\n"], + ], + ], + 'MediumFileCount' => [ + 'description' => '中文件个数。中文件指的是128 MB以上,1 GB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '234'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of medium files'."\n"], + ], + ], + 'SmallFileCount' => [ + 'description' => '小文件个数。小文件指的是10 MB以上,128 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '12345'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of small files'."\n"], + ], + ], + 'TinyFileCount' => [ + 'description' => '极小文件个数。极小文件指的是0 MB以上,10 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '232131'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of tiny files'."\n"], + ], + ], + 'EmptyFileCount' => [ + 'description' => '空文件个数。空文件指的是0 MB大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '15595897'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of empty files'."\n"], + ], + ], + 'HotDataSize' => [ + 'description' => '热数据的数据量大小。热数据指的是7日内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '6701531944206'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the hot data size'."\n"], + ], + ], + 'WarmDataSize' => [ + 'description' => '温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '4062349775577'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the warm data size'], + ], + ], + 'ColdDataSize' => [ + 'description' => '冷数据的数据量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '5570958082267'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the cold data size'."\n"], + ], + ], + 'FreezeDataSize' => [ + 'description' => '极冷数据的数据量大小。极冷数据指的是90日以内都没有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1231312431'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the freeze data size'."\n"], + ], + ], + 'TotalDataSize' => [ + 'description' => '总数据量大小。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSize'."\n"], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '62086342083623'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total data size in megabytes (MB)'."\n"], + ], + ], + 'TotalFileDayGrowthCount' => [ + 'description' => '总文件个数日增量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '27809'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of total files'."\n"], + ], + ], + 'LargeFileDayGrowthCount' => [ + 'description' => '大文件个数日增量。大文件指的是1 GB以上大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of large files'."\n"], + ], + ], + 'MediumFileDayGrowthCount' => [ + 'description' => '中文件个数增量。比中文件指的是128 MB以上,1 GB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '176'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of medium files'."\n"], + ], + ], + 'SmallFileDayGrowthCount' => [ + 'description' => '小文件个数日增量。小文件指的是10 MB以上,128 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '12345'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of small files'."\n"], + ], + ], + 'TinyFileDayGrowthCount' => [ + 'description' => '极小文件个数日增量。极小文件指的是0 MB以上,10 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '-123'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of tiny files'."\n"], + ], + ], + 'EmptyFileDayGrowthCount' => [ + 'description' => '空文件个数日增量。空文件指的是0 MB大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileDayGrowthCount'."\n"], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '114'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of empty files'."\n"], + ], + ], + 'HotDataDayGrowthSize' => [ + 'description' => '热数据的数据量日增量大小。热数据指的是7日内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '123154'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of hot data'."\n"], + ], + ], + 'WarmDataDayGrowthSize' => [ + 'description' => '温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '-64806998319'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of warm data'."\n"], + ], + ], + 'ColdDataDayGrowthSize' => [ + 'description' => '冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '-182636577752'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of cold data'."\n"], + ], + ], + 'FreezeDataDayGrowthSize' => [ + 'description' => '极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '-167683929450'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of freeze data'."\n"], + ], + ], + 'TotalDataDayGrowthSize' => [ + 'description' => '全部数据的数据量日增量大小。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '256482228248'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of total data'."\n"], + ], + ], + 'TotalFileCountDayGrowthRatio' => [ + 'description' => '总文件个数日环比。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCountDayGrowthRatio'."\n"], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.02'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total files'."\n"], + ], + ], + 'LargeFileCountDayGrowthRatio' => [ + 'description' => '大文件个数日环比。大文件指的是1 GB以上大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.39'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of large files'."\n"], + ], + ], + 'MediumFileCountDayGrowthRatio' => [ + 'description' => '中文件个数日环比。比中文件指的是128 MB以上,1 GB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.19'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of medium files'."\n"], + ], + ], + 'SmallFileCountDayGrowthRatio' => [ + 'description' => '小文件个数日环比。小文件指的是10 MB以上,128 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.02'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of small files'."\n"], + ], + ], + 'TinyFileCountDayGrowthRatio' => [ + 'description' => '极小文件个数日环比。极小文件指的是0 MB以上,10 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.003'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of tiny files'."\n"], + ], + ], + 'EmptyFileCountDayGrowthRatio' => [ + 'description' => '空文件个数日环比。空文件指的是0 MB大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => ' '."\n" + .'0.005'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of empty files'."\n"], + ], + ], + 'HotDataSizeDayGrowthRatio' => [ + 'description' => '热数据的数据量大小日环比。热数据指的是7日内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.1114'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of hot data size'."\n"], + ], + ], + 'WarmDataSizeDayGrowthRatio' => [ + 'description' => '温数据的数据量大小日环比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '-0.015'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of warm data size'."\n"], + ], + ], + 'ColdDataSizeDayGrowthRatio' => [ + 'description' => '冷数据的数据量大小日环比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '-0.03'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of cold data size'."\n"], + ], + ], + 'FreezeDataSizeDayGrowthRatio' => [ + 'description' => '极冷数据的数据量大小日环比。极冷数据指的是90日以内都没有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '-0.09'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of freeze data size'."\n"], + ], + ], + 'TotalDataSizeDayGrowthRatio' => [ + 'description' => '总数据量大小日环比。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => ' '."\n" + .'0.14'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total data size'."\n"], + ], ], ], ], ], ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '获取HDFS特定目录分析结果', + 'summary' => '通过EMR Doctor获取集群HDFS特定目录数据分析结果,目录不超过5级。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHDFSDirectory', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingPolicy\\": {\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"ScalingPolicyId\\": \\"asp-asduwe23znl***\\",\\n \\"Constraints\\": {\\n \\"MaxCapacity\\": 20,\\n \\"MinCapacity\\": 0,\\n \\"MaxOnDemandCapacity\\": 10\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '查看托管弹性伸缩策略', - 'summary' => '查看托管伸缩策略内容。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Depth\\": 2,\\n \\"User\\": \\"DW\\",\\n \\"Group\\": \\"DW\\",\\n \\"Metrics\\": {\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 51683279,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 234,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of medium files\\\\n\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 12345,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 232131,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 15595897,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of empty files\\\\n\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 6701531944206,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the hot data size\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 4062349775577,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 5570958082267,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the cold data size\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1231312431,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the freeze data size\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\\\n\\",\\n \\"Value\\": 62086342083623,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 27809,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 2,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 176,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 12345,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": -123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of tiny files\\\\n\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\\\n\\",\\n \\"Value\\": 114,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 123154,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": -64806998319,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": -182636577752,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": -167683929450,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 256482228248,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\\\n\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.39,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.19,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.003,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.005,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.1114,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.015,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.03,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.09,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.14,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], - 'RemoveAutoScalingPolicy' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetDoctorHiveCluster' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '145777', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceEL79NN', - ], + 'operationType' => 'get', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'NodeGroupId', + 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '节点组ID。', - 'description' => '节点组ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ng-869471354ecd****', - ], + 'schema' => ['description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], ], 'responses' => [ @@ -11713,92 +6332,545 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + 'Data' => [ + 'description' => 'Hive分析数据。', + 'type' => 'object', + 'properties' => [ + 'Formats' => [ + 'description' => '存储格式信息。', + 'type' => 'array', + 'items' => [ + 'description' => '存储格式信息。', + 'type' => 'object', + 'properties' => [ + 'FormatName' => ['description' => '存储格式名称。', 'type' => 'string', 'example' => 'TextInputFormat'."\n"], + 'FormatSize' => ['description' => '格式大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'FormatSizeUnit' => ['description' => '格式大小单位。', 'type' => 'string', 'example' => 'MB'], + 'FormatRatio' => ['description' => '格式占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + ], + ], + ], + 'Metrics' => [ + 'description' => '指标信息。', + 'type' => 'object', + 'properties' => [ + 'TableCount' => [ + 'description' => '表数量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tableCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of tables'], + ], + ], + 'PartitionNum' => [ + 'description' => '分区数。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'partitionNum'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of partitions'], + ], + ], + 'DatabaseCount' => [ + 'description' => '库数量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'databaseCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of databases'], + ], + ], + 'LargeFileCount' => [ + 'description' => '大文件个数。大文件指的是1 GB以上大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of large files'."\n"], + ], + ], + 'MediumFileCount' => [ + 'description' => '中文件个数。中文件指的是128 MB以上,1 GB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of medium files'."\n"], + ], + ], + 'SmallFileCount' => [ + 'description' => '小文件个数。小文件指的是10 MB以上,128 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCount '], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of small files'."\n"], + ], + ], + 'TinyFileCount' => [ + 'description' => '极小文件个数。极小文件指的是0 MB以上,10 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of tiny files'."\n"], + ], + ], + 'EmptyFileCount' => [ + 'description' => '空文件个数。空文件指的是0 MB大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of empty files'."\n"], + ], + ], + 'TotalFileCount' => [ + 'description' => '总文件个数。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total files'."\n"], + ], + ], + 'LargeFileRatio' => [ + 'description' => '大文件个数占比。大文件指的是1 GB以上大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of large files'."\n"], + ], + ], + 'MediumFileRatio' => [ + 'description' => '中文件个数占比。中文件指的是128 MB以上,1 GB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of medium files'."\n"], + ], + ], + 'SmallFileRatio' => [ + 'description' => '小文件个数占比。小文件指的是10 MB以上,128 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of small files'."\n"], + ], + ], + 'TinyFileRatio' => [ + 'description' => '极小文件个数占比。极小文件指的是0 MB以上,10 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of tiny files'."\n"], + ], + ], + 'EmptyFileRatio' => [ + 'description' => '空文件个数占比。空文件指的是0 MB大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of empty files'."\n"], + ], + ], + 'HotDataSize' => [ + 'description' => '热数据的数据量大小。热数据指的是7日内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of hot files'."\n"], + ], + ], + 'WarmDataSize' => [ + 'description' => '温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of warm files'."\n"], + ], + ], + 'ColdDataSize' => [ + 'description' => '冷数据的数据量大小占比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of cold files'."\n"], + ], + ], + 'FreezeDataSize' => [ + 'description' => '极冷数据的数据量大小。极冷数据指的是90日以内都没有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of freeze files'."\n"], + ], + ], + 'TotalDataSize' => [ + 'description' => '总数据量大小。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total data size in megabytes (MB)'."\n"], + ], + ], + 'HotDataRatio' => [ + 'description' => '热数据的数据量大小澳盘占比。热数据指的是7日内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Hot data ratio'."\n"], + ], + ], + 'WarmDataRatio' => [ + 'description' => '温数据的数据量大小占比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of warm data'."\n"], + ], + ], + 'ColdDataRatio' => [ + 'description' => '冷数据的数据量大小占比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Cold data ratio'."\n"], + ], + ], + 'FreezeDataRatio' => [ + 'description' => '极冷数据的数据量大小占比。极冷数据指的是90日以内都没有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.12'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of freeze data'."\n"], + ], + ], + 'TotalFileDayGrowthCount' => [ + 'description' => '总文件个数日增量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '27800'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of total files'."\n"], + ], + ], + 'LargeFileDayGrowthCount' => [ + 'description' => '大文件个数日增量。大文件指的是1 GB以上大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileDayGrowthCount '], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of large files'."\n"], + ], + ], + 'MediumFileDayGrowthCount' => [ + 'description' => '中文件个数日增量。中文件指的是128 MB以上,1 GB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileDayGrowthCount'."\n"], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '178'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of medium files'."\n"], + ], + ], + 'SmallFileDayGrowthCount' => [ + 'description' => '小文件个数日增量。小文件指的是10 MB以上,128 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of small files'."\n"], + ], + ], + 'TinyFileDayGrowthCount' => [ + 'description' => '极小文件个数日增量。极小文件指的是0 MB以上,10 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'day growth count of tiny files'."\n"], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of tiny files'."\n"], + ], + ], + 'EmptyFileDayGrowthCount' => [ + 'description' => '空文件个数日增量。空文件指的是0 MB大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of empty files'."\n"], + ], + ], + 'HotDataDayGrowthSize' => [ + 'description' => '热数据的数据量日增量大小。热数据指的是7日内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of hot data'."\n"], + ], + ], + 'WarmDataDayGrowthSize' => [ + 'description' => '温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '-100'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of warm data'."\n"], + ], + ], + 'ColdDataDayGrowthSize' => [ + 'description' => '冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of cold data'."\n"], + ], + ], + 'FreezeDataDayGrowthSize' => [ + 'description' => '极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of freeze data'."\n"], + ], + ], + 'TotalDataDayGrowthSize' => [ + 'description' => '全部数据的数据量日增量大小。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of total data'."\n"], + ], + ], + 'TotalFileCountDayGrowthRatio' => [ + 'description' => '总文件个数日环比。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total files'."\n"], + ], + ], + 'LargeFileCountDayGrowthRatio' => [ + 'description' => '大文件个数日环比。大文件指的是1 GB以上大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of large files'."\n"], + ], + ], + 'MediumFileCountDayGrowthRatio' => [ + 'description' => '中文件个数日环比。比中文件指的是128 MB以上,1 GB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of medium files'."\n"], + ], + ], + 'SmallFileCountDayGrowthRatio' => [ + 'description' => '小文件个数日环比。小文件指的是10 MB以上,128 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of small files'."\n"], + ], + ], + 'TinyFileCountDayGrowthRatio' => [ + 'description' => '极小文件个数日环比。极小文件指的是0 MB以上,10 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of tiny files'."\n"], + ], + ], + 'EmptyFileCountDayGrowthRatio' => [ + 'description' => '空文件个数日环比。空文件指的是0 MB大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of empty files'."\n"], + ], + ], + 'HotDataSizeDayGrowthRatio' => [ + 'description' => '热数据的数据量大小日环比。热数据指的是7日内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of hot data size'."\n"], + ], + ], + 'WarmDataSizeDayGrowthRatio' => [ + 'description' => '温数据的数据量大小日环比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSizeDayGrowthRatio '], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of warm data size'."\n"], + ], + ], + 'ColdDataSizeDayGrowthRatio' => [ + 'description' => '冷数据的数据量大小日环比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of cold data size'."\n"], + ], + ], + 'FreezeDataSizeDayGrowthRatio' => [ + 'description' => '极冷数据的数据量大小日环比。极冷数据指的是90日以内都没有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSizeDayGrowthRatio '], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of freeze data size'."\n"], + ], + ], + 'TotalDataSizeDayGrowthRatio' => [ + 'description' => '总数据量大小日环比。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total data size'."\n"], + ], + ], + ], + ], + 'Analysis' => [ + 'description' => '分析结果。', + 'type' => 'object', + 'properties' => [ + 'HiveFrequencyScore' => ['description' => 'hive访问频率得分', 'type' => 'integer', 'format' => 'int32', 'example' => '80'], + 'HiveDistributionScore' => ['description' => 'hive大小文件分布得分', 'type' => 'integer', 'format' => 'int32', 'example' => '80'], + 'HiveFormatScore' => ['description' => 'hive文件存储格式得分', 'type' => 'integer', 'format' => 'int32', 'example' => '80'], + 'HiveScore' => ['description' => 'hive总评分', 'type' => 'integer', 'format' => 'int32', 'example' => '80'], + ], + ], + ], ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '获取 Hive 集群信息', + 'summary' => '获取 Hive 集群维度分析结果。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHiveCluster', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '删除弹性伸缩策略', - 'summary' => '删除弹性伸缩策略。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Formats\\": [\\n {\\n \\"FormatName\\": \\"TextInputFormat\\\\n\\",\\n \\"FormatSize\\": 100,\\n \\"FormatSizeUnit\\": \\"MB\\",\\n \\"FormatRatio\\": 0.5\\n }\\n ],\\n \\"Metrics\\": {\\n \\"TableCount\\": {\\n \\"Name\\": \\"tableCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tables\\"\\n },\\n \\"PartitionNum\\": {\\n \\"Name\\": \\"partitionNum\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of partitions\\"\\n },\\n \\"DatabaseCount\\": {\\n \\"Name\\": \\"databaseCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of databases\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of medium files\\\\n\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of empty files\\\\n\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of large files\\\\n\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of small files\\\\n\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of hot files\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of warm files\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of cold files\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of freeze files\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Hot data ratio\\\\n\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of warm data\\\\n\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Cold data ratio\\\\n\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.12,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of freeze data\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 27800,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\\\n\\",\\n \\"Value\\": 178,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"day growth count of tiny files\\\\n\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of tiny files\\\\n\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": -100,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HiveFrequencyScore\\": 80,\\n \\"HiveDistributionScore\\": 80,\\n \\"HiveFormatScore\\": 80,\\n \\"HiveScore\\": 80\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], - 'ListAutoScalingActivities' => [ - 'summary' => '查询弹性伸缩活动列表。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetDoctorHiveDatabase' => [ + 'description' => 'get Doctor Hive Database', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11806,207 +6878,606 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '118861', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce7I2Y7W', - ], + 'operationType' => 'get', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'NextToken', + 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => '标记当前开始读取的位置。', - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], + 'schema' => ['description' => '日期。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], [ - 'name' => 'MaxResults', + 'name' => 'DatabaseName', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => '一次获取的最大记录数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => '数据库名称。', 'type' => 'string', 'required' => true, 'example' => 'db1'], ], - [ - 'name' => 'NodeGroupId', - 'in' => 'query', - 'allowEmptyValue' => false, + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '节点组ID。', - 'description' => '节点组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ng-869471354ecd****', + 'title' => '返回数据', + 'description' => '返回数据', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'Hive库分析数据。', + 'type' => 'object', + 'properties' => [ + 'Formats' => [ + 'description' => '存储格式信息。', + 'type' => 'array', + 'items' => [ + 'description' => '存储格式信息。', + 'type' => 'object', + 'properties' => [ + 'FormatName' => ['description' => '存储格式名称。', 'type' => 'string', 'example' => 'TextInputFormat'], + 'FormatSize' => ['description' => '格式数据量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'FormatSizeUnit' => ['description' => '格式数据量单位。', 'type' => 'string', 'example' => 'MB'], + 'FormatRatio' => ['description' => '格式占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'FormatDayGrowthSize' => ['description' => '格式数据量日增量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'FormatSizeDayGrowthRatio' => ['description' => '格式数据量日环比。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + ], + ], + ], + 'Metrics' => [ + 'description' => '指标信息。', + 'type' => 'object', + 'properties' => [ + 'TableCount' => [ + 'description' => '表数量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tableCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of tables'."\n"], + ], + ], + 'PartitionNum' => [ + 'description' => '分区数。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'partitionNum'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of partitions'."\n"], + ], + ], + 'LargeFileCount' => [ + 'description' => '大文件个数。大文件指的是 1 GB 以上大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of large files'."\n"], + ], + ], + 'MediumFileCount' => [ + 'description' => '中文件个数。中文件指的是 128 MB 以上,1 GB 以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of medium files'."\n"], + ], + ], + 'SmallFileCount' => [ + 'description' => '小文件个数。小文件指的是 10 MB 以上,128 MB 以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of small files'."\n"], + ], + ], + 'TinyFileCount' => [ + 'description' => '极小文件个数。极小文件指的是 0 MB 以上,10 MB 以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of tiny files'."\n"], + ], + ], + 'EmptyFileCount' => [ + 'description' => '空文件个数。空文件指的是 0 MB 大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of empty files'."\n"], + ], + ], + 'TotalFileCount' => [ + 'description' => '总文件个数。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCount '], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of total files'."\n"], + ], + ], + 'LargeFileRatio' => [ + 'description' => '大文件个数占比。大文件指的是 1 GB 以上大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of large files'."\n"], + ], + ], + 'MediumFileRatio' => [ + 'description' => '中文件个数占比。中文件指的是 128 MB 以上,1 GB 以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of medium files'."\n"], + ], + ], + 'SmallFileRatio' => [ + 'description' => '小文件个数占比。小文件指的是 10 MB 以上,128 MB 以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of small files'."\n"], + ], + ], + 'TinyFileRatio' => [ + 'description' => '极小文件个数占比。极小文件指的是 0 MB 以上,10 MB 以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of tiny files'."\n"], + ], + ], + 'EmptyFileRatio' => [ + 'description' => '空文件个数占比。空文件指的是 0 MB 大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileRatio '], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of empty files'."\n"], + ], + ], + 'HotDataSize' => [ + 'description' => '热数据的数据量大小。热数据指的是7日内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of hot files'."\n"], + ], + ], + 'WarmDataSize' => [ + 'description' => '温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of warm files'."\n"], + ], + ], + 'ColdDataSize' => [ + 'description' => '冷数据的数据量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of cold files'."\n"], + ], + ], + 'FreezeDataSize' => [ + 'description' => '极冷数据的数据量大小。极冷数据指的是90日以内都没有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of freeze files'."\n"], + ], + ], + 'TotalDataSize' => [ + 'description' => '总数据量大小。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSize '], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total data size in megabytes (MB)'."\n"], + ], + ], + 'HotDataRatio' => [ + 'description' => '热数据的数据量大小占比。热数据指的是7日内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataRatio '], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Hot data ratio'."\n"], + ], + ], + 'WarmDataRatio' => [ + 'description' => '温数据的数据量大小占比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of warm data'."\n"], + ], + ], + 'ColdDataRatio' => [ + 'description' => '冷数据的数据量大小占比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataRatio '], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Cold data ratio'."\n"], + ], + ], + 'FreezeDataRatio' => [ + 'description' => '极冷数据的数据量大小占比。极冷数据指的是90日以内都没有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of freeze data'."\n"], + ], + ], + 'TotalFileDayGrowthCount' => [ + 'description' => '总文件个数日增量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of total files'."\n"], + ], + ], + 'LargeFileDayGrowthCount' => [ + 'description' => '大文件个数日增量。大文件指的是 1 GB 以上大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileDayGrowthCount '], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of large files'."\n"], + ], + ], + 'MediumFileDayGrowthCount' => [ + 'description' => '中文件个数日增量。中文件指的是 128 M 以上,1 G 以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileDayGrowthCount '], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of medium files'."\n"], + ], + ], + 'SmallFileDayGrowthCount' => [ + 'description' => '小文件个数日增量。小文件指的是10 MB 以上,128 MB 以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of small files'."\n"], + ], + ], + 'TinyFileDayGrowthCount' => [ + 'description' => '极小文件个数日增量。极小文件指的是 0 MB 以上,10 MB 以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of tiny files'."\n"], + ], + ], + 'EmptyFileDayGrowthCount' => [ + 'description' => '空文件个数日增量。空文件指的是 0 MB 大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of empty files'."\n"], + ], + ], + 'HotDataDayGrowthSize' => [ + 'description' => '热数据的数据量日增量大小。热数据指的是7日内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of hot data'."\n"], + ], + ], + 'WarmDataDayGrowthSize' => [ + 'description' => '温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of warm data'."\n"], + ], + ], + 'ColdDataDayGrowthSize' => [ + 'description' => '冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataDayGrowthSize '], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of cold data'."\n"], + ], + ], + 'FreezeDataDayGrowthSize' => [ + 'description' => '极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataDayGrowthSize '], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of freeze data'."\n"], + ], + ], + 'TotalDataDayGrowthSize' => [ + 'description' => '全部数据的数据量日增量大小。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataDayGrowthSize '], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of total data'."\n"], + ], + ], + 'TotalFileCountDayGrowthRatio' => [ + 'description' => '总文件个数日环比。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCountDayGrowthRatio '], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total files'."\n"], + ], + ], + 'LargeFileCountDayGrowthRatio' => [ + 'description' => '大文件个数日环比。大文件指的是 1 GB 以上大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of large files'."\n"], + ], + ], + 'MediumFileCountDayGrowthRatio' => [ + 'description' => '中文件个数日环比。比中文件指的是 128 MB 以上,1 GB 以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCountDayGrowthRatio '], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of medium files'."\n"], + ], + ], + 'SmallFileCountDayGrowthRatio' => [ + 'description' => '小文件个数日环比。小文件指的是10 MB 以上,128 MB 以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCountDayGrowthRatio '], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of small files'."\n"], + ], + ], + 'TinyFileCountDayGrowthRatio' => [ + 'description' => '极小文件个数日环比。极小文件指的是 0 MB 以上,10 MB 以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCountDayGrowthRatio '], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of tiny files'."\n"], + ], + ], + 'EmptyFileCountDayGrowthRatio' => [ + 'description' => '空文件个数日环比。空文件指的是 0 MB 大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of empty files'."\n"], + ], + ], + 'HotDataSizeDayGrowthRatio' => [ + 'description' => '热数据的数据量大小日环比。热数据指的是7日内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSizeDayGrowthRatio '], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of hot data size'."\n"], + ], + ], + 'WarmDataSizeDayGrowthRatio' => [ + 'description' => '温数据的数据量大小日环比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of warm data size'."\n"], + ], + ], + 'ColdDataSizeDayGrowthRatio' => [ + 'description' => '冷数据的数据量大小日环比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of cold data size'."\n"], + ], + ], + 'FreezeDataSizeDayGrowthRatio' => [ + 'description' => '极冷数据的数据量大小日环比。极冷数据指的是90日以内都没有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSizeDayGrowthRatio '], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of freeze data size'."\n"], + ], + ], + 'TotalDataSizeDayGrowthRatio' => [ + 'description' => '总数据量大小日环比。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total data size'."\n"], + ], + ], + ], + ], + 'Analysis' => [ + 'description' => '分析结果。', + 'type' => 'object', + 'properties' => [ + 'HiveFrequencyScore' => ['description' => 'Hive 库访问频率得分。', 'type' => 'integer', 'format' => 'int32', 'example' => '85'], + 'HiveDistributionScore' => ['description' => 'Hive 库文件大小评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '85'], + 'HiveFormatScore' => ['description' => 'Hive 库格式评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '85'], + 'HiveScore' => ['description' => 'Hive 库综合评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '85'], + ], + ], + ], + ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + ], ], ], - [ - 'name' => 'ScalingRuleName', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '伸缩规则名称。', - 'description' => '伸缩规则名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'scale-out-by-memroy', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], - [ - 'name' => 'ScalingActivityStates', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '伸缩活动状态。', - 'description' => '伸缩活动状态。数组元数个数N的取值范围:1~20。', - 'type' => 'array', - 'items' => [ - 'title' => '伸缩活动状态。取值如下:'."\n" - .'-SUCCESSFUL:成功'."\n" - .'-REJECTED:拒绝'."\n" - .'-PARTIAL_SUCCESSFUL: 部分成功'."\n" - .'-FAILED: 失败'."\n" - .'-IN_PROGRESS: 进行中', - 'description' => '伸缩活动状态。取值范围:'."\n" - .'- REJECTED:拒绝。'."\n" - .'- SUCCESSFUL:成功。'."\n" - .'- FAILED:失败。'."\n" - .'- IN_PROGRESS:进行中。', - 'type' => 'string', - 'required' => false, - 'example' => '['."\n" - .' "REJECTED",'."\n" - .' "SUCCESSFUL"'."\n" - .']', + 404 => [ + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], + ], + 503 => [ + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '获取Hive库信息', + 'summary' => '获取 Hive 库维度分析结果。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHiveDatabase', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'required' => false, - 'example' => '["REJECTED","SUCCESSFUL"]', - 'maxItems' => 20, ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Formats\\": [\\n {\\n \\"FormatName\\": \\"TextInputFormat\\",\\n \\"FormatSize\\": 1000,\\n \\"FormatSizeUnit\\": \\"MB\\",\\n \\"FormatRatio\\": 0.5,\\n \\"FormatDayGrowthSize\\": 1000,\\n \\"FormatSizeDayGrowthRatio\\": 0.5\\n }\\n ],\\n \\"Metrics\\": {\\n \\"TableCount\\": {\\n \\"Name\\": \\"tableCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tables\\\\n\\"\\n },\\n \\"PartitionNum\\": {\\n \\"Name\\": \\"partitionNum\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of partitions\\\\n\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of medium files\\\\n\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of empty files\\\\n\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of large files\\\\n\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of small files\\\\n\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of hot files\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of warm files\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of cold files\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of freeze files\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Hot data ratio\\\\n\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of warm data\\\\n\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Cold data ratio\\\\n\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of freeze data\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of tiny files\\\\n\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HiveFrequencyScore\\": 85,\\n \\"HiveDistributionScore\\": 85,\\n \\"HiveFormatScore\\": 85,\\n \\"HiveScore\\": 85\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + ], + 'GetDoctorHiveTable' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ScalingActivityType', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '伸缩活动类型。', - 'description' => '伸缩活动类型。取值范围:'."\n" - .'- SCALE_OUT:扩容。'."\n" - .'- SCALE_IN:缩容。', - 'type' => 'string', - 'required' => false, - 'example' => 'SCALE_IN', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], + ], + 'parameters' => [ [ - 'name' => 'StartTime', + 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '查询伸缩活动创建时间的开始时间戳。', - 'description' => '查询伸缩活动创建时间的开始时间戳。单位为毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1639714634819', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'EndTime', + 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '查询伸缩活动创建时间的结束时间戳。', - 'description' => '查询伸缩活动创建时间的结束时间戳。单位为毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1639718634819', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'ScalingPolicyType', + 'name' => 'DateTime', 'in' => 'query', - 'schema' => [ - 'title' => '弹性策略类型', - 'description' => '弹性策略类型', - 'type' => 'string', - 'required' => false, - 'example' => 'MANAGED', - ], + 'allowEmptyValue' => false, + 'schema' => ['description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], [ - 'name' => 'InstanceChargeTypes', + 'name' => 'TableName', 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'title' => '实例付费类型枚举值:'."\n" - .'- ONDEMAND: 按量付费实例'."\n" - .'- SPOT: 竞价实例'."\n" - .'默认为null代表全选'."\n" - .'举例: ["ONDEMAND", "SPOT"]', - 'description' => '实例付费类型枚举值:'."\n" - .'- ONDEMAND: 按量付费实例'."\n" - .'- SPOT: 竞价实例'."\n" - .'默认为null代表全选'."\n" - .'举例: ["ONDEMAND", "SPOT"]', - 'type' => 'array', - 'items' => [ - 'title' => '实例付费类型枚举值:'."\n" - .'- ONDEMAND: 按量付费实例'."\n" - .'- SPOT: 竞价实例'."\n" - .'默认为null代表全选'."\n" - .'举例: ["ONDEMAND", "SPOT"]', - 'description' => '实例付费类型枚举值:'."\n" - .'- ONDEMAND: 按量付费实例'."\n" - .'- SPOT: 竞价实例'."\n" - .'默认为null代表全选'."\n" - .'举例: ["ONDEMAND", "SPOT"]', - 'type' => 'string', - 'required' => false, - 'example' => 'ONDEMAND', - ], - 'required' => false, - 'example' => 'ONDEMAND', - 'enum' => [], - ], + 'allowEmptyValue' => false, + 'schema' => ['description' => '表名称,表名称遵循Hive通用写法,以{库名称.表名称}唯一确定。', 'type' => 'string', 'required' => true, 'example' => 'dw.dwd_creta_service_order_long_renew_long_da'], ], ], 'responses' => [ @@ -12016,262 +7487,527 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'ScalingActivities' => [ - 'title' => '伸缩活动列表。', - 'description' => '伸缩活动列表。', - 'type' => 'array', - 'items' => [ - 'title' => '伸缩活动列表。', - 'description' => '伸缩活动列表。', - 'type' => 'object', - 'properties' => [ - 'ActivityId' => [ - 'title' => '伸缩活动ID。', - 'description' => '伸缩活动ID。', - 'type' => 'string', - 'example' => 'asa-36373b084d6b4b13aa50f4129a9e****', - ], - 'RuleName' => [ - 'title' => '伸缩规则名称。', - 'description' => '伸缩规则名称。', - 'type' => 'string', - 'example' => 'scaling-out-memory', - ], - 'ActivityType' => [ - 'title' => '伸缩活动类型。', - 'description' => '伸缩活动类型。取值范围:'."\n" - .'- SCALE_OUT:扩容。'."\n" - .'- SCALE_IN:缩容。', - 'type' => 'string', - 'example' => 'SCALE_OUT', - ], - 'ClusterId' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'example' => 'c-b933c5aac8fe****', - ], - 'NodeGroupId' => [ - 'title' => '节点组ID。', - 'description' => '节点组ID。', - 'type' => 'string', - 'example' => 'ng-869471354ecd****', - ], - 'NodeGroupName' => [ - 'title' => '节点组名称。', - 'description' => '节点组名称。', - 'type' => 'string', - 'example' => 'task-01', - ], - 'StartTime' => [ - 'title' => '伸缩启动时间。', - 'description' => '伸缩启动时间。单位为毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1639714634819', - ], - 'EndTime' => [ - 'title' => '伸缩结束时间。', - 'description' => '伸缩结束时间。单位为毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1639715634819', - ], - 'ActivityState' => [ - 'title' => '伸缩活动状态。', - 'description' => '伸缩活动状态。取值范围:'."\n" - .'- REJECTED:拒绝。'."\n" - .'- SUCCESSFUL:成功。'."\n" - .'- FAILED:失败。'."\n" - .'- IN_PROGRESS:进行中。', - 'type' => 'string', - 'example' => 'IN_PROGRESS', - ], - 'ExpectNum' => [ - 'title' => '本次扩缩数量。', - 'description' => '本次扩缩数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'OperationId' => [ - 'title' => '操作ID。', - 'description' => '操作ID。', - 'type' => 'string', - 'example' => 'op-13c37a77c505****', - ], - 'Description' => [ - 'title' => '伸缩活动描述。', - 'description' => '伸缩活动描述。', - 'type' => 'string', - 'example' => 'clusterId not exist', - ], - 'PolicyType' => [ - 'title' => '策略类型。', - 'description' => '策略类型。', - 'type' => 'string', - 'example' => 'PRIORITY', - ], - 'InstanceTypeToNum' => [ - 'title' => '实例机型对应的台数', - 'description' => '实例机型对应的台数', + 'Data' => [ + 'description' => 'Hive表分析数据。', + 'type' => 'object', + 'properties' => [ + 'Formats' => [ + 'description' => '表格式数据。', + 'type' => 'array', + 'items' => [ + 'description' => '表格式信息。', 'type' => 'object', - 'additionalProperties' => [ - 'title' => '实例机型对应的台数', - 'description' => '实例机型对应的台数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'ecs.r6.xlarge: 2', + 'properties' => [ + 'FormatName' => ['description' => '存储格式名称。', 'type' => 'string', 'example' => 'TextInputFormat'], + 'FormatSize' => ['description' => '格式数据量。', 'type' => 'integer', 'format' => 'int64', 'example' => '506930200'], + 'FormatSizeUnit' => ['description' => '格式数据量单位。', 'type' => 'string', 'example' => 'MB'], + 'FormatRatio' => ['description' => '格式占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.23'], + 'FormatDayGrowthSize' => ['description' => '格式数据量日增量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1232124'], + 'FormatSizeDayGrowthRatio' => ['description' => '格式数据量日环比。', 'type' => 'number', 'format' => 'float', 'example' => '0.04'], ], ], - 'InstanceTypeDetails' => [ - 'title' => '实例类型详细信息。', - 'description' => '实例类型详细信息。', - 'type' => 'array', - 'items' => [ - 'title' => '实例类型详细信息。', - 'description' => '实例类型详细信息。', + ], + 'Owner' => ['description' => '属主。', 'type' => 'string', 'example' => 'DW'], + 'Metrics' => [ + 'description' => '指标信息。', + 'type' => 'object', + 'properties' => [ + 'PartitionNum' => [ + 'description' => '分区数。', 'type' => 'object', 'properties' => [ - 'SpotInstanceIds' => [ - 'title' => 'Spot实例ID列表', - 'description' => 'Spot实例ID列表', - 'type' => 'array', - 'items' => [ - 'title' => 'Spot实例ID列表', - 'description' => 'Spot实例ID列表', - 'type' => 'string', - 'example' => 'i-bp1ifuxmr8l6pb1yxxxx', - ], - ], - 'InstanceType' => [ - 'title' => '实例机型名称', - 'description' => '实例机型名称', - 'type' => 'string', - 'example' => 'ecs.g6.xlarge', - ], - 'OnDemandInstanceIds' => [ - 'title' => '按量实例ID列表', - 'description' => '按量实例ID列表', - 'type' => 'array', - 'items' => [ - 'title' => '按量实例ID列表', - 'description' => '按量实例ID列表', - 'type' => 'string', - 'example' => 'i-bp1ifuxmr8l6pb1sxxxx', - ], - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'partitionNum'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '441'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'number of partitions'], + ], + ], + 'LargeFileCount' => [ + 'description' => '大文件个数。大文件指的是1 GB以上大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of large files'], + ], + ], + 'MediumFileCount' => [ + 'description' => '中文件个数。中文件指的是128 MB以上,1 GB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of medium files'], + ], + ], + 'SmallFileCount' => [ + 'description' => '小文件个数。小文件指的是10 MB以上,128 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '18'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '"“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of small files'], + ], + ], + 'TinyFileCount' => [ + 'description' => '极小文件个数。极小文件指的是0 MB以上,10 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '451'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of tiny files'], + ], + ], + 'EmptyFileCount' => [ + 'description' => '空文件个数。空文件指的是0 MB大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '3123'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of empty files'], + ], + ], + 'TotalFileCount' => [ + 'description' => '总文件个数。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of total files'], + ], + ], + 'LargeFileRatio' => [ + 'description' => '大文件个数占比。大文件指的是1 GB以上大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.02'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of large files'], + ], + ], + 'MediumFileRatio' => [ + 'description' => '中文件个数占比。中文件指的是128 MB以上,1 GB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.80'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of medium files'], + ], + ], + 'SmallFileRatio' => [ + 'description' => '小文件个数占比。小文件指的是10 MB以上,128 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.04'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of small files'], + ], + ], + 'TinyFileRatio' => [ + 'description' => '极小文件个数占比。极小文件指的是0 MB以上,10 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.96'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of tiny files'], + ], + ], + 'EmptyFileRatio' => [ + 'description' => '空文件个数占比。空文件指的是0 MB大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of empty files'], + ], + ], + 'HotDataSize' => [ + 'description' => '热数据的数据量大小。热数据指的是7日内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '203431'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the hot data size'], + ], + ], + 'WarmDataSize' => [ + 'description' => '温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '14981'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the warm data size'], + ], + ], + 'ColdDataSize' => [ + 'description' => '冷数据的数据量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '217715'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the cold data size'], + ], + ], + 'FreezeDataSize' => [ + 'description' => '极冷数据的数据量大小。极冷数据指的是90日以内都没有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '33229309'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the freeze data size'], + ], + ], + 'TotalDataSize' => [ + 'description' => '总数据量大小。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '33800296'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total data size in megabytes (MB)'], + ], + ], + 'HotDataRatio' => [ + 'description' => '热数据的数据量大小占比。热数据指的是7日内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Hot data ratio'], + ], + ], + 'WarmDataRatio' => [ + 'description' => '温数据的数据量大小占比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.1'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of warm data'], + ], + ], + 'ColdDataRatio' => [ + 'description' => '冷数据的数据量大小占比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Cold data ratio'], + ], + ], + 'FreezeDataRatio' => [ + 'description' => '极冷数据的数据量大小占比。极冷数据指的是90日以内都没有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.98'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of freeze data'], + ], + ], + 'TotalFileDayGrowthCount' => [ + 'description' => '总文件个数日增量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of total files'], + ], + ], + 'LargeFileDayGrowthCount' => [ + 'description' => '大文件个数日增量。大文件指的是1 GB以上大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '40'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of large files'], + ], + ], + 'MediumFileDayGrowthCount' => [ + 'description' => '中文件个数日增量。中文件指的是128 MB以上,1 GB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of medium files'], + ], + ], + 'SmallFileDayGrowthCount' => [ + 'description' => '小文件个数日增量。小文件指的是10 MB以上,128 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '18'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of small files'], + ], + ], + 'TinyFileDayGrowthCount' => [ + 'description' => '极小文件个数日增量。极小文件指的是0 MB以上,10 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '482'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of tiny files'], + ], + ], + 'EmptyFileDayGrowthCount' => [ + 'description' => '空文件个数日增量。空文件指的是0 MB大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '-20'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of empty files'], + ], + ], + 'HotDataDayGrowthSize' => [ + 'description' => '热数据的数据量日增量大小。热数据指的是7日内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '203431'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of hot data'], + ], + ], + 'WarmDataDayGrowthSize' => [ + 'description' => '温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '149841'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of warm data'], + ], + ], + 'ColdDataDayGrowthSize' => [ + 'description' => '冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '217715'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of cold data'], + ], + ], + 'FreezeDataDayGrowthSize' => [ + 'description' => '极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '33229309'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of freeze data'], + ], + ], + 'TotalDataDayGrowthSize' => [ + 'description' => '全部数据的数据量日增量大小。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '33800296'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of total data'], + ], + ], + 'TotalFileCountDayGrowthRatio' => [ + 'description' => '总文件个数日环比。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total files'], + ], + ], + 'LargeFileCountDayGrowthRatio' => [ + 'description' => '大文件个数日环比。大文件指的是1 GB以上大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of large files'], + ], + ], + 'MediumFileCountDayGrowthRatio' => [ + 'description' => '中文件个数日环比。比中文件指的是128 MB以上,1 GB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of medium files'], + ], + ], + 'SmallFileCountDayGrowthRatio' => [ + 'description' => '小文件个数日环比。小文件指的是10 MB以上,128 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of small files'], + ], + ], + 'TinyFileCountDayGrowthRatio' => [ + 'description' => '极小文件个数日环比。极小文件指的是0 MB以上,10 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.04'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of tiny files'], + ], + ], + 'EmptyFileCountDayGrowthRatio' => [ + 'description' => '空文件个数日环比。空文件指的是0 MB大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of empty files'], + ], + ], + 'HotDataSizeDayGrowthRatio' => [ + 'description' => '热数据的数据量大小日环比。热数据指的是7日内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of hot data size'], + ], + ], + 'WarmDataSizeDayGrowthRatio' => [ + 'description' => '温数的据数据量大小日环比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of warm data size'], + ], + ], + 'ColdDataSizeDayGrowthRatio' => [ + 'description' => '冷数据的数据量大小日环比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of cold data size'], + ], + ], + 'FreezeDataSizeDayGrowthRatio' => [ + 'description' => '极冷数据的数据量大小日环比。极冷数据指的是90日以内都没有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of freeze data size'], + ], + ], + 'TotalDataSizeDayGrowthRatio' => [ + 'description' => '总数据量大小日环比。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total data size'], ], ], ], ], + 'Analysis' => [ + 'description' => '分析结果。', + 'type' => 'object', + 'properties' => [ + 'HiveFrequencyScore' => ['description' => 'Hive表访问频率得分。', 'type' => 'integer', 'format' => 'int32', 'example' => '70'], + 'HiveDistributionScore' => ['description' => 'Hive表文件大小评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'], + 'HiveFormatScore' => ['description' => 'Hive表格式评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'], + 'HiveScore' => ['description' => 'Hive表综合评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'], + ], + ], ], ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '返回读取到的数据位置。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '本次请求所返回的最大记录条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '本次请求条件下的数据总量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '获取Hive表分析结果', + 'summary' => '通过EMR Doctor获取集群Hive特定表分析结果。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHiveTable', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingActivities\\": [\\n {\\n \\"ActivityId\\": \\"asa-36373b084d6b4b13aa50f4129a9e****\\",\\n \\"RuleName\\": \\"scaling-out-memory\\",\\n \\"ActivityType\\": \\"SCALE_OUT\\",\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupName\\": \\"task-01\\",\\n \\"StartTime\\": 1639714634819,\\n \\"EndTime\\": 1639715634819,\\n \\"ActivityState\\": \\"IN_PROGRESS\\",\\n \\"ExpectNum\\": 10,\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"Description\\": \\"clusterId not exist\\",\\n \\"PolicyType\\": \\"PRIORITY\\",\\n \\"InstanceTypeToNum\\": {\\n \\"key\\": 0\\n },\\n \\"InstanceTypeDetails\\": [\\n {\\n \\"SpotInstanceIds\\": [\\n \\"i-bp1ifuxmr8l6pb1yxxxx\\"\\n ],\\n \\"InstanceType\\": \\"ecs.g6.xlarge\\",\\n \\"OnDemandInstanceIds\\": [\\n \\"i-bp1ifuxmr8l6pb1sxxxx\\"\\n ]\\n }\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => '查询弹性伸缩活动', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Formats\\": [\\n {\\n \\"FormatName\\": \\"TextInputFormat\\",\\n \\"FormatSize\\": 506930200,\\n \\"FormatSizeUnit\\": \\"MB\\",\\n \\"FormatRatio\\": 0.23,\\n \\"FormatDayGrowthSize\\": 1232124,\\n \\"FormatSizeDayGrowthRatio\\": 0.04\\n }\\n ],\\n \\"Owner\\": \\"DW\\",\\n \\"Metrics\\": {\\n \\"PartitionNum\\": {\\n \\"Name\\": \\"partitionNum\\",\\n \\"Value\\": 441,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"number of partitions\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of large files\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 5,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of medium files\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 18,\\n \\"Unit\\": \\"\\\\\\"“\\",\\n \\"Description\\": \\"Number of small files\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 451,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of tiny files\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 3123,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of empty files\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of total files\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of large files\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.8,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of medium files\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.04,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of small files\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.96,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of tiny files\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of empty files\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 203431,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the hot data size\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 14981,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 217715,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the cold data size\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 33229309,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the freeze data size\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 33800296,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Hot data ratio\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of warm data\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Cold data ratio\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.98,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of freeze data\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of total files\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 40,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of large files\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 20,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of medium files\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 18,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of small files\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": 482,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of tiny files\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": -20,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of empty files\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 203431,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of hot data\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": 149841,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of warm data\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": 217715,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of cold data\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": 33229309,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of freeze data\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 33800296,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of total data\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of total files\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of large files\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of small files\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.04,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HiveFrequencyScore\\": 70,\\n \\"HiveDistributionScore\\": 80,\\n \\"HiveFormatScore\\": 60,\\n \\"HiveScore\\": 80\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], - 'GetAutoScalingActivity' => [ - 'summary' => '获取弹性伸缩活动详情。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetDoctorJob' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12280,49 +8016,26 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '132561', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce7I2Y7W', - ], + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'ScalingActivityId', + 'name' => 'AppId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '伸缩活动ID。', - 'description' => '伸缩活动ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'asa-36373b084d6b4b13aa50f4129a9e****', - ], + 'schema' => ['title' => 'app id', 'description' => '任务提交到YARN的ID。', 'type' => 'string', 'required' => true, 'example' => 'application_1542620905989_****'], ], ], 'responses' => [ @@ -12332,195 +8045,109 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'ScalingActivity' => [ - 'description' => '伸缩活动信息。', + 'Data' => [ + 'description' => '任务信息。', 'type' => 'object', 'properties' => [ - 'ActivityId' => [ - 'title' => '伸缩活动ID。', - 'description' => '伸缩活动ID。', - 'type' => 'string', - 'example' => 'asa-36373b084d6b4b13aa50f4129a9e****', - ], - 'RuleName' => [ - 'title' => '伸缩规则名称。', - 'description' => '伸缩规则名称。', - 'type' => 'string', - 'example' => 'scaling-out-memory', - ], - 'ActivityType' => [ - 'title' => '伸缩活动类型。', - 'description' => '伸缩活动类型。取值范围:'."\n" - .'- SCALE_OUT:扩容。'."\n" - .'- SCALE_IN:缩容。', - 'type' => 'string', - 'example' => 'SCALE_OUT', - ], - 'ClusterId' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'example' => 'c-b933c5aac8fe****', - ], - 'NodeGroupId' => [ - 'title' => '节点组ID。', - 'description' => '节点组ID。', - 'type' => 'string', - 'example' => 'ng-869471354ecd****', - ], - 'NodeGroupName' => [ - 'title' => '节点组名称。', - 'description' => '节点组名称。', - 'type' => 'string', - 'example' => 'task-01', - ], - 'StartTime' => [ - 'title' => '伸缩启动时间。', - 'description' => '伸缩启动时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1639714634819', - ], - 'EndTime' => [ - 'title' => '伸缩结束时间。', - 'description' => '伸缩结束时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1639715634819', - ], - 'ActivityState' => [ - 'title' => '伸缩活动状态。', - 'description' => '伸缩活动状态。取值范围:'."\n" - .'- REJECTED:拒绝。'."\n" - .'- SUCCESSFUL:成功。'."\n" - .'- FAILED:失败。'."\n" - .'- IN_PROGRESS:进行中。', - 'type' => 'string', - 'example' => 'IN_PROGRESS', - ], - 'ExpectNum' => [ - 'title' => '本次扩缩数量。', - 'description' => '本次扩缩数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'OperationId' => [ - 'title' => '操作ID。', - 'description' => '操作ID。', - 'type' => 'string', - 'example' => 'op-13c37a77c505****', - ], - 'Description' => [ - 'title' => '伸缩活动描述。', - 'description' => '伸缩活动描述。', - 'type' => 'string', - 'example' => 'clusterId not exist', - ], - 'ActivityResults' => [ - 'title' => '本次伸缩活动对应的实例列表。', - 'description' => '本次伸缩活动对应的实例列表。', - 'type' => 'array', - 'items' => [ - 'description' => '伸缩活动对应的实例列表。', - '$ref' => '#/components/schemas/ScalingActivityResult', + 'AppId' => ['description' => '任务提交到YARN的ID。', 'type' => 'string', 'example' => 'application_1542620905989_****'], + 'AppName' => ['description' => '任务名称。', 'type' => 'string', 'example' => 'CREATE TABLE test...ranks=1 (Stage-1)'], + 'User' => ['description' => '任务提交用户名。', 'type' => 'string', 'example' => 'DW'], + 'Queue' => ['description' => '任务提交到YARN的队列。', 'type' => 'string', 'example' => 'DW'], + 'State' => ['description' => '应用执行状态,取值说明:'."\n" + .'* FINISHED:结束的。'."\n" + .'* FAILED:失败的。'."\n" + .'* KILLED:中止的。', 'type' => 'string', 'example' => 'FINISHED'], + 'FinalStatus' => ['description' => '应用执行结束状态,取值说明:'."\n" + .'* SUCCEEDED:成功的。'."\n" + .'* FAILED:失败的。'."\n" + .'* KILLED:中止的。'."\n" + .'* ENDED: 结束的。'."\n" + .'* UNDEFINED:未定义的。', 'type' => 'string', 'example' => 'KILLED'], + 'Type' => ['description' => '计算引擎类型。', 'type' => 'string', 'example' => 'SPARK'], + 'StartTime' => ['description' => '任务提交时间,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1673946000000'], + 'LaunchTime' => ['description' => '任务启动时间,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1665014400000'], + 'ElapsedTime' => ['description' => '任务运行总时间,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '278'], + 'FinishTime' => ['description' => '任务结束时间,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1658388322000'], + 'Metrics' => [ + 'description' => '指标数据。', + 'type' => 'object', + 'properties' => [ + 'VcoreSeconds' => [ + 'description' => 'CPU使用量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'vcoreSeconds'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '11123'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'VCores * Sec'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total vcore usage over time in seconds'], + ], + ], + 'MemSeconds' => [ + 'description' => '内存使用量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'memSeconds'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '12312312'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB * Sec'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total memory usage over time in seconds'], + ], + ], ], ], - 'PolicyType' => [ - 'description' => '策略类型。', - 'type' => 'string', - 'example' => 'AUTO', - ], - 'RuleDetail' => [ - 'description' => '伸缩规则详述。', - '$ref' => '#/components/schemas/ScalingRule', - ], ], ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '获取单个任务运行结果', + 'summary' => '通过EMR Doctor获取任务基本运行信息。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorJob', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingActivity\\": {\\n \\"ActivityId\\": \\"asa-36373b084d6b4b13aa50f4129a9e****\\",\\n \\"RuleName\\": \\"scaling-out-memory\\",\\n \\"ActivityType\\": \\"SCALE_OUT\\",\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupName\\": \\"task-01\\",\\n \\"StartTime\\": 1639714634819,\\n \\"EndTime\\": 1639715634819,\\n \\"ActivityState\\": \\"IN_PROGRESS\\",\\n \\"ExpectNum\\": 10,\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"Description\\": \\"clusterId not exist\\",\\n \\"ActivityResults\\": [\\n {\\n \\"InstanceId\\": \\"i-bp1cudc25w2bfwl5****\\"\\n }\\n ],\\n \\"PolicyType\\": \\"AUTO\\",\\n \\"RuleDetail\\": {\\n \\"RuleName\\": \\"scale-out-memory\\",\\n \\"TriggerType\\": \\"TIME_TRIGGER\\",\\n \\"ActivityType\\": \\"SCALE_IN\\",\\n \\"AdjustmentType\\": \\"CHANGE_IN_CAPACITY\\",\\n \\"AdjustmentValue\\": 100,\\n \\"TimeTrigger\\": {\\n \\"LaunchTime\\": \\"\\",\\n \\"StartTime\\": 1639714800000,\\n \\"EndTime\\": 1639714800000,\\n \\"LaunchExpirationTime\\": 600,\\n \\"RecurrenceType\\": \\"WEEKLY\\",\\n \\"RecurrenceValue\\": \\"MON,FRI,SUN\\"\\n },\\n \\"MetricsTrigger\\": {\\n \\"TimeWindow\\": 30,\\n \\"EvaluationCount\\": 2,\\n \\"CoolDownInterval\\": 300,\\n \\"TimeConstraints\\": [\\n {\\n \\"StartTime\\": \\"06:00:00\\",\\n \\"EndTime\\": \\"23:59:59\\"\\n }\\n ],\\n \\"ConditionLogicOperator\\": \\"Or\\",\\n \\"Conditions\\": [\\n {\\n \\"MetricName\\": \\"yarn_resourcemanager_root_availablememoryusage\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"IT\\"\\n }\\n ],\\n \\"Statistics\\": \\"AVG\\",\\n \\"ComparisonOperator\\": \\"LT\\",\\n \\"Threshold\\": 12.5\\n }\\n ]\\n },\\n \\"MinAdjustmentValue\\": 1,\\n \\"CollationTimeZone\\": {\\n \\"TimeZone\\": \\"Asia/Shanghai\\",\\n \\"CurrentTimeOffset\\": \\"UTC+08:00\\"\\n }\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '获取弹性伸缩活动', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"AppId\\": \\"application_1542620905989_****\\",\\n \\"AppName\\": \\"CREATE TABLE test...ranks=1 (Stage-1)\\",\\n \\"User\\": \\"DW\\",\\n \\"Queue\\": \\"DW\\",\\n \\"State\\": \\"FINISHED\\",\\n \\"FinalStatus\\": \\"KILLED\\",\\n \\"Type\\": \\"SPARK\\",\\n \\"StartTime\\": 1673946000000,\\n \\"LaunchTime\\": 1665014400000,\\n \\"ElapsedTime\\": 278,\\n \\"FinishTime\\": 1658388322000,\\n \\"Metrics\\": {\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\",\\n \\"Value\\": 11123,\\n \\"Unit\\": \\"VCores * Sec\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\"\\n }\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], - 'ListApplications' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetDoctorReportComponentSummary' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12528,81 +8155,45 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '13072', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceU3PP4U', - ], + 'operationType' => 'get', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-e6a9d46e92675****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'NextToken', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => '下页页码。', - 'type' => 'string', - 'required' => false, - 'example' => '0', - ], - ], - [ - 'name' => 'MaxResults', + 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => '分页总数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - 'default' => '100', - ], + 'schema' => ['title' => 'dateTime for specify report', 'description' => '报告日期。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], [ - 'name' => 'ApplicationNames', + 'name' => 'ComponentType', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', 'schema' => [ - 'title' => '应用名称列表。', - 'description' => '应用名称列表。', - 'type' => 'array', - 'items' => [ - 'description' => '组件名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'HDFS', - ], - 'required' => false, - 'example' => 'c-b933c5aac8fe****', - 'maxItems' => 100, + 'title' => 'component type', + 'description' => '选择组件过滤类型。取值:'."\n" + .'- compute '."\n" + .'- hive'."\n" + .'- hdfs'."\n" + .'- yarn'."\n" + .'- oss'."\n" + .'- hbase', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['compute' => 'compute', 'hive' => 'hive', 'hdfs' => 'hdfs', 'yarn' => 'yarn', 'oss' => 'oss', 'hbase' => 'hbase'], + 'example' => 'compute', ], ], ], @@ -12613,159 +8204,77 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'Applications' => [ - 'description' => '应用列表。', - 'type' => 'array', - 'items' => [ - 'description' => '应用。', - 'type' => 'object', - 'properties' => [ - 'ApplicationName' => [ - 'title' => '应用名称。', - 'description' => '应用名称。', - 'type' => 'string', - 'example' => 'HDFS', - ], - 'ApplicationVersion' => [ - 'title' => '应用版本。', - 'description' => '应用版本。', - 'type' => 'string', - 'deprecated' => true, - 'example' => '2.8.5-20230620', - ], - 'CommunityVersion' => [ - 'title' => '社区版本。', - 'description' => '社区版本。', - 'type' => 'string', - 'example' => '2.8.5', - ], - 'ApplicationState' => [ - 'title' => '应用操作状态', - 'description' => '组件实例聚合操作状态, 取值范围:'."\n" - .'- STOPPED:只要有一个组件实例为STOPPED。 '."\n" - .'- RUNNING:所有组件实例状态都为RUNNING。'."\n" - ."\n" - .'该参数只对 DATALAKE,OLAP,DATAFLOW,DATASERVING,CUSTOM 集群生效,其他集群类型该参数返回值为空。', - 'type' => 'string', - 'example' => 'RUNNING', - ], - ], + 'Data' => [ + 'description' => '报告内容。', + 'type' => 'object', + 'properties' => [ + 'Score' => ['description' => '分数。', 'type' => 'integer', 'format' => 'int32', 'example' => '88'], + 'Summary' => ['description' => '报告摘要。', 'type' => 'string', 'example' => ' [计算检测] 计算健康度分数为 88 ,健康度良好,继续加油'."\n" + .'集群中大部分任务保持健康状态'."\n" + .'集群内存利用率为: 47.8% 偏低'], + 'Suggestion' => ['description' => '优化建议。', 'type' => 'string', 'example' => '计算健康度分数为 88 ,集群处于健康状态,继续保持 '."\n" + .'计算任务扫描'."\n" + .'对集群中 1518 个计算任务进行了扫描,包含 209 个任务处于不健康状态 ,596 个任务处于亚健康状态 ,713 个任务处于健康状态。 '."\n" + .'其中:'."\n" + .' Tez 任务 1518 个,加权平均分为 88 ,内存使用量占整体集群的 100.0% ,CPU 使用量占整体集群的 100.0% ,其中 209 个任务处于不健康状态,596 个任务处于亚健康状态;'."\n" + .'可在下面的任务明细列表中点击\'\'查看详情\'\',查看存在的具体问题及解决方案。其中\'\'低分任务算力内存时 (GB*Sec)Top20 \'\'表根据内存时使用量进行排序,由于大任务对集群整体影响可能更大,建议优先关注。'."\n" + .'内存利用率较低'."\n" + .'集群整体内存利用率为 47.8% ,内存利用率较低,计算资源存在浪费,建议优先对内存算力时较大且内存利用率较低的 TOP 任务进行优化'."\n" + .'其中,Tez作业平均内存利用率为 47.8% '], ], ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '下页页码。', - 'type' => 'string', - 'example' => '2', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '分页总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvokeEcmError', - 'errorMessage' => 'An error occurred while invoking ECM service.', - ], - [ - 'errorCode' => 'NotFound.Cluster', - 'errorMessage' => 'The cluster is not found.', - ], - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '获取指定组件报告', + 'summary' => '获取 EMR Doctor 指定组件分析结果报告。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorReportComponentSummary', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Applications\\": [\\n {\\n \\"ApplicationName\\": \\"HDFS\\",\\n \\"ApplicationVersion\\": \\"2.8.5-20230620\\",\\n \\"CommunityVersion\\": \\"2.8.5\\",\\n \\"ApplicationState\\": \\"RUNNING\\"\\n }\\n ],\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\",\\n \\"NextToken\\": \\"2\\",\\n \\"MaxResults\\": 10,\\n \\"TotalCount\\": 20\\n}","errorExample":""},{"type":"xml","example":"<ListApplicationsResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</RequestId>\\n <TotalCount>20</TotalCount>\\n <NextToken>1</NextToken>\\n <MaxResults>10</MaxResults>\\n <Applications>\\n <ApplicationName>hadoop</ApplicationName>\\n <ApplicationVersion>2.8.1</ApplicationVersion>\\n </Applications>\\n</ListApplicationsResponse>","errorExample":""}]', - 'title' => '查询应用列表', - 'summary' => '查询应用列表。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Score\\": 88,\\n \\"Summary\\": \\" [计算检测] 计算健康度分数为 88 ,健康度良好,继续加油\\\\n集群中大部分任务保持健康状态\\\\n集群内存利用率为: 47.8% 偏低\\",\\n \\"Suggestion\\": \\"计算健康度分数为 88 ,集群处于健康状态,继续保持 \\\\n计算任务扫描\\\\n对集群中 1518 个计算任务进行了扫描,包含 209 个任务处于不健康状态 ,596 个任务处于亚健康状态 ,713 个任务处于健康状态。 \\\\n其中:\\\\n Tez 任务 1518 个,加权平均分为 88 ,内存使用量占整体集群的 100.0% ,CPU 使用量占整体集群的 100.0% ,其中 209 个任务处于不健康状态,596 个任务处于亚健康状态;\\\\n可在下面的任务明细列表中点击\'\'查看详情\'\',查看存在的具体问题及解决方案。其中\'\'低分任务算力内存时 (GB*Sec)Top20 \'\'表根据内存时使用量进行排序,由于大任务对集群整体影响可能更大,建议优先关注。\\\\n内存利用率较低\\\\n集群整体内存利用率为 47.8% ,内存利用率较低,计算资源存在浪费,建议优先对内存算力时较大且内存利用率较低的 TOP 任务进行优化\\\\n其中,Tez作业平均内存利用率为 47.8% \\"\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], - 'GetApplication' => [ - 'description' => '查询应用详情。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetManagedScalingPolicy' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -12774,420 +8283,226 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceU3PP4U', - ], + 'abilityTreeCode' => '235207', + 'abilityTreeNodes' => ['FEATUREemapreduceB95X9C'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '地域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-e6a9d46e92675****', - ], - ], - [ - 'name' => 'ApplicationName', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '应用名称。', - 'description' => '应用名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'HDFS', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', - 'description' => '返回数据。', + 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'Application' => [ - 'description' => '应用。', + 'ScalingPolicy' => [ + 'description' => '弹性伸缩策略。', 'type' => 'object', 'properties' => [ - 'ApplicationName' => [ - 'title' => '应用名称。', - 'description' => '应用名称。', - 'type' => 'string', - 'example' => 'HDFS', - ], - 'ApplicationVersion' => [ - 'title' => '应用版本。', - 'description' => '应用版本。', - 'type' => 'string', - 'example' => '2.8.1', - ], - 'CommunityVersion' => [ - 'title' => '社区版本。', - 'description' => '社区版本。', - 'type' => 'string', - 'example' => '2.8.1', - ], - 'Actions' => [ - 'title' => '操作列表。', - 'description' => '应用支持的动作列表。', - 'type' => 'array', - 'items' => [ - 'description' => '动作。', - 'type' => 'object', - 'properties' => [ - 'RunActionScope' => [ - 'title' => '执行范围。', - 'description' => '执行范围。取值范围:'."\n" - ."\n" - .'- APPLICATION:应用范围。'."\n" - .'- COMPONENT:组件范围。'."\n" - .'- COMPONENT_INSTANCE:组件实例范围。', - 'type' => 'string', - 'example' => 'COMPONENT_INSTANCE', - ], - 'ComponentName' => [ - 'title' => '组件名称。', - 'description' => '组件名称。', - 'type' => 'string', - 'example' => 'DataNode', - ], - 'ActionName' => [ - 'title' => '操作名称。', - 'description' => '动作名称。', - 'type' => 'string', - 'example' => 'decommission', - ], - 'Description' => [ - 'title' => '操作描述。', - 'description' => '动作描述。', - 'type' => 'string', - 'example' => '描述', - ], - 'Command' => [ - 'title' => '命令。', - 'description' => '动作命令。', - 'type' => 'string', - 'example' => 'decommission', - ], - 'ActionParams' => [ - 'title' => '操作参数。', - 'description' => '动作参数列表。', - 'type' => 'array', - 'items' => [ - 'description' => '动作参数。', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'title' => '动作参数KEY。', - 'description' => '参数名称。', - 'type' => 'string', - 'example' => 'timeout', - ], - 'ValueAttribute' => [ - 'title' => '动作参数属性。', - 'description' => '参数值属性。', - 'type' => 'object', - 'properties' => [ - 'ValueType' => [ - 'title' => '属性值类型。', - 'description' => '值类型。', - 'type' => 'string', - 'example' => 'int', - ], - 'ValueMaximum' => [ - 'title' => '最大值。', - 'description' => '值最大范围。', - 'type' => 'string', - 'example' => '100', - ], - 'ValueMinimum' => [ - 'title' => '最小值。', - 'description' => '值最小范围。', - 'type' => 'string', - 'example' => '1', - ], - 'ValueUnit' => [ - 'title' => '值单位。', - 'description' => '值单位。', - 'type' => 'string', - 'example' => '秒', - ], - 'ValueIncrementStep' => [ - 'title' => '值步长。', - 'description' => '值增量大小。', - 'type' => 'string', - 'example' => '1', - ], - 'Description' => [ - 'title' => '值表述。', - 'description' => '值表述。', - 'type' => 'string', - 'example' => '设置超时时间', - ], - ], - ], - 'Description' => [ - 'title' => '动作参数描述。', - 'description' => '动作描述。', - 'type' => 'string', - 'example' => 'decommission下线动作', - ], - ], - ], - ], - ], + 'ClusterId' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'example' => 'c-b933c5aac8fe****'], + 'ScalingPolicyId' => ['title' => '伸缩策略ID。', 'description' => '伸缩策略ID。', 'type' => 'string', 'example' => 'asp-asduwe23znl***'], + 'Constraints' => [ + 'title' => '最大最小值约束', + 'description' => '最大最小值约束。', + 'type' => 'object', + 'properties' => [ + 'MaxCapacity' => ['title' => '最大值', 'description' => '最大值。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'MinCapacity' => ['title' => '最小值', 'description' => '最小值。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'MaxOnDemandCapacity' => ['title' => '最大按量数量', 'description' => '按量付费Task节点的最大数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], ], ], - 'ApplicationState' => [ - 'title' => '应用操作状态。', - 'description' => '应用操作状态。', - 'type' => 'string', - 'example' => 'RUNNING', - ], ], ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvokeEcmError', - 'errorMessage' => 'An error occurred while invoking ECM service.', - ], - [ - 'errorCode' => 'NotFound.Cluster', - 'errorMessage' => 'The cluster is not found.', - ], - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查看托管弹性伸缩策略', + 'summary' => '查看托管伸缩策略内容。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetManagedScalingPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Application\\": {\\n \\"ApplicationName\\": \\"HDFS\\",\\n \\"ApplicationVersion\\": \\"2.8.1\\",\\n \\"CommunityVersion\\": \\"2.8.1\\",\\n \\"Actions\\": [\\n {\\n \\"RunActionScope\\": \\"COMPONENT_INSTANCE\\",\\n \\"ComponentName\\": \\"DataNode\\",\\n \\"ActionName\\": \\"decommission\\",\\n \\"Description\\": \\"描述\\",\\n \\"Command\\": \\"decommission\\",\\n \\"ActionParams\\": [\\n {\\n \\"Key\\": \\"timeout\\",\\n \\"ValueAttribute\\": {\\n \\"ValueType\\": \\"int\\",\\n \\"ValueMaximum\\": \\"100\\",\\n \\"ValueMinimum\\": \\"1\\",\\n \\"ValueUnit\\": \\"秒\\",\\n \\"ValueIncrementStep\\": \\"1\\",\\n \\"Description\\": \\"设置超时时间\\"\\n },\\n \\"Description\\": \\"decommission下线动作\\"\\n }\\n ]\\n }\\n ],\\n \\"ApplicationState\\": \\"RUNNING\\"\\n },\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","errorExample":""},{"type":"xml","example":"<GetApplicationResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</RequestId>\\n <Application>\\n <ApplicationName>KAFKA</ApplicationName>\\n <ApplicationVersion>2.8.1</ApplicationVersion>\\n <Actions>\\n <ComponentName>server</ComponentName>\\n <ActionName>innode_disks_balance</ActionName>\\n <ActionParams>\\n <Key>in-node-disks-balance-threshold</Key>\\n <ValueAttribute>\\n <ValueType>int</ValueType>\\n <ValueMaximum>111</ValueMaximum>\\n <ValueMinimum>111</ValueMinimum>\\n <ValueUnit>null</ValueUnit>\\n <ValueIncrementStep>1</ValueIncrementStep>\\n </ValueAttribute>\\n <Description>description of in-node-disks-balance-threshold key</Description>\\n </ActionParams>\\n </Actions>\\n </Application>\\n</GetApplicationResponse>","errorExample":""}]', - 'title' => '获取应用详情', - 'summary' => '获取应用详情。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingPolicy\\": {\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"ScalingPolicyId\\": \\"asp-asduwe23znl***\\",\\n \\"Constraints\\": {\\n \\"MaxCapacity\\": 20,\\n \\"MinCapacity\\": 0,\\n \\"MaxOnDemandCapacity\\": 10\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], - 'RunApplicationAction' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetNodeGroup' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceWFD0SJ', - ], + 'operationType' => 'get', + 'abilityTreeNodes' => ['FEATUREemapreduce51LGQ1'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '地域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'C-C95F0A39D8FF****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'ActionName', + 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '操作名称。', - 'description' => '动作名称。取值范围:'."\n" - .'- start:启动。'."\n" - .'- stop:停止。'."\n" - .'- config:下发配置。'."\n" - .'- restart:重启 。'."\n" - .'- refresh_queues:刷新YARN队列。'."\n" - .'- refresh_labels:刷新YARN标签。'."\n" - .'- refresh_nodes: 刷新 YARN 集群中节点信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'start', - ], + 'schema' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****'], ], - [ - 'name' => 'ComponentInstanceSelector', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '组件实例选择器。', - 'description' => '操作对象。', - 'required' => true, - '$ref' => '#/components/schemas/ComponentInstanceSelector', + 'title' => '返回数据', + 'description' => '返回数据', + 'type' => 'object', + 'properties' => [ + 'NodeGroup' => ['description' => '节点组。', '$ref' => '#/components/schemas/NodeGroup'], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + ], ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], + ], + 404 => [ + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], + ], + 503 => [ + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '获取节点组', + 'summary' => '获取节点组详情。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetNodeGroup'], + ], + ], + 'ramActions' => [ [ - 'name' => 'RollingExecute', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '是否滚动执行。', - 'description' => '是否滚动执行。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetNodeGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"NodeGroup\\": {\\n \\"WithPublicIp\\": true,\\n \\"SpotInstanceRemedy\\": false,\\n \\"DataDisks\\": [\\n {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 80,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 5\\n }\\n ],\\n \\"CompensateWithOnDemand\\": true,\\n \\"NodeGroupState\\": \\"RESIZING\\",\\n \\"SystemDisk\\": {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 60,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 1\\n },\\n \\"PrivatePoolOptions\\": {\\n \\"MatchCriteria\\": \\"Open\\",\\n \\"PrivatePoolIds\\": [\\n \\"crp-xxxx\\"\\n ]\\n },\\n \\"NodeGroupType\\": \\"MASTER\\",\\n \\"PaymentType\\": \\"Subscription\\",\\n \\"InstanceTypes\\": [\\n \\"ecs.g7.2xlarge\\"\\n ],\\n \\"CostOptimizedConfig\\": {\\n \\"OnDemandBaseCapacity\\": 80,\\n \\"OnDemandPercentageAboveBaseCapacity\\": 80,\\n \\"SpotInstancePools\\": 2\\n },\\n \\"GracefulShutdown\\": false,\\n \\"SpotStrategy\\": \\"NoSpot\\",\\n \\"StateChangeReason\\": {\\n \\"Message\\": \\"The instance type is required.\\",\\n \\"Code\\": \\"UserRequest\\"\\n },\\n \\"Status\\": \\"CREATED\\",\\n \\"ZoneId\\": \\"cn-hangzhou\\",\\n \\"NodeGroupName\\": \\"core-1\\",\\n \\"VSwitchIds\\": [\\n \\"vsw-bp1opd2qejvhsabfe****\\"\\n ],\\n \\"SpotBidPrices\\": [\\n {\\n \\"BidPrice\\": 1000,\\n \\"InstanceType\\": \\"ecs.g7.2xlarge\\"\\n }\\n ],\\n \\"NodeResizeStrategy\\": \\"PRIORITY\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"AdditionalSecurityGroupIds\\": [\\n \\"\\"\\n ],\\n \\"DeploymentSetStrategy\\": \\"NONE\\",\\n \\"RunningNodeCount\\": 3\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","errorExample":""},{"type":"xml","example":"<GetNodeGroupResponse>\\n <NodeGroup>\\n </NodeGroup>\\n</GetNodeGroupResponse>","errorExample":""}]', + ], + 'GetOperation' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ExecuteStrategy', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '运行策略。', - 'description' => '运行策略。取值范围:'."\n" - .'- FAILED_BLOCK:失败后阻塞。'."\n" - .'- FAILED_CONTINUE:失败后继续。', - 'type' => 'string', - 'required' => false, - 'example' => 'FAILED_CONTINUE', - ], + 'AK' => [], ], + ], + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '38519', + 'abilityTreeNodes' => ['FEATUREemapreduceW8BA0F'], + ], + 'parameters' => [ [ - 'name' => 'Interval', + 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '滚动执行间隔时间 单位:秒。', - 'description' => '滚动执行间隔时间。单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'BatchSize', + 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '每批数量。', - 'description' => '每批次数量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'Description', + 'name' => 'OperationId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '描述。', - 'description' => '描述。', - 'type' => 'string', - 'required' => false, - 'example' => '运行描述', - ], + 'schema' => ['title' => '操作ID。', 'description' => '操作ID。'."\n" + ."\n" + .'参考取值来源:'."\n" + ."\n" + .'- [CreateCluster](~~454393~~)'."\n" + .'- [IncreaseNodes](~~454397~~)', 'type' => 'string', 'required' => true, 'example' => 'op-13c37a77c505****'], ], ], 'responses' => [ @@ -13197,282 +8512,159 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'OperationId' => [ - 'title' => '操作ID。', - 'description' => '操作ID。', - 'type' => 'string', - 'example' => 'op-13c37a77c505****', - ], - 'AbnInstances' => [ - 'title' => '异常节点列表。', - 'description' => '异常节点列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'NodeName' => [ - 'description' => '异常节点名称。', - 'type' => 'string', - 'example' => 'core1-1', - ], - 'NodeId' => [ - 'description' => '异常节点ID。', - 'type' => 'string', - 'example' => 'i-bp1cudc25w2bfwl5****', - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****', - ], + 'Operation' => ['description' => '操作。', '$ref' => '#/components/schemas/Operation'], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3896A'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConcurrentModification', - 'errorMessage' => 'The request on %s failed due to multiple requests to change this object were submitted simultaneously. Wait a few minutes and try again.', - ], - [ - 'errorCode' => 'InvalidParameter.InvalidRunActionScope', - 'errorMessage' => 'The specified run action scope is invalid.', - ], - [ - 'errorCode' => 'MissingParameter.ComponentInstance', - 'errorMessage' => 'You must specify componentInstance.', - ], - [ - 'errorCode' => 'MissingParameter.NodeId', - 'errorMessage' => 'You must specify nodeId.', - ], - [ - 'errorCode' => 'MissingParameter.ComponentName', - 'errorMessage' => 'You must specify componentName.', - ], - [ - 'errorCode' => 'MissingParameter.ApplicationName', - 'errorMessage' => 'You must specify applicationName.', - ], - [ - 'errorCode' => 'MissingParameter.NodeGroupId', - 'errorMessage' => 'You must specify nodeGroupId.', - ], - [ - 'errorCode' => 'InvokeEcmError', - 'errorMessage' => 'An error occurred while invoking ECM service.', - ], - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"AbnInstances\\": [\\n {\\n \\"NodeName\\": \\"core1-1\\",\\n \\"NodeId\\": \\"i-bp1cudc25w2bfwl5****\\"\\n }\\n ],\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","errorExample":""},{"type":"xml","example":"<RunApplicationActionResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</RequestId>\\n <OperationId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</OperationId>\\n</RunApplicationActionResponse>","errorExample":""}]', - 'title' => '执行应用操作', - 'summary' => '本接口用于对集群安装的应用执行启动,停止等管理操作。', - ], - 'ListApplicationConfigs' => [ - 'description' => '查询应用配置。', - 'methods' => [ - 'get', - 'post', + 'title' => '获取操作', + 'summary' => '获取一个异步操作详情。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetOperation'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetOperation', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Operation\\": {\\n \\"Description\\": \\"start\\",\\n \\"EndTime\\": 1628589439114,\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"CreateTime\\": 1628589439114,\\n \\"StartTime\\": 1628589439114,\\n \\"OperationType\\": \\"CREATE_CLUSTER\\",\\n \\"OperationState\\": \\"COMPLETED\\",\\n \\"StateChangeReason\\": {\\n \\"Message\\": \\"The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.\\",\\n \\"Code\\": \\"OutOfStock\\"\\n }\\n },\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3896A\\"\\n}","errorExample":""},{"type":"xml","example":"<GetOperationResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</RequestId>\\n <OperationState>COMPLETED</OperationState>\\n <Orders/>\\n <PriceInfo>\\n <PromotionResults/>\\n </PriceInfo>\\n</GetOperationResponse>","errorExample":""}]', + ], + 'IncreaseNodes' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce961UGJ', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '20107', + 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-e6a9d46e9267****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'NextToken', + 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => '下页页码。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '节点组ID。', 'description' => '节点组ID。扩容的目标节点组。', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****'], ], [ - 'name' => 'MaxResults', + 'name' => 'IncreaseNodeCount', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '100', - ], + 'schema' => ['title' => '节点数量。', 'description' => '节点数量。本次扩容的增量节点数量。取值范围:1~500。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '3'], ], [ - 'name' => 'ApplicationName', + 'name' => 'AutoPayOrder', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '应用名称。', - 'description' => '应用名。', - 'type' => 'string', - 'required' => false, - 'example' => 'HDFS', - ], + 'schema' => ['title' => '是否自动支付。', 'description' => '是否自动支付本次扩容操作涉及的订单。节点组付费类型PaymentType取值Subscription时该参数生效。取值范围:'."\n" + .'- true:自动支付本次操作涉及的订单。'."\n" + .'- false:不自动支付本次操作涉及的订单。'."\n" + ."\n" + .'默认值:false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ - 'name' => 'NodeGroupId', + 'name' => 'AutoRenew', 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '节点组ID。', - 'description' => '节点组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ng-d555335ced5c****', - ], + 'schema' => ['description' => '本次扩容的节点是否开启自动续费,默认值为false。取值范围:'."\n" + .'- true:开启自动续费。'."\n" + .'- false:不开启自动续费。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ - 'name' => 'ConfigFileName', + 'name' => 'PaymentDuration', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '配置文件名称。', - 'description' => '配置文件名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'hdfs-site.xml', - ], + 'schema' => ['title' => '付费时长。', 'description' => '付费时长。当PaymentDurationUnit取值为Month时,取值:1、2、3、4、5、6、7、8、9、12、24、36、48、60。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '12'], ], [ - 'name' => 'ConfigItemKey', + 'name' => 'PaymentDurationUnit', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '配置键值。', - 'description' => '配置项键。', - 'type' => 'string', - 'required' => false, - 'example' => 'dfs.replication', - ], + 'schema' => ['title' => '付费时长单位。', 'description' => '付费时长单位。取值范围:'."\n" + .'- Month:月。', 'type' => 'string', 'required' => false, 'example' => 'Month'], ], [ - 'name' => 'ConfigItemValue', + 'name' => 'ApplicationConfigs', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '配置项值。', - 'description' => '配置项值。', - 'type' => 'string', + 'title' => '应用配置。', + 'description' => '应用配置。数组元素个数N的取值范围:1~1000。', + 'type' => 'array', + 'items' => ['description' => '应用配置。', 'required' => false, '$ref' => '#/components/schemas/ApplicationConfig'], 'required' => false, - 'example' => '2', + 'example' => 'Month', + 'maxItems' => 100, ], ], [ - 'name' => 'NodeId', + 'name' => 'MinIncreaseNodeCount', 'in' => 'query', - 'allowEmptyValue' => false, + 'schema' => ['description' => '本次扩容接受的最小节点数量。取值范围为 1 到 500。'."\n" + ."\n" + .'- 若设置了该值,当ECS库存数量小于IncreaseNodeCount 时,扩容流程将尽力创建 `MinIncreaseNodeCount` 个节点,扩容流程状态将显示为部分成功 `PARTIAL_COMPLETED`。'."\n" + .'- 如果不设置该值,当ECS库存数量小于IncreaseNodeCount 时,扩容流程失败,状态为失败 `FAILED`。', 'type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'Promotions', + 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'title' => '节点ID。', - 'description' => '节点ID。', - 'type' => 'string', + 'type' => 'array', + 'items' => ['required' => false, '$ref' => '#/components/schemas/Promotion', 'description' => ''], 'required' => false, - 'example' => 'i-bp10h9rezawz1i4o****', + 'description' => '', ], ], ], @@ -13483,212 +8675,66 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'ApplicationConfigs' => [ - 'description' => '应用配置列表。', - 'type' => 'array', - 'items' => [ - 'description' => '应用。', - 'type' => 'object', - 'properties' => [ - 'ApplicationName' => [ - 'title' => '应用名称。', - 'description' => '应用名称。', - 'type' => 'string', - 'example' => 'HDFS', - ], - 'ConfigFileName' => [ - 'title' => '配置文件名称。', - 'description' => '配置文件名称。', - 'type' => 'string', - 'example' => 'hdfs-site.xml', - ], - 'ConfigItemKey' => [ - 'title' => '配置项键。', - 'description' => '配置项键。', - 'type' => 'string', - 'example' => 'dfs.replication'."\n", - ], - 'ConfigItemValue' => [ - 'title' => '配置项值。', - 'description' => '配置项值。', - 'type' => 'string', - 'example' => '2', - ], - 'CreateTime' => [ - 'title' => '创建时间。', - 'description' => '创建时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1628589439114', - ], - 'UpdateTime' => [ - 'title' => '更新时间。', - 'description' => '更新时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1628589439114', - ], - 'Modifier' => [ - 'title' => '修改人员。', - 'description' => '修改人。', - 'type' => 'string', - 'example' => '170906468757****', - ], - 'Custom' => [ - 'title' => '是否是自定义配置。', - 'description' => '是否是自定义配置。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'InitValue' => [ - 'title' => '初始值。', - 'description' => '初始值。', - 'type' => 'string', - 'example' => '2', - ], - 'Description' => [ - 'title' => '描述。', - 'description' => '描述。', - 'type' => 'string', - 'example' => 'dfs.replication description', - ], - 'ConfigEffectState' => [ - 'title' => '配置值生效状态。', - 'description' => '配置值生效状态。', - 'type' => 'string', - 'example' => 'EFFECT', - ], - 'NodeId' => [ - 'title' => '节点ID。', - 'description' => '节点ID。', - 'type' => 'string', - 'example' => 'i-bp18y0ng3qqxog4mw****', - ], - 'NodeGroupId' => [ - 'title' => '节点组ID。', - 'description' => '节点组ID。', - 'type' => 'string', - 'example' => 'ng-d555335ced5****', - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '下页页码。', - 'type' => 'string', - 'example' => '1', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '分页总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], + 'OperationId' => ['title' => '操作ID。', 'description' => '操作ID。', 'type' => 'string', 'example' => 'op-13c37a77c505****'], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvokeEcmError', - 'errorMessage' => 'An error occurred while invoking ECM service.', - ], - [ - 'errorCode' => 'NotFound.Cluster', - 'errorMessage' => 'The cluster is not found.', - ], - [ - 'errorCode' => 'InvalidParameter.Application', - 'errorMessage' => 'The specified application is invalid.', - ], - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'OperationDenied', 'errorMessage' => 'The operation is invalid. %s', 'description' => '操作被拒绝。'], + ['errorCode' => 'OutOfStock', 'errorMessage' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.', 'description' => '请求的资源库存不足,请尝试其他类型资源,或者其他可用区,或者其他区域。'], + ['errorCode' => 'QuotaExceeded', 'errorMessage' => 'Request fail due to quota exceed. %s', 'description' => '因配额超出导致请求失败。'], + ['errorCode' => 'AccountException', 'errorMessage' => 'Account exception. %s', 'description' => '账号异常。'], + ['errorCode' => 'ConcurrentModification', 'errorMessage' => 'The request on %s failed due to multiple requests to change this object were submitted simultaneously. Wait a few minutes and try again.', 'description' => '并发操作导致请求失败。'], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ApplicationConfigs\\": [\\n {\\n \\"ApplicationName\\": \\"HDFS\\",\\n \\"ConfigFileName\\": \\"hdfs-site.xml\\",\\n \\"ConfigItemKey\\": \\"dfs.replication\\\\n\\",\\n \\"ConfigItemValue\\": \\"2\\",\\n \\"CreateTime\\": 1628589439114,\\n \\"UpdateTime\\": 1628589439114,\\n \\"Modifier\\": \\"170906468757****\\",\\n \\"Custom\\": false,\\n \\"InitValue\\": \\"2\\",\\n \\"Description\\": \\"dfs.replication description\\",\\n \\"ConfigEffectState\\": \\"EFFECT\\",\\n \\"NodeId\\": \\"i-bp18y0ng3qqxog4mw****\\",\\n \\"NodeGroupId\\": \\"ng-d555335ced5****\\"\\n }\\n ],\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\",\\n \\"NextToken\\": \\"1\\",\\n \\"MaxResults\\": 100,\\n \\"TotalCount\\": 100\\n}","errorExample":""},{"type":"xml","example":"<ListApplicationConfigsResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</RequestId>\\n <ApplicationConfigs>\\n <ApplicationName>HADOOP</ApplicationName>\\n <ConfigFileName>mapred-site</ConfigFileName>\\n <ConfigVersion>162859798****</ConfigVersion>\\n <ConfigItemKey>yarn.app.mapreduce.am.resource.mb</ConfigItemKey>\\n <ConfigItemValue>3072</ConfigItemValue>\\n <CreateTime>1628589439114</CreateTime>\\n <UpdateTime>1628589439114</UpdateTime>\\n <Modifier>170906468757****</Modifier>\\n <Custom>false</Custom>\\n <Applied>true</Applied>\\n <InitValue>3072</InitValue>\\n <Description>yarn.app.mapreduce.am.resource.mb description</Description>\\n <ConfigItemValueAttribute>\\n <ConfigItemValueType>int</ConfigItemValueType>\\n <ConfigItemValueMaximum>3072</ConfigItemValueMaximum>\\n <ConfigItemValueMinimum>2000</ConfigItemValueMinimum>\\n <ConfigItemValueUnit>mb</ConfigItemValueUnit>\\n <ConfigItemValueReadOnly>true</ConfigItemValueReadOnly>\\n <ConfigItemValueIncrementStep>1</ConfigItemValueIncrementStep>\\n </ConfigItemValueAttribute>\\n </ApplicationConfigs>\\n <MaxResults>100</MaxResults>\\n <NextToken>1</NextToken>\\n <TotalCount>100</TotalCount>\\n</ListApplicationConfigsResponse>","errorExample":""}]', - 'title' => '查询应用配置', - 'summary' => '查询应用配置。', - ], - 'UpdateApplicationConfigs' => [ - 'methods' => [ - 'post', + 'title' => '扩容', + 'summary' => '对目标节点组执行扩容操作。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'IncreaseNodes'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:IncreaseNodes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","errorExample":""},{"type":"xml","example":"<IncreaseNodesResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</RequestId>\\n <OperationId>64bedf6d-96e3-4780-95a0-4ad376ad****</OperationId>\\n</IncreaseNodesResponse>","errorExample":""}]', + ], + 'JoinResourceGroup' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13697,520 +8743,233 @@ 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '19029', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce961UGJ', - ], + 'abilityTreeNodes' => ['FEATUREemapreduceGZP0FZ'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '地域ID。', 'description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ClusterId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-e6a9d46e9267****', - ], - ], - [ - 'name' => 'ApplicationName', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '应用名称。', - 'description' => '应用名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'HDFS', - ], - ], - [ - 'name' => 'RefreshConfig', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '是否刷新配置。', - 'description' => '是否刷新配置。'."\n" - .'默认值: true。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - [ - 'name' => 'ConfigAction', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '配置项操作。', - 'description' => '配置项操作。取值范围:'."\n" - .'- ADD:添加。'."\n" - .'- UPDATE:更新。'."\n" - .'- DELETE:删除。', - 'type' => 'string', - 'required' => false, - 'example' => 'ADD', - ], - ], - [ - 'name' => 'ConfigScope', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '配置操作范围。', - 'description' => '配置操作范围。取值范围:'."\n" - .'- CLUSTER:集群级别。'."\n" - .'- NODE_GROUP:节点组级别。', - 'type' => 'string', - 'required' => false, - 'example' => 'CLUSTER', - ], - ], - [ - 'name' => 'ApplicationConfigs', - 'in' => 'formData', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '应用配置列表。', - 'description' => '应用配置列表。', - 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/UpdateApplicationConfig', - ], - 'required' => true, - ], - ], - [ - 'name' => 'Description', + 'name' => 'ResourceType', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '本次更新操作描述。', - 'description' => '描述。', - 'type' => 'string', - 'required' => false, - 'example' => '描述', - ], + 'schema' => ['title' => '资源类型。', 'description' => '资源类型。取值范围:'."\n" + .'- cluster:集群。', 'type' => 'string', 'required' => true, 'example' => 'cluster'], ], [ - 'name' => 'NodeGroupId', + 'name' => 'ResourceGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '节点组ID.', - 'description' => '节点组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ng-869471354ecd****', - ], + 'schema' => ['title' => '资源组ID。', 'description' => '资源组。', 'type' => 'string', 'required' => true, 'example' => 'rg-acfmzabjyop****'], ], [ - 'name' => 'NodeId', + 'name' => 'ResourceId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '节点ID。', - 'description' => '节点ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'i-bp1cudc25w2bfwl5****', - ], + 'schema' => ['title' => '资源ID。', 'description' => '资源ID。', 'type' => 'string', 'required' => true, 'example' => 'c-c95f0a39d8ff****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', - 'description' => 'Schema of Response', + 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'OperationId' => [ - 'title' => '操作ID。', - 'description' => '操作ID。', - 'type' => 'string', - 'example' => 'op-13c37a77c505****', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateApplicationConfigsResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</RequestId>\\n</UpdateApplicationConfigsResponse>","errorExample":""}]', - 'title' => '更新应用配置', - 'summary' => '更新应用配置。', - ], - 'ListComponents' => [ - 'methods' => [ - 'get', - 'post', + 'title' => '加入资源组', + 'summary' => '将一个EMR资源加入目标资源组。一个资源只能属于一个资源组。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'JoinResourceGroup'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:JoinResourceGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","type":"json"}]', + ], + 'ListApiTemplates' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'list', - 'abilityTreeCode' => '13082', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce2ERXZY', - ], + 'abilityTreeCode' => '189428', + 'abilityTreeNodes' => ['FEATUREemapreduceU64T1A'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '地域ID。', - 'description' => '区域ID。您可以调用[ListRegions](url)查看。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ClusterId', + 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'C-8CFEBCCFFEF5****', - ], + 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ - 'name' => 'NextToken', + 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => '用来标记当前开始读取的位置,置空表示从头开始。', - 'type' => 'string', - 'required' => false, - 'example' => '""', - ], + 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ - 'name' => 'MaxResults', + 'name' => 'TemplateId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => '读取的最大数据记录数量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['title' => '集群模板id。', 'description' => '集群模板ID。', 'type' => 'string', 'required' => false, 'example' => 'at-41b4c6a0fc63****'], ], [ - 'name' => 'ApplicationNames', + 'name' => 'TemplateIds', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'title' => '应用名称列表。', - 'description' => '应用名列表。', + 'title' => '集群模板id列表。', + 'description' => 'API模板ID列表。', 'type' => 'array', - 'items' => [ - 'description' => '应用名。', - 'type' => 'string', - 'required' => false, - 'example' => 'KNOX', - ], + 'items' => ['description' => 'API模板ID。', 'type' => 'string', 'required' => false, 'example' => 'at-41b4c6a0fc63****'], 'required' => false, - 'example' => '20', - 'maxItems' => 100, + 'example' => '["AT-****"]', ], ], [ - 'name' => 'ComponentNames', + 'name' => 'ApiName', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '组件名称列表。', - 'description' => '组件名称列表。', - 'type' => 'array', - 'items' => [ - 'description' => '组件名。', - 'type' => 'string', - 'required' => false, - 'example' => 'KNOX', - ], - 'required' => false, - 'example' => '["HDFS"]', - 'maxItems' => 100, - ], + 'schema' => ['title' => '接口名。', 'description' => '接口名。', 'type' => 'string', 'required' => true, 'example' => 'CreateCluster'], ], [ - 'name' => 'ComponentStates', + 'name' => 'TemplateName', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => '组件状态列表。', - 'type' => 'array', - 'items' => [ - 'description' => '组件状态。', - 'type' => 'string', - 'required' => false, - 'example' => 'INSTALLED', - ], - 'required' => false, - 'example' => 'null', - 'maxItems' => 100, - ], + 'schema' => ['title' => '集群模板名字。', 'description' => '集群模板名字。', 'type' => 'string', 'required' => false, 'example' => 'DATALAKE template'], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '资源组ID。', 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmzabjyop****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', - 'description' => 'Schema of Response', + 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'Components' => [ - 'description' => '组件信息列表。', + 'ApiTemplates' => [ + 'description' => 'API模板数组。', 'type' => 'array', - 'items' => [ - 'description' => '组件信息。', - 'type' => 'object', - 'properties' => [ - 'ComponentName' => [ - 'title' => '组件名称。', - 'description' => '组件名。', - 'type' => 'string', - 'example' => 'KNOX', - ], - 'ApplicationName' => [ - 'title' => '应用名称。', - 'description' => '应用名。', - 'type' => 'string', - 'example' => 'KNOX', - ], - 'Replica' => [ - 'title' => '安装该组件的ecs总数。', - 'description' => '安装该组件的机器总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Namespace' => [ - 'title' => '命名空间。', - 'description' => '保留字段。', - 'type' => 'string', - 'example' => '“”', - ], - 'Attributes' => [ - 'title' => '属性列表。', - 'description' => '属性列表。', - 'type' => 'array', - 'items' => [ - 'description' => '属性名。', - '$ref' => '#/components/schemas/Attribute', - ], - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'FFAC608A-5DC3-174F-93C6-9F88CA6D5875', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '返回读取到的数据位置。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '本次请求所返回的最大记录条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '本次请求条件下的数据总量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', + 'items' => ['description' => 'API模板详情。', '$ref' => '#/components/schemas/ApiTemplate'], + 'deprecated' => true, ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '返回读取到的数据位置。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '查看API模板列表', + 'summary' => '查看API模板列表。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListApiTemplates', + 'authLevel' => '', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Components\\": [\\n {\\n \\"ComponentName\\": \\"KNOX\\",\\n \\"ApplicationName\\": \\"KNOX\\",\\n \\"Replica\\": 1,\\n \\"Namespace\\": \\"“”\\",\\n \\"Attributes\\": [\\n {\\n \\"Key\\": \\"currentYarnRangerPluginState\\",\\n \\"Value\\": \\"true\\"\\n }\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"FFAC608A-5DC3-174F-93C6-9F88CA6D5875\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","errorExample":""},{"type":"xml","example":"<ListComponentsResponse>\\n <RequestId>FFAC608A-5DC3-174F-93C6-9F88CA6D5875</RequestId>\\n <Components>\\n <ComponentName>KNOX</ComponentName>\\n <Replica>1</Replica>\\n <ApplicationName>KNOX</ApplicationName>\\n <Namespace/>\\n </Components>\\n</ListComponentsResponse>","errorExample":""}]', - 'title' => '查询组件列表', - 'summary' => '查询组件列表。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ApiTemplates\\": [\\n {\\n \\"Status\\": \\"READY\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzabjyop****\\",\\n \\"ApiName\\": \\"CreateCluster\\",\\n \\"Content\\": \\"content\\\\n\\",\\n \\"TemplateName\\": \\"datalakeTest1\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"TemplateId\\": \\"AT-Af***\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', ], - 'ListComponentInstances' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListApplicationConfigs' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -14219,438 +8978,209 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', - 'abilityTreeCode' => '13081', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce2ERXZY', - ], + 'abilityTreeNodes' => ['FEATUREemapreduce961UGJ'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '地域ID。', - 'description' => '区域ID。您可以调用[ListRegions](url)查看。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'C-8CFEBCCFFEF5****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-e6a9d46e9267****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => '用来标记当前开始读取的位置,置空表示从头开始。', - 'type' => 'string', - 'required' => false, - 'example' => '“”', - ], + 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '下页页码。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => '读取的最大数据记录数量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'], ], [ - 'name' => 'ApplicationNames', + 'name' => 'ApplicationName', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '应用名称列表。', - 'description' => '应用名列表。', - 'type' => 'array', - 'items' => [ - 'description' => '应用名。', - 'type' => 'string', - 'required' => false, - 'example' => 'KNOX', - ], - 'required' => false, - 'example' => 'c-b933c5aac8fe****', - 'maxItems' => 100, - ], + 'schema' => ['title' => '应用名称。', 'description' => '应用名。', 'type' => 'string', 'required' => false, 'example' => 'HDFS'], ], [ - 'name' => 'NodeIds', + 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '节点ID列表。', - 'description' => '机器ID列表。', - 'type' => 'array', - 'items' => [ - 'description' => '机器ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'i-bp17yy050pxo01m2****', - ], - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - 'maxItems' => 100, - ], + 'schema' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'required' => false, 'example' => 'ng-d555335ced5c****'], ], [ - 'name' => 'NodeNames', + 'name' => 'ConfigFileName', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '节点名称列表。', - 'description' => '机器名列表。', - 'type' => 'array', - 'items' => [ - 'description' => '机器名。', - 'type' => 'string', - 'required' => false, - 'example' => 'emr-worker-1', - ], - 'required' => false, - 'example' => '20', - 'maxItems' => 100, - ], + 'schema' => ['title' => '配置文件名称。', 'description' => '配置文件名称。', 'type' => 'string', 'required' => false, 'example' => 'hdfs-site.xml'], ], [ - 'name' => 'ComponentNames', + 'name' => 'ConfigItemKey', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '组件名称列表。', - 'description' => '组件名列表。', - 'type' => 'array', - 'items' => [ - 'description' => '组件名。', - 'type' => 'string', - 'required' => false, - 'example' => 'KNOX', - ], - 'required' => false, - 'example' => '["HDFS"]', - 'maxItems' => 100, - ], + 'schema' => ['title' => '配置键值。', 'description' => '配置项键。', 'type' => 'string', 'required' => false, 'example' => 'dfs.replication'], ], [ - 'name' => 'ComponentStates', + 'name' => 'ConfigItemValue', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => '组件状态列表。', - 'type' => 'array', - 'items' => [ - 'description' => '组件状态。', - 'type' => 'string', - 'required' => false, - 'example' => 'INSTALLED', - ], - 'required' => false, - 'example' => 'null', - 'maxItems' => 100, - ], + 'schema' => ['title' => '配置项值。', 'description' => '配置项值。', 'type' => 'string', 'required' => false, 'example' => '2'], ], [ - 'name' => 'ZoneId', + 'name' => 'NodeId', 'in' => 'query', - 'schema' => [ - 'description' => '可用区 ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou-i', - ], + 'allowEmptyValue' => false, + 'schema' => ['title' => '节点ID。', 'description' => '节点ID。', 'type' => 'string', 'required' => false, 'example' => 'i-bp10h9rezawz1i4o****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', - 'description' => 'Schema of Response', + 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'ComponentInstances' => [ - 'description' => '实例组件安装信息列表。', + 'ApplicationConfigs' => [ + 'description' => '应用配置列表。', 'type' => 'array', 'items' => [ - 'description' => '实例组件安装信息。', + 'description' => '应用。', 'type' => 'object', 'properties' => [ - 'ComponentName' => [ - 'title' => '组件名称。', - 'description' => '组件名。', - 'type' => 'string', - 'example' => 'KNOX', - ], - 'ApplicationName' => [ - 'title' => '应用名称。', - 'description' => '应用名。', - 'type' => 'string', - 'example' => 'KNOX', - ], - 'ComponentInstanceState' => [ - 'title' => '组件实例操作状态。', - 'description' => '组件状态,取值如下:'."\n" - ."\n" - .'- WAITING:等待中。'."\n" - .'- INSTALLING:安装中。'."\n" - .'- INSTALLED:已安装。'."\n" - .'- INSTALL_FAILED:安装失败。'."\n" - .'- STARTING:启动中。'."\n" - .'- STARTED:已启动。'."\n" - .'- START_FAILED:启动失败。'."\n" - .'- STOPPING:停止中。'."\n" - .'- STOPPED:已停止。'."\n" - .'- STOP_FAILED:停止失败。', - 'type' => 'string', - 'example' => 'STARTED', - ], - 'NodeId' => [ - 'title' => '节点ID。', - 'description' => '机器ID。', - 'type' => 'string', - 'example' => 'i-bp17yy050pxo01m2****', - ], - 'NodeName' => [ - 'title' => '节点名称。', - 'description' => '机器名。', - 'type' => 'string', - 'example' => 'emr-worker-1', - ], - 'CommissionState' => [ - 'title' => 'Commission状态。', - 'description' => 'Commission状态,取值如下:'."\n" - ."\n" - .'- COMMISSIONED:已上线。'."\n" - .'- COMMISSIONING:上线中。'."\n" - .'- DECOMMISSIONED:已下线。'."\n" - .'- DECOMMISSIONINPROGRESS:下线进程中。'."\n" - .'- DECOMMISSIONFAILED:下线失败。'."\n" - .'- INSERVICE:服务中。'."\n" - .'- UNKNOWN:未知状态。', - 'type' => 'string', - 'example' => 'INSERVICE', - ], - 'BizState' => [ - 'title' => '业务状态。', - 'description' => '组件服务状态,取值如下:'."\n" - ."\n" - .'- active:主服务。'."\n" - .'- standby:备用服务。', - 'type' => 'string', - 'example' => 'active', - ], - 'CreateTime' => [ - 'title' => '安装时间戳。', - 'description' => '安装时间戳。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1628248947000', - ], - 'DesiredState' => [ - 'title' => '期待状态。', - 'description' => '期望状态,取值如下:'."\n" - ."\n" - .'- WAITING:等待中。 '."\n" - .'- INSTALLING:安装中。'."\n" - .'- INSTALLED:已安装。'."\n" - .'- INSTALL_FAILED:安装失败。'."\n" - .'- STARTING:启动中。'."\n" - .'- STARTED:已启动。'."\n" - .'- START_FAILED:启动失败。'."\n" - .'- STOPPING:停止中。'."\n" - .'- STOPPED:已停止。'."\n" - .'- STOP_FAILED:停止失败。', - 'type' => 'string', - 'example' => 'STARTED', - ], - 'ZoneId' => [ - 'description' => '可用区 ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou-i', - ], + 'ApplicationName' => ['title' => '应用名称。', 'description' => '应用名称。', 'type' => 'string', 'example' => 'HDFS'], + 'ConfigFileName' => ['title' => '配置文件名称。', 'description' => '配置文件名称。', 'type' => 'string', 'example' => 'hdfs-site.xml'], + 'ConfigItemKey' => ['title' => '配置项键。', 'description' => '配置项键。', 'type' => 'string', 'example' => 'dfs.replication'."\n"], + 'ConfigItemValue' => ['title' => '配置项值。', 'description' => '配置项值。', 'type' => 'string', 'example' => '2'], + 'CreateTime' => ['title' => '创建时间。', 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1628589439114'], + 'UpdateTime' => ['title' => '更新时间。', 'description' => '更新时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1628589439114'], + 'Modifier' => ['title' => '修改人员。', 'description' => '修改人。', 'type' => 'string', 'example' => '170906468757****'], + 'Custom' => ['title' => '是否是自定义配置。', 'description' => '是否是自定义配置。', 'type' => 'boolean', 'example' => 'false'], + 'InitValue' => ['title' => '初始值。', 'description' => '初始值。', 'type' => 'string', 'example' => '2'], + 'Description' => ['title' => '描述。', 'description' => '描述。', 'type' => 'string', 'example' => 'dfs.replication description'], + 'ConfigEffectState' => ['title' => '配置值生效状态。', 'description' => '配置值生效状态。', 'type' => 'string', 'example' => 'EFFECT'], + 'NodeId' => ['title' => '节点ID。', 'description' => '节点ID。', 'type' => 'string', 'example' => 'i-bp18y0ng3qqxog4mw****'], + 'NodeGroupId' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'example' => 'ng-d555335ced5****'], ], ], ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '7345241A-014C-17D2-A3AC-C72771188F46', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '用来标记当前开始读取的位置,置空表示从头开始。', - 'type' => 'string', - 'example' => '“”', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '读取的最大数据记录数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '结果总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****'], + 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '下页页码。', 'type' => 'string', 'example' => '1'], + 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '分页总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'InvokeEcmError', 'errorMessage' => 'An error occurred while invoking ECM service.', 'description' => ''], + ['errorCode' => 'NotFound.Cluster', 'errorMessage' => 'The cluster is not found.', 'description' => ''], + ['errorCode' => 'InvalidParameter.Application', 'errorMessage' => 'The specified application is invalid.', 'description' => ''], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ComponentInstances\\": [\\n {\\n \\"ComponentName\\": \\"KNOX\\",\\n \\"ApplicationName\\": \\"KNOX\\",\\n \\"ComponentInstanceState\\": \\"STARTED\\",\\n \\"NodeId\\": \\"i-bp17yy050pxo01m2****\\",\\n \\"NodeName\\": \\"emr-worker-1\\",\\n \\"CommissionState\\": \\"INSERVICE\\",\\n \\"BizState\\": \\"active\\",\\n \\"CreateTime\\": 1628248947000,\\n \\"DesiredState\\": \\"STARTED\\",\\n \\"ZoneId\\": \\"cn-hangzhou-i\\"\\n }\\n ],\\n \\"RequestId\\": \\"7345241A-014C-17D2-A3AC-C72771188F46\\",\\n \\"NextToken\\": \\"“”\\",\\n \\"MaxResults\\": 2,\\n \\"TotalCount\\": 2\\n}","errorExample":""},{"type":"xml","example":"<ListComponentInstancesResponse>\\n <RequestId>7345241A-014C-17D2-A3AC-C72771188F46</RequestId>\\n <TotalCount>2</TotalCount>\\n <NextToken/>\\n <MaxResults>2</MaxResults>\\n <ComponentInstances>\\n <ComponentName>KNOX</ComponentName>\\n <ApplicationName>KNOX</ApplicationName>\\n <ComponentInstanceState>STARTED</ComponentInstanceState>\\n <NodeId>i-bp17yy050pxo01m2****</NodeId>\\n <NodeName>emr-worker-1</NodeName>\\n <CommissionState>INSERVICE</CommissionState>\\n <DesiredState>STARTED</DesiredState>\\n <MaintenanceState>ON</MaintenanceState>\\n <BizState>active</BizState>\\n <CreateTime>1628248947000</CreateTime>\\n </ComponentInstances>\\n</ListComponentInstancesResponse>","errorExample":""}]', - 'title' => '查询组件实例列表', - 'summary' => '查询组件实例列表。', - ], - 'GetOperation' => [ - 'methods' => [ - 'get', - 'post', + 'title' => '查询应用配置', + 'summary' => '查询应用配置。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListApplicationConfigs'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListApplicationConfigs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"ApplicationConfigs\\": [\\n {\\n \\"ApplicationName\\": \\"HDFS\\",\\n \\"ConfigFileName\\": \\"hdfs-site.xml\\",\\n \\"ConfigItemKey\\": \\"dfs.replication\\\\n\\",\\n \\"ConfigItemValue\\": \\"2\\",\\n \\"CreateTime\\": 1628589439114,\\n \\"UpdateTime\\": 1628589439114,\\n \\"Modifier\\": \\"170906468757****\\",\\n \\"Custom\\": false,\\n \\"InitValue\\": \\"2\\",\\n \\"Description\\": \\"dfs.replication description\\",\\n \\"ConfigEffectState\\": \\"EFFECT\\",\\n \\"NodeId\\": \\"i-bp18y0ng3qqxog4mw****\\",\\n \\"NodeGroupId\\": \\"ng-d555335ced5****\\"\\n }\\n ],\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\",\\n \\"NextToken\\": \\"1\\",\\n \\"MaxResults\\": 100,\\n \\"TotalCount\\": 100\\n}","errorExample":""},{"type":"xml","example":"<ListApplicationConfigsResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</RequestId>\\n <ApplicationConfigs>\\n <ApplicationName>HADOOP</ApplicationName>\\n <ConfigFileName>mapred-site</ConfigFileName>\\n <ConfigVersion>162859798****</ConfigVersion>\\n <ConfigItemKey>yarn.app.mapreduce.am.resource.mb</ConfigItemKey>\\n <ConfigItemValue>3072</ConfigItemValue>\\n <CreateTime>1628589439114</CreateTime>\\n <UpdateTime>1628589439114</UpdateTime>\\n <Modifier>170906468757****</Modifier>\\n <Custom>false</Custom>\\n <Applied>true</Applied>\\n <InitValue>3072</InitValue>\\n <Description>yarn.app.mapreduce.am.resource.mb description</Description>\\n <ConfigItemValueAttribute>\\n <ConfigItemValueType>int</ConfigItemValueType>\\n <ConfigItemValueMaximum>3072</ConfigItemValueMaximum>\\n <ConfigItemValueMinimum>2000</ConfigItemValueMinimum>\\n <ConfigItemValueUnit>mb</ConfigItemValueUnit>\\n <ConfigItemValueReadOnly>true</ConfigItemValueReadOnly>\\n <ConfigItemValueIncrementStep>1</ConfigItemValueIncrementStep>\\n </ConfigItemValueAttribute>\\n </ApplicationConfigs>\\n <MaxResults>100</MaxResults>\\n <NextToken>1</NextToken>\\n <TotalCount>100</TotalCount>\\n</ListApplicationConfigsResponse>","errorExample":""}]', + ], + 'ListApplications' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '38519', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceW8BA0F', - ], + 'operationType' => 'list', + 'abilityTreeCode' => '13072', + 'abilityTreeNodes' => ['FEATUREemapreduceU3PP4U'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-e6a9d46e92675****'], ], [ - 'name' => 'OperationId', + 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '下页页码。', 'type' => 'string', 'required' => false, 'example' => '0'], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '分页总数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'default' => '100'], + ], + [ + 'name' => 'ApplicationNames', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '操作ID。', - 'description' => '操作ID。'."\n" - ."\n" - .'参考取值来源:'."\n" - ."\n" - .'- [CreateCluster](~~454393~~)'."\n" - .'- [IncreaseNodes](~~454397~~)', - 'type' => 'string', - 'required' => true, - 'example' => 'op-13c37a77c505****', + 'title' => '应用名称列表。', + 'description' => '应用名称列表。', + 'type' => 'array', + 'items' => ['description' => '组件名称。', 'type' => 'string', 'required' => false, 'example' => 'HDFS'], + 'required' => false, + 'example' => 'c-b933c5aac8fe****', + 'maxItems' => 100, ], ], ], @@ -14661,327 +9191,194 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'Operation' => [ - 'description' => '操作。', - '$ref' => '#/components/schemas/Operation', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3896A', + 'Applications' => [ + 'description' => '应用列表。', + 'type' => 'array', + 'items' => [ + 'description' => '应用。', + 'type' => 'object', + 'properties' => [ + 'ApplicationName' => ['title' => '应用名称。', 'description' => '应用名称。', 'type' => 'string', 'example' => 'HDFS'], + 'ApplicationVersion' => ['title' => '应用版本。', 'description' => '应用版本。', 'type' => 'string', 'deprecated' => true, 'example' => '2.8.5-20230620'], + 'CommunityVersion' => ['title' => '社区版本。', 'description' => '社区版本。', 'type' => 'string', 'example' => '2.8.5'], + 'ApplicationState' => ['title' => '应用操作状态', 'description' => '组件实例聚合操作状态, 取值范围:'."\n" + .'- STOPPED:只要有一个组件实例为STOPPED。 '."\n" + .'- RUNNING:所有组件实例状态都为RUNNING。'."\n" + ."\n" + .'该参数只对 DATALAKE,OLAP,DATAFLOW,DATASERVING,CUSTOM 集群生效,其他集群类型该参数返回值为空。', 'type' => 'string', 'example' => 'RUNNING'], + ], + ], ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****'], + 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '下页页码。', 'type' => 'string', 'example' => '2'], + 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '分页总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'InvokeEcmError', 'errorMessage' => 'An error occurred while invoking ECM service.', 'description' => ''], + ['errorCode' => 'NotFound.Cluster', 'errorMessage' => 'The cluster is not found.', 'description' => ''], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Operation\\": {\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"CreateTime\\": 1628589439114,\\n \\"StartTime\\": 1628589439114,\\n \\"EndTime\\": 1628589439114,\\n \\"OperationType\\": \\"CLUSTER\\",\\n \\"OperationState\\": \\"COMPLETED\\",\\n \\"Description\\": \\"start\\",\\n \\"StateChangeReason\\": {\\n \\"Code\\": \\"OutOfStock\\",\\n \\"Message\\": \\"The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.\\"\\n }\\n },\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3896A\\"\\n}","errorExample":""},{"type":"xml","example":"<GetOperationResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</RequestId>\\n <OperationState>COMPLETED</OperationState>\\n <Orders/>\\n <PriceInfo>\\n <PromotionResults/>\\n </PriceInfo>\\n</GetOperationResponse>","errorExample":""}]', - 'title' => '获取操作', - 'summary' => '获取一个异步操作详情。', - ], - 'JoinResourceGroup' => [ - 'methods' => [ - 'get', - 'post', + 'title' => '查询应用列表', + 'summary' => '查询应用列表。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListApplications'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListApplications', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Applications\\": [\\n {\\n \\"ApplicationName\\": \\"HDFS\\",\\n \\"ApplicationVersion\\": \\"2.8.5-20230620\\",\\n \\"CommunityVersion\\": \\"2.8.5\\",\\n \\"ApplicationState\\": \\"RUNNING\\"\\n }\\n ],\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\",\\n \\"NextToken\\": \\"2\\",\\n \\"MaxResults\\": 10,\\n \\"TotalCount\\": 20\\n}","errorExample":""},{"type":"xml","example":"<ListApplicationsResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</RequestId>\\n <TotalCount>20</TotalCount>\\n <NextToken>1</NextToken>\\n <MaxResults>10</MaxResults>\\n <Applications>\\n <ApplicationName>hadoop</ApplicationName>\\n <ApplicationVersion>2.8.1</ApplicationVersion>\\n </Applications>\\n</ListApplicationsResponse>","errorExample":""}]', + ], + 'ListAutoScalingActivities' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceGZP0FZ', - ], + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '118861', + 'abilityTreeNodes' => ['FEATUREemapreduce7I2Y7W'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '地域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ResourceType', + 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '资源类型。', - 'description' => '资源类型。取值范围:'."\n" - .'- cluster:集群。', - 'type' => 'string', - 'required' => true, - 'example' => 'cluster', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '资源组ID。', - 'description' => '资源组。', - 'type' => 'string', - 'required' => true, - 'example' => 'rg-acfmzabjyop****', - ], + 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ - 'name' => 'ResourceId', + 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '资源ID。', - 'description' => '资源ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-c95f0a39d8ff****', - ], + 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => '返回数据', - 'description' => '返回数据', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], - ], - 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], - ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], - ], - 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","type":"json"}]', - 'title' => '加入资源组', - 'summary' => '将一个EMR资源加入目标资源组。一个资源只能属于一个资源组。', - ], - 'TagResources' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'NodeGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'required' => false, 'example' => 'ng-869471354ecd****'], ], - ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '25001', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceWV7Y23', + [ + 'name' => 'ScalingRuleName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '伸缩规则名称。', 'description' => '伸缩规则名称。', 'type' => 'string', 'required' => false, 'example' => 'scale-out-by-memroy'], ], - ], - 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'ScalingActivityStates', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '区域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', + 'title' => '伸缩活动状态。', + 'description' => '伸缩活动状态。数组元数个数N的取值范围:1~20。', + 'type' => 'array', + 'items' => ['description' => '伸缩活动状态。取值范围:'."\n" + .'- REJECTED:拒绝。'."\n" + .'- SUCCESSFUL:成功。'."\n" + .'- FAILED:失败。'."\n" + .'- IN_PROGRESS:进行中。', 'type' => 'string', 'required' => false, 'example' => '['."\n" + .' "REJECTED",'."\n" + .' "SUCCESSFUL"'."\n" + .']'], + 'required' => false, + 'example' => '["REJECTED","SUCCESSFUL"]', + 'maxItems' => 20, ], ], [ - 'name' => 'ResourceType', + 'name' => 'ScalingActivityType', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '资源类型。', - 'description' => '资源类型。 取值范围:'."\n" - .'- cluster:集群。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [], - 'example' => 'cluster', - ], + 'schema' => ['title' => '伸缩活动类型。', 'description' => '伸缩活动类型。取值范围:'."\n" + .'- SCALE_OUT:扩容。'."\n" + .'- SCALE_IN:缩容。', 'type' => 'string', 'required' => false, 'example' => 'SCALE_IN'], ], [ - 'name' => 'ResourceIds', + 'name' => 'StartTime', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '资源ID。', - 'description' => '资源ID列表。数组元素个数N的取值范围:1~1。', - 'type' => 'array', - 'items' => [ - 'description' => '资源ID。ResourceType取值cluster时,取值为集群ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'c-b933c5aac8fe****', - ], - 'required' => true, - 'example' => 'cluster', - 'maxItems' => 1, - ], + 'schema' => ['title' => '查询伸缩活动创建时间的开始时间戳。', 'description' => '查询伸缩活动创建时间的开始时间戳。单位为毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1639714634819'], ], [ - 'name' => 'Tags', + 'name' => 'EndTime', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '查询伸缩活动创建时间的结束时间戳。', 'description' => '查询伸缩活动创建时间的结束时间戳。单位为毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1639718634819'], + ], + [ + 'name' => 'ScalingPolicyType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'example' => 'MANAGED', 'description' => ''], + ], + [ + 'name' => 'InstanceChargeTypes', + 'in' => 'query', 'style' => 'flat', 'schema' => [ - 'title' => '标签列表。', - 'description' => '绑定的标签列表。', + 'description' => '实例付费类型枚举值:'."\n" + .'- ONDEMAND: 按量付费实例'."\n" + .'- SPOT: 竞价实例'."\n" + .'默认为null代表全选'."\n" + .'举例: ["ONDEMAND", "SPOT"]', 'type' => 'array', - 'items' => [ - 'description' => '标签。', - 'required' => false, - '$ref' => '#/components/schemas/Tag', - ], - 'required' => true, - 'example' => '[null]', - 'maxItems' => 20, + 'items' => ['type' => 'string', 'example' => 'ONDEMAND'], + 'example' => 'ONDEMAND', + 'enum' => [], ], ], ], @@ -14989,105 +9386,129 @@ 200 => [ 'schema' => [ 'title' => '返回数据', - 'description' => '返回数据。', + 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'A964BDB2-0FDA-1037-AF3F-2633D5C3F20F', + 'ScalingActivities' => [ + 'description' => '伸缩活动列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ActivityId' => ['title' => '伸缩活动ID。', 'description' => '伸缩活动ID。', 'type' => 'string', 'example' => 'asa-36373b084d6b4b13aa50f4129a9e****'], + 'RuleName' => ['title' => '伸缩规则名称。', 'description' => '伸缩规则名称。', 'type' => 'string', 'example' => 'scaling-out-memory'], + 'ActivityType' => ['title' => '伸缩活动类型。', 'description' => '伸缩活动类型。取值范围:'."\n" + .'- SCALE_OUT:扩容。'."\n" + .'- SCALE_IN:缩容。', 'type' => 'string', 'example' => 'SCALE_OUT'], + 'ClusterId' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'example' => 'c-b933c5aac8fe****'], + 'NodeGroupId' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'example' => 'ng-869471354ecd****'], + 'NodeGroupName' => ['title' => '节点组名称。', 'description' => '节点组名称。', 'type' => 'string', 'example' => 'task-01'], + 'StartTime' => ['title' => '伸缩启动时间。', 'description' => '伸缩启动时间。单位为毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1639714634819'], + 'EndTime' => ['title' => '伸缩结束时间。', 'description' => '伸缩结束时间。单位为毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1639715634819'], + 'ActivityState' => ['title' => '伸缩活动状态。', 'description' => '伸缩活动状态。取值范围:'."\n" + .'- REJECTED:拒绝。'."\n" + .'- SUCCESSFUL:成功。'."\n" + .'- FAILED:失败。'."\n" + .'- IN_PROGRESS:进行中。', 'type' => 'string', 'example' => 'IN_PROGRESS'], + 'ExpectNum' => ['title' => '本次扩缩数量。', 'description' => '本次扩缩数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'OperationId' => ['title' => '操作ID。', 'description' => '操作ID。', 'type' => 'string', 'example' => 'op-13c37a77c505****'], + 'Description' => ['title' => '伸缩活动描述。', 'description' => '伸缩活动描述。', 'type' => 'string', 'example' => 'clusterId not exist'], + 'PolicyType' => ['type' => 'string', 'example' => 'PRIORITY', 'description' => ''], + 'InstanceTypeToNum' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'integer', 'format' => 'int32', 'example' => 'ecs.r6.xlarge: 2', 'description' => ''], + 'description' => '', + ], + 'InstanceTypeDetails' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SpotInstanceIds' => [ + 'type' => 'array', + 'items' => ['type' => 'string', 'example' => 'i-bp1ifuxmr8l6pb1yxxxx'], + ], + 'InstanceType' => ['type' => 'string', 'example' => 'ecs.g6.xlarge'], + 'OnDemandInstanceIds' => [ + 'type' => 'array', + 'items' => ['type' => 'string', 'example' => 'i-bp1ifuxmr8l6pb1sxxxx'], + ], + ], + ], + ], + ], + 'description' => '', + ], ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '返回读取到的数据位置。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A964BDB2-0FDA-1037-AF3F-2633D5C3F20F\\"\\n}","errorExample":""},{"type":"xml","example":"<TagResourcesResponse>\\n <RequestId>A964BDB2-0FDA-1037-AF3F-2633D5C3F20F</RequestId>\\n <Data>true</Data>\\n</TagResourcesResponse>","errorExample":""}]', - 'title' => '打标签', - 'summary' => '为指定的EMR集群绑定标签。', - ], - 'UntagResources' => [ - 'methods' => [ - 'get', - 'post', + 'title' => '查询弹性伸缩活动', + 'summary' => '查询弹性伸缩活动列表。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAutoScalingActivities'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListAutoScalingActivities', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScalingActivities\\": [\\n {\\n \\"ActivityId\\": \\"asa-36373b084d6b4b13aa50f4129a9e****\\",\\n \\"RuleName\\": \\"scaling-out-memory\\",\\n \\"ActivityType\\": \\"SCALE_OUT\\",\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupName\\": \\"task-01\\",\\n \\"StartTime\\": 1639714634819,\\n \\"EndTime\\": 1639715634819,\\n \\"ActivityState\\": \\"IN_PROGRESS\\",\\n \\"ExpectNum\\": 10,\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"Description\\": \\"clusterId not exist\\",\\n \\"PolicyType\\": \\"PRIORITY\\",\\n \\"InstanceTypeToNum\\": {\\n \\"key\\": 0\\n },\\n \\"InstanceTypeDetails\\": [\\n {\\n \\"SpotInstanceIds\\": [\\n \\"i-bp1ifuxmr8l6pb1yxxxx\\"\\n ],\\n \\"InstanceType\\": \\"ecs.g6.xlarge\\",\\n \\"OnDemandInstanceIds\\": [\\n \\"i-bp1ifuxmr8l6pb1sxxxx\\"\\n ]\\n }\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + ], + 'ListClusters' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceACW5KS', - ], + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '13343', + 'abilityTreeNodes' => ['FEATUREemapreduceGZP0FZ'], ], 'parameters' => [ [ @@ -15095,78 +9516,130 @@ 'in' => 'query', 'allowEmptyValue' => false, 'schema' => [ - 'title' => '区域ID。', + 'title' => '地域ID。', 'description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', + 'enum' => [ + 'cn-qingdao', 'cn-beijing', 'cn-zhangjiakou', 'cn-huhehaote', 'cn-hangzhou', 'cn-shanghai', 'cn-shenzhen', 'cn-chengdu', 'cn-hongkong', 'cn-wulanchabu', 'cn-heyuan-acdr-1', 'cn-qingdao-acdr-ut-1', 'ap-northeast-1', 'ap-southeast-1', 'ap-southeast-2', 'ap-southeast-3', 'ap-southeast-5', 'ap-south-1', 'us-east-1', 'us-west-1', + 'me-east-1', 'me-central-1', 'eu-central-1', 'eu-west-1', 'cn-north-2-gov-1', 'cn-wulanchabu-acdr-1', 'cn-shanghai-cloudspe', 'na-south-1', + ], ], ], [ - 'name' => 'ResourceType', + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置,置空表示从头开始。', 'type' => 'string', 'required' => false, 'example' => 'eyJlY21OZXh0VG9rZW4iOiIxIiwidGFpaGFvTmV4dFRva2VuIjoiNTYiLCJ0YWloYW9OZXh0VG9rZW5JbnQiOjU2LCJlY21OZXh0VG9rZW5JbnQiOjF9'], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。取值范围:1~100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'ClusterName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '集群名称。', 'description' => '集群名称。', 'type' => 'string', 'required' => false, 'example' => 'emrtest'], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '资源组ID。', 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmzabjyop****'], + ], + [ + 'name' => 'ClusterIds', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '资源类型。', - 'description' => '资源类型。取值:cluster。', - 'type' => 'string', - 'required' => true, - 'example' => 'cluster', + 'title' => '集群ID列表。数组元数个数N的取值范围:1~100。', + 'description' => '集群ID列表。数组元素个数N的取值范围:1~100。', + 'type' => 'array', + 'items' => ['description' => '集群ID。', 'type' => 'string', 'required' => false, 'example' => 'c-b933c5aac8fe****'], + 'required' => false, + 'example' => 'rg-acfmzabjyop****', + 'maxItems' => 100, ], ], [ - 'name' => 'ResourceIds', + 'name' => 'ClusterTypes', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'title' => '资源ID。', - 'description' => '资源ID列表。', + 'title' => '集群类型列表。数组元数个数N的取值范围:1~100。', + 'description' => '集群类型列表。数组元素个数N的取值范围:1~100。', 'type' => 'array', - 'items' => [ - 'description' => '资源ID。ResourceType取值cluster时,取值为集群ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'c-b933c5aac8fe****', - ], - 'required' => true, - 'example' => 'cluster', - 'maxItems' => 1, + 'items' => ['description' => '集群类型。取值范围:'."\n" + .'- DATALAKE:新版数据湖。'."\n" + .'- OLAP:数据分析。'."\n" + .'- DATAFLOW:实时数据流。'."\n" + .'- DATASERVING:数据服务。'."\n" + .'- CUSTOM:自定义混部集群。'."\n" + .'- HADOOP:旧版数据湖。', 'type' => 'string', 'required' => false, 'example' => 'DATALAKE'], + 'required' => false, + 'example' => '["c-b933c5aac8fe****"]', + 'maxItems' => 100, ], ], [ - 'name' => 'TagKeys', + 'name' => 'ClusterStates', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'title' => '标签Key列表。', - 'description' => '标签key值。数组元数个数N的取值范围:1~20。', + 'title' => '集群状态列表。数组元数个数N的取值范围:1~100。', + 'description' => '集群状态数组。数组元素个数N的取值范围:1~100。', 'type' => 'array', - 'items' => [ - 'description' => '标签key值列表。', - 'type' => 'string', - 'required' => false, - 'example' => 'Department', - ], + 'items' => ['description' => '集群状态。取值范围:'."\n" + .'- STARTING:启动中。'."\n" + .'- START_FAILED:启动失败。'."\n" + .'- BOOTSTRAPPING:引导操作初始化。'."\n" + .'- RUNNING:运行中。'."\n" + .'- TERMINATING:终止中。'."\n" + .'- TERMINATED:已终止。'."\n" + .'- TERMINATED\\_WITH\\_ERRORS:发生异常导致终止'."\n" + .'- TERMINATE_FAILED:终止失败。', 'type' => 'string', 'required' => false, 'example' => 'RUNNING'], 'required' => false, - 'example' => '["c-b933c5aac8fe****"]', + 'example' => '["HADOOP"]', + 'maxItems' => 100, ], ], [ - 'name' => 'All', + 'name' => 'PaymentTypes', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '是否删除指定指定的所有标签。', - 'description' => '是否全部删除。只针对**Tagkeys**为空时有效。取值范围:'."\n" - .'- true:全部删除。'."\n" - .'- false:不全部删除。'."\n" - ."\n" - .'默认值:false。', - 'type' => 'boolean', + 'title' => '付费类型列表。数组元数个数N的取值范围:1~100。', + 'description' => '付费类型。数据元素个数N的取值范围:1~2。', + 'type' => 'array', + 'items' => ['description' => '付费类型。取值范围:'."\n" + .'- PayAsYouGo:后付费。'."\n" + .'- Subscription:预付费。', 'type' => 'string', 'required' => false, 'example' => 'PayAsYouGo'], 'required' => false, - 'example' => 'false', + 'example' => '["ECS"]', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '标签列表。数组元数个数N的取值范围:1~20。', + 'description' => '标签列表。数组元素个数N取值范围:1~20。', + 'type' => 'array', + 'items' => ['description' => '标签。', 'required' => false, '$ref' => '#/components/schemas/Tag'], + 'required' => false, + 'example' => '["PayAsYouGo"]', + 'maxItems' => 20, ], ], ], @@ -15177,92 +9650,68 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '17A6A3D5-4B13-1DAD-9A23-66EA5FC83B50', + 'Clusters' => [ + 'description' => '集群列表。', + 'type' => 'array', + 'items' => ['description' => '集群信息。', '$ref' => '#/components/schemas/ClusterSummary'], ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3896A'], + 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '下页页码。', 'type' => 'string', 'example' => 'eyJlY21OZXh0VG9rZW4iOiIxIiwidGFpaGFvTmV4dFRva2VuIjoiNTYiLCJ0YWloYW9OZXh0VG9rZW5JbnQiOjU2LCJlY21OZXh0VG9rZW5JbnQiOjF9'], + 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '分页总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"17A6A3D5-4B13-1DAD-9A23-66EA5FC83B50\\"\\n}","errorExample":""},{"type":"xml","example":"<UntagResourcesResponse>\\n <RequestId>17A6A3D5-4B13-1DAD-9A23-66EA5FC83B50</RequestId>\\n <Data>true</Data>\\n</UntagResourcesResponse>","errorExample":""}]', - 'title' => '删标签', - 'summary' => '为指定的EMR集群列统一解绑标签。解绑后,如果该标签没有绑定其他任何资源,该标签会被自动删除。', - ], - 'ListTagResources' => [ - 'summary' => '查询EMR集群绑定的标签列表。', - 'methods' => [ - 'get', - 'post', + 'title' => '查询集群', + 'summary' => '查询EMR集群列表。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListClusters'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListClusters', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Clusters\\": [\\n {\\n \\"ClusterId\\": \\"c-b933c5aac8fe****\\",\\n \\"ClusterName\\": \\"emrtest\\",\\n \\"ClusterType\\": \\"DATALAKE\\",\\n \\"ClusterState\\": \\"RUNNING\\",\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"CreateTime\\": 1592837465788,\\n \\"ReadyTime\\": 1592837465788,\\n \\"ExpireTime\\": 1592837475788,\\n \\"EndTime\\": 1592837485788,\\n \\"ReleaseVersion\\": \\"EMR-5.8.0\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzabjyop****\\",\\n \\"StateChangeReason\\": {\\n \\"Message\\": \\"The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.\\",\\n \\"Code\\": \\"OutOfStock\\"\\n },\\n \\"Tags\\": [\\n {\\n \\"Value\\": \\"IT\\",\\n \\"Key\\": \\"department\\"\\n }\\n ],\\n \\"EmrDefaultRole\\": \\"AliyunEMRDefaultRole\\",\\n \\"Description\\": \\"EMR cluster\\",\\n \\"DeletionProtection\\": false\\n }\\n ],\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3896A\\",\\n \\"NextToken\\": \\"eyJlY21OZXh0VG9rZW4iOiIxIiwidGFpaGFvTmV4dFRva2VuIjoiNTYiLCJ0YWloYW9OZXh0VG9rZW5JbnQiOjU2LCJlY21OZXh0VG9rZW5JbnQiOjF9\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 1000\\n}","errorExample":""},{"type":"xml","example":"<ListClustersResponse>\\n <Clusters>\\n <ClusterId>C-E525E04F3914****</ClusterId>\\n <ClusterName>emr-hadoop-cluster</ClusterName>\\n <ClusterType>HADOOP</ClusterType>\\n <ClusterState>IDEL</ClusterState>\\n <PaymentType>Subscription</PaymentType>\\n <CreateTime>1592837465784</CreateTime>\\n <DeleteTime>1592837465784</DeleteTime>\\n <ExpiredTime>1592837465784</ExpiredTime>\\n </Clusters>\\n <TotalCount>1000</TotalCount>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</RequestId>\\n <NextToken>2</NextToken>\\n <MaxResults>20</MaxResults>\\n</ListClustersResponse>","errorExample":""}]', + ], + 'ListComponentInstances' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15271,330 +9720,309 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '24996', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceGZP0FZ', - 'FEATUREemapreduceZG5CIX', - ], + 'abilityTreeCode' => '13081', + 'abilityTreeNodes' => ['FEATUREemapreduce2ERXZY'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '地域ID。', 'description' => '区域ID。您可以调用[ListRegions](url)查看。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'C-8CFEBCCFFEF5****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '用来标记当前开始读取的位置,置空表示从头开始。', 'type' => 'string', 'required' => false, 'example' => '“”'], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '读取的最大数据记录数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'ApplicationNames', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => '标记当前开始读取的位置。为空时表示从头开始读。', - 'type' => 'string', + 'title' => '应用名称列表。', + 'description' => '应用名列表。', + 'type' => 'array', + 'items' => ['description' => '应用名。', 'type' => 'string', 'required' => false, 'example' => 'KNOX'], 'required' => false, - 'example' => '2', + 'example' => 'c-b933c5aac8fe****', + 'maxItems' => 100, ], ], [ - 'name' => 'MaxResults', + 'name' => 'NodeIds', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => '一次获取的最大记录数。', - 'type' => 'integer', - 'format' => 'int32', + 'title' => '节点ID列表。', + 'description' => '机器ID列表。', + 'type' => 'array', + 'items' => ['description' => '机器ID。', 'type' => 'string', 'required' => false, 'example' => 'i-bp17yy050pxo01m2****'], 'required' => false, - 'example' => '20', + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + 'maxItems' => 100, ], ], [ - 'name' => 'ResourceType', + 'name' => 'NodeNames', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '资源类型。', - 'description' => '资源类型。 取值:cluster。', - 'type' => 'string', - 'required' => true, - 'example' => 'cluster', + 'title' => '节点名称列表。', + 'description' => '机器名列表。', + 'type' => 'array', + 'items' => ['description' => '机器名。', 'type' => 'string', 'required' => false, 'example' => 'emr-worker-1'], + 'required' => false, + 'example' => '20', + 'maxItems' => 100, ], ], [ - 'name' => 'ResourceIds', + 'name' => 'ComponentNames', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'title' => '资源ID列表。', - 'description' => '资源ID列表。数组元素个数N取值范围:1~1', + 'title' => '组件名称列表。', + 'description' => '组件名列表。', 'type' => 'array', - 'items' => [ - 'description' => '资源ID。ResourceType取值cluster时,取值为集群ID。'."\n" - ."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'c-b933c5aac8fe****', - ], + 'items' => ['description' => '组件名。', 'type' => 'string', 'required' => false, 'example' => 'KNOX'], 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - 'maxItems' => 1, + 'example' => '["HDFS"]', + 'maxItems' => 100, ], ], [ - 'name' => 'Tags', + 'name' => 'ComponentStates', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'title' => '标签列表。', - 'description' => '标签数组。数组元素个数N取值范围:1~20。', + 'description' => '组件状态列表。', 'type' => 'array', - 'items' => [ - 'description' => '标签。', - 'required' => false, - '$ref' => '#/components/schemas/Tag', - ], + 'items' => ['description' => '组件状态。', 'type' => 'string', 'required' => false, 'example' => 'INSTALLED'], 'required' => false, - 'example' => '20', + 'example' => 'null', + 'maxItems' => 100, ], ], + [ + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => ['description' => '可用区 ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-i'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', - 'description' => '返回数据。', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'TagResources' => [ - 'description' => '标签资源列表。包含了资源ID、资源类型和标签键值信息。', + 'ComponentInstances' => [ + 'description' => '实例组件安装信息列表。', 'type' => 'array', 'items' => [ - 'description' => '标签资源。', + 'description' => '实例组件安装信息。', 'type' => 'object', 'properties' => [ - 'TagKey' => [ - 'title' => '标签键。', - 'description' => '标签键。', - 'type' => 'string', - 'example' => 'Department', - ], - 'TagValue' => [ - 'title' => '标签值。', - 'description' => '标签值。', - 'type' => 'string', - 'example' => 'Dev', - ], - 'ResourceType' => [ - 'title' => '资源类型。', - 'description' => '资源类型。', - 'type' => 'string', - 'example' => 'cluster', - ], - 'ResourceId' => [ - 'title' => '资源ID。', - 'description' => '资源ID。', - 'type' => 'string', - 'example' => 'c-b933c5aac8fe****', - ], + 'ComponentName' => ['title' => '组件名称。', 'description' => '组件名。', 'type' => 'string', 'example' => 'KNOX'], + 'ApplicationName' => ['title' => '应用名称。', 'description' => '应用名。', 'type' => 'string', 'example' => 'KNOX'], + 'ComponentInstanceState' => ['title' => '组件实例操作状态。', 'description' => '组件状态,取值如下:'."\n" + ."\n" + .'- WAITING:等待中。'."\n" + .'- INSTALLING:安装中。'."\n" + .'- INSTALLED:已安装。'."\n" + .'- INSTALL_FAILED:安装失败。'."\n" + .'- STARTING:启动中。'."\n" + .'- STARTED:已启动。'."\n" + .'- START_FAILED:启动失败。'."\n" + .'- STOPPING:停止中。'."\n" + .'- STOPPED:已停止。'."\n" + .'- STOP_FAILED:停止失败。', 'type' => 'string', 'example' => 'STARTED'], + 'NodeId' => ['title' => '节点ID。', 'description' => '机器ID。', 'type' => 'string', 'example' => 'i-bp17yy050pxo01m2****'], + 'NodeName' => ['title' => '节点名称。', 'description' => '机器名。', 'type' => 'string', 'example' => 'emr-worker-1'], + 'CommissionState' => ['title' => 'Commission状态。', 'description' => 'Commission状态,取值如下:'."\n" + ."\n" + .'- COMMISSIONED:已上线。'."\n" + .'- COMMISSIONING:上线中。'."\n" + .'- DECOMMISSIONED:已下线。'."\n" + .'- DECOMMISSIONINPROGRESS:下线进程中。'."\n" + .'- DECOMMISSIONFAILED:下线失败。'."\n" + .'- INSERVICE:服务中。'."\n" + .'- UNKNOWN:未知状态。', 'type' => 'string', 'example' => 'INSERVICE'], + 'BizState' => ['title' => '业务状态。', 'description' => '组件服务状态,取值如下:'."\n" + ."\n" + .'- active:主服务。'."\n" + .'- standby:备用服务。', 'type' => 'string', 'example' => 'active'], + 'CreateTime' => ['title' => '安装时间戳。', 'description' => '安装时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1628248947000'], + 'DesiredState' => ['title' => '期待状态。', 'description' => '期望状态,取值如下:'."\n" + ."\n" + .'- WAITING:等待中。 '."\n" + .'- INSTALLING:安装中。'."\n" + .'- INSTALLED:已安装。'."\n" + .'- INSTALL_FAILED:安装失败。'."\n" + .'- STARTING:启动中。'."\n" + .'- STARTED:已启动。'."\n" + .'- START_FAILED:启动失败。'."\n" + .'- STOPPING:停止中。'."\n" + .'- STOPPED:已停止。'."\n" + .'- STOP_FAILED:停止失败。', 'type' => 'string', 'example' => 'STARTED'], + 'ZoneId' => ['description' => '可用区 ID。', 'type' => 'string', 'example' => 'cn-hangzhou-i'], ], ], ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '372D4E9B-2509-5EFA-846B-B34FBF143F56', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '返回读取到的数据位置。空代表数据已经读取完毕。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '本次请求所返回的最大记录条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '本次请求条件下的数据总量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '7345241A-014C-17D2-A3AC-C72771188F46'], + 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '用来标记当前开始读取的位置,置空表示从头开始。', 'type' => 'string', 'example' => '“”'], + 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '读取的最大数据记录数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '结果总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TagResources\\": [\\n {\\n \\"TagKey\\": \\"Department\\",\\n \\"TagValue\\": \\"Dev\\",\\n \\"ResourceType\\": \\"cluster\\",\\n \\"ResourceId\\": \\"c-b933c5aac8fe****\\"\\n }\\n ],\\n \\"RequestId\\": \\"372D4E9B-2509-5EFA-846B-B34FBF143F56\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","errorExample":""},{"type":"xml","example":"<ListTagResourcesResponse>\\n <RequestId>372D4E9B-2509-5EFA-846B-B34FBF143F56</RequestId>\\n <Data/>\\n</ListTagResourcesResponse>","errorExample":""}]', - 'title' => '查询标签', - ], - 'CreateScript' => [ - 'methods' => [ - 'get', - 'post', + 'title' => '查询组件实例列表', + 'summary' => '查询组件实例列表。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListComponentInstances'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListComponentInstances', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"ComponentInstances\\": [\\n {\\n \\"ComponentName\\": \\"KNOX\\",\\n \\"ApplicationName\\": \\"KNOX\\",\\n \\"ComponentInstanceState\\": \\"STARTED\\",\\n \\"NodeId\\": \\"i-bp17yy050pxo01m2****\\",\\n \\"NodeName\\": \\"emr-worker-1\\",\\n \\"CommissionState\\": \\"INSERVICE\\",\\n \\"BizState\\": \\"active\\",\\n \\"CreateTime\\": 1628248947000,\\n \\"DesiredState\\": \\"STARTED\\",\\n \\"ZoneId\\": \\"cn-hangzhou-i\\"\\n }\\n ],\\n \\"RequestId\\": \\"7345241A-014C-17D2-A3AC-C72771188F46\\",\\n \\"NextToken\\": \\"“”\\",\\n \\"MaxResults\\": 2,\\n \\"TotalCount\\": 2\\n}","errorExample":""},{"type":"xml","example":"<ListComponentInstancesResponse>\\n <RequestId>7345241A-014C-17D2-A3AC-C72771188F46</RequestId>\\n <TotalCount>2</TotalCount>\\n <NextToken/>\\n <MaxResults>2</MaxResults>\\n <ComponentInstances>\\n <ComponentName>KNOX</ComponentName>\\n <ApplicationName>KNOX</ApplicationName>\\n <ComponentInstanceState>STARTED</ComponentInstanceState>\\n <NodeId>i-bp17yy050pxo01m2****</NodeId>\\n <NodeName>emr-worker-1</NodeName>\\n <CommissionState>INSERVICE</CommissionState>\\n <DesiredState>STARTED</DesiredState>\\n <MaintenanceState>ON</MaintenanceState>\\n <BizState>active</BizState>\\n <CreateTime>1628248947000</CreateTime>\\n </ComponentInstances>\\n</ListComponentInstancesResponse>","errorExample":""}]', + ], + 'ListComponents' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'deprecated' => false, + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '119860', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceY1BE2N', - 'FEATUREemapreduce42QKNE', - ], + 'operationType' => 'list', + 'abilityTreeCode' => '13082', + 'abilityTreeNodes' => ['FEATUREemapreduce2ERXZY'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '地域ID。', 'description' => '区域ID。您可以调用[ListRegions](url)查看。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'C-8CFEBCCFFEF5****'], ], [ - 'name' => 'ScriptType', + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '用来标记当前开始读取的位置,置空表示从头开始。', 'type' => 'string', 'required' => false, 'example' => '""'], + ], + [ + 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '读取的最大数据记录数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'ApplicationNames', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '集群脚本类型。', - 'description' => '脚本类型。取值范围:'."\n" - .' '."\n" - .'- BOOTSTRAP:ECS实例引导脚本。'."\n" - .'- NORMAL:普通脚本。', - 'type' => 'string', - 'required' => true, - 'example' => 'BOOTSTRAP', + 'title' => '应用名称列表。', + 'description' => '应用名列表。', + 'type' => 'array', + 'items' => ['description' => '应用名。', 'type' => 'string', 'required' => false, 'example' => 'KNOX'], + 'required' => false, + 'example' => '20', + 'maxItems' => 100, ], ], [ - 'name' => 'Scripts', + 'name' => 'ComponentNames', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'title' => '集群脚本列表。', - 'description' => '脚本列表。', + 'title' => '组件名称列表。', + 'description' => '组件名称列表。', 'type' => 'array', - 'items' => [ - 'description' => '脚本。', - 'required' => false, - '$ref' => '#/components/schemas/Script', - ], - 'required' => true, - 'maxItems' => 20, + 'items' => ['description' => '组件名。', 'type' => 'string', 'required' => false, 'example' => 'KNOX'], + 'required' => false, + 'example' => '["HDFS"]', + 'maxItems' => 100, ], ], [ - 'name' => 'TimeoutSecs', + 'name' => 'ComponentStates', 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '手动执行脚本超时时间,不支持引导脚本设置', - 'description' => '手动执行脚本超时时间,不支持引导脚本设置。', - 'type' => 'string', + 'description' => '组件状态列表。', + 'type' => 'array', + 'items' => ['description' => '组件状态。', 'type' => 'string', 'required' => false, 'example' => 'INSTALLED'], 'required' => false, + 'example' => 'null', + 'maxItems' => 100, ], ], ], @@ -15602,232 +10030,203 @@ 200 => [ 'schema' => [ 'title' => '返回数据', - 'description' => '返回数据', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'ScriptId' => [ - 'description' => '脚本ID。', - 'type' => 'string', - 'example' => 'cs-d6d6bc841c0d415fb81808bc6d09****', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + 'Components' => [ + 'description' => '组件信息列表。', + 'type' => 'array', + 'items' => [ + 'description' => '组件信息。', + 'type' => 'object', + 'properties' => [ + 'ComponentName' => ['title' => '组件名称。', 'description' => '组件名。', 'type' => 'string', 'example' => 'KNOX'], + 'ApplicationName' => ['title' => '应用名称。', 'description' => '应用名。', 'type' => 'string', 'example' => 'KNOX'], + 'Replica' => ['title' => '安装该组件的ecs总数。', 'description' => '安装该组件的机器总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Namespace' => ['title' => '命名空间。', 'description' => '保留字段。', 'type' => 'string', 'example' => '“”'], + 'Attributes' => [ + 'title' => '属性列表。', + 'description' => '属性列表。', + 'type' => 'array', + 'items' => ['description' => '属性名。', '$ref' => '#/components/schemas/Attribute'], + ], + ], + ], ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FFAC608A-5DC3-174F-93C6-9F88CA6D5875'], + 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '返回读取到的数据位置。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter.ClusterId', - 'errorMessage' => 'The specified clusterId is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter.ClusterScript', - 'errorMessage' => 'The specified clusterScript is invalid', - ], - [ - 'errorCode' => 'InvalidParameter.ClusterScriptType', - 'errorMessage' => 'The specified scriptType is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter.ClusterScriptNumberOverLimit', - 'errorMessage' => 'The cluster script number has already exceeded max limit [%s]', - ], - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ScriptId\\": \\"cs-d6d6bc841c0d415fb81808bc6d09****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '创建脚本', - 'summary' => '创建引导脚本或者普通集群脚本。', - ], - 'ListScripts' => [ - 'methods' => [ - 'get', - 'post', + 'title' => '查询组件列表', + 'summary' => '查询组件列表。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListComponents'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListComponents', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Components\\": [\\n {\\n \\"ComponentName\\": \\"KNOX\\",\\n \\"ApplicationName\\": \\"KNOX\\",\\n \\"Replica\\": 1,\\n \\"Namespace\\": \\"“”\\",\\n \\"Attributes\\": [\\n {\\n \\"Value\\": \\"true\\",\\n \\"Key\\": \\"currentYarnRangerPluginState\\"\\n }\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"FFAC608A-5DC3-174F-93C6-9F88CA6D5875\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","errorExample":""},{"type":"xml","example":"<ListComponentsResponse>\\n <RequestId>FFAC608A-5DC3-174F-93C6-9F88CA6D5875</RequestId>\\n <Components>\\n <ComponentName>KNOX</ComponentName>\\n <Replica>1</Replica>\\n <ApplicationName>KNOX</ApplicationName>\\n <Namespace/>\\n </Components>\\n</ListComponentsResponse>","errorExample":""}]', + ], + 'ListDoctorApplications' => [ + 'description' => 'list all doctor analysis apps', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', - 'abilityTreeCode' => '119909', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceY1BE2N', - 'FEATUREemapreduce42QKNE', - ], + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => '标记当前开始读取的位置。', - 'type' => 'string', - 'required' => false, - 'example' => 'dd6b1b2a-5837-5237-abe4-ff0c89568980', - ], + 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => '一次获取的最大记录数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ - 'name' => 'ScriptType', + 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], + ], + [ + 'name' => 'AppIds', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '集群脚本类型。', - 'description' => '集群脚本类型。取值范围:'."\n" - ."\n" - .'- BOOTSTRAP:引导脚本。'."\n" - .'- NORMAL:普通集群脚本。', - 'type' => 'string', - 'required' => true, - 'example' => 'BOOTSTRAP', + 'description' => '任务提交到YARN的IDs,用于过滤任务列表。', + 'type' => 'array', + 'items' => ['description' => 'YARN的任务ID。', 'type' => 'string', 'required' => false, 'example' => 'application_1643475036865_******'], + 'required' => false, + 'example' => 'null', ], ], [ - 'name' => 'ScriptName', + 'name' => 'Users', 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '集群脚本名称,仅限NORMAL脚本,支持模糊搜索。', - 'description' => '集群脚本名称,仅限NORMAL脚本,支持模糊搜索。', - 'type' => 'string', + 'description' => '任务提交的用户列表,用于过滤任务列表。', + 'type' => 'array', + 'items' => ['description' => '任务提交到YARN的用户名称。', 'type' => 'string', 'required' => false, 'example' => 'DW'], 'required' => false, + 'example' => 'null', ], ], [ - 'name' => 'ScriptId', + 'name' => 'Queues', 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '集群脚本id,仅限NORMAL脚本', - 'description' => '集群脚本id,仅限NORMAL脚本', - 'type' => 'string', + 'description' => '任务提交到YARN的队列列表,用于过滤任务列表。', + 'type' => 'array', + 'items' => ['description' => '任务提交到的YARN队列名称。', 'type' => 'string', 'required' => false, 'example' => 'DW'], 'required' => false, + 'example' => 'null', ], ], [ - 'name' => 'Statuses', + 'name' => 'Types', 'in' => 'query', + 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'title' => '脚本状态,仅支持NORMAL脚本。', - 'description' => '脚本状态列表。', + 'description' => '任务提交到YARN的引擎列表,用于过滤任务列表。', 'type' => 'array', - 'items' => [ - 'description' => '脚本状态,仅支持NORMAL脚本。', - 'type' => 'string', - 'required' => false, - ], + 'items' => ['description' => '任务提交到YARN的引擎类型。', 'type' => 'string', 'required' => false, 'example' => 'SPARK'], 'required' => false, + 'example' => 'null', ], ], + [ + 'name' => 'OrderType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => '排序方向。取值:'."\n" + ."\n" + .'- ASC:升序排列。'."\n" + ."\n" + .'- DESC:降序排列。', 'type' => 'string', 'required' => false, 'example' => 'ASC'], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => '排序顺序。取值:'."\n" + .'1. startTime:任务启动时间。'."\n" + .'2. endTime:任务结束时间。'."\n" + .'3. vcoreUtilization:任务CPU使用率。'."\n" + .'4. memUtilization:任务内存使用率。'."\n" + .'5. vcoreSeconds:任务CPU使用量。'."\n" + .'6. memSeconds:任务内存使用量。'."\n" + .'7. score:任务评分。', 'type' => 'string', 'required' => false, 'example' => 'score'], + ], ], 'responses' => [ 200 => [ @@ -15836,288 +10235,231 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'Scripts' => [ - 'description' => '脚本列表。', + 'Data' => [ + 'description' => '任务列表详情。', 'type' => 'array', 'items' => [ - 'description' => '脚本。', + 'description' => '任务详情。', 'type' => 'object', 'properties' => [ - 'Action' => [ - 'title' => 'API名称。', - 'description' => 'API名称。', - 'type' => 'string', - 'example' => 'ListScripts', - ], - 'RegionId' => [ - 'title' => '区域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'ScriptId' => [ - 'title' => '脚本ID。', - 'description' => '脚本ID。', - 'type' => 'string', - 'example' => 'cs-bf25219d103043a0820613e32781****', - ], - 'ScriptName' => [ - 'title' => '集群脚本名称。', - 'description' => '脚本名称。', - 'type' => 'string', - 'example' => 'check_env', - ], - 'ScriptPath' => [ - 'title' => '集群脚本路径。', - 'description' => '脚本路径。', - 'type' => 'string', - 'example' => 'oss://bucket1/check_evn.sh', - ], - 'ScriptArgs' => [ - 'title' => '集群脚本执行参数。', - 'description' => '脚本执行参数。', - 'type' => 'string', - 'example' => '--mode=client -h -p', - ], - 'LastUpdateTime' => [ - 'title' => '最近一次编辑时间。', - 'description' => '最近一次修改时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1639714634819', - ], - 'ExecutionFailStrategy' => [ - 'title' => '执行失败策略。', - 'description' => '执行失败策略。取值范围:'."\n" - ."\n" - .'- FAILED_CONTINUE:失败后继续执行。'."\n" - .'- FAILED_BLOCK:失败后阻塞。', - 'type' => 'string', - 'example' => 'FAILED_CONTINUE', - ], - 'ExecutionMoment' => [ - 'title' => '执行时机。', - 'description' => '执行时机。取值范围:'."\n" - ."\n" - .'- BEFORE_INSTALL:应用安装之前。'."\n" - .'- AFTER_STARTED: 应用启动后。', - 'type' => 'string', - 'example' => 'BEFORE_INSTALL', - ], - 'NodeSelector' => [ - 'title' => '节点选择器。', - 'description' => '节点选择器。', - '$ref' => '#/components/schemas/NodeSelector', - ], - 'StartTime' => [ - 'title' => '开始执行时间。', - 'description' => '开始执行时间。只有当ScriptType取值为NORMAL,才有该返回值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1639714634000', + 'AppId' => ['description' => 'YARN任务ID,如果是Hive任务,则是QueryID或者SessionID。', 'type' => 'string', 'example' => 'application_1665056147236_*****'], + 'Ids' => [ + 'description' => '任务IDs,多个ID间使用英文逗号(,)分隔。', + 'type' => 'array', + 'items' => ['description' => 'YARN的任务ID。', 'type' => 'string', 'example' => 'application_1665056147236_*****'], + 'example' => 'null', ], - 'EndTime' => [ - 'title' => '结束执行时间。', - 'description' => '结束执行时间。只有当ScriptType取值为NORMAL,才有该返回值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1639715635819', + 'AppName' => ['description' => '任务名称。', 'type' => 'string', 'example' => 'data-upload'], + 'User' => ['description' => '任务提交用户名。', 'type' => 'string', 'example' => 'DW'], + 'StartTime' => ['description' => '任务提交时间,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1677465658275'], + 'EndTime' => ['description' => '任务结束时间,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1682049088086'], + 'Queue' => ['description' => '任务提交到YARN的队列。', 'type' => 'string', 'example' => 'DW'], + 'Type' => ['description' => '计算引擎类型。', 'type' => 'string', 'example' => 'TEZ'], + 'QuerySql' => ['description' => '查询语句,对非SQL任务,为空。', 'type' => 'string', 'example' => 'SELECT id, count(1) FROM test group by id;'."\n"], + 'Metrics' => [ + 'description' => '指标数据。', + 'type' => 'object', + 'properties' => [ + 'VcoreUtilization' => [ + 'description' => 'CPU使用率,同Linux Top的%CPU含义。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'vcoreUtilization'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '23.1'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of used vcore to total available cores'."\n"], + ], + ], + 'MemUtilization' => [ + 'description' => '内存使用率。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'memUtilization'."\n"], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.23'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of used memory to total available memory'."\n"], + ], + ], + 'VcoreSeconds' => [ + 'description' => 'CPU使用量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'vcoreSeconds'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '11123'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'VCores * Sec'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total vcore usage over time in seconds'], + ], + ], + 'MemSeconds' => [ + 'description' => '内存使用量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'memSeconds'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '12312312'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB * Sec'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total memory usage over time in seconds'], + ], + ], + ], ], - 'ExecutionState' => [ - 'description' => '脚本执行的状态,只有当`ScriptType`取值为`NORMAL`,才有该返回值 。取值范围:'."\n" - ."\n" - .'- SCRIPT_COMPLETED:脚本执行成功。'."\n" - .'- SCRIPT_SUBMISSION_FAILED:脚本执行失败。'."\n" - .'- SCRIPT_RUNNING:脚本执行中。', - 'type' => 'string', - 'example' => 'SCRIPT_COMPLETED', + 'Analysis' => [ + 'description' => '任务分析。', + 'type' => 'object', + 'properties' => [ + 'Score' => ['description' => '任务评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '23'], + 'Suggestion' => ['description' => '任务运行建议。', 'type' => 'string', 'example' => '##### 当前节点:container'."\n" + .'##### 存在问题:'."\n" + .'最大内存利用率为7.75%,利用率较低'."\n" + ."\n\n" + .'尝试减小Tez Container内存,可通过hive.tez.container.size进行设置'], + ], ], ], ], ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '返回读取到的数据位置。', - 'type' => 'string', - 'example' => 'dd6b1b2a-5837-5237-abe4-ff0c89568982', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '本次请求所返回的最大记录条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '本次请求条件下的数据总量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '返回读取到的数据位置。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '批量获取任务分析结果', + 'summary' => '通过EMR Doctor获取批量任务分析结果。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorApplications', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Scripts\\": [\\n {\\n \\"Action\\": \\"ListScripts\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ScriptId\\": \\"cs-bf25219d103043a0820613e32781****\\",\\n \\"ScriptName\\": \\"check_env\\",\\n \\"ScriptPath\\": \\"oss://bucket1/check_evn.sh\\",\\n \\"ScriptArgs\\": \\"--mode=client -h -p\\",\\n \\"LastUpdateTime\\": 1639714634819,\\n \\"ExecutionFailStrategy\\": \\"FAILED_CONTINUE\\",\\n \\"ExecutionMoment\\": \\"BEFORE_INSTALL\\",\\n \\"NodeSelector\\": {\\n \\"NodeSelectType\\": \\"CLUSTER\\",\\n \\"NodeNames\\": [\\n \\"\\"\\n ],\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupIds\\": [\\n \\"ng-869471354ecd****\\"\\n ],\\n \\"NodeGroupTypes\\": [\\n \\"\\"\\n ],\\n \\"NodeGroupName\\": \\"master-1\\",\\n \\"NodeGroupNames\\": [\\n \\"master-1\\"\\n ]\\n },\\n \\"StartTime\\": 1639714634000,\\n \\"EndTime\\": 1639715635819,\\n \\"ExecutionState\\": \\"SCRIPT_COMPLETED\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"dd6b1b2a-5837-5237-abe4-ff0c89568982\\",\\n \\"MaxResults\\": 10,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => '查询脚本', - 'summary' => '查询EMR集群引导脚本或普通脚本。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"AppId\\": \\"application_1665056147236_*****\\",\\n \\"Ids\\": [\\n \\"application_1665056147236_*****\\"\\n ],\\n \\"AppName\\": \\"data-upload\\",\\n \\"User\\": \\"DW\\",\\n \\"StartTime\\": 1677465658275,\\n \\"EndTime\\": 1682049088086,\\n \\"Queue\\": \\"DW\\",\\n \\"Type\\": \\"TEZ\\",\\n \\"QuerySql\\": \\"SELECT id, count(1) FROM test group by id;\\\\n\\",\\n \\"Metrics\\": {\\n \\"VcoreUtilization\\": {\\n \\"Name\\": \\"vcoreUtilization\\",\\n \\"Value\\": 23.1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of used vcore to total available cores\\\\n\\"\\n },\\n \\"MemUtilization\\": {\\n \\"Name\\": \\"memUtilization\\\\n\\",\\n \\"Value\\": 0.23,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of used memory to total available memory\\\\n\\"\\n },\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\",\\n \\"Value\\": 11123,\\n \\"Unit\\": \\"VCores * Sec\\\\n\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"Score\\": 23,\\n \\"Suggestion\\": \\"##### 当前节点:container\\\\n##### 存在问题:\\\\n最大内存利用率为7.75%,利用率较低\\\\n\\\\n\\\\n尝试减小Tez Container内存,可通过hive.tez.container.size进行设置\\"\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', ], - 'UpdateScript' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDoctorComputeSummary' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'deprecated' => false, + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '119867', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceY1BE2N', - 'FEATUREemapreduce42QKNE', - ], + 'operationType' => 'list', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'ScriptId', + 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '脚本ID。', - 'description' => '脚本ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cs-da7476a7679a4d4c9cede62ebe09****', - ], + 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ - 'name' => 'ScriptType', + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为2023-01-01。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], + ], + [ + 'name' => 'ComponentTypes', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '集群脚本类型。', - 'description' => '脚本类型。取值范围:'."\n" + 'description' => '过滤资源的类型。取值:'."\n" + .'- engine:通过引擎类型来过滤结果。'."\n" + .'- queue:通过队列来过滤结果。'."\n" + .'- cluster:展示整个集群结果。 '."\n" ."\n" - .'- BOOTSTRAP:ECS实例引导脚本。'."\n" - .'- NORMAL:普通脚本。', - 'type' => 'string', - 'required' => true, - 'example' => 'BOOTSTRAP', + .'如果不填写,默认展示整个集群信息。目前只支持单资源类型,填写多个资源类型会默认取第一个资源类型。', + 'type' => 'array', + 'items' => ['description' => '资源类型。', 'type' => 'string', 'required' => false, 'example' => 'queue'], + 'required' => false, + 'example' => 'null', ], ], [ - 'name' => 'Script', + 'name' => 'OrderType', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'json', - 'schema' => [ - 'title' => '集群脚本。', - 'description' => '脚本。', - 'required' => true, - '$ref' => '#/components/schemas/Script', - ], + 'schema' => ['description' => '排序方向。取值:'."\n" + ."\n" + .'- ASC:升序排列。'."\n" + ."\n" + .'- DESC:降序排列。', 'type' => 'string', 'required' => false, 'example' => 'ASC'], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => '排序顺序。取值:'."\n" + .'1. vcoreSeconds:资源CPU使用总量。'."\n" + .'2. memSeconds:资源内存使用总量。'."\n" + .'3. vcoreUtilization:资源平均CPU使用率。同Linux Top的%CPU含义。'."\n" + .'4. memUtilization:资源平均内存利用率。'."\n" + .'5. vcoreSecondsDayGrowthRatio:资源CPU使用总量日环比。'."\n" + .'6. memSecondsDayGrowthRatio:资源内存使用总量日环比。'."\n" + .'7. readSize:资源读取文件系统总量。'."\n" + .'8. writeSize:资源写入文件系统总量。'."\n" + .'9. healthyJobCount:健康任务总数。'."\n" + .'10. subHealthyJobCount:亚健康任务总数。'."\n" + .'11. unhealthyJobCount:不健康任务总数。'."\n" + .'12. needAttentionJobCount:需要关注的任务总数。'."\n" + .'13. score:资源任务评分。'."\n" + .'14. scoreDayGrowthRatio:资源任务评分日环比。', 'type' => 'string', 'required' => false, 'example' => 'score'], ], ], 'responses' => [ @@ -16127,164 +10469,242 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + 'Data' => [ + 'description' => '资源列表详情。', + 'type' => 'array', + 'items' => [ + 'description' => '资源使用详情。', + 'type' => 'object', + 'properties' => [ + 'ComponentName' => ['description' => '根据ComponentTypes获取的资源详情,如ComponentTypes为Queue,则会对应了某个队列的名称,如DW队列。', 'type' => 'string', 'example' => 'DW'], + 'Metrics' => [ + 'description' => '指标数据。', + 'type' => 'object', + 'properties' => [ + 'VcoreSeconds' => [ + 'description' => '资源CPU使用总量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'vcoreSeconds'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1231412'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'VCores * Sec'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total vcore usage over time in seconds'."\n"], + ], + ], + 'MemSeconds' => [ + 'description' => '资源内存使用总量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'memSeconds'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '12312312'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB * Sec'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total memory usage over time in seconds'], + ], + ], + 'VcoreUtilization' => [ + 'description' => '资源平均CPU使用率。同Linux Top的%CPU含义。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'vcoreUtilization'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '32.1'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of used vcore to total available cores'."\n"], + ], + ], + 'MemUtilization' => [ + 'description' => '资源平均内存利用率。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'memUtilization'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.82'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of used memory to total available memory'."\n"], + ], + ], + 'VcoreSecondsDayGrowthRatio' => [ + 'description' => '资源CPU使用总量日环比。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'vcoreSecondsDayGrowthRatio'."\n"], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.22'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Growth ratio of virtual core usage in seconds per day'."\n"], + ], + ], + 'MemSecondsDayGrowthRatio' => [ + 'description' => '资源内存使用总量日环比。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'memSecondsDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.36'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Growth ratio of memory usage in seconds per day'."\n"], + ], + ], + 'ReadSize' => [ + 'description' => '资源读取文件系统总量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'readSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '504888659968'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total cumulative size of data read in megabytes (MB)'."\n"], + ], + ], + 'WriteSize' => [ + 'description' => '资源写入文件系统总量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'writeSize'."\n"], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '6294093393920'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total cumulative size of data written in megabytes (MB)'], + ], + ], + ], + ], + 'Analysis' => [ + 'description' => '资源分析。', + 'type' => 'object', + 'properties' => [ + 'HealthyJobCount' => ['description' => '健康任务总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'], + 'SubHealthyJobCount' => ['description' => '亚健康任务总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '13'], + 'UnhealthyJobCount' => ['description' => '不健康任务总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'], + 'NeedAttentionJobCount' => ['description' => '需要关注的任务总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '23'], + 'Score' => ['description' => '资源任务评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '56'], + 'ScoreDayGrowthRatio' => ['description' => '资源任务评分日环比。', 'type' => 'number', 'format' => 'float', 'example' => '0.03'], + ], + ], + ], + ], ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '返回读取到的数据位置。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter.ClusterId', - 'errorMessage' => 'The specified clusterId is invalid.', - ], - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '批量获取集群资源使用结果', + 'summary' => '通过EMR Doctor根据过滤条件批量获取集群资源使用情况。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorComputeSummary', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '更新脚本', - 'summary' => '更新引导脚本或者普通脚本。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"ComponentName\\": \\"DW\\",\\n \\"Metrics\\": {\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\",\\n \\"Value\\": 1231412,\\n \\"Unit\\": \\"VCores * Sec\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\\\n\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\"\\n },\\n \\"VcoreUtilization\\": {\\n \\"Name\\": \\"vcoreUtilization\\",\\n \\"Value\\": 32.1,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Ratio of used vcore to total available cores\\\\n\\"\\n },\\n \\"MemUtilization\\": {\\n \\"Name\\": \\"memUtilization\\",\\n \\"Value\\": 0.82,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Ratio of used memory to total available memory\\\\n\\"\\n },\\n \\"VcoreSecondsDayGrowthRatio\\": {\\n \\"Name\\": \\"vcoreSecondsDayGrowthRatio\\\\n\\",\\n \\"Value\\": 0.22,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Growth ratio of virtual core usage in seconds per day\\\\n\\"\\n },\\n \\"MemSecondsDayGrowthRatio\\": {\\n \\"Name\\": \\"memSecondsDayGrowthRatio\\",\\n \\"Value\\": 0.36,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Growth ratio of memory usage in seconds per day\\\\n\\"\\n },\\n \\"ReadSize\\": {\\n \\"Name\\": \\"readSize\\",\\n \\"Value\\": 504888659968,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total cumulative size of data read in megabytes (MB)\\\\n\\"\\n },\\n \\"WriteSize\\": {\\n \\"Name\\": \\"writeSize\\\\n\\",\\n \\"Value\\": 6294093393920,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Total cumulative size of data written in megabytes (MB)\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HealthyJobCount\\": 3,\\n \\"SubHealthyJobCount\\": 13,\\n \\"UnhealthyJobCount\\": 123,\\n \\"NeedAttentionJobCount\\": 23,\\n \\"Score\\": 56,\\n \\"ScoreDayGrowthRatio\\": 0.03\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', ], - 'DeleteScript' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDoctorHBaseRegionServers' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], - [ - 'APP' => [], - ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '119859', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceY1BE2N', - 'FEATUREemapreduce42QKNE', - ], + 'operationType' => 'list', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'ScriptType', + 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群脚本类型。', - 'description' => '脚本类型。取值范围:'."\n" - ."\n" - .'- BOOTSTRAP:ECS实例引导脚本。'."\n" - .'- NORMAL:普通脚本。', - 'type' => 'string', - 'required' => true, - 'example' => 'BOOTSTRAP', - ], + 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ - 'name' => 'ScriptId', + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => '日期。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], + ], + [ + 'name' => 'RegionServerHosts', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '脚本ID。', - 'description' => '脚本ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cs-da7476a7679a4d4c9cede62ebe09****', + 'description' => 'RegionServer的Host列表。', + 'type' => 'array', + 'items' => ['description' => 'RegionServer的Host。', 'type' => 'string', 'required' => false, 'example' => 'emr-worker-4.cluster-20****'], + 'required' => false, + 'example' => 'null', ], ], + [ + 'name' => 'OrderType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => '排序方向。取值:'."\n" + ."\n" + .'- ASC:升序排列。'."\n" + ."\n" + .'- DESC:降序排列。', 'type' => 'string', 'required' => false, 'example' => 'ASC'], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => '排序字段。取值:'."\n" + ."\n" + .'- regionCount:region数量', 'type' => 'string', 'required' => false, 'example' => 'regionCount'], + ], ], 'responses' => [ 200 => [ @@ -16293,92 +10713,178 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + 'Data' => [ + 'description' => '返回数据。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RegionServerHost' => ['description' => 'RegionServer的Host。', 'type' => 'string', 'example' => 'emr-worker-4.cluster-20****'], + 'Metrics' => [ + 'description' => '指标信息。', + 'type' => 'object', + 'properties' => [ + 'RegionCount' => [ + 'description' => 'Region的数量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'regionCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '81'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of regions count'], + ], + ], + 'TotalReadRequest' => [ + 'description' => '累积的读请求数量', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalReadRequest'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '170500567'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total number of read requests'], + ], + ], + 'TotalWriteRequest' => [ + 'description' => '累积的写请求数量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalWriteRequest'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '30109837'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total number of write requests'], + ], + ], + 'TotalRequest' => [ + 'description' => '累积的总请求数量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalRequest'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '89499511'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total number of requests'], + ], + ], + 'DailyReadRequest' => [ + 'description' => '单日的读请求数量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyReadRequest'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '42571'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of read requests per day'], + ], + ], + 'DailyWriteRequest' => [ + 'description' => '单日的写请求数量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyWriteRequest'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '23124'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of write requests per day'], + ], + ], + 'AvgGc' => [ + 'description' => '平均GC时间。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'avgGc'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '37.9'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The efficiency of garbage collection in the system'], + ], + ], + 'CacheRatio' => [ + 'description' => '缓存比例。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'cacheRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '96.7'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of the BlockCache memory size'], + ], + ], + 'DailyReadRequestDayGrowthRatio' => [ + 'description' => '单日读请求数量的增长率。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyReadRequestDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.0'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The growth rate of daily read request quantity.'], + ], + ], + 'DailyWriteRequestDayGrowthRatio' => [ + 'description' => '单日写请求数量的增长率。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyWriteRequestDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.0'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The growth rate of daily write request quantity.'], + ], + ], + ], + ], + ], + 'description' => '', + ], ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '返回读取到的数据位置。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '批量获取 HBase ReagionServer 信息', + 'summary' => '批量获取 HBase ReagionServer 信息。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorHBaseRegionServers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '删除脚本', - 'summary' => '删除引导脚本或者普通脚本。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"RegionServerHost\\": \\"emr-worker-4.cluster-20****\\",\\n \\"Metrics\\": {\\n \\"RegionCount\\": {\\n \\"Name\\": \\"regionCount\\",\\n \\"Value\\": 81,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of regions count\\"\\n },\\n \\"TotalReadRequest\\": {\\n \\"Name\\": \\"totalReadRequest\\",\\n \\"Value\\": 170500567,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of read requests\\"\\n },\\n \\"TotalWriteRequest\\": {\\n \\"Name\\": \\"totalWriteRequest\\",\\n \\"Value\\": 30109837,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of write requests\\"\\n },\\n \\"TotalRequest\\": {\\n \\"Name\\": \\"totalRequest\\",\\n \\"Value\\": 89499511,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of requests\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\",\\n \\"Value\\": 42571,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of read requests per day\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\",\\n \\"Value\\": 23124,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of write requests per day\\"\\n },\\n \\"AvgGc\\": {\\n \\"Name\\": \\"avgGc\\",\\n \\"Value\\": 37.9,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The efficiency of garbage collection in the system\\"\\n },\\n \\"CacheRatio\\": {\\n \\"Name\\": \\"cacheRatio\\",\\n \\"Value\\": 96.7,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of the BlockCache memory size\\"\\n },\\n \\"DailyReadRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyReadRequestDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The growth rate of daily read request quantity.\\"\\n },\\n \\"DailyWriteRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyWriteRequestDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The growth rate of daily write request quantity.\\"\\n }\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', ], - 'ListDoctorHiveDatabases' => [ - 'description' => 'list Doctor Hive Databases', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDoctorHBaseTables' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16387,85 +10893,48 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => '标记当前开始读取的位置。', - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], + 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => '一次获取的最大记录数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '日期。', - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', - ], + 'schema' => ['description' => '日期。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], [ - 'name' => 'DatabaseNames', + 'name' => 'TableNames', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'description' => '数据库名列表。', + 'description' => '表名称列表。', 'type' => 'array', - 'items' => [ - 'description' => '数据库名。', - 'type' => 'string', - 'required' => false, - 'example' => 'db1', - ], + 'items' => ['description' => '表名称。', 'type' => 'string', 'required' => false, 'example' => 'namespace1:tb_item'."\n"], 'required' => false, 'example' => 'null', ], @@ -16474,29 +10943,19 @@ 'name' => 'OrderType', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '排序方向。取值:'."\n" - ."\n" - .'- ASC:升序排列'."\n" - ."\n" - .'- DESC:降序排列', - 'type' => 'string', - 'required' => false, - 'example' => 'ASC', - ], + 'schema' => ['description' => '排序方向。取值:'."\n" + ."\n" + .'- ASC:升序排列。'."\n" + ."\n" + .'- DESC:降序排列。', 'type' => 'string', 'required' => false, 'example' => 'ASC'], ], [ 'name' => 'OrderBy', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '排序依据。取值:'."\n" - ."\n" - .'- tableCount:表数量。', - 'type' => 'string', - 'required' => false, - 'example' => 'tableCount', - ], + 'schema' => ['description' => '排序字段。取值:'."\n" + ."\n" + .'- tableSize:表大小', 'type' => 'string', 'required' => false, 'example' => 'tableSize'], ], ], 'responses' => [ @@ -16507,1394 +10966,854 @@ 'type' => 'object', 'properties' => [ 'Data' => [ - 'description' => 'Hive批量库分析数据。', + 'description' => '返回数据。', 'type' => 'array', 'items' => [ - 'description' => 'Hive库分析数据。', 'type' => 'object', 'properties' => [ - 'DatabaseName' => [ - 'description' => '库名称', - 'type' => 'string', - 'example' => 'db1', - ], - 'Formats' => [ - 'description' => '存储格式信息。', - 'type' => 'array', - 'items' => [ - 'description' => '存储格式信息。', - 'type' => 'object', - 'properties' => [ - 'FormatName' => [ - 'description' => '存储格式名称。', - 'type' => 'string', - 'example' => 'TextInputFormat', + 'TableName' => ['description' => '表名。', 'type' => 'string', 'example' => 'tb_item'], + 'Metrics' => [ + 'description' => '指标信息。', + 'type' => 'object', + 'properties' => [ + 'RegionServerCount' => [ + 'description' => '表在几个region server上。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'regionServerCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of region servers count'], ], - 'FormatSize' => [ - 'description' => '格式数据量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', + ], + 'RegionCount' => [ + 'description' => '表在几个region上。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'regionCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of regions count'], ], - 'FormatSizeUnit' => [ - 'description' => '格式数据量单位。', - 'type' => 'string', - 'example' => 'MB', + ], + 'TableSize' => [ + 'description' => '表大小。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tableSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '678'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the table'], ], - 'FormatRatio' => [ - 'description' => '格式占比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', + ], + 'StoreFileCount' => [ + 'description' => 'store file个数。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'storeFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '36'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of store files'], ], - 'FormatDayGrowthSize' => [ - 'description' => '格式数据量日增量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', + ], + 'DailyReadRequest' => [ + 'description' => '表单日读取总量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyReadRequest'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of read requests per day'], ], - 'FormatSizeDayGrowthRatio' => [ - 'description' => '格式数据量日环比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', + ], + 'DailyWriteRequest' => [ + 'description' => '表单日写总量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyWriteRequest'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of write requests per day'], ], ], - ], - ], - 'Metrics' => [ - 'description' => '指标信息。', - 'type' => 'object', - 'properties' => [ - 'TableCount' => [ - 'description' => '表数量。', + 'RegionBalance' => [ + 'description' => '均衡度。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'TableCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of tables'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'regionBalance'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.0'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The ability to evenly distribute Regions on different RegionServer nodes'], ], ], - 'PartitionNum' => [ - 'description' => '分区数。', + 'RequestBalance' => [ + 'description' => '请求均衡度。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'ppartitionNum', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of partitions'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'requestBalance'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.9'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The balance of distributing requests'], ], ], - 'LargeFileCount' => [ - 'description' => '大文件个数。大文件指的是1 GB以上大小的文件。', + 'HotDataSize' => [ + 'description' => '热数据大小。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of large files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the hot data size'], ], ], - 'MediumFileCount' => [ - 'description' => '中文件个数。中文件指的是128 MB以上,1 GB以下大小的文件。', + 'WarmDataSize' => [ + 'description' => '温数据大小。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of medium files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the warm data size'], ], ], - 'SmallFileCount' => [ - 'description' => '小文件个数。小文件指的是10 MB以上,128 MB以下大小的文件。', + 'ColdDataSize' => [ + 'description' => '冷数据大小。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of small files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the cold data size'], ], ], - 'TinyFileCount' => [ - 'description' => '极小文件个数。极小文件指的是0 MB以上,10 MB以下大小的文件。', + 'FreezeDataSize' => [ + 'description' => '极冷数据大小。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of tiny files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the freeze data size'], ], ], - 'EmptyFileCount' => [ - 'description' => '空文件个数。空文件指的是0 MB大小的文件。', + 'WarmConfigDay' => [ + 'description' => '温数据访问天数配置。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of empty files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmConfigDay'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'day'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Warm config day'], ], ], - 'TotalFileCount' => [ - 'description' => '总文件个数。', + 'ColdConfigDay' => [ + 'description' => '冷数据访问天数配置。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of total files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldConfigDay'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'day'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Cold config day'], ], ], - 'LargeFileRatio' => [ - 'description' => '大文件个数占比。大文件指的是1 GB以上大小的文件。', + 'FreezeConfigDay' => [ + 'description' => '极冷数据访问天数配置。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of large files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeConfigDay'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'day'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Freeze config day'], ], ], - 'MediumFileRatio' => [ - 'description' => '中文件个数占比。中文件指的是128 MB以上,1 GB以下大小的文件。', + 'Locality' => [ + 'description' => '本地化率。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of medium files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'locality'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The locality of data'], ], ], - 'SmallFileRatio' => [ - 'description' => '小文件个数占比。小文件指的是10 MB以上,128 MB以下大小的文件。', + 'ColdAccessDay' => [ + 'description' => '表多少天没被访问。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of small files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldAccessDay'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'day'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Cold access day'], ], ], - 'TinyFileRatio' => [ - 'description' => '极小文件个数占比。极小文件指的是0 MB以上,10 MB以下大小的文件。', + 'RegionCountDayGrowthRatio' => [ + 'description' => 'region个数日增量比例。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of tiny files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'regionCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.0'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of region count'], ], ], - 'EmptyFileRatio' => [ - 'description' => '空文件个数占比。空文件指的是0 MB大小的文件。', + 'TableSizeDayGrowthRatio' => [ + 'description' => '表大小日增量比例。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of empty files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tableSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.0'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '\'"'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of table size'], ], ], - 'HotDataSize' => [ - 'description' => '热数据的数据量大小。热数据指的是7日内有访问的数据。', + 'StoreFileCountDayGrowthRatio' => [ + 'description' => 'store file个数日增量比例。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of hot files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'storeFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.7'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of store file count'], ], ], - 'WarmDataSize' => [ - 'description' => '温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', + 'DailyReadRequestDayGrowthRatio' => [ + 'description' => '单日读请求日增量比例。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of warm files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyReadRequestDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.8'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of read requests'], ], ], - 'ColdDataSize' => [ - 'description' => '冷数据的数据量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', + 'DailyWriteRequestDayGrowthRatio' => [ + 'description' => '单日写请求日增量比例。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of cold files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'dailyWriteRequestDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.8'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The balance of distributing requests'], ], ], - 'FreezeDataSize' => [ - 'description' => '极冷数据的数据量大小。极冷数据指的是90日以内都没有访问的数据。', + 'ReadRequestBalance' => [ + 'description' => '读均衡度。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataSize ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of freeze files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'readRequestBalance'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.0'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'The balance of distributing read requests'], ], ], - 'TotalDataSize' => [ - 'description' => '总数据量大小。', + 'WriteRequestBalance' => [ + 'description' => '写均衡度。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total data size in megabytes (MB)'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'writeRequestBalance'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '1.0'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述', 'type' => 'string', 'example' => 'The balance of distributing write requests'], ], ], - 'HotDataRatio' => [ - 'description' => '热数据的数据量大小占比。热数据指的是7日内有访问的数据。', + ], + ], + 'Analysis' => [ + 'description' => '诊断结果。', + 'type' => 'object', + 'properties' => [ + 'TableScore' => ['description' => '表打分。', 'type' => 'integer', 'format' => 'int32', 'example' => '67'], + 'RequestUnbalanceSuggestion' => ['description' => '读写不均衡描述。', 'type' => 'string', 'example' => 'ead request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均读请求数量为764361,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: f1c922d41529785e21b61cf4c672b98a 读请求数量: 1543919</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 5f019e8cf7c16be9768634cb99ccbe05 读请求数量: 1512817</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d113992fea3a457f60b8b8aa5d6fa037 读请求数量: 1504293</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>'], + 'RequestHotspotRegionList' => [ + 'description' => '读写热点region列表。', + 'type' => 'array', + 'items' => ['description' => '读写热点region。', 'type' => 'string', 'example' => '5f019e8cf7c16be9768634cb99ccbe05'], + 'example' => 'null', + ], + 'ReadRequestUnbalanceSuggestion' => ['description' => '读不均衡描述。', 'type' => 'string', 'example' => 'ead request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均读请求数量为764361,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: f1c922d41529785e21b61cf4c672b98a 读请求数量: 1543919</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 5f019e8cf7c16be9768634cb99ccbe05 读请求数量: 1512817</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d113992fea3a457f60b8b8aa5d6fa037 读请求数量: 1504293</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>'], + 'ReadRequestHotspotRegionList' => [ + 'description' => '读热点hotspot regions列表。', + 'type' => 'array', + 'items' => ['description' => '读热点hotspot regions。', 'type' => 'string', 'example' => '5f019e8cf7c16be9768634cb99ccbe05'], + 'example' => 'null', + ], + 'WriteRequestUnbalanceSuggestion' => ['description' => '写不均衡度描述。', 'type' => 'string', 'example' => 'write request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均写请求数量为786142,以下分区存在写请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: f1c922d41529785e21b61cf4c672b98a 写请求数量: 1588305</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 5f019e8cf7c16be9768634cb99ccbe05 写请求数量: 1556984</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d113992fea3a457f60b8b8aa5d6fa037 写请求数量: 1548764</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>'], + 'WriteRequestHotspotRegionList' => [ + 'description' => '写热点hotspot regions列表。', + 'type' => 'array', + 'items' => ['description' => '写热点hotspot regions。', 'type' => 'string', 'example' => '5f019e8cf7c16be9768634cb99ccbe05'], + 'example' => 'null', + ], + ], + ], + ], + 'description' => '', + ], + ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '返回读取到的数据位置。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], + ], + 404 => [ + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], + ], + 503 => [ + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '批量获取 HBase Table 信息', + 'summary' => '批量获取 HBase Table 信息。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorHBaseTables', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"TableName\\": \\"tb_item\\",\\n \\"Metrics\\": {\\n \\"RegionServerCount\\": {\\n \\"Name\\": \\"regionServerCount\\",\\n \\"Value\\": 2,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of region servers count\\"\\n },\\n \\"RegionCount\\": {\\n \\"Name\\": \\"regionCount\\",\\n \\"Value\\": 3,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of regions count\\"\\n },\\n \\"TableSize\\": {\\n \\"Name\\": \\"tableSize\\",\\n \\"Value\\": 678,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the table\\"\\n },\\n \\"StoreFileCount\\": {\\n \\"Name\\": \\"storeFileCount\\",\\n \\"Value\\": 36,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of store files\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of read requests per day\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of write requests per day\\"\\n },\\n \\"RegionBalance\\": {\\n \\"Name\\": \\"regionBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"The ability to evenly distribute Regions on different RegionServer nodes\\"\\n },\\n \\"RequestBalance\\": {\\n \\"Name\\": \\"requestBalance\\",\\n \\"Value\\": 0.9,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"The balance of distributing requests\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the hot data size\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the cold data size\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the freeze data size\\"\\n },\\n \\"WarmConfigDay\\": {\\n \\"Name\\": \\"warmConfigDay\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Warm config day\\"\\n },\\n \\"ColdConfigDay\\": {\\n \\"Name\\": \\"coldConfigDay\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Cold config day\\"\\n },\\n \\"FreezeConfigDay\\": {\\n \\"Name\\": \\"freezeConfigDay\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Freeze config day\\"\\n },\\n \\"Locality\\": {\\n \\"Name\\": \\"locality\\",\\n \\"Value\\": 0,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The locality of data\\"\\n },\\n \\"ColdAccessDay\\": {\\n \\"Name\\": \\"coldAccessDay\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Cold access day\\"\\n },\\n \\"RegionCountDayGrowthRatio\\": {\\n \\"Name\\": \\"regionCountDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of region count\\"\\n },\\n \\"TableSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"tableSizeDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\'\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of table size\\"\\n },\\n \\"StoreFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"storeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.7,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of store file count\\"\\n },\\n \\"DailyReadRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyReadRequestDayGrowthRatio\\",\\n \\"Value\\": 0.8,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of read requests\\"\\n },\\n \\"DailyWriteRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyWriteRequestDayGrowthRatio\\",\\n \\"Value\\": 0.8,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing requests\\"\\n },\\n \\"ReadRequestBalance\\": {\\n \\"Name\\": \\"readRequestBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing read requests\\"\\n },\\n \\"WriteRequestBalance\\": {\\n \\"Name\\": \\"writeRequestBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing write requests\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"TableScore\\": 67,\\n \\"RequestUnbalanceSuggestion\\": \\"ead request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均读请求数量为764361,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: f1c922d41529785e21b61cf4c672b98a 读请求数量: 1543919</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 5f019e8cf7c16be9768634cb99ccbe05 读请求数量: 1512817</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d113992fea3a457f60b8b8aa5d6fa037 读请求数量: 1504293</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"RequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ],\\n \\"ReadRequestUnbalanceSuggestion\\": \\"ead request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均读请求数量为764361,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: f1c922d41529785e21b61cf4c672b98a 读请求数量: 1543919</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 5f019e8cf7c16be9768634cb99ccbe05 读请求数量: 1512817</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d113992fea3a457f60b8b8aa5d6fa037 读请求数量: 1504293</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"ReadRequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ],\\n \\"WriteRequestUnbalanceSuggestion\\": \\"write request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均写请求数量为786142,以下分区存在写请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: f1c922d41529785e21b61cf4c672b98a 写请求数量: 1588305</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 5f019e8cf7c16be9768634cb99ccbe05 写请求数量: 1556984</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d113992fea3a457f60b8b8aa5d6fa037 写请求数量: 1548764</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"WriteRequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ]\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + ], + 'ListDoctorHDFSDirectories' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'DateTime', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'."\n"], + ], + [ + 'name' => 'DirPath', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => '目录名称。目录不超过5级。如果不填写,就是全量目录分析。', 'type' => 'string', 'required' => false, 'example' => '/tmp/test'."\n"], + ], + [ + 'name' => 'OrderType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => '排序方向。取值:'."\n" + ."\n" + .'- ASC:升序排列'."\n" + ."\n" + .'- DESC:降序排列', 'type' => 'string', 'required' => false, 'example' => 'ASC'], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => '排序依据。取值:'."\n" + ."\n" + .'- totalFileCount: 总文件个数。'."\n" + .'- largeFileCount: 大文件个数。大文件指的是1 GB以上大小的文件。'."\n" + .'- mediumFileCount: 中文件个数。中文件指的是128 MB以上,1 GB以下大小的文件。'."\n" + .' - smallFileCount: 小文件个数。小文件指的是10 MB以上,128 MB以下大小的文件。'."\n" + .' - tinyFileCount: 极小文件个数。极小文件指的是0 MB以上,10 MB以下大小的文件。'."\n" + .' - emptyFileCount: 空文件个数。空文件指的是0 MB大小的文件。'."\n" + .' - hotDataSize: 热数据的数据量大小。热数据指的是7日内有访问的数据。'."\n" + .' - warmDataSize: 温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。'."\n" + .' - coldDataSize: 冷数据的数据量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。'."\n" + .' - freezeDataSize: 极冷数据的数据量大小。极冷数据指的是90日以内都没有访问的数据。'."\n" + .' - totalDataSize: 总数据量大小。'."\n" + .' - totalFileDayGrowthCount: 总文件个数日增量。'."\n" + .' - largeFileDayGrowthCount: 大文件个数日增量。大文件指的是1 GB以上大小的文件。'."\n" + .' - mediumFileDayGrowthCount: 中文件个数增量。比中文件指的是128 MB以上,1 GB以下大小的文件。'."\n" + .' - smallFileDayGrowthCount: 小文件个数日增量。小文件指的是10 MB以上,128 MB以下大小的文件。'."\n" + .' - tinyFileDayGrowthCount: 极小文件个数日增量。极小文件指的是0 MB以上,10 MB以下大小的文件。'."\n" + .' - emptyFileDayGrowthCount: 空文件个数日增量。空文件指的是0 MB大小的文件。'."\n" + .' - hotDataDayGrowthSize: 热数据的数据量日增量大小。热数据指的是7日内有访问的数据。'."\n" + .' - warmDataDayGrowthSize: 温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。'."\n" + .' - coldDataDayGrowthSize: 冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。'."\n" + .' - freezeDataDayGrowthSize: 极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。'."\n" + .' - totalDataDayGrowthSize: 全部数据的数据量日增量大小。'."\n" + .' - totalFileCountDayGrowthRatio: 总文件个数日环比。'."\n" + .' - largeFileCountDayGrowthRatio: 大文件个数日环比。大文件指的是1 GB以上大小的文件。'."\n" + .' - mediumFileCountDayGrowthRatio: 中文件个数日环比。比中文件指的是128 MB以上,1 GB以下大小的文件。'."\n" + .' - smallFileCountDayGrowthRatio: 小文件个数日环比。小文件指的是10 MB以上,128 MB以下大小的文件。'."\n" + .' - tinyFileCountDayGrowthRatio: 极小文件个数日环比。极小文件指的是0 MB以上,10 MB以下大小的文件。'."\n" + .' - emptyFileCountDayGrowthRatio: 空文件个数日环比。空文件指的是0 MB大小的文件。', 'type' => 'string', 'required' => false, 'example' => 'smallFileCount'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回数据', + 'description' => '返回数据', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'HDFS批量目录分析数据。', + 'type' => 'array', + 'items' => [ + 'description' => 'HDFS目录分析数据。', + 'type' => 'object', + 'properties' => [ + 'DirPath' => ['description' => '目录名称。', 'type' => 'string', 'example' => '/tmp/test'], + 'Depth' => ['description' => '目录层级。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'User' => ['description' => '目录属主。', 'type' => 'string', 'example' => 'DW'], + 'Group' => ['description' => '目录属组。', 'type' => 'string', 'example' => 'DW'], + 'Metrics' => [ + 'description' => '指标信息。', + 'type' => 'object', + 'properties' => [ + 'TotalFileCount' => [ + 'description' => '总文件个数。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Hot data ratio'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '51683279'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of total files'."\n"], ], ], - 'WarmDataRatio' => [ - 'description' => '温数据的数据量大小占比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', + 'LargeFileCount' => [ + 'description' => '大文件个数。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of warm data'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of large files'."\n"], ], ], - 'ColdDataRatio' => [ - 'description' => '冷数据的数据量大小占比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', + 'MediumFileCount' => [ + 'description' => '中文件个数。中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Cold data ratio'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '323'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of medium files'."\n"], ], ], - 'FreezeDataRatio' => [ - 'description' => '极冷数据的数据量大小占比。极冷数据指的是90日以内都没有访问的数据。', + 'SmallFileCount' => [ + 'description' => '小文件个数。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of freeze data'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '12345'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of small files'."\n"], + ], + ], + 'TinyFileCount' => [ + 'description' => '极小文件个数。极小文件指的是0 MB以上,10 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCount'."\n"], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '232131'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of tiny files'], + ], + ], + 'EmptyFileCount' => [ + 'description' => '空文件个数。空文件指的是0 MB大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '15595897'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of empty files'], + ], + ], + 'HotDataSize' => [ + 'description' => '热数据的数据量大小。热数据指的是7日内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '6701531944206'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the hot data size'."\n"], + ], + ], + 'WarmDataSize' => [ + 'description' => '温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSize'."\n"], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '4062349775577'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the warm data size'."\n"], + ], + ], + 'ColdDataSize' => [ + 'description' => '冷数据的数据量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '5570958082267'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the cold data size'."\n"], + ], + ], + 'FreezeDataSize' => [ + 'description' => '极冷数据的数据量大小。极冷数据指的是90日以内都没有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1231312431'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the freeze data size'."\n"], + ], + ], + 'TotalDataSize' => [ + 'description' => '总数据量大小。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '62086342083623'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total data size in megabytes (MB)'."\n"], ], ], 'TotalFileDayGrowthCount' => [ 'description' => '总文件个数日增量。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of total files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '27809'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of total files'."\n"], ], ], 'LargeFileDayGrowthCount' => [ 'description' => '大文件个数日增量。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of large files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of large files'."\n"], ], ], 'MediumFileDayGrowthCount' => [ - 'description' => '中文件个数日增量。中文件指的是128 MB以上,1 GB以下大小的文件。', + 'description' => '中文件个数增量。比中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of medium files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '176'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of medium files'."\n"], ], ], 'SmallFileDayGrowthCount' => [ 'description' => '小文件个数日增量。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileDayGrowthCount ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of small files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '12345'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of small files'."\n"], ], ], 'TinyFileDayGrowthCount' => [ 'description' => '极小文件个数日增量。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of tiny files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '-123'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of tiny files'], ], ], 'EmptyFileDayGrowthCount' => [ 'description' => '空文件个数日增量。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of empty files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '114'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of empty files'."\n"], ], ], 'HotDataDayGrowthSize' => [ 'description' => '热数据的数据量日增量大小。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataDayGrowthSize ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of hot data'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '123154'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => ' '."\n" + .'Day growth size of hot data'."\n"], ], ], 'WarmDataDayGrowthSize' => [ 'description' => '温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataDayGrowthSize ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of warm data'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '-64806998319'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of warm data'."\n"], ], ], 'ColdDataDayGrowthSize' => [ 'description' => '冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of cold data'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '-182636577752'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of cold data'."\n"], ], ], 'FreezeDataDayGrowthSize' => [ 'description' => '极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataDayGrowthSize ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of freeze data'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '-167683929450'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of freeze data'."\n"], ], ], 'TotalDataDayGrowthSize' => [ 'description' => '全部数据的数据量日增量大小。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of total data'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '256482228248'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of total data'."\n"], ], ], 'TotalFileCountDayGrowthRatio' => [ 'description' => '总文件个数日环比。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of total files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCountDayGrowthRatio'."\n"], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.02'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total files'."\n"], ], ], 'LargeFileCountDayGrowthRatio' => [ 'description' => '大文件个数日环比。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of large files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.39'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of large files'."\n"], ], ], 'MediumFileCountDayGrowthRatio' => [ 'description' => '中文件个数日环比。比中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileCountDayGrowthRatio ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of medium files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.19'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of medium files'."\n"], ], ], 'SmallFileCountDayGrowthRatio' => [ 'description' => '小文件个数日环比。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileCountDayGrowthRatio ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of small files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.02'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of small files'."\n"], ], ], 'TinyFileCountDayGrowthRatio' => [ 'description' => '极小文件个数日环比。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileCountDayGrowthRatio ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of tiny files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.003'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of tiny files'."\n"], ], ], 'EmptyFileCountDayGrowthRatio' => [ 'description' => '空文件个数日环比。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileCountDayGrowthRatio ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of empty files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.005'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of empty files'], ], ], 'HotDataSizeDayGrowthRatio' => [ 'description' => '热数据的数据量大小日环比。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataSizeDayGrowthRatio ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of hot data size'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => ' '."\n" + .'0.1114'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of hot data size'."\n"], ], ], 'WarmDataSizeDayGrowthRatio' => [ 'description' => '温数据的数据量大小日环比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'WarmDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of warm data size'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => ' '."\n" + .'warmDataSizeDayGrowthRatio'."\n"], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => ' '."\n" + .'-0.015'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of warm data size'."\n"], ], ], 'ColdDataSizeDayGrowthRatio' => [ 'description' => '冷数据的数据量大小日环比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataSizeDayGrowthRatio ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of cold data size'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '-0.03'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of cold data size'."\n"], ], ], 'FreezeDataSizeDayGrowthRatio' => [ 'description' => '极冷数据的数据量大小日环比。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataSizeDayGrowthRatio ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of freeze data size'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '-0.09'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of freeze data size'."\n"], ], ], 'TotalDataSizeDayGrowthRatio' => [ 'description' => '总数据量大小日环比。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDataSizeDayGrowthRatio ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of total data size'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.14'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total data size'."\n"], ], ], ], ], - 'Analysis' => [ - 'description' => '分析结果。', - 'type' => 'object', - 'properties' => [ - 'HiveFrequencyScore' => [ - 'description' => 'Hive 库访问频率得分。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '85', - ], - 'HiveDistributionScore' => [ - 'description' => 'Hive 库文件大小评分。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '85', - ], - 'HiveFormatScore' => [ - 'description' => 'Hive 库格式评分。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '85', - ], - 'HiveScore' => [ - 'description' => 'Hive 库综合评分。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '85', - ], - ], - ], ], ], ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '返回读取到的数据位置。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '本次请求所返回的最大记录条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '本次请求条件下的数据总量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '返回读取到的数据位置。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '批量获取HDFS目录分析结果', + 'summary' => '通过EMR Doctor批量获取特定目录分析结果,目录不超过5级。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorHDFSDirectories', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"DatabaseName\\": \\"db1\\",\\n \\"Formats\\": [\\n {\\n \\"FormatName\\": \\"TextInputFormat\\",\\n \\"FormatSize\\": 1000,\\n \\"FormatSizeUnit\\": \\"MB\\",\\n \\"FormatRatio\\": 0.5,\\n \\"FormatDayGrowthSize\\": 1000,\\n \\"FormatSizeDayGrowthRatio\\": 0.5\\n }\\n ],\\n \\"Metrics\\": {\\n \\"TableCount\\": {\\n \\"Name\\": \\"TableCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tables\\\\n\\"\\n },\\n \\"PartitionNum\\": {\\n \\"Name\\": \\"ppartitionNum\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of partitions\\\\n\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of medium files\\\\n\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of empty files\\\\n\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of large files\\\\n\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of small files\\\\n\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of hot files\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of warm files\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of cold files\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of freeze files\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Hot data ratio\\\\n\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of warm data\\\\n\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Cold data ratio\\\\n\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of freeze data\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of tiny files\\\\n\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"WarmDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HiveFrequencyScore\\": 85,\\n \\"HiveDistributionScore\\": 85,\\n \\"HiveFormatScore\\": 85,\\n \\"HiveScore\\": 85\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => '批量获取 Hive 库信息', - 'summary' => '批量获取 Hive 库维度分析结果。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"DirPath\\": \\"/tmp/test\\",\\n \\"Depth\\": 2,\\n \\"User\\": \\"DW\\",\\n \\"Group\\": \\"DW\\",\\n \\"Metrics\\": {\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 51683279,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 323,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of medium files\\\\n\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 12345,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\\\n\\",\\n \\"Value\\": 232131,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tiny files\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 15595897,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of empty files\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 6701531944206,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the hot data size\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\\\n\\",\\n \\"Value\\": 4062349775577,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the warm data size\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 5570958082267,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the cold data size\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1231312431,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the freeze data size\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 62086342083623,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 27809,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 2,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 176,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 12345,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": -123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of tiny files\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": 114,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 123154,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"\\\\t\\\\nDay growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": -64806998319,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": -182636577752,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": -167683929450,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 256482228248,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\\\n\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.39,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.19,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.003,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.005,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.1114,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"\\\\t\\\\nwarmDataSizeDayGrowthRatio\\\\n\\",\\n \\"Value\\": -0.015,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.03,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.09,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.14,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', ], - 'GetDoctorHiveDatabase' => [ - 'description' => 'get Doctor Hive Database', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDoctorHDFSUGI' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17902,57 +11821,68 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'list', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '日期。', - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', - ], + 'schema' => ['description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], [ - 'name' => 'DatabaseName', + 'name' => 'Type', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '数据库名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'db1', - ], + 'schema' => ['description' => '选择过滤类型。取值:'."\n" + ."\n" + .'- user:选取用户过滤。'."\n" + .'- group:选取组过滤。', 'type' => 'string', 'required' => true, 'example' => 'group'], + ], + [ + 'name' => 'OrderType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => '排序方向。取值:'."\n" + ."\n" + .'- ASC:升序排列'."\n" + ."\n" + .'- DESC:降序排列', 'type' => 'string', 'required' => false, 'example' => 'ASC'], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => '排序依据。取值:'."\n" + ."\n" + .'- totalFileCount:总文件个数。'."\n" + .'- totalDataSize:总数据量大小。'."\n" + .'- totalDirCount:总目录个数。', 'type' => 'string', 'required' => false, 'example' => 'totalFileCount'], ], ], 'responses' => [ @@ -17963,1365 +11893,107 @@ 'type' => 'object', 'properties' => [ 'Data' => [ - 'description' => 'Hive库分析数据。', - 'type' => 'object', - 'properties' => [ - 'Formats' => [ - 'description' => '存储格式信息。', - 'type' => 'array', - 'items' => [ - 'description' => '存储格式信息。', + 'description' => '批量HDFS分析数据。', + 'type' => 'array', + 'items' => [ + 'description' => 'HDFS分析数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '根据Type类型返回的属主或者属组实际名称。', 'type' => 'string', 'example' => 'DW'], + 'Metrics' => [ + 'description' => '指标信息。', 'type' => 'object', 'properties' => [ - 'FormatName' => [ - 'description' => '存储格式名称。', - 'type' => 'string', - 'example' => 'TextInputFormat', - ], - 'FormatSize' => [ - 'description' => '格式数据量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'FormatSizeUnit' => [ - 'description' => '格式数据量单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'FormatRatio' => [ - 'description' => '格式占比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'FormatDayGrowthSize' => [ - 'description' => '格式数据量日增量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'FormatSizeDayGrowthRatio' => [ - 'description' => '格式数据量日环比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - ], - ], - ], - 'Metrics' => [ - 'description' => '指标信息。', - 'type' => 'object', - 'properties' => [ - 'TableCount' => [ - 'description' => '表数量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tableCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of tables'."\n", - ], - ], - ], - 'PartitionNum' => [ - 'description' => '分区数。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'partitionNum', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of partitions'."\n", - ], - ], - ], - 'LargeFileCount' => [ - 'description' => '大文件个数。大文件指的是 1 GB 以上大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of large files'."\n", - ], - ], - ], - 'MediumFileCount' => [ - 'description' => '中文件个数。中文件指的是 128 MB 以上,1 GB 以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of medium files'."\n", - ], - ], - ], - 'SmallFileCount' => [ - 'description' => '小文件个数。小文件指的是 10 MB 以上,128 MB 以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of small files'."\n", - ], - ], - ], - 'TinyFileCount' => [ - 'description' => '极小文件个数。极小文件指的是 0 MB 以上,10 MB 以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of tiny files'."\n", - ], - ], - ], - 'EmptyFileCount' => [ - 'description' => '空文件个数。空文件指的是 0 MB 大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of empty files'."\n", - ], - ], - ], - 'TotalFileCount' => [ - 'description' => '总文件个数。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalFileCount ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of total files'."\n", - ], - ], - ], - 'LargeFileRatio' => [ - 'description' => '大文件个数占比。大文件指的是 1 GB 以上大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of large files'."\n", - ], - ], - ], - 'MediumFileRatio' => [ - 'description' => '中文件个数占比。中文件指的是 128 MB 以上,1 GB 以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of medium files'."\n", - ], - ], - ], - 'SmallFileRatio' => [ - 'description' => '小文件个数占比。小文件指的是 10 MB 以上,128 MB 以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of small files'."\n", - ], - ], - ], - 'TinyFileRatio' => [ - 'description' => '极小文件个数占比。极小文件指的是 0 MB 以上,10 MB 以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of tiny files'."\n", - ], - ], - ], - 'EmptyFileRatio' => [ - 'description' => '空文件个数占比。空文件指的是 0 MB 大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileRatio ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of empty files'."\n", - ], - ], - ], - 'HotDataSize' => [ - 'description' => '热数据的数据量大小。热数据指的是7日内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of hot files'."\n", - ], - ], - ], - 'WarmDataSize' => [ - 'description' => '温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of warm files'."\n", - ], - ], - ], - 'ColdDataSize' => [ - 'description' => '冷数据的数据量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of cold files'."\n", - ], - ], - ], - 'FreezeDataSize' => [ - 'description' => '极冷数据的数据量大小。极冷数据指的是90日以内都没有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of freeze files'."\n", - ], - ], - ], - 'TotalDataSize' => [ - 'description' => '总数据量大小。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDataSize ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total data size in megabytes (MB)'."\n", - ], - ], - ], - 'HotDataRatio' => [ - 'description' => '热数据的数据量大小占比。热数据指的是7日内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataRatio ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Hot data ratio'."\n", - ], - ], - ], - 'WarmDataRatio' => [ - 'description' => '温数据的数据量大小占比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of warm data'."\n", - ], - ], - ], - 'ColdDataRatio' => [ - 'description' => '冷数据的数据量大小占比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataRatio ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Cold data ratio'."\n", - ], - ], - ], - 'FreezeDataRatio' => [ - 'description' => '极冷数据的数据量大小占比。极冷数据指的是90日以内都没有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of freeze data'."\n", - ], - ], - ], - 'TotalFileDayGrowthCount' => [ - 'description' => '总文件个数日增量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of total files'."\n", - ], - ], - ], - 'LargeFileDayGrowthCount' => [ - 'description' => '大文件个数日增量。大文件指的是 1 GB 以上大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileDayGrowthCount ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of large files'."\n", - ], - ], - ], - 'MediumFileDayGrowthCount' => [ - 'description' => '中文件个数日增量。中文件指的是 128 M 以上,1 G 以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileDayGrowthCount ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of medium files'."\n", - ], - ], - ], - 'SmallFileDayGrowthCount' => [ - 'description' => '小文件个数日增量。小文件指的是10 MB 以上,128 MB 以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of small files'."\n", - ], - ], - ], - 'TinyFileDayGrowthCount' => [ - 'description' => '极小文件个数日增量。极小文件指的是 0 MB 以上,10 MB 以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of tiny files'."\n", - ], - ], - ], - 'EmptyFileDayGrowthCount' => [ - 'description' => '空文件个数日增量。空文件指的是 0 MB 大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of empty files'."\n", - ], - ], - ], - 'HotDataDayGrowthSize' => [ - 'description' => '热数据的数据量日增量大小。热数据指的是7日内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of hot data'."\n", - ], - ], - ], - 'WarmDataDayGrowthSize' => [ - 'description' => '温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of warm data'."\n", - ], - ], - ], - 'ColdDataDayGrowthSize' => [ - 'description' => '冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataDayGrowthSize ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of cold data'."\n", - ], - ], - ], - 'FreezeDataDayGrowthSize' => [ - 'description' => '极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataDayGrowthSize ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of freeze data'."\n", - ], - ], - ], - 'TotalDataDayGrowthSize' => [ - 'description' => '全部数据的数据量日增量大小。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDataDayGrowthSize ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of total data'."\n", - ], - ], - ], - 'TotalFileCountDayGrowthRatio' => [ - 'description' => '总文件个数日环比。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalFileCountDayGrowthRatio ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of total files'."\n", - ], - ], - ], - 'LargeFileCountDayGrowthRatio' => [ - 'description' => '大文件个数日环比。大文件指的是 1 GB 以上大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of large files'."\n", - ], - ], - ], - 'MediumFileCountDayGrowthRatio' => [ - 'description' => '中文件个数日环比。比中文件指的是 128 MB 以上,1 GB 以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileCountDayGrowthRatio ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of medium files'."\n", - ], - ], - ], - 'SmallFileCountDayGrowthRatio' => [ - 'description' => '小文件个数日环比。小文件指的是10 MB 以上,128 MB 以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileCountDayGrowthRatio ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of small files'."\n", - ], - ], - ], - 'TinyFileCountDayGrowthRatio' => [ - 'description' => '极小文件个数日环比。极小文件指的是 0 MB 以上,10 MB 以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileCountDayGrowthRatio ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of tiny files'."\n", - ], - ], - ], - 'EmptyFileCountDayGrowthRatio' => [ - 'description' => '空文件个数日环比。空文件指的是 0 MB 大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of empty files'."\n", - ], - ], - ], - 'HotDataSizeDayGrowthRatio' => [ - 'description' => '热数据的数据量大小日环比。热数据指的是7日内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataSizeDayGrowthRatio ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of hot data size'."\n", - ], - ], - ], - 'WarmDataSizeDayGrowthRatio' => [ - 'description' => '温数据的数据量大小日环比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of warm data size'."\n", - ], - ], - ], - 'ColdDataSizeDayGrowthRatio' => [ - 'description' => '冷数据的数据量大小日环比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of cold data size'."\n", + 'TotalFileCount' => [ + 'description' => '总文件个数。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '34'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of total files'."\n"], ], ], - ], - 'FreezeDataSizeDayGrowthRatio' => [ - 'description' => '极冷数据的数据量大小日环比。极冷数据指的是90日以内都没有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataSizeDayGrowthRatio ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of freeze data size'."\n", + 'TotalDataSize' => [ + 'description' => '总数据量大小。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '40440503'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total data size in megabytes (MB)'], ], ], - ], - 'TotalDataSizeDayGrowthRatio' => [ - 'description' => '总数据量大小日环比。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of total data size'."\n", + 'TotalDirCount' => [ + 'description' => '总目录个数。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDirCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of total dirs'."\n"], ], ], ], ], ], - 'Analysis' => [ - 'description' => '分析结果。', - 'type' => 'object', - 'properties' => [ - 'HiveFrequencyScore' => [ - 'description' => 'Hive 库访问频率得分。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '85', - ], - 'HiveDistributionScore' => [ - 'description' => 'Hive 库文件大小评分。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '85', - ], - 'HiveFormatScore' => [ - 'description' => 'Hive 库格式评分。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '85', - ], - 'HiveScore' => [ - 'description' => 'Hive 库综合评分。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '85', - ], - ], - ], ], ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '返回读取到的数据位置。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '批量获取属主或属组HDFS分析结果', + 'summary' => '通过EMR Doctor批量获取属主或者属组的HDFS分析结果。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorHDFSUGI', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Formats\\": [\\n {\\n \\"FormatName\\": \\"TextInputFormat\\",\\n \\"FormatSize\\": 1000,\\n \\"FormatSizeUnit\\": \\"MB\\",\\n \\"FormatRatio\\": 0.5,\\n \\"FormatDayGrowthSize\\": 1000,\\n \\"FormatSizeDayGrowthRatio\\": 0.5\\n }\\n ],\\n \\"Metrics\\": {\\n \\"TableCount\\": {\\n \\"Name\\": \\"tableCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tables\\\\n\\"\\n },\\n \\"PartitionNum\\": {\\n \\"Name\\": \\"partitionNum\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of partitions\\\\n\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of medium files\\\\n\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of empty files\\\\n\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of large files\\\\n\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of small files\\\\n\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of hot files\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of warm files\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of cold files\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of freeze files\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Hot data ratio\\\\n\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of warm data\\\\n\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Cold data ratio\\\\n\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of freeze data\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of tiny files\\\\n\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HiveFrequencyScore\\": 85,\\n \\"HiveDistributionScore\\": 85,\\n \\"HiveFormatScore\\": 85,\\n \\"HiveScore\\": 85\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '获取Hive库信息', - 'summary' => '获取 Hive 库维度分析结果。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Name\\": \\"DW\\",\\n \\"Metrics\\": {\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 34,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 40440503,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\"\\n },\\n \\"TotalDirCount\\": {\\n \\"Name\\": \\"totalDirCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of total dirs\\\\n\\"\\n }\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', ], - 'GetDoctorHiveCluster' => [ - 'description' => 'list Doctor Hive Cluster', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDoctorHiveDatabases' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19329,47 +12001,71 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'list', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['description' => '日期。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], + ], + [ + 'name' => 'DatabaseNames', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', + 'description' => '数据库名列表。', + 'type' => 'array', + 'items' => ['description' => '数据库名。', 'type' => 'string', 'required' => false, 'example' => 'db1'], + 'required' => false, + 'example' => 'null', ], ], + [ + 'name' => 'OrderType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => '排序方向。取值:'."\n" + ."\n" + .'- ASC:升序排列'."\n" + ."\n" + .'- DESC:降序排列', 'type' => 'string', 'required' => false, 'example' => 'ASC'], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => '排序依据。取值:'."\n" + ."\n" + .'- tableCount:表数量。', 'type' => 'string', 'required' => false, 'example' => 'tableCount'], + ], ], 'responses' => [ 200 => [ @@ -19379,1380 +12075,543 @@ 'type' => 'object', 'properties' => [ 'Data' => [ - 'description' => 'Hive分析数据。', - 'type' => 'object', - 'properties' => [ - 'Formats' => [ - 'description' => '存储格式信息。', - 'type' => 'array', - 'items' => [ + 'description' => 'Hive批量库分析数据。', + 'type' => 'array', + 'items' => [ + 'description' => 'Hive库分析数据。', + 'type' => 'object', + 'properties' => [ + 'DatabaseName' => ['description' => '库名称', 'type' => 'string', 'example' => 'db1'], + 'Formats' => [ 'description' => '存储格式信息。', - 'type' => 'object', - 'properties' => [ - 'FormatName' => [ - 'description' => '存储格式名称。', - 'type' => 'string', - 'example' => 'TextInputFormat'."\n", - ], - 'FormatSize' => [ - 'description' => '格式大小。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'FormatSizeUnit' => [ - 'description' => '格式大小单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'FormatRatio' => [ - 'description' => '格式占比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - ], - ], - ], - 'Metrics' => [ - 'description' => '指标信息。', - 'type' => 'object', - 'properties' => [ - 'TableCount' => [ - 'description' => '表数量。', + 'type' => 'array', + 'items' => [ + 'description' => '存储格式信息。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tableCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of tables', - ], + 'FormatName' => ['description' => '存储格式名称。', 'type' => 'string', 'example' => 'TextInputFormat'], + 'FormatSize' => ['description' => '格式数据量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'FormatSizeUnit' => ['description' => '格式数据量单位。', 'type' => 'string', 'example' => 'MB'], + 'FormatRatio' => ['description' => '格式占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'FormatDayGrowthSize' => ['description' => '格式数据量日增量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'FormatSizeDayGrowthRatio' => ['description' => '格式数据量日环比。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], ], ], - 'PartitionNum' => [ - 'description' => '分区数。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'partitionNum', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of partitions', + ], + 'Metrics' => [ + 'description' => '指标信息。', + 'type' => 'object', + 'properties' => [ + 'TableCount' => [ + 'description' => '表数量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'TableCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of tables'."\n"], ], ], - ], - 'DatabaseCount' => [ - 'description' => '库数量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'databaseCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of databases', + 'PartitionNum' => [ + 'description' => '分区数。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'ppartitionNum'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of partitions'."\n"], ], ], - ], - 'LargeFileCount' => [ - 'description' => '大文件个数。大文件指的是1 GB以上大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of large files'."\n", + 'LargeFileCount' => [ + 'description' => '大文件个数。大文件指的是1 GB以上大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of large files'."\n"], ], ], - ], - 'MediumFileCount' => [ - 'description' => '中文件个数。中文件指的是128 MB以上,1 GB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of medium files'."\n", + 'MediumFileCount' => [ + 'description' => '中文件个数。中文件指的是128 MB以上,1 GB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of medium files'."\n"], ], ], - ], - 'SmallFileCount' => [ - 'description' => '小文件个数。小文件指的是10 MB以上,128 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileCount ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of small files'."\n", + 'SmallFileCount' => [ + 'description' => '小文件个数。小文件指的是10 MB以上,128 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of small files'."\n"], ], ], - ], - 'TinyFileCount' => [ - 'description' => '极小文件个数。极小文件指的是0 MB以上,10 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of tiny files'."\n", + 'TinyFileCount' => [ + 'description' => '极小文件个数。极小文件指的是0 MB以上,10 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of tiny files'."\n"], ], ], - ], - 'EmptyFileCount' => [ - 'description' => '空文件个数。空文件指的是0 MB大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of empty files'."\n", + 'EmptyFileCount' => [ + 'description' => '空文件个数。空文件指的是0 MB大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of empty files'."\n"], ], ], - ], - 'TotalFileCount' => [ - 'description' => '总文件个数。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of total files'."\n", + 'TotalFileCount' => [ + 'description' => '总文件个数。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of total files'."\n"], ], ], - ], - 'LargeFileRatio' => [ - 'description' => '大文件个数占比。大文件指的是1 GB以上大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of large files'."\n", + 'LargeFileRatio' => [ + 'description' => '大文件个数占比。大文件指的是1 GB以上大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of large files'."\n"], ], ], - ], - 'MediumFileRatio' => [ - 'description' => '中文件个数占比。中文件指的是128 MB以上,1 GB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of medium files'."\n", + 'MediumFileRatio' => [ + 'description' => '中文件个数占比。中文件指的是128 MB以上,1 GB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of medium files'."\n"], ], ], - ], - 'SmallFileRatio' => [ - 'description' => '小文件个数占比。小文件指的是10 MB以上,128 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of small files'."\n", + 'SmallFileRatio' => [ + 'description' => '小文件个数占比。小文件指的是10 MB以上,128 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of small files'."\n"], ], ], - ], - 'TinyFileRatio' => [ - 'description' => '极小文件个数占比。极小文件指的是0 MB以上,10 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of tiny files'."\n", + 'TinyFileRatio' => [ + 'description' => '极小文件个数占比。极小文件指的是0 MB以上,10 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of tiny files'."\n"], ], ], - ], - 'EmptyFileRatio' => [ - 'description' => '空文件个数占比。空文件指的是0 MB大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of empty files'."\n", + 'EmptyFileRatio' => [ + 'description' => '空文件个数占比。空文件指的是0 MB大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of empty files'."\n"], ], ], - ], - 'HotDataSize' => [ - 'description' => '热数据的数据量大小。热数据指的是7日内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of hot files'."\n", + 'HotDataSize' => [ + 'description' => '热数据的数据量大小。热数据指的是7日内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of hot files'."\n"], ], ], - ], - 'WarmDataSize' => [ - 'description' => '温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of warm files'."\n", + 'WarmDataSize' => [ + 'description' => '温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of warm files'."\n"], ], ], - ], - 'ColdDataSize' => [ - 'description' => '冷数据的数据量大小占比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of cold files'."\n", + 'ColdDataSize' => [ + 'description' => '冷数据的数据量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of cold files'."\n"], ], ], - ], - 'FreezeDataSize' => [ - 'description' => '极冷数据的数据量大小。极冷数据指的是90日以内都没有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of freeze files'."\n", + 'FreezeDataSize' => [ + 'description' => '极冷数据的数据量大小。极冷数据指的是90日以内都没有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSize '], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of freeze files'."\n"], ], ], - ], - 'TotalDataSize' => [ - 'description' => '总数据量大小。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total data size in megabytes (MB)'."\n", + 'TotalDataSize' => [ + 'description' => '总数据量大小。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total data size in megabytes (MB)'."\n"], ], ], - ], - 'HotDataRatio' => [ - 'description' => '热数据的数据量大小澳盘占比。热数据指的是7日内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Hot data ratio'."\n", + 'HotDataRatio' => [ + 'description' => '热数据的数据量大小占比。热数据指的是7日内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Hot data ratio'."\n"], ], ], - ], - 'WarmDataRatio' => [ - 'description' => '温数据的数据量大小占比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of warm data'."\n", + 'WarmDataRatio' => [ + 'description' => '温数据的数据量大小占比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of warm data'."\n"], ], ], - ], - 'ColdDataRatio' => [ - 'description' => '冷数据的数据量大小占比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Cold data ratio'."\n", + 'ColdDataRatio' => [ + 'description' => '冷数据的数据量大小占比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Cold data ratio'."\n"], ], ], - ], - 'FreezeDataRatio' => [ - 'description' => '极冷数据的数据量大小占比。极冷数据指的是90日以内都没有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.12', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of freeze data'."\n", + 'FreezeDataRatio' => [ + 'description' => '极冷数据的数据量大小占比。极冷数据指的是90日以内都没有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of freeze data'."\n"], ], ], - ], - 'TotalFileDayGrowthCount' => [ - 'description' => '总文件个数日增量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '27800', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of total files'."\n", + 'TotalFileDayGrowthCount' => [ + 'description' => '总文件个数日增量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of total files'."\n"], ], ], - ], - 'LargeFileDayGrowthCount' => [ - 'description' => '大文件个数日增量。大文件指的是1 GB以上大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileDayGrowthCount ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of large files'."\n", + 'LargeFileDayGrowthCount' => [ + 'description' => '大文件个数日增量。大文件指的是1 GB以上大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of large files'."\n"], ], ], - ], - 'MediumFileDayGrowthCount' => [ - 'description' => '中文件个数日增量。中文件指的是128 MB以上,1 GB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileDayGrowthCount'."\n", - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '178', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of medium files'."\n", + 'MediumFileDayGrowthCount' => [ + 'description' => '中文件个数日增量。中文件指的是128 MB以上,1 GB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of medium files'."\n"], ], ], - ], - 'SmallFileDayGrowthCount' => [ - 'description' => '小文件个数日增量。小文件指的是10 MB以上,128 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of small files'."\n", + 'SmallFileDayGrowthCount' => [ + 'description' => '小文件个数日增量。小文件指的是10 MB以上,128 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileDayGrowthCount '], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of small files'."\n"], ], ], - ], - 'TinyFileDayGrowthCount' => [ - 'description' => '极小文件个数日增量。极小文件指的是0 MB以上,10 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'day growth count of tiny files'."\n", - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of tiny files'."\n", + 'TinyFileDayGrowthCount' => [ + 'description' => '极小文件个数日增量。极小文件指的是0 MB以上,10 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of tiny files'."\n"], ], ], - ], - 'EmptyFileDayGrowthCount' => [ - 'description' => '空文件个数日增量。空文件指的是0 MB大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of empty files'."\n", + 'EmptyFileDayGrowthCount' => [ + 'description' => '空文件个数日增量。空文件指的是0 MB大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of empty files'."\n"], ], ], - ], - 'HotDataDayGrowthSize' => [ - 'description' => '热数据的数据量日增量大小。热数据指的是7日内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of hot data'."\n", + 'HotDataDayGrowthSize' => [ + 'description' => '热数据的数据量日增量大小。热数据指的是7日内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataDayGrowthSize '], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of hot data'."\n"], ], ], - ], - 'WarmDataDayGrowthSize' => [ - 'description' => '温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-100', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of warm data'."\n", + 'WarmDataDayGrowthSize' => [ + 'description' => '温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataDayGrowthSize '], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of warm data'."\n"], ], ], - ], - 'ColdDataDayGrowthSize' => [ - 'description' => '冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of cold data'."\n", + 'ColdDataDayGrowthSize' => [ + 'description' => '冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of cold data'."\n"], ], ], - ], - 'FreezeDataDayGrowthSize' => [ - 'description' => '极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of freeze data'."\n", + 'FreezeDataDayGrowthSize' => [ + 'description' => '极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataDayGrowthSize '], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of freeze data'."\n"], ], ], - ], - 'TotalDataDayGrowthSize' => [ - 'description' => '全部数据的数据量日增量大小。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of total data'."\n", + 'TotalDataDayGrowthSize' => [ + 'description' => '全部数据的数据量日增量大小。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of total data'."\n"], ], ], - ], - 'TotalFileCountDayGrowthRatio' => [ - 'description' => '总文件个数日环比。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of total files'."\n", + 'TotalFileCountDayGrowthRatio' => [ + 'description' => '总文件个数日环比。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total files'."\n"], ], ], - ], - 'LargeFileCountDayGrowthRatio' => [ - 'description' => '大文件个数日环比。大文件指的是1 GB以上大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of large files'."\n", + 'LargeFileCountDayGrowthRatio' => [ + 'description' => '大文件个数日环比。大文件指的是1 GB以上大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of large files'."\n"], ], ], - ], - 'MediumFileCountDayGrowthRatio' => [ - 'description' => '中文件个数日环比。比中文件指的是128 MB以上,1 GB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of medium files'."\n", + 'MediumFileCountDayGrowthRatio' => [ + 'description' => '中文件个数日环比。比中文件指的是128 MB以上,1 GB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCountDayGrowthRatio '], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of medium files'."\n"], ], ], - ], - 'SmallFileCountDayGrowthRatio' => [ - 'description' => '小文件个数日环比。小文件指的是10 MB以上,128 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of small files'."\n", + 'SmallFileCountDayGrowthRatio' => [ + 'description' => '小文件个数日环比。小文件指的是10 MB以上,128 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCountDayGrowthRatio '], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of small files'."\n"], ], ], - ], - 'TinyFileCountDayGrowthRatio' => [ - 'description' => '极小文件个数日环比。极小文件指的是0 MB以上,10 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of tiny files'."\n", + 'TinyFileCountDayGrowthRatio' => [ + 'description' => '极小文件个数日环比。极小文件指的是0 MB以上,10 MB以下大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCountDayGrowthRatio '], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of tiny files'."\n"], ], ], - ], - 'EmptyFileCountDayGrowthRatio' => [ - 'description' => '空文件个数日环比。空文件指的是0 MB大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of empty files'."\n", + 'EmptyFileCountDayGrowthRatio' => [ + 'description' => '空文件个数日环比。空文件指的是0 MB大小的文件。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCountDayGrowthRatio '], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of empty files'."\n"], ], ], - ], - 'HotDataSizeDayGrowthRatio' => [ - 'description' => '热数据的数据量大小日环比。热数据指的是7日内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of hot data size'."\n", + 'HotDataSizeDayGrowthRatio' => [ + 'description' => '热数据的数据量大小日环比。热数据指的是7日内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSizeDayGrowthRatio '], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of hot data size'."\n"], ], ], - ], - 'WarmDataSizeDayGrowthRatio' => [ - 'description' => '温数据的数据量大小日环比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataSizeDayGrowthRatio ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of warm data size'."\n", + 'WarmDataSizeDayGrowthRatio' => [ + 'description' => '温数据的数据量大小日环比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'WarmDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of warm data size'."\n"], ], ], - ], - 'ColdDataSizeDayGrowthRatio' => [ - 'description' => '冷数据的数据量大小日环比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of cold data size'."\n", + 'ColdDataSizeDayGrowthRatio' => [ + 'description' => '冷数据的数据量大小日环比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSizeDayGrowthRatio '], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of cold data size'."\n"], ], ], - ], - 'FreezeDataSizeDayGrowthRatio' => [ - 'description' => '极冷数据的数据量大小日环比。极冷数据指的是90日以内都没有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataSizeDayGrowthRatio ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of freeze data size'."\n", + 'FreezeDataSizeDayGrowthRatio' => [ + 'description' => '极冷数据的数据量大小日环比。极冷数据指的是90日以内都没有访问的数据。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSizeDayGrowthRatio '], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of freeze data size'."\n"], ], ], - ], - 'TotalDataSizeDayGrowthRatio' => [ - 'description' => '总数据量大小日环比。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of total data size'."\n", + 'TotalDataSizeDayGrowthRatio' => [ + 'description' => '总数据量大小日环比。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSizeDayGrowthRatio '], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total data size'."\n"], ], ], ], ], - ], - 'Analysis' => [ - 'description' => '分析结果。', - 'type' => 'object', - 'properties' => [ - 'HiveFrequencyScore' => [ - 'description' => 'hive访问频率得分', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'HiveDistributionScore' => [ - 'description' => 'hive大小文件分布得分', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'HiveFormatScore' => [ - 'description' => 'hive文件存储格式得分', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'HiveScore' => [ - 'description' => 'hive总评分', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', + 'Analysis' => [ + 'description' => '分析结果。', + 'type' => 'object', + 'properties' => [ + 'HiveFrequencyScore' => ['description' => 'Hive 库访问频率得分。', 'type' => 'integer', 'format' => 'int32', 'example' => '85'], + 'HiveDistributionScore' => ['description' => 'Hive 库文件大小评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '85'], + 'HiveFormatScore' => ['description' => 'Hive 库格式评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '85'], + 'HiveScore' => ['description' => 'Hive 库综合评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '85'], ], ], ], ], ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '返回读取到的数据位置。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '批量获取 Hive 库信息', + 'summary' => '批量获取 Hive 库维度分析结果。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorHiveDatabases', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Formats\\": [\\n {\\n \\"FormatName\\": \\"TextInputFormat\\\\n\\",\\n \\"FormatSize\\": 100,\\n \\"FormatSizeUnit\\": \\"MB\\",\\n \\"FormatRatio\\": 0.5\\n }\\n ],\\n \\"Metrics\\": {\\n \\"TableCount\\": {\\n \\"Name\\": \\"tableCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tables\\"\\n },\\n \\"PartitionNum\\": {\\n \\"Name\\": \\"partitionNum\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of partitions\\"\\n },\\n \\"DatabaseCount\\": {\\n \\"Name\\": \\"databaseCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of databases\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of medium files\\\\n\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of empty files\\\\n\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of large files\\\\n\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of small files\\\\n\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of hot files\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of warm files\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of cold files\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of freeze files\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Hot data ratio\\\\n\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of warm data\\\\n\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Cold data ratio\\\\n\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.12,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of freeze data\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 27800,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\\\n\\",\\n \\"Value\\": 178,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"day growth count of tiny files\\\\n\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of tiny files\\\\n\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": -100,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HiveFrequencyScore\\": 80,\\n \\"HiveDistributionScore\\": 80,\\n \\"HiveFormatScore\\": 80,\\n \\"HiveScore\\": 80\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '获取 Hive 集群信息', - 'summary' => '获取 Hive 集群维度分析结果。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"DatabaseName\\": \\"db1\\",\\n \\"Formats\\": [\\n {\\n \\"FormatName\\": \\"TextInputFormat\\",\\n \\"FormatSize\\": 1000,\\n \\"FormatSizeUnit\\": \\"MB\\",\\n \\"FormatRatio\\": 0.5,\\n \\"FormatDayGrowthSize\\": 1000,\\n \\"FormatSizeDayGrowthRatio\\": 0.5\\n }\\n ],\\n \\"Metrics\\": {\\n \\"TableCount\\": {\\n \\"Name\\": \\"TableCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tables\\\\n\\"\\n },\\n \\"PartitionNum\\": {\\n \\"Name\\": \\"ppartitionNum\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of partitions\\\\n\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of medium files\\\\n\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of empty files\\\\n\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of large files\\\\n\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of small files\\\\n\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of hot files\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of warm files\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of cold files\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Ratio of freeze files\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Hot data ratio\\\\n\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of warm data\\\\n\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Cold data ratio\\\\n\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of freeze data\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of tiny files\\\\n\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"WarmDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\\\t\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HiveFrequencyScore\\": 85,\\n \\"HiveDistributionScore\\": 85,\\n \\"HiveFormatScore\\": 85,\\n \\"HiveScore\\": 85\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', ], 'ListDoctorHiveTables' => [ - 'description' => 'list Doctor Hive Tables', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20761,70 +12620,38 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => '标记当前开始读取的位置。', - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], + 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => '一次获取的最大记录数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'DateTime', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', - ], + 'schema' => ['description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', 'type' => 'string', 'required' => true, 'example' => '2023-01-01'], ], [ 'name' => 'TableNames', @@ -20834,12 +12661,7 @@ 'schema' => [ 'description' => '表名称队列,用于过滤结果。', 'type' => 'array', - 'items' => [ - 'description' => '表名称,表名称遵循Hive通用写法,以{库名称.表名称}唯一确定。', - 'type' => 'string', - 'required' => false, - 'example' => 'dw.dwd_creta_service_order_long_renew_long_da'."\n", - ], + 'items' => ['description' => '表名称,表名称遵循Hive通用写法,以{库名称.表名称}唯一确定。', 'type' => 'string', 'required' => false, 'example' => 'dw.dwd_creta_service_order_long_renew_long_da'."\n"], 'required' => false, 'example' => 'null', ], @@ -20848,71 +12670,61 @@ 'name' => 'OrderType', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '排序方向。取值:'."\n" - ."\n" - .'- ASC:升序排列'."\n" - ."\n" - .'- DESC:降序排列', - 'type' => 'string', - 'required' => false, - 'example' => 'ASC', - ], + 'schema' => ['description' => '排序方向。取值:'."\n" + ."\n" + .'- ASC:升序排列'."\n" + ."\n" + .'- DESC:降序排列', 'type' => 'string', 'required' => false, 'example' => 'ASC'], ], [ 'name' => 'OrderBy', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '排序依据。取值:'."\n" - ."\n" - .'- partitionNum: 分区数。'."\n" - .'- totalFileCount: 总文件个数。'."\n" - .'- largeFileCount: 大文件个数。大文件指的是1 GB以上大小的文件。'."\n" - .'- mediumFileCount: 中文件个数。中文件指的是128 MB以上,1 GB以下大小的文件。'."\n" - .'- smallFileCount: 小文件个数。小文件指的是10 MB以上,128 MB以下大小的文件。'."\n" - .'- tinyFileCount: 极小文件个数。极小文件指的是0 MB以上,10 MB以下大小的文件。'."\n" - .'- emptyFileCount: 空文件个数。空文件指的是0 MB大小的文件。'."\n" - .'- largeFileRatio: 大文件个数占比。大文件指的是1 GB以上大小的文件。'."\n" - .'- mediumFileRatio: 中文件个数占比。中文件指的是128 MB以上,1 GB以下大小的文件。'."\n" - .'- smallFileRatio: 小文件个数占比。小文件指的是10 MB以上,128 MB以下大小的文件。'."\n" - .'- tinyFileRatio: 极小文件个数占比。极小文件指的是0 MB以上,10 MB以下大小的文件。'."\n" - .'- emptyFileRatio: 空文件个数占比。空文件指的是0 MB大小的文件。'."\n" - .'- hotDataSize: 热数据的数据量大小。热数据指的是7日内有访问的数据。'."\n" - .'- warmDataSize: 温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。'."\n" - .'- coldDataSize: 冷数据的数据量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。'."\n" - .'- freezeDataSize: 极冷数据数的据量大小。极冷数据指的是90日以内都没有访问的数据。'."\n" - .'- totalDataSize: 总数据量大小。'."\n" - .'- hotDataRatio: 热数据的数据量大小占比。热数据指的是7日内有访问的数据。'."\n" - .'- warmDataRatio: 温数据的数据量大小占比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。'."\n" - .'- coldDataRatio: 冷数据的数据量大小占比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。'."\n" - .'- freezeDataRatio: 极冷数据的数据量大小占比。极冷数据指的是90日以内都没有访问的数据。'."\n" - .'- totalFileDayGrowthCount: 总文件个数日增量。'."\n" - .'- largeFileDayGrowthCount: 大文件个数日增量。大文件指的是1 GB以上大小的文件。'."\n" - .'- mediumFileDayGrowthCount: 中文件个数日增量。中文件指的是128 MB以上,1 GB以下大小的文件。'."\n" - .'- smallFileDayGrowthCount: 小文件个数日增量。小文件指的是10 MB以上,128 MB以下大小的文件。'."\n" - .'- tinyFileDayGrowthCount: 极小文件个数日增量。极小文件指的是0 MB以上,10 MB以下大小的文件。'."\n" - .'- emptyFileDayGrowthCount: 空文件个数日增量。空文件指的是0 MB大小的文件。'."\n" - .'- hotDataDayGrowthSize: 热数据的数据量日增量大小。热数据指的是7日内有访问的数据。'."\n" - .'- warmDataDayGrowthSize: 温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。'."\n" - .'- coldDataDayGrowthSize: 冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。'."\n" - .'- freezeDataDayGrowthSize: 极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。'."\n" - .'- totalDataDayGrowthSize: 全部数据的数据量日增量大小。'."\n" - .'- totalFileCountDayGrowthRatio: 总文件个数日环比。'."\n" - .'- largeFileCountDayGrowthRatio: 大文件个数日环比。大文件指的是1 GB以上大小的文件。'."\n" - .'- mediumFileCountDayGrowthRatio: 中文件个数日环比。比中文件指的是128 MB以上,1 GB以下大小的文件。'."\n" - .'- smallFileCountDayGrowthRatio: 小文件个数日环比。小文件指的是10 MB以上,128 MB以下大小的文件。'."\n" - .'- tinyFileCountDayGrowthRatio: 极小文件个数日环比。极小文件指的是0 MB以上,10 MB以下大小的文件。'."\n" - .'- emptyFileCountDayGrowthRatio: 空文件个数日环比。空文件指的是0 MB大小的文件。'."\n" - .'- hotDataSizeDayGrowthRatio: 热数据的数据量大小日环比。热数据指的是7日内有访问的数据。'."\n" - .'- warmDataSizeDayGrowthRatio: 温数据的数据量大小日环比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。'."\n" - .'- coldDataSizeDayGrowthRatio: 冷数据的数据量大小日环比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。'."\n" - .'- freezeDataSizeDayGrowthRatio: 极冷数据的数据量大小日环比。极冷数据指的是90日以内都没有访问的数据。'."\n" - .'- totalDataSizeDayGrowthRatio: 总数据量大小日环比。', - 'type' => 'string', - 'required' => false, - 'example' => 'totalFileCount', - ], + 'schema' => ['description' => '排序依据。取值:'."\n" + ."\n" + .'- partitionNum: 分区数。'."\n" + .'- totalFileCount: 总文件个数。'."\n" + .'- largeFileCount: 大文件个数。大文件指的是1 GB以上大小的文件。'."\n" + .'- mediumFileCount: 中文件个数。中文件指的是128 MB以上,1 GB以下大小的文件。'."\n" + .'- smallFileCount: 小文件个数。小文件指的是10 MB以上,128 MB以下大小的文件。'."\n" + .'- tinyFileCount: 极小文件个数。极小文件指的是0 MB以上,10 MB以下大小的文件。'."\n" + .'- emptyFileCount: 空文件个数。空文件指的是0 MB大小的文件。'."\n" + .'- largeFileRatio: 大文件个数占比。大文件指的是1 GB以上大小的文件。'."\n" + .'- mediumFileRatio: 中文件个数占比。中文件指的是128 MB以上,1 GB以下大小的文件。'."\n" + .'- smallFileRatio: 小文件个数占比。小文件指的是10 MB以上,128 MB以下大小的文件。'."\n" + .'- tinyFileRatio: 极小文件个数占比。极小文件指的是0 MB以上,10 MB以下大小的文件。'."\n" + .'- emptyFileRatio: 空文件个数占比。空文件指的是0 MB大小的文件。'."\n" + .'- hotDataSize: 热数据的数据量大小。热数据指的是7日内有访问的数据。'."\n" + .'- warmDataSize: 温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。'."\n" + .'- coldDataSize: 冷数据的数据量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。'."\n" + .'- freezeDataSize: 极冷数据数的据量大小。极冷数据指的是90日以内都没有访问的数据。'."\n" + .'- totalDataSize: 总数据量大小。'."\n" + .'- hotDataRatio: 热数据的数据量大小占比。热数据指的是7日内有访问的数据。'."\n" + .'- warmDataRatio: 温数据的数据量大小占比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。'."\n" + .'- coldDataRatio: 冷数据的数据量大小占比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。'."\n" + .'- freezeDataRatio: 极冷数据的数据量大小占比。极冷数据指的是90日以内都没有访问的数据。'."\n" + .'- totalFileDayGrowthCount: 总文件个数日增量。'."\n" + .'- largeFileDayGrowthCount: 大文件个数日增量。大文件指的是1 GB以上大小的文件。'."\n" + .'- mediumFileDayGrowthCount: 中文件个数日增量。中文件指的是128 MB以上,1 GB以下大小的文件。'."\n" + .'- smallFileDayGrowthCount: 小文件个数日增量。小文件指的是10 MB以上,128 MB以下大小的文件。'."\n" + .'- tinyFileDayGrowthCount: 极小文件个数日增量。极小文件指的是0 MB以上,10 MB以下大小的文件。'."\n" + .'- emptyFileDayGrowthCount: 空文件个数日增量。空文件指的是0 MB大小的文件。'."\n" + .'- hotDataDayGrowthSize: 热数据的数据量日增量大小。热数据指的是7日内有访问的数据。'."\n" + .'- warmDataDayGrowthSize: 温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。'."\n" + .'- coldDataDayGrowthSize: 冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。'."\n" + .'- freezeDataDayGrowthSize: 极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。'."\n" + .'- totalDataDayGrowthSize: 全部数据的数据量日增量大小。'."\n" + .'- totalFileCountDayGrowthRatio: 总文件个数日环比。'."\n" + .'- largeFileCountDayGrowthRatio: 大文件个数日环比。大文件指的是1 GB以上大小的文件。'."\n" + .'- mediumFileCountDayGrowthRatio: 中文件个数日环比。比中文件指的是128 MB以上,1 GB以下大小的文件。'."\n" + .'- smallFileCountDayGrowthRatio: 小文件个数日环比。小文件指的是10 MB以上,128 MB以下大小的文件。'."\n" + .'- tinyFileCountDayGrowthRatio: 极小文件个数日环比。极小文件指的是0 MB以上,10 MB以下大小的文件。'."\n" + .'- emptyFileCountDayGrowthRatio: 空文件个数日环比。空文件指的是0 MB大小的文件。'."\n" + .'- hotDataSizeDayGrowthRatio: 热数据的数据量大小日环比。热数据指的是7日内有访问的数据。'."\n" + .'- warmDataSizeDayGrowthRatio: 温数据的数据量大小日环比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。'."\n" + .'- coldDataSizeDayGrowthRatio: 冷数据的数据量大小日环比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。'."\n" + .'- freezeDataSizeDayGrowthRatio: 极冷数据的数据量大小日环比。极冷数据指的是90日以内都没有访问的数据。'."\n" + .'- totalDataSizeDayGrowthRatio: 总数据量大小日环比。', 'type' => 'string', 'required' => false, 'example' => 'totalFileCount'], ], ], 'responses' => [ @@ -20929,16 +12741,8 @@ 'description' => 'Hive表分析数据。', 'type' => 'object', 'properties' => [ - 'TableName' => [ - 'description' => '表名称,表名称遵循Hive通用写法,以{库名称.表名称}唯一确定。', - 'type' => 'string', - 'example' => 'dw.dwd_creta_service_order_long_renew_long_da'."\n", - ], - 'Owner' => [ - 'description' => '属主。', - 'type' => 'string', - 'example' => 'DW', - ], + 'TableName' => ['description' => '表名称,表名称遵循Hive通用写法,以{库名称.表名称}唯一确定。', 'type' => 'string', 'example' => 'dw.dwd_creta_service_order_long_renew_long_da'."\n"], + 'Owner' => ['description' => '属主。', 'type' => 'string', 'example' => 'DW'], 'Formats' => [ 'description' => '表格式数据。', 'type' => 'array', @@ -20946,40 +12750,12 @@ 'description' => '表格式信息。', 'type' => 'object', 'properties' => [ - 'FormatName' => [ - 'description' => '存储格式名称。', - 'type' => 'string', - 'example' => 'TextInputFormat', - ], - 'FormatSize' => [ - 'description' => '格式数据量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '506930200', - ], - 'FormatSizeUnit' => [ - 'description' => '格式数据量单位。', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'FormatRatio' => [ - 'description' => '格式占比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.23', - ], - 'FormatDayGrowthSize' => [ - 'description' => '格式数据量日增量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1232124', - ], - 'FormatSizeDayGrowthRatio' => [ - 'description' => '格式数据量日环比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.04'."\n", - ], + 'FormatName' => ['description' => '存储格式名称。', 'type' => 'string', 'example' => 'TextInputFormat'], + 'FormatSize' => ['description' => '格式数据量。', 'type' => 'integer', 'format' => 'int64', 'example' => '506930200'], + 'FormatSizeUnit' => ['description' => '格式数据量单位。', 'type' => 'string', 'example' => 'MB'."\n"], + 'FormatRatio' => ['description' => '格式占比。', 'type' => 'number', 'format' => 'float', 'example' => '0.23'], + 'FormatDayGrowthSize' => ['description' => '格式数据量日增量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1232124'], + 'FormatSizeDayGrowthRatio' => ['description' => '格式数据量日环比。', 'type' => 'number', 'format' => 'float', 'example' => '0.04'."\n"], ], ], ], @@ -20991,1162 +12767,431 @@ 'description' => '分区数。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'partitionNum', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '331', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'number of partitions'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'partitionNum'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '331'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'number of partitions'."\n"], ], ], 'LargeFileCount' => [ 'description' => '大文件个数。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '132', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '“”'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of large files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '132'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of large files'."\n"], ], ], 'MediumFileCount' => [ 'description' => '中文件个数。中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '“”'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of medium files', - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '“”'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of medium files'], ], ], 'SmallFileCount' => [ 'description' => '小文件个数。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '18'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '"“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of small files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '18'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '"“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of small files'."\n"], ], ], 'TinyFileCount' => [ 'description' => '极小文件个数。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '451'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of tiny files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '451'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of tiny files'."\n"], ], ], 'EmptyFileCount' => [ 'description' => '空文件个数。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3123', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of empty files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '3123'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of empty files'."\n"], ], ], 'TotalFileCount' => [ 'description' => '总文件个数。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of total files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Number of total files'."\n"], ], ], 'LargeFileRatio' => [ 'description' => '大文件个数占比。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.02'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of large files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.02'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of large files'."\n"], ], ], 'MediumFileRatio' => [ 'description' => '中文件个数占比。中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.8'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of medium files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.8'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of medium files'."\n"], ], ], 'SmallFileRatio' => [ 'description' => '小文件个数占比。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.04'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of small files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.04'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of small files'."\n"], ], ], 'TinyFileRatio' => [ 'description' => '极小文件个数占比。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.96'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of tiny files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.96'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of tiny files'."\n"], ], ], 'EmptyFileRatio' => [ 'description' => '空文件个数占比。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of empty files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of empty files'."\n"], ], ], 'HotDataSize' => [ 'description' => '热数据的数据量大小。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '203431', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the hot data size'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '203431'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the hot data size'."\n"], ], ], 'WarmDataSize' => [ 'description' => '温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '14981'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the warm data size'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '14981'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the warm data size'."\n"], ], ], 'ColdDataSize' => [ 'description' => '冷数据的数据量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '217715', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the cold data size'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '217715'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the cold data size'."\n"], ], ], 'FreezeDataSize' => [ 'description' => '极冷数据的数据量大小。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '33229309'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the freeze data size', - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '33229309'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Size of the freeze data size'], ], ], 'TotalDataSize' => [ 'description' => '总数据量大小。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '33800296', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total data size in megabytes (MB)'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '33800296'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total data size in megabytes (MB)'."\n"], ], ], 'HotDataRatio' => [ 'description' => '热数据的数据量大小占比。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Hot data ratio'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Hot data ratio'."\n"], ], ], 'WarmDataRatio' => [ 'description' => '温数据的数据量大小占比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.1'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of warm data'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.1'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of warm data'."\n"], ], ], 'ColdDataRatio' => [ 'description' => '冷数据的数据量大小占比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => ' '."\n" - .'""'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Cold data ratio'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => ' '."\n" + .'""'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Cold data ratio'."\n"], ], ], 'FreezeDataRatio' => [ 'description' => '极冷数据的数据量大小占比。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.98'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of freeze data'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.98'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Ratio of freeze data'."\n"], ], ], 'TotalFileDayGrowthCount' => [ 'description' => '总文件个数日增量。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of total files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of total files'."\n"], ], ], 'LargeFileDayGrowthCount' => [ 'description' => '大文件个数日增量。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '40'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of large files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '40'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of large files'."\n"], ], ], 'MediumFileDayGrowthCount' => [ 'description' => '中文件个数日增量。中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of medium files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of medium files'."\n"], ], ], 'SmallFileDayGrowthCount' => [ 'description' => '小文件个数日增量。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '18'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of small files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '18'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of small files'."\n"], ], ], 'TinyFileDayGrowthCount' => [ 'description' => '极小文件个数日增量。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '482'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of tiny files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '482'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of tiny files'."\n"], ], ], 'EmptyFileDayGrowthCount' => [ 'description' => '空文件个数日增量。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-20'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of empty files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileDayGrowthCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '-20'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth count of empty files'."\n"], ], ], 'HotDataDayGrowthSize' => [ 'description' => '热数据的数据量日增量大小。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '203431', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of hot data'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '203431'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of hot data'."\n"], ], ], 'WarmDataDayGrowthSize' => [ 'description' => '温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '149841', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of warm data'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '149841'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of warm data'."\n"], ], ], 'ColdDataDayGrowthSize' => [ 'description' => '冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '217715', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of cold data'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '217715'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of cold data'."\n"], ], ], 'FreezeDataDayGrowthSize' => [ 'description' => '极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '33229309', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of freeze data'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '33229309'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of freeze data'."\n"], ], ], 'TotalDataDayGrowthSize' => [ 'description' => '全部数据的数据量日增量大小。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '33800296', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of total data'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataDayGrowthSize'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '33800296'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth size of total data'."\n"], ], ], 'TotalFileCountDayGrowthRatio' => [ 'description' => '总文件个数日环比。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of total files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total files'."\n"], ], ], 'LargeFileCountDayGrowthRatio' => [ 'description' => '大文件个数日环比。大文件指的是1 GB以上大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of large files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'largeFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of large files'."\n"], ], ], 'MediumFileCountDayGrowthRatio' => [ 'description' => '中文件个数日环比。比中文件指的是128 MB以上,1 GB以下大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of medium files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'mediumFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of medium files'."\n"], ], ], 'SmallFileCountDayGrowthRatio' => [ 'description' => '小文件个数日环比。小文件指的是10 MB以上,128 MB以下大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of small files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'smallFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of small files'."\n"], ], ], 'TinyFileCountDayGrowthRatio' => [ 'description' => '极小文件个数日环比。极小文件指的是0 MB以上,10 MB以下大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.04'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of tiny files', - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'tinyFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.04'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of tiny files'], ], ], 'EmptyFileCountDayGrowthRatio' => [ 'description' => '空文件个数日环比。空文件指的是0 MB大小的文件。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of empty files'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'emptyFileCountDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of empty files'."\n"], ], ], 'HotDataSizeDayGrowthRatio' => [ 'description' => '热数据的数据量大小日环比。热数据指的是7日内有访问的数据。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of hot data size'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'hotDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of hot data size'."\n"], ], ], 'WarmDataSizeDayGrowthRatio' => [ 'description' => '温数据的数据量大小日环比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of warm data size'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'warmDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of warm data size'."\n"], ], ], 'ColdDataSizeDayGrowthRatio' => [ 'description' => '冷数据的数据量大小日环比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of cold data size'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'coldDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of cold data size'."\n"], ], ], 'FreezeDataSizeDayGrowthRatio' => [ 'description' => '极冷数据的数据量大小日环比。极冷数据指的是90日以内都没有访问的数据。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of freeze data size'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'freezeDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of freeze data size'."\n"], ], ], 'TotalDataSizeDayGrowthRatio' => [ 'description' => '总数据量大小日环比。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of total data size'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'totalDataSizeDayGrowthRatio'], + 'Value' => ['description' => '指标值。', 'type' => 'number', 'format' => 'float', 'example' => '0.01'."\n"], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '”“'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Day growth ratio of total data size'."\n"], ], ], ], @@ -22155,141 +13200,70 @@ 'description' => '分析结果。', 'type' => 'object', 'properties' => [ - 'HiveFrequencyScore' => [ - 'description' => 'Hive表访问频率得分。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '70'."\n", - ], - 'HiveDistributionScore' => [ - 'description' => 'Hive表文件大小评分。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80'."\n", - ], - 'HiveFormatScore' => [ - 'description' => 'Hive表格式评分。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60'."\n", - ], - 'HiveScore' => [ - 'description' => 'Hive表综合评分。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80'."\n", - ], + 'HiveFrequencyScore' => ['description' => 'Hive表访问频率得分。', 'type' => 'integer', 'format' => 'int32', 'example' => '70'."\n"], + 'HiveDistributionScore' => ['description' => 'Hive表文件大小评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'."\n"], + 'HiveFormatScore' => ['description' => 'Hive表格式评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'."\n"], + 'HiveScore' => ['description' => 'Hive表综合评分。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'."\n"], ], ], ], ], ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '返回读取到的数据位置。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '本次请求所返回的最大记录条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '本次请求条件下的数据总量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '返回读取到的数据位置。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"TableName\\": \\"dw.dwd_creta_service_order_long_renew_long_da\\\\n\\",\\n \\"Owner\\": \\"DW\\",\\n \\"Formats\\": [\\n {\\n \\"FormatName\\": \\"TextInputFormat\\",\\n \\"FormatSize\\": 506930200,\\n \\"FormatSizeUnit\\": \\"MB\\\\n\\",\\n \\"FormatRatio\\": 0.23,\\n \\"FormatDayGrowthSize\\": 1232124,\\n \\"FormatSizeDayGrowthRatio\\": 0.04\\n }\\n ],\\n \\"Metrics\\": {\\n \\"PartitionNum\\": {\\n \\"Name\\": \\"partitionNum\\",\\n \\"Value\\": 331,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"number of partitions\\\\n\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 132,\\n \\"Unit\\": \\"“”\\\\n\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 5,\\n \\"Unit\\": \\"“”\\\\n\\",\\n \\"Description\\": \\"Number of medium files\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 18,\\n \\"Unit\\": \\"\\\\\\"“\\\\n\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 451,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 3123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of empty files\\\\n\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Ratio of large files\\\\n\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.8,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.04,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Ratio of small files\\\\n\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.96,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 203431,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the hot data size\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 14981,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the warm data size\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 217715,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the cold data size\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 33229309,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the freeze data size\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 33800296,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Hot data ratio\\\\n\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Ratio of warm data\\\\n\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\t\\\\n\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Cold data ratio\\\\n\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.98,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Ratio of freeze data\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 40,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 20,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 18,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": 482,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of tiny files\\\\n\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": -20,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 203431,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": 149841,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": 217715,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": 33229309,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 33800296,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.04,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HiveFrequencyScore\\": 70,\\n \\"HiveDistributionScore\\": 80,\\n \\"HiveFormatScore\\": 60,\\n \\"HiveScore\\": 80\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', 'title' => '批量获取Hive表分析结果', 'summary' => '通过EMR Doctor批量获取Hive表分析结果。', - ], - 'GetDoctorHiveTable' => [ - 'description' => 'get Doctor Hive Table', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorHiveTables', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"TableName\\": \\"dw.dwd_creta_service_order_long_renew_long_da\\\\n\\",\\n \\"Owner\\": \\"DW\\",\\n \\"Formats\\": [\\n {\\n \\"FormatName\\": \\"TextInputFormat\\",\\n \\"FormatSize\\": 506930200,\\n \\"FormatSizeUnit\\": \\"MB\\\\n\\",\\n \\"FormatRatio\\": 0.23,\\n \\"FormatDayGrowthSize\\": 1232124,\\n \\"FormatSizeDayGrowthRatio\\": 0.04\\n }\\n ],\\n \\"Metrics\\": {\\n \\"PartitionNum\\": {\\n \\"Name\\": \\"partitionNum\\",\\n \\"Value\\": 331,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"number of partitions\\\\n\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 132,\\n \\"Unit\\": \\"“”\\\\n\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 5,\\n \\"Unit\\": \\"“”\\\\n\\",\\n \\"Description\\": \\"Number of medium files\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 18,\\n \\"Unit\\": \\"\\\\\\"“\\\\n\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 451,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 3123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of empty files\\\\n\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Ratio of large files\\\\n\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.8,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.04,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Ratio of small files\\\\n\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.96,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 203431,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the hot data size\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 14981,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the warm data size\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 217715,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the cold data size\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 33229309,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the freeze data size\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 33800296,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Hot data ratio\\\\n\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Ratio of warm data\\\\n\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\t\\\\n\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Cold data ratio\\\\n\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.98,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Ratio of freeze data\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 40,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 20,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\\\n\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 18,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": 482,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of tiny files\\\\n\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": -20,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 203431,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": 149841,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": 217715,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": 33229309,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 33800296,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.04,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HiveFrequencyScore\\": 70,\\n \\"HiveDistributionScore\\": 80,\\n \\"HiveFormatScore\\": 60,\\n \\"HiveScore\\": 80\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + ], + 'ListDoctorJobs' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -22297,1520 +13271,136 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'list', + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'DateTime', + 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', - ], + 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ - 'name' => 'TableName', + 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '表名称,表名称遵循Hive通用写法,以{库名称.表名称}唯一确定。', - 'type' => 'string', - 'required' => true, - 'example' => 'dw.dwd_creta_service_order_long_renew_long_da', - ], + 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => '返回数据', - 'description' => '返回数据', - 'type' => 'object', - 'properties' => [ - 'Data' => [ - 'description' => 'Hive表分析数据。', - 'type' => 'object', - 'properties' => [ - 'Formats' => [ - 'description' => '表格式数据。', - 'type' => 'array', - 'items' => [ - 'description' => '表格式信息。', - 'type' => 'object', - 'properties' => [ - 'FormatName' => [ - 'description' => '存储格式名称。', - 'type' => 'string', - 'example' => 'TextInputFormat', - ], - 'FormatSize' => [ - 'description' => '格式数据量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '506930200', - ], - 'FormatSizeUnit' => [ - 'description' => '格式数据量单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'FormatRatio' => [ - 'description' => '格式占比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.23', - ], - 'FormatDayGrowthSize' => [ - 'description' => '格式数据量日增量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1232124', - ], - 'FormatSizeDayGrowthRatio' => [ - 'description' => '格式数据量日环比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.04', - ], - ], - ], - ], - 'Owner' => [ - 'description' => '属主。', - 'type' => 'string', - 'example' => 'DW', - ], - 'Metrics' => [ - 'description' => '指标信息。', - 'type' => 'object', - 'properties' => [ - 'PartitionNum' => [ - 'description' => '分区数。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'partitionNum', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '441', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'number of partitions', - ], - ], - ], - 'LargeFileCount' => [ - 'description' => '大文件个数。大文件指的是1 GB以上大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of large files', - ], - ], - ], - 'MediumFileCount' => [ - 'description' => '中文件个数。中文件指的是128 MB以上,1 GB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of medium files', - ], - ], - ], - 'SmallFileCount' => [ - 'description' => '小文件个数。小文件指的是10 MB以上,128 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '18', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '"“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of small files', - ], - ], - ], - 'TinyFileCount' => [ - 'description' => '极小文件个数。极小文件指的是0 MB以上,10 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '451', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of tiny files', - ], - ], - ], - 'EmptyFileCount' => [ - 'description' => '空文件个数。空文件指的是0 MB大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3123', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of empty files', - ], - ], - ], - 'TotalFileCount' => [ - 'description' => '总文件个数。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of total files', - ], - ], - ], - 'LargeFileRatio' => [ - 'description' => '大文件个数占比。大文件指的是1 GB以上大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.02', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of large files', - ], - ], - ], - 'MediumFileRatio' => [ - 'description' => '中文件个数占比。中文件指的是128 MB以上,1 GB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.80', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of medium files', - ], - ], - ], - 'SmallFileRatio' => [ - 'description' => '小文件个数占比。小文件指的是10 MB以上,128 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.04', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of small files', - ], - ], - ], - 'TinyFileRatio' => [ - 'description' => '极小文件个数占比。极小文件指的是0 MB以上,10 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.96', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of tiny files', - ], - ], - ], - 'EmptyFileRatio' => [ - 'description' => '空文件个数占比。空文件指的是0 MB大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of empty files', - ], - ], - ], - 'HotDataSize' => [ - 'description' => '热数据的数据量大小。热数据指的是7日内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '203431', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the hot data size', - ], - ], - ], - 'WarmDataSize' => [ - 'description' => '温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '14981', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the warm data size', - ], - ], - ], - 'ColdDataSize' => [ - 'description' => '冷数据的数据量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '217715', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the cold data size', - ], - ], - ], - 'FreezeDataSize' => [ - 'description' => '极冷数据的数据量大小。极冷数据指的是90日以内都没有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '33229309', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the freeze data size', - ], - ], - ], - 'TotalDataSize' => [ - 'description' => '总数据量大小。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '33800296', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total data size in megabytes (MB)', - ], - ], - ], - 'HotDataRatio' => [ - 'description' => '热数据的数据量大小占比。热数据指的是7日内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Hot data ratio', - ], - ], - ], - 'WarmDataRatio' => [ - 'description' => '温数据的数据量大小占比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.1', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of warm data', - ], - ], - ], - 'ColdDataRatio' => [ - 'description' => '冷数据的数据量大小占比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Cold data ratio', - ], - ], - ], - 'FreezeDataRatio' => [ - 'description' => '极冷数据的数据量大小占比。极冷数据指的是90日以内都没有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.98', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of freeze data', - ], - ], - ], - 'TotalFileDayGrowthCount' => [ - 'description' => '总文件个数日增量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of total files', - ], - ], - ], - 'LargeFileDayGrowthCount' => [ - 'description' => '大文件个数日增量。大文件指的是1 GB以上大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '40', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of large files', - ], - ], - ], - 'MediumFileDayGrowthCount' => [ - 'description' => '中文件个数日增量。中文件指的是128 MB以上,1 GB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of medium files', - ], - ], - ], - 'SmallFileDayGrowthCount' => [ - 'description' => '小文件个数日增量。小文件指的是10 MB以上,128 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '18', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of small files', - ], - ], - ], - 'TinyFileDayGrowthCount' => [ - 'description' => '极小文件个数日增量。极小文件指的是0 MB以上,10 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '482', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of tiny files', - ], - ], - ], - 'EmptyFileDayGrowthCount' => [ - 'description' => '空文件个数日增量。空文件指的是0 MB大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-20', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of empty files', - ], - ], - ], - 'HotDataDayGrowthSize' => [ - 'description' => '热数据的数据量日增量大小。热数据指的是7日内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '203431', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of hot data', - ], - ], - ], - 'WarmDataDayGrowthSize' => [ - 'description' => '温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '149841', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of warm data', - ], - ], - ], - 'ColdDataDayGrowthSize' => [ - 'description' => '冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '217715', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of cold data', - ], - ], - ], - 'FreezeDataDayGrowthSize' => [ - 'description' => '极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '33229309', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of freeze data', - ], - ], - ], - 'TotalDataDayGrowthSize' => [ - 'description' => '全部数据的数据量日增量大小。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '33800296', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of total data', - ], - ], - ], - 'TotalFileCountDayGrowthRatio' => [ - 'description' => '总文件个数日环比。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of total files', - ], - ], - ], - 'LargeFileCountDayGrowthRatio' => [ - 'description' => '大文件个数日环比。大文件指的是1 GB以上大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of large files', - ], - ], - ], - 'MediumFileCountDayGrowthRatio' => [ - 'description' => '中文件个数日环比。比中文件指的是128 MB以上,1 GB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of medium files', - ], - ], - ], - 'SmallFileCountDayGrowthRatio' => [ - 'description' => '小文件个数日环比。小文件指的是10 MB以上,128 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of small files', - ], - ], - ], - 'TinyFileCountDayGrowthRatio' => [ - 'description' => '极小文件个数日环比。极小文件指的是0 MB以上,10 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.04', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of tiny files', - ], - ], - ], - 'EmptyFileCountDayGrowthRatio' => [ - 'description' => '空文件个数日环比。空文件指的是0 MB大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of empty files', - ], - ], - ], - 'HotDataSizeDayGrowthRatio' => [ - 'description' => '热数据的数据量大小日环比。热数据指的是7日内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of hot data size', - ], - ], - ], - 'WarmDataSizeDayGrowthRatio' => [ - 'description' => '温数的据数据量大小日环比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of warm data size', - ], - ], - ], - 'ColdDataSizeDayGrowthRatio' => [ - 'description' => '冷数据的数据量大小日环比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of cold data size', - ], - ], - ], - 'FreezeDataSizeDayGrowthRatio' => [ - 'description' => '极冷数据的数据量大小日环比。极冷数据指的是90日以内都没有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of freeze data size', - ], - ], - ], - 'TotalDataSizeDayGrowthRatio' => [ - 'description' => '总数据量大小日环比。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of total data size', - ], - ], - ], - ], - ], - 'Analysis' => [ - 'description' => '分析结果。', - 'type' => 'object', - 'properties' => [ - 'HiveFrequencyScore' => [ - 'description' => 'Hive表访问频率得分。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '70', - ], - 'HiveDistributionScore' => [ - 'description' => 'Hive表文件大小评分。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'HiveFormatScore' => [ - 'description' => 'Hive表格式评分。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'HiveScore' => [ - 'description' => 'Hive表综合评分。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], - ], - 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], - ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], - ], - 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Formats\\": [\\n {\\n \\"FormatName\\": \\"TextInputFormat\\",\\n \\"FormatSize\\": 506930200,\\n \\"FormatSizeUnit\\": \\"MB\\",\\n \\"FormatRatio\\": 0.23,\\n \\"FormatDayGrowthSize\\": 1232124,\\n \\"FormatSizeDayGrowthRatio\\": 0.04\\n }\\n ],\\n \\"Owner\\": \\"DW\\",\\n \\"Metrics\\": {\\n \\"PartitionNum\\": {\\n \\"Name\\": \\"partitionNum\\",\\n \\"Value\\": 441,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"number of partitions\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of large files\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 5,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of medium files\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 18,\\n \\"Unit\\": \\"\\\\\\"“\\",\\n \\"Description\\": \\"Number of small files\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 451,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of tiny files\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 3123,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of empty files\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of total files\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of large files\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.8,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of medium files\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.04,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of small files\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.96,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of tiny files\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of empty files\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 203431,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the hot data size\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 14981,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 217715,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the cold data size\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 33229309,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the freeze data size\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 33800296,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Hot data ratio\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of warm data\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Cold data ratio\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.98,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of freeze data\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of total files\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 40,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of large files\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 20,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth count of medium files\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 18,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of small files\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": 482,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of tiny files\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": -20,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of empty files\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 203431,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of hot data\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": 149841,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of warm data\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": 217715,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of cold data\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": 33229309,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of freeze data\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 33800296,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of total data\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of total files\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of large files\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of small files\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.04,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HiveFrequencyScore\\": 70,\\n \\"HiveDistributionScore\\": 80,\\n \\"HiveFormatScore\\": 60,\\n \\"HiveScore\\": 80\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '获取Hive表分析结果', - 'summary' => '通过EMR Doctor获取集群Hive特定表分析结果。', - ], - 'ListDoctorHDFSUGI' => [ - 'description' => 'list Doctor HDFS UGIs', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], - ], - 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'StartRange', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', + 'title' => '开始range', + 'description' => '开始时间范围,过滤开始时间在一个时间范围内的任务。', + 'type' => 'object', + 'properties' => [ + 'StartTime' => ['description' => '任务提交时间起始范围,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1683340662016'], + 'EndTime' => ['description' => '任务提交时间结束范围,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1683340662020'], + ], + 'required' => false, ], ], [ - 'name' => 'ClusterId', + 'name' => 'EndRange', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', + 'title' => '结束range', + 'description' => '结束时间范围,过滤出结束时间在一个时间范围内的任务。', + 'type' => 'object', + 'properties' => [ + 'StartTime' => ['description' => '任务结束时间起始范围,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1679135111960'], + 'EndTime' => ['description' => '任务结束时间结束范围,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1666865137099'], + ], + 'required' => false, ], ], [ - 'name' => 'NextToken', + 'name' => 'AppIds', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => '标记当前开始读取的位置。', - 'type' => 'string', + 'title' => 'app ID数组', + 'description' => '任务提交到YARN的IDs,用于过滤任务列表。', + 'type' => 'array', + 'items' => ['description' => 'YARN的任务ID。', 'type' => 'string', 'required' => false, 'example' => 'application_1643475036865_******'."\n"], 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + 'example' => 'null', ], ], [ - 'name' => 'MaxResults', + 'name' => 'Users', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => '一次获取的最大记录数。', - 'type' => 'integer', - 'format' => 'int32', + 'description' => '任务提交的用户列表,用于过滤任务列表。', + 'type' => 'array', + 'items' => ['description' => '任务提交到YARN的用户名称。', 'type' => 'string', 'required' => false, 'example' => 'DW'."\n"], 'required' => false, - 'example' => '20', + 'example' => 'null', ], ], [ - 'name' => 'DateTime', + 'name' => 'Queues', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', + 'description' => '任务提交到YARN的队列列表,用于过滤任务列表。', + 'type' => 'array', + 'items' => ['description' => '任务提交到的YARN队列名称。', 'type' => 'string', 'required' => false, 'example' => 'DW'."\n"], + 'required' => false, + 'example' => 'null', ], ], [ - 'name' => 'Type', + 'name' => 'Types', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => '选择过滤类型。取值:'."\n" - ."\n" - .'- user:选取用户过滤。'."\n" - .'- group:选取组过滤。', - 'type' => 'string', - 'required' => true, - 'example' => 'group', + 'description' => '任务提交到YARN的引擎列表,用于过滤任务列表。', + 'type' => 'array', + 'items' => ['description' => '任务提交到YARN的引擎类型。', 'type' => 'string', 'required' => false, 'example' => 'SPARK'], + 'required' => false, + 'example' => 'null', ], ], [ 'name' => 'OrderType', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '排序方向。取值:'."\n" - ."\n" - .'- ASC:升序排列'."\n" - ."\n" - .'- DESC:降序排列', - 'type' => 'string', - 'required' => false, - 'example' => 'ASC', - ], + 'schema' => ['title' => '排序类型', 'description' => '排序方向。取值:'."\n" + ."\n" + .'- ASC: 升序排列。'."\n" + .'- DESC:降序排列。', 'type' => 'string', 'required' => false, 'example' => 'ASC'], ], [ 'name' => 'OrderBy', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '排序依据。取值:'."\n" - ."\n" - .'- totalFileCount:总文件个数。'."\n" - .'- totalDataSize:总数据量大小。'."\n" - .'- totalDirCount:总目录个数。', - 'type' => 'string', - 'required' => false, - 'example' => 'totalFileCount', - ], + 'schema' => ['title' => '排序字段', 'description' => '排序字段。取值:'."\n" + ."\n" + .'- vcoreSeconds:任务CPU使用量。'."\n" + .'- memSeconds:任务内存使用量。', 'type' => 'string', 'required' => false, 'example' => 'vcoreSeconds'], ], ], 'responses' => [ @@ -23821,100 +13411,53 @@ 'type' => 'object', 'properties' => [ 'Data' => [ - 'description' => '批量HDFS分析数据。', + 'description' => '任务列表信息。', 'type' => 'array', 'items' => [ - 'description' => 'HDFS分析数据。', + 'description' => '任务信息。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '根据Type类型返回的属主或者属组实际名称。', - 'type' => 'string', - 'example' => 'DW', - ], + 'AppId' => ['description' => '任务提交到YARN的ID。', 'type' => 'string', 'example' => 'application_1607584549220_*****'], + 'AppName' => ['description' => '任务名称。', 'type' => 'string', 'example' => 'tpcds'], + 'User' => ['description' => '任务提交用户名。', 'type' => 'string', 'example' => 'DW'], + 'Queue' => ['description' => '任务提交到YARN的队列。', 'type' => 'string', 'example' => 'DW'], + 'State' => ['description' => '应用执行状态,取值说明:'."\n" + .'* FINISHED:结束的。'."\n" + .'* FAILED:失败的。'."\n" + .'* KILLED:中止的。', 'type' => 'string', 'example' => 'FINISHED'], + 'FinalStatus' => ['description' => '应用执行结束状态,取值说明:'."\n" + .'* SUCCEEDED:成功的。'."\n" + .'* FAILED:失败的。'."\n" + .'* KILLED:中止的。'."\n" + .'* ENDED: 结束的。'."\n" + .'* UNDEFINED:未定义的。', 'type' => 'string', 'example' => 'KILLED'], + 'Type' => ['description' => '计算引擎类型。', 'type' => 'string', 'example' => 'SPARK'], + 'StartTime' => ['description' => '任务提交时间,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1675180800000'], + 'LaunchTime' => ['description' => '任务启动时间,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1672148400000'], + 'ElapsedTime' => ['description' => '任务运行总时间,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '242'], + 'FinishTime' => ['description' => '任务结束时间,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1683690929000'], 'Metrics' => [ - 'description' => '指标信息。', + 'description' => '指标数据。', 'type' => 'object', 'properties' => [ - 'TotalFileCount' => [ - 'description' => '总文件个数。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '34'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of total files'."\n", - ], - ], - ], - 'TotalDataSize' => [ - 'description' => '总数据量大小。', + 'VcoreSeconds' => [ + 'description' => 'CPU使用量。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '40440503', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total data size in megabytes (MB)', - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'vcoreSeconds'."\n"], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '11123'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'VCores * Sec'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total vcore usage over time in seconds'."\n"], ], ], - 'TotalDirCount' => [ - 'description' => '总目录个数。', + 'MemSeconds' => [ + 'description' => '内存使用量。', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDirCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of total dirs'."\n", - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'memSeconds'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '12312312'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB * Sec'."\n"], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total memory usage over time in seconds'."\n"], ], ], ], @@ -23922,112 +13465,61 @@ ], ], ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '返回读取到的数据位置。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '本次请求所返回的最大记录条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '本次请求条件下的数据总量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '返回读取到的数据位置。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '批量获取任务运行结果', + 'summary' => '通过EMR Doctor批量获取任务基本运行信息。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorJobs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Name\\": \\"DW\\",\\n \\"Metrics\\": {\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 34,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 40440503,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\"\\n },\\n \\"TotalDirCount\\": {\\n \\"Name\\": \\"totalDirCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of total dirs\\\\n\\"\\n }\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => '批量获取属主或属组HDFS分析结果', - 'summary' => '通过EMR Doctor批量获取属主或者属组的HDFS分析结果。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"AppId\\": \\"application_1607584549220_*****\\",\\n \\"AppName\\": \\"tpcds\\",\\n \\"User\\": \\"DW\\",\\n \\"Queue\\": \\"DW\\",\\n \\"State\\": \\"FINISHED\\",\\n \\"FinalStatus\\": \\"KILLED\\",\\n \\"Type\\": \\"SPARK\\",\\n \\"StartTime\\": 1675180800000,\\n \\"LaunchTime\\": 1672148400000,\\n \\"ElapsedTime\\": 242,\\n \\"FinishTime\\": 1683690929000,\\n \\"Metrics\\": {\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\\\n\\",\\n \\"Value\\": 11123,\\n \\"Unit\\": \\"VCores * Sec\\\\n\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\\\n\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\\\n\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\\\n\\"\\n }\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', ], - 'ListDoctorHBaseTables' => [ - 'description' => 'list Doctor HBaseTables', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDoctorJobsStats' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -24036,85 +13528,77 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => '标记当前开始读取的位置。', - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], + 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'StartRange', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => '一次获取的最大记录数。', - 'type' => 'integer', - 'format' => 'int32', + 'description' => '开始时间范围,过滤开始时间在一个时间范围内的任务。', + 'type' => 'object', + 'properties' => [ + 'StartTime' => ['description' => '任务提交时间起始范围,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1679036826987'], + 'EndTime' => ['description' => '任务提交时间结束范围,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1666406820000'], + ], 'required' => false, - 'example' => '20', ], ], [ - 'name' => 'DateTime', + 'name' => 'EndRange', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => '日期。', - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', + 'description' => '结束时间范围,过滤出结束时间在一个时间范围内的任务。', + 'type' => 'object', + 'properties' => [ + 'StartTime' => ['description' => '任务结束时间起始范围,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1675180800000'], + 'EndTime' => ['description' => '任务结束时间结束范围,Unix时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1680019200000'], + ], + 'required' => false, ], ], [ - 'name' => 'TableNames', + 'name' => 'GroupBy', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'description' => '表名称列表。', + 'description' => '分组字段列表。'."\n" + ."\n" + .'目前只取第一个值,后续会放开多种分组交叉。', 'type' => 'array', - 'items' => [ - 'description' => '表名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'namespace1:tb_item'."\n", - ], + 'items' => ['description' => '分组字段。取值:'."\n" + .'- queue:根据队列分组。'."\n" + .'- user:根据用户分组。'."\n" + .'- type:根据引擎类型分组。', 'type' => 'string', 'required' => false, 'example' => 'type'], 'required' => false, 'example' => 'null', ], @@ -24123,29 +13607,19 @@ 'name' => 'OrderType', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '排序方向。取值:'."\n" - ."\n" - .'- ASC:升序排列。'."\n" - ."\n" - .'- DESC:降序排列。', - 'type' => 'string', - 'required' => false, - 'example' => 'ASC', - ], + 'schema' => ['description' => '排序方向,取值:'."\n" + ."\n" + .'- ASC: 升序排列。'."\n" + .'- DESC:降序排列。', 'type' => 'string', 'required' => false, 'example' => 'ASC'], ], [ 'name' => 'OrderBy', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '排序字段。取值:'."\n" - ."\n" - .'- tableSize:表大小', - 'type' => 'string', - 'required' => false, - 'example' => 'tableSize', - ], + 'schema' => ['description' => '排序字段。取值:'."\n" + ."\n" + .'- vcoreSeconds:任务CPU使用量。'."\n" + .'- memSeconds:任务内存使用量。', 'type' => 'string', 'required' => false, 'example' => 'vcoreSeconds'], ], ], 'responses' => [ @@ -24156,836 +13630,103 @@ 'type' => 'object', 'properties' => [ 'Data' => [ - 'description' => '返回数据。', + 'description' => '任务汇总列表信息。', 'type' => 'array', 'items' => [ + 'description' => '任务汇总信息。', 'type' => 'object', 'properties' => [ - 'TableName' => [ - 'description' => '表名。', - 'type' => 'string', - 'example' => 'tb_item', + 'Queue' => ['description' => '任务提交到YARN的队列。', 'type' => 'string', 'example' => 'DW'], + 'Type' => ['description' => '计算引擎类型。', 'type' => 'string', 'example' => 'SPARK'], + 'User' => ['description' => '任务提交用户名。', 'type' => 'string', 'example' => 'DW'], + 'VcoreSeconds' => [ + 'description' => 'CPU总使用量。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'vcoreSeconds'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '11123'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'VCores * Sec'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total vcore usage over time in seconds'], + ], ], - 'Metrics' => [ - 'description' => '指标信息。', + 'MemSeconds' => [ + 'description' => '内存总是用量。', 'type' => 'object', 'properties' => [ - 'RegionServerCount' => [ - 'description' => '表在几个region server上。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'regionServerCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of region servers count', - ], - ], - ], - 'RegionCount' => [ - 'description' => '表在几个region上。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'regionCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of regions count', - ], - ], - ], - 'TableSize' => [ - 'description' => '表大小。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tableSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '678', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the table', - ], - ], - ], - 'StoreFileCount' => [ - 'description' => 'store file个数。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'storeFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '36', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of store files', - ], - ], - ], - 'DailyReadRequest' => [ - 'description' => '表单日读取总量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'dailyReadRequest', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of read requests per day', - ], - ], - ], - 'DailyWriteRequest' => [ - 'description' => '表单日写总量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'dailyWriteRequest', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of write requests per day', - ], - ], - ], - 'RegionBalance' => [ - 'description' => '均衡度。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'regionBalance', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '1.0', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'The ability to evenly distribute Regions on different RegionServer nodes', - ], - ], - ], - 'RequestBalance' => [ - 'description' => '请求均衡度。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'requestBalance', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.9', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'The balance of distributing requests', - ], - ], - ], - 'HotDataSize' => [ - 'description' => '热数据大小。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the hot data size', - ], - ], - ], - 'WarmDataSize' => [ - 'description' => '温数据大小。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the warm data size', - ], - ], - ], - 'ColdDataSize' => [ - 'description' => '冷数据大小。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the cold data size', - ], - ], - ], - 'FreezeDataSize' => [ - 'description' => '极冷数据大小。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the freeze data size', - ], - ], - ], - 'WarmConfigDay' => [ - 'description' => '温数据访问天数配置。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmConfigDay', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'day', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Warm config day', - ], - ], - ], - 'ColdConfigDay' => [ - 'description' => '冷数据访问天数配置。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldConfigDay', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'day', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Cold config day', - ], - ], - ], - 'FreezeConfigDay' => [ - 'description' => '极冷数据访问天数配置。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeConfigDay', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'day', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Freeze config day', - ], - ], - ], - 'Locality' => [ - 'description' => '本地化率。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'locality', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'The locality of data', - ], - ], - ], - 'ColdAccessDay' => [ - 'description' => '表多少天没被访问。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldAccessDay', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'day', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Cold access day', - ], - ], - ], - 'RegionCountDayGrowthRatio' => [ - 'description' => 'region个数日增量比例。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'regionCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '1.0', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of region count', - ], - ], - ], - 'TableSizeDayGrowthRatio' => [ - 'description' => '表大小日增量比例。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tableSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '1.0', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '\'"', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of table size', - ], - ], - ], - 'StoreFileCountDayGrowthRatio' => [ - 'description' => 'store file个数日增量比例。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'storeFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.7', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of store file count', - ], - ], - ], - 'DailyReadRequestDayGrowthRatio' => [ - 'description' => '单日读请求日增量比例。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'dailyReadRequestDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.8', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of read requests', - ], - ], - ], - 'DailyWriteRequestDayGrowthRatio' => [ - 'description' => '单日写请求日增量比例。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'dailyWriteRequestDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.8', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'The balance of distributing requests', - ], - ], - ], - 'ReadRequestBalance' => [ - 'description' => '读均衡度。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'readRequestBalance', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '1.0', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'The balance of distributing read requests', - ], - ], - ], - 'WriteRequestBalance' => [ - 'description' => '写均衡度。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'writeRequestBalance', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '1.0', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述', - 'type' => 'string', - 'example' => 'The balance of distributing write requests', - ], - ], - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'memSeconds'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '12312312'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => 'MB * Sec'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total memory usage over time in seconds'], ], ], - 'Analysis' => [ - 'description' => '诊断结果。', + 'AppsCount' => [ + 'description' => '任务总量。', 'type' => 'object', 'properties' => [ - 'TableScore' => [ - 'description' => '表打分。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '67', - ], - 'RequestUnbalanceSuggestion' => [ - 'description' => '读写不均衡描述。', - 'type' => 'string', - 'example' => 'ead request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均读请求数量为764361,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: f1c922d41529785e21b61cf4c672b98a 读请求数量: 1543919</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 5f019e8cf7c16be9768634cb99ccbe05 读请求数量: 1512817</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d113992fea3a457f60b8b8aa5d6fa037 读请求数量: 1504293</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>', - ], - 'RequestHotspotRegionList' => [ - 'description' => '读写热点region列表。', - 'type' => 'array', - 'items' => [ - 'description' => '读写热点region。', - 'type' => 'string', - 'example' => '5f019e8cf7c16be9768634cb99ccbe05', - ], - 'example' => 'null', - ], - 'ReadRequestUnbalanceSuggestion' => [ - 'description' => '读不均衡描述。', - 'type' => 'string', - 'example' => 'ead request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均读请求数量为764361,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: f1c922d41529785e21b61cf4c672b98a 读请求数量: 1543919</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 5f019e8cf7c16be9768634cb99ccbe05 读请求数量: 1512817</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d113992fea3a457f60b8b8aa5d6fa037 读请求数量: 1504293</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>', - ], - 'ReadRequestHotspotRegionList' => [ - 'description' => '读热点hotspot regions列表。', - 'type' => 'array', - 'items' => [ - 'description' => '读热点hotspot regions。', - 'type' => 'string', - 'example' => '5f019e8cf7c16be9768634cb99ccbe05', - ], - 'example' => 'null', - ], - 'WriteRequestUnbalanceSuggestion' => [ - 'description' => '写不均衡度描述。', - 'type' => 'string', - 'example' => 'write request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均写请求数量为786142,以下分区存在写请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: f1c922d41529785e21b61cf4c672b98a 写请求数量: 1588305</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 5f019e8cf7c16be9768634cb99ccbe05 写请求数量: 1556984</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d113992fea3a457f60b8b8aa5d6fa037 写请求数量: 1548764</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>', - ], - 'WriteRequestHotspotRegionList' => [ - 'description' => '写热点hotspot regions列表。', - 'type' => 'array', - 'items' => [ - 'description' => '写热点hotspot regions。', - 'type' => 'string', - 'example' => '5f019e8cf7c16be9768634cb99ccbe05', - ], - 'example' => 'null', - ], + 'Name' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'appsCount'], + 'Value' => ['description' => '指标值。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'], + 'Unit' => ['description' => '指标单位。', 'type' => 'string', 'example' => '""'], + 'Description' => ['description' => '指标描述。', 'type' => 'string', 'example' => 'Total apps count'], ], ], ], ], ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '返回读取到的数据位置。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '本次请求所返回的最大记录条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '本次请求条件下的数据总量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '返回读取到的数据位置。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '批量获取任务运行汇总数据', + 'summary' => '通过EMR Doctor批量获取任务基本运行汇总信息。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorJobsStats', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"TableName\\": \\"tb_item\\",\\n \\"Metrics\\": {\\n \\"RegionServerCount\\": {\\n \\"Name\\": \\"regionServerCount\\",\\n \\"Value\\": 2,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of region servers count\\"\\n },\\n \\"RegionCount\\": {\\n \\"Name\\": \\"regionCount\\",\\n \\"Value\\": 3,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of regions count\\"\\n },\\n \\"TableSize\\": {\\n \\"Name\\": \\"tableSize\\",\\n \\"Value\\": 678,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the table\\"\\n },\\n \\"StoreFileCount\\": {\\n \\"Name\\": \\"storeFileCount\\",\\n \\"Value\\": 36,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of store files\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of read requests per day\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of write requests per day\\"\\n },\\n \\"RegionBalance\\": {\\n \\"Name\\": \\"regionBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"The ability to evenly distribute Regions on different RegionServer nodes\\"\\n },\\n \\"RequestBalance\\": {\\n \\"Name\\": \\"requestBalance\\",\\n \\"Value\\": 0.9,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"The balance of distributing requests\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the hot data size\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the cold data size\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the freeze data size\\"\\n },\\n \\"WarmConfigDay\\": {\\n \\"Name\\": \\"warmConfigDay\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Warm config day\\"\\n },\\n \\"ColdConfigDay\\": {\\n \\"Name\\": \\"coldConfigDay\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Cold config day\\"\\n },\\n \\"FreezeConfigDay\\": {\\n \\"Name\\": \\"freezeConfigDay\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Freeze config day\\"\\n },\\n \\"Locality\\": {\\n \\"Name\\": \\"locality\\",\\n \\"Value\\": 0,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The locality of data\\"\\n },\\n \\"ColdAccessDay\\": {\\n \\"Name\\": \\"coldAccessDay\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Cold access day\\"\\n },\\n \\"RegionCountDayGrowthRatio\\": {\\n \\"Name\\": \\"regionCountDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of region count\\"\\n },\\n \\"TableSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"tableSizeDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\'\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of table size\\"\\n },\\n \\"StoreFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"storeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.7,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of store file count\\"\\n },\\n \\"DailyReadRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyReadRequestDayGrowthRatio\\",\\n \\"Value\\": 0.8,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of read requests\\"\\n },\\n \\"DailyWriteRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyWriteRequestDayGrowthRatio\\",\\n \\"Value\\": 0.8,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing requests\\"\\n },\\n \\"ReadRequestBalance\\": {\\n \\"Name\\": \\"readRequestBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing read requests\\"\\n },\\n \\"WriteRequestBalance\\": {\\n \\"Name\\": \\"writeRequestBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing write requests\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"TableScore\\": 67,\\n \\"RequestUnbalanceSuggestion\\": \\"ead request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均读请求数量为764361,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: f1c922d41529785e21b61cf4c672b98a 读请求数量: 1543919</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 5f019e8cf7c16be9768634cb99ccbe05 读请求数量: 1512817</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d113992fea3a457f60b8b8aa5d6fa037 读请求数量: 1504293</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"RequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ],\\n \\"ReadRequestUnbalanceSuggestion\\": \\"ead request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均读请求数量为764361,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: f1c922d41529785e21b61cf4c672b98a 读请求数量: 1543919</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 5f019e8cf7c16be9768634cb99ccbe05 读请求数量: 1512817</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d113992fea3a457f60b8b8aa5d6fa037 读请求数量: 1504293</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"ReadRequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ],\\n \\"WriteRequestUnbalanceSuggestion\\": \\"write request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均写请求数量为786142,以下分区存在写请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: f1c922d41529785e21b61cf4c672b98a 写请求数量: 1588305</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 5f019e8cf7c16be9768634cb99ccbe05 写请求数量: 1556984</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d113992fea3a457f60b8b8aa5d6fa037 写请求数量: 1548764</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"WriteRequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ]\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => '批量获取 HBase Table 信息', - 'summary' => '批量获取 HBase Table 信息。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Queue\\": \\"DW\\",\\n \\"Type\\": \\"SPARK\\",\\n \\"User\\": \\"DW\\",\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\",\\n \\"Value\\": 11123,\\n \\"Unit\\": \\"VCores * Sec\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\"\\n },\\n \\"AppsCount\\": {\\n \\"Name\\": \\"appsCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total apps count\\"\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', ], - 'ListDoctorHBaseRegionServers' => [ - 'description' => 'list Doctor HBaseRegionServers', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDoctorReports' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -24994,521 +13735,129 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'abilityTreeNodes' => ['FEATUREemapreduceQEA007'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => '标记当前开始读取的位置。', - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], + 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => '一次获取的最大记录数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], - ], - [ - 'name' => 'DateTime', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '日期。', - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', - ], - ], - [ - 'name' => 'RegionServerHosts', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => 'RegionServer的Host列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'RegionServer的Host。', - 'type' => 'string', - 'required' => false, - 'example' => 'emr-worker-4.cluster-20****', - ], - 'required' => false, - 'example' => 'null', - ], - ], - [ - 'name' => 'OrderType', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '排序方向。取值:'."\n" - ."\n" - .'- ASC:升序排列。'."\n" - ."\n" - .'- DESC:降序排列。', - 'type' => 'string', - 'required' => false, - 'example' => 'ASC', - ], - ], - [ - 'name' => 'OrderBy', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '排序字段。取值:'."\n" - ."\n" - .'- regionCount:region数量', - 'type' => 'string', - 'required' => false, - 'example' => 'regionCount', - ], + 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', - 'description' => '返回数据', + 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'Data' => [ - 'description' => '返回数据。', + 'description' => '报告列表。', 'type' => 'array', 'items' => [ + 'description' => '报告详情。', 'type' => 'object', 'properties' => [ - 'RegionServerHost' => [ - 'description' => 'RegionServer的Host。', - 'type' => 'string', - 'example' => 'emr-worker-4.cluster-20****', + 'DateTime' => ['description' => '报告日期。', 'type' => 'string', 'example' => '2023-06-29'], + 'ComponentTypes' => [ + 'description' => '组件类型列表。', + 'type' => 'array', + 'items' => ['description' => '组件类型。取值:'."\n" + .'- compute '."\n" + .'- hive'."\n" + .'- hdfs'."\n" + .'- yarn'."\n" + .'- oss'."\n" + .'- hbase', 'type' => 'string', 'example' => 'compute'], + 'enumValueTitles' => ['compute' => 'compute', 'hive' => 'hive', 'hdfs' => 'hdfs', 'yarn' => 'yarn', 'oss' => 'oss', 'hbase' => 'hbase'], + 'example' => 'null', ], - 'Metrics' => [ - 'description' => '指标信息。', + 'SummaryReport' => [ + 'description' => '报告摘要。', 'type' => 'object', 'properties' => [ - 'RegionCount' => [ - 'description' => 'Region的数量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'regionCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '81', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of regions count', - ], - ], - ], - 'TotalReadRequest' => [ - 'description' => '累积的读请求数量', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalReadRequest', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '170500567', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total number of read requests', - ], - ], - ], - 'TotalWriteRequest' => [ - 'description' => '累积的写请求数量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalWriteRequest', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30109837', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total number of write requests', - ], - ], - ], - 'TotalRequest' => [ - 'description' => '累积的总请求数量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalRequest', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '89499511', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total number of requests', - ], - ], - ], - 'DailyReadRequest' => [ - 'description' => '单日的读请求数量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'dailyReadRequest', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '42571', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of read requests per day', - ], - ], - ], - 'DailyWriteRequest' => [ - 'description' => '单日的写请求数量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'dailyWriteRequest', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '23124', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of write requests per day', - ], - ], - ], - 'AvgGc' => [ - 'description' => '平均GC时间。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'avgGc', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '37.9', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'The efficiency of garbage collection in the system', - ], - ], - ], - 'CacheRatio' => [ - 'description' => '缓存比例。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'cacheRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '96.7', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of the BlockCache memory size', - ], - ], - ], - 'DailyReadRequestDayGrowthRatio' => [ - 'description' => '单日读请求数量的增长率。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'dailyReadRequestDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '1.0', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'The growth rate of daily read request quantity.', - ], - ], - ], - 'DailyWriteRequestDayGrowthRatio' => [ - 'description' => '单日写请求数量的增长率。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'dailyWriteRequestDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '1.0', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'The growth rate of daily write request quantity.', - ], - ], - ], + 'Score' => ['description' => '分数。', 'type' => 'integer', 'format' => 'int32', 'example' => '88'], + 'Summary' => ['description' => '报告摘要。', 'type' => 'string', 'example' => '<h4>[Compute Check] Compute health score: 88. Good health. Keep it up.</h4><p style=\'text-indent:2em\'>Most tasks in the cluster are in healthy state.</p><p style=\'text-indent:2em\'>Cluster memory utilization: 47.8%, relatively low.</p>'], + 'Suggestion' => ['description' => '优化建议。', 'type' => 'string', 'example' => '<h3>Compute health score: 88. The cluster is in healthy state. Keep it up.</h3><ul><li><strong>Compute task scan</strong><ul><li>Scanned 1518 compute tasks in the cluster: <span style=\'color: #D93026;\'>209 tasks in unhealthy state</span>, <span style=\'color: #F1A600;\'>596 tasks in sub-healthy state</span>, <span style=\'color: #1E8E3E;\'>713 tasks in healthy state</span>.</li></ul><ul><li> 1518 Tez tasks with a weighted average score of 88. Memory usage accounts for 100.0% of the cluster, CPU usage accounts for 100.0% of the cluster. 209 tasks are in unhealthy state, 596 tasks are in sub-healthy state.</li></ul><ul>Click \'View Details\' in the task detail list below to view specific issues and solutions. The \'Low-Score Task Compute Memory Time (GB*Sec) Top 20\' table is sorted by memory time usage. Large tasks may have a greater impact on the overall cluster, so prioritize them.</ul><li><strong><span style=\'color: #D93026;\'>Low memory utilization</span></strong><ul><li>Overall cluster memory utilization is 47.8%, which is relatively low. Compute resources are being wasted. Prioritize optimizing TOP tasks with high memory compute time but low memory utilization.</li></ul><ul><li>Tez jobs have an average memory utilization of 47.8%.</li></ul></li></ul>'], ], ], ], ], ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '返回读取到的数据位置。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '本次请求所返回的最大记录条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '本次请求条件下的数据总量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '返回读取到的数据位置。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '批量获取集群报告', + 'summary' => '批量获取 EMR Doctor 整体分析结果报告。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorReports', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"RegionServerHost\\": \\"emr-worker-4.cluster-20****\\",\\n \\"Metrics\\": {\\n \\"RegionCount\\": {\\n \\"Name\\": \\"regionCount\\",\\n \\"Value\\": 81,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of regions count\\"\\n },\\n \\"TotalReadRequest\\": {\\n \\"Name\\": \\"totalReadRequest\\",\\n \\"Value\\": 170500567,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of read requests\\"\\n },\\n \\"TotalWriteRequest\\": {\\n \\"Name\\": \\"totalWriteRequest\\",\\n \\"Value\\": 30109837,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of write requests\\"\\n },\\n \\"TotalRequest\\": {\\n \\"Name\\": \\"totalRequest\\",\\n \\"Value\\": 89499511,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of requests\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\",\\n \\"Value\\": 42571,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of read requests per day\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\",\\n \\"Value\\": 23124,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of write requests per day\\"\\n },\\n \\"AvgGc\\": {\\n \\"Name\\": \\"avgGc\\",\\n \\"Value\\": 37.9,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The efficiency of garbage collection in the system\\"\\n },\\n \\"CacheRatio\\": {\\n \\"Name\\": \\"cacheRatio\\",\\n \\"Value\\": 96.7,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of the BlockCache memory size\\"\\n },\\n \\"DailyReadRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyReadRequestDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The growth rate of daily read request quantity.\\"\\n },\\n \\"DailyWriteRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyWriteRequestDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The growth rate of daily write request quantity.\\"\\n }\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => '批量获取 HBase ReagionServer 信息', - 'summary' => '批量获取 HBase ReagionServer 信息。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"DateTime\\": \\"2023-06-29\\",\\n \\"ComponentTypes\\": [\\n \\"compute\\"\\n ],\\n \\"SummaryReport\\": {\\n \\"Score\\": 88,\\n \\"Summary\\": \\"<h4>[Compute Check] Compute health score: 88. Good health. Keep it up.</h4><p style=\'text-indent:2em\'>Most tasks in the cluster are in healthy state.</p><p style=\'text-indent:2em\'>Cluster memory utilization: 47.8%, relatively low.</p>\\",\\n \\"Suggestion\\": \\"<h3>Compute health score: 88. The cluster is in healthy state. Keep it up.</h3><ul><li><strong>Compute task scan</strong><ul><li>Scanned 1518 compute tasks in the cluster: <span style=\'color: #D93026;\'>209 tasks in unhealthy state</span>, <span style=\'color: #F1A600;\'>596 tasks in sub-healthy state</span>, <span style=\'color: #1E8E3E;\'>713 tasks in healthy state</span>.</li></ul><ul><li> 1518 Tez tasks with a weighted average score of 88. Memory usage accounts for 100.0% of the cluster, CPU usage accounts for 100.0% of the cluster. 209 tasks are in unhealthy state, 596 tasks are in sub-healthy state.</li></ul><ul>Click \'View Details\' in the task detail list below to view specific issues and solutions. The \'Low-Score Task Compute Memory Time (GB*Sec) Top 20\' table is sorted by memory time usage. Large tasks may have a greater impact on the overall cluster, so prioritize them.</ul><li><strong><span style=\'color: #D93026;\'>Low memory utilization</span></strong><ul><li>Overall cluster memory utilization is 47.8%, which is relatively low. Compute resources are being wasted. Prioritize optimizing TOP tasks with high memory compute time but low memory utilization.</li></ul><ul><li>Tez jobs have an average memory utilization of 47.8%.</li></ul></li></ul>\\"\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', ], - 'GetDoctorHBaseTable' => [ - 'description' => 'get Doctor HBaseTable', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListInstanceTypes' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -25516,57 +13865,75 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'list', + 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S', 'FEATUREemapreduceSNGGYA'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => false, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'DateTime', + 'name' => 'ZoneId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '日期。', - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', - ], + 'schema' => ['title' => '可用区ID。', 'description' => '可用区ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing-h'], ], [ - 'name' => 'TableName', + 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '表名。', - 'type' => 'string', - 'required' => true, - 'example' => 'namespace1:tb_item', - ], + 'schema' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'required' => false, 'example' => 'G-F06C4B47966A****'], + ], + [ + 'name' => 'ClusterType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '集群类型。', 'description' => '集群类型。', 'type' => 'string', 'required' => true, 'example' => 'DATALAKE'], + ], + [ + 'name' => 'PaymentType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '付费类型。', 'description' => '付费类型。', 'type' => 'string', 'required' => true, 'example' => 'PayAsYouGo'], + ], + [ + 'name' => 'NodeGroupType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '节点组类型。', 'description' => '节点组类型。', 'type' => 'string', 'required' => true, 'example' => 'CORE'], + ], + [ + 'name' => 'IsModification', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '是否变配。', 'description' => '是否变配。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'ReleaseVersion', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => 'EMR发行版。', 'description' => 'EMR发行版。', 'type' => 'string', 'required' => false, 'example' => 'Released version EMR-5.8.0'], + ], + [ + 'name' => 'DeployMode', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '部署模式。', 'description' => '部署模式。', 'type' => 'string', 'required' => false, 'example' => 'HA'], + ], + [ + 'name' => 'InstanceType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '机型', 'description' => '机型', 'type' => 'string', 'required' => false, 'example' => 'ecs.g6.xlarge'], ], ], 'responses' => [ @@ -25576,809 +13943,56 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'object', - 'properties' => [ - 'Metrics' => [ - 'description' => '指标信息。', - 'type' => 'object', - 'properties' => [ - 'RegionServerCount' => [ - 'description' => 'RegionServer数量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'regionServerCount', - ], - 'Value' => [ - 'description' => '使用量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of region servers count', - ], - ], - ], - 'RegionCount' => [ - 'description' => 'region数量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'regionCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of regions count', - ], - ], - ], - 'TableSize' => [ - 'description' => '表大小。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tableSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => 'tb_item', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the table', - ], - ], - ], - 'StoreFileCount' => [ - 'description' => 'store file个数。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'storeFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of store files', - ], - ], - ], - 'DailyReadRequest' => [ - 'description' => '单日的读请求数量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '项目名称。', - 'type' => 'string', - 'example' => 'dailyReadRequest', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'test-update', - ], - ], - ], - 'DailyWriteRequest' => [ - 'description' => '单日的写请求数量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'dailyWriteRequest', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of write requests per day', - ], - ], - ], - 'RegionBalance' => [ - 'description' => 'region均衡度。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'regionBalance', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '1.0', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'The ability to evenly distribute Regions on different RegionServer nodes', - ], - ], - ], - 'RequestBalance' => [ - 'description' => '请求均衡度。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'requestBalance', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '1.0', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'The balance of distributing requests', - ], - ], - ], - 'HotDataSize' => [ - 'description' => '热数据大小。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the hot data size', - ], - ], - ], - 'WarmDataSize' => [ - 'description' => '温数据大小。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataSize', - ], - 'Value' => [ - 'description' => '使用率。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the warm data size'."\n", - ], - ], - ], - 'ColdDataSize' => [ - 'description' => '冷数据大小。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the cold data size', - ], - ], - ], - 'FreezeDataSize' => [ - 'description' => '极冷数据大小。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the freeze data size', - ], - ], - ], - 'WarmConfigDay' => [ - 'description' => '热数据访问天数配置。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmConfigDay', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the warm data size', - ], - ], - ], - 'ColdConfigDay' => [ - 'description' => '冷数据访问天数配置。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldConfigDay', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'day', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Cold config day', - ], - ], - ], - 'FreezeConfigDay' => [ - 'description' => '冷数据访问天数配置。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeConfigDay', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'day', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Freeze config day'."\n", - ], - ], - ], - 'Locality' => [ - 'description' => '本地化率。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'locality', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'The locality of data', - ], - ], - ], - 'ColdAccessDay' => [ - 'description' => '表多少天没被访问。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldAccessDay', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'day', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Cold access day', - ], - ], - ], - 'RegionCountDayGrowthRatio' => [ - 'description' => 'region个数日增量比例。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'regionCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.8', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of region count', - ], - ], - ], - 'TableSizeDayGrowthRatio' => [ - 'description' => '表大小日增量比例。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tableSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '1.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of table size', - ], - ], - ], - 'StoreFileCountDayGrowthRatio' => [ - 'description' => 'store file个数日增量比例。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'storeFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '1.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of store file count', - ], - ], - ], - 'DailyReadRequestDayGrowthRatio' => [ - 'description' => '单日读请求日增量比例。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'dailyReadRequestDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '1.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of table size', - ], - ], - ], - 'DailyWriteRequestDayGrowthRatio' => [ - 'description' => '单日写请求日增量比例。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'dailyWriteRequestDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'The balance of distributing requests', - ], - ], - ], - 'ReadRequestBalance' => [ - 'description' => '读均衡度。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'readRequestBalance', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'The balance of distributing read requests', - ], - ], - ], - 'WriteRequestBalance' => [ - 'description' => '写均衡度。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'writeRequestBalance', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.5', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'The balance of distributing write requests', - ], - ], - ], - ], - ], - 'Analysis' => [ - 'description' => '诊断结果。', - 'type' => 'object', - 'properties' => [ - 'TableScore' => [ - 'description' => '表打分。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '85', - ], - 'RequestUnbalanceSuggestion' => [ - 'description' => '读写不均衡描述。', - 'type' => 'string', - 'example' => 'read request unbalance is <p class=\'report-detail-topic\'>表分区总数量为14,分区平均读请求数量为5032486,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 4ac818a3ab3fd727490a5b4d4dac7667 读请求数量: 15485664</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 021b387ae92959def65041e25eade3aa 读请求数量: 7731980</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d58f33abfe857e5fd0045eaa31c93df8 读请求数量: 7705237</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 4ca84757a7d0948b8552cfeebefa25a9 读请求数量: 7703492</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 1018192dae42995fc75c6d5b5981a9b7 读请求数量: 7695284</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>', - ], - 'RequestHotspotRegionList' => [ - 'description' => '读写热点region列表。', - 'type' => 'array', - 'items' => [ - 'description' => '读写热点region。', - 'type' => 'string', - 'example' => '5f019e8cf7c16be9768634cb99ccbe05', - ], - 'example' => 'null', - ], - 'ReadRequestUnbalanceSuggestion' => [ - 'description' => '读不均衡描述。', - 'type' => 'string', - 'example' => 'read request unbalance is <p class=\'report-detail-topic\'>表分区总数量为14,分区平均读请求数量为5032486,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 4ac818a3ab3fd727490a5b4d4dac7667 读请求数量: 15485664</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 021b387ae92959def65041e25eade3aa 读请求数量: 7731980</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d58f33abfe857e5fd0045eaa31c93df8 读请求数量: 7705237</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 4ca84757a7d0948b8552cfeebefa25a9 读请求数量: 7703492</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 1018192dae42995fc75c6d5b5981a9b7 读请求数量: 7695284</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>', - ], - 'ReadRequestHotspotRegionList' => [ - 'description' => '读热点hotspot regions列表。', - 'type' => 'array', - 'items' => [ - 'description' => '读热点hotspot regions列表。', - 'type' => 'string', - 'example' => '5f019e8cf7c16be9768634cb99ccbe05', - ], - 'example' => 'null', - ], - 'WriteRequestUnbalanceSuggestion' => [ - 'description' => '写不均衡度描述。', - 'type' => 'string', - 'example' => 'write request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均写请求数量为769954,以下分区存在写请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 4a938c08750869c47b7a92edeeec2ccc 写请求数量: 2115051</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: b4d21974df92bdf3589e63e4da1fc923 写请求数量: 1592509</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 25eb6717470f4ddbabe9187ff0fc0cb3 写请求数量: 1585420</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>', - ], - 'WriteRequestHotspotRegionList' => [ - 'description' => '写热点hotspot regions列表。', - 'type' => 'array', - 'items' => [ - 'description' => '写热点hotspot regions。', - 'type' => 'string', - 'example' => '5f019e8cf7c16be9768634cb99ccbe05', - ], - 'example' => 'null', - ], - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + 'InstanceTypes' => [ + 'description' => '机型列表', + 'type' => 'array', + 'items' => ['description' => '机型信息', '$ref' => '#/components/schemas/InstanceType'], ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '返回读取到的数据位置。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Metrics\\": {\\n \\"RegionServerCount\\": {\\n \\"Name\\": \\"regionServerCount\\",\\n \\"Value\\": 10,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Number of region servers count\\"\\n },\\n \\"RegionCount\\": {\\n \\"Name\\": \\"regionCount\\",\\n \\"Value\\": 10,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of regions count\\"\\n },\\n \\"TableSize\\": {\\n \\"Name\\": \\"tableSize\\",\\n \\"Value\\": 0,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Size of the table\\"\\n },\\n \\"StoreFileCount\\": {\\n \\"Name\\": \\"storeFileCount\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of store files\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"test-update\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of write requests per day\\"\\n },\\n \\"RegionBalance\\": {\\n \\"Name\\": \\"regionBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The ability to evenly distribute Regions on different RegionServer nodes\\"\\n },\\n \\"RequestBalance\\": {\\n \\"Name\\": \\"requestBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing requests\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the hot data size\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Size of the cold data size\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the freeze data size\\"\\n },\\n \\"WarmConfigDay\\": {\\n \\"Name\\": \\"warmConfigDay\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\"\\n },\\n \\"ColdConfigDay\\": {\\n \\"Name\\": \\"coldConfigDay\\",\\n \\"Value\\": 10,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Cold config day\\"\\n },\\n \\"FreezeConfigDay\\": {\\n \\"Name\\": \\"freezeConfigDay\\",\\n \\"Value\\": 10,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Freeze config day\\\\n\\"\\n },\\n \\"Locality\\": {\\n \\"Name\\": \\"locality\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The locality of data\\"\\n },\\n \\"ColdAccessDay\\": {\\n \\"Name\\": \\"coldAccessDay\\",\\n \\"Value\\": 3,\\n \\"Unit\\": \\"day\\",\\n \\"Description\\": \\"Cold access day\\"\\n },\\n \\"RegionCountDayGrowthRatio\\": {\\n \\"Name\\": \\"regionCountDayGrowthRatio\\",\\n \\"Value\\": 0.8,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of region count\\"\\n },\\n \\"TableSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"tableSizeDayGrowthRatio\\",\\n \\"Value\\": 1.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of table size\\"\\n },\\n \\"StoreFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"storeFileCountDayGrowthRatio\\",\\n \\"Value\\": 1.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of store file count\\"\\n },\\n \\"DailyReadRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyReadRequestDayGrowthRatio\\",\\n \\"Value\\": 1.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Day growth ratio of table size\\"\\n },\\n \\"DailyWriteRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyWriteRequestDayGrowthRatio\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing requests\\"\\n },\\n \\"ReadRequestBalance\\": {\\n \\"Name\\": \\"readRequestBalance\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing read requests\\"\\n },\\n \\"WriteRequestBalance\\": {\\n \\"Name\\": \\"writeRequestBalance\\",\\n \\"Value\\": 0.5,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The balance of distributing write requests\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"TableScore\\": 85,\\n \\"RequestUnbalanceSuggestion\\": \\"read request unbalance is <p class=\'report-detail-topic\'>表分区总数量为14,分区平均读请求数量为5032486,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 4ac818a3ab3fd727490a5b4d4dac7667 读请求数量: 15485664</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 021b387ae92959def65041e25eade3aa 读请求数量: 7731980</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d58f33abfe857e5fd0045eaa31c93df8 读请求数量: 7705237</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 4ca84757a7d0948b8552cfeebefa25a9 读请求数量: 7703492</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 1018192dae42995fc75c6d5b5981a9b7 读请求数量: 7695284</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"RequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ],\\n \\"ReadRequestUnbalanceSuggestion\\": \\"read request unbalance is <p class=\'report-detail-topic\'>表分区总数量为14,分区平均读请求数量为5032486,以下分区存在读请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 4ac818a3ab3fd727490a5b4d4dac7667 读请求数量: 15485664</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 021b387ae92959def65041e25eade3aa 读请求数量: 7731980</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: d58f33abfe857e5fd0045eaa31c93df8 读请求数量: 7705237</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 4ca84757a7d0948b8552cfeebefa25a9 读请求数量: 7703492</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-4 Region Id: 1018192dae42995fc75c6d5b5981a9b7 读请求数量: 7695284</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"ReadRequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ],\\n \\"WriteRequestUnbalanceSuggestion\\": \\"write request unbalance is <p class=\'report-detail-topic\'>表分区总数量为15,分区平均写请求数量为769954,以下分区存在写请求热点访问:</p><ul class=\'report-detail-ul\'><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 4a938c08750869c47b7a92edeeec2ccc 写请求数量: 2115051</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: b4d21974df92bdf3589e63e4da1fc923 写请求数量: 1592509</li><li class=\'.report-detail-li\'>RegionServer: emr-worker-2 Region Id: 25eb6717470f4ddbabe9187ff0fc0cb3 写请求数量: 1585420</li></ul><p style=\'line-height: 16px; font-size: 16px; margin: 0 auto\'> </p>\\",\\n \\"WriteRequestHotspotRegionList\\": [\\n \\"5f019e8cf7c16be9768634cb99ccbe05\\"\\n ]\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '获取 HBase Table 信息', - 'summary' => '获取 HBase Table 信息。', - ], - 'GetDoctorHBaseRegionServer' => [ - 'description' => 'get Doctor HBaseRegionServer', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => '获取实例类型列表', + 'summary' => '获取EMR机型列表。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListInstanceTypes'], + ], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InstanceTypes\\": [\\n {\\n \\"InstanceTypeFamily\\": \\"ecs.g6\\",\\n \\"InstanceType\\": \\"ecs.g6.large\\",\\n \\"Optimized\\": true,\\n \\"CpuCore\\": 4,\\n \\"InstanceCategory\\": \\"Compute-optimized\\",\\n \\"CpuArchitecture\\": \\"X86\\",\\n \\"LocalStorageCapacity\\": 40,\\n \\"LocalStorageAmount\\": 8,\\n \\"ModifyType\\": \\"\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + ], + 'ListNodeGroups' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -26386,58 +14000,111 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'list', + 'abilityTreeCode' => '13702', + 'abilityTreeNodes' => ['FEATUREemapreduceSNGGYA'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '地域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置,置空表示从头开始。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。取值范围:1~100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'NodeGroupIds', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, + 'title' => '节点组ID列表。', + 'description' => '节点组ID列表。数组元素个数N取值范围:1~100。', + 'type' => 'array', + 'items' => ['description' => '节点分组ID。', 'type' => 'string', 'required' => false, 'example' => 'ng-869471354ecd****'], + 'required' => false, 'example' => 'c-b933c5aac8fe****', + 'maxItems' => 100, ], ], [ - 'name' => 'DateTime', + 'name' => 'NodeGroupNames', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => '日期。', - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', + 'title' => '节点组名称列表。', + 'description' => '节点组名称列表。数组元素个数N取值范围:1~100。', + 'type' => 'array', + 'items' => ['description' => '节点组名称。', 'type' => 'string', 'required' => false, 'example' => 'core-1'], + 'required' => false, + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + 'maxItems' => 100, ], ], [ - 'name' => 'RegionServerHost', + 'name' => 'NodeGroupTypes', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => 'RegionServer的Host。', - 'type' => 'string', - 'required' => true, - 'example' => 'emr-worker-4.cluster-20****'."\n", + 'title' => '节点组类型列表。', + 'description' => '节点组类型列表。数组元素个数N取值范围:1~100。', + 'type' => 'array', + 'items' => ['description' => '节点组类型。取值范围:'."\n" + .'- MASTER:管理类型节点组。'."\n" + .'- CORE:存储类型节点组。'."\n" + .'- TASK:计算类型节点组。', 'type' => 'string', 'required' => false, 'example' => 'CORE'], + 'required' => false, + 'example' => '20', + 'maxItems' => 100, ], ], + [ + 'name' => 'NodeGroupStates', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '节点组状态。', + 'description' => '节点组状态。数组元素个数N取值范围:1~100。', + 'type' => 'array', + 'items' => ['description' => '节点组状态。取值范围:'."\n" + .' - PROVISIONING:初始化中。'."\n" + .' - INCREASING:扩容中。'."\n" + .' - DECREASING:缩容中。'."\n" + .' - SUSPENDED:挂起。'."\n" + .' - RUNNING:运行中。'."\n" + .' - RECONFIGURING:变配中。'."\n" + .' - TERMINATING:终止中。'."\n" + .' - TERMINATED:已终止。', 'type' => 'string', 'required' => false, 'example' => 'RUNNING'], + 'required' => false, + 'example' => '["CORE"]', + 'maxItems' => 50, + ], + ], + [ + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => ''], + ], ], 'responses' => [ 200 => [ @@ -26446,374 +14113,68 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'object', - 'properties' => [ - 'Metrics' => [ - 'description' => '指标信息。', - 'type' => 'object', - 'properties' => [ - 'RegionCount' => [ - 'description' => 'Region的数量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'regionCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '15', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of regions count', - ], - ], - ], - 'TotalReadRequest' => [ - 'description' => '累积的读请求数量', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalReadRequest', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total number of read requests', - ], - ], - ], - 'TotalWriteRequest' => [ - 'description' => '累积的写请求数量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalWriteRequest ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total number of write requests', - ], - ], - ], - 'TotalRequest' => [ - 'description' => '累积的总请求数量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalRequest', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total number of requests', - ], - ], - ], - 'DailyReadRequest' => [ - 'description' => '单日的读请求数量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'dailyReadRequest', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of read requests per day', - ], - ], - ], - 'DailyWriteRequest' => [ - 'description' => '单日的写请求数量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'dailyWriteRequest', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of write requests per day', - ], - ], - ], - 'AvgGc' => [ - 'description' => '平均GC时间。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'avgGc', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '42.3', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'The efficiency of garbage collection in the system', - ], - ], - ], - 'CacheRatio' => [ - 'description' => '缓存比例。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'cacheRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '95.3', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of the BlockCache memory size', - ], - ], - ], - 'DailyReadRequestDayGrowthRatio' => [ - 'description' => '单日读请求数量的增长率。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'dailyReadRequestDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '1.0', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'The growth rate of daily read request quantity.'."\n", - ], - ], - ], - 'DailyWriteRequestDayGrowthRatio' => [ - 'description' => '单日写请求数量的增长率。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'dailyWriteRequestDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '1.0', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'The growth rate of daily write request quantity.', - ], - ], - ], - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + 'NodeGroups' => [ + 'description' => '节点组数组。', + 'type' => 'array', + 'items' => ['description' => '节点组。', '$ref' => '#/components/schemas/NodeGroup'], ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '返回读取到的数据位置。空代表数据已经读取完毕。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Metrics\\": {\\n \\"RegionCount\\": {\\n \\"Name\\": \\"regionCount\\",\\n \\"Value\\": 15,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of regions count\\"\\n },\\n \\"TotalReadRequest\\": {\\n \\"Name\\": \\"totalReadRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of read requests\\"\\n },\\n \\"TotalWriteRequest\\": {\\n \\"Name\\": \\"totalWriteRequest\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of write requests\\"\\n },\\n \\"TotalRequest\\": {\\n \\"Name\\": \\"totalRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of requests\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of read requests per day\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of write requests per day\\"\\n },\\n \\"AvgGc\\": {\\n \\"Name\\": \\"avgGc\\",\\n \\"Value\\": 42.3,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The efficiency of garbage collection in the system\\"\\n },\\n \\"CacheRatio\\": {\\n \\"Name\\": \\"cacheRatio\\",\\n \\"Value\\": 95.3,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of the BlockCache memory size\\"\\n },\\n \\"DailyReadRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyReadRequestDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The growth rate of daily read request quantity.\\\\n\\"\\n },\\n \\"DailyWriteRequestDayGrowthRatio\\": {\\n \\"Name\\": \\"dailyWriteRequestDayGrowthRatio\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The growth rate of daily write request quantity.\\"\\n }\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '获取 HBase ReagionServer 信息', - 'summary' => '获取 HBase ReagionServer 信息。', - ], - 'GetDoctorHBaseRegion' => [ - 'description' => 'list Doctor HBaseRegions', - 'methods' => [ - 'get', - 'post', + 'title' => '查询节点组', + 'summary' => '查询EMR集群节点组列表。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListNodeGroups'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListNodeGroups', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"NodeGroups\\": [\\n {\\n \\"WithPublicIp\\": true,\\n \\"SpotInstanceRemedy\\": false,\\n \\"DataDisks\\": [\\n {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 80,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 5\\n }\\n ],\\n \\"CompensateWithOnDemand\\": true,\\n \\"NodeGroupState\\": \\"RESIZING\\",\\n \\"SystemDisk\\": {\\n \\"Category\\": \\"cloud_essd\\",\\n \\"Size\\": 60,\\n \\"PerformanceLevel\\": \\"PL1\\",\\n \\"Count\\": 1\\n },\\n \\"PrivatePoolOptions\\": {\\n \\"MatchCriteria\\": \\"Open\\",\\n \\"PrivatePoolIds\\": [\\n \\"crp-xxxx\\"\\n ]\\n },\\n \\"NodeGroupType\\": \\"MASTER\\",\\n \\"PaymentType\\": \\"Subscription\\",\\n \\"InstanceTypes\\": [\\n \\"ecs.g7.2xlarge\\"\\n ],\\n \\"CostOptimizedConfig\\": {\\n \\"OnDemandBaseCapacity\\": 80,\\n \\"OnDemandPercentageAboveBaseCapacity\\": 80,\\n \\"SpotInstancePools\\": 2\\n },\\n \\"GracefulShutdown\\": false,\\n \\"SpotStrategy\\": \\"NoSpot\\",\\n \\"StateChangeReason\\": {\\n \\"Message\\": \\"The instance type is required.\\",\\n \\"Code\\": \\"UserRequest\\"\\n },\\n \\"Status\\": \\"CREATED\\",\\n \\"ZoneId\\": \\"cn-hangzhou\\",\\n \\"NodeGroupName\\": \\"core-1\\",\\n \\"VSwitchIds\\": [\\n \\"vsw-bp1opd2qejvhsabfe****\\"\\n ],\\n \\"SpotBidPrices\\": [\\n {\\n \\"BidPrice\\": 1000,\\n \\"InstanceType\\": \\"ecs.g7.2xlarge\\"\\n }\\n ],\\n \\"NodeResizeStrategy\\": \\"PRIORITY\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"AdditionalSecurityGroupIds\\": [\\n \\"\\"\\n ],\\n \\"DeploymentSetStrategy\\": \\"NONE\\",\\n \\"RunningNodeCount\\": 3\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","errorExample":""},{"type":"xml","example":"<ListNodeGroupsResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</RequestId>\\n <MaxResults>20</MaxResults>\\n <NextToken>2</NextToken>\\n <TotalCount>1000</TotalCount>\\n <NodeGroups>\\n <NodeGroupId>G-21E39B11837E****</NodeGroupId>\\n <NodeGroupType>CORE</NodeGroupType>\\n <NodeGroupName>core-1</NodeGroupName>\\n <PaymentType>Subscription</PaymentType>\\n <NodeCount>2</NodeCount>\\n <InstanceTypes>ecs.g6e.xlarge</InstanceTypes>\\n <NodeStatus>Running</NodeStatus>\\n <DataDisks/>\\n <SystemDisk/>\\n <VSwitchIds>vsw-bp1opd2qejvhsabfe****</VSwitchIds>\\n </NodeGroups>\\n</ListNodeGroupsResponse>","errorExample":""}]', + ], + 'ListNodes' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -26821,56 +14182,141 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'list', + 'abilityTreeNodes' => ['FEATUREemapreduceSNGGYA'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置,置空表示从头开始。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。取值范围:1~100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'NodeGroupIds', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', + 'title' => '节点组ID列表。', + 'description' => '节点组ID列表。', + 'type' => 'array', + 'items' => ['description' => '节点组ID。', 'type' => 'string', 'required' => false, 'example' => 'ng-869471354ecd****'."\n"], + 'required' => false, + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', ], ], [ - 'name' => 'ClusterId', + 'name' => 'NodeIds', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, + 'title' => '节点ID列表。', + 'description' => '节点ID列表。', + 'type' => 'array', + 'items' => ['description' => '节点ID。', 'type' => 'string', 'required' => false, 'example' => 'i-bp1cudc25w2bfwl5****'."\n"], + 'required' => false, 'example' => 'c-b933c5aac8fe****', + 'maxItems' => 100, ], ], [ - 'name' => 'DateTime', + 'name' => 'NodeNames', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => '日期。', - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', + 'title' => '节点名称列表。', + 'description' => '节点名称列表。', + 'type' => 'array', + 'items' => ['description' => '节点名称。', 'type' => 'string', 'required' => false, 'example' => 'core1-1'], + 'required' => false, + 'example' => '20', + 'maxItems' => 100, ], ], [ - 'name' => 'HbaseRegionId', + 'name' => 'PrivateIps', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => 'Region ID。', - 'type' => 'string', - 'required' => true, - 'example' => '67f6808f60a8c357103a3a95fe00610e', + 'title' => '私网IP。', + 'description' => '私网IP。', + 'type' => 'array', + 'items' => ['description' => '私网IP。', 'type' => 'string', 'required' => false, 'example' => '10.10.10.8'], + 'required' => false, + 'example' => '["172.12.0.91"]', + 'maxItems' => 1, + ], + ], + [ + 'name' => 'PublicIps', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '公网IP。', + 'description' => '公网IP。', + 'type' => 'array', + 'items' => ['description' => '公网IP。', 'type' => 'string', 'required' => false, 'example' => '42.1.1.**'], + 'required' => false, + 'example' => '["120.13.14.38"]', + 'maxItems' => 1, + ], + ], + [ + 'name' => 'NodeStates', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '节点状态。', + 'description' => '节点状态。', + 'type' => 'array', + 'items' => ['description' => '节点状态。取值范围:'."\n" + .'- Pending:创建中。'."\n" + .'- Starting:启动中。'."\n" + .'- Running:运行中。'."\n" + .'- Stopping:停止中。'."\n" + .'- Stopped:已停止。'."\n" + .'- Terminated:已终止。', 'type' => 'string', 'required' => false, 'example' => 'Running'], + 'required' => false, + 'example' => '["CREATED"]', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => [ + 'title' => '标签列表。', + 'description' => '绑定的标签列表。', + 'type' => 'array', + 'items' => ['description' => '标签。', 'required' => false, '$ref' => '#/components/schemas/Tag'], + 'required' => false, + 'maxItems' => 20, ], ], ], @@ -26878,252 +14324,71 @@ 200 => [ 'schema' => [ 'title' => '返回数据', - 'description' => '返回数据', + 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'object', - 'properties' => [ - 'TableName' => [ - 'description' => '表名称。', - 'type' => 'string', - 'example' => 'tb_item', - ], - 'RegionServerHost' => [ - 'description' => 'RegionServer的Host。', - 'type' => 'string', - 'example' => 'emr-worker-2.cluster-20****', - ], - 'Metrics' => [ - 'description' => '指标信息。', - 'type' => 'object', - 'properties' => [ - 'TotalReadRequest' => [ - 'description' => '总的读取请求次数', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalReadRequest', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total read request', - ], - ], - ], - 'TotalWriteRequest' => [ - 'description' => '总的写入请求次数', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalWriteRequest', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total Write Request', - ], - ], - ], - 'StoreFileCount' => [ - 'description' => 'store file个数。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'storeFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of store file', - ], - ], - ], - 'DailyReadRequest' => [ - 'description' => '单日的读请求数量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'dailyReadRequest ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of read requests per day'."\n", - ], - ], - ], - 'DailyWriteRequest' => [ - 'description' => '单日的写请求数量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'dailyWriteRequest ', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of write requests per day'."\n", - ], - ], - ], - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', + 'Nodes' => [ + 'description' => '节点列表。', + 'type' => 'array', + 'items' => ['description' => '节点信息。', '$ref' => '#/components/schemas/Node'], ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '下次开始读取的位置。返回空时表示数据已经读取完毕。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '本次请求条件下的总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"TableName\\": \\"tb_item\\",\\n \\"RegionServerHost\\": \\"emr-worker-2.cluster-20****\\",\\n \\"Metrics\\": {\\n \\"TotalReadRequest\\": {\\n \\"Name\\": \\"totalReadRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total read request\\"\\n },\\n \\"TotalWriteRequest\\": {\\n \\"Name\\": \\"totalWriteRequest\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total Write Request\\"\\n },\\n \\"StoreFileCount\\": {\\n \\"Name\\": \\"storeFileCount\\",\\n \\"Value\\": 100,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of store file\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of read requests per day\\\\n\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\\\t\\",\\n \\"Value\\": 1000,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of write requests per day\\\\n\\"\\n }\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '获取 HBase Region 信息', - 'summary' => '获取 HBase Region 信息。', - ], - 'GetDoctorHBaseCluster' => [ - 'description' => 'get Doctor HBaseCluster', - 'methods' => [ - 'get', - 'post', + 'title' => '查询节点', + 'summary' => '查询EMR集群节点列表。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListNodes'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListNodes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Nodes\\": [\\n {\\n \\"AutoRenewDurationUnit\\": \\"Month\\",\\n \\"NodeState\\": \\"Running\\",\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"NodeName\\": \\"core1-1\\",\\n \\"PublicIp\\": \\"42.1.1.**\\",\\n \\"AutoRenew\\": false,\\n \\"CreateTime\\": 1603728394857,\\n \\"AutoRenewDuration\\": 1,\\n \\"PrivateIp\\": \\"10.10.**.**\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupType\\": \\"CORE\\",\\n \\"NodeId\\": \\"i-bp1cudc25w2bfwl5****\\",\\n \\"InstanceType\\": \\"ecs.g7.xlarge\\",\\n \\"ExpireTime\\": 1603728394857,\\n \\"MaintenanceStatus\\": \\"\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","errorExample":""},{"type":"xml","example":"<ListNodesResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</RequestId>\\n <MaxResults>20</MaxResults>\\n <NextToken>2</NextToken>\\n <TotalCount>1000</TotalCount>\\n <Nodes>\\n <NodeName>emr-header-1</NodeName>\\n <NodeId>i-bp1opd2qejvhsab****</NodeId>\\n <PublicIp>42.120.75.***</PublicIp>\\n <PrivateIp>10.10.10.1</PrivateIp>\\n <InstanceType>ecs.g6e.xlarge</InstanceType>\\n <NodeStatus>Running</NodeStatus>\\n <NodeGroupId>G-21E39B11837E****</NodeGroupId>\\n <NodeGroupType>CORE</NodeGroupType>\\n <StateChangeReason>手动重启</StateChangeReason>\\n </Nodes>\\n</ListNodesResponse>","errorExample":""}]', + ], + 'ListReleaseVersions' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -27131,46 +14396,27 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'list', + 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ClusterId', + 'name' => 'IaasType', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => 'IaaS资源类型。', 'description' => 'IaaS资源类型。', 'type' => 'string', 'required' => false, 'example' => 'ECS'], ], [ - 'name' => 'DateTime', + 'name' => 'ClusterType', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '日期。', - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', - ], + 'schema' => ['title' => '集群类型。', 'description' => '集群类型。', 'type' => 'string', 'required' => true, 'example' => 'DATALAKE'], ], ], 'responses' => [ @@ -27180,551 +14426,128 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回数据。', - 'type' => 'object', - 'properties' => [ - 'Metrics' => [ - 'description' => '指标信息。', - 'type' => 'object', - 'properties' => [ - 'TableCount' => [ - 'description' => '表数量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tableCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of tables', - ], - ], - ], - 'TotalDataSize' => [ - 'description' => '集群大小。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '256', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total data size in megabytes (MB)', - ], - ], - ], - 'TotalReadRequest' => [ - 'description' => '总的读取请求次数。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalReadRequest', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '430', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total number of read requests', - ], - ], - ], - 'TotalWriteRequest' => [ - 'description' => '总的写入请求次数', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalWriteRequest', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '520', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total number of write requests', - ], - ], - ], - 'AvgLoad' => [ - 'description' => '平均负载。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'avgLoad', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '36.0', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'The average load under normal working conditions', - ], - ], - ], - 'NormalAvgLoad' => [ - 'description' => '正常的平均负载。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'normalAvgLoad', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '526.4', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'The average load under normal working conditions', - ], - ], - ], - 'RegionBalance' => [ - 'description' => 'region均衡度。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'regionBalance', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '1.0', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'The ability to evenly distribute Regions on different RegionServer nodes', - ], - ], - ], - 'TotalRequest' => [ - 'description' => '集群请求总数。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalRequest', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '576', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total number of requests', - ], - ], - ], - 'RegionServerCount' => [ - 'description' => 'Region Server 数量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'regionServerCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of region servers count', - ], - ], - ], - 'RegionCount' => [ - 'description' => 'Region 数量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'regionCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '161', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of regions count', - ], - ], - ], - 'MemHeap' => [ - 'description' => '内存大小。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'memHeap', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '240', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Memory heap usage in megabytes (MB)', - ], - ], - ], - 'StoreFileCount' => [ - 'description' => 'store file个数。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'storeFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '298', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of store files', - ], - ], - ], - 'DailyReadRequest' => [ - 'description' => '单日的读请求数量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'dailyReadRequest', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '430', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of read requests per day', - ], - ], - ], - 'DailyWriteRequest' => [ - 'description' => '单日的写请求数量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'dailyWriteRequest', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '128', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of write requests per day', - ], - ], - ], - ], - ], - 'Analysis' => [ - 'description' => '分析结果。', - 'type' => 'object', - 'properties' => [ - 'HbaseScore' => [ - 'description' => 'HBase 集群整体得分。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '85', - ], - ], + 'ReleaseVersions' => [ + 'description' => '版本列表。', + 'type' => 'array', + 'items' => [ + 'description' => '版本。', + 'type' => 'object', + 'properties' => [ + 'Series' => ['title' => '版本序列。', 'description' => '版本序列。', 'type' => 'string', 'example' => 'EMR-5.X'], + 'ReleaseVersion' => ['title' => 'EMR发行版。', 'description' => 'EMR发行版。', 'type' => 'string', 'example' => 'EMR-5.8.0'], + 'IaasType' => ['title' => 'IaaS类型。', 'description' => 'IaaS类型。', 'type' => 'string', 'example' => 'ECS'], ], ], ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '返回读取到的数据位置。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Metrics\\": {\\n \\"TableCount\\": {\\n \\"Name\\": \\"tableCount\\",\\n \\"Value\\": 10,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tables\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 256,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\"\\n },\\n \\"TotalReadRequest\\": {\\n \\"Name\\": \\"totalReadRequest\\",\\n \\"Value\\": 430,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of read requests\\"\\n },\\n \\"TotalWriteRequest\\": {\\n \\"Name\\": \\"totalWriteRequest\\",\\n \\"Value\\": 520,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of write requests\\"\\n },\\n \\"AvgLoad\\": {\\n \\"Name\\": \\"avgLoad\\",\\n \\"Value\\": 36,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The average load under normal working conditions\\"\\n },\\n \\"NormalAvgLoad\\": {\\n \\"Name\\": \\"normalAvgLoad\\",\\n \\"Value\\": 526.4,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The average load under normal working conditions\\"\\n },\\n \\"RegionBalance\\": {\\n \\"Name\\": \\"regionBalance\\",\\n \\"Value\\": 1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"The ability to evenly distribute Regions on different RegionServer nodes\\"\\n },\\n \\"TotalRequest\\": {\\n \\"Name\\": \\"totalRequest\\",\\n \\"Value\\": 576,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total number of requests\\"\\n },\\n \\"RegionServerCount\\": {\\n \\"Name\\": \\"regionServerCount\\",\\n \\"Value\\": 6,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of region servers count\\"\\n },\\n \\"RegionCount\\": {\\n \\"Name\\": \\"regionCount\\",\\n \\"Value\\": 161,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of regions count\\"\\n },\\n \\"MemHeap\\": {\\n \\"Name\\": \\"memHeap\\",\\n \\"Value\\": 240,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Memory heap usage in megabytes (MB)\\"\\n },\\n \\"StoreFileCount\\": {\\n \\"Name\\": \\"storeFileCount\\",\\n \\"Value\\": 298,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of store files\\"\\n },\\n \\"DailyReadRequest\\": {\\n \\"Name\\": \\"dailyReadRequest\\",\\n \\"Value\\": 430,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of read requests per day\\"\\n },\\n \\"DailyWriteRequest\\": {\\n \\"Name\\": \\"dailyWriteRequest\\",\\n \\"Value\\": 128,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of write requests per day\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HbaseScore\\": 85\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '获取 HBase 集群信息', - 'summary' => '获取 HBase 集群维度指标信息。', - ], - 'GetDoctorHDFSDirectory' => [ - 'description' => 'get Doctor HDFSNode', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => '查询版本', + 'summary' => '查看EMR发布主板本。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListReleaseVersions'], + ], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ReleaseVersions\\": [\\n {\\n \\"Series\\": \\"EMR-5.X\\",\\n \\"ReleaseVersion\\": \\"EMR-5.8.0\\",\\n \\"IaasType\\": \\"ECS\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + ], + 'ListScripts' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'list', + 'abilityTreeCode' => '119909', + 'abilityTreeNodes' => ['FEATUREemapreduceY1BE2N', 'FEATUREemapreduce42QKNE'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'DateTime', + 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', - ], + 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'dd6b1b2a-5837-5237-abe4-ff0c89568980'], ], [ - 'name' => 'DirPath', + 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'ScriptType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '集群脚本类型。', 'description' => '集群脚本类型。取值范围:'."\n" + ."\n" + .'- BOOTSTRAP:引导脚本。'."\n" + .'- NORMAL:普通集群脚本。', 'type' => 'string', 'required' => true, 'example' => 'BOOTSTRAP'], + ], + [ + 'name' => 'ScriptName', + 'in' => 'query', + 'schema' => ['title' => '集群脚本名称,仅限NORMAL脚本,支持模糊搜索。', 'description' => '集群脚本名称,仅限NORMAL脚本,支持模糊搜索。', 'type' => 'string', 'required' => false], + ], + [ + 'name' => 'ScriptId', + 'in' => 'query', + 'schema' => ['title' => '集群脚本id,仅限NORMAL脚本', 'description' => '集群脚本id,仅限NORMAL脚本', 'type' => 'string', 'required' => false], + ], + [ + 'name' => 'Statuses', + 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => '目录名称。目录不超过5级。', - 'type' => 'string', - 'required' => true, - 'example' => '/tmp/test', + 'title' => '脚本状态,仅支持NORMAL脚本。', + 'description' => '脚本状态列表。', + 'type' => 'array', + 'items' => ['description' => '脚本状态,仅支持NORMAL脚本。', 'type' => 'string', 'required' => false], + 'required' => false, ], ], ], @@ -27735,1013 +14558,96 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'HDFS目录分析数据。', - 'type' => 'object', - 'properties' => [ - 'Depth' => [ - 'description' => '目录层级。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'User' => [ - 'description' => '目录属主。', - 'type' => 'string', - 'example' => 'DW', - ], - 'Group' => [ - 'description' => '目录属组。', - 'type' => 'string', - 'example' => 'DW', - ], - 'Metrics' => [ - 'description' => '指标信息。', - 'type' => 'object', - 'properties' => [ - 'TotalFileCount' => [ - 'description' => '总文件个数。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '51683279', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of total files'."\n", - ], - ], - ], - 'LargeFileCount' => [ - 'description' => '大文件个数。大文件指的是1 GB以上大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of large files'."\n", - ], - ], - ], - 'MediumFileCount' => [ - 'description' => '中文件个数。中文件指的是128 MB以上,1 GB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '234', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of medium files'."\n", - ], - ], - ], - 'SmallFileCount' => [ - 'description' => '小文件个数。小文件指的是10 MB以上,128 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12345', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of small files'."\n", - ], - ], - ], - 'TinyFileCount' => [ - 'description' => '极小文件个数。极小文件指的是0 MB以上,10 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '232131', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of tiny files'."\n", - ], - ], - ], - 'EmptyFileCount' => [ - 'description' => '空文件个数。空文件指的是0 MB大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '15595897', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of empty files'."\n", - ], - ], - ], - 'HotDataSize' => [ - 'description' => '热数据的数据量大小。热数据指的是7日内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6701531944206', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the hot data size'."\n", - ], - ], - ], - 'WarmDataSize' => [ - 'description' => '温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4062349775577', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the warm data size', - ], - ], - ], - 'ColdDataSize' => [ - 'description' => '冷数据的数据量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5570958082267', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the cold data size'."\n", - ], - ], - ], - 'FreezeDataSize' => [ - 'description' => '极冷数据的数据量大小。极冷数据指的是90日以内都没有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1231312431', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the freeze data size'."\n", - ], - ], - ], - 'TotalDataSize' => [ - 'description' => '总数据量大小。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDataSize'."\n", - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '62086342083623', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total data size in megabytes (MB)'."\n", - ], - ], - ], - 'TotalFileDayGrowthCount' => [ - 'description' => '总文件个数日增量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '27809', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of total files'."\n", - ], - ], - ], - 'LargeFileDayGrowthCount' => [ - 'description' => '大文件个数日增量。大文件指的是1 GB以上大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of large files'."\n", - ], - ], - ], - 'MediumFileDayGrowthCount' => [ - 'description' => '中文件个数增量。比中文件指的是128 MB以上,1 GB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '176', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of medium files'."\n", - ], - ], - ], - 'SmallFileDayGrowthCount' => [ - 'description' => '小文件个数日增量。小文件指的是10 MB以上,128 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12345', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of small files'."\n", - ], - ], - ], - 'TinyFileDayGrowthCount' => [ - 'description' => '极小文件个数日增量。极小文件指的是0 MB以上,10 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-123'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of tiny files'."\n", - ], - ], - ], - 'EmptyFileDayGrowthCount' => [ - 'description' => '空文件个数日增量。空文件指的是0 MB大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileDayGrowthCount'."\n", - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '114', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of empty files'."\n", - ], - ], - ], - 'HotDataDayGrowthSize' => [ - 'description' => '热数据的数据量日增量大小。热数据指的是7日内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123154'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of hot data'."\n", - ], - ], - ], - 'WarmDataDayGrowthSize' => [ - 'description' => '温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-64806998319'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of warm data'."\n", - ], - ], - ], - 'ColdDataDayGrowthSize' => [ - 'description' => '冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-182636577752'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of cold data'."\n", - ], - ], - ], - 'FreezeDataDayGrowthSize' => [ - 'description' => '极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-167683929450'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of freeze data'."\n", - ], - ], - ], - 'TotalDataDayGrowthSize' => [ - 'description' => '全部数据的数据量日增量大小。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '256482228248', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of total data'."\n", - ], - ], - ], - 'TotalFileCountDayGrowthRatio' => [ - 'description' => '总文件个数日环比。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalFileCountDayGrowthRatio'."\n", - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.02'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of total files'."\n", - ], - ], - ], - 'LargeFileCountDayGrowthRatio' => [ - 'description' => '大文件个数日环比。大文件指的是1 GB以上大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.39'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of large files'."\n", - ], - ], - ], - 'MediumFileCountDayGrowthRatio' => [ - 'description' => '中文件个数日环比。比中文件指的是128 MB以上,1 GB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.19'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of medium files'."\n", - ], - ], - ], - 'SmallFileCountDayGrowthRatio' => [ - 'description' => '小文件个数日环比。小文件指的是10 MB以上,128 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.02'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of small files'."\n", - ], - ], - ], - 'TinyFileCountDayGrowthRatio' => [ - 'description' => '极小文件个数日环比。极小文件指的是0 MB以上,10 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.003'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of tiny files'."\n", - ], - ], - ], - 'EmptyFileCountDayGrowthRatio' => [ - 'description' => '空文件个数日环比。空文件指的是0 MB大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => ' '."\n" - .'0.005'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of empty files'."\n", - ], - ], - ], - 'HotDataSizeDayGrowthRatio' => [ - 'description' => '热数据的数据量大小日环比。热数据指的是7日内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.1114'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of hot data size'."\n", - ], - ], - ], - 'WarmDataSizeDayGrowthRatio' => [ - 'description' => '温数据的数据量大小日环比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '-0.015'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of warm data size'."\n", - ], - ], - ], - 'ColdDataSizeDayGrowthRatio' => [ - 'description' => '冷数据的数据量大小日环比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '-0.03'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of cold data size'."\n", - ], - ], - ], - 'FreezeDataSizeDayGrowthRatio' => [ - 'description' => '极冷数据的数据量大小日环比。极冷数据指的是90日以内都没有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '-0.09'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of freeze data size'."\n", - ], - ], - ], - 'TotalDataSizeDayGrowthRatio' => [ - 'description' => '总数据量大小日环比。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => ' '."\n" - .'0.14'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of total data size'."\n", - ], - ], - ], - ], + 'Scripts' => [ + 'description' => '脚本列表。', + 'type' => 'array', + 'items' => [ + 'description' => '脚本。', + 'type' => 'object', + 'properties' => [ + 'Action' => ['title' => 'API名称。', 'description' => 'API名称。', 'type' => 'string', 'example' => 'ListScripts'], + 'RegionId' => ['title' => '区域ID。', 'description' => '区域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'ScriptId' => ['title' => '脚本ID。', 'description' => '脚本ID。', 'type' => 'string', 'example' => 'cs-bf25219d103043a0820613e32781****'], + 'ScriptName' => ['title' => '集群脚本名称。', 'description' => '脚本名称。', 'type' => 'string', 'example' => 'check_env'], + 'ScriptPath' => ['title' => '集群脚本路径。', 'description' => '脚本路径。', 'type' => 'string', 'example' => 'oss://bucket1/check_evn.sh'], + 'ScriptArgs' => ['title' => '集群脚本执行参数。', 'description' => '脚本执行参数。', 'type' => 'string', 'example' => '--mode=client -h -p'], + 'LastUpdateTime' => ['title' => '最近一次编辑时间。', 'description' => '最近一次修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1639714634819'], + 'ExecutionFailStrategy' => ['title' => '执行失败策略。', 'description' => '执行失败策略。取值范围:'."\n" + ."\n" + .'- FAILED_CONTINUE:失败后继续执行。'."\n" + .'- FAILED_BLOCK:失败后阻塞。', 'type' => 'string', 'example' => 'FAILED_CONTINUE'], + 'ExecutionMoment' => ['title' => '执行时机。', 'description' => '执行时机。取值范围:'."\n" + ."\n" + .'- BEFORE_INSTALL:应用安装之前。'."\n" + .'- AFTER_STARTED: 应用启动后。', 'type' => 'string', 'example' => 'BEFORE_INSTALL'], + 'NodeSelector' => ['title' => '节点选择器。', 'description' => '节点选择器。', '$ref' => '#/components/schemas/NodeSelector'], + 'StartTime' => ['title' => '开始执行时间。', 'description' => '开始执行时间。只有当ScriptType取值为NORMAL,才有该返回值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1639714634000'], + 'EndTime' => ['title' => '结束执行时间。', 'description' => '结束执行时间。只有当ScriptType取值为NORMAL,才有该返回值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1639715635819'], + 'ExecutionState' => ['description' => '脚本执行的状态,只有当`ScriptType`取值为`NORMAL`,才有该返回值 。取值范围:'."\n" + ."\n" + .'- SCRIPT_COMPLETED:脚本执行成功。'."\n" + .'- SCRIPT_SUBMISSION_FAILED:脚本执行失败。'."\n" + .'- SCRIPT_RUNNING:脚本执行中。', 'type' => 'string', 'example' => 'SCRIPT_COMPLETED'], ], ], ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '返回读取到的数据位置。', 'type' => 'string', 'example' => 'dd6b1b2a-5837-5237-abe4-ff0c89568982'], + 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Depth\\": 2,\\n \\"User\\": \\"DW\\",\\n \\"Group\\": \\"DW\\",\\n \\"Metrics\\": {\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 51683279,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 234,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of medium files\\\\n\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 12345,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 232131,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 15595897,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of empty files\\\\n\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 6701531944206,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the hot data size\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 4062349775577,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 5570958082267,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the cold data size\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1231312431,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the freeze data size\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\\\n\\",\\n \\"Value\\": 62086342083623,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 27809,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 2,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 176,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 12345,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": -123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of tiny files\\\\n\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\\\n\\",\\n \\"Value\\": 114,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 123154,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": -64806998319,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": -182636577752,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": -167683929450,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 256482228248,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\\\n\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.39,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.19,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.003,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.005,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\\\n\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.1114,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.015,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.03,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.09,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.14,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '获取HDFS特定目录分析结果', - 'summary' => '通过EMR Doctor获取集群HDFS特定目录数据分析结果,目录不超过5级。', - ], - 'ListDoctorJobsStats' => [ - 'description' => 'list stats groupBy jobs by yarn', - 'methods' => [ - 'get', - 'post', + 'title' => '查询脚本', + 'summary' => '查询EMR集群引导脚本或普通脚本。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListScripts'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListScripts', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Scripts\\": [\\n {\\n \\"Action\\": \\"ListScripts\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ScriptId\\": \\"cs-bf25219d103043a0820613e32781****\\",\\n \\"ScriptName\\": \\"check_env\\",\\n \\"ScriptPath\\": \\"oss://bucket1/check_evn.sh\\",\\n \\"ScriptArgs\\": \\"--mode=client -h -p\\",\\n \\"LastUpdateTime\\": 1639714634819,\\n \\"ExecutionFailStrategy\\": \\"FAILED_CONTINUE\\",\\n \\"ExecutionMoment\\": \\"BEFORE_INSTALL\\",\\n \\"NodeSelector\\": {\\n \\"NodeGroupTypes\\": [\\n \\"MASTER\\"\\n ],\\n \\"NodeGroupName\\": \\"master-1\\",\\n \\"NodeGroupId\\": \\"ng-869471354ecd****\\",\\n \\"NodeGroupNames\\": [\\n \\"master-1\\"\\n ],\\n \\"NodeSelectType\\": \\"CLUSTER\\",\\n \\"NodeGroupIds\\": [\\n \\"ng-869471354ecd****\\"\\n ],\\n \\"NodeNames\\": [\\n \\"master-1-1\\"\\n ]\\n },\\n \\"StartTime\\": 1639714634000,\\n \\"EndTime\\": 1639715635819,\\n \\"ExecutionState\\": \\"SCRIPT_COMPLETED\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"dd6b1b2a-5837-5237-abe4-ff0c89568982\\",\\n \\"MaxResults\\": 10,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + ], + 'ListTagResources' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -28750,163 +14656,64 @@ 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '24996', + 'abilityTreeNodes' => ['FEATUREemapreduceGZP0FZ', 'FEATUREemapreduceZG5CIX'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'ClusterId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => '标记当前开始读取的位置。', - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], + 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。为空时表示从头开始读。', 'type' => 'string', 'required' => false, 'example' => '2'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => '一次获取的最大记录数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ - 'name' => 'StartRange', + 'name' => 'ResourceType', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => '开始时间范围,过滤开始时间在一个时间范围内的任务。', - 'type' => 'object', - 'properties' => [ - 'StartTime' => [ - 'description' => '任务提交时间起始范围,Unix时间戳,单位毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1679036826987', - ], - 'EndTime' => [ - 'description' => '任务提交时间结束范围,Unix时间戳,单位毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1666406820000', - ], - ], - 'required' => false, - ], + 'schema' => ['title' => '资源类型。', 'description' => '资源类型。 取值:cluster。', 'type' => 'string', 'required' => true, 'example' => 'cluster'], ], [ - 'name' => 'EndRange', + 'name' => 'ResourceIds', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'description' => '结束时间范围,过滤出结束时间在一个时间范围内的任务。', - 'type' => 'object', - 'properties' => [ - 'StartTime' => [ - 'description' => '任务结束时间起始范围,Unix时间戳,单位毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1675180800000', - ], - 'EndTime' => [ - 'description' => '任务结束时间结束范围,Unix时间戳,单位毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1680019200000', - ], - ], + 'title' => '资源ID列表。', + 'description' => '资源ID列表。数组元素个数N取值范围:1~1', + 'type' => 'array', + 'items' => ['description' => '资源ID。ResourceType取值cluster时,取值为集群ID。'."\n" + ."\n", 'type' => 'string', 'required' => false, 'example' => 'c-b933c5aac8fe****'], 'required' => false, + 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + 'maxItems' => 1, ], ], [ - 'name' => 'GroupBy', + 'name' => 'Tags', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'description' => '分组字段列表。'."\n" - ."\n" - .'目前只取第一个值,后续会放开多种分组交叉。', + 'title' => '标签列表。', + 'description' => '标签数组。数组元素个数N取值范围:1~20。', 'type' => 'array', - 'items' => [ - 'description' => '分组字段。取值:'."\n" - .'- queue:根据队列分组。'."\n" - .'- user:根据用户分组。'."\n" - .'- type:根据引擎类型分组。', - 'type' => 'string', - 'required' => false, - 'example' => 'type', - ], + 'items' => ['description' => '标签。', 'required' => false, '$ref' => '#/components/schemas/Tag'], 'required' => false, - 'example' => 'null', - ], - ], - [ - 'name' => 'OrderType', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '排序方向,取值:'."\n" - ."\n" - .'- ASC: 升序排列。'."\n" - .'- DESC:降序排列。', - 'type' => 'string', - 'required' => false, - 'example' => 'ASC', - ], - ], - [ - 'name' => 'OrderBy', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '排序字段。取值:'."\n" - ."\n" - .'- vcoreSeconds:任务CPU使用量。'."\n" - .'- memSeconds:任务内存使用量。', - 'type' => 'string', - 'required' => false, - 'example' => 'vcoreSeconds', + 'example' => '20', ], ], ], @@ -28914,281 +14721,130 @@ 200 => [ 'schema' => [ 'title' => '返回数据', - 'description' => '返回数据', + 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '任务汇总列表信息。', + 'TagResources' => [ + 'description' => '标签资源列表。包含了资源ID、资源类型和标签键值信息。', 'type' => 'array', 'items' => [ - 'description' => '任务汇总信息。', + 'description' => '标签资源。', 'type' => 'object', 'properties' => [ - 'Queue' => [ - 'description' => '任务提交到YARN的队列。', - 'type' => 'string', - 'example' => 'DW', - ], - 'Type' => [ - 'description' => '计算引擎类型。', - 'type' => 'string', - 'example' => 'SPARK', - ], - 'User' => [ - 'description' => '任务提交用户名。', - 'type' => 'string', - 'example' => 'DW', - ], - 'VcoreSeconds' => [ - 'description' => 'CPU总使用量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'vcoreSeconds', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '11123', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'VCores * Sec', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total vcore usage over time in seconds', - ], - ], - ], - 'MemSeconds' => [ - 'description' => '内存总是用量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'memSeconds', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12312312', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB * Sec', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total memory usage over time in seconds', - ], - ], - ], - 'AppsCount' => [ - 'description' => '任务总量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'appsCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total apps count', - ], - ], - ], + 'TagKey' => ['title' => '标签键。', 'description' => '标签键。', 'type' => 'string', 'example' => 'Department'], + 'TagValue' => ['title' => '标签值。', 'description' => '标签值。', 'type' => 'string', 'example' => 'Dev'], + 'ResourceType' => ['title' => '资源类型。', 'description' => '资源类型。', 'type' => 'string', 'example' => 'cluster'], + 'ResourceId' => ['title' => '资源ID。', 'description' => '资源ID。', 'type' => 'string', 'example' => 'c-b933c5aac8fe****'], ], ], ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '返回读取到的数据位置。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '本次请求所返回的最大记录条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '本次请求条件下的数据总量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '372D4E9B-2509-5EFA-846B-B34FBF143F56'], + 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '返回读取到的数据位置。空代表数据已经读取完毕。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Queue\\": \\"DW\\",\\n \\"Type\\": \\"SPARK\\",\\n \\"User\\": \\"DW\\",\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\",\\n \\"Value\\": 11123,\\n \\"Unit\\": \\"VCores * Sec\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\"\\n },\\n \\"AppsCount\\": {\\n \\"Name\\": \\"appsCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Total apps count\\"\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => '批量获取任务运行汇总数据', - 'summary' => '通过EMR Doctor批量获取任务基本运行汇总信息。', - ], - 'ListDoctorReports' => [ - 'description' => 'list all reports analysis by emr doctor', - 'methods' => [ - 'get', - 'post', + 'title' => '查询标签', + 'summary' => '查询EMR集群绑定的标签列表。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTagResources'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListTagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TagResources\\": [\\n {\\n \\"TagKey\\": \\"Department\\",\\n \\"TagValue\\": \\"Dev\\",\\n \\"ResourceType\\": \\"cluster\\",\\n \\"ResourceId\\": \\"c-b933c5aac8fe****\\"\\n }\\n ],\\n \\"RequestId\\": \\"372D4E9B-2509-5EFA-846B-B34FBF143F56\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","errorExample":""},{"type":"xml","example":"<ListTagResourcesResponse>\\n <RequestId>372D4E9B-2509-5EFA-846B-B34FBF143F56</RequestId>\\n <Data/>\\n</ListTagResourcesResponse>","errorExample":""}]', + ], + 'ListUsers' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'abilityTreeCode' => '119862', + 'abilityTreeNodes' => ['FEATUREemapreduceQF0AGF'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ 'name' => 'NextToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => '标记当前开始读取的位置。', - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], + 'schema' => ['title' => '标记当前开始读取的位置。', 'description' => '标记当前开始读取的位置。', 'type' => 'string', 'required' => false, 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], ], [ 'name' => 'MaxResults', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '一次获取的最大记录数。', 'description' => '一次获取的最大记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'UserName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '用户名,支持模糊搜索。', 'description' => '用户名,支持模糊搜索。', 'type' => 'string', 'required' => false, 'example' => 'test'], + ], + [ + 'name' => 'UserNames', + 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => '一次获取的最大记录数。', - 'type' => 'integer', - 'format' => 'int32', + 'description' => '用户名列表。数组元数个数 N 的取值范围:0~20。', + 'type' => 'array', + 'items' => ['description' => '用户名。', 'type' => 'string', 'required' => false, 'example' => 'xi'], 'required' => false, - 'example' => '20', ], ], ], @@ -29199,374 +14855,202 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '报告列表。', + 'IsAdmin' => ['description' => '是否为admin用户:'."\n" + .'- true'."\n" + .'- false', 'type' => 'boolean', 'deprecated' => true, 'example' => 'False'], + 'Users' => [ + 'title' => '用户列表。', + 'description' => '用户列表。', 'type' => 'array', 'items' => [ - 'description' => '报告详情。', 'type' => 'object', 'properties' => [ - 'DateTime' => [ - 'description' => '报告日期。', - 'type' => 'string', - 'example' => '2023-06-29', - ], - 'ComponentTypes' => [ - 'description' => '组件类型列表。', - 'type' => 'array', - 'items' => [ - 'description' => '组件类型。取值:'."\n" - .'- compute '."\n" - .'- hive'."\n" - .'- hdfs'."\n" - .'- yarn'."\n" - .'- oss'."\n" - .'- hbase', - 'type' => 'string', - 'example' => 'compute', - ], - 'enumValueTitles' => [ - 'compute' => 'compute', - 'hive' => 'hive', - 'hdfs' => 'hdfs', - 'yarn' => 'yarn', - 'oss' => 'oss', - 'hbase' => 'hbase', - ], - 'example' => 'null', - ], - 'SummaryReport' => [ - 'description' => '报告摘要。', - 'type' => 'object', - 'properties' => [ - 'Score' => [ - 'description' => '分数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '88', - ], - 'Summary' => [ - 'description' => '报告摘要。', - 'type' => 'string', - 'example' => '<h4> [计算检测] 计算健康度分数为 88 ,健康度良好,继续加油 </h4><p style=\'\'text-indent:2em\'\'>集群中大部分任务保持健康状态 </p><p style=\'\'text-indent:2em\'\'>集群内存利用率为:47.8% 偏低 </p>', - ], - 'Suggestion' => [ - 'description' => '优化建议。', - 'type' => 'string', - 'example' => '<h3> 计算健康度分数为 88 ,集群处于健康状态,继续保持 </h3><ul><li><strong>计算任务扫描</strong><ul><li>对集群中 1518 个计算任务进行了扫描,包含 <span style=\'\'color: #D93026; \'\'>209 个任务处于不健康状态 </span>,<span style=\'\'color: #F1A600; \'\'>596 个任务处于亚健康状态 </span>,<span style=\'\'color: #1E8E3E; \'\'>713 个任务处于健康状态</span>。 </ul><ul>其中:<li> Tez 任务 1518 个,加权平均分为 88 ,内存使用量占整体集群的 100.0% ,CPU 使用量占整体集群的 100.0% ,其中 209 个任务处于不健康状态,596 个任务处于亚健康状态;</li></ul><ul>可在下面的任务明细列表中点击\'\'查看详情\'\',查看存在的具体问题及解决方案。其中\'\'低分任务算力内存时 (GB*Sec)Top20 \'\'表根据内存时使用量进行排序,由于大任务对集群整体影响可能更大,建议优先关注。</ul><li><strong><span style=\'\'color: #D93026; \'\'>内存利用率较低</span></strong><ul><li>集群整体内存利用率为 47.8% ,内存利用率较低,计算资源存在浪费,建议优先对内存算力时较大且内存利用率较低的 TOP 任务进行优化</ul><ul><li>其中,Tez作业平均内存利用率为 47.8% , </ul></ul>', - ], - ], - ], + 'LdapUrl' => ['title' => 'LDAP链接。', 'description' => 'LDAP链接。', 'type' => 'string', 'example' => 'ldap://master-1-1.c-c6ce2d16d118****.cn-hangzhou.emr.aliyuncs.com:10389'], + 'UserId' => ['title' => '用户ID。', 'description' => '用户ID。', 'type' => 'string', 'example' => '125046002175****'], + 'UserName' => ['title' => '用户名称。', 'description' => '用户名称。', 'type' => 'string', 'example' => 'yun****'], + 'KeytabHex' => ['title' => 'Keytab内容Base64编码。', 'description' => 'Keytab内容Base64编码。', 'type' => 'string', 'example' => 'DBEDASDF=='], + 'CreateTime' => ['title' => '创建时间。', 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1509338726362'], + 'Description' => ['title' => '备注。', 'description' => '备注。', 'type' => 'string', 'example' => 'Add test user'], ], + 'description' => '', ], ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '返回读取到的数据位置。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '本次请求所返回的最大记录条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '本次请求条件下的数据总量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + 'NextToken' => ['title' => '返回读取到的数据位置。', 'description' => '返回读取到的数据位置。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980'], + 'MaxResults' => ['title' => '本次请求所返回的最大记录条数。', 'description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['title' => '本次请求条件下的数据总量。', 'description' => '本次请求条件下的数据总量。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"DateTime\\": \\"2023-06-29\\",\\n \\"ComponentTypes\\": [\\n \\"compute\\"\\n ],\\n \\"SummaryReport\\": {\\n \\"Score\\": 88,\\n \\"Summary\\": \\"<h4> [计算检测] 计算健康度分数为 88 ,健康度良好,继续加油 </h4><p style=\'\'text-indent:2em\'\'>集群中大部分任务保持健康状态 </p><p style=\'\'text-indent:2em\'\'>集群内存利用率为:47.8% 偏低 </p>\\",\\n \\"Suggestion\\": \\"<h3> 计算健康度分数为 88 ,集群处于健康状态,继续保持 </h3><ul><li><strong>计算任务扫描</strong><ul><li>对集群中 1518 个计算任务进行了扫描,包含 <span style=\'\'color: #D93026; \'\'>209 个任务处于不健康状态 </span>,<span style=\'\'color: #F1A600; \'\'>596 个任务处于亚健康状态 </span>,<span style=\'\'color: #1E8E3E; \'\'>713 个任务处于健康状态</span>。 </ul><ul>其中:<li> Tez 任务 1518 个,加权平均分为 88 ,内存使用量占整体集群的 100.0% ,CPU 使用量占整体集群的 100.0% ,其中 209 个任务处于不健康状态,596 个任务处于亚健康状态;</li></ul><ul>可在下面的任务明细列表中点击\'\'查看详情\'\',查看存在的具体问题及解决方案。其中\'\'低分任务算力内存时 (GB*Sec)Top20 \'\'表根据内存时使用量进行排序,由于大任务对集群整体影响可能更大,建议优先关注。</ul><li><strong><span style=\'\'color: #D93026; \'\'>内存利用率较低</span></strong><ul><li>集群整体内存利用率为 47.8% ,内存利用率较低,计算资源存在浪费,建议优先对内存算力时较大且内存利用率较低的 TOP 任务进行优化</ul><ul><li>其中,Tez作业平均内存利用率为 47.8% , </ul></ul>\\"\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => '批量获取集群报告', - 'summary' => '批量获取 EMR Doctor 整体分析结果报告。', - ], - 'GetDoctorReportComponentSummary' => [ - 'description' => 'get specify component\'s report analysis by emr doctor', - 'methods' => [ - 'get', - 'post', + 'title' => '查询用户列表', + 'summary' => '查询用户。', + 'description' => '查询用户。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListUsers'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListUsers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IsAdmin\\": true,\\n \\"Users\\": [\\n {\\n \\"LdapUrl\\": \\"ldap://master-1-1.c-c6ce2d16d118****.cn-hangzhou.emr.aliyuncs.com:10389\\",\\n \\"UserId\\": \\"125046002175****\\",\\n \\"UserName\\": \\"yun****\\",\\n \\"KeytabHex\\": \\"DBEDASDF==\\",\\n \\"CreateTime\\": 1509338726362,\\n \\"Description\\": \\"Add test user\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', + ], + 'PutAutoScalingPolicy' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '145776', + 'abilityTreeNodes' => ['FEATUREemapreduceYE4TE8'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'DateTime', + 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => 'dateTime for specify report', - 'description' => '报告日期。', - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', - ], + 'schema' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****'], ], [ - 'name' => 'ComponentType', + 'name' => 'ScalingRules', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => 'component type', - 'description' => '选择组件过滤类型。取值:'."\n" - .'- compute '."\n" - .'- hive'."\n" - .'- hdfs'."\n" - .'- yarn'."\n" - .'- oss'."\n" - .'- hbase', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'compute' => 'compute', - 'hive' => 'hive', - 'hdfs' => 'hdfs', - 'yarn' => 'yarn', - 'oss' => 'oss', - 'hbase' => 'hbase', - ], - 'example' => 'compute', + 'title' => '弹性伸缩规则描述列表。', + 'description' => '弹性伸缩规则描述列表。数组元数个数N的取值范围:0~100。', + 'type' => 'array', + 'items' => ['description' => '弹性伸缩规则。', 'required' => false, '$ref' => '#/components/schemas/ScalingRule'], + 'required' => false, + 'maxItems' => 100, ], ], + [ + 'name' => 'Constraints', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => ['title' => '最大最小值约束。', 'description' => '节点组最大最小值约束。', 'required' => false, '$ref' => '#/components/schemas/ScalingConstraints'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', - 'description' => '返回数据。', + 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '报告内容。', - 'type' => 'object', - 'properties' => [ - 'Score' => [ - 'description' => '分数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '88', - ], - 'Summary' => [ - 'description' => '报告摘要。', - 'type' => 'string', - 'example' => ' [计算检测] 计算健康度分数为 88 ,健康度良好,继续加油'."\n" - .'集群中大部分任务保持健康状态'."\n" - .'集群内存利用率为: 47.8% 偏低', - ], - 'Suggestion' => [ - 'description' => '优化建议。', - 'type' => 'string', - 'example' => '计算健康度分数为 88 ,集群处于健康状态,继续保持 '."\n" - .'计算任务扫描'."\n" - .'对集群中 1518 个计算任务进行了扫描,包含 209 个任务处于不健康状态 ,596 个任务处于亚健康状态 ,713 个任务处于健康状态。 '."\n" - .'其中:'."\n" - .' Tez 任务 1518 个,加权平均分为 88 ,内存使用量占整体集群的 100.0% ,CPU 使用量占整体集群的 100.0% ,其中 209 个任务处于不健康状态,596 个任务处于亚健康状态;'."\n" - .'可在下面的任务明细列表中点击\'\'查看详情\'\',查看存在的具体问题及解决方案。其中\'\'低分任务算力内存时 (GB*Sec)Top20 \'\'表根据内存时使用量进行排序,由于大任务对集群整体影响可能更大,建议优先关注。'."\n" - .'内存利用率较低'."\n" - .'集群整体内存利用率为 47.8% ,内存利用率较低,计算资源存在浪费,建议优先对内存算力时较大且内存利用率较低的 TOP 任务进行优化'."\n" - .'其中,Tez作业平均内存利用率为 47.8% ', - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'NotFound.Cluster', 'errorMessage' => 'Cluster does not exist.', 'description' => ''], + ['errorCode' => 'InvokeError.PutAutoScalingPolicy', 'errorMessage' => 'Put auto scaling policy failed:%s.', 'description' => ''], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Score\\": 88,\\n \\"Summary\\": \\" [计算检测] 计算健康度分数为 88 ,健康度良好,继续加油\\\\n集群中大部分任务保持健康状态\\\\n集群内存利用率为: 47.8% 偏低\\",\\n \\"Suggestion\\": \\"计算健康度分数为 88 ,集群处于健康状态,继续保持 \\\\n计算任务扫描\\\\n对集群中 1518 个计算任务进行了扫描,包含 209 个任务处于不健康状态 ,596 个任务处于亚健康状态 ,713 个任务处于健康状态。 \\\\n其中:\\\\n Tez 任务 1518 个,加权平均分为 88 ,内存使用量占整体集群的 100.0% ,CPU 使用量占整体集群的 100.0% ,其中 209 个任务处于不健康状态,596 个任务处于亚健康状态;\\\\n可在下面的任务明细列表中点击\'\'查看详情\'\',查看存在的具体问题及解决方案。其中\'\'低分任务算力内存时 (GB*Sec)Top20 \'\'表根据内存时使用量进行排序,由于大任务对集群整体影响可能更大,建议优先关注。\\\\n内存利用率较低\\\\n集群整体内存利用率为 47.8% ,内存利用率较低,计算资源存在浪费,建议优先对内存算力时较大且内存利用率较低的 TOP 任务进行优化\\\\n其中,Tez作业平均内存利用率为 47.8% \\"\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '获取指定组件报告', - 'summary' => '获取 EMR Doctor 指定组件分析结果报告。', - ], - 'ListDoctorJobs' => [ - 'description' => 'list realtime jobs by yarn', - 'methods' => [ - 'get', - 'post', + 'title' => '创建自定义弹性伸缩策略', + 'summary' => '创建自定义弹性伸缩策略。', + 'description' => '配置弹性伸缩策略', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'PutAutoScalingPolicy'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:PutAutoScalingPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + ], + 'PutManagedScalingPolicy' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -29574,219 +15058,217 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'get', + 'abilityTreeCode' => '235212', + 'abilityTreeNodes' => ['FEATUREemapreduceB95X9C'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'NextToken', + 'name' => 'Constraints', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => ['description' => '集群最大最小值约束。', 'required' => false, '$ref' => '#/components/schemas/ManagedScalingConstraints'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => '标记当前开始读取的位置。', - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + 'title' => '返回数据', + 'description' => '返回数据', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], + ], ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], + ], + 404 => [ + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], + ], + 503 => [ + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '创建托管伸缩策略', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:PutManagedScalingPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + ], + 'RemoveAutoScalingPolicy' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'MaxResults', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '145777', + 'abilityTreeNodes' => ['FEATUREemapreduceEL79NN'], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => '一次获取的最大记录数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'StartRange', + 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '开始range', - 'description' => '开始时间范围,过滤开始时间在一个时间范围内的任务。', - 'type' => 'object', - 'properties' => [ - 'StartTime' => [ - 'description' => '任务提交时间起始范围,Unix时间戳,单位毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1683340662016', - ], - 'EndTime' => [ - 'description' => '任务提交时间结束范围,Unix时间戳,单位毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1683340662020', - ], - ], - 'required' => false, - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'EndRange', + 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', + 'schema' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '结束range', - 'description' => '结束时间范围,过滤出结束时间在一个时间范围内的任务。', + 'title' => '返回数据', + 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'StartTime' => [ - 'description' => '任务结束时间起始范围,Unix时间戳,单位毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1679135111960', - ], - 'EndTime' => [ - 'description' => '任务结束时间结束范围,Unix时间戳,单位毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1666865137099', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], - 'required' => false, ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], + ], + 404 => [ + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], + ], + 503 => [ + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '删除弹性伸缩策略', + 'summary' => '删除弹性伸缩策略。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RemoveAutoScalingPolicy'], + ], + ], + 'ramActions' => [ [ - 'name' => 'AppIds', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => 'app ID数组', - 'description' => '任务提交到YARN的IDs,用于过滤任务列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'YARN的任务ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'application_1643475036865_******'."\n", + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'emr:RemoveAutoScalingPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'required' => false, - 'example' => 'null', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + ], + 'RunApiTemplate' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Users', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => '任务提交的用户列表,用于过滤任务列表。', - 'type' => 'array', - 'items' => [ - 'description' => '任务提交到YARN的用户名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'DW'."\n", - ], - 'required' => false, - 'example' => 'null', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '189472', + 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S'], + ], + 'parameters' => [ [ - 'name' => 'Queues', + 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => '任务提交到YARN的队列列表,用于过滤任务列表。', - 'type' => 'array', - 'items' => [ - 'description' => '任务提交到的YARN队列名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'DW'."\n", - ], - 'required' => false, - 'example' => 'null', - ], + 'schema' => ['title' => '地域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'Types', + 'name' => 'TemplateId', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => '任务提交到YARN的引擎列表,用于过滤任务列表。', - 'type' => 'array', - 'items' => [ - 'description' => '任务提交到YARN的引擎类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'SPARK', - ], - 'required' => false, - 'example' => 'null', - ], + 'schema' => ['title' => '集群模板id。', 'description' => '集群模板ID。', 'type' => 'string', 'required' => true, 'example' => 'AT-****'], ], [ - 'name' => 'OrderType', + 'name' => 'ApiName', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '排序类型', - 'description' => '排序方向。取值:'."\n" - ."\n" - .'- ASC: 升序排列。'."\n" - .'- DESC:降序排列。', - 'type' => 'string', - 'required' => false, - 'example' => 'ASC', - ], + 'schema' => ['title' => '接口名。', 'description' => '接口名。', 'type' => 'string', 'required' => true, 'example' => 'CreateCluster'], ], [ - 'name' => 'OrderBy', + 'name' => 'ClientToken', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '排序字段', - 'description' => '排序字段。取值:'."\n" - ."\n" - .'- vcoreSeconds:任务CPU使用量。'."\n" - .'- memSeconds:任务内存使用量。', - 'type' => 'string', - 'required' => false, - 'example' => 'vcoreSeconds', - ], + 'schema' => ['title' => '幂等客户端TOKEN。', 'description' => '幂等客户端TOKEN。', 'type' => 'string', 'required' => false, 'example' => 'A7D960FA-6DBA-5E07-8746-A63E3E4D****'], ], ], 'responses' => [ @@ -29796,1267 +15278,536 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '任务列表信息。', - 'type' => 'array', - 'items' => [ - 'description' => '任务信息。', - 'type' => 'object', - 'properties' => [ - 'AppId' => [ - 'description' => '任务提交到YARN的ID。', - 'type' => 'string', - 'example' => 'application_1607584549220_*****', - ], - 'AppName' => [ - 'description' => '任务名称。', - 'type' => 'string', - 'example' => 'tpcds', - ], - 'User' => [ - 'description' => '任务提交用户名。', - 'type' => 'string', - 'example' => 'DW', - ], - 'Queue' => [ - 'description' => '任务提交到YARN的队列。', - 'type' => 'string', - 'example' => 'DW', - ], - 'State' => [ - 'description' => '应用执行状态,取值说明:'."\n" - .'* FINISHED:结束的。'."\n" - .'* FAILED:失败的。'."\n" - .'* KILLED:中止的。', - 'type' => 'string', - 'example' => 'FINISHED', - ], - 'FinalStatus' => [ - 'description' => '应用执行结束状态,取值说明:'."\n" - .'* SUCCEEDED:成功的。'."\n" - .'* FAILED:失败的。'."\n" - .'* KILLED:中止的。'."\n" - .'* ENDED: 结束的。'."\n" - .'* UNDEFINED:未定义的。', - 'type' => 'string', - 'example' => 'KILLED', - ], - 'Type' => [ - 'description' => '计算引擎类型。', - 'type' => 'string', - 'example' => 'SPARK', - ], - 'StartTime' => [ - 'description' => '任务提交时间,Unix时间戳,单位毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1675180800000', - ], - 'LaunchTime' => [ - 'description' => '任务启动时间,Unix时间戳,单位毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1672148400000', - ], - 'ElapsedTime' => [ - 'description' => '任务运行总时间,单位毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '242', - ], - 'FinishTime' => [ - 'description' => '任务结束时间,Unix时间戳,单位毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1683690929000', - ], - 'Metrics' => [ - 'description' => '指标数据。', - 'type' => 'object', - 'properties' => [ - 'VcoreSeconds' => [ - 'description' => 'CPU使用量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'vcoreSeconds'."\n", - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '11123', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'VCores * Sec'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total vcore usage over time in seconds'."\n", - ], - ], - ], - 'MemSeconds' => [ - 'description' => '内存使用量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'memSeconds', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12312312', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB * Sec'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total memory usage over time in seconds'."\n", - ], - ], - ], - ], - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '返回读取到的数据位置。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '本次请求所返回的最大记录条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '本次请求条件下的数据总量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'Data' => ['description' => '请求返回内容。', 'type' => 'string', 'example' => '{\\"clusterId\\":\\"c-b7be171f1928****\\",\\"operationId\\":\\"op-61126efe629d****\\"}'], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '调用API模板', + 'summary' => '调用 API 模板。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:RunApiTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"AppId\\": \\"application_1607584549220_*****\\",\\n \\"AppName\\": \\"tpcds\\",\\n \\"User\\": \\"DW\\",\\n \\"Queue\\": \\"DW\\",\\n \\"State\\": \\"FINISHED\\",\\n \\"FinalStatus\\": \\"KILLED\\",\\n \\"Type\\": \\"SPARK\\",\\n \\"StartTime\\": 1675180800000,\\n \\"LaunchTime\\": 1672148400000,\\n \\"ElapsedTime\\": 242,\\n \\"FinishTime\\": 1683690929000,\\n \\"Metrics\\": {\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\\\n\\",\\n \\"Value\\": 11123,\\n \\"Unit\\": \\"VCores * Sec\\\\n\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\\\n\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\\\n\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\\\n\\"\\n }\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => '批量获取任务运行结果', - 'summary' => '通过EMR Doctor批量获取任务基本运行信息。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"{\\\\\\\\\\\\\\"clusterId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"c-b7be171f1928****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operationId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"op-61126efe629d****\\\\\\\\\\\\\\"}\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], - 'ListDoctorComputeSummary' => [ - 'description' => 'list Doctor analysis result of cluster engine queue view', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RunApplicationAction' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'update', + 'abilityTreeNodes' => ['FEATUREemapreduceWFD0SJ'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '地域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'C-C95F0A39D8FF****'], ], [ - 'name' => 'NextToken', + 'name' => 'ActionName', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => '标记当前开始读取的位置。', - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], + 'schema' => ['title' => '操作名称。', 'description' => '动作名称。取值范围:'."\n" + .'- start:启动。'."\n" + .'- stop:停止。'."\n" + .'- config:下发配置。'."\n" + .'- restart:重启 。'."\n" + .'- refresh_queues:刷新YARN队列。'."\n" + .'- refresh_labels:刷新YARN标签。'."\n" + .'- refresh_nodes: 刷新 YARN 集群中节点信息。', 'type' => 'string', 'required' => true, 'example' => 'start'], ], [ - 'name' => 'MaxResults', + 'name' => 'ComponentInstanceSelector', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => '一次获取的最大记录数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'style' => 'flat', + 'schema' => ['title' => '组件实例选择器。', 'description' => '操作对象。', 'required' => true, '$ref' => '#/components/schemas/ComponentInstanceSelector'], ], [ - 'name' => 'DateTime', + 'name' => 'RollingExecute', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为2023-01-01。', - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', - ], + 'schema' => ['title' => '是否滚动执行。', 'description' => '是否滚动执行。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ - 'name' => 'ComponentTypes', + 'name' => 'ExecuteStrategy', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => '过滤资源的类型。取值:'."\n" - .'- engine:通过引擎类型来过滤结果。'."\n" - .'- queue:通过队列来过滤结果。'."\n" - .'- cluster:展示整个集群结果。 '."\n" - ."\n" - .'如果不填写,默认展示整个集群信息。目前只支持单资源类型,填写多个资源类型会默认取第一个资源类型。', - 'type' => 'array', - 'items' => [ - 'description' => '资源类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'queue', - ], - 'required' => false, - 'example' => 'null', - ], + 'schema' => ['title' => '运行策略。', 'description' => '运行策略。取值范围:'."\n" + .'- FAILED_BLOCK:失败后阻塞。'."\n" + .'- FAILED_CONTINUE:失败后继续。', 'type' => 'string', 'required' => false, 'example' => 'FAILED_CONTINUE'], ], [ - 'name' => 'OrderType', + 'name' => 'Interval', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '排序方向。取值:'."\n" - ."\n" - .'- ASC:升序排列。'."\n" - ."\n" - .'- DESC:降序排列。', - 'type' => 'string', - 'required' => false, - 'example' => 'ASC', - ], + 'schema' => ['title' => '滚动执行间隔时间 单位:秒。', 'description' => '滚动执行间隔时间。单位:秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'], ], [ - 'name' => 'OrderBy', + 'name' => 'BatchSize', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '排序顺序。取值:'."\n" - .'1. vcoreSeconds:资源CPU使用总量。'."\n" - .'2. memSeconds:资源内存使用总量。'."\n" - .'3. vcoreUtilization:资源平均CPU使用率。同Linux Top的%CPU含义。'."\n" - .'4. memUtilization:资源平均内存利用率。'."\n" - .'5. vcoreSecondsDayGrowthRatio:资源CPU使用总量日环比。'."\n" - .'6. memSecondsDayGrowthRatio:资源内存使用总量日环比。'."\n" - .'7. readSize:资源读取文件系统总量。'."\n" - .'8. writeSize:资源写入文件系统总量。'."\n" - .'9. healthyJobCount:健康任务总数。'."\n" - .'10. subHealthyJobCount:亚健康任务总数。'."\n" - .'11. unhealthyJobCount:不健康任务总数。'."\n" - .'12. needAttentionJobCount:需要关注的任务总数。'."\n" - .'13. score:资源任务评分。'."\n" - .'14. scoreDayGrowthRatio:资源任务评分日环比。', - 'type' => 'string', - 'required' => false, - 'example' => 'score', - ], + 'schema' => ['title' => '每批数量。', 'description' => '每批次数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '描述。', 'description' => '描述。', 'type' => 'string', 'required' => false, 'example' => 'Running description'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', - 'description' => '返回数据', + 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '资源列表详情。', + 'OperationId' => ['title' => '操作ID。', 'description' => '操作ID。', 'type' => 'string', 'example' => 'op-13c37a77c505****'], + 'AbnInstances' => [ + 'title' => '异常节点列表。', + 'description' => '异常节点列表。', 'type' => 'array', 'items' => [ - 'description' => '资源使用详情。', 'type' => 'object', 'properties' => [ - 'ComponentName' => [ - 'description' => '根据ComponentTypes获取的资源详情,如ComponentTypes为Queue,则会对应了某个队列的名称,如DW队列。', - 'type' => 'string', - 'example' => 'DW', - ], - 'Metrics' => [ - 'description' => '指标数据。', - 'type' => 'object', - 'properties' => [ - 'VcoreSeconds' => [ - 'description' => '资源CPU使用总量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'vcoreSeconds', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1231412', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'VCores * Sec', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total vcore usage over time in seconds'."\n", - ], - ], - ], - 'MemSeconds' => [ - 'description' => '资源内存使用总量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'memSeconds', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12312312', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB * Sec', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total memory usage over time in seconds', - ], - ], - ], - 'VcoreUtilization' => [ - 'description' => '资源平均CPU使用率。同Linux Top的%CPU含义。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'vcoreUtilization', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '32.1', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of used vcore to total available cores'."\n", - ], - ], - ], - 'MemUtilization' => [ - 'description' => '资源平均内存利用率。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'memUtilization', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.82', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of used memory to total available memory'."\n", - ], - ], - ], - 'VcoreSecondsDayGrowthRatio' => [ - 'description' => '资源CPU使用总量日环比。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'vcoreSecondsDayGrowthRatio'."\n", - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.22'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Growth ratio of virtual core usage in seconds per day'."\n", - ], - ], - ], - 'MemSecondsDayGrowthRatio' => [ - 'description' => '资源内存使用总量日环比。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'memSecondsDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.36', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Growth ratio of memory usage in seconds per day'."\n", - ], - ], - ], - 'ReadSize' => [ - 'description' => '资源读取文件系统总量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'readSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '504888659968', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total cumulative size of data read in megabytes (MB)'."\n", - ], - ], - ], - 'WriteSize' => [ - 'description' => '资源写入文件系统总量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'writeSize'."\n", - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6294093393920', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total cumulative size of data written in megabytes (MB)', - ], - ], - ], - ], - ], - 'Analysis' => [ - 'description' => '资源分析。', - 'type' => 'object', - 'properties' => [ - 'HealthyJobCount' => [ - 'description' => '健康任务总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'SubHealthyJobCount' => [ - 'description' => '亚健康任务总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '13', - ], - 'UnhealthyJobCount' => [ - 'description' => '不健康任务总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'NeedAttentionJobCount' => [ - 'description' => '需要关注的任务总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '23', - ], - 'Score' => [ - 'description' => '资源任务评分。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '56', - ], - 'ScoreDayGrowthRatio' => [ - 'description' => '资源任务评分日环比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.03', - ], - ], - ], + 'NodeName' => ['description' => '异常节点名称。', 'type' => 'string', 'example' => 'core1-1'], + 'NodeId' => ['description' => '异常节点ID。', 'type' => 'string', 'example' => 'i-bp1cudc25w2bfwl5****'], ], + 'description' => '', ], ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '返回读取到的数据位置。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '本次请求所返回的最大记录条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '本次请求条件下的数据总量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConcurrentModification', 'errorMessage' => 'The request on %s failed due to multiple requests to change this object were submitted simultaneously. Wait a few minutes and try again.', 'description' => '并发操作导致请求失败。'], + ['errorCode' => 'InvalidParameter.InvalidRunActionScope', 'errorMessage' => 'The specified run action scope is invalid.', 'description' => ''], + ['errorCode' => 'MissingParameter.ComponentInstance', 'errorMessage' => 'You must specify componentInstance.', 'description' => ''], + ['errorCode' => 'MissingParameter.NodeId', 'errorMessage' => 'You must specify nodeId.', 'description' => ''], + ['errorCode' => 'MissingParameter.ComponentName', 'errorMessage' => 'You must specify componentName.', 'description' => ''], + ['errorCode' => 'MissingParameter.ApplicationName', 'errorMessage' => 'You must specify applicationName.', 'description' => ''], + ['errorCode' => 'MissingParameter.NodeGroupId', 'errorMessage' => 'You must specify nodeGroupId.', 'description' => ''], + ['errorCode' => 'InvokeEcmError', 'errorMessage' => 'An error occurred while invoking ECM service.', 'description' => ''], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"ComponentName\\": \\"DW\\",\\n \\"Metrics\\": {\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\",\\n \\"Value\\": 1231412,\\n \\"Unit\\": \\"VCores * Sec\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\\\n\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\"\\n },\\n \\"VcoreUtilization\\": {\\n \\"Name\\": \\"vcoreUtilization\\",\\n \\"Value\\": 32.1,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Ratio of used vcore to total available cores\\\\n\\"\\n },\\n \\"MemUtilization\\": {\\n \\"Name\\": \\"memUtilization\\",\\n \\"Value\\": 0.82,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Ratio of used memory to total available memory\\\\n\\"\\n },\\n \\"VcoreSecondsDayGrowthRatio\\": {\\n \\"Name\\": \\"vcoreSecondsDayGrowthRatio\\\\n\\",\\n \\"Value\\": 0.22,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Growth ratio of virtual core usage in seconds per day\\\\n\\"\\n },\\n \\"MemSecondsDayGrowthRatio\\": {\\n \\"Name\\": \\"memSecondsDayGrowthRatio\\",\\n \\"Value\\": 0.36,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Growth ratio of memory usage in seconds per day\\\\n\\"\\n },\\n \\"ReadSize\\": {\\n \\"Name\\": \\"readSize\\",\\n \\"Value\\": 504888659968,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total cumulative size of data read in megabytes (MB)\\\\n\\"\\n },\\n \\"WriteSize\\": {\\n \\"Name\\": \\"writeSize\\\\n\\",\\n \\"Value\\": 6294093393920,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Total cumulative size of data written in megabytes (MB)\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HealthyJobCount\\": 3,\\n \\"SubHealthyJobCount\\": 13,\\n \\"UnhealthyJobCount\\": 123,\\n \\"NeedAttentionJobCount\\": 23,\\n \\"Score\\": 56,\\n \\"ScoreDayGrowthRatio\\": 0.03\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => '批量获取集群资源使用结果', - 'summary' => '通过EMR Doctor根据过滤条件批量获取集群资源使用情况。', - ], - 'GetDoctorComputeSummary' => [ - 'description' => 'get one specific luster engine queue by <type, name>', - 'methods' => [ - 'get', - 'post', + 'title' => '执行应用操作', + 'summary' => '本接口用于对集群安装的应用执行启动,停止等管理操作。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RunApplicationAction'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:RunApplicationAction', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"AbnInstances\\": [\\n {\\n \\"NodeName\\": \\"core1-1\\",\\n \\"NodeId\\": \\"i-bp1cudc25w2bfwl5****\\"\\n }\\n ],\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","errorExample":""},{"type":"xml","example":"<RunApplicationActionResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</RequestId>\\n <OperationId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</OperationId>\\n</RunApplicationActionResponse>","errorExample":""}]', + ], + 'RunCluster' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'create', + 'riskType' => 'high', + 'chargeType' => 'paid', + 'abilityTreeCode' => '246666', + 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => ['title' => '资源组ID。', 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmzabjyop****'], + ], + [ + 'name' => 'PaymentType', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => ['title' => '付费类型。', 'description' => '付费类型。取值范围:'."\n" + .'- PayAsYouGo:后付费。'."\n" + .'- Subscription:预付费。'."\n" + ."\n" + .'默认值:PayAsYouGo。', 'type' => 'string', 'required' => false, 'example' => 'PayAsYouGo'], + ], + [ + 'name' => 'SubscriptionConfig', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'style' => 'json', + 'schema' => ['description' => '预付费配置。当PaymentType取值为Subscription时必填。', 'required' => false, '$ref' => '#/components/schemas/SubscriptionConfig'], + ], + [ + 'name' => 'ClusterType', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => ['title' => '集群类型。', 'description' => '集群类型。取值范围:'."\n" + .'- DATALAKE:新版数据湖。'."\n" + .'- OLAP:数据分析。'."\n" + .'- DATAFLOW:实时数据流。'."\n" + .'- DATASERVING:数据服务。'."\n" + .'- CUSTOM:自定义混部集群。'."\n" + .'- HADOOP:旧版数据湖(不推荐使用,建议使用新版数据湖)。'."\n" + ."\n" + .'如果您在2022年12月19日17点(UTC+8)以后第一次创建EMR集群,不能选择HADOOP、DATA_SCIENCE、PRESTO、ZOOKEEPER集群类型。', 'type' => 'string', 'required' => true, 'example' => 'DATALAKE'], + ], + [ + 'name' => 'ReleaseVersion', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => ['title' => 'EMR发行版。', 'description' => 'EMR发行版。可通过EMR集群售卖页面查看EMR发行版。', 'type' => 'string', 'required' => true, 'example' => 'EMR-5.16.0'], + ], + [ + 'name' => 'ClusterName', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => ['title' => '集群名称。', 'description' => '集群名称。长度为1~128个字符,必须以大小字母或中文开头,不能以 http:// 和 https:// 开头。可以包含中文、英文、数字、半角冒号(:)、下划线(_)、半角句号(.)或者短划线(-)。', 'type' => 'string', 'required' => true, 'example' => 'emrtest'], + ], + [ + 'name' => 'DeployMode', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => ['title' => '部署模式。', 'description' => '集群中的应用部署模式。取值范围:'."\n" + .'- NORMAL(默认值):非高可用部署。集群1个MASTER节点。'."\n" + .'- HA:高可用部署。高可用部署要求至少3个MASTER节点。', 'type' => 'string', 'required' => false, 'example' => 'HA'], + ], + [ + 'name' => 'SecurityMode', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => ['title' => 'Kerberos安全模式。', 'description' => '集群Kerberos安全模式。取值范围:'."\n" + .'- NORMAL(默认值):普通模式,不开启Kerberos模式。'."\n" + .'- KERBEROS:开启Kerberos模式。', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'], + ], + [ + 'name' => 'Applications', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'style' => 'json', 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', + 'title' => '应用列表。', + 'description' => '应用列表。数组元素个数N的取值范围:1~100。', + 'type' => 'array', + 'items' => ['description' => '应用。', 'required' => false, '$ref' => '#/components/schemas/Application'], 'required' => true, - 'example' => 'cn-hangzhou', ], ], [ - 'name' => 'ClusterId', - 'in' => 'query', + 'name' => 'ApplicationConfigs', + 'in' => 'formData', 'allowEmptyValue' => false, + 'style' => 'json', 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', + 'title' => '应用配置。', + 'description' => '应用配置。数组元素个数N的取值范围:1~1000。', + 'type' => 'array', + 'items' => ['description' => '应用配置。', 'required' => false, '$ref' => '#/components/schemas/ApplicationConfig'], + 'required' => false, ], ], [ - 'name' => 'DateTime', - 'in' => 'query', + 'name' => 'NodeAttributes', + 'in' => 'formData', 'allowEmptyValue' => false, + 'style' => 'json', + 'schema' => ['description' => '节点属性。集群所有ECS节点基础属性。', 'required' => false, '$ref' => '#/components/schemas/NodeAttributes'], + ], + [ + 'name' => 'NodeGroups', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'style' => 'json', 'schema' => [ - 'description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', - 'type' => 'string', + 'title' => '节点组。', + 'description' => '节点组配置数组。数组元素个数N的取值范围:1~100。', + 'type' => 'array', + 'items' => ['description' => '节点组配置。', 'required' => false, '$ref' => '#/components/schemas/NodeGroupConfig'], 'required' => true, - 'example' => '2023-01-01', ], ], [ - 'name' => 'ComponentInfo', - 'in' => 'query', + 'name' => 'BootstrapScripts', + 'in' => 'formData', 'allowEmptyValue' => false, - 'style' => 'flat', + 'style' => 'json', 'schema' => [ - 'description' => '资源信息,用于过滤结果。', - 'type' => 'object', - 'properties' => [ - 'ComponentType' => [ - 'description' => '过滤资源的类型。取值:'."\n" - .'- engine:通过引擎类型来过滤结果。'."\n" - .'- queue:通过队列来过滤结果。'."\n" - .'- cluster:展示整个集群结果。'."\n" - ."\n\n" - .'如果不填写,默认展示整个集群信息。', - 'type' => 'string', - 'required' => false, - 'example' => 'engine', - ], - 'ComponentName' => [ - 'description' => '根据ComponentType来设置特定过滤条件,如ComponentType为queue,就可以指定特定队列名称来获取特定队列资源使用情况。', - 'type' => 'string', - 'required' => false, - 'example' => 'MAPREDUCE', - ], - ], + 'title' => '引导脚本。', + 'description' => '引导脚本数组。数组元素个数N的取值范围:1~10。', + 'type' => 'array', + 'items' => ['description' => '引导脚本。', 'required' => false, '$ref' => '#/components/schemas/Script'], + 'required' => false, + ], + ], + [ + 'name' => 'Tags', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'style' => 'json', + 'schema' => [ + 'title' => '标签。', + 'description' => '标签。数组元数个数N的取值范围:0~20。', + 'type' => 'array', + 'items' => ['description' => '标签。', 'required' => false, '$ref' => '#/components/schemas/Tag'], 'required' => false, ], ], + [ + 'name' => 'ClientToken', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => ['title' => '幂等客户端TOKEN。', 'description' => '幂等客户端TOKEN。同一个ClientToken多次调用的返回结果一致,同一个ClientToken最多只创建一个集群。', 'type' => 'string', 'required' => false, 'example' => 'A7D960FA-6DBA-5E07-8746-A63E3E4D****'], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => ['description' => '集群描述。', 'type' => 'string', 'required' => false, 'example' => 'Emr cluster for ETL'], + ], + [ + 'name' => 'DeletionProtection', + 'in' => 'formData', + 'schema' => ['description' => '集群是否开启删除保护。取值范围:'."\n" + .'- true:开启删除保护。'."\n" + .'- false:不开启删除保护。'."\n" + ."\n" + .'默认值:false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'Promotions', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => ['required' => false, '$ref' => '#/components/schemas/Promotion', 'description' => ''], + 'required' => false, + 'description' => '', + ], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回数据', - 'description' => '返回数据', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '资源使用详情。', - 'type' => 'object', - 'properties' => [ - 'Metrics' => [ - 'description' => '指标数据。', - 'type' => 'object', - 'properties' => [ - 'VcoreSeconds' => [ - 'description' => '资源CPU使用总量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'vcoreSeconds'."\n", - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1231412', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'VCores * Sec'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total vcore usage over time in seconds'."\n", - ], - ], - ], - 'MemSeconds' => [ - 'description' => '资源内存使用总量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'memSeconds'."\n", - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12312312', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB * Sec'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total memory usage over time in seconds'."\n", - ], - ], - ], - 'VcoreUtilization' => [ - 'description' => '资源平均CPU使用率。同Linux Top的%CPU含义。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'vcoreUtilization'."\n", - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '32.1'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '“”'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of used vcore to total available cores'."\n", - ], - ], - ], - 'MemUtilization' => [ - 'description' => '资源平均内存利用率。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'memUtilization'."\n", - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.82', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of used memory to total available memory'."\n", - ], - ], - ], - 'VcoreSecondsDayGrowthRatio' => [ - 'description' => '资源CPU使用总量日环比。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'vcoreSecondsDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.22', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Growth ratio of virtual core usage in seconds per day', - ], - ], - ], - 'MemSecondsDayGrowthRatio' => [ - 'description' => '资源内存使用总量日环比。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'memSecondsDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.36', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Growth ratio of memory usage in seconds per day', - ], - ], - ], - 'ReadSize' => [ - 'description' => '资源读取文件系统总量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'readSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '504888659968', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total cumulative size of data read in megabytes (MB)', - ], - ], - ], - 'WriteSize' => [ - 'description' => '资源写入文件系统总量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'writeSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6294093393920', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total cumulative size of data written in megabytes (MB)', - ], - ], - ], - ], - ], - 'Analysis' => [ - 'description' => '资源分析。', - 'type' => 'object', - 'properties' => [ - 'HealthyJobCount' => [ - 'description' => '健康任务总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'SubHealthyJobCount' => [ - 'description' => '亚健康任务总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1123', - ], - 'UnhealthyJobCount' => [ - 'description' => '不健康任务总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '23', - ], - 'NeedAttentionJobCount' => [ - 'description' => '需要关注的任务总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '234', - ], - 'Score' => [ - 'description' => '资源任务评分。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '73', - ], - 'ScoreDayGrowthRatio' => [ - 'description' => '资源任务评分日环比。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.02', - ], - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'ClusterId' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'example' => 'c-b933c5aac7f7***'], + 'OperationId' => ['title' => '操作ID。', 'description' => '操作ID。', 'type' => 'string', 'example' => 'op-13c37a77c505****'], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'OperationDenied', 'errorMessage' => 'The operation is invalid. %s', 'description' => '操作被拒绝。'], + ['errorCode' => 'OutOfStock', 'errorMessage' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.', 'description' => '请求的资源库存不足,请尝试其他类型资源,或者其他可用区,或者其他区域。'], + ['errorCode' => 'QuotaExceeded', 'errorMessage' => 'Request fail due to quota exceed. %s', 'description' => '因配额超出导致请求失败。'], + ['errorCode' => 'AccountException', 'errorMessage' => 'Account exception. %s', 'description' => '账号异常。'], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Metrics\\": {\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\\\n\\",\\n \\"Value\\": 1231412,\\n \\"Unit\\": \\"VCores * Sec\\\\n\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\\\n\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\\\n\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\\\n\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\\\n\\"\\n },\\n \\"VcoreUtilization\\": {\\n \\"Name\\": \\"vcoreUtilization\\\\n\\",\\n \\"Value\\": 32.1,\\n \\"Unit\\": \\"“”\\\\n\\",\\n \\"Description\\": \\"Ratio of used vcore to total available cores\\\\n\\"\\n },\\n \\"MemUtilization\\": {\\n \\"Name\\": \\"memUtilization\\\\n\\",\\n \\"Value\\": 0.82,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of used memory to total available memory\\\\n\\"\\n },\\n \\"VcoreSecondsDayGrowthRatio\\": {\\n \\"Name\\": \\"vcoreSecondsDayGrowthRatio\\",\\n \\"Value\\": 0.22,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Growth ratio of virtual core usage in seconds per day\\"\\n },\\n \\"MemSecondsDayGrowthRatio\\": {\\n \\"Name\\": \\"memSecondsDayGrowthRatio\\",\\n \\"Value\\": 0.36,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Growth ratio of memory usage in seconds per day\\"\\n },\\n \\"ReadSize\\": {\\n \\"Name\\": \\"readSize\\",\\n \\"Value\\": 504888659968,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total cumulative size of data read in megabytes (MB)\\"\\n },\\n \\"WriteSize\\": {\\n \\"Name\\": \\"writeSize\\",\\n \\"Value\\": 6294093393920,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total cumulative size of data written in megabytes (MB)\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HealthyJobCount\\": 3,\\n \\"SubHealthyJobCount\\": 1123,\\n \\"UnhealthyJobCount\\": 23,\\n \\"NeedAttentionJobCount\\": 234,\\n \\"Score\\": 73,\\n \\"ScoreDayGrowthRatio\\": 0.02\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '获取集群单个资源使用结果', - 'summary' => '通过EMR Doctor获取集群单个资源使用结果。', - ], - 'GetDoctorJob' => [ - 'description' => 'Get realtime job by yarn', - 'methods' => [ - 'get', - 'post', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], ], - 'schemes' => [ - 'http', - 'https', + 'title' => '创建集群', + 'summary' => '创建一个按量付费或者预付费(包年包月)集群。', + 'description' => 'RunCluster 是 CreateCluster 的升级版本,采用 HTTPS POST 请求,支持更长的参数内容。对于复杂参数,如对象和数组,RunCluster 采用 JSON 格式,使其对 CLI 工具更加友好。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:RunCluster', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ClusterId\\": \\"c-b933c5aac7f7***\\",\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + ], + 'TagResources' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '25001', + 'abilityTreeNodes' => ['FEATUREemapreduceWV7Y23'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'allowEmptyValue' => false, 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', + 'title' => '资源类型。', + 'description' => '资源类型。 取值范围:'."\n" + .'- cluster:集群。', 'type' => 'string', 'required' => true, - 'example' => 'cn-hangzhou', + 'enumValueTitles' => [], + 'example' => 'cluster', ], ], [ - 'name' => 'ClusterId', + 'name' => 'ResourceIds', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', + 'title' => '资源ID。', + 'description' => '资源ID列表。数组元素个数N的取值范围:1~1。', + 'type' => 'array', + 'items' => ['description' => '资源ID。ResourceType取值cluster时,取值为集群ID。', 'type' => 'string', 'required' => false, 'example' => 'c-b933c5aac8fe****'], 'required' => true, - 'example' => 'c-b933c5aac8fe****', + 'example' => 'cluster', + 'maxItems' => 1, ], ], [ - 'name' => 'AppId', + 'name' => 'Tags', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => 'app id', - 'description' => '任务提交到YARN的ID。', - 'type' => 'string', + 'title' => '标签列表。', + 'description' => '绑定的标签列表。', + 'type' => 'array', + 'items' => ['description' => '标签。', 'required' => false, '$ref' => '#/components/schemas/Tag'], 'required' => true, - 'example' => 'application_1542620905989_****', + 'example' => '[null]', + 'maxItems' => 20, ], ], ], @@ -31064,405 +15815,233 @@ 200 => [ 'schema' => [ 'title' => '返回数据', - 'description' => '返回数据', + 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '任务信息。', - 'type' => 'object', - 'properties' => [ - 'AppId' => [ - 'description' => '任务提交到YARN的ID。', - 'type' => 'string', - 'example' => 'application_1542620905989_****', - ], - 'AppName' => [ - 'description' => '任务名称。', - 'type' => 'string', - 'example' => 'CREATE TABLE test...ranks=1 (Stage-1)', - ], - 'User' => [ - 'description' => '任务提交用户名。', - 'type' => 'string', - 'example' => 'DW', - ], - 'Queue' => [ - 'description' => '任务提交到YARN的队列。', - 'type' => 'string', - 'example' => 'DW', - ], - 'State' => [ - 'description' => '应用执行状态,取值说明:'."\n" - .'* FINISHED:结束的。'."\n" - .'* FAILED:失败的。'."\n" - .'* KILLED:中止的。', - 'type' => 'string', - 'example' => 'FINISHED', - ], - 'FinalStatus' => [ - 'description' => '应用执行结束状态,取值说明:'."\n" - .'* SUCCEEDED:成功的。'."\n" - .'* FAILED:失败的。'."\n" - .'* KILLED:中止的。'."\n" - .'* ENDED: 结束的。'."\n" - .'* UNDEFINED:未定义的。', - 'type' => 'string', - 'example' => 'KILLED', - ], - 'Type' => [ - 'description' => '计算引擎类型。', - 'type' => 'string', - 'example' => 'SPARK', - ], - 'StartTime' => [ - 'description' => '任务提交时间,Unix时间戳,单位毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1673946000000', - ], - 'LaunchTime' => [ - 'description' => '任务启动时间,Unix时间戳,单位毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1665014400000', - ], - 'ElapsedTime' => [ - 'description' => '任务运行总时间,单位毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '278', - ], - 'FinishTime' => [ - 'description' => '任务结束时间,Unix时间戳,单位毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1658388322000', - ], - 'Metrics' => [ - 'description' => '指标数据。', - 'type' => 'object', - 'properties' => [ - 'VcoreSeconds' => [ - 'description' => 'CPU使用量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'vcoreSeconds', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '11123', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'VCores * Sec', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total vcore usage over time in seconds', - ], - ], - ], - 'MemSeconds' => [ - 'description' => '内存使用量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'memSeconds', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12312312', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB * Sec', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total memory usage over time in seconds', - ], - ], - ], - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'A964BDB2-0FDA-1037-AF3F-2633D5C3F20F'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"AppId\\": \\"application_1542620905989_****\\",\\n \\"AppName\\": \\"CREATE TABLE test...ranks=1 (Stage-1)\\",\\n \\"User\\": \\"DW\\",\\n \\"Queue\\": \\"DW\\",\\n \\"State\\": \\"FINISHED\\",\\n \\"FinalStatus\\": \\"KILLED\\",\\n \\"Type\\": \\"SPARK\\",\\n \\"StartTime\\": 1673946000000,\\n \\"LaunchTime\\": 1665014400000,\\n \\"ElapsedTime\\": 278,\\n \\"FinishTime\\": 1658388322000,\\n \\"Metrics\\": {\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\",\\n \\"Value\\": 11123,\\n \\"Unit\\": \\"VCores * Sec\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\"\\n }\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '获取单个任务运行结果', - 'summary' => '通过EMR Doctor获取任务基本运行信息。', - ], - 'ListDoctorApplications' => [ - 'description' => 'list all doctor analysis apps', - 'methods' => [ - 'get', - 'post', + 'title' => '打标签', + 'summary' => '为指定的EMR集群绑定标签。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'TagResources'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:TagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A964BDB2-0FDA-1037-AF3F-2633D5C3F20F\\"\\n}","errorExample":""},{"type":"xml","example":"<TagResourcesResponse>\\n <RequestId>A964BDB2-0FDA-1037-AF3F-2633D5C3F20F</RequestId>\\n <Data>true</Data>\\n</TagResourcesResponse>","errorExample":""}]', + ], + 'UntagResources' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'update', + 'abilityTreeNodes' => ['FEATUREemapreduceACW5KS'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ClusterId', + 'name' => 'ResourceType', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '资源类型。', 'description' => '资源类型。取值:cluster。', 'type' => 'string', 'required' => true, 'example' => 'cluster'], ], [ - 'name' => 'NextToken', + 'name' => 'ResourceIds', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => '标记当前开始读取的位置。', - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + 'title' => '资源ID。', + 'description' => '资源ID列表。', + 'type' => 'array', + 'items' => ['description' => '资源ID。ResourceType取值cluster时,取值为集群ID。', 'type' => 'string', 'required' => false, 'example' => 'c-b933c5aac8fe****'], + 'required' => true, + 'example' => 'cluster', + 'maxItems' => 1, ], ], [ - 'name' => 'MaxResults', + 'name' => 'TagKeys', 'in' => 'query', 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => '一次获取的最大记录数。', - 'type' => 'integer', - 'format' => 'int32', + 'title' => '标签Key列表。', + 'description' => '标签key值。数组元数个数N的取值范围:1~20。', + 'type' => 'array', + 'items' => ['description' => '标签key值列表。', 'type' => 'string', 'required' => false, 'example' => 'Department'], 'required' => false, - 'example' => '20', + 'example' => '["c-b933c5aac8fe****"]', ], ], [ - 'name' => 'DateTime', + 'name' => 'All', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '是否删除指定指定的所有标签。', 'description' => '是否全部删除。只针对**Tagkeys**为空时有效。取值范围:'."\n" + .'- true:全部删除。'."\n" + .'- false:不全部删除。'."\n" + ."\n" + .'默认值:false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', + 'title' => '返回数据', + 'description' => '返回数据。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '17A6A3D5-4B13-1DAD-9A23-66EA5FC83B50'], + ], ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], + ], + 404 => [ + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], + ], + 503 => [ + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '删标签', + 'summary' => '为指定的EMR集群列统一解绑标签。解绑后,如果该标签没有绑定其他任何资源,该标签会被自动删除。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UntagResources'], + ], + ], + 'ramActions' => [ [ - 'name' => 'AppIds', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => '任务提交到YARN的IDs,用于过滤任务列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'YARN的任务ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'application_1643475036865_******', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UntagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'required' => false, - 'example' => 'null', ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"17A6A3D5-4B13-1DAD-9A23-66EA5FC83B50\\"\\n}","errorExample":""},{"type":"xml","example":"<UntagResourcesResponse>\\n <RequestId>17A6A3D5-4B13-1DAD-9A23-66EA5FC83B50</RequestId>\\n <Data>true</Data>\\n</UntagResourcesResponse>","errorExample":""}]', + ], + 'UpdateApiTemplate' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Users', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeNodes' => ['FEATUREemapreduce6STB1S'], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => '任务提交的用户列表,用于过滤任务列表。', - 'type' => 'array', - 'items' => [ - 'description' => '任务提交到YARN的用户名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'DW', - ], - 'required' => false, - 'example' => 'null', - ], + 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'Queues', + 'name' => 'TemplateName', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => '任务提交到YARN的队列列表,用于过滤任务列表。', - 'type' => 'array', - 'items' => [ - 'description' => '任务提交到的YARN队列名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'DW', - ], - 'required' => false, - 'example' => 'null', - ], + 'schema' => ['title' => '集群模板名字。', 'description' => '集群模板名字。', 'type' => 'string', 'required' => true, 'example' => 'DATALAKE template'], ], [ - 'name' => 'Types', + 'name' => 'ApiName', 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => '任务提交到YARN的引擎列表,用于过滤任务列表。', - 'type' => 'array', - 'items' => [ - 'description' => '任务提交到YARN的引擎类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'SPARK', - ], - 'required' => false, - 'example' => 'null', - ], + 'schema' => ['title' => '接口名。', 'description' => 'API名称,目前只支持创建集群API模板。取值范围:CreateCluster。', 'type' => 'string', 'required' => true, 'example' => 'CreateCluster'], ], [ - 'name' => 'OrderType', + 'name' => 'Content', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '排序方向。取值:'."\n" - ."\n" - .'- ASC:升序排列。'."\n" - ."\n" - .'- DESC:降序排列。', - 'type' => 'string', - 'required' => false, - 'example' => 'ASC', - ], + 'schema' => ['title' => '接口参数request内容', 'description' => '集群模版内容。取值:创建集群[CreateCluster](~~454393~~)的入参JSON化后的内容。', 'type' => 'string', 'required' => true, 'example' => 'content'], ], [ - 'name' => 'OrderBy', + 'name' => 'ResourceGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '排序顺序。取值:'."\n" - .'1. startTime:任务启动时间。'."\n" - .'2. endTime:任务结束时间。'."\n" - .'3. vcoreUtilization:任务CPU使用率。'."\n" - .'4. memUtilization:任务内存使用率。'."\n" - .'5. vcoreSeconds:任务CPU使用量。'."\n" - .'6. memSeconds:任务内存使用量。'."\n" - .'7. score:任务评分。', - 'type' => 'string', - 'required' => false, - 'example' => 'score', - ], + 'schema' => ['title' => '资源组ID。', 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmzabjyop****'], + ], + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '集群模板id。', 'description' => '集群模板ID。', 'type' => 'string', 'required' => true, 'example' => 'AT-****'], ], ], 'responses' => [ @@ -31472,1541 +16051,259 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '任务列表详情。', - 'type' => 'array', - 'items' => [ - 'description' => '任务详情。', - 'type' => 'object', - 'properties' => [ - 'AppId' => [ - 'description' => 'YARN任务ID,如果是Hive任务,则是QueryID或者SessionID。', - 'type' => 'string', - 'example' => 'application_1665056147236_*****', - ], - 'Ids' => [ - 'description' => '任务IDs,多个ID间使用英文逗号(,)分隔。', - 'type' => 'array', - 'items' => [ - 'description' => 'YARN的任务ID。', - 'type' => 'string', - 'example' => 'application_1665056147236_*****', - ], - 'example' => 'null', - ], - 'AppName' => [ - 'description' => '任务名称。', - 'type' => 'string', - 'example' => 'data-upload', - ], - 'User' => [ - 'description' => '任务提交用户名。', - 'type' => 'string', - 'example' => 'DW', - ], - 'StartTime' => [ - 'description' => '任务提交时间,Unix时间戳,单位毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1677465658275', - ], - 'EndTime' => [ - 'description' => '任务结束时间,Unix时间戳,单位毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1682049088086', - ], - 'Queue' => [ - 'description' => '任务提交到YARN的队列。', - 'type' => 'string', - 'example' => 'DW', - ], - 'Type' => [ - 'description' => '计算引擎类型。', - 'type' => 'string', - 'example' => 'TEZ', - ], - 'QuerySql' => [ - 'description' => '查询语句,对非SQL任务,为空。', - 'type' => 'string', - 'example' => 'SELECT id, count(1) FROM test group by id;'."\n", - ], - 'Metrics' => [ - 'description' => '指标数据。', - 'type' => 'object', - 'properties' => [ - 'VcoreUtilization' => [ - 'description' => 'CPU使用率,同Linux Top的%CPU含义。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'vcoreUtilization', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '23.1', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of used vcore to total available cores'."\n", - ], - ], - ], - 'MemUtilization' => [ - 'description' => '内存使用率。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'memUtilization'."\n", - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.23', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of used memory to total available memory'."\n", - ], - ], - ], - 'VcoreSeconds' => [ - 'description' => 'CPU使用量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'vcoreSeconds', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '11123'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'VCores * Sec'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total vcore usage over time in seconds', - ], - ], - ], - 'MemSeconds' => [ - 'description' => '内存使用量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'memSeconds', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12312312', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB * Sec', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total memory usage over time in seconds', - ], - ], - ], - ], - ], - 'Analysis' => [ - 'description' => '任务分析。', - 'type' => 'object', - 'properties' => [ - 'Score' => [ - 'description' => '任务评分。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '23', - ], - 'Suggestion' => [ - 'description' => '任务运行建议。', - 'type' => 'string', - 'example' => '##### 当前节点:container'."\n" - .'##### 存在问题:'."\n" - .'最大内存利用率为7.75%,利用率较低'."\n" - ."\n\n" - .'尝试减小Tez Container内存,可通过hive.tez.container.size进行设置', - ], - ], - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '返回读取到的数据位置。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '本次请求所返回的最大记录条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '本次请求条件下的数据总量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'Success' => ['description' => '请求结果,取值如下:true:请求成功。 false:请求失败。', 'type' => 'boolean', 'deprecated' => true, 'example' => 'true'], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '更新API模板', + 'summary' => '更新API模板。', + 'requestParamsDescription' => '参数 Content 值示例(JAVA语言):'."\n" + .'`'."\n" + ."\n" + .'CreateClusterRequest request = new CreateClusterRequest();'."\n" + ."\n" + .'request.setRegionId("cn-beijing");'."\n" + ."\n" + .'request.setClusterType("DATALAKE");'."\n" + ."\n" + .'//创建集群其他参数... '."\n" + ."\n" + .'String content = new Gson().toJson(request);'."\n" + .'`', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UpdateApiTemplate', + 'authLevel' => '', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"AppId\\": \\"application_1665056147236_*****\\",\\n \\"Ids\\": [\\n \\"application_1665056147236_*****\\"\\n ],\\n \\"AppName\\": \\"data-upload\\",\\n \\"User\\": \\"DW\\",\\n \\"StartTime\\": 1677465658275,\\n \\"EndTime\\": 1682049088086,\\n \\"Queue\\": \\"DW\\",\\n \\"Type\\": \\"TEZ\\",\\n \\"QuerySql\\": \\"SELECT id, count(1) FROM test group by id;\\\\n\\",\\n \\"Metrics\\": {\\n \\"VcoreUtilization\\": {\\n \\"Name\\": \\"vcoreUtilization\\",\\n \\"Value\\": 23.1,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of used vcore to total available cores\\\\n\\"\\n },\\n \\"MemUtilization\\": {\\n \\"Name\\": \\"memUtilization\\\\n\\",\\n \\"Value\\": 0.23,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of used memory to total available memory\\\\n\\"\\n },\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\",\\n \\"Value\\": 11123,\\n \\"Unit\\": \\"VCores * Sec\\\\n\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"Score\\": 23,\\n \\"Suggestion\\": \\"##### 当前节点:container\\\\n##### 存在问题:\\\\n最大内存利用率为7.75%,利用率较低\\\\n\\\\n\\\\n尝试减小Tez Container内存,可通过hive.tez.container.size进行设置\\"\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => '批量获取任务分析结果', - 'summary' => '通过EMR Doctor获取批量任务分析结果。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], - 'ListDoctorHDFSDirectories' => [ - 'description' => 'list Doctor HDFSNodes', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateApplicationConfigs' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '19029', + 'abilityTreeNodes' => ['FEATUREemapreduce961UGJ'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-e6a9d46e9267****'], ], [ - 'name' => 'NextToken', + 'name' => 'ApplicationName', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => '标记当前开始读取的位置。', - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], + 'schema' => ['title' => '应用名称。', 'description' => '应用名称。', 'type' => 'string', 'required' => true, 'example' => 'HDFS'], ], [ - 'name' => 'MaxResults', + 'name' => 'RefreshConfig', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => '一次获取的最大记录数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['title' => '是否刷新配置。', 'description' => '是否刷新配置。'."\n" + .'默认值: true。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ - 'name' => 'DateTime', + 'name' => 'ConfigAction', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '配置项操作。', 'description' => '配置项操作。取值范围:'."\n" + .'- ADD:添加。'."\n" + .'- UPDATE:更新。'."\n" + .'- DELETE:删除。', 'type' => 'string', 'required' => false, 'example' => 'ADD'], + ], + [ + 'name' => 'ConfigScope', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '配置操作范围。', 'description' => '配置操作范围。取值范围:'."\n" + .'- CLUSTER:集群级别。'."\n" + .'- NODE_GROUP:节点组级别。', 'type' => 'string', 'required' => false, 'example' => 'CLUSTER'], + ], + [ + 'name' => 'ApplicationConfigs', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', - 'type' => 'string', + 'title' => '应用配置列表。', + 'description' => '应用配置列表。', + 'type' => 'array', + 'items' => ['required' => false, '$ref' => '#/components/schemas/UpdateApplicationConfig', 'description' => ''], 'required' => true, - 'example' => '2023-01-01'."\n", ], ], [ - 'name' => 'DirPath', + 'name' => 'Description', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '目录名称。目录不超过5级。如果不填写,就是全量目录分析。', - 'type' => 'string', - 'required' => false, - 'example' => '/tmp/test'."\n", - ], + 'schema' => ['title' => '本次更新操作描述。', 'description' => '描述。', 'type' => 'string', 'required' => false, 'example' => 'Description'], ], [ - 'name' => 'OrderType', + 'name' => 'NodeGroupId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '排序方向。取值:'."\n" - ."\n" - .'- ASC:升序排列'."\n" - ."\n" - .'- DESC:降序排列', - 'type' => 'string', - 'required' => false, - 'example' => 'ASC', - ], + 'schema' => ['title' => '节点组ID.', 'description' => '节点组ID。', 'type' => 'string', 'required' => false, 'example' => 'ng-869471354ecd****'], ], [ - 'name' => 'OrderBy', + 'name' => 'NodeId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '排序依据。取值:'."\n" - ."\n" - .'- totalFileCount: 总文件个数。'."\n" - .'- largeFileCount: 大文件个数。大文件指的是1 GB以上大小的文件。'."\n" - .'- mediumFileCount: 中文件个数。中文件指的是128 MB以上,1 GB以下大小的文件。'."\n" - .' - smallFileCount: 小文件个数。小文件指的是10 MB以上,128 MB以下大小的文件。'."\n" - .' - tinyFileCount: 极小文件个数。极小文件指的是0 MB以上,10 MB以下大小的文件。'."\n" - .' - emptyFileCount: 空文件个数。空文件指的是0 MB大小的文件。'."\n" - .' - hotDataSize: 热数据的数据量大小。热数据指的是7日内有访问的数据。'."\n" - .' - warmDataSize: 温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。'."\n" - .' - coldDataSize: 冷数据的数据量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。'."\n" - .' - freezeDataSize: 极冷数据的数据量大小。极冷数据指的是90日以内都没有访问的数据。'."\n" - .' - totalDataSize: 总数据量大小。'."\n" - .' - totalFileDayGrowthCount: 总文件个数日增量。'."\n" - .' - largeFileDayGrowthCount: 大文件个数日增量。大文件指的是1 GB以上大小的文件。'."\n" - .' - mediumFileDayGrowthCount: 中文件个数增量。比中文件指的是128 MB以上,1 GB以下大小的文件。'."\n" - .' - smallFileDayGrowthCount: 小文件个数日增量。小文件指的是10 MB以上,128 MB以下大小的文件。'."\n" - .' - tinyFileDayGrowthCount: 极小文件个数日增量。极小文件指的是0 MB以上,10 MB以下大小的文件。'."\n" - .' - emptyFileDayGrowthCount: 空文件个数日增量。空文件指的是0 MB大小的文件。'."\n" - .' - hotDataDayGrowthSize: 热数据的数据量日增量大小。热数据指的是7日内有访问的数据。'."\n" - .' - warmDataDayGrowthSize: 温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。'."\n" - .' - coldDataDayGrowthSize: 冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。'."\n" - .' - freezeDataDayGrowthSize: 极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。'."\n" - .' - totalDataDayGrowthSize: 全部数据的数据量日增量大小。'."\n" - .' - totalFileCountDayGrowthRatio: 总文件个数日环比。'."\n" - .' - largeFileCountDayGrowthRatio: 大文件个数日环比。大文件指的是1 GB以上大小的文件。'."\n" - .' - mediumFileCountDayGrowthRatio: 中文件个数日环比。比中文件指的是128 MB以上,1 GB以下大小的文件。'."\n" - .' - smallFileCountDayGrowthRatio: 小文件个数日环比。小文件指的是10 MB以上,128 MB以下大小的文件。'."\n" - .' - tinyFileCountDayGrowthRatio: 极小文件个数日环比。极小文件指的是0 MB以上,10 MB以下大小的文件。'."\n" - .' - emptyFileCountDayGrowthRatio: 空文件个数日环比。空文件指的是0 MB大小的文件。', - 'type' => 'string', - 'required' => false, - 'example' => 'smallFileCount', - ], + 'schema' => ['title' => '节点ID。', 'description' => '节点ID。', 'type' => 'string', 'required' => false, 'example' => 'i-bp1cudc25w2bfwl5****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回数据', - 'description' => '返回数据', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'HDFS批量目录分析数据。', - 'type' => 'array', - 'items' => [ - 'description' => 'HDFS目录分析数据。', - 'type' => 'object', - 'properties' => [ - 'DirPath' => [ - 'description' => '目录名称。', - 'type' => 'string', - 'example' => '/tmp/test', - ], - 'Depth' => [ - 'description' => '目录层级。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'User' => [ - 'description' => '目录属主。', - 'type' => 'string', - 'example' => 'DW', - ], - 'Group' => [ - 'description' => '目录属组。', - 'type' => 'string', - 'example' => 'DW', - ], - 'Metrics' => [ - 'description' => '指标信息。', - 'type' => 'object', - 'properties' => [ - 'TotalFileCount' => [ - 'description' => '总文件个数。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '51683279', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of total files'."\n", - ], - ], - ], - 'LargeFileCount' => [ - 'description' => '大文件个数。大文件指的是1 GB以上大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of large files'."\n", - ], - ], - ], - 'MediumFileCount' => [ - 'description' => '中文件个数。中文件指的是128 MB以上,1 GB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '323', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of medium files'."\n", - ], - ], - ], - 'SmallFileCount' => [ - 'description' => '小文件个数。小文件指的是10 MB以上,128 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12345'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of small files'."\n", - ], - ], - ], - 'TinyFileCount' => [ - 'description' => '极小文件个数。极小文件指的是0 MB以上,10 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileCount'."\n", - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '232131', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of tiny files', - ], - ], - ], - 'EmptyFileCount' => [ - 'description' => '空文件个数。空文件指的是0 MB大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '15595897', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of empty files', - ], - ], - ], - 'HotDataSize' => [ - 'description' => '热数据的数据量大小。热数据指的是7日内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6701531944206', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the hot data size'."\n", - ], - ], - ], - 'WarmDataSize' => [ - 'description' => '温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataSize'."\n", - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4062349775577', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the warm data size'."\n", - ], - ], - ], - 'ColdDataSize' => [ - 'description' => '冷数据的数据量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5570958082267', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the cold data size'."\n", - ], - ], - ], - 'FreezeDataSize' => [ - 'description' => '极冷数据的数据量大小。极冷数据指的是90日以内都没有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1231312431', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the freeze data size'."\n", - ], - ], - ], - 'TotalDataSize' => [ - 'description' => '总数据量大小。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '62086342083623', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total data size in megabytes (MB)'."\n", - ], - ], - ], - 'TotalFileDayGrowthCount' => [ - 'description' => '总文件个数日增量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '27809', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of total files'."\n", - ], - ], - ], - 'LargeFileDayGrowthCount' => [ - 'description' => '大文件个数日增量。大文件指的是1 GB以上大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of large files'."\n", - ], - ], - ], - 'MediumFileDayGrowthCount' => [ - 'description' => '中文件个数增量。比中文件指的是128 MB以上,1 GB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '176', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of medium files'."\n", - ], - ], - ], - 'SmallFileDayGrowthCount' => [ - 'description' => '小文件个数日增量。小文件指的是10 MB以上,128 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12345', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of small files'."\n", - ], - ], - ], - 'TinyFileDayGrowthCount' => [ - 'description' => '极小文件个数日增量。极小文件指的是0 MB以上,10 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-123'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of tiny files', - ], - ], - ], - 'EmptyFileDayGrowthCount' => [ - 'description' => '空文件个数日增量。空文件指的是0 MB大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '114'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of empty files'."\n", - ], - ], - ], - 'HotDataDayGrowthSize' => [ - 'description' => '热数据的数据量日增量大小。热数据指的是7日内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123154'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => ' '."\n" - .'Day growth size of hot data'."\n", - ], - ], - ], - 'WarmDataDayGrowthSize' => [ - 'description' => '温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-64806998319'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of warm data'."\n", - ], - ], - ], - 'ColdDataDayGrowthSize' => [ - 'description' => '冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-182636577752'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of cold data'."\n", - ], - ], - ], - 'FreezeDataDayGrowthSize' => [ - 'description' => '极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-167683929450'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of freeze data'."\n", - ], - ], - ], - 'TotalDataDayGrowthSize' => [ - 'description' => '全部数据的数据量日增量大小。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '256482228248', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of total data'."\n", - ], - ], - ], - 'TotalFileCountDayGrowthRatio' => [ - 'description' => '总文件个数日环比。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalFileCountDayGrowthRatio'."\n", - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.02'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of total files'."\n", - ], - ], - ], - 'LargeFileCountDayGrowthRatio' => [ - 'description' => '大文件个数日环比。大文件指的是1 GB以上大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.39'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of large files'."\n", - ], - ], - ], - 'MediumFileCountDayGrowthRatio' => [ - 'description' => '中文件个数日环比。比中文件指的是128 MB以上,1 GB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.19'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of medium files'."\n", - ], - ], - ], - 'SmallFileCountDayGrowthRatio' => [ - 'description' => '小文件个数日环比。小文件指的是10 MB以上,128 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.02'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of small files'."\n", - ], - ], - ], - 'TinyFileCountDayGrowthRatio' => [ - 'description' => '极小文件个数日环比。极小文件指的是0 MB以上,10 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.003', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of tiny files'."\n", - ], - ], - ], - 'EmptyFileCountDayGrowthRatio' => [ - 'description' => '空文件个数日环比。空文件指的是0 MB大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.005'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of empty files', - ], - ], - ], - 'HotDataSizeDayGrowthRatio' => [ - 'description' => '热数据的数据量大小日环比。热数据指的是7日内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => ' '."\n" - .'0.1114'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of hot data size'."\n", - ], - ], - ], - 'WarmDataSizeDayGrowthRatio' => [ - 'description' => '温数据的数据量大小日环比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => ' '."\n" - .'warmDataSizeDayGrowthRatio'."\n", - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => ' '."\n" - .'-0.015'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of warm data size'."\n", - ], - ], - ], - 'ColdDataSizeDayGrowthRatio' => [ - 'description' => '冷数据的数据量大小日环比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '-0.03'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of cold data size'."\n", - ], - ], - ], - 'FreezeDataSizeDayGrowthRatio' => [ - 'description' => '极冷数据的数据量大小日环比。极冷数据指的是90日以内都没有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '-0.09'."\n", - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of freeze data size'."\n", - ], - ], - ], - 'TotalDataSizeDayGrowthRatio' => [ - 'description' => '总数据量大小日环比。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.14', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“'."\n", - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of total data size'."\n", - ], - ], - ], - ], - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '返回读取到的数据位置。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '本次请求所返回的最大记录条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '本次请求条件下的数据总量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'OperationId' => ['title' => '操作ID。', 'description' => '操作ID。', 'type' => 'string', 'example' => 'op-13c37a77c505****'], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"DirPath\\": \\"/tmp/test\\",\\n \\"Depth\\": 2,\\n \\"User\\": \\"DW\\",\\n \\"Group\\": \\"DW\\",\\n \\"Metrics\\": {\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 51683279,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of total files\\\\n\\"\\n },\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of large files\\\\n\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 323,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of medium files\\\\n\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 12345,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of small files\\\\n\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\\\n\\",\\n \\"Value\\": 232131,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Number of tiny files\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 15595897,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Number of empty files\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 6701531944206,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the hot data size\\\\n\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\\\n\\",\\n \\"Value\\": 4062349775577,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the warm data size\\\\n\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 5570958082267,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the cold data size\\\\n\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1231312431,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Size of the freeze data size\\\\n\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 62086342083623,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\\\n\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 27809,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of total files\\\\n\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 2,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of large files\\\\n\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 176,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of medium files\\\\n\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 12345,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of small files\\\\n\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": -123,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of tiny files\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": 114,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth count of empty files\\\\n\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 123154,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"\\\\t\\\\nDay growth size of hot data\\\\n\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": -64806998319,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of warm data\\\\n\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": -182636577752,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of cold data\\\\n\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": -167683929450,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of freeze data\\\\n\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 256482228248,\\n \\"Unit\\": \\"MB\\\\n\\",\\n \\"Description\\": \\"Day growth size of total data\\\\n\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\\\n\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of total files\\\\n\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.39,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of large files\\\\n\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.19,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\\\n\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of small files\\\\n\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.003,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\\\n\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.005,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.1114,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\\\n\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"\\\\t\\\\nwarmDataSizeDayGrowthRatio\\\\n\\",\\n \\"Value\\": -0.015,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\\\n\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.03,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\\\n\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.09,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\\\n\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.14,\\n \\"Unit\\": \\"”“\\\\n\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\\\n\\"\\n }\\n }\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => '批量获取HDFS目录分析结果', - 'summary' => '通过EMR Doctor批量获取特定目录分析结果,目录不超过5级。', - ], - 'GetDoctorHDFSCluster' => [ - 'description' => 'list Doctor HBaseTableRegions', - 'methods' => [ - 'get', - 'post', + 'title' => '更新应用配置', + 'summary' => '更新应用配置。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateApplicationConfigs'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UpdateApplicationConfigs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"OperationId\\": \\"op-13c37a77c505****\\",\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3****\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateApplicationConfigsResponse>\\n <RequestId>9E3A7161-EB7B-172B-8D18-FFB06BA3****</RequestId>\\n</UpdateApplicationConfigsResponse>","errorExample":""}]', + ], + 'UpdateClusterAttribute' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '101707', + 'abilityTreeNodes' => ['FEATUREemapreduceGZP0FZ'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'DateTime', + 'name' => 'ClusterName', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '其日期和时间信息以 ISO 8601 格式表示, 例如:2023年1月1日为 2023-01-01。', - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', - ], + 'schema' => ['title' => '集群名称。', 'description' => '集群名称。', 'type' => 'string', 'required' => false, 'example' => 'emrtest'], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => '集群描述。', 'type' => 'string', 'required' => false, 'example' => 'Emr cluster for ETL'], + ], + [ + 'name' => 'DeletionProtection', + 'in' => 'query', + 'schema' => ['description' => '释放保护。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], ], 'responses' => [ @@ -33016,1308 +16313,140 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'HDFS分析数据。', - 'type' => 'object', - 'properties' => [ - 'Metrics' => [ - 'description' => '指标信息。', - 'type' => 'object', - 'properties' => [ - 'LargeFileCount' => [ - 'description' => '大文件个数。大文件指的是1 GB以上大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of large files', - ], - ], - ], - 'MediumFileCount' => [ - 'description' => '中文件个数。中文件指的是128 MB以上,1 GB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '234', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of medium files', - ], - ], - ], - 'SmallFileCount' => [ - 'description' => '小文件个数。小文件指的是10 MB以上,128 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12345', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of small files', - ], - ], - ], - 'TinyFileCount' => [ - 'description' => '极小文件个数。极小文件指的是0 MB以上,10 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '232131', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of tiny files', - ], - ], - ], - 'EmptyFileCount' => [ - 'description' => '空文件个数。空文件指的是0 MB大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '15595897', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of empty files', - ], - ], - ], - 'TotalFileCount' => [ - 'description' => '总文件个数。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalFileCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '51683279', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Number of total files', - ], - ], - ], - 'HotDataSize' => [ - 'description' => '热数据的数据量大小。热数据指的是7日内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6701531944206', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the hot data size', - ], - ], - ], - 'WarmDataSize' => [ - 'description' => '温数据的数据量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4062349775577', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the warm data size', - ], - ], - ], - 'ColdDataSize' => [ - 'description' => '冷数据的数据量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5570958082267', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the cold data size', - ], - ], - ], - 'FreezeDataSize' => [ - 'description' => '极冷数据的数据量大小。极冷数据指的是90日以内都没有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1231312431', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Size of the freeze data size', - ], - ], - ], - 'TotalDataSize' => [ - 'description' => '总数据量大小。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDataSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '62086342083623', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total data size in megabytes (MB)', - ], - ], - ], - 'LargeFileRatio' => [ - 'description' => '大文件个数占比。大文件指的是1 GB以上大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.22', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of large files', - ], - ], - ], - 'MediumFileRatio' => [ - 'description' => '中文件个数占比。中文件指的是128 MB以上,1 GB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.21', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of medium files', - ], - ], - ], - 'SmallFileRatio' => [ - 'description' => '小文件个数占比。小文件指的是10 MB以上,128 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.19', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of small files', - ], - ], - ], - 'TinyFileRatio' => [ - 'description' => '极小文件个数占比。极小文件指的是0 MB以上,10 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.19', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of tiny files', - ], - ], - ], - 'EmptyFileRatio' => [ - 'description' => '空文件个数占比。空文件指的是0 MB大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.3', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '""', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of empty files', - ], - ], - ], - 'HotDataRatio' => [ - 'description' => '热数据的数据量大小占比。热数据指的是7日内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.22', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Hot data ratio', - ], - ], - ], - 'WarmDataRatio' => [ - 'description' => '温数据的数据量大小占比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.12', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of warm data', - ], - ], - ], - 'ColdDataRatio' => [ - 'description' => '冷数据的数据量大小占比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.01', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Cold data ratio', - ], - ], - ], - 'FreezeDataRatio' => [ - 'description' => '极冷数据的数据量大小占比。极冷数据指的是90日以内都没有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.12', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of freeze data', - ], - ], - ], - 'TotalFileDayGrowthCount' => [ - 'description' => '总文件个数日增量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '27809', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of total files', - ], - ], - ], - 'LargeFileDayGrowthCount' => [ - 'description' => '大文件个数日增量。大文件指的是1 GB以上大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of large files', - ], - ], - ], - 'MediumFileDayGrowthCount' => [ - 'description' => '中文件个数增量。比中文件指的是128 MB以上,1 GB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '176', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of medium files', - ], - ], - ], - 'SmallFileDayGrowthCount' => [ - 'description' => '小文件个数日增量。小文件指的是10 MB以上,128 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12321', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of small files', - ], - ], - ], - 'TinyFileDayGrowthCount' => [ - 'description' => '极小文件个数日增量。极小文件指的是0 MB以上,10 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-123', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of tiny files', - ], - ], - ], - 'EmptyFileDayGrowthCount' => [ - 'description' => '空文件个数日增量。空文件指的是0 MB大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileDayGrowthCount', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '114', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth count of empty files', - ], - ], - ], - 'HotDataDayGrowthSize' => [ - 'description' => '热数据的数据量日增量大小。热数据指的是7日内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123154', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of hot data', - ], - ], - ], - 'WarmDataDayGrowthSize' => [ - 'description' => '温数据的数据量日增量大小。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-64806998319', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of warm data', - ], - ], - ], - 'ColdDataDayGrowthSize' => [ - 'description' => '冷数据的数据量日增量大小。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-182636577752', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of cold data', - ], - ], - ], - 'FreezeDataDayGrowthSize' => [ - 'description' => '极冷数据的数据量日增量大小。极冷数据指的是90日以内都没有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-167683929450', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of freeze data', - ], - ], - ], - 'TotalDataDayGrowthSize' => [ - 'description' => '全部数据的数据量日增量大小。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDataDayGrowthSize', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '256482228248', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth size of total data', - ], - ], - ], - 'TotalFileCountDayGrowthRatio' => [ - 'description' => '总文件个数日环比。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.02', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of total files', - ], - ], - ], - 'LargeFileCountDayGrowthRatio' => [ - 'description' => '大文件个数日环比。大文件指的是1 GB以上大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'largeFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.39', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of large files', - ], - ], - ], - 'MediumFileCountDayGrowthRatio' => [ - 'description' => '中文件个数日环比。比中文件指的是128 MB以上,1 GB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'mediumFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.19', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of medium files', - ], - ], - ], - 'SmallFileCountDayGrowthRatio' => [ - 'description' => '小文件个数日环比。小文件指的是10 MB以上,128 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'smallFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.02', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of small files', - ], - ], - ], - 'TinyFileCountDayGrowthRatio' => [ - 'description' => '极小文件个数日环比。极小文件指的是0 MB以上,10 MB以下大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'tinyFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.003', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of tiny files', - ], - ], - ], - 'EmptyFileCountDayGrowthRatio' => [ - 'description' => '空文件个数日环比。空文件指的是0 MB大小的文件。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'emptyFileCountDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.005', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of empty files', - ], - ], - ], - 'HotDataSizeDayGrowthRatio' => [ - 'description' => '热数据的数据量大小日环比。热数据指的是7日内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'hotDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.1114', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of hot data size', - ], - ], - ], - 'WarmDataSizeDayGrowthRatio' => [ - 'description' => '温数据的数据量大小日环比。温数据指的是7日内没有访问的数据,但是30日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'warmDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '-0.015', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of warm data size', - ], - ], - ], - 'ColdDataSizeDayGrowthRatio' => [ - 'description' => '冷数据的数据量大小日环比。冷数据指的是30日内没有访问的数据,但是90日以内有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'coldDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '-0.03', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of cold data size', - ], - ], - ], - 'FreezeDataSizeDayGrowthRatio' => [ - 'description' => '极冷数据的数据量大小日环比。极冷数据指的是90日以内都没有访问的数据。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'freezeDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '-0.09', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of freeze data size', - ], - ], - ], - 'TotalDataSizeDayGrowthRatio' => [ - 'description' => '总数据量大小日环比。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'example' => 'totalDataSizeDayGrowthRatio', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.14', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '”“', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Day growth ratio of total data size', - ], - ], - ], - ], - ], - 'Analysis' => [ - 'description' => '分析结果。', - 'type' => 'object', - 'properties' => [ - 'HdfsScore' => [ - 'description' => 'HDFS整体评分。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '55', - ], - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Metrics\\": {\\n \\"LargeFileCount\\": {\\n \\"Name\\": \\"largeFileCount\\",\\n \\"Value\\": 123,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of large files\\"\\n },\\n \\"MediumFileCount\\": {\\n \\"Name\\": \\"mediumFileCount\\",\\n \\"Value\\": 234,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of medium files\\"\\n },\\n \\"SmallFileCount\\": {\\n \\"Name\\": \\"smallFileCount\\",\\n \\"Value\\": 12345,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of small files\\"\\n },\\n \\"TinyFileCount\\": {\\n \\"Name\\": \\"tinyFileCount\\",\\n \\"Value\\": 232131,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of tiny files\\"\\n },\\n \\"EmptyFileCount\\": {\\n \\"Name\\": \\"emptyFileCount\\",\\n \\"Value\\": 15595897,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of empty files\\"\\n },\\n \\"TotalFileCount\\": {\\n \\"Name\\": \\"totalFileCount\\",\\n \\"Value\\": 51683279,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Number of total files\\"\\n },\\n \\"HotDataSize\\": {\\n \\"Name\\": \\"hotDataSize\\",\\n \\"Value\\": 6701531944206,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the hot data size\\"\\n },\\n \\"WarmDataSize\\": {\\n \\"Name\\": \\"warmDataSize\\",\\n \\"Value\\": 4062349775577,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the warm data size\\"\\n },\\n \\"ColdDataSize\\": {\\n \\"Name\\": \\"coldDataSize\\",\\n \\"Value\\": 5570958082267,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the cold data size\\"\\n },\\n \\"FreezeDataSize\\": {\\n \\"Name\\": \\"freezeDataSize\\",\\n \\"Value\\": 1231312431,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Size of the freeze data size\\"\\n },\\n \\"TotalDataSize\\": {\\n \\"Name\\": \\"totalDataSize\\",\\n \\"Value\\": 62086342083623,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Total data size in megabytes (MB)\\"\\n },\\n \\"LargeFileRatio\\": {\\n \\"Name\\": \\"largeFileRatio\\",\\n \\"Value\\": 0.22,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of large files\\"\\n },\\n \\"MediumFileRatio\\": {\\n \\"Name\\": \\"mediumFileRatio\\",\\n \\"Value\\": 0.21,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of medium files\\"\\n },\\n \\"SmallFileRatio\\": {\\n \\"Name\\": \\"smallFileRatio\\",\\n \\"Value\\": 0.19,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of small files\\"\\n },\\n \\"TinyFileRatio\\": {\\n \\"Name\\": \\"tinyFileRatio\\",\\n \\"Value\\": 0.19,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of tiny files\\"\\n },\\n \\"EmptyFileRatio\\": {\\n \\"Name\\": \\"emptyFileRatio\\",\\n \\"Value\\": 0.3,\\n \\"Unit\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Description\\": \\"Ratio of empty files\\"\\n },\\n \\"HotDataRatio\\": {\\n \\"Name\\": \\"hotDataRatio\\",\\n \\"Value\\": 0.22,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Hot data ratio\\"\\n },\\n \\"WarmDataRatio\\": {\\n \\"Name\\": \\"warmDataRatio\\",\\n \\"Value\\": 0.12,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of warm data\\"\\n },\\n \\"ColdDataRatio\\": {\\n \\"Name\\": \\"coldDataRatio\\",\\n \\"Value\\": 0.01,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Cold data ratio\\"\\n },\\n \\"FreezeDataRatio\\": {\\n \\"Name\\": \\"freezeDataRatio\\",\\n \\"Value\\": 0.12,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Ratio of freeze data\\"\\n },\\n \\"TotalFileDayGrowthCount\\": {\\n \\"Name\\": \\"totalFileDayGrowthCount\\",\\n \\"Value\\": 27809,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Day growth count of total files\\"\\n },\\n \\"LargeFileDayGrowthCount\\": {\\n \\"Name\\": \\"largeFileDayGrowthCount\\",\\n \\"Value\\": 2,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Day growth count of large files\\"\\n },\\n \\"MediumFileDayGrowthCount\\": {\\n \\"Name\\": \\"mediumFileDayGrowthCount\\",\\n \\"Value\\": 176,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of medium files\\"\\n },\\n \\"SmallFileDayGrowthCount\\": {\\n \\"Name\\": \\"smallFileDayGrowthCount\\",\\n \\"Value\\": 12321,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of small files\\"\\n },\\n \\"TinyFileDayGrowthCount\\": {\\n \\"Name\\": \\"tinyFileDayGrowthCount\\",\\n \\"Value\\": -123,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of tiny files\\"\\n },\\n \\"EmptyFileDayGrowthCount\\": {\\n \\"Name\\": \\"emptyFileDayGrowthCount\\",\\n \\"Value\\": 114,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth count of empty files\\"\\n },\\n \\"HotDataDayGrowthSize\\": {\\n \\"Name\\": \\"hotDataDayGrowthSize\\",\\n \\"Value\\": 123154,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of hot data\\"\\n },\\n \\"WarmDataDayGrowthSize\\": {\\n \\"Name\\": \\"warmDataDayGrowthSize\\",\\n \\"Value\\": -64806998319,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of warm data\\"\\n },\\n \\"ColdDataDayGrowthSize\\": {\\n \\"Name\\": \\"coldDataDayGrowthSize\\",\\n \\"Value\\": -182636577752,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of cold data\\"\\n },\\n \\"FreezeDataDayGrowthSize\\": {\\n \\"Name\\": \\"freezeDataDayGrowthSize\\",\\n \\"Value\\": -167683929450,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of freeze data\\"\\n },\\n \\"TotalDataDayGrowthSize\\": {\\n \\"Name\\": \\"totalDataDayGrowthSize\\",\\n \\"Value\\": 256482228248,\\n \\"Unit\\": \\"MB\\",\\n \\"Description\\": \\"Day growth size of total data\\"\\n },\\n \\"TotalFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"totalFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of total files\\"\\n },\\n \\"LargeFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"largeFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.39,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of large files\\"\\n },\\n \\"MediumFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"mediumFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.19,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of medium files\\"\\n },\\n \\"SmallFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"smallFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.02,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of small files\\"\\n },\\n \\"TinyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"tinyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.003,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of tiny files\\"\\n },\\n \\"EmptyFileCountDayGrowthRatio\\": {\\n \\"Name\\": \\"emptyFileCountDayGrowthRatio\\",\\n \\"Value\\": 0.005,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of empty files\\"\\n },\\n \\"HotDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"hotDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.1114,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of hot data size\\"\\n },\\n \\"WarmDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"warmDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.015,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of warm data size\\"\\n },\\n \\"ColdDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"coldDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.03,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of cold data size\\"\\n },\\n \\"FreezeDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"freezeDataSizeDayGrowthRatio\\",\\n \\"Value\\": -0.09,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of freeze data size\\"\\n },\\n \\"TotalDataSizeDayGrowthRatio\\": {\\n \\"Name\\": \\"totalDataSizeDayGrowthRatio\\",\\n \\"Value\\": 0.14,\\n \\"Unit\\": \\"”“\\",\\n \\"Description\\": \\"Day growth ratio of total data size\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"HdfsScore\\": 55\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '获取HDFS分析结果', - 'summary' => '通过EMR Doctor获取集群HDFS数据分析结果。', - ], - 'GetDoctorApplication' => [ - 'description' => 'get one doctor analysis app', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '更新集群属性', + 'summary' => '更新集群属性。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateClusterAttribute'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UpdateClusterAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + ], + 'UpdateClusterAutoRenew' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQEA007', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '19032', + 'abilityTreeNodes' => ['SPUemapreduceZSGDF4'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-d6661c71139a****'], ], [ - 'name' => 'AppId', + 'name' => 'ClusterAutoRenew', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => 'app id', - 'description' => '任务提交到YARN的ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'application_1542620905989_****', - ], + 'schema' => ['title' => '集群是否自动续费。', 'description' => '集群是否开启自动续费。取值范围:'."\n" + ."\n" + .'- true:开启自动续费。'."\n" + ."\n" + .'- false:不开启自动续费。'."\n" + ."\n" + .'默认值:false。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ - 'name' => 'DateTime', + 'name' => 'ClusterAutoRenewDuration', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '集群自动续费时长。', 'description' => '集群自动续费时长。当 ClusterAutoRenew 取值为 true 时生效。'."\n" + .'ClusterAutoRenewDurationUnit取值为 Month 时,取值:1、2、3、4、5、6、7、8、9、12、24、36。ClusterAutoRenewDurationUnit取值为 Year时,取值:1、2、3。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'ClusterAutoRenewDurationUnit', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '集群自动续费时长单位。', 'description' => '集群续费时长单位。取值范围:'."\n" + ."\n" + .'- Month:月。'."\n" + ."\n" + .'- Year:年。'."\n" + ."\n" + .'默认值:Month。', 'type' => 'string', 'required' => false, 'example' => 'Monthly'], + ], + [ + 'name' => 'RenewAllInstances', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '续费所有ECS实例。', 'description' => '是否对集群中所有ECS实例配置自动续费。取值范围:'."\n" + ."\n" + .'- true:对集群中所有ECS实例配置自动续费,默认配置自动续费1个月。'."\n" + ."\n" + .'- false:不对集群中所有ECS实例配置自动续费。可在AutoRenewInstances中指定要配置自动续费的ECS实例。'."\n" + ."\n" + .'默认值:false。', 'type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'AutoRenewInstances', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => '其日期和时间信息以ISO 8601格式表示,例如:2023年1月1日为 2023-01-01。', - 'type' => 'string', - 'required' => true, - 'example' => '2023-01-01', + 'title' => '自动续费ECS实例列表。', + 'description' => '自动续费ECS实例列表。RenewAllInstances不为true时生效。', + 'type' => 'array', + 'items' => ['description' => '自动续费的ECS实例。', 'required' => false, '$ref' => '#/components/schemas/AutoRenewInstance'], + 'required' => false, + 'maxItems' => 5000, ], ], ], @@ -34325,607 +16454,380 @@ 200 => [ 'schema' => [ 'title' => '返回数据', - 'description' => '返回数据', + 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '任务详情。', - 'type' => 'object', - 'properties' => [ - 'AppName' => [ - 'description' => '任务名称。', - 'type' => 'string', - 'example' => 'CREATE TABLE test...ranks=1 (Stage-1)', - ], - 'Ids' => [ - 'description' => '任务IDs,多个ID间使用英文逗号(,)分隔。', - 'type' => 'array', - 'items' => [ - 'description' => 'YARN的任务ID。', - 'type' => 'string', - 'example' => 'application_1643475036865_******', - ], - 'example' => 'null', - ], - 'User' => [ - 'description' => '任务提交用户名。', - 'type' => 'string', - 'example' => 'DW', - ], - 'StartTime' => [ - 'description' => '任务提交时间,Unix时间戳,单位毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1677465658275', - ], - 'EndTime' => [ - 'description' => '任务结束时间,Unix时间戳,单位毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1666213200000', - ], - 'Queue' => [ - 'description' => '任务提交到YARN的队列。', - 'type' => 'string', - 'example' => 'DW', - ], - 'Type' => [ - 'description' => '计算引擎类型。', - 'type' => 'string', - 'example' => 'SPARK', - ], - 'QuerySql' => [ - 'description' => '任务提交的SQL语句,非SQL任务为空。', - 'type' => 'string', - 'example' => 'SELECT id, count(1) FROM test group by id;', - ], - 'Metrics' => [ - 'description' => '指标数据。', - 'type' => 'object', - 'properties' => [ - 'VcoreUtilization' => [ - 'description' => 'CPU使用率,同Linux Top的%CPU含义。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'enumValueTitles' => [], - 'example' => 'vcoreUtilization', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '32.1', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of used vcore to total available cores', - ], - ], - ], - 'MemUtilization' => [ - 'description' => '内存使用率。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'enumValueTitles' => [], - 'example' => 'memUtilization', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.82', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => '“”', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Ratio of used memory to total available memory', - ], - ], - ], - 'VcoreSeconds' => [ - 'description' => 'CPU使用量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'enumValueTitles' => [], - 'example' => 'vcoreSeconds', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '11123', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'VCores * Sec', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total vcore usage over time in seconds', - ], - ], - ], - 'MemSeconds' => [ - 'description' => '内存使用量。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '指标名称。', - 'type' => 'string', - 'enumValueTitles' => [], - 'example' => 'memSeconds', - ], - 'Value' => [ - 'description' => '指标值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12312312', - ], - 'Unit' => [ - 'description' => '指标单位。', - 'type' => 'string', - 'example' => 'MB * Sec', - ], - 'Description' => [ - 'description' => '指标描述。', - 'type' => 'string', - 'example' => 'Total memory usage over time in seconds', - ], - ], - ], - ], - ], - 'Analysis' => [ - 'description' => '任务分析。', - 'type' => 'object', - 'properties' => [ - 'Score' => [ - 'description' => '任务评分。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '67', - ], - 'Suggestion' => [ - 'description' => '任务运行建议。', - 'type' => 'string', - 'example' => '##### 当前节点:container'."\n" - .'##### 存在问题:'."\n" - .'最大内存利用率为7.75%,利用率较低'."\n" - ."\n\n" - .'尝试减小Tez Container内存,可通过hive.tez.container.size进行设置'."\n" - ."\n", - ], - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'Success' => ['description' => '成功。', 'type' => 'boolean', 'deprecated' => true, 'example' => 'true'], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '9E3A7161-EB7B-172B-8D18-FFB06BA3896A'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '修改集群的自动续费属性', + 'summary' => '为您的EMR集群及其下ECS实例修改自动续费的属性,即配置自动续费的开启/关闭。', + 'description' => '请确保在使用该接口前,已充分了解E-MapReduce产品的收费方式和[价格](https://www.aliyun.com/price/product?spm=openapi-amp.newDocPublishment.0.0.d54d281ftXTbvg#/emapreduce/detail/emrpre)。注意:自动续费不等于立即续费,若您的实例已经到期或将于明天到期,请先手动续费。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UpdateClusterAutoRenew', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"AppName\\": \\"CREATE TABLE test...ranks=1 (Stage-1)\\",\\n \\"Ids\\": [\\n \\"application_1643475036865_******\\"\\n ],\\n \\"User\\": \\"DW\\",\\n \\"StartTime\\": 1677465658275,\\n \\"EndTime\\": 1666213200000,\\n \\"Queue\\": \\"DW\\",\\n \\"Type\\": \\"SPARK\\",\\n \\"QuerySql\\": \\"SELECT id, count(1) FROM test group by id;\\",\\n \\"Metrics\\": {\\n \\"VcoreUtilization\\": {\\n \\"Name\\": \\"vcoreUtilization\\",\\n \\"Value\\": 32.1,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Ratio of used vcore to total available cores\\"\\n },\\n \\"MemUtilization\\": {\\n \\"Name\\": \\"memUtilization\\",\\n \\"Value\\": 0.82,\\n \\"Unit\\": \\"“”\\",\\n \\"Description\\": \\"Ratio of used memory to total available memory\\"\\n },\\n \\"VcoreSeconds\\": {\\n \\"Name\\": \\"vcoreSeconds\\",\\n \\"Value\\": 11123,\\n \\"Unit\\": \\"VCores * Sec\\",\\n \\"Description\\": \\"Total vcore usage over time in seconds\\"\\n },\\n \\"MemSeconds\\": {\\n \\"Name\\": \\"memSeconds\\",\\n \\"Value\\": 12312312,\\n \\"Unit\\": \\"MB * Sec\\",\\n \\"Description\\": \\"Total memory usage over time in seconds\\"\\n }\\n },\\n \\"Analysis\\": {\\n \\"Score\\": 67,\\n \\"Suggestion\\": \\"##### 当前节点:container\\\\n##### 存在问题:\\\\n最大内存利用率为7.75%,利用率较低\\\\n\\\\n\\\\n尝试减小Tez Container内存,可通过hive.tez.container.size进行设置\\\\n\\\\n\\"\\n }\\n },\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '获取单个任务分析结果', - 'summary' => '通过EMR Doctor获取任务分析信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"9E3A7161-EB7B-172B-8D18-FFB06BA3896A\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateClusterAutoRenewResponse>\\n <requestId>9E3A7161-EB7B-172B-8D18-FFB06BA3896A</requestId>\\n <OperationId>64bedf6d-96e3-4780-95a0-4ad376ad****</OperationId>\\n</UpdateClusterAutoRenewResponse>","errorExample":""}]', ], - 'CreateUsers' => [ - 'summary' => '批量创建用户', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UpdateNodeGroupAttributes' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '258146', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceUBSEPK', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREemapreduceSNGGYA'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], + ], + [ + 'name' => 'NodeGroupId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '节点组ID。', 'description' => '节点组ID。', 'type' => 'string', 'required' => true, 'example' => 'ng-869471354ecd****'], + ], + [ + 'name' => 'NodeGroupName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '节点组名称。', 'description' => '节点组名称。', 'type' => 'string', 'required' => false, 'example' => 'CORE1'], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '节点组描述。', 'description' => '节点组描述。', 'type' => 'string', 'required' => false, 'example' => 'emr-core-1'], + ], + [ + 'name' => 'VSwitchId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '虚拟机交换机ID。', 'description' => '虚拟机交换机ID。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'vsw-hp35g7ya5ymw68mmg****'], + ], + [ + 'name' => 'AdditionalSecurityGroupIds', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '区域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', + 'title' => '安全组ID列表。', + 'description' => '安全组ID列表。', + 'type' => 'array', + 'items' => ['description' => '附加安全组id', 'type' => 'string', 'required' => false, 'example' => 'sg-2ze7z8a4kxz8l0am6l09'], + 'deprecated' => true, + 'required' => false, + 'example' => '["sg-hp3abbae8lb6lmb1****"]', ], ], [ - 'name' => 'ClusterId', + 'name' => 'KeyPairName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => 'ECS登录秘钥对。', 'description' => 'ECS登录秘钥对。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'test_pair'], + ], + [ + 'name' => 'MinSize', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '节点组最小实例数', 'description' => '节点组最小实例数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'], + ], + [ + 'name' => 'MaxSize', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '节点组最大实例数', 'description' => '节点组最大实例数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '200'], + ], + [ + 'name' => 'EnableGracefulDecommission', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '开启优雅下线。(V303创建集群时task组默认不开启优雅下线)', 'description' => '开启优雅下线。(V303创建集群时task组默认不开启优雅下线)', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'SpotInstanceRemedy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '是否开启补齐抢占式实例。开启后,当收到抢占式实例将被回收的系统消息时,伸缩组将尝试创建新的实例,替换掉将被回收的抢占式实例。默认值:false', 'description' => '是否开启补齐抢占式实例。开启后,当收到抢占式实例将被回收的系统消息时,伸缩组将尝试创建新的实例,替换掉将被回收的抢占式实例。默认值:false', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'NodeResizeStrategy', 'in' => 'query', 'allowEmptyValue' => false, + 'schema' => ['title' => '节点扩容策略,支持:COST_OPTIMIZED,PRIORITY 默认值:PRIORITY', 'description' => '节点扩容策略,支持:COST_OPTIMIZED,PRIORITY 默认值:PRIORITY', 'type' => 'string', 'required' => false, 'example' => 'PRIORITY'], + ], + [ + 'name' => 'CostOptimizedConfig', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => ['title' => '成本优化模式配置', 'description' => '成本优化模式配置', 'required' => false, '$ref' => '#/components/schemas/CostOptimizedConfig'], + ], + [ + 'name' => 'SpotBidPrices', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', + 'title' => '抢占式Spot实例价格上限。', + 'description' => '抢占式Spot实例价格上限。spotStrategy:SpotWithPriceLimit时生效', + 'type' => 'array', + 'items' => ['description' => '实例的每小时最高出价。支持最大3位小数,参数SpotStrategy=SpotWithPriceLimit时,该参数生效。', 'required' => false, '$ref' => '#/components/schemas/SpotBidPrice'], + 'required' => false, ], ], [ - 'name' => 'Users', + 'name' => 'EcsSpotStrategy', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '抢占式实例策略', 'description' => '抢占式实例策略', 'type' => 'string', 'required' => false, 'example' => 'SpotWithPriceLimit'], + ], + [ + 'name' => 'InstanceTypeList', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'flat', 'schema' => [ - 'title' => '用户列表。', - 'description' => '用户列表。数组元数个数 N 的取值范围:0~10。', + 'title' => 'ecs 实例规格列表。', + 'description' => 'ecs 实例规格列表。', 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'UserName' => [ - 'title' => '用户名。', - 'description' => '用户名。', - 'type' => 'string', - 'required' => true, - 'example' => 'xi', - ], - 'Password' => [ - 'title' => '用户密码。', - 'description' => '用户密码。', - 'type' => 'string', - 'required' => true, - 'example' => '*Ab123', - ], - ], - 'required' => false, - ], - 'required' => true, - 'maxItems' => 20, + 'items' => ['description' => '实例类型。', 'type' => 'string', 'required' => false, 'example' => 'ecs.g8a.16xlarge'], + 'required' => false, + 'example' => 'null', ], ], + [ + 'name' => 'AutoCompensateState', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '自动补偿状态。', 'description' => '自动补偿状态。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'NodeCount', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '节点组目标值', 'description' => '节点组目标值', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '8'], + ], + [ + 'name' => 'AckConfig', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', + 'schema' => ['description' => 'Ack集群配置', 'required' => false, '$ref' => '#/components/schemas/AckConfig'], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', + 'title' => '返回数据', 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'Data' => [ - 'description' => '请求结果,取值如下:true:请求成功。 false:请求失败。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', - ], + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"Data\\": true\\n}","type":"json"}]', - 'title' => '批量创建用户', - 'description' => '批量创建用户。', - ], - 'DeleteUsers' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', + 'title' => '更新集群节点组属性', + 'summary' => '更新节点组属性。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + ], + 'UpdateScript' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '258145', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce3NR9KZ', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '119867', + 'abilityTreeNodes' => ['FEATUREemapreduceY1BE2N', 'FEATUREemapreduce42QKNE'], ], 'parameters' => [ [ + 'name' => 'RegionId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '区域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], + [ 'name' => 'ClusterId', - 'in' => 'formData', + 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ - 'name' => 'UserNames', - 'in' => 'formData', + 'name' => 'ScriptId', + 'in' => 'query', 'allowEmptyValue' => false, - 'style' => 'json', - 'schema' => [ - 'description' => '用户名称列表,不得为空。数组元数个数 N 的取值范围:1~10。', - 'type' => 'array', - 'items' => [ - 'description' => '用户名称', - 'type' => 'string', - 'required' => false, - 'example' => 'xi', - ], - 'required' => false, - ], + 'schema' => ['title' => '脚本ID。', 'description' => '脚本ID。', 'type' => 'string', 'required' => true, 'example' => 'cs-da7476a7679a4d4c9cede62ebe09****'], ], [ - 'name' => 'RegionId', + 'name' => 'ScriptType', 'in' => 'query', - 'schema' => [ - 'description' => '区域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'allowEmptyValue' => false, + 'schema' => ['title' => '集群脚本类型。', 'description' => '脚本类型。取值范围:'."\n" + ."\n" + .'- BOOTSTRAP:ECS实例引导脚本。'."\n" + .'- NORMAL:普通脚本。', 'type' => 'string', 'required' => true, 'example' => 'BOOTSTRAP'], + ], + [ + 'name' => 'Script', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'json', + 'schema' => ['title' => '集群脚本。', 'description' => '脚本。', 'required' => true, '$ref' => '#/components/schemas/Script'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '返回数据。', + 'title' => '返回数据', + 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => ' '."\n" - .'DD6B1B2A-5837-5237-ABE4-FF0C8944****'."\n", - ], - 'Data' => [ - 'description' => '请求结果,取值如下:true:请求成功。 false:请求失败。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', - ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', - ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', - ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', - ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', - ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', - ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', - ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', - ], + ['errorCode' => 'InvalidParameter.ClusterId', 'errorMessage' => 'The specified clusterId is invalid.', 'description' => ''], + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], ], 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', - ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '更新脚本', + 'summary' => '更新引导脚本或者普通脚本。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateScript'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UpdateScript', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"\\\\t\\\\nDD6B1B2A-5837-5237-ABE4-FF0C8944****\\\\n\\",\\n \\"Data\\": true\\n}","type":"json"}]', - 'title' => '批量删除用户', - 'summary' => '批量删除用户。', - 'description' => '批量删除用户。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', ], 'UpdateUserAttribute' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -34935,81 +16837,43 @@ 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '119865', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQF0AGF', - ], + 'abilityTreeNodes' => ['FEATUREemapreduceQF0AGF'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID。', 'description' => '区域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ClusterId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', - ], + 'schema' => ['title' => '集群ID。', 'description' => '集群ID。', 'type' => 'string', 'required' => true, 'example' => 'c-b933c5aac8fe****'], ], [ 'name' => 'UserId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '用户ID。', - 'description' => '用户ID。', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '125046002175****', - ], + 'schema' => ['title' => '用户ID。', 'description' => '用户ID。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '125046002175****'], ], [ 'name' => 'UserName', 'in' => 'query', - 'schema' => [ - 'description' => '用户名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'yun****', - ], + 'schema' => ['description' => '用户名称。', 'type' => 'string', 'required' => false, 'example' => 'yun****'], ], [ 'name' => 'Password', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '用户密码。', - 'description' => '用户密码。', - 'type' => 'string', - 'required' => false, - 'example' => '1234', - ], + 'schema' => ['title' => '用户密码。', 'description' => '用户密码。', 'type' => 'string', 'required' => false, 'example' => '1234'], ], [ 'name' => 'Description', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '用户备注。', - 'description' => '用户备注。', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['title' => '用户备注。', 'description' => '用户备注。', 'type' => 'string', 'required' => false, 'example' => 'test'], ], ], 'responses' => [ @@ -35019,683 +16883,1115 @@ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '请求结果,取值如下:true:请求成功。 false:请求失败。', - 'type' => 'boolean', - 'deprecated' => true, - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], + 'Data' => ['description' => '请求结果,取值如下:true:请求成功。 false:请求失败。', 'type' => 'boolean', 'deprecated' => true, 'example' => 'true'], + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', + ['errorCode' => 'ConflictParameters', 'errorMessage' => 'Parameters that must not be used together. %s', 'description' => '多个参数间存在冲突。'], + ['errorCode' => 'IncompleteSignature', 'errorMessage' => 'The request signature is invalid.', 'description' => 'API请求签名不合法。'], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The action %s requested is invalid.', 'description' => '不合法的Action。'], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter %s is not valid.', 'description' => '参数错误。'], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'The input parameter %s is invalid or out of range.', 'description' => '参数值超出范围。'], + ['errorCode' => 'MissingAction', 'errorMessage' => 'The action %s requested is missing.', 'description' => '缺少Action参数'], + ['errorCode' => 'MissingParameter', 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'description' => '参数缺失。'], + ['errorCode' => 'NotAuthorized', 'errorMessage' => 'You do not have permission to perform this action. %s', 'description' => '没有权限。'], + ['errorCode' => 'ThrottlingException', 'errorMessage' => 'The request was denied due to request throttling. %s', 'description' => '限流。'], + ], + 404 => [ + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The resource not found by %s.', 'description' => '请求的资源未找到。'], + ], + 500 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', 'description' => '内部错误。'], + ], + 503 => [ + ['errorCode' => 'ServiceFailure', 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', 'description' => '依赖的阿里云其他服务不可用。'], + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The request has failed due to a temporary failure of the server.', 'description' => '请求超时或者服务不可用。'], + ], + ], + 'title' => '更新用户信息', + 'summary' => '更新用户信息。', + 'description' => '更新用户信息。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateUserAttribute'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UpdateUserAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', + ], + ], + 'endpoints' => [ + ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr.ap-northeast-1.aliyuncs.com', 'endpoint' => 'emr.ap-northeast-1.aliyuncs.com', 'vpc' => 'emr-vpc.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr.ap-southeast-1.aliyuncs.com', 'endpoint' => 'emr.ap-southeast-1.aliyuncs.com', 'vpc' => 'emr-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr.ap-southeast-3.aliyuncs.com', 'endpoint' => 'emr.ap-southeast-3.aliyuncs.com', 'vpc' => 'emr-vpc.ap-southeast-3.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr.ap-southeast-5.aliyuncs.com', 'endpoint' => 'emr.ap-southeast-5.aliyuncs.com', 'vpc' => 'emr-vpc.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr.cn-beijing.aliyuncs.com', 'endpoint' => 'emr.cn-beijing.aliyuncs.com', 'vpc' => 'emr-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr.cn-chengdu.aliyuncs.com', 'endpoint' => 'emr.cn-chengdu.aliyuncs.com', 'vpc' => 'emr-vpc.cn-chengdu.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr.cn-hangzhou.aliyuncs.com', 'endpoint' => 'emr.cn-hangzhou.aliyuncs.com', 'vpc' => 'emr-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr.cn-hongkong.aliyuncs.com', 'endpoint' => 'emr.cn-hongkong.aliyuncs.com', 'vpc' => 'emr-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr.cn-huhehaote.aliyuncs.com', 'endpoint' => 'emr.cn-huhehaote.aliyuncs.com', 'vpc' => 'emr-vpc.cn-huhehaote.aliyuncs.com'], + ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr.cn-qingdao.aliyuncs.com', 'endpoint' => 'emr.cn-qingdao.aliyuncs.com', 'vpc' => 'emr-vpc.cn-qingdao.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr.cn-shanghai.aliyuncs.com', 'endpoint' => 'emr.cn-shanghai.aliyuncs.com', 'vpc' => 'emr-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr.cn-shenzhen.aliyuncs.com', 'endpoint' => 'emr.cn-shenzhen.aliyuncs.com', 'vpc' => 'emr-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'emr.cn-wulanchabu.aliyuncs.com', 'vpc' => 'emr-vpc.cn-wulanchabu.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'emr.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'emr.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'emr-vpc.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'emr.us-west-1.aliyuncs.com', 'endpoint' => 'emr.us-west-1.aliyuncs.com', 'vpc' => 'emr-vpc.us-west-1.aliyuncs.com'], + ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'emr.us-east-1.aliyuncs.com', 'endpoint' => 'emr.us-east-1.aliyuncs.com', 'vpc' => 'emr-vpc.us-east-1.aliyuncs.com'], + ['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'emr.eu-west-1.aliyuncs.com', 'endpoint' => 'emr.eu-west-1.aliyuncs.com', 'vpc' => 'emr-vpc.eu-west-1.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'emr.eu-central-1.aliyuncs.com', 'endpoint' => 'emr.eu-central-1.aliyuncs.com', 'vpc' => 'emr-vpc.eu-central-1.aliyuncs.com'], + ['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'emr.me-east-1.aliyuncs.com', 'endpoint' => 'emr.me-east-1.aliyuncs.com', 'vpc' => 'emr-vpc.me-east-1.aliyuncs.com'], + ['regionId' => 'me-central-1', 'regionName' => '沙特(利雅得)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'emr.me-central-1.aliyuncs.com', 'endpoint' => 'emr.me-central-1.aliyuncs.com', 'vpc' => 'emr-vpc.me-central-1.aliyuncs.com'], + ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'emr.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'emr.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'emr-vpc.cn-shanghai-finance-1.aliyuncs.com'], + ['regionId' => 'cn-heyuan-acdr-1', 'regionName' => '河源专属云汽车合规', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'emr.cn-heyuan-acdr-1.aliyuncs.com', 'endpoint' => 'emr.cn-heyuan-acdr-1.aliyuncs.com', 'vpc' => 'emr-vpc.cn-heyuan-acdr-1.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'AccountException', 'message' => 'Account exception. %s', 'http_code' => 400, 'description' => '账号异常。'], + ['code' => 'ConcurrentModification', 'message' => 'The request on %s failed due to multiple requests to change this object were submitted simultaneously. Wait a few minutes and try again.', 'http_code' => 400, 'description' => '并发操作导致请求失败。'], + ['code' => 'ConflictParameters', 'message' => 'Parameters that must not be used together. %s', 'http_code' => 400, 'description' => '多个参数间存在冲突。'], + ['code' => 'EcsAbnormalStatus', 'message' => 'ECS instance is abnormal.', 'http_code' => 400, 'description' => 'ECS实例出现异常。'], + ['code' => 'EMR.AssumeRole.Failed', 'message' => 'You should create a role for EMR', 'http_code' => null, 'description' => '没有对EMR进行授权,在RAM控制台中授权'], + ['code' => 'ExistUnpaidOrder', 'message' => 'There are unpaid orders.', 'http_code' => 400, 'description' => 'EMR存在未支付订单。'], + ['code' => 'IdempotentParameterMismatch', 'message' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'http_code' => 400, 'description' => 'ClientToken重复使用,不同业务参数, 使用了相同ClientToken。'], + ['code' => 'IncompleteSignature', 'message' => 'The request signature is invalid.', 'http_code' => 400, 'description' => 'API请求签名不合法。'], + ['code' => 'InternalError', 'message' => 'The request processing has failed due to some unknown error, exception or failure.', 'http_code' => 500, 'description' => '内部错误。'], + ['code' => 'InvalidAction', 'message' => 'The action %s requested is invalid.', 'http_code' => 400, 'description' => '不合法的Action。'], + ['code' => 'InvalidParameter', 'message' => 'The specified parameter %s is not valid.', 'http_code' => 400, 'description' => '参数错误。'], + ['code' => 'InvalidParameterValue', 'message' => 'The input parameter %s is invalid or out of range.', 'http_code' => 400, 'description' => '参数值超出范围。'], + ['code' => 'MissingAction', 'message' => 'The action %s requested is missing.', 'http_code' => 400, 'description' => '缺少Action参数'], + ['code' => 'MissingParameter', 'message' => 'The input parameter %s that is mandatory for processing this request is not supplied.', 'http_code' => 400, 'description' => '参数缺失。'], + ['code' => 'NotAuthorized', 'message' => 'You do not have permission to perform this action. %s', 'http_code' => 400, 'description' => '没有权限。'], + ['code' => 'OperationDenied', 'message' => 'The operation is invalid. %s', 'http_code' => 400, 'description' => '操作被拒绝。'], + ['code' => 'OutOfStock', 'message' => 'The requested resource is sold out in the specified zone, try other types of resources or other regions and zones.', 'http_code' => 400, 'description' => '请求的资源库存不足,请尝试其他类型资源,或者其他可用区,或者其他区域。'], + ['code' => 'ParameterIsEmpty', 'message' => 'The required parameter is empty. %s', 'http_code' => null, 'description' => '请填写必填参数'], + ['code' => 'QuotaExceeded', 'message' => 'Request fail due to quota exceed. %s', 'http_code' => 400, 'description' => '因配额超出导致请求失败。'], + ['code' => 'RequestEcsServiceFail', 'message' => 'Request ecs service fail. %s', 'http_code' => 400, 'description' => '调用ECS服务发生异常。'], + ['code' => 'ResourceNotFound', 'message' => 'The resource not found by %s.', 'http_code' => 404, 'description' => '请求的资源未找到。'], + ['code' => 'ServiceFailure', 'message' => 'The request has failed due to a temporary failure of %s service.', 'http_code' => 503, 'description' => '依赖的阿里云其他服务不可用。'], + ['code' => 'ServiceUnavailable', 'message' => 'The request has failed due to a temporary failure of the server.', 'http_code' => 503, 'description' => '请求超时或者服务不可用。'], + ['code' => 'ThrottlingException', 'message' => 'The request was denied due to request throttling. %s', 'http_code' => 400, 'description' => '限流。'], + ['code' => 'ValidationFail', 'message' => 'The request fails to satisfy the constraints specified by emr service. %s', 'http_code' => 400, 'description' => '业务逻辑校验失败。'], + ['code' => 'PermissionException', 'message' => 'No permission for the specified resource %s.', 'http_code' => 401, 'description' => '没有指定资源 %s 的权限。'], + ['code' => 'EntityNotExist.Role', 'message' => 'Authorization service role is required.', 'http_code' => 400, 'description' => '授权服务角色 %s 是 %s 所需的。'], + ['code' => 'ErrorClusterNotFound', 'message' => 'Cluster not found.', 'http_code' => 404, 'description' => '集群未找到。'], + ['code' => '4000', 'message' => 'The specified parameter %s is not valid. %s.', 'http_code' => 400, 'description' => '指定的参数 %s 无效。%s'], + ['code' => 'Error.EntityNotExist.Role', 'message' => 'Authorization service role %s is required for %s.', 'http_code' => 400, 'description' => '授权服务角色是EMR产品所必须得。'], + ['code' => 'OperationDenied', 'message' => 'The operation is invalid.', 'http_code' => 403, 'description' => '操作无效。'], + ['code' => 'RequestFailed', 'message' => 'An error occurred while calling the API.', 'http_code' => 500, 'description' => '调用API时发生错误。'], + ['code' => 'InvokeError.RunScalingAction', 'message' => 'An error occurred while calling runScalingAction.', 'http_code' => 500, 'description' => '调用RunScalingAction时发生错误。'], + ['code' => 'AccessDenied', 'message' => 'You don\'t have required permissions.', 'http_code' => 403, 'description' => '您没有所需的权限。您未被授权在资源操作权限。请联系您的RAM管理员获取权限。'], + ['code' => 'RAM.Permission.NotAllow', 'message' => 'It is not allow to execute this operation, ask your RAM administrator for permissions.', 'http_code' => 400, 'description' => '不允许执行此操作,请联系您的RAM管理员获取权限。'], + ['code' => 'BusinessException', 'message' => 'An error occurred while calling the API.', 'http_code' => 500, 'description' => '调用API时发生错误。%s'], + ['code' => 'FLOW_API_FAILED', 'message' => 'An error occurred while calling flow API.', 'http_code' => 500, 'description' => '调用流程API时发生错误。'], + ['code' => 'MissingParameter', 'message' => 'The input parameter is mandatory for processing this request is not supplied.', 'http_code' => 400, 'description' => '缺少必需参数。'], + ['code' => 'DataBaseError', 'message' => 'The database field format has error.', 'http_code' => 500, 'description' => '数据库字段格式错误。'], + ], + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RunApplicationAction'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'IncreaseNodes'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListReleaseVersions'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetOperation'], + ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTagResources'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListUsers'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UntagResources'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAutoScalingActivity'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAutoScalingActivities'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListNodes'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateClusterAttribute'], + ['threshold' => '3600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetAutoScalingPolicy'], + ['threshold' => '1200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListNodeGroups'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetNodeGroup'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetClusterCloneMeta'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DecreaseNodes'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'JoinResourceGroup'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListInstanceTypes'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListScripts'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateCluster'], + ['threshold' => '1200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListApplicationConfigs'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateUserAttribute'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateScript'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteCluster'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateNodeGroup'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListComponentInstances'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListClusters'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListComponents'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateScript'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RemoveAutoScalingPolicy'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateApplicationConfigs'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListApplications'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'TagResources'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteScript'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ExportApplicationConfigs'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetApplication'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'PutAutoScalingPolicy'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetCluster'], + ], + ], + 'ram' => [ + 'productCode' => 'EMR', + 'productName' => '开源大数据平台 E-MapReduce', + 'ramCodes' => ['emr'], + 'ramLevel' => '资源级', + 'ramActions' => [ + [ + 'apiName' => 'ListDoctorHDFSDirectories', + 'description' => '批量获取HDFS目录分析结果', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorHDFSDirectories', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', + ], + ], + [ + 'apiName' => 'CreateCluster', + 'description' => '创建集群', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:CreateCluster', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', + ], + ], + [ + 'apiName' => 'GetDoctorHBaseTable', + 'description' => '获取 HBase Table 信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHBaseTable', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + ], + [ + 'apiName' => 'RemoveAutoScalingPolicy', + 'description' => '删除弹性伸缩策略', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'emr:RemoveAutoScalingPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', + ], + ], + [ + 'apiName' => 'CreateScript', + 'description' => '创建脚本', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:CreateScript', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + ], + [ + 'apiName' => 'UpdateApiTemplate', + 'description' => '更新API模板', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UpdateApiTemplate', + 'authLevel' => '', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + ], + [ + 'apiName' => 'IncreaseNodes', + 'description' => '扩容', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:IncreaseNodes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + [ + 'apiName' => 'ListClusters', + 'description' => '查询集群', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListClusters', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', + ], + [ + 'apiName' => 'UpdateClusterAttribute', + 'description' => '更新集群属性', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UpdateClusterAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + [ + 'apiName' => 'UntagResources', + 'description' => '删标签', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UntagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'apiName' => 'DeleteScript', + 'description' => '删除脚本', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'emr:DeleteScript', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + [ + 'apiName' => 'ListDoctorHiveTables', + 'description' => '批量获取Hive表分析结果', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorHiveTables', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '更新用户信息', - 'summary' => '更新用户信息。', - 'description' => '更新用户信息。', - ], - 'ListUsers' => [ - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'ListNodes', + 'description' => '查询节点', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListNodes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'ListDoctorHBaseTables', + 'description' => '批量获取 HBase Table 信息', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorHBaseTables', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'GetNodeGroup', + 'description' => '获取节点组', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetNodeGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'systemTags' => [ + [ + 'apiName' => 'ListDoctorComputeSummary', + 'description' => '批量获取集群资源使用结果', 'operationType' => 'list', - 'abilityTreeCode' => '119862', - 'abilityTreeNodes' => [ - 'FEATUREemapreduceQF0AGF', + 'ramAction' => [ + 'action' => 'emr:ListDoctorComputeSummary', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', + [ + 'apiName' => 'DeleteApiTemplate', + 'description' => '删除API模板', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'emr:DeleteApiTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'ClusterId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', + ], + [ + 'apiName' => 'ListUsers', + 'description' => '查询用户列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListUsers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'NextToken', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '标记当前开始读取的位置。', - 'description' => '标记当前开始读取的位置。', - 'type' => 'string', - 'required' => false, - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', + ], + [ + 'apiName' => 'GetDoctorHDFSCluster', + 'description' => '获取HDFS分析结果', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHDFSCluster', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'MaxResults', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '一次获取的最大记录数。', - 'description' => '一次获取的最大记录数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', + ], + [ + 'apiName' => 'ListApiTemplates', + 'description' => '查看API模板列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListApiTemplates', + 'authLevel' => '', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'UserName', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '用户名,支持模糊搜索。', - 'description' => '用户名,支持模糊搜索。', - 'type' => 'string', - 'required' => false, - 'example' => 'test', + ], + [ + 'apiName' => 'RunApplicationAction', + 'description' => '执行应用操作', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:RunApplicationAction', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'UserNames', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => '用户名列表。数组元数个数 N 的取值范围:0~20。', - 'type' => 'array', - 'items' => [ - 'description' => '用户名。', - 'type' => 'string', - 'required' => false, - 'example' => 'xi', - ], - 'required' => false, + ], + [ + 'apiName' => 'GetDoctorHiveDatabase', + 'description' => '获取Hive库信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHiveDatabase', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => '返回数据', - 'description' => '返回数据。', - 'type' => 'object', - 'properties' => [ - 'IsAdmin' => [ - 'description' => '是否为admin用户:'."\n" - .'- true'."\n" - .'- false', - 'type' => 'boolean', - 'deprecated' => true, - 'example' => 'False', - ], - 'Users' => [ - 'title' => '用户列表。', - 'description' => '用户列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'LdapUrl' => [ - 'title' => 'LDAP链接。', - 'description' => 'LDAP链接。', - 'type' => 'string', - 'example' => 'ldap://master-1-1.c-c6ce2d16d118****.cn-hangzhou.emr.aliyuncs.com:10389', - ], - 'UserId' => [ - 'title' => '用户ID。', - 'description' => '用户ID。', - 'type' => 'string', - 'example' => '125046002175****', - ], - 'UserName' => [ - 'title' => '用户名称。', - 'description' => '用户名称。', - 'type' => 'string', - 'example' => 'yun****', - ], - 'KeytabHex' => [ - 'title' => 'Keytab内容Base64编码。', - 'description' => 'Keytab内容Base64编码。', - 'type' => 'string', - 'example' => 'DBEDASDF==', - ], - 'CreateTime' => [ - 'title' => '创建时间。', - 'description' => '创建时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1509338726362', - ], - 'Description' => [ - 'title' => '备注。', - 'description' => '备注。', - 'type' => 'string', - 'example' => '添加test用户', - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - 'NextToken' => [ - 'title' => '返回读取到的数据位置。', - 'description' => '返回读取到的数据位置。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C89568980', - ], - 'MaxResults' => [ - 'title' => '本次请求所返回的最大记录条数。', - 'description' => '本次请求所返回的最大记录条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'title' => '本次请求条件下的数据总量。', - 'description' => '本次请求条件下的数据总量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - ], + [ + 'apiName' => 'CreateApiTemplate', + 'description' => '创建API模板', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:CreateApiTemplate', + 'authLevel' => '', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', + [ + 'apiName' => 'ListDoctorApplications', + 'description' => '批量获取任务分析结果', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorApplications', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetCluster', + 'description' => '获取集群', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetCluster', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListComponentInstances', + 'description' => '查询组件实例列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListComponentInstances', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListScripts', + 'description' => '查询脚本', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListScripts', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateClusterAutoRenew', + 'description' => '修改集群的自动续费属性', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UpdateClusterAutoRenew', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListTagResources', + 'description' => '查询标签', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListTagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetDoctorHBaseRegion', + 'description' => '获取 HBase Region 信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHBaseRegion', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', + ], + ], + [ + 'apiName' => 'GetAutoScalingPolicy', + 'description' => '查看自定义弹性伸缩策略', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetAutoScalingPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', + ], + ], + [ + 'apiName' => 'ListDoctorJobsStats', + 'description' => '批量获取任务运行汇总数据', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorJobsStats', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', + ], + ], + [ + 'apiName' => 'ListDoctorHDFSUGI', + 'description' => '批量获取属主或属组HDFS分析结果', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorHDFSUGI', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + ], + [ + 'apiName' => 'ListDoctorHBaseRegionServers', + 'description' => '批量获取 HBase ReagionServer 信息', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorHBaseRegionServers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', + ], + ], + [ + 'apiName' => 'ListNodeGroups', + 'description' => '查询节点组', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListNodeGroups', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + ], + [ + 'apiName' => 'GetDoctorHBaseRegionServer', + 'description' => '获取 HBase ReagionServer 信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHBaseRegionServer', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + ], + [ + 'apiName' => 'RunApiTemplate', + 'description' => '调用API模板', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:RunApiTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + [ + 'apiName' => 'ListAutoScalingActivities', + 'description' => '查询弹性伸缩活动', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListAutoScalingActivities', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', + ], + [ + 'apiName' => 'GetDoctorJob', + 'description' => '获取单个任务运行结果', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorJob', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + [ + 'apiName' => 'ListApplications', + 'description' => '查询应用列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListApplications', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'apiName' => 'GetApplication', + 'description' => '获取应用详情', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetApplication', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + [ + 'apiName' => 'GetDoctorHBaseCluster', + 'description' => '获取 HBase 集群信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHBaseCluster', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IsAdmin\\": true,\\n \\"Users\\": [\\n {\\n \\"LdapUrl\\": \\"ldap://master-1-1.c-c6ce2d16d118****.cn-hangzhou.emr.aliyuncs.com:10389\\",\\n \\"UserId\\": \\"125046002175****\\",\\n \\"UserName\\": \\"yun****\\",\\n \\"KeytabHex\\": \\"DBEDASDF==\\",\\n \\"CreateTime\\": 1509338726362,\\n \\"Description\\": \\"添加test用户\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\",\\n \\"NextToken\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C89568980\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 200\\n}","type":"json"}]', - 'title' => '查询用户列表', - 'summary' => '查询用户。', - 'description' => '查询用户。', - ], - 'ExportApplicationConfigs' => [ - 'summary' => '导出集群指定服务配置', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'ListDoctorJobs', + 'description' => '批量获取任务运行结果', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorJobs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DeleteUsers', + 'description' => '批量删除用户', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'emr:DeleteUsers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => 'Cluster', 'arn' => 'acs:emr:{#regionId}:{#accountId}:cluster/{#Clusterld}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'UpdateUserAttribute', + 'description' => '更新用户信息', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UpdateUserAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'systemTags' => [ + [ + 'apiName' => 'ExportApplicationConfigs', + 'description' => '导出服务配置', 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemapreduce66Y5VC', + 'ramAction' => [ + 'action' => 'emr:ExportApplicationConfigs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域ID。', - 'description' => '区域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', + [ + 'apiName' => 'UpdateApplicationConfigs', + 'description' => '更新应用配置', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UpdateApplicationConfigs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'ClusterId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '集群ID。', - 'description' => '集群ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'c-b933c5aac8fe****', + ], + [ + 'apiName' => 'TagResources', + 'description' => '打标签', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:TagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'ApplicationConfigFiles', - 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'title' => '导出应用配置。', - 'description' => '导出应用配置列表。', - 'type' => 'array', - 'items' => [ - 'description' => '导出应用配置。', - 'required' => false, - '$ref' => '#/components/schemas/ApplicationConfigFile', - ], - 'required' => false, + ], + [ + 'apiName' => 'GetOperation', + 'description' => '获取操作', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetOperation', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'FileFormat', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '导出应用配置的文件格式。', - 'description' => '导出应用配置的文件格式。取值范围:'."\n" - .'- JSON'."\n" - .'- XML', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'XML' => 'XML', - 'JSON' => 'JSON', - ], - 'example' => 'XML', + ], + [ + 'apiName' => 'GetApiTemplate', + 'description' => '查看API模板内容', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetApiTemplate', + 'authLevel' => '', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'ExportMode', - 'in' => 'query', - 'schema' => [ - 'description' => '服务配置导出模式。取值范围:'."\n" - .'- MODIFICATION'."\n" - .'- ALL', - 'type' => 'string', - 'required' => false, - 'example' => 'MODIFICATION', - 'default' => 'ALL', - 'enum' => [ - 'MODIFICATION', - 'ALL', - ], + ], + [ + 'apiName' => 'ListDoctorHiveDatabases', + 'description' => '批量获取 Hive 库信息', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorHiveDatabases', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'ConfigScope', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, + ], + [ + 'apiName' => 'CreateNodeGroup', + 'description' => '创建节点组', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:CreateNodeGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'NodeGroupIds', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'required' => false, + ], + [ + 'apiName' => 'JoinResourceGroup', + 'description' => '加入资源组', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:JoinResourceGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'NodeIds', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'required' => false, + ], + [ + 'apiName' => 'GetAutoScalingActivity', + 'description' => '获取弹性伸缩活动', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetAutoScalingActivity', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => '返回数据', - 'description' => '返回数据', - 'type' => 'object', - 'properties' => [ - 'ApplicationConfigs' => [ - 'description' => '导出的应用配置列表。', - 'type' => 'array', - 'items' => [ - 'description' => '导出的应用配置。', - 'type' => 'object', - 'properties' => [ - 'ApplicationName' => [ - 'title' => '应用名称。', - 'description' => '应用名称。', - 'type' => 'string', - 'example' => 'YARN', - ], - 'ConfigFileName' => [ - 'title' => '文件名称。', - 'description' => '文件名称。', - 'type' => 'string', - 'example' => 'yarn-site.xml', - ], - 'Content' => [ - 'title' => '文件内容,base64加密。', - 'description' => '文件内容,base64加密。', - 'type' => 'string', - 'example' => 'export key=value', - ], - ], - ], - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DD6B1B2A-5837-5237-ABE4-FF0C8944****', - ], - ], + [ + 'apiName' => 'ListDoctorReports', + 'description' => '批量获取集群报告', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListDoctorReports', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ConflictParameters', - 'errorMessage' => 'Parameters that must not be used together. %s', + [ + 'apiName' => 'GetDoctorComputeSummary', + 'description' => '获取集群单个资源使用结果', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorComputeSummary', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'IncompleteSignature', - 'errorMessage' => 'The request signature is invalid.', + ], + ], + [ + 'apiName' => 'PutManagedScalingPolicy', + 'description' => '创建托管伸缩策略', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:PutManagedScalingPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The action %s requested is invalid.', + ], + ], + [ + 'apiName' => 'GetDoctorHiveCluster', + 'description' => '获取 Hive 集群信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHiveCluster', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter %s is not valid.', + ], + ], + [ + 'apiName' => 'GetDoctorApplication', + 'description' => '获取单个任务分析结果', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorApplication', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'The input parameter %s is invalid or out of range.', + ], + ], + [ + 'apiName' => 'ListComponents', + 'description' => '查询组件列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListComponents', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'MissingAction', - 'errorMessage' => 'The action %s requested is missing.', + ], + ], + [ + 'apiName' => 'CreateUsers', + 'description' => '批量创建用户', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:CreateUsers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'MissingParameter', - 'errorMessage' => 'The input parameter %s that is mandatory for processing this request is not supplied.', + ], + ], + [ + 'apiName' => 'GetDoctorReportComponentSummary', + 'description' => '获取指定组件报告', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorReportComponentSummary', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'NotAuthorized', - 'errorMessage' => 'You do not have permission to perform this action. %s', + ], + ], + [ + 'apiName' => 'DeleteCluster', + 'description' => '删除集群', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'emr:DeleteCluster', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ThrottlingException', - 'errorMessage' => 'The request was denied due to request throttling. %s', + ], + ], + [ + 'apiName' => 'GetClusterCloneMeta', + 'description' => '获取集群克隆元数据', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetClusterCloneMeta', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - 404 => [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The resource not found by %s.', + ], + [ + 'apiName' => 'UpdateScript', + 'description' => '更新脚本', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:UpdateScript', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error, exception or failure.', + ], + [ + 'apiName' => 'GetManagedScalingPolicy', + 'description' => '查看托管弹性伸缩策略', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetManagedScalingPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - 503 => [ - [ - 'errorCode' => 'ServiceFailure', - 'errorMessage' => 'The request has failed due to a temporary failure of %s service.', + ], + [ + 'apiName' => 'DecreaseNodes', + 'description' => '缩容', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'emr:DecreaseNodes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The request has failed due to a temporary failure of the server.', + ], + ], + [ + 'apiName' => 'RunCluster', + 'description' => '创建集群', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:RunCluster', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetDoctorHDFSDirectory', + 'description' => '获取HDFS特定目录分析结果', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHDFSDirectory', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetDoctorHiveTable', + 'description' => '获取Hive表分析结果', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'emr:GetDoctorHiveTable', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'PutAutoScalingPolicy', + 'description' => '创建自定义弹性伸缩策略', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'emr:PutAutoScalingPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListApplicationConfigs', + 'description' => '查询应用配置', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'emr:ListApplicationConfigs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EMR', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ApplicationConfigs\\": [\\n {\\n \\"ApplicationName\\": \\"YARN\\",\\n \\"ConfigFileName\\": \\"yarn-site.xml\\",\\n \\"Content\\": \\"export key=value\\"\\n }\\n ],\\n \\"RequestId\\": \\"DD6B1B2A-5837-5237-ABE4-FF0C8944****\\"\\n}","type":"json"}]', - 'title' => '导出服务配置', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'emr.us-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'emr.cn-qingdao.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'emr.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'emr.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'emr.cn-huhehaote.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'emr.cn-wulanchabu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'emr.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'emr.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'emr.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'emr.cn-chengdu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'emr.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'emr.ap-northeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'emr.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'emr.ap-southeast-3.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'emr.ap-southeast-5.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'emr.us-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'emr.eu-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'emr.eu-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'emr.me-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'emr.cn-shanghai-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'me-central-1', - 'endpoint' => 'emr.me-central-1.aliyuncs.com', ], - [ - 'regionId' => 'cn-heyuan-acdr-1', - 'endpoint' => 'emr.cn-heyuan-acdr-1.aliyuncs.com', + 'resourceTypes' => [ + ['validationType' => 'always', 'resourceType' => 'Cluster', 'arn' => 'acs:emr:{#regionId}:{#accountId}:Cluster/*'], + ['validationType' => 'always', 'resourceType' => 'Cluster', 'arn' => 'acs:emr:{#regionId}:{#accountId}:cluster/{#Clusterld}'], ], ], ]; |
