diff --git a/ChangeLog.md b/ChangeLog.md index 346166f..ceaca5e 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,3 +1,9 @@ +2024-10-25 Version: 2.1.1 +- Update API GetAutoScalingActivity: update response param. +- Update API ListAutoScalingActivities: add param ScalingPolicyType. +- Update API ListAutoScalingActivities: update response param. + + 2024-10-17 Version: 2.1.0 - Support API GetClusterCloneMeta. - Support API RunCluster. diff --git a/src/Emr.php b/src/Emr.php index 07d82eb..e8bfc8c 100644 --- a/src/Emr.php +++ b/src/Emr.php @@ -225,6 +225,8 @@ public function getEndpoint($productId, $regionId, $endpointRule, $network, $suf } /** + * @summary Creates a predefined API operation template. The template contains information about an API operation, including the basic structure, request method, URL path, request parameters, and response format. + * * * @param CreateApiTemplateRequest $request CreateApiTemplateRequest * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * @@ -268,6 +270,8 @@ public function createApiTemplateWithOptions($request, $runtime) } /** + * @summary Creates a predefined API operation template. The template contains information about an API operation, including the basic structure, request method, URL path, request parameters, and response format. + * * * @param CreateApiTemplateRequest $request CreateApiTemplateRequest * * @return CreateApiTemplateResponse CreateApiTemplateResponse @@ -547,6 +551,8 @@ public function decreaseNodes($request) } /** + * @summary Deletes an API operation template. + * * * @description 创建集群模板 * * * @param DeleteApiTemplateRequest $request DeleteApiTemplateRequest @@ -589,6 +595,8 @@ public function deleteApiTemplateWithOptions($request, $runtime) } /** + * @summary Deletes an API operation template. + * * * @description 创建集群模板 * * * @param DeleteApiTemplateRequest $request DeleteApiTemplateRequest @@ -705,7 +713,7 @@ public function deleteScript($request) } /** - * @summary 获取API模板详情 + * @summary Queries the detailed configuration information about an API operation template. * * * @param GetApiTemplateRequest $request GetApiTemplateRequest * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions @@ -741,7 +749,7 @@ public function getApiTemplateWithOptions($request, $runtime) } /** - * @summary 获取API模板详情 + * @summary Queries the detailed configuration information about an API operation template. * * * @param GetApiTemplateRequest $request GetApiTemplateRequest * @@ -808,7 +816,7 @@ public function getApplication($request) } /** - * @description 获取弹性伸缩活动详情。 + * @summary 获取弹性伸缩活动详情。 * * * @param GetAutoScalingActivityRequest $request GetAutoScalingActivityRequest * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions @@ -847,7 +855,7 @@ public function getAutoScalingActivityWithOptions($request, $runtime) } /** - * @description 获取弹性伸缩活动详情。 + * @summary 获取弹性伸缩活动详情。 * * * @param GetAutoScalingActivityRequest $request GetAutoScalingActivityRequest * @@ -1187,7 +1195,9 @@ public function getDoctorHBaseCluster($request) } /** - * @description list Doctor HBaseRegions + * @summary Get HBase Region information. + * * + * @description List Doctor HBase Regions * * * @param GetDoctorHBaseRegionRequest $request GetDoctorHBaseRegionRequest * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions @@ -1229,7 +1239,9 @@ public function getDoctorHBaseRegionWithOptions($request, $runtime) } /** - * @description list Doctor HBaseRegions + * @summary Get HBase Region information. + * * + * @description List Doctor HBase Regions * * * @param GetDoctorHBaseRegionRequest $request GetDoctorHBaseRegionRequest * @@ -1303,6 +1315,8 @@ public function getDoctorHBaseRegionServer($request) } /** + * @summary Get HBase Table information. + * * * @description get Doctor HBaseTable * * * @param GetDoctorHBaseTableRequest $request GetDoctorHBaseTableRequest @@ -1345,6 +1359,8 @@ public function getDoctorHBaseTableWithOptions($request, $runtime) } /** + * @summary Get HBase Table information. + * * * @description get Doctor HBaseTable * * * @param GetDoctorHBaseTableRequest $request GetDoctorHBaseTableRequest @@ -1773,7 +1789,9 @@ public function getDoctorJob($request) } /** - * @description get specify component's report analysis by emr doctor + * @summary Obtain the analysis result report of a specified component from EMR Doctor. + * * + * @description get specify component\\"s report analysis by EMR Doctor * * * @param GetDoctorReportComponentSummaryRequest $request GetDoctorReportComponentSummaryRequest * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions @@ -1815,7 +1833,9 @@ public function getDoctorReportComponentSummaryWithOptions($request, $runtime) } /** - * @description get specify component's report analysis by emr doctor + * @summary Obtain the analysis result report of a specified component from EMR Doctor. + * * + * @description get specify component\\"s report analysis by EMR Doctor * * * @param GetDoctorReportComponentSummaryRequest $request GetDoctorReportComponentSummaryRequest * @@ -2266,7 +2286,7 @@ public function listApplications($request) } /** - * @description 查询弹性伸缩活动列表。 + * @summary 查询弹性伸缩活动列表。 * * * @param ListAutoScalingActivitiesRequest $request ListAutoScalingActivitiesRequest * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions @@ -2301,6 +2321,9 @@ public function listAutoScalingActivitiesWithOptions($request, $runtime) if (!Utils::isUnset($request->scalingActivityType)) { $query['ScalingActivityType'] = $request->scalingActivityType; } + if (!Utils::isUnset($request->scalingPolicyType)) { + $query['ScalingPolicyType'] = $request->scalingPolicyType; + } if (!Utils::isUnset($request->scalingRuleName)) { $query['ScalingRuleName'] = $request->scalingRuleName; } @@ -2326,7 +2349,7 @@ public function listAutoScalingActivitiesWithOptions($request, $runtime) } /** - * @description 查询弹性伸缩活动列表。 + * @summary 查询弹性伸缩活动列表。 * * * @param ListAutoScalingActivitiesRequest $request ListAutoScalingActivitiesRequest * @@ -3346,6 +3369,8 @@ public function listDoctorReports($request) } /** + * @summary Lists instance types. + * * * @param ListInstanceTypesRequest $request ListInstanceTypesRequest * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * @@ -3407,6 +3432,8 @@ public function listInstanceTypesWithOptions($request, $runtime) } /** + * @summary Lists instance types. + * * * @param ListInstanceTypesRequest $request ListInstanceTypesRequest * * @return ListInstanceTypesResponse ListInstanceTypesResponse @@ -3621,6 +3648,8 @@ public function listReleaseVersions($request) } /** + * @summary Queries the bootstrap actions or common scripts of an E-MapReduce (EMR) cluster. + * * * @param ListScriptsRequest $request ListScriptsRequest * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * @@ -3664,6 +3693,8 @@ public function listScriptsWithOptions($request, $runtime) } /** + * @summary Queries the bootstrap actions or common scripts of an E-MapReduce (EMR) cluster. + * * * @param ListScriptsRequest $request ListScriptsRequest * * @return ListScriptsResponse ListScriptsResponse diff --git a/src/Models/CreateApiTemplateRequest.php b/src/Models/CreateApiTemplateRequest.php index 3028867..fc4c6f7 100644 --- a/src/Models/CreateApiTemplateRequest.php +++ b/src/Models/CreateApiTemplateRequest.php @@ -19,7 +19,7 @@ class CreateApiTemplateRequest extends Model public $apiName; /** - * @description The content of the cluster API operation template. Set the value to JSON strings of the request parameters of the [CreateCluster](https://help.aliyun.com/zh/emr/emr-on-ecs/developer-reference/api-emr-2021-03-20-createcluster) API operation for creating a cluster. + * @description The content of the cluster API operation template. Set the value to JSON strings of the request parameters of the [CreateCluster](https://help.aliyun.com/document_detail/454393.html) API operation for creating a cluster. * * This parameter is required. * @example content @@ -29,7 +29,7 @@ class CreateApiTemplateRequest extends Model public $content; /** - * @description 地域ID。 + * @description The region ID. * * This parameter is required. * @example cn-hangzhou @@ -39,7 +39,7 @@ class CreateApiTemplateRequest extends Model public $regionId; /** - * @description 资源组ID。 + * @description Resource group ID. * * @example rg-acfmzabjyop**** * @@ -48,7 +48,7 @@ class CreateApiTemplateRequest extends Model public $resourceGroupId; /** - * @description 集群模板名字。 + * @description Cluster template name. * * This parameter is required. * @example DATALAKE模板 diff --git a/src/Models/CreateApiTemplateResponseBody.php b/src/Models/CreateApiTemplateResponseBody.php index e272f21..34c40a0 100644 --- a/src/Models/CreateApiTemplateResponseBody.php +++ b/src/Models/CreateApiTemplateResponseBody.php @@ -9,7 +9,7 @@ class CreateApiTemplateResponseBody extends Model { /** - * @description 请求ID。 + * @description Request ID. * * @example DD6B1B2A-5837-5237-ABE4-FF0C8944**** * @@ -18,6 +18,8 @@ class CreateApiTemplateResponseBody extends Model public $requestId; /** + * @description Template ID (to be deprecated). + * * @example at-41b4c6a0fc63**** * * @var string @@ -25,6 +27,8 @@ class CreateApiTemplateResponseBody extends Model public $success; /** + * @description Template ID (it is recommended to use the parameter TemplateId). + * * @example at-41b4c6a0fc63**** * * @var string diff --git a/src/Models/CreateClusterRequest.php b/src/Models/CreateClusterRequest.php index 4eaf3e6..b5dee10 100644 --- a/src/Models/CreateClusterRequest.php +++ b/src/Models/CreateClusterRequest.php @@ -9,14 +9,14 @@ class CreateClusterRequest extends Model { /** - * @description The application configurations. You can specify a maximum of 1,000 items. + * @description The service configurations. Number of elements in the array: 1 to 1000. * * @var ApplicationConfig[] */ public $applicationConfigs; /** - * @description The applications. You can specify a maximum of 100 items. + * @description The services. Number of elements in the array: 1 to 100. * * This parameter is required. * @var Application[] @@ -24,7 +24,7 @@ class CreateClusterRequest extends Model public $applications; /** - * @description The bootstrap actions. You can specify a maximum of 10 items. + * @description The bootstrap actions. Number of elements in the array: 1 to 10. * * @var Script[] */ @@ -79,12 +79,14 @@ class CreateClusterRequest extends Model public $deployMode; /** + * @example Emr cluster for ETL + * * @var string */ public $description; /** - * @description The attributes of all ECS instances. + * @description The attributes of all ECS instances. The basic attributes of all ECS instances in the cluster. * * This parameter is required. * @var NodeAttributes @@ -92,7 +94,7 @@ class CreateClusterRequest extends Model public $nodeAttributes; /** - * @description The node groups. You can specify a maximum of 100 items. + * @description The node groups. Number of elements in the array: 1 to 100. * * This parameter is required. * @example NORMAL @@ -163,7 +165,7 @@ class CreateClusterRequest extends Model public $subscriptionConfig; /** - * @description The tags. You can specify a maximum of 20 items. + * @description The list of tags. Number of elements in the array: 0 to 20. * * @example A7D960FA-6DBA-5E07-8746-A63E3E4D**** * diff --git a/src/Models/GetApiTemplateRequest.php b/src/Models/GetApiTemplateRequest.php index 0b98dbe..9081ed1 100644 --- a/src/Models/GetApiTemplateRequest.php +++ b/src/Models/GetApiTemplateRequest.php @@ -9,7 +9,7 @@ class GetApiTemplateRequest extends Model { /** - * @description 区域ID。 + * @description Region ID. * * This parameter is required. * @example cn-hangzhou @@ -19,7 +19,7 @@ class GetApiTemplateRequest extends Model public $regionId; /** - * @description 集群模板id。 + * @description Cluster template ID. * * This parameter is required. * @example at-41b4c6a0fc63**** diff --git a/src/Models/GetApiTemplateResponseBody.php b/src/Models/GetApiTemplateResponseBody.php index 26b8c2a..969fdf8 100644 --- a/src/Models/GetApiTemplateResponseBody.php +++ b/src/Models/GetApiTemplateResponseBody.php @@ -18,7 +18,7 @@ class GetApiTemplateResponseBody extends Model public $data; /** - * @description 请求ID。 + * @description Request ID. * * @example DD6B1B2A-5837-5237-ABE4-FF0C8944**** * diff --git a/src/Models/GetAutoScalingActivityResponseBody/scalingActivity.php b/src/Models/GetAutoScalingActivityResponseBody/scalingActivity.php index 94b8ba5..628484d 100644 --- a/src/Models/GetAutoScalingActivityResponseBody/scalingActivity.php +++ b/src/Models/GetAutoScalingActivityResponseBody/scalingActivity.php @@ -115,6 +115,11 @@ class scalingActivity extends Model */ public $operationId; + /** + * @var string + */ + public $policyType; + /** * @description The description of the scaling rule. * @@ -151,6 +156,7 @@ class scalingActivity extends Model 'nodeGroupId' => 'NodeGroupId', 'nodeGroupName' => 'NodeGroupName', 'operationId' => 'OperationId', + 'policyType' => 'PolicyType', 'ruleDetail' => 'RuleDetail', 'ruleName' => 'RuleName', 'startTime' => 'StartTime', @@ -202,6 +208,9 @@ public function toMap() if (null !== $this->operationId) { $res['OperationId'] = $this->operationId; } + if (null !== $this->policyType) { + $res['PolicyType'] = $this->policyType; + } if (null !== $this->ruleDetail) { $res['RuleDetail'] = null !== $this->ruleDetail ? $this->ruleDetail->toMap() : null; } @@ -262,6 +271,9 @@ public static function fromMap($map = []) if (isset($map['OperationId'])) { $model->operationId = $map['OperationId']; } + if (isset($map['PolicyType'])) { + $model->policyType = $map['PolicyType']; + } if (isset($map['RuleDetail'])) { $model->ruleDetail = ScalingRule::fromMap($map['RuleDetail']); } diff --git a/src/Models/GetClusterCloneMetaResponseBody/clusterCloneMeta.php b/src/Models/GetClusterCloneMetaResponseBody/clusterCloneMeta.php index 15535bd..0d7c2ea 100644 --- a/src/Models/GetClusterCloneMetaResponseBody/clusterCloneMeta.php +++ b/src/Models/GetClusterCloneMetaResponseBody/clusterCloneMeta.php @@ -121,7 +121,7 @@ class clusterCloneMeta extends Model public $existCloneConfig; /** - * @description The attributes of the node. + * @description The attributes of all ECS instances. * * @var NodeAttributes */ diff --git a/src/Models/GetDoctorHBaseRegionRequest.php b/src/Models/GetDoctorHBaseRegionRequest.php index 56920f1..5bc3816 100644 --- a/src/Models/GetDoctorHBaseRegionRequest.php +++ b/src/Models/GetDoctorHBaseRegionRequest.php @@ -9,7 +9,7 @@ class GetDoctorHBaseRegionRequest extends Model { /** - * @description 集群ID。 + * @description Cluster ID. * * This parameter is required. * @example c-b933c5aac8fe**** @@ -19,8 +19,9 @@ class GetDoctorHBaseRegionRequest extends Model public $clusterId; /** - * @description This parameter is required. + * @description Date. * + * This parameter is required. * @example 2023-01-01 * * @var string @@ -28,7 +29,7 @@ class GetDoctorHBaseRegionRequest extends Model public $dateTime; /** - * @description Region ID。 + * @description Region ID. * * This parameter is required. * @example 67f6808f60a8c357103a3a95fe00610e @@ -38,7 +39,7 @@ class GetDoctorHBaseRegionRequest extends Model public $hbaseRegionId; /** - * @description 区域ID。 + * @description Region ID. * * This parameter is required. * @example cn-hangzhou diff --git a/src/Models/GetDoctorHBaseRegionResponseBody.php b/src/Models/GetDoctorHBaseRegionResponseBody.php index 71fa7ed..f774890 100644 --- a/src/Models/GetDoctorHBaseRegionResponseBody.php +++ b/src/Models/GetDoctorHBaseRegionResponseBody.php @@ -10,14 +10,14 @@ class GetDoctorHBaseRegionResponseBody extends Model { /** - * @description The returned data. + * @description Returned data. * * @var data */ public $data; /** - * @description 请求ID。 + * @description Request ID. * * @example DD6B1B2A-5837-5237-ABE4-FF0C8944**** * diff --git a/src/Models/GetDoctorHBaseRegionResponseBody/data.php b/src/Models/GetDoctorHBaseRegionResponseBody/data.php index 5d71f08..5fdfdf8 100644 --- a/src/Models/GetDoctorHBaseRegionResponseBody/data.php +++ b/src/Models/GetDoctorHBaseRegionResponseBody/data.php @@ -10,13 +10,15 @@ class data extends Model { /** - * @description The metric information. + * @description Metrics information. * * @var metrics */ public $metrics; /** + * @description Host of the RegionServer. + * * @example emr-worker-2.cluster-20**** * * @var string @@ -24,6 +26,8 @@ class data extends Model public $regionServerHost; /** + * @description Table name. + * * @example tb_item * * @var string diff --git a/src/Models/GetDoctorHBaseRegionResponseBody/data/metrics.php b/src/Models/GetDoctorHBaseRegionResponseBody/data/metrics.php index 83e2e2b..3bf0b83 100644 --- a/src/Models/GetDoctorHBaseRegionResponseBody/data/metrics.php +++ b/src/Models/GetDoctorHBaseRegionResponseBody/data/metrics.php @@ -14,28 +14,36 @@ class metrics extends Model { /** + * @description Number of read requests in a single day. + * * @var dailyReadRequest */ public $dailyReadRequest; /** + * @description Number of write requests in a single day. + * * @var dailyWriteRequest */ public $dailyWriteRequest; /** - * @description The number of StoreFiles. + * @description Store file count. * * @var storeFileCount */ public $storeFileCount; /** + * @description Total read request count + * * @var totalReadRequest */ public $totalReadRequest; /** + * @description Total write request count + * * @var totalWriteRequest */ public $totalWriteRequest; diff --git a/src/Models/GetDoctorHBaseRegionResponseBody/data/metrics/dailyReadRequest.php b/src/Models/GetDoctorHBaseRegionResponseBody/data/metrics/dailyReadRequest.php index b4065f7..7c4050c 100644 --- a/src/Models/GetDoctorHBaseRegionResponseBody/data/metrics/dailyReadRequest.php +++ b/src/Models/GetDoctorHBaseRegionResponseBody/data/metrics/dailyReadRequest.php @@ -9,6 +9,8 @@ class dailyReadRequest extends Model { /** + * @description Description of the metric. + * * @example Number of read requests per day * * @var string @@ -16,6 +18,8 @@ class dailyReadRequest extends Model public $description; /** + * @description Name of the metric. + * * @example dailyReadRequest * * @var string @@ -23,6 +27,8 @@ class dailyReadRequest extends Model public $name; /** + * @description The unit of the metric. + * * @example "" * * @var string @@ -30,6 +36,8 @@ class dailyReadRequest extends Model public $unit; /** + * @description The value of the metric. + * * @example 1000 * * @var int diff --git a/src/Models/GetDoctorHBaseRegionResponseBody/data/metrics/dailyWriteRequest.php b/src/Models/GetDoctorHBaseRegionResponseBody/data/metrics/dailyWriteRequest.php index b6eb6f4..54291f3 100644 --- a/src/Models/GetDoctorHBaseRegionResponseBody/data/metrics/dailyWriteRequest.php +++ b/src/Models/GetDoctorHBaseRegionResponseBody/data/metrics/dailyWriteRequest.php @@ -9,6 +9,8 @@ class dailyWriteRequest extends Model { /** + * @description Description of the metric. + * * @example Number of write requests per day * * @var string @@ -16,6 +18,8 @@ class dailyWriteRequest extends Model public $description; /** + * @description Name of the metric. + * * @example dailyWriteRequest * * @var string @@ -23,6 +27,8 @@ class dailyWriteRequest extends Model public $name; /** + * @description The unit of the metric. + * * @example "" * * @var string @@ -30,6 +36,8 @@ class dailyWriteRequest extends Model public $unit; /** + * @description The value of the metric. + * * @example 1000 * * @var int diff --git a/src/Models/GetDoctorHBaseRegionResponseBody/data/metrics/storeFileCount.php b/src/Models/GetDoctorHBaseRegionResponseBody/data/metrics/storeFileCount.php index 1364186..91cabb4 100644 --- a/src/Models/GetDoctorHBaseRegionResponseBody/data/metrics/storeFileCount.php +++ b/src/Models/GetDoctorHBaseRegionResponseBody/data/metrics/storeFileCount.php @@ -9,6 +9,8 @@ class storeFileCount extends Model { /** + * @description Description of the metric. + * * @example Number of store file * * @var string @@ -16,7 +18,7 @@ class storeFileCount extends Model public $description; /** - * @description The name of the metric. + * @description Metric name. * * @example storeFileCount * @@ -25,6 +27,8 @@ class storeFileCount extends Model public $name; /** + * @description The unit of the metric. + * * @example "" * * @var string diff --git a/src/Models/GetDoctorHBaseRegionResponseBody/data/metrics/totalReadRequest.php b/src/Models/GetDoctorHBaseRegionResponseBody/data/metrics/totalReadRequest.php index 512b7d3..148628c 100644 --- a/src/Models/GetDoctorHBaseRegionResponseBody/data/metrics/totalReadRequest.php +++ b/src/Models/GetDoctorHBaseRegionResponseBody/data/metrics/totalReadRequest.php @@ -9,6 +9,8 @@ class totalReadRequest extends Model { /** + * @description Metric description. + * * @example Total read request * * @var string @@ -16,6 +18,8 @@ class totalReadRequest extends Model public $description; /** + * @description Metric name. + * * @example totalReadRequest * * @var string @@ -23,6 +27,8 @@ class totalReadRequest extends Model public $name; /** + * @description Metric unit. + * * @example "" * * @var string @@ -30,6 +36,8 @@ class totalReadRequest extends Model public $unit; /** + * @description Metric value. + * * @example 1000 * * @var int diff --git a/src/Models/GetDoctorHBaseRegionResponseBody/data/metrics/totalWriteRequest.php b/src/Models/GetDoctorHBaseRegionResponseBody/data/metrics/totalWriteRequest.php index 9b3c4c8..4032fb0 100644 --- a/src/Models/GetDoctorHBaseRegionResponseBody/data/metrics/totalWriteRequest.php +++ b/src/Models/GetDoctorHBaseRegionResponseBody/data/metrics/totalWriteRequest.php @@ -9,6 +9,8 @@ class totalWriteRequest extends Model { /** + * @description Metric description. + * * @example Total Write Request * * @var string @@ -16,6 +18,8 @@ class totalWriteRequest extends Model public $description; /** + * @description Metric name. + * * @example totalWriteRequest * * @var string @@ -23,6 +27,8 @@ class totalWriteRequest extends Model public $name; /** + * @description Metric unit. + * * @example "" * * @var string @@ -30,6 +36,8 @@ class totalWriteRequest extends Model public $unit; /** + * @description Metric value. + * * @example 1000 * * @var int diff --git a/src/Models/GetDoctorHBaseTableRequest.php b/src/Models/GetDoctorHBaseTableRequest.php index 81f3407..723d903 100644 --- a/src/Models/GetDoctorHBaseTableRequest.php +++ b/src/Models/GetDoctorHBaseTableRequest.php @@ -9,7 +9,7 @@ class GetDoctorHBaseTableRequest extends Model { /** - * @description 集群ID。 + * @description Cluster ID. * * This parameter is required. * @example c-b933c5aac8fe**** @@ -19,8 +19,9 @@ class GetDoctorHBaseTableRequest extends Model public $clusterId; /** - * @description This parameter is required. + * @description Date. * + * This parameter is required. * @example 2023-01-01 * * @var string @@ -28,7 +29,7 @@ class GetDoctorHBaseTableRequest extends Model public $dateTime; /** - * @description 区域ID。 + * @description Region ID. * * This parameter is required. * @example cn-hangzhou @@ -38,8 +39,9 @@ class GetDoctorHBaseTableRequest extends Model public $regionId; /** - * @description This parameter is required. + * @description Table name. * + * This parameter is required. * @example namespace1:tb_item * * @var string diff --git a/src/Models/GetDoctorHBaseTableResponseBody.php b/src/Models/GetDoctorHBaseTableResponseBody.php index 2e86bb6..04afafe 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody.php +++ b/src/Models/GetDoctorHBaseTableResponseBody.php @@ -10,14 +10,14 @@ class GetDoctorHBaseTableResponseBody extends Model { /** - * @description The returned data. + * @description Returned data. * * @var data */ public $data; /** - * @description 请求ID。 + * @description Request ID. * * @example DD6B1B2A-5837-5237-ABE4-FF0C8944**** * diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data.php b/src/Models/GetDoctorHBaseTableResponseBody/data.php index 90c0554..43c382a 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data.php @@ -11,13 +11,15 @@ class data extends Model { /** - * @description The diagnosis result. + * @description Diagnostic results. * * @var analysis */ public $analysis; /** + * @description Metrics information. + * * @var metrics */ public $metrics; diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data/analysis.php b/src/Models/GetDoctorHBaseTableResponseBody/data/analysis.php index d4d1891..c7f920e 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data/analysis.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data/analysis.php @@ -9,6 +9,8 @@ class analysis extends Model { /** + * @description List of read hotspot regions. + * * @example null * * @var string[] @@ -16,13 +18,17 @@ class analysis extends Model public $readRequestHotspotRegionList; /** - * @description The description of read imbalance. + * @description Description of read imbalance. + * + * @example read request unbalance is
表分区总数量为14,分区平均读请求数量为5032486,以下分区存在读请求热点访问:
* * @var string */ public $readRequestUnbalanceSuggestion; /** + * @description List of read/write hotspot regions. + * * @example null * * @var string[] @@ -30,13 +36,17 @@ class analysis extends Model public $requestHotspotRegionList; /** - * @description The description of read/write imbalance. + * @description Description of read/write imbalance. + * + * @example read request unbalance is
表分区总数量为14,分区平均读请求数量为5032486,以下分区存在读请求热点访问:
* * @var string */ public $requestUnbalanceSuggestion; /** + * @description Table score. + * * @example 85 * * @var int @@ -44,6 +54,8 @@ class analysis extends Model public $tableScore; /** + * @description List of write hotspot regions. + * * @example null * * @var string[] @@ -51,7 +63,9 @@ class analysis extends Model public $writeRequestHotspotRegionList; /** - * @description The description of write imbalance. + * @description Description of write imbalance. + * + * @example write request unbalance is
表分区总数量为15,分区平均写请求数量为769954,以下分区存在写请求热点访问:
* * @var string */ diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics.php b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics.php index 5f5eac6..a632090 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics.php @@ -33,121 +33,169 @@ class metrics extends Model { /** + * @description Number of days the table has not been accessed. + * * @var coldAccessDay */ public $coldAccessDay; /** + * @description Cold data access days configuration. + * * @var coldConfigDay */ public $coldConfigDay; /** + * @description Cold data size. + * * @var coldDataSize */ public $coldDataSize; /** + * @description Number of read requests per day. + * * @var dailyReadRequest */ public $dailyReadRequest; /** + * @description Daily growth ratio of daily read requests. + * * @var dailyReadRequestDayGrowthRatio */ public $dailyReadRequestDayGrowthRatio; /** + * @description Number of write requests per day. + * * @var dailyWriteRequest */ public $dailyWriteRequest; /** + * @description Daily write request growth ratio. + * * @var dailyWriteRequestDayGrowthRatio */ public $dailyWriteRequestDayGrowthRatio; /** + * @description Configuration for the number of days cold data is accessed. + * * @var freezeConfigDay */ public $freezeConfigDay; /** + * @description Frozen data size. + * * @var freezeDataSize */ public $freezeDataSize; /** + * @description Hot data size. + * * @var hotDataSize */ public $hotDataSize; /** + * @description Locality rate. + * * @var locality */ public $locality; /** + * @description Read request balance. + * * @var readRequestBalance */ public $readRequestBalance; /** + * @description Region balance. + * * @var regionBalance */ public $regionBalance; /** + * @description Number of regions. + * * @var regionCount */ public $regionCount; /** + * @description Daily incremental ratio of regions + * * @var regionCountDayGrowthRatio */ public $regionCountDayGrowthRatio; /** + * @description Number of RegionServers. + * * @var regionServerCount */ public $regionServerCount; /** + * @description Request balance. + * * @var requestBalance */ public $requestBalance; /** + * @description Number of store files. + * * @var storeFileCount */ public $storeFileCount; /** + * @description Daily growth ratio of store file count. + * * @var storeFileCountDayGrowthRatio */ public $storeFileCountDayGrowthRatio; /** + * @description Table size. + * * @var tableSize */ public $tableSize; /** + * @description Daily growth ratio of table size. + * * @var tableSizeDayGrowthRatio */ public $tableSizeDayGrowthRatio; /** + * @description Warm data access days configuration. + * * @var warmConfigDay */ public $warmConfigDay; /** + * @description Warm data size. + * * @var warmDataSize */ public $warmDataSize; /** + * @description Write request balance. + * * @var writeRequestBalance */ public $writeRequestBalance; diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/coldAccessDay.php b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/coldAccessDay.php index f555e24..0f8589c 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/coldAccessDay.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/coldAccessDay.php @@ -9,6 +9,8 @@ class coldAccessDay extends Model { /** + * @description Description of the metric. + * * @example Cold access day * * @var string @@ -16,6 +18,8 @@ class coldAccessDay extends Model public $description; /** + * @description Name of the metric. + * * @example coldAccessDay * * @var string @@ -23,6 +27,8 @@ class coldAccessDay extends Model public $name; /** + * @description Unit of the metric. + * * @example day * * @var string @@ -30,6 +36,8 @@ class coldAccessDay extends Model public $unit; /** + * @description Value of the metric. + * * @example 3 * * @var int diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/coldConfigDay.php b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/coldConfigDay.php index 9e0a563..2ca2238 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/coldConfigDay.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/coldConfigDay.php @@ -9,6 +9,8 @@ class coldConfigDay extends Model { /** + * @description Description of the metric. + * * @example Cold config day * * @var string @@ -16,6 +18,8 @@ class coldConfigDay extends Model public $description; /** + * @description Metric name. + * * @example coldConfigDay * * @var string @@ -23,6 +27,8 @@ class coldConfigDay extends Model public $name; /** + * @description Unit of the metric. + * * @example day * * @var string @@ -30,6 +36,8 @@ class coldConfigDay extends Model public $unit; /** + * @description Metric value. + * * @example 10 * * @var int diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/coldDataSize.php b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/coldDataSize.php index 59dc3cb..e5bed94 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/coldDataSize.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/coldDataSize.php @@ -9,6 +9,8 @@ class coldDataSize extends Model { /** + * @description Metric description. + * * @example Size of the cold data size * * @var string @@ -16,6 +18,8 @@ class coldDataSize extends Model public $description; /** + * @description Metric name. + * * @example coldDataSize * * @var string @@ -23,6 +27,8 @@ class coldDataSize extends Model public $name; /** + * @description Metric unit. + * * @example "" * * @var string @@ -30,6 +36,8 @@ class coldDataSize extends Model public $unit; /** + * @description Metric value. + * * @example 1000 * * @var int diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/dailyReadRequest.php b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/dailyReadRequest.php index 48761e6..454189f 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/dailyReadRequest.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/dailyReadRequest.php @@ -9,6 +9,8 @@ class dailyReadRequest extends Model { /** + * @description Description of the metric. + * * @example test-update * * @var string @@ -16,6 +18,8 @@ class dailyReadRequest extends Model public $description; /** + * @description Name of the item. + * * @example dailyReadRequest * * @var string @@ -23,6 +27,8 @@ class dailyReadRequest extends Model public $name; /** + * @description Unit of the metric. + * * @example "" * * @var string @@ -30,6 +36,8 @@ class dailyReadRequest extends Model public $unit; /** + * @description Value of the metric. + * * @example 1000 * * @var int diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/dailyReadRequestDayGrowthRatio.php b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/dailyReadRequestDayGrowthRatio.php index a114cdc..5e10e5e 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/dailyReadRequestDayGrowthRatio.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/dailyReadRequestDayGrowthRatio.php @@ -9,6 +9,8 @@ class dailyReadRequestDayGrowthRatio extends Model { /** + * @description Description of the metric. + * * @example Day growth ratio of table size * * @var string @@ -16,6 +18,8 @@ class dailyReadRequestDayGrowthRatio extends Model public $description; /** + * @description Metric name. + * * @example dailyReadRequestDayGrowthRatio * * @var string @@ -23,6 +27,8 @@ class dailyReadRequestDayGrowthRatio extends Model public $name; /** + * @description The unit of the metric. + * * @example "" * * @var string @@ -30,6 +36,8 @@ class dailyReadRequestDayGrowthRatio extends Model public $unit; /** + * @description The value of the metric. + * * @example 1.5 * * @var float diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/dailyWriteRequest.php b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/dailyWriteRequest.php index 4ebeffa..a6ccd2d 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/dailyWriteRequest.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/dailyWriteRequest.php @@ -9,6 +9,8 @@ class dailyWriteRequest extends Model { /** + * @description Description of the metric. + * * @example Number of write requests per day * * @var string @@ -16,6 +18,8 @@ class dailyWriteRequest extends Model public $description; /** + * @description Name of the metric. + * * @example dailyWriteRequest * * @var string @@ -23,6 +27,8 @@ class dailyWriteRequest extends Model public $name; /** + * @description Unit of the metric. + * * @example "" * * @var string @@ -30,6 +36,8 @@ class dailyWriteRequest extends Model public $unit; /** + * @description Value of the metric. + * * @example 1000 * * @var int diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/dailyWriteRequestDayGrowthRatio.php b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/dailyWriteRequestDayGrowthRatio.php index 909e1b6..10a7f14 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/dailyWriteRequestDayGrowthRatio.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/dailyWriteRequestDayGrowthRatio.php @@ -9,6 +9,8 @@ class dailyWriteRequestDayGrowthRatio extends Model { /** + * @description Description of the metric. + * * @example The balance of distributing requests * * @var string @@ -16,6 +18,8 @@ class dailyWriteRequestDayGrowthRatio extends Model public $description; /** + * @description Name of the metric. + * * @example dailyWriteRequestDayGrowthRatio * * @var string @@ -23,6 +27,8 @@ class dailyWriteRequestDayGrowthRatio extends Model public $name; /** + * @description The unit of the metric. + * * @example "" * * @var string @@ -30,6 +36,8 @@ class dailyWriteRequestDayGrowthRatio extends Model public $unit; /** + * @description The value of the metric. + * * @example 0.5 * * @var float diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/freezeConfigDay.php b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/freezeConfigDay.php index 317a350..d0ccb40 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/freezeConfigDay.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/freezeConfigDay.php @@ -9,6 +9,8 @@ class freezeConfigDay extends Model { /** + * @description Description of the metric. + * * @example Freeze config day * * @var string @@ -16,6 +18,8 @@ class freezeConfigDay extends Model public $description; /** + * @description Name of the metric. + * * @example freezeConfigDay * * @var string @@ -23,6 +27,8 @@ class freezeConfigDay extends Model public $name; /** + * @description Unit of the metric. + * * @example day * * @var string @@ -30,6 +36,8 @@ class freezeConfigDay extends Model public $unit; /** + * @description Value of the metric. + * * @example 10 * * @var int diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/freezeDataSize.php b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/freezeDataSize.php index 62acbb4..898b24b 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/freezeDataSize.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/freezeDataSize.php @@ -9,6 +9,8 @@ class freezeDataSize extends Model { /** + * @description Metric description. + * * @example Size of the freeze data size * * @var string @@ -16,6 +18,8 @@ class freezeDataSize extends Model public $description; /** + * @description Metric name. + * * @example freezeDataSize * * @var string @@ -23,6 +27,8 @@ class freezeDataSize extends Model public $name; /** + * @description Metric unit. + * * @example MB * * @var string @@ -30,6 +36,8 @@ class freezeDataSize extends Model public $unit; /** + * @description Metric value. + * * @example 1000 * * @var int diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/hotDataSize.php b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/hotDataSize.php index 2d797b5..68327e6 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/hotDataSize.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/hotDataSize.php @@ -9,6 +9,8 @@ class hotDataSize extends Model { /** + * @description Description of the metric. + * * @example Size of the hot data size * * @var string @@ -16,6 +18,8 @@ class hotDataSize extends Model public $description; /** + * @description Name of the metric. + * * @example hotDataSize * * @var string @@ -23,6 +27,8 @@ class hotDataSize extends Model public $name; /** + * @description The unit of the metric. + * * @example MB * * @var string @@ -30,6 +36,8 @@ class hotDataSize extends Model public $unit; /** + * @description The metric value. + * * @example 1000 * * @var int diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/locality.php b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/locality.php index 2280f26..39422ba 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/locality.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/locality.php @@ -9,6 +9,8 @@ class locality extends Model { /** + * @description Description of the metric. + * * @example The locality of data * * @var string @@ -16,6 +18,8 @@ class locality extends Model public $description; /** + * @description Name of the metric. + * * @example locality * * @var string @@ -23,6 +27,8 @@ class locality extends Model public $name; /** + * @description Unit of the metric. + * * @example "" * * @var string @@ -30,6 +36,8 @@ class locality extends Model public $unit; /** + * @description Value of the metric. + * * @example 0.5 * * @var float diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/readRequestBalance.php b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/readRequestBalance.php index 840e0fc..aa2c8e0 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/readRequestBalance.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/readRequestBalance.php @@ -9,6 +9,8 @@ class readRequestBalance extends Model { /** + * @description Description of the metric. + * * @example The balance of distributing read requests * * @var string @@ -16,6 +18,8 @@ class readRequestBalance extends Model public $description; /** + * @description Name of the metric. + * * @example readRequestBalance * * @var string @@ -23,6 +27,8 @@ class readRequestBalance extends Model public $name; /** + * @description The unit of the metric. + * * @example "" * * @var string @@ -30,6 +36,8 @@ class readRequestBalance extends Model public $unit; /** + * @description The value of the metric. + * * @example 0.5 * * @var float diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/regionBalance.php b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/regionBalance.php index a271f59..4c7497a 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/regionBalance.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/regionBalance.php @@ -9,6 +9,8 @@ class regionBalance extends Model { /** + * @description Description of the metric. + * * @example The ability to evenly distribute Regions on different RegionServer nodes * * @var string @@ -16,6 +18,8 @@ class regionBalance extends Model public $description; /** + * @description Metric name. + * * @example regionBalance * * @var string @@ -23,6 +27,8 @@ class regionBalance extends Model public $name; /** + * @description The unit of the metric. + * * @example "" * * @var string @@ -30,6 +36,8 @@ class regionBalance extends Model public $unit; /** + * @description The metric value. + * * @example 1.0 * * @var float diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/regionCount.php b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/regionCount.php index 272b1cf..6c72262 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/regionCount.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/regionCount.php @@ -9,6 +9,8 @@ class regionCount extends Model { /** + * @description Metric description. + * * @example Number of regions count * * @var string @@ -16,6 +18,8 @@ class regionCount extends Model public $description; /** + * @description Metric name. + * * @example regionCount * * @var string @@ -23,6 +27,8 @@ class regionCount extends Model public $name; /** + * @description Metric unit. + * * @example "" * * @var string @@ -30,6 +36,8 @@ class regionCount extends Model public $unit; /** + * @description Metric value. + * * @example 10 * * @var int diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/regionCountDayGrowthRatio.php b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/regionCountDayGrowthRatio.php index 52a12df..8b6348d 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/regionCountDayGrowthRatio.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/regionCountDayGrowthRatio.php @@ -9,6 +9,8 @@ class regionCountDayGrowthRatio extends Model { /** + * @description Metric description. + * * @example Day growth ratio of region count * * @var string @@ -16,6 +18,8 @@ class regionCountDayGrowthRatio extends Model public $description; /** + * @description Metric name. + * * @example regionCountDayGrowthRatio * * @var string @@ -23,6 +27,8 @@ class regionCountDayGrowthRatio extends Model public $name; /** + * @description Metric unit. + * * @example "" * * @var string @@ -30,6 +36,8 @@ class regionCountDayGrowthRatio extends Model public $unit; /** + * @description Metric value. + * * @example 0.8 * * @var float diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/regionServerCount.php b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/regionServerCount.php index c75a5d2..bcc13ef 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/regionServerCount.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/regionServerCount.php @@ -9,6 +9,8 @@ class regionServerCount extends Model { /** + * @description Metric description. + * * @example Number of region servers count * * @var string @@ -16,6 +18,8 @@ class regionServerCount extends Model public $description; /** + * @description Metric name. + * * @example regionServerCount * * @var string @@ -23,6 +27,8 @@ class regionServerCount extends Model public $name; /** + * @description Metric unit. + * * @example “” * * @var string @@ -30,6 +36,8 @@ class regionServerCount extends Model public $unit; /** + * @description Usage. + * * @example 10 * * @var int diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/requestBalance.php b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/requestBalance.php index 9c1f5a0..35f6551 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/requestBalance.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/requestBalance.php @@ -9,6 +9,8 @@ class requestBalance extends Model { /** + * @description Description of the metric. + * * @example The balance of distributing requests * * @var string @@ -16,6 +18,8 @@ class requestBalance extends Model public $description; /** + * @description Name of the metric. + * * @example requestBalance * * @var string @@ -23,6 +27,8 @@ class requestBalance extends Model public $name; /** + * @description The unit of the metric. + * * @example "" * * @var string @@ -30,6 +36,8 @@ class requestBalance extends Model public $unit; /** + * @description The metric value. + * * @example 1.0 * * @var float diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/storeFileCount.php b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/storeFileCount.php index caa5078..aa7c7dd 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/storeFileCount.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/storeFileCount.php @@ -9,6 +9,8 @@ class storeFileCount extends Model { /** + * @description Description of the metric. + * * @example Number of store files * * @var string @@ -16,6 +18,8 @@ class storeFileCount extends Model public $description; /** + * @description Name of the metric. + * * @example storeFileCount * * @var string @@ -23,6 +27,8 @@ class storeFileCount extends Model public $name; /** + * @description Unit of the metric. + * * @example "" * * @var string @@ -30,6 +36,8 @@ class storeFileCount extends Model public $unit; /** + * @description Value of the metric. + * * @example 1000 * * @var int diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/storeFileCountDayGrowthRatio.php b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/storeFileCountDayGrowthRatio.php index f579265..a3376a7 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/storeFileCountDayGrowthRatio.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/storeFileCountDayGrowthRatio.php @@ -9,6 +9,8 @@ class storeFileCountDayGrowthRatio extends Model { /** + * @description Metric description. + * * @example Day growth ratio of store file count * * @var string @@ -16,6 +18,8 @@ class storeFileCountDayGrowthRatio extends Model public $description; /** + * @description Metric name. + * * @example storeFileCountDayGrowthRatio * * @var string @@ -23,6 +27,8 @@ class storeFileCountDayGrowthRatio extends Model public $name; /** + * @description Metric unit. + * * @example "" * * @var string @@ -30,6 +36,8 @@ class storeFileCountDayGrowthRatio extends Model public $unit; /** + * @description Metric value. + * * @example 1.5 * * @var float diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/tableSize.php b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/tableSize.php index 00186ac..c47cd8a 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/tableSize.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/tableSize.php @@ -9,6 +9,8 @@ class tableSize extends Model { /** + * @description Description of the metric. + * * @example Size of the table * * @var string @@ -16,6 +18,8 @@ class tableSize extends Model public $description; /** + * @description Metric name. + * * @example tableSize * * @var string @@ -23,6 +27,8 @@ class tableSize extends Model public $name; /** + * @description Unit of the metric + * * @example "" * * @var string @@ -30,6 +36,8 @@ class tableSize extends Model public $unit; /** + * @description Metric value. + * * @example tb_item * * @var int diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/tableSizeDayGrowthRatio.php b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/tableSizeDayGrowthRatio.php index e7138af..58bd42f 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/tableSizeDayGrowthRatio.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/tableSizeDayGrowthRatio.php @@ -9,6 +9,8 @@ class tableSizeDayGrowthRatio extends Model { /** + * @description Metric description. + * * @example Day growth ratio of table size * * @var string @@ -16,6 +18,8 @@ class tableSizeDayGrowthRatio extends Model public $description; /** + * @description Metric name. + * * @example tableSizeDayGrowthRatio * * @var string @@ -23,6 +27,8 @@ class tableSizeDayGrowthRatio extends Model public $name; /** + * @description Metric unit. + * * @example "" * * @var string @@ -30,6 +36,8 @@ class tableSizeDayGrowthRatio extends Model public $unit; /** + * @description Metric value. + * * @example 1.5 * * @var float diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/warmConfigDay.php b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/warmConfigDay.php index a50833b..29949e6 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/warmConfigDay.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/warmConfigDay.php @@ -9,6 +9,8 @@ class warmConfigDay extends Model { /** + * @description Metric description. + * * @example Size of the warm data size * * @var string @@ -16,6 +18,8 @@ class warmConfigDay extends Model public $description; /** + * @description Metric name. + * * @example warmConfigDay * * @var string @@ -23,6 +27,8 @@ class warmConfigDay extends Model public $name; /** + * @description Metric unit. + * * @example MB * * @var string @@ -30,6 +36,8 @@ class warmConfigDay extends Model public $unit; /** + * @description Metric value. + * * @example 1000 * * @var int diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/warmDataSize.php b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/warmDataSize.php index a923acb..24de379 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/warmDataSize.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/warmDataSize.php @@ -9,6 +9,8 @@ class warmDataSize extends Model { /** + * @description Description of the metric. + * * @example Size of the warm data size * * @var string @@ -16,6 +18,8 @@ class warmDataSize extends Model public $description; /** + * @description Name of the metric. + * * @example warmDataSize * * @var string @@ -23,6 +27,8 @@ class warmDataSize extends Model public $name; /** + * @description The unit of the metric. + * * @example MB * * @var string @@ -30,6 +36,8 @@ class warmDataSize extends Model public $unit; /** + * @description Usage rate. + * * @example 1000 * * @var int diff --git a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/writeRequestBalance.php b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/writeRequestBalance.php index 9dd6bba..b89c306 100644 --- a/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/writeRequestBalance.php +++ b/src/Models/GetDoctorHBaseTableResponseBody/data/metrics/writeRequestBalance.php @@ -9,6 +9,8 @@ class writeRequestBalance extends Model { /** + * @description Description of the metric. + * * @example The balance of distributing write requests * * @var string @@ -16,6 +18,8 @@ class writeRequestBalance extends Model public $description; /** + * @description Name of the metric. + * * @example writeRequestBalance * * @var string @@ -23,6 +27,8 @@ class writeRequestBalance extends Model public $name; /** + * @description Unit of the metric. + * * @example "" * * @var string @@ -30,6 +36,8 @@ class writeRequestBalance extends Model public $unit; /** + * @description The value of the metric. + * * @example 0.5 * * @var float diff --git a/src/Models/GetDoctorReportComponentSummaryRequest.php b/src/Models/GetDoctorReportComponentSummaryRequest.php index 96859a3..8ab063a 100644 --- a/src/Models/GetDoctorReportComponentSummaryRequest.php +++ b/src/Models/GetDoctorReportComponentSummaryRequest.php @@ -9,7 +9,7 @@ class GetDoctorReportComponentSummaryRequest extends Model { /** - * @description 集群ID。 + * @description Cluster ID. * * This parameter is required. * @example c-b933c5aac8fe**** @@ -19,8 +19,7 @@ class GetDoctorReportComponentSummaryRequest extends Model public $clusterId; /** - * @description component type - * + * @description Select component filter type. Values: * This parameter is required. * @example compute * @@ -29,7 +28,7 @@ class GetDoctorReportComponentSummaryRequest extends Model public $componentType; /** - * @description dateTime for specify report + * @description Report date. * * This parameter is required. * @example 2023-01-01 @@ -39,7 +38,7 @@ class GetDoctorReportComponentSummaryRequest extends Model public $dateTime; /** - * @description 区域ID。 + * @description Region ID. * * This parameter is required. * @example cn-hangzhou diff --git a/src/Models/GetDoctorReportComponentSummaryResponseBody.php b/src/Models/GetDoctorReportComponentSummaryResponseBody.php index 726ee0b..f7011a6 100644 --- a/src/Models/GetDoctorReportComponentSummaryResponseBody.php +++ b/src/Models/GetDoctorReportComponentSummaryResponseBody.php @@ -10,14 +10,14 @@ class GetDoctorReportComponentSummaryResponseBody extends Model { /** - * @description The content of the report. + * @description Report content. * * @var data */ public $data; /** - * @description 请求ID。 + * @description Request ID. * * @example DD6B1B2A-5837-5237-ABE4-FF0C8944**** * diff --git a/src/Models/GetDoctorReportComponentSummaryResponseBody/data.php b/src/Models/GetDoctorReportComponentSummaryResponseBody/data.php index 3ad5aec..a7395fd 100644 --- a/src/Models/GetDoctorReportComponentSummaryResponseBody/data.php +++ b/src/Models/GetDoctorReportComponentSummaryResponseBody/data.php @@ -9,6 +9,8 @@ class data extends Model { /** + * @description Score. + * * @example 88 * * @var int @@ -16,12 +18,20 @@ class data extends Model public $score; /** + * @description Optimization suggestions. + * + * @example 计算健康度分数为 88 ,集群处于健康状态,继续保持 + * Tez 任务 1518 个,加权平均分为 88 ,内存使用量占整体集群的 100.0% ,CPU 使用量占整体集群的 100.0% ,其中 209 个任务处于不健康状态,596 个任务处于亚健康状态; + * 可在下面的任务明细列表中点击\\"\\"查看详情\\"\\",查看存在的具体问题及解决方案。其中\\"\\"低分任务算力内存时 (GB*Sec)Top20 \\"\\"表根据内存时使用量进行排序,由于大任务对集群整体影响可能更大,建议优先关注。 + * 其中,Tez作业平均内存利用率为 47.8% * @var string */ public $suggestion; /** - * @description The summary of the report. + * @description Report summary. + * + * @example
集群中大部分任务保持健康状态
集群内存利用率为: 47.8% 偏低
* * @var string */ diff --git a/src/Models/ListAutoScalingActivitiesRequest.php b/src/Models/ListAutoScalingActivitiesRequest.php index 2a78554..d2e1239 100644 --- a/src/Models/ListAutoScalingActivitiesRequest.php +++ b/src/Models/ListAutoScalingActivitiesRequest.php @@ -85,6 +85,11 @@ class ListAutoScalingActivitiesRequest extends Model */ public $scalingActivityType; + /** + * @var string + */ + public $scalingPolicyType; + /** * @description The name of the scaling rule. * @@ -111,6 +116,7 @@ class ListAutoScalingActivitiesRequest extends Model 'regionId' => 'RegionId', 'scalingActivityStates' => 'ScalingActivityStates', 'scalingActivityType' => 'ScalingActivityType', + 'scalingPolicyType' => 'ScalingPolicyType', 'scalingRuleName' => 'ScalingRuleName', 'startTime' => 'StartTime', ]; @@ -146,6 +152,9 @@ public function toMap() if (null !== $this->scalingActivityType) { $res['ScalingActivityType'] = $this->scalingActivityType; } + if (null !== $this->scalingPolicyType) { + $res['ScalingPolicyType'] = $this->scalingPolicyType; + } if (null !== $this->scalingRuleName) { $res['ScalingRuleName'] = $this->scalingRuleName; } @@ -190,6 +199,9 @@ public static function fromMap($map = []) if (isset($map['ScalingActivityType'])) { $model->scalingActivityType = $map['ScalingActivityType']; } + if (isset($map['ScalingPolicyType'])) { + $model->scalingPolicyType = $map['ScalingPolicyType']; + } if (isset($map['ScalingRuleName'])) { $model->scalingRuleName = $map['ScalingRuleName']; } diff --git a/src/Models/ListAutoScalingActivitiesResponseBody/scalingActivities.php b/src/Models/ListAutoScalingActivitiesResponseBody/scalingActivities.php index f43033a..27ca943 100644 --- a/src/Models/ListAutoScalingActivitiesResponseBody/scalingActivities.php +++ b/src/Models/ListAutoScalingActivitiesResponseBody/scalingActivities.php @@ -79,6 +79,11 @@ class scalingActivities extends Model */ public $expectNum; + /** + * @var int[] + */ + public $instanceTypeToNum; + /** * @description The ID of the node group. * @@ -106,6 +111,11 @@ class scalingActivities extends Model */ public $operationId; + /** + * @var string + */ + public $policyType; + /** * @description The name of the scaling rule. * @@ -124,18 +134,20 @@ class scalingActivities extends Model */ public $startTime; protected $_name = [ - 'activityId' => 'ActivityId', - 'activityState' => 'ActivityState', - 'activityType' => 'ActivityType', - 'clusterId' => 'ClusterId', - 'description' => 'Description', - 'endTime' => 'EndTime', - 'expectNum' => 'ExpectNum', - 'nodeGroupId' => 'NodeGroupId', - 'nodeGroupName' => 'NodeGroupName', - 'operationId' => 'OperationId', - 'ruleName' => 'RuleName', - 'startTime' => 'StartTime', + 'activityId' => 'ActivityId', + 'activityState' => 'ActivityState', + 'activityType' => 'ActivityType', + 'clusterId' => 'ClusterId', + 'description' => 'Description', + 'endTime' => 'EndTime', + 'expectNum' => 'ExpectNum', + 'instanceTypeToNum' => 'InstanceTypeToNum', + 'nodeGroupId' => 'NodeGroupId', + 'nodeGroupName' => 'NodeGroupName', + 'operationId' => 'OperationId', + 'policyType' => 'PolicyType', + 'ruleName' => 'RuleName', + 'startTime' => 'StartTime', ]; public function validate() @@ -166,6 +178,9 @@ public function toMap() if (null !== $this->expectNum) { $res['ExpectNum'] = $this->expectNum; } + if (null !== $this->instanceTypeToNum) { + $res['InstanceTypeToNum'] = $this->instanceTypeToNum; + } if (null !== $this->nodeGroupId) { $res['NodeGroupId'] = $this->nodeGroupId; } @@ -175,6 +190,9 @@ public function toMap() if (null !== $this->operationId) { $res['OperationId'] = $this->operationId; } + if (null !== $this->policyType) { + $res['PolicyType'] = $this->policyType; + } if (null !== $this->ruleName) { $res['RuleName'] = $this->ruleName; } @@ -214,6 +232,9 @@ public static function fromMap($map = []) if (isset($map['ExpectNum'])) { $model->expectNum = $map['ExpectNum']; } + if (isset($map['InstanceTypeToNum'])) { + $model->instanceTypeToNum = $map['InstanceTypeToNum']; + } if (isset($map['NodeGroupId'])) { $model->nodeGroupId = $map['NodeGroupId']; } @@ -223,6 +244,9 @@ public static function fromMap($map = []) if (isset($map['OperationId'])) { $model->operationId = $map['OperationId']; } + if (isset($map['PolicyType'])) { + $model->policyType = $map['PolicyType']; + } if (isset($map['RuleName'])) { $model->ruleName = $map['RuleName']; } diff --git a/src/Models/ListInstanceTypesRequest.php b/src/Models/ListInstanceTypesRequest.php index 850f125..f234980 100644 --- a/src/Models/ListInstanceTypesRequest.php +++ b/src/Models/ListInstanceTypesRequest.php @@ -9,7 +9,7 @@ class ListInstanceTypesRequest extends Model { /** - * @description 集群ID,仅升配场景使用。 + * @description The ID of cluster. * * @example c-b933c5aac8fe**** * @@ -18,7 +18,8 @@ class ListInstanceTypesRequest extends Model public $clusterId; /** - * @description 创建的EMR集群类型。取值范围: + * @description Cluster type. + * * This parameter is required. * @example DATALAKE * @@ -27,8 +28,8 @@ class ListInstanceTypesRequest extends Model public $clusterType; /** - * @description 集群中的应用部署模式。取值范围: - * 默认值:NORMAL。 + * @description Deployment mode. + * * @example HA * * @var string @@ -36,7 +37,7 @@ class ListInstanceTypesRequest extends Model public $deployMode; /** - * @description 机型 + * @description Instance Type * * @example ecs.g6.xlarge * @@ -45,7 +46,7 @@ class ListInstanceTypesRequest extends Model public $instanceType; /** - * @description 是否变配。 + * @description Whether to change the configuration. * * @example false * @@ -54,7 +55,7 @@ class ListInstanceTypesRequest extends Model public $isModification; /** - * @description 节点组ID。 + * @description Node group ID. * * @example G-F06C4B47966A**** * @@ -63,7 +64,8 @@ class ListInstanceTypesRequest extends Model public $nodeGroupId; /** - * @description 节点组类型。取值范围: + * @description Node group type. + * * This parameter is required. * @example CORE * @@ -72,7 +74,8 @@ class ListInstanceTypesRequest extends Model public $nodeGroupType; /** - * @description 集群的付费类型。取值范围: + * @description Payment type. + * * This parameter is required. * @example PayAsYouGo * @@ -81,7 +84,7 @@ class ListInstanceTypesRequest extends Model public $paymentType; /** - * @description 区域ID。 + * @description The ID of the region in which you want to create the instance. * * This parameter is required. * @example cn-hangzhou @@ -91,16 +94,16 @@ class ListInstanceTypesRequest extends Model public $regionId; /** - * @description EMR发行版。 + * @description EMR distribution. * - * @example EMR-5.3.0 + * @example 线上已发布版本EMR-5.8.0 * * @var string */ public $releaseVersion; /** - * @description 可用区ID。 + * @description Availability Zone ID * * This parameter is required. * @example cn-beijing-h diff --git a/src/Models/ListInstanceTypesResponseBody.php b/src/Models/ListInstanceTypesResponseBody.php index cce74fe..bfcc249 100644 --- a/src/Models/ListInstanceTypesResponseBody.php +++ b/src/Models/ListInstanceTypesResponseBody.php @@ -16,7 +16,7 @@ class ListInstanceTypesResponseBody extends Model public $instanceTypes; /** - * @description 本次请求所返回的最大记录条数。 + * @description The maximum number of records returned in this request. * * @example 20 * @@ -25,7 +25,7 @@ class ListInstanceTypesResponseBody extends Model public $maxResults; /** - * @description 返回读取到的数据位置,空代表数据已经读取完毕。 + * @description Returns the position of the read data. * * @example DD6B1B2A-5837-5237-ABE4-FF0C89568980 * @@ -34,7 +34,7 @@ class ListInstanceTypesResponseBody extends Model public $nextToken; /** - * @description 请求ID。 + * @description Request ID. * * @example DD6B1B2A-5837-5237-ABE4-FF0C8944**** * @@ -43,7 +43,7 @@ class ListInstanceTypesResponseBody extends Model public $requestId; /** - * @description 本次请求条件下的数据总量。 + * @description The total amount of data under the conditions of this request. * * @example 200 * diff --git a/src/Models/UpdateApiTemplateRequest.php b/src/Models/UpdateApiTemplateRequest.php index b8cc026..bfc4cc8 100644 --- a/src/Models/UpdateApiTemplateRequest.php +++ b/src/Models/UpdateApiTemplateRequest.php @@ -9,7 +9,7 @@ class UpdateApiTemplateRequest extends Model { /** - * @description The name of the API. You can create only a cluster API operation template. Set the value to CreateCluster. + * @description The name of the API operation. You can create only a cluster API operation template. Set the value to CreateCluster. * * This parameter is required. * @example CreateCluster @@ -19,7 +19,7 @@ class UpdateApiTemplateRequest extends Model public $apiName; /** - * @description The content of the cluster API operation template. Set the value to JSON strings of the request parameters of the [CreateCluster](https://help.aliyun.com/document_detail/454393.html) API for creating a cluster. + * @description The content of the cluster API operation template. Set the value to JSON strings of the request parameters of the [CreateCluster](https://help.aliyun.com/document_detail/454393.html) API operation for creating a cluster. * * This parameter is required. * @example CreateCluster