'1.0', 'info' => [ 'style' => 'ROA', 'product' => 'MaxCompute', 'version' => '2022-01-04', ], 'directories' => [ [ 'children' => [ 'ListQuotas', 'QueryQuota', 'GetQuota', [ 'children' => [ 'CreateComputeQuotaPlan', 'UpdateComputeSubQuota', 'GetComputeQuotaPlan', 'ListComputeQuotaPlan', 'UpdateComputeQuotaPlan', 'DeleteComputeQuotaPlan', 'ApplyComputeQuotaPlan', 'GetComputeQuotaSchedule', 'UpdateComputeQuotaSchedule', 'GetComputeEffectivePlan', ], 'type' => 'directory', 'title' => '计算Quota配置', 'id' => 34683, ], [ 'children' => [ 'ListTunnelQuotaTimer', 'UpdateTunnelQuotaTimer', ], 'type' => 'directory', 'title' => 'Tunnel Quota分时配置', 'id' => 34680, ], [ 'children' => [ 'CreateQuotaPlan', 'GetQuotaPlan', 'UpdateQuotaPlan', 'ListQuotasPlans', 'DeleteQuotaPlan', 'UpdateQuotaSchedule', 'GetQuotaSchedule', ], 'type' => 'directory', 'title' => '计算Quota配置(旧版,不推荐使用)', 'id' => 34694, ], ], 'type' => 'directory', 'title' => 'Quota管理', 'id' => 34676, ], [ 'children' => [ [ 'children' => [ 'CreateProject', 'ListProjects', 'GetProject', 'UpdateProjectBasicMeta', 'UpdateProjectDefaultQuota', 'UpdateProjectIpWhiteList', 'UpdateProjectModelTier', 'GetTrustedProjects', 'DeleteProject', ], 'type' => 'directory', 'title' => '基础管理(Project)', 'id' => 34705, ], [ 'children' => [ 'ListProjectUsers', 'CreateRole', 'ListRoles', 'GetRoleAcl', 'GetRoleAclOnObject', 'GetRolePolicy', 'ListUsersByRole', 'UpdateUsersToRole', ], 'type' => 'directory', 'title' => '角色权限(Role、User)', 'id' => 34713, ], [ 'children' => [ 'ListPackages', 'UpdatePackage', 'CreatePackage', 'GetPackage', ], 'type' => 'directory', 'title' => 'Package', 'id' => 34721, ], [ 'children' => [ 'ListTables', 'GetTableInfo', ], 'type' => 'directory', 'title' => '表(Table)', 'id' => 34726, ], [ 'children' => [ 'ListFunctions', ], 'type' => 'directory', 'title' => '函数(Function)', 'id' => 34703, ], [ 'children' => [ 'ListResources', ], 'type' => 'directory', 'title' => '资源(Resource)', 'id' => 34729, ], ], 'type' => 'directory', 'title' => '项目管理', 'id' => 13403, ], [ 'children' => [ 'ListUsers', ], 'type' => 'directory', 'title' => '租户管理', 'id' => 34731, ], [ 'children' => [ 'QueryQuotaMetric', 'QueryTunnelMetricDetail', 'QueryTunnelMetric', 'GetQuotaUsage', 'ListJobMetric', 'QueryStorageMetric', 'ListStorageTablesInfo', 'ListStoragePartitionsInfo', 'GetStorageSizeSummary', 'GetStorageAmountSummary', 'GetStorageSummaryCompared', 'ListStorageProjectsInfo', 'SumStorageMetricsByDate', ], 'type' => 'directory', 'title' => '资源观测', 'id' => 34740, ], [ 'children' => [ 'ListJobInfos', 'ListJobSnapshotInfos', 'GetJobInfo', 'GetRunningJobs', 'KillJobs', 'GetJobResourceUsage', ], 'type' => 'directory', 'title' => '作业运维', 'id' => 34733, ], [ 'children' => [ 'CreateMmsDataSource', 'GetMmsDataSource', 'ListMmsDataSources', 'UpdateMmsDataSource', 'DeleteMmsDataSource', 'CreateMmsFetchMetadataJob', 'GetMmsFetchMetadataJob', 'ListMmsDbs', 'GetMmsDb', 'ListMmsTables', 'GetMmsTable', 'ListMmsPartitions', 'GetMmsPartition', 'CreateMmsJob', 'ListMmsJobs', 'GetMmsJob', 'GetMmsAsyncTask', 'DeleteMmsJob', 'StartMmsJob', 'StopMmsJob', 'RetryMmsJob', 'ListMmsTasks', 'GetMmsTask', 'ListMmsTaskLogs', ], 'type' => 'directory', 'title' => '数据迁移', 'id' => 23813, ], [ 'children' => [ 'ListComputeMetricsByInstance', ], 'type' => 'directory', 'title' => '成本分析', 'id' => 34777, ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'ApplyComputeQuotaPlan' => [ 'path' => '/api/v1/quotas/{nickname}/computeQuotaPlan/{planName}/apply', 'methods' => [ 'put', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '259116', 'abilityTreeNodes' => [ 'FEATUREodpsZAKNHC', ], ], 'parameters' => [ [ 'name' => 'nickname', 'in' => 'path', 'schema' => [ 'description' => '一级Quota昵称。', 'type' => 'string', 'required' => true, 'example' => 'os_ComputeQuota_p', ], ], [ 'name' => 'planName', 'in' => 'path', 'schema' => [ 'description' => 'Quota计划名称。', 'type' => 'string', 'required' => true, 'example' => 'planA', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => '请求返回参数。', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0b87b7a316654730544735643e9200', ], 'httpCode' => [ 'description' => 'HTTP状态码。'."\n" .'- 1xx:信息响应 - 请求已接收,正在处理中。'."\n" .'- 2xx:成功 - 请求动作已被服务端成功接收、理解并接受。'."\n" .'- 3xx:重定向 - 请求被重定向,采取进一步行动以完成请求。'."\n" .'- 4xx:客户端错误 - 请求包含错误请求参、语法或特定请求条件无法满足。'."\n" .'- 5xx:服务端错误 - 服务器由于其他原因无法满足请求。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'OBJECT_NOT_EXIST', ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => 'this quota plan is not exist.', ], 'data' => [ 'description' => '请求返回结果。', 'type' => 'string', 'example' => 'success', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0b87b7a316654730544735643e9200\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"OBJECT_NOT_EXIST\\",\\n \\"errorMsg\\": \\"this quota plan is not exist.\\",\\n \\"data\\": \\"success\\"\\n}","type":"json"}]', 'title' => '立即生效Quota计划', 'summary' => '立即生效Quota计划。', 'description' => '请确保在使用该接口前,已充分了解MaxCompute弹性预留CU的[收费方式和价格](https://help.aliyun.com/zh/maxcompute/product-overview/computing-pricing-1)'."\n" .'[收费方式和价格](https://www.alibabacloud.com/help/maxcompute/product-overview/computing-pricing-1)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:ApplyComputeQuotaPlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], ], ], 'CreateComputeQuotaPlan' => [ 'path' => '/api/v1/quotas/{nickname}/computeQuotaPlan', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '255781', 'abilityTreeNodes' => [ 'FEATUREodps2FOXFI', ], ], 'parameters' => [ [ 'name' => 'nickname', 'in' => 'path', 'schema' => [ 'description' => '一级Quota昵称。', 'type' => 'string', 'required' => true, 'example' => 'os_ComputeQuota_p'."\n", ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '请求体参数。', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => 'Quota计划名称。', 'type' => 'string', 'required' => true, 'example' => 'planA', ], 'quota' => [ 'description' => 'Quota属性。', 'type' => 'object', 'properties' => [ 'parameter' => [ 'description' => '一级Quota弹性预留CU值。', 'type' => 'object', 'properties' => [ 'elasticReservedCU' => [ 'description' => '弹性预留CU值。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '50', ], ], 'required' => false, ], 'subQuotaInfoList' => [ 'description' => '二级Quota列表。', 'type' => 'array', 'items' => [ 'description' => '二级Quota列表。', 'type' => 'object', 'properties' => [ 'nickName' => [ 'description' => '二级Quota昵称。', 'type' => 'string', 'required' => true, 'example' => 'os_ComputeQuota', ], 'parameter' => [ 'description' => '二级Quota CU配置。', 'type' => 'object', 'properties' => [ 'elasticReservedCU' => [ 'description' => '弹性预留CU值。'."\n" .'> '."\n" .'> - 所有二级Quota的elasticReservedCU总和不能超过一级Quota的elasticReservedCU。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '50', ], 'maxCU' => [ 'description' => '预留CU上限。'."\n" .'> '."\n" .'> - 二级Quota的maxCU不能超过一级Quota的maxCU', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '50', ], 'minCU' => [ 'description' => '预留CU保障。'."\n" .'> '."\n" .'> - 二级Quota的minCU不能超过自身的maxCU'."\n" .'> - 所有二级Quota的minCU总和不能超过一级Quota的minCU', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '50', ], ], 'required' => false, ], ], 'required' => false, ], 'required' => false, ], ], 'required' => false, ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => '请求返回参数。', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0b87b7e716665825896565060e87a4', ], 'httpCode' => [ 'description' => 'HTTP状态码。'."\n" .'- 1xx:信息响应 - 请求已接收,正在处理中。'."\n" .'- 2xx:成功 - 请求动作已被服务端成功接收、理解并接受。'."\n" .'- 3xx:重定向 - 请求被重定向,采取进一步行动以完成请求。'."\n" .'- 4xx:客户端错误 - 请求包含错误请求参、语法或特定请求条件无法满足。'."\n" .'- 5xx:服务端错误 - 服务器由于其他原因无法满足请求。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'OBJECT_NOT_EXIST', ], 'errorMsg' => [ 'description' => '错误信息', 'type' => 'string', 'example' => 'this quota is not exist.', ], 'data' => [ 'description' => '返回结果。', 'type' => 'string', 'example' => 'success', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0b87b7e716665825896565060e87a4\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"OBJECT_NOT_EXIST\\",\\n \\"errorMsg\\": \\"this quota is not exist.\\",\\n \\"data\\": \\"success\\"\\n}","type":"json"}]', 'title' => '创建计算Quota计划', 'summary' => '创建计算Quota计划。', 'description' => '请确保在使用该接口前,已充分了解MaxCompute弹性预留CU的[收费方式和价格](https://help.aliyun.com/zh/maxcompute/product-overview/computing-pricing-1)'."\n" .'[收费方式和价格](https://www.alibabacloud.com/help/maxcompute/product-overview/computing-pricing-1)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'odps:CreateQuotaPlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], ], ], 'CreateMmsDataSource' => [ 'summary' => '创建数据源,通过MMA将数据源的数据迁移到MaxCompute。', 'path' => '/api/v1/mms/datasources', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182968', 'abilityTreeNodes' => [ 'FEATUREodpsN8WEG6', ], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '请求Body', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '数据源名称', 'type' => 'string', 'required' => false, 'example' => 'demo', ], 'type' => [ 'description' => '数据源类型', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'HIVE' => 'HIVE', 'BIGQUERY' => 'BIGQUERY', ], 'example' => 'BIGQUERY', ], 'networklink' => [ 'description' => 'maxcompute"网络连接"id', 'type' => 'string', 'required' => false, 'example' => 'vpc-uf6pc2vordian33gobzfr:cn-shanghai', ], 'config' => [ 'description' => '数据源相关配置', 'type' => 'object', 'required' => false, 'additionalProperties' => [ 'type' => 'any', 'example' => '"bigquery.project.id": "xx"', 'description' => '数据源相关配置项', ], ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ApiRes', 'description' => 'ApiRes', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => 'B42CA730-8187-50F1-9FE0-6733297036DB', ], 'data' => [ 'description' => '返回结果。', 'type' => 'object', 'properties' => [ 'dataSourceId' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'example' => '18', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"B42CA730-8187-50F1-9FE0-6733297036DB\\",\\n \\"data\\": {\\n \\"dataSourceId\\": 18\\n }\\n}","type":"json"}]', 'title' => '创建数据源', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'odps:CreateMmsDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'CreateMmsFetchMetadataJob' => [ 'summary' => '“拉取数据源元数据”任务会将数据源的元数据拉取出来', 'path' => '/api/v1/mms/datasources/{sourceId}/scans', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '188538', 'abilityTreeNodes' => [ 'FEATUREodpsN8WEG6', ], ], 'parameters' => [ [ 'name' => 'sourceId', 'in' => 'path', 'schema' => [ 'description' => '数据源ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2000021', ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'title' => '指定更新元数据的范围,可以为空', 'description' => '指定更新元数据的范围,可以为空', 'type' => 'object', 'properties' => [ 'dbName' => [ 'title' => '更新指定的源database(或schema、dataset)的元数据', 'description' => '更新指定的源database(或schema、dataset)的元数据', 'type' => 'string', 'required' => false, 'example' => 'default', ], 'tableNames' => [ 'title' => '指定更新源表的元数据', 'description' => '指定更新源表的元数据', 'type' => 'array', 'items' => [ 'title' => '源表名', 'description' => '源表名', 'type' => 'string', 'required' => false, 'example' => 'table1', ], 'required' => false, ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ApiRes', 'description' => '返回值', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'CC4D05E8-0613-5A8E-9339-A0EBD097A69E', ], 'data' => [ 'description' => '返回结果。', 'type' => 'object', 'properties' => [ 'scanId' => [ 'description' => '同步元数据的异步任务ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1000002', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"CC4D05E8-0613-5A8E-9339-A0EBD097A69E\\",\\n \\"data\\": {\\n \\"scanId\\": 1000002\\n }\\n}","type":"json"}]', 'title' => '创建“同步数据源元数据”任务', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'odps:CreateMmsFetchMetadataJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], ], ], 'CreateMmsJob' => [ 'summary' => '创建数据迁移任务', 'path' => '/api/v1/mms/datasources/{sourceId}/jobs', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182983', 'abilityTreeNodes' => [ 'FEATUREodpsN8WEG6', ], ], 'parameters' => [ [ 'name' => 'sourceId', 'in' => 'path', 'schema' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2000014', ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '请求体参数', 'type' => 'object', 'properties' => [ 'sourceId' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2000014', ], 'name' => [ 'description' => '迁移作业名字', 'type' => 'string', 'required' => false, 'example' => 'migrate_db_1', ], 'sourceName' => [ 'description' => '数据源名', 'type' => 'string', 'required' => false, 'example' => 'demo'."\n", ], 'srcDbName' => [ 'description' => '源库名', 'type' => 'string', 'required' => false, 'example' => 'src_db', ], 'srcSchemaName' => [ 'description' => '源schema name-三层命名空间中的schema', 'type' => 'string', 'required' => false, 'example' => 'default', ], 'dstDbName' => [ 'description' => '目标MaxCompute项目', 'type' => 'string', 'required' => false, 'example' => 'mms_test', ], 'dstSchemaName' => [ 'description' => '目标MaxCompute Schema', 'type' => 'string', 'required' => false, 'example' => 'default', ], 'taskType' => [ 'title' => 'MOCK, HIVE: hive udtf task, HIVE_DATAX: hive datax task, COPY_TASK: odps Copy Task, ODPS_INSERT_OVERWRITE: odps simple insert overwrite task, MC2MC_VERIFY, OSS, HIVE_OSS', 'description' => '迁移任务类型', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'HIVE' => 'HIVE UDTF方式', 'BIGQUERY' => 'BIGQUERY read api方式', ], 'example' => 'BIGQUERY', ], 'partitions' => [ 'description' => '分区ID列表', 'type' => 'array', 'items' => [ 'description' => '分区ID值', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1232', ], 'required' => false, ], 'tables' => [ 'description' => 'table名字列表', 'type' => 'array', 'items' => [ 'description' => 'table名字', 'type' => 'string', 'required' => false, 'example' => 't1', ], 'required' => false, ], 'tableBlackList' => [ 'description' => 'table黑名单', 'type' => 'array', 'items' => [ 'description' => 'table名', 'type' => 'string', 'required' => false, 'example' => 't1', ], 'required' => false, ], 'tableWhiteList' => [ 'description' => 'table白名单, 注意:同时有白名单和黑名单时,只有黑名单有效', 'type' => 'array', 'items' => [ 'description' => 'table名', 'type' => 'string', 'required' => false, 'example' => 't1', ], 'required' => false, ], 'partitionFilters' => [ 'description' => '{table名:分区过滤表达式}', 'type' => 'object', 'required' => false, 'additionalProperties' => [ 'type' => 'string', 'example' => '例子:p1 >= \'2022-03-04\' and (p2 = 10 or p3 > 20) and p4 in (\'abc\', \'cde\')'."\n" .'例子说明:'."\n" .'1. p1, p2, p3为分区名'."\n" .'2. 分区值只有字符串和数字两种,字符串被双引号或单引号包裹。除int/bigint类型的分区列值外,其他所有类型的分区值都只能取字符串值。'."\n" .'3. 比较操作符包括: >, >=, = , <, <=, <>'."\n" .'4. 支持"in"操作符'."\n" .'5. 逻辑操作符包括: and, or'."\n" .'6. 支持括号'."\n" ."\n", 'description' => '分区过滤表达式', ], ], 'schemaOnly' => [ 'description' => '是否只迁元数据', 'type' => 'boolean', 'required' => false, 'example' => 'false', ], 'tableMapping' => [ 'description' => '{源表: 目标表}', 'type' => 'object', 'required' => false, 'additionalProperties' => [ 'type' => 'string', 'description' => 'table名', 'example' => 't1_1', ], ], 'increment' => [ 'description' => '增量迁移:只迁移新分区或有变动的分区,注意有变动的分区会被重迁', 'type' => 'boolean', 'required' => false, 'example' => 'true', ], 'enableSchemaMigration' => [ 'description' => '是否迁移表结构', 'type' => 'boolean', 'required' => false, 'example' => 'true', ], 'enableDataMigration' => [ 'description' => '是否迁移表数据', 'type' => 'boolean', 'required' => false, 'example' => 'true', ], 'enableVerification' => [ 'description' => '开启校验,目前校验方式是在源和目标端执行select count,对比行数', 'type' => 'boolean', 'required' => false, 'example' => 'false', ], 'columnMapping' => [ 'description' => '{源列名:目标列名}', 'type' => 'object', 'required' => false, 'additionalProperties' => [ 'type' => 'string', 'example' => 'null', 'description' => '列名', ], ], 'others' => [ 'description' => '其他配置信息', 'type' => 'object', 'required' => false, 'additionalProperties' => [ 'type' => 'any', 'description' => '配置值', 'example' => 'null', ], ], 'eta' => [ 'description' => '期望的迁移完成时间. 注意:eta值越小,迁移任务的优先级会越高', 'type' => 'string', 'required' => false, 'example' => '2025-02-04', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ApiRes', 'description' => 'ApiRes', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '73207140-0FD5-588A-B11A-3CE093924196', ], 'data' => [ 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'asyncTaskId' => [ 'description' => '创建迁移作业的异步任务ID', 'type' => 'integer', 'format' => 'int64', 'example' => '100', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"73207140-0FD5-588A-B11A-3CE093924196\\",\\n \\"data\\": {\\n \\"asyncTaskId\\": 100\\n }\\n}","type":"json"}]', 'title' => '创建数据迁移任务', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'odps:CreateMmsJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], ], ], 'CreatePackage' => [ 'path' => '/api/v1/projects/{projectName}/packages', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '144116', 'abilityTreeNodes' => [ 'FEATUREodpsTZPZOE', ], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'description' => 'MaxCompute项目名称', 'type' => 'string', 'required' => true, 'example' => 'projectA'."\n", ], ], [ 'name' => 'isInstall', 'in' => 'query', 'schema' => [ 'description' => '是否安装', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false', ], ], [ 'name' => 'body', 'in' => 'body', 'schema' => [ 'description' => '请求体参数', 'type' => 'string', 'required' => false, 'example' => '{'."\n" .'"name": "test_packege", '."\n" .' "resourceList": { '."\n" .' "table": ['."\n" .' {'."\n" .' "name": "table_name",'."\n" .' "actions": ['."\n" .' "Describe",'."\n" .' "Select"'."\n" .' ]'."\n" .' },'."\n" .' {'."\n" .' "name": "table_name",'."\n" .' "actions": ['."\n" .' "Describe",'."\n" .' "Select"'."\n" .' ]'."\n" .' }'."\n" .' ],'."\n" .' "resource": ['."\n" .' {'."\n" .' "name": "",'."\n" .' "actions": []'."\n" .' },'."\n" .' {'."\n" .' "name": "",'."\n" .' "actions": []'."\n" .' }'."\n" .' ],'."\n" .' "function": ['."\n" .' {'."\n" .' "name": "",'."\n" .' "actions": []'."\n" .' },'."\n" .' {'."\n" .' "name": "",'."\n" .' "actions": []'."\n" .' }'."\n" .' ]'."\n" .' }'."\n" .'}', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '0bc3b4ab16684833172127321e2c25', ], 'data' => [ 'description' => '返回结果。', 'type' => 'string', 'example' => 'success', ], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0bc3b4ab16684833172127321e2c25\\",\\n \\"data\\": \\"success\\"\\n}","type":"json"}]', 'title' => '创建package', 'summary' => '通过调用该接口创建package。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'odps:CreatePackage', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], ], ], 'CreateProject' => [ 'summary' => '创建MaxCompute项目。', 'path' => '/api/v1/projects', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREodpsTZPZOE', ], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'schema' => [ 'description' => '请求体参数', 'type' => 'string', 'required' => false, 'example' => '{'."\n" .' "name":"project_name",'."\n" .' "comment":"",'."\n" .' "productType":"payasyougo/subscription/dev",'."\n" .' "defaultQuota":"quota_nick_name",'."\n" .' "properties":{'."\n" .' "sqlMeteringMax":"",'."\n" .' "typeSystem":"",'."\n" .' "encryption":{'."\n" .' "enable":true,'."\n" .' "algorithm":"",'."\n" .' "key":""'."\n" .' }'."\n" .' }'."\n" .'}', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '0b87b7a316654730544735643e9200', ], 'data' => [ 'description' => '返回结果。', 'type' => 'string', 'example' => 'success', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0b87b7a316654730544735643e9200\\",\\n \\"data\\": \\"success\\"\\n}","type":"json"}]', 'title' => '创建项目', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'odps:CreateProject', 'authLevel' => 'resource', 'actionConditions' => [ [ 'conditionKey' => 'odps:Encryption', 'validationType' => 'always', ], ], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:project/*', ], ], ], ], ], ], 'CreateQuotaPlan' => [ 'path' => '/api/v1/quotas/{nickname}/plans', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '142709', 'abilityTreeNodes' => [ 'FEATUREodpsZAKNHC', ], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'nickname', 'in' => 'path', 'schema' => [ 'description' => 'QuotaNickName', 'type' => 'string', 'required' => true, 'example' => 'planA', ], ], [ 'name' => 'tenantId', 'in' => 'query', 'schema' => [ 'description' => '租户id。', 'type' => 'string', 'required' => false, 'example' => '228451885265153', ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'description' => '地域id。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', ], ], [ 'name' => 'body', 'in' => 'body', 'schema' => [ 'description' => '请求体参数', 'type' => 'string', 'required' => false, 'example' => '{'."\n" .' "name": "planA",'."\n" .' // 以下为一个一级 quota,可以只选取跟 plan 相关的字段'."\n" .' "quota": {'."\n" .' "name": "a",'."\n" .' "nickName": "aaa_nick",'."\n" .' "tenantId": "10001",'."\n" .' "regionId": "cn-hangzhou",'."\n" .' "parentId": "0",'."\n" .' "cluster": "AT-ODPS-TEST3",'."\n" .' "parameter": {'."\n" .' "minCU": 40,'."\n" .' "maxCU": 40,'."\n" .' "adhocCU": 0,'."\n" .' "elasticMinCU": 40,'."\n" .' "elasticMaxCU": 40,'."\n" .' "enablePreemptiveScheduling": false,'."\n" .' "forceReservedMin":true,'."\n" .' "enablePriority":false,'."\n" .' "singleJobCULimit":100,'."\n" .' "adhocQuotaBeginTimeInSec": 1345,'."\n" .' "adhocQuotaEndTimeInSec": 1234,'."\n" .' "ignoreAdhocQuota":false'."\n" .' },'."\n" .' "subQuotaInfoList":'."\n" .' [ '."\n" .' {'."\n" .' "nickName": "WlmFuxiSecondaryOnlineQuotaTest",'."\n" .' "name": "WlmFuxiSecondaryOnlineQuotaTest",'."\n" .' "type": "FUXI_ONLINE",'."\n" .' "tenantId": "10001",'."\n" .' "regionId": "cn-hangzhou",'."\n" .' "cluster": "AT-ODPS-TEST3",'."\n" .' "parameter": {'."\n" .' "minCU": 40,'."\n" .' "maxCU": 40,'."\n" .' "adhocCU": 0,'."\n" .' "elasticMinCU": 40,'."\n" .' "elasticMaxCU": 40,'."\n" .' "enablePreemptiveScheduling": false,'."\n" .' "forceReservedMin":true,'."\n" .' "enablePriority":false,'."\n" .' "singleJobCULimit":100,'."\n" .' "adhocQuotaBeginTimeInSec": 1345,'."\n" .' "adhocQuotaEndTimeInSec": 1234,'."\n" .' "ignoreAdhocQuota":false'."\n" .' }'."\n" .' }'."\n" .' ]'."\n" .' }'."\n" .'}', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '0bc3b4b016674434996033675e71ee', ], 'data' => [ 'description' => '返回结果。', 'type' => 'string', 'example' => 'success', ], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0bc3b4b016674434996033675e71ee\\",\\n \\"data\\": \\"success\\"\\n}","type":"json"}]', 'title' => '创建Quota计划', 'summary' => '新增Quota计划。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'odps:CreateQuotaPlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], ], ], 'CreateRole' => [ 'path' => '/api/v1/projects/{projectName}/roles', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '144125', 'abilityTreeNodes' => [ 'FEATUREodpsTZPZOE', ], ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'description' => 'MaxCompute项目名称', 'type' => 'string', 'required' => true, 'example' => 'projectA', ], ], [ 'name' => 'body', 'in' => 'body', 'schema' => [ 'description' => '请求体参数。'."\n" .'取值可参考[MaxCompute权限](~~27935~~)。', 'type' => 'string', 'required' => false, 'example' => '{"name": "role_name","type": "resource/adminn","policy": "", //policy 的内容,如果是acl,此项不需要。"acl": { // 如果是policy,则此字段不需要"table": [{"name": "", "actions":["","",]}, {"name": "", "actions":[]}],"resource":[{"name": "", "actions":["","",]}, {"name": "", "actions":[]}],"function":[{"name": "", "actions":["","",]}, {"name": "", "actions":[]}],"package":[{"name": "", "actions":["","",]}, {"name": "", "actions":[]}],"project":[{"name": "", "actions":[]}], //管控台页面固定只有当前项目"instance":[{"name": "", "actions":[]}] //管控台页面只支持name * }}// name 支持写 *', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '0b87b7e716665825896565060e87a4', ], 'data' => [ 'description' => '返回结果。', 'type' => 'string', 'example' => 'success', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0b87b7e716665825896565060e87a4\\",\\n \\"data\\": \\"success\\"\\n}","type":"json"}]', 'title' => '创建项目级角色', 'summary' => '创建MaxCompute项目级角色。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'odps:CreateRole', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#projectName}', ], ], ], ], ], ], 'DeleteComputeQuotaPlan' => [ 'path' => '/api/v1/quotas/{nickname}/computeQuotaPlan/{planName}', 'methods' => [ 'delete', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '258225', 'abilityTreeNodes' => [ 'FEATUREodpsZAKNHC', ], ], 'parameters' => [ [ 'name' => 'nickname', 'in' => 'path', 'schema' => [ 'description' => '一级Quota昵称。', 'type' => 'string', 'required' => true, 'example' => 'os_ComputeQuota_p', ], ], [ 'name' => 'planName', 'in' => 'path', 'schema' => [ 'description' => 'Quota计划名称。', 'type' => 'string', 'required' => true, 'example' => 'planA', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => '请求返回参数。', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0b87b7a316654730544735643e9200', ], 'httpCode' => [ 'description' => 'HTTP状态码。'."\n" .'- 1xx:信息响应 - 请求已接收,正在处理中。'."\n" .'- 2xx:成功 - 请求动作已被服务端成功接收、理解并接受。'."\n" .'- 3xx:重定向 - 请求被重定向,采取进一步行动以完成请求。'."\n" .'- 4xx:客户端错误 - 请求包含错误请求参、语法或特定请求条件无法满足。'."\n" .'- 5xx:服务端错误 - 服务器由于其他原因无法满足请求。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'OBJECT_NOT_EXIST', ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => '0A3B1E82006A23A918C70905BF08AEC7', ], 'data' => [ 'description' => '请求返回结果。', 'type' => 'string', 'example' => 'success', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0b87b7a316654730544735643e9200\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"OBJECT_NOT_EXIST\\",\\n \\"errorMsg\\": \\"0A3B1E82006A23A918C70905BF08AEC7\\",\\n \\"data\\": \\"success\\"\\n}","type":"json"}]', 'title' => '删除计算Quota计划', 'summary' => '删除MaxCompute计算Quota计划。', 'requestParamsDescription' => '>当前生效的Quota计划无法删除。>', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'odps:DeleteQuotaPlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], ], ], 'DeleteMmsDataSource' => [ 'summary' => '删除MMA数据源,包括数据源的迁移计划、元数据', 'path' => '/api/v1/mms/datasources/{sourceId}', 'methods' => [ 'delete', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182967', 'abilityTreeNodes' => [ 'FEATUREodpsN8WEG6', ], ], 'parameters' => [ [ 'name' => 'sourceId', 'in' => 'path', 'schema' => [ 'description' => '数据源ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2000015', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ApiRes', 'description' => '返回值', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'EA1320AB-7766-5EC7-B0F6-8B20E2298567', ], 'data' => [ 'description' => '被删除数据源的ID', 'type' => 'integer', 'format' => 'int64', 'example' => '2000015', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"EA1320AB-7766-5EC7-B0F6-8B20E2298567\\",\\n \\"data\\": 2000015\\n}","type":"json"}]', 'title' => '删除数据源', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'odps:DeleteMmsDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], ], ], 'DeleteMmsJob' => [ 'summary' => '删除MMA的数据迁移计划', 'path' => '/api/v1/mms/datasources/{sourceId}/jobs/{jobId}', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182990', 'abilityTreeNodes' => [ 'FEATUREodpsN8WEG6', ], ], 'parameters' => [ [ 'name' => 'sourceId', 'in' => 'path', 'schema' => [ 'description' => '数据源ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2000015', ], ], [ 'name' => 'jobId', 'in' => 'path', 'schema' => [ 'description' => '作业ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '88', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ApiRes', 'description' => 'ApiRes', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '31BE216F-AEF7-581E-B9C9-DECEB5424AC4', ], 'data' => [ 'description' => '被删除的作业ID', 'type' => 'integer', 'format' => 'int64', 'example' => '88', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"31BE216F-AEF7-581E-B9C9-DECEB5424AC4\\",\\n \\"data\\": 88\\n}","type":"json"}]', 'title' => '删除数据迁移作业', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'odps:DeleteMmsJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], ], ], 'DeleteProject' => [ 'summary' => '删除MaxCompute项目。此操作不可逆,请谨慎调用此API', 'path' => '/api/v1/projects/{projectName}', 'methods' => [ 'delete', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'high', 'chargeType' => 'free', 'abilityTreeCode' => '142484', 'abilityTreeNodes' => [ 'FEATUREodpsTZPZOE', ], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'title' => 'Project名字', 'description' => '项目名称。', 'type' => 'string', 'required' => true, 'example' => 'odps_project', ], ], [ 'name' => 'isLogical', 'in' => 'query', 'schema' => [ 'title' => '是否逻辑删除', 'description' => '是否逻辑删除,默认为true。false表示物理删除。', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'true', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '0be3e0aa16667684362147582e038f', ], 'data' => [ 'title' => '返回结果', 'description' => '返回结果。', 'type' => 'string', 'example' => 'success', ], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0be3e0aa16667684362147582e038f\\",\\n \\"data\\": \\"success\\"\\n}","type":"json"}]', 'title' => '删除项目', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], ], 'DeleteQuotaPlan' => [ 'path' => '/api/v1/quotas/{nickname}/plans/{planName}', 'methods' => [ 'delete', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '142708', 'abilityTreeNodes' => [ 'FEATUREodpsZAKNHC', ], ], 'parameters' => [ [ 'name' => 'nickname', 'in' => 'path', 'schema' => [ 'description' => 'QuotaNickName', 'type' => 'string', 'required' => true, 'example' => 'quota_A', ], ], [ 'name' => 'planName', 'in' => 'path', 'schema' => [ 'description' => 'Quota计划名称', 'type' => 'string', 'required' => true, 'example' => 'planA', ], ], [ 'name' => 'tenantId', 'in' => 'query', 'schema' => [ 'description' => '租户ID。', 'type' => 'string', 'required' => false, 'example' => '416441016836866', ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'description' => '地域id。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '0b57ff7616612271051086500ea3ce', ], 'data' => [ 'description' => '返回结果。', 'type' => 'string', 'example' => 'success', ], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0b57ff7616612271051086500ea3ce\\",\\n \\"data\\": \\"success\\"\\n}","type":"json"}]', 'title' => '删除Quota计划', 'summary' => '删除Quota计划。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'odps:DeleteQuotaPlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], ], ], 'GetComputeEffectivePlan' => [ 'path' => '/api/v1/quotas/{nickname}/computeEffectivePlan/', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '260077', 'abilityTreeNodes' => [ 'FEATUREodps2FOXFI', ], ], 'parameters' => [ [ 'name' => 'nickname', 'in' => 'path', 'schema' => [ 'description' => '一级Quota昵称。', 'type' => 'string', 'required' => true, 'example' => 'os_ComputeQuota_p', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => '请求返回参数。', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '688003E1-D1B4-5468-957E-2FFB3AC8D79B', ], 'httpCode' => [ 'description' => 'HTTP状态码。'."\n" .'- 1xx:信息响应 - 请求已接收,正在处理中。'."\n" .'- 2xx:成功 - 请求动作已被服务端成功接收、理解并接受。'."\n" .'- 3xx:重定向 - 请求被重定向,采取进一步行动以完成请求。'."\n" .'- 4xx:客户端错误 - 请求包含错误请求参、语法或特定请求条件无法满足。'."\n" .'- 5xx:服务端错误 - 服务器由于其他原因无法满足请求。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'success', ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => 'plan \\"***\\" does not exist', ], 'data' => [ 'description' => '返回结果。', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => 'Quota计划名称。', 'type' => 'string', 'example' => 'planA', ], 'createTime' => [ 'description' => '创建时间。', 'type' => 'string', 'example' => '1714356241163', ], 'quota' => [ 'description' => 'Quota属性。', 'type' => 'object', 'properties' => [ 'subQuotaInfoList' => [ 'description' => '二级Quota列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'id' => [ 'description' => '二级quota ID。', 'type' => 'string', 'example' => '10940', ], 'name' => [ 'description' => '二级Quota名称。', 'type' => 'string', 'example' => 'dp_cn_shanghai_1696659792_p', ], 'nickName' => [ 'description' => '二级Quota昵称。', 'type' => 'string', 'example' => 'os_MyQuota', ], 'type' => [ 'title' => '对应控制集群的resourceSystemType字段', 'description' => 'Quota类型。', 'type' => 'string', 'example' => 'FUXI_ONLINE', ], 'status' => [ 'description' => '资源状态。', 'type' => 'string', 'example' => 'ON', ], 'tenantId' => [ 'description' => '租户ID。', 'type' => 'string', 'example' => '478403690625249', ], 'regionId' => [ 'description' => '地域ID。', 'type' => 'string', 'example' => 'cn-beijing', ], 'cluster' => [ 'description' => '集群ID。', 'type' => 'string', 'example' => 'AT-120N'."\n", ], 'version' => [ 'description' => '版本号。', 'type' => 'string', 'example' => '1386', ], 'parameter' => [ 'description' => 'Quota配置参数。', 'type' => 'object', 'example' => '{'."\n" .' "enablePriority": false,'."\n" .' "minCU": 25,'."\n" .' "adhocCU": 0,'."\n" .' "elasticReservedCU": 0,'."\n" .' "forceReservedMin": false,'."\n" .' "maxCU": 50,'."\n" .' "schedulerType": "Fifo"'."\n" .'}', ], 'createTime' => [ 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1718155201628', ], 'creatorId' => [ 'description' => '创建者id。', 'type' => 'string', 'example' => '672863518', ], ], ], ], 'id' => [ 'description' => '一级Quota ID。', 'type' => 'string', 'example' => '2413', ], 'name' => [ 'description' => '一级Quota名称。', 'type' => 'string', 'example' => 'dp_cn_shanghai_1699533470_p', ], 'nickName' => [ 'description' => '一级Quota昵称。', 'type' => 'string', 'example' => 'os_MyQuota_p', ], 'type' => [ 'title' => '对应控制集群的resourceSystemType字段', 'description' => 'Quota类型,', 'type' => 'string', 'example' => 'FUXI_ONLINE', ], 'status' => [ 'description' => '资源状态。', 'type' => 'string', 'example' => 'ON', ], 'tenantId' => [ 'description' => '租户ID。', 'type' => 'string', 'example' => '478403690625249', ], 'regionId' => [ 'description' => '区域ID。', 'type' => 'string', 'example' => 'cn-beijing', ], 'cluster' => [ 'description' => '集群ID。', 'type' => 'string', 'example' => 'AT-120N'."\n", ], 'version' => [ 'description' => '版本号。', 'type' => 'string', 'example' => '1964', ], 'parameter' => [ 'description' => '一级quota的CU值参数。', 'type' => 'object', 'example' => '{'."\n" .' "enablePriority": false,'."\n" .' "minCU": 25,'."\n" .' "adhocCU": 0,'."\n" .' "elasticReservedCU": 0,'."\n" .' "forceReservedMin": false,'."\n" .' "maxCU": 50,'."\n" .' "schedulerType": "Fifo"'."\n" .'}', ], 'createTime' => [ 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1719886322347', ], 'creatorId' => [ 'description' => '创建者云账号UID。', 'type' => 'string', 'example' => '672863518', ], ], ], 'isEffective' => [ 'description' => '是否生效。', 'type' => 'boolean', 'example' => 'true/false', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"688003E1-D1B4-5468-957E-2FFB3AC8D79B\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"success\\",\\n \\"errorMsg\\": \\"plan \\\\\\\\\\\\\\"***\\\\\\\\\\\\\\" does not exist\\",\\n \\"data\\": {\\n \\"name\\": \\"planA\\",\\n \\"createTime\\": \\"1714356241163\\",\\n \\"quota\\": {\\n \\"subQuotaInfoList\\": [\\n {\\n \\"id\\": \\"10940\\",\\n \\"name\\": \\"dp_cn_shanghai_1696659792_p\\",\\n \\"nickName\\": \\"os_MyQuota\\",\\n \\"type\\": \\"FUXI_ONLINE\\",\\n \\"status\\": \\"ON\\",\\n \\"tenantId\\": \\"478403690625249\\",\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"cluster\\": \\"AT-120N\\\\n\\",\\n \\"version\\": \\"1386\\",\\n \\"parameter\\": {\\n \\"enablePriority\\": false,\\n \\"minCU\\": 25,\\n \\"adhocCU\\": 0,\\n \\"elasticReservedCU\\": 0,\\n \\"forceReservedMin\\": false,\\n \\"maxCU\\": 50,\\n \\"schedulerType\\": \\"Fifo\\"\\n },\\n \\"createTime\\": 1718155201628,\\n \\"creatorId\\": \\"672863518\\"\\n }\\n ],\\n \\"id\\": \\"2413\\",\\n \\"name\\": \\"dp_cn_shanghai_1699533470_p\\",\\n \\"nickName\\": \\"os_MyQuota_p\\",\\n \\"type\\": \\"FUXI_ONLINE\\",\\n \\"status\\": \\"ON\\",\\n \\"tenantId\\": \\"478403690625249\\",\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"cluster\\": \\"AT-120N\\\\n\\",\\n \\"version\\": \\"1964\\",\\n \\"parameter\\": {\\n \\"enablePriority\\": false,\\n \\"minCU\\": 25,\\n \\"adhocCU\\": 0,\\n \\"elasticReservedCU\\": 0,\\n \\"forceReservedMin\\": false,\\n \\"maxCU\\": 50,\\n \\"schedulerType\\": \\"Fifo\\"\\n },\\n \\"createTime\\": 1719886322347,\\n \\"creatorId\\": \\"672863518\\"\\n },\\n \\"isEffective\\": true\\n }\\n}","type":"json"}]', 'title' => '获取当前生效的计算Quota计划', 'summary' => '获取当前生效的计算Quota计划。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetEffectivePlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'QuotaPlan', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], ], ], 'GetComputeQuotaPlan' => [ 'path' => '/api/v1/quotas/{nickname}/computeQuotaPlan/{planName}', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '258227', 'abilityTreeNodes' => [ 'FEATUREodpsZAKNHC', ], ], 'parameters' => [ [ 'name' => 'nickname', 'in' => 'path', 'schema' => [ 'description' => '一级Quota昵称。', 'type' => 'string', 'required' => true, 'example' => 'os_ComputeQuota_p', ], ], [ 'name' => 'planName', 'in' => 'path', 'schema' => [ 'description' => 'Quota计划名称。', 'type' => 'string', 'required' => true, 'example' => 'planA', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => '请求返回参数。', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'EA1320AB-7766-5EC7-B0F6-8B20E2298567', ], 'httpCode' => [ 'description' => 'HTTP状态码。'."\n" .'- 1xx:信息响应 - 请求已接收,正在处理中。'."\n" .'- 2xx:成功 - 请求动作已被服务端成功接收、理解并接受。'."\n" .'- 3xx:重定向 - 请求被重定向,采取进一步行动以完成请求。'."\n" .'- 4xx:客户端错误 - 请求包含错误请求参、语法或特定请求条件无法满足。'."\n" .'- 5xx:服务端错误 - 服务器由于其他原因无法满足请求。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'QUOTA_PLAN_NOT_FOUND', ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => 'plan \\"***\\" does not exist', ], 'data' => [ 'description' => '返回结果。', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => 'Quota计划名称。', 'type' => 'string', 'example' => 'planA', ], 'createTime' => [ 'description' => '创建时间。', 'type' => 'string', 'example' => '1730946421757', ], 'quota' => [ 'description' => 'Quota属性。', 'type' => 'object', 'properties' => [ 'subQuotaInfoList' => [ 'description' => '二级Quota列表。', 'type' => 'array', 'items' => [ 'description' => '二级Quota列表。', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => '二级Quota ID。', 'type' => 'string', 'enumValueTitles' => [], 'example' => '10940', ], 'name' => [ 'description' => '二级Quota名称。', 'type' => 'string', 'example' => 'dp_cn_shanghai_1696659792_p', ], 'nickName' => [ 'description' => '二级Quota昵称。', 'type' => 'string', 'example' => 'subquotaA', ], 'type' => [ 'title' => '对应控制集群的resourceSystemType字段', 'description' => '对应控制集群的resourceSystemType字段。', 'type' => 'string', 'example' => 'FUXI_ONLINE', ], 'status' => [ 'description' => '资源状态。', 'type' => 'string', 'example' => 'ON', ], 'tenantId' => [ 'description' => '租户ID。', 'type' => 'string', 'example' => '478403690625249', ], 'regionId' => [ 'description' => '地域ID。', 'type' => 'string', 'example' => 'cn-beijing', ], 'cluster' => [ 'description' => '集群ID。', 'type' => 'string', 'example' => 'AT-120N'."\n", ], 'version' => [ 'description' => '版本号。', 'type' => 'string', 'example' => '1386', ], 'parameter' => [ 'description' => 'CU值参数。', 'type' => 'object', 'properties' => [ 'elasticReservedCU' => [ 'description' => '弹性预留CU值。', 'type' => 'integer', 'format' => 'int64', 'example' => '50', ], 'maxCU' => [ 'description' => '预留CU上限。', 'type' => 'integer', 'format' => 'int64', 'example' => '50', ], 'minCU' => [ 'description' => '预留CU保障。', 'type' => 'integer', 'format' => 'int64', 'example' => '50', ], 'schedulerType' => [ 'description' => '调度策略。', 'type' => 'string', 'example' => 'Fifo/Fair', ], 'singleJobCULimit' => [ 'description' => '单作业CU上限。', 'type' => 'integer', 'format' => 'int64', 'example' => '50', ], 'forceReservedMin' => [ 'description' => '是否独占。', 'type' => 'boolean', 'example' => 'true/false', ], 'enablePriority' => [ 'description' => '开启优先级。', 'type' => 'boolean', 'example' => 'true/false', ], ], ], 'createTime' => [ 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1718155201628', ], 'creatorId' => [ 'description' => '创建者云账号UID。', 'type' => 'string', 'example' => '672863518', ], ], ], ], 'id' => [ 'description' => '一级Quota ID。', 'type' => 'string', 'example' => '2413', ], 'name' => [ 'description' => '一级Quota名称。', 'type' => 'string', 'example' => 'quota_a'."\n", ], 'nickName' => [ 'description' => '一级Quota昵称。', 'type' => 'string', 'example' => 'quota_nickname', ], 'type' => [ 'title' => '对应控制集群的resourceSystemType字段', 'description' => '对应控制集群的resourceSystemType字段。', 'type' => 'string', 'example' => 'FUXI_ONLINE', ], 'status' => [ 'description' => '资源状态。', 'type' => 'string', 'example' => 'ON', ], 'tenantId' => [ 'description' => '租户ID。', 'type' => 'string', 'example' => '478403690625249', ], 'regionId' => [ 'description' => '区域ID。', 'type' => 'string', 'example' => 'cn-beijing', ], 'cluster' => [ 'description' => '集群ID。', 'type' => 'string', 'example' => 'AT-120N'."\n", ], 'version' => [ 'description' => '版本号。', 'type' => 'string', 'example' => '1964', ], 'parameter' => [ 'description' => '一级quota的CU值参数。', 'type' => 'object', 'properties' => [ 'maxCU' => [ 'description' => '预留CU上限。', 'type' => 'integer', 'format' => 'int64', 'example' => '50', ], 'minCU' => [ 'description' => '预留CU保障。', 'type' => 'integer', 'format' => 'int64', 'example' => '50', ], 'elasticReservedCU' => [ 'description' => '弹性预留CU值。', 'type' => 'integer', 'format' => 'int64', 'example' => '50', ], ], ], 'createTime' => [ 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1719886322347', ], 'creatorId' => [ 'description' => '创建者云账号UID。', 'type' => 'string', 'example' => '672863518', ], ], ], 'isEffective' => [ 'description' => '当前是否生效。'."\n" .'> '."\n" .'> - 已生效的Quota计划无法删除,即 isEffective=true', 'type' => 'boolean', 'example' => 'true/false', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"EA1320AB-7766-5EC7-B0F6-8B20E2298567\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"QUOTA_PLAN_NOT_FOUND\\",\\n \\"errorMsg\\": \\"plan \\\\\\\\\\\\\\"***\\\\\\\\\\\\\\" does not exist\\",\\n \\"data\\": {\\n \\"name\\": \\"planA\\",\\n \\"createTime\\": \\"1730946421757\\",\\n \\"quota\\": {\\n \\"subQuotaInfoList\\": [\\n {\\n \\"id\\": \\"10940\\",\\n \\"name\\": \\"dp_cn_shanghai_1696659792_p\\",\\n \\"nickName\\": \\"subquotaA\\",\\n \\"type\\": \\"FUXI_ONLINE\\",\\n \\"status\\": \\"ON\\",\\n \\"tenantId\\": \\"478403690625249\\",\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"cluster\\": \\"AT-120N\\\\n\\",\\n \\"version\\": \\"1386\\",\\n \\"parameter\\": {\\n \\"elasticReservedCU\\": 50,\\n \\"maxCU\\": 50,\\n \\"minCU\\": 50,\\n \\"schedulerType\\": \\"Fifo/Fair\\",\\n \\"singleJobCULimit\\": 50,\\n \\"forceReservedMin\\": true,\\n \\"enablePriority\\": true\\n },\\n \\"createTime\\": 1718155201628,\\n \\"creatorId\\": \\"672863518\\"\\n }\\n ],\\n \\"id\\": \\"2413\\",\\n \\"name\\": \\"quota_a\\\\n\\",\\n \\"nickName\\": \\"quota_nickname\\",\\n \\"type\\": \\"FUXI_ONLINE\\",\\n \\"status\\": \\"ON\\",\\n \\"tenantId\\": \\"478403690625249\\",\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"cluster\\": \\"AT-120N\\\\n\\",\\n \\"version\\": \\"1964\\",\\n \\"parameter\\": {\\n \\"maxCU\\": 50,\\n \\"minCU\\": 50,\\n \\"elasticReservedCU\\": 50\\n },\\n \\"createTime\\": 1719886322347,\\n \\"creatorId\\": \\"672863518\\"\\n },\\n \\"isEffective\\": true\\n }\\n}","type":"json"}]', 'title' => '获取计算Quota计划详细信息', 'summary' => '获取单个计算Quota计划的详细信息。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetQuotaPlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], ], ], 'GetComputeQuotaSchedule' => [ 'path' => '/api/v1/quotas/{nickname}/computeQuotaSchedule', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '255379', 'abilityTreeNodes' => [ 'FEATUREodpsZAKNHC', ], ], 'parameters' => [ [ 'name' => 'nickname', 'in' => 'path', 'schema' => [ 'description' => '一级Quota昵称。', 'type' => 'string', 'required' => true, 'example' => 'os_ComputeQuota_p', ], ], [ 'name' => 'displayTimezone', 'in' => 'query', 'schema' => [ 'description' => '展示时区。'."\n" ."\n" .'> 默认为: UTC+8。', 'type' => 'string', 'required' => false, 'example' => 'UTC+8', 'default' => 'UTC+8', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult>', 'description' => '请求返回参数。', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'B42CA730-8187-50F1-9FE0-6733297036DB', ], 'httpCode' => [ 'description' => 'HTTP状态码。'."\n" .'- 1xx:信息响应 - 请求已接收,正在处理中。'."\n" .'- 2xx:成功 - 请求动作已被服务端成功接收、理解并接受。'."\n" .'- 3xx:重定向 - 请求被重定向,采取进一步行动以完成请求。'."\n" .'- 4xx:客户端错误 - 请求包含错误请求参、语法或特定请求条件无法满足。'."\n" .'- 5xx:服务端错误 - 服务器由于其他原因无法满足请求。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'QUOTA_UNKNOWN_NICKNAME', ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => 'Cannot found quota **', ], 'data' => [ 'description' => '返回结果。', 'type' => 'array', 'items' => [ 'description' => '返回结果。', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => 'Quota计划ID。', 'type' => 'string', 'example' => '89b54db44d384f26964951ea457f64a5', ], 'type' => [ 'description' => 'Quota计划类型。', 'type' => 'string', 'example' => 'daily', ], 'plan' => [ 'description' => 'Quota计划名称。', 'type' => 'string', 'example' => 'planA', ], 'condition' => [ 'description' => '生效条件值。', 'type' => 'object', 'properties' => [ 'at' => [ 'description' => '生效时间。', 'type' => 'string', 'example' => '09:00', ], ], ], 'timezone' => [ 'description' => '时区。'."\n" ."\n" .'> 默认值为: UTC+8。', 'type' => 'string', 'example' => ' '."\n" .'UTC+8'."\n", ], ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"B42CA730-8187-50F1-9FE0-6733297036DB\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"QUOTA_UNKNOWN_NICKNAME\\",\\n \\"errorMsg\\": \\"Cannot found quota **\\",\\n \\"data\\": [\\n {\\n \\"id\\": \\"89b54db44d384f26964951ea457f64a5\\",\\n \\"type\\": \\"daily\\",\\n \\"plan\\": \\"planA\\",\\n \\"condition\\": {\\n \\"at\\": \\"09:00\\"\\n },\\n \\"timezone\\": \\"\\\\t\\\\nUTC+8\\\\n\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => '获取计算Quota分时计划', 'summary' => '获取计算Quota分时计划。', 'description' => '请确保在使用该接口前,已充分了解MaxCompute弹性预留CU的[收费方式和价格](https://help.aliyun.com/zh/maxcompute/product-overview/computing-pricing-1)'."\n" .'[收费方式和价格](https://www.alibabacloud.com/help/maxcompute/product-overview/computing-pricing-1)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetQuotaSchedule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], ], ], 'GetJobInfo' => [ 'path' => '/api/v1/jobs/{instanceId}/info', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '257433', 'abilityTreeNodes' => [ 'FEATUREodpsDUKRZ1', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'instanceId', 'in' => 'path', 'schema' => [ 'description' => '作业ID。', 'type' => 'string', 'required' => true, 'example' => '20230410****60gg', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0be3e0bb16654558425251398e27a9', ], 'httpCode' => [ 'description' => 'HTTP状态码。'."\n" .'- 1xx:信息响应 - 请求已接收,正在处理中。'."\n" .'- 2xx:成功 - 请求动作已被服务端成功接收、理解并接受。'."\n" .'- 3xx:重定向 - 请求被重定向,采取进一步行动以完成请求。'."\n" .'- 4xx:客户端错误 - 请求包含错误请求参、语法或特定请求条件无法满足。'."\n" .'- 5xx:服务端错误 - 服务器由于其他原因无法满足请求。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'OBJECT_NOT_EXIST', ], 'errorMsg' => [ 'description' => '错误描述信息。', 'type' => 'string', 'example' => 'This object does not exist.', ], 'data' => [ 'description' => '返回结果。', 'type' => 'object', 'properties' => [ 'tenantId' => [ 'description' => '租户ID。', 'type' => 'string', 'example' => '4784****5249', ], 'region' => [ 'description' => '地域ID。', 'type' => 'string', 'example' => 'cn-shanghai', ], 'instanceId' => [ 'description' => '作业ID。', 'type' => 'string', 'example' => '20230410****60gg', ], 'jobOwner' => [ 'description' => '作业Owner。', 'type' => 'string', 'example' => 'ALIYUN$7632***@aliyun.com'."\n", ], 'project' => [ 'description' => '项目名称。', 'type' => 'string', 'example' => 'dp_cdm_prod', ], 'jobType' => [ 'description' => '作业类型。', 'type' => 'string', 'example' => 'SQL'."\n", ], 'priority' => [ 'description' => '作业优先级。', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'status' => [ 'description' => '作业状态。', 'type' => 'string', 'example' => 'running', ], 'quotaNickname' => [ 'description' => '作业使用的计算配额(Quota)昵称。', 'type' => 'string', 'example' => 'os_bigdata', ], 'quotaType' => [ 'description' => 'Quota类型。', 'type' => 'string', 'example' => 'subscription', ], 'cuUsage' => [ 'description' => '作业消耗的CU时,仅运行结束的作业有此值。', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], 'memoryUsage' => [ 'description' => '作业消耗的内存时,仅运行结束的作业有此值。', 'type' => 'integer', 'format' => 'int64', 'example' => '40', ], 'submittedAtTime' => [ 'description' => '作业提交时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1672112013', ], 'waitingTime' => [ 'description' => '等待时长,作业从提交时间到开始运行时间的时长。', 'type' => 'integer', 'format' => 'int64', 'example' => '100', ], 'runningAtTime' => [ 'description' => '作业开始运行时间,特指作业获取第一份计算资源的时间。对于运行时间过短或不消耗计算资源(如DDL语句)的作业,以作业提交时间替代。', 'type' => 'integer', 'format' => 'int64', 'example' => '1672112113', ], 'runningTime' => [ 'description' => '运行时长,作业从开始运行时间到结束运行时间的时长。', 'type' => 'integer', 'format' => 'int64', 'example' => '800', ], 'endAtTime' => [ 'description' => '作业运行结束时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1672112913', ], 'totalTime' => [ 'description' => '总运行时长,作业从提交时间到结束时间总时长。', 'type' => 'integer', 'format' => 'int64', 'example' => '900', ], 'signature' => [ 'description' => 'SQL作业签名。可通过此签名查找SQL每次执行的Instances。', 'type' => 'string', 'example' => '20c1efb4a7caca1865f4aa784bb500efae74af04', ], 'extPlantFrom' => [ 'description' => '上游平台。', 'type' => 'string', 'example' => 'platform_3', ], 'extNodeId' => [ 'description' => '上游节点ID。', 'type' => 'string', 'example' => 'node_4', ], 'extNodeOnDuty' => [ 'description' => '任务负责人账号ID。', 'type' => 'string', 'example' => 'duty_2', ], 'inputBytes' => [ 'description' => '作业扫描量', 'type' => 'number', 'format' => 'double', 'example' => '1234', ], 'sceneResults' => [ 'description' => '智能诊断结果。', 'type' => 'array', 'items' => [ 'description' => '智能诊断结果。', 'type' => 'object', 'properties' => [ 'sceneTag' => [ 'title' => '作业诊断场景标识', 'description' => '智能诊断结果标签。', 'type' => 'string', 'example' => 'SubscriptionLackResource', ], 'scene' => [ 'title' => '场景中文名称,用于诊断结果展示', 'description' => '智能诊断结果场景。', 'type' => 'string', 'example' => 'LackResource', ], 'type' => [ 'title' => '诊断场景类型,如WARNING/ERROR', 'description' => '智能诊断结果类型。', 'type' => 'string', 'example' => 'warning', ], 'summary' => [ 'title' => '诊断结果摘要,hover 展示', 'description' => '智能诊断结果简述。', 'type' => 'string', 'example' => ' '."\n" .'Insufficient computing resources available for the job. Click to view details.', ], 'description' => [ 'title' => '诊断结果描述,概览页详情', 'description' => '智能诊断结果详情。', 'type' => 'string', 'example' => 'This job uses annual and monthly computing resources. It may be that the job is waiting for resources due to the large amount of overall job running data, many resources requested, and low job priority. Please go to Resource Consumption to view the specific situation. You can also go to Cost Optimization to see if you need to adjust resource configuration.', ], 'params' => [ 'title' => '诊断场景参数,用于前端文本替换', 'description' => '数据倾斜、数据膨胀节点信息。只有当诊断场景为数据倾斜、数据膨胀时返回此参数。', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'example' => '"jobinsight_data_skew_node": "Worker M1#10000_0"'."\n", 'description' => '数据倾斜、数据膨胀节点信息。', ], ], ], ], ], 'jobSubStatusList' => [ 'description' => '作业生命周期的子状态列表。', 'type' => 'array', 'items' => [ 'description' => '作业子状态信息。', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '子状态的编码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1010', ], 'startTime' => [ 'description' => '子状态的开始时间。', 'type' => 'string', 'example' => '2025-03-05 00:04:15.717364 +0800', ], 'description' => [ 'description' => '子状态的描述。', 'type' => 'string', 'example' => 'Waiting for scheduling', ], ], ], ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0be3e0bb16654558425251398e27a9\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"OBJECT_NOT_EXIST\\",\\n \\"errorMsg\\": \\"This object does not exist.\\",\\n \\"data\\": {\\n \\"tenantId\\": \\"4784****5249\\",\\n \\"region\\": \\"cn-shanghai\\",\\n \\"instanceId\\": \\"20230410****60gg\\",\\n \\"jobOwner\\": \\"ALIYUN$7632***@aliyun.com\\\\n\\",\\n \\"project\\": \\"dp_cdm_prod\\",\\n \\"jobType\\": \\"SQL\\\\n\\",\\n \\"priority\\": 1,\\n \\"status\\": \\"running\\",\\n \\"quotaNickname\\": \\"os_bigdata\\",\\n \\"quotaType\\": \\"subscription\\",\\n \\"cuUsage\\": 10,\\n \\"memoryUsage\\": 40,\\n \\"submittedAtTime\\": 1672112013,\\n \\"waitingTime\\": 100,\\n \\"runningAtTime\\": 1672112113,\\n \\"runningTime\\": 800,\\n \\"endAtTime\\": 1672112913,\\n \\"totalTime\\": 900,\\n \\"signature\\": \\"20c1efb4a7caca1865f4aa784bb500efae74af04\\",\\n \\"extPlantFrom\\": \\"platform_3\\",\\n \\"extNodeId\\": \\"node_4\\",\\n \\"extNodeOnDuty\\": \\"duty_2\\",\\n \\"inputBytes\\": 1234,\\n \\"sceneResults\\": [\\n {\\n \\"sceneTag\\": \\"SubscriptionLackResource\\",\\n \\"scene\\": \\"LackResource\\",\\n \\"type\\": \\"warning\\",\\n \\"summary\\": \\"\\\\t\\\\nInsufficient computing resources available for the job. Click to view details.\\",\\n \\"description\\": \\"This job uses annual and monthly computing resources. It may be that the job is waiting for resources due to the large amount of overall job running data, many resources requested, and low job priority. Please go to Resource Consumption to view the specific situation. You can also go to Cost Optimization to see if you need to adjust resource configuration.\\",\\n \\"params\\": {\\n \\"key\\": \\"\\\\\\"jobinsight_data_skew_node\\\\\\": \\\\\\"Worker M1#10000_0\\\\\\"\\\\n\\"\\n }\\n }\\n ],\\n \\"jobSubStatusList\\": [\\n {\\n \\"code\\": 1010,\\n \\"startTime\\": \\"2025-03-05 00:04:15.717364 +0800\\",\\n \\"description\\": \\"Waiting for scheduling\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '查看作业的基础信息', 'summary' => '查看单个作业的基础信息。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetJobInfo', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Job', 'arn' => 'acs:odps:{#regionId}:{#accountId}:job/{#instanceId}', ], ], ], ], ], ], 'GetJobResourceUsage' => [ 'path' => '/api/v1/jobs/resourceUsage', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '188399', 'abilityTreeNodes' => [ 'FEATUREodpsDUKRZ1', ], ], 'parameters' => [ [ 'name' => 'date', 'in' => 'query', 'schema' => [ 'description' => '查询的日期,以天为级别,时间参数填写必须为yyyy-MM-dd', 'type' => 'string', 'required' => true, 'example' => '2023-05-15', ], ], [ 'name' => 'jobOwnerList', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'description' => '作业的执行者列表', 'type' => 'array', 'items' => [ 'description' => '作业的执行者列表', 'type' => 'string', 'required' => false, 'example' => 'ALIYUN$xxx@test.aliyunid.com', ], 'required' => false, ], ], [ 'name' => 'quotaNicknameList', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'description' => '作业使用的配额昵称列表', 'type' => 'array', 'items' => [ 'description' => '作业使用的配额昵称列表', 'type' => 'string', 'required' => false, 'example' => 'my_quota', ], 'required' => false, ], ], [ 'name' => 'pageNumber', 'in' => 'query', 'schema' => [ 'description' => '页码', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '每页返回数目,默认为10,最大为100', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id', 'type' => 'string', 'example' => '0b57ff7616612271051086500ea3ce', ], 'httpCode' => [ 'description' => '业务成功与否。如果非空且不是200,那么表示业务处理失败。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码', 'type' => 'string', 'example' => 'success', ], 'errorMsg' => [ 'description' => '错误信息', 'type' => 'string', 'example' => '0A3B1E82006A23A918C70905BF08AEC7', ], 'data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'jobResourceUsageList' => [ 'description' => '返回的数据列表', 'type' => 'array', 'items' => [ 'description' => '返回的数据列表', 'type' => 'object', 'properties' => [ 'date' => [ 'description' => '日程开始日期,格式:yyyy-MM-dd。', 'type' => 'string', 'example' => '2023-05-09', ], 'jobOwner' => [ 'description' => '作业的执行者', 'type' => 'string', 'example' => 'ALIYUN$xxx@test.aliyunid.com', ], 'quotaNickname' => [ 'description' => '配额昵称', 'type' => 'string', 'example' => 'my_quota', ], 'cuUsage' => [ 'description' => 'cu使用总量', 'type' => 'integer', 'format' => 'int64', 'example' => '1185100', ], 'memoryUsage' => [ 'description' => '内存使用总量', 'type' => 'integer', 'format' => 'int64', 'example' => '15169536', ], ], ], ], 'totalCount' => [ 'description' => '返回结果的总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '64', ], 'pageNumber' => [ 'description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '2', ], 'pageSize' => [ 'description' => '每页显示条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0b57ff7616612271051086500ea3ce\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"success\\",\\n \\"errorMsg\\": \\"0A3B1E82006A23A918C70905BF08AEC7\\",\\n \\"data\\": {\\n \\"jobResourceUsageList\\": [\\n {\\n \\"date\\": \\"2023-05-09\\",\\n \\"jobOwner\\": \\"ALIYUN$xxx@test.aliyunid.com\\",\\n \\"quotaNickname\\": \\"my_quota\\",\\n \\"cuUsage\\": 1185100,\\n \\"memoryUsage\\": 15169536\\n }\\n ],\\n \\"totalCount\\": 64,\\n \\"pageNumber\\": 2,\\n \\"pageSize\\": 10\\n }\\n}","type":"json"}]', 'title' => '获得作业执行者级别的资源使用列表', 'summary' => '指定时间范围内,针对已结束的全部作业进行统计,以“天”为级别展示作业执行者级别的资源使用总量。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:GetJobResourceUsage', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetMmsAsyncTask' => [ 'summary' => '获取MMA单个异步任务', 'path' => '/api/v1/mms/datasources/{sourceId}/asyncTasks/{asyncTaskId}', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182969', 'abilityTreeNodes' => [ 'FEATUREodpsN8WEG6', ], ], 'parameters' => [ [ 'name' => 'sourceId', 'in' => 'path', 'schema' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2000028', ], ], [ 'name' => 'asyncTaskId', 'in' => 'path', 'schema' => [ 'description' => '异步任务ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1000286', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ApiRes', 'description' => 'ApiRes', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID', 'type' => 'string', 'example' => '688003E1-D1B4-5468-957E-2FFB3AC8D79B', ], 'data' => [ 'description' => '异步任务对象', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => '异步任务ID', 'type' => 'integer', 'format' => 'int64', 'example' => '2523', ], 'sourceId' => [ 'description' => '数据源ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '2000017', ], 'type' => [ 'title' => 'META_SCAN, META_SAVE, TASK_CREATE, RESTART_AGENT, STOP_JOB, CONN_TEST', 'description' => '异步任务类型', 'type' => 'string', 'enumValueTitles' => [ 'TASK_CREATE' => '创建迁移作业', 'STOP_JOB' => '停止迁移作业', ], 'example' => 'TASK_CREATE', ], 'objectId' => [ 'description' => '异步任务关联对象ID', 'type' => 'integer', 'format' => 'int64', 'example' => '232', ], 'status' => [ 'description' => '异步任务状态', 'type' => 'string', 'example' => 'DONE', ], 'running' => [ 'description' => '是否正在运行', 'type' => 'boolean', 'example' => 'false', ], 'progress' => [ 'description' => '运行进度', 'type' => 'integer', 'format' => 'int32', 'example' => '0', ], 'result' => [ 'description' => '运行结果', 'type' => 'string', 'example' => 'null', ], 'errorMsg' => [ 'description' => '错误信息', 'type' => 'string', 'example' => 'null', ], 'startTime' => [ 'description' => '开始运行时间', 'type' => 'string', 'example' => '2024-12-17 15:44:17'."\n", ], 'endTime' => [ 'description' => '结束运行时间', 'type' => 'string', 'example' => '2024-12-17 17:44:17'."\n", ], 'createTime' => [ 'description' => '创建时间', 'type' => 'string', 'example' => '2024-12-17 15:44:00'."\n", ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"688003E1-D1B4-5468-957E-2FFB3AC8D79B\\",\\n \\"data\\": {\\n \\"id\\": 2523,\\n \\"sourceId\\": 2000017,\\n \\"type\\": \\"TASK_CREATE\\",\\n \\"objectId\\": 232,\\n \\"status\\": \\"DONE\\",\\n \\"running\\": false,\\n \\"progress\\": 0,\\n \\"result\\": \\"null\\",\\n \\"errorMsg\\": \\"null\\",\\n \\"startTime\\": \\"2024-12-17 15:44:17\\\\n\\",\\n \\"endTime\\": \\"2024-12-17 17:44:17\\\\n\\",\\n \\"createTime\\": \\"2024-12-17 15:44:00\\\\n\\"\\n }\\n}","type":"json"}]', 'title' => '获取数据迁移相关的单个异步任务详情', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetMmsAsyncTask', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], ], ], 'GetMmsDataSource' => [ 'summary' => '获取单个MMA数据源详情', 'path' => '/api/v1/mms/datasources/{sourceId}', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182976', 'abilityTreeNodes' => [ 'FEATUREodpsN8WEG6', ], ], 'parameters' => [ [ 'name' => 'sourceId', 'in' => 'path', 'schema' => [ 'description' => '数据源ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2000015', ], ], [ 'name' => 'withConfig', 'in' => 'query', 'schema' => [ 'description' => '是否获取数据源的具体配置项', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'true', ], ], [ 'name' => 'lang', 'in' => 'query', 'schema' => [ 'description' => '指定配置项的描述语言', 'type' => 'string', 'required' => false, 'example' => 'en_US', 'default' => 'zh_CN', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ApiRes', 'description' => 'ApiRes', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '98EC8C47-3D6D-560C-808B-84E494220A32', ], 'data' => [ 'description' => '请求返回结果。', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'example' => '2000015', ], 'region' => [ 'description' => '地域ID。', 'type' => 'string', 'example' => 'cn-shanghai', ], 'name' => [ 'description' => '数据源名字', 'type' => 'string', 'example' => 'demo', ], 'dstProject' => [ 'title' => '默认MaxCompute目标项目名', 'description' => '默认MaxCompute目标项目名', 'type' => 'string', 'example' => 'mms_test', ], 'dstProjects' => [ 'title' => '目标MaxCompute项目列表', 'description' => '目标MaxCompute项目列表', 'type' => 'array', 'items' => [ 'title' => '目标项目', 'description' => '目标项目', 'type' => 'string', 'example' => 'mms_test1', ], ], 'type' => [ 'title' => 'HIVE, OSS, MAXCOMPUTE, MOCK, HIVE_OSS', 'description' => '数据源类型', 'type' => 'string', 'enumValueTitles' => [ 'HIVE' => 'HIVE', 'BIGQUERY' => 'BIGQUERY', 'MAXCOMPUTE' => 'MAXCOMPUTE', ], 'example' => 'BIGQUERY', ], 'networklink' => [ 'description' => '"maxcompute网络连接ID":regioinID', 'type' => 'string', 'example' => 'vpc-2zebqp6uojhdla46677tl:cn-shanghai', ], 'lastUpdateTime' => [ 'description' => '元数据最新同步时间', 'type' => 'string', 'example' => '2024-12-17 15:44:17', ], 'dbNum' => [ 'description' => '数据源中“库”的数量', 'type' => 'integer', 'format' => 'int32', 'example' => '3', ], 'tableNum' => [ 'description' => '数据源中“表”的数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1000', ], 'partitionNum' => [ 'description' => '数据源中“分区”的数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10000000', ], 'createTime' => [ 'description' => '数据源创建时间', 'type' => 'string', 'example' => '2024-12-17 09:29:58', ], 'status' => [ 'title' => 'STOPPED, STARTING, STARTED, STOPPING, START_FAILED, STOP_FAILED', 'description' => '数据源状态', 'type' => 'string', 'enumValueTitles' => [ 'STARTING' => 'STARTING', 'STOPPED' => 'STOPPED', 'STARTED' => 'STARTED', 'START_FAILED' => 'START_FAILED', 'STOPPING' => 'STOPPING', 'STOP_FAILED' => 'STOP_FAILED', ], 'example' => 'STARTED', ], 'errMsg' => [ 'description' => 'status为START_FAILED或STOP_FAILED时,数据源实例“启动”或“关闭”失败的原因', 'type' => 'string', 'example' => 'unexpected exception', ], 'config' => [ 'description' => '数据源相关配置', 'type' => 'array', 'items' => [ 'description' => '数据源相关配置', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '配置名', 'type' => 'string', 'example' => '范围分区表迁移方式', ], 'key' => [ 'description' => '配置的英文标识', 'type' => 'string', 'example' => 'bigquery.range.partition.migrate.type', ], 'desc' => [ 'description' => '配置描述', 'type' => 'string', 'example' => '范围分区表迁移方式', ], 'placeHolder' => [ 'description' => '配置示例值', 'type' => 'string', 'example' => 'Cluster or Partition', ], 'type' => [ 'description' => '配置类型:boolean, int, map, string, password, file', 'type' => 'string', 'enumValueTitles' => [ 'password' => 'password', 'file' => 'file', 'string' => 'string', 'map' => 'map', 'booelan' => 'booelan', 'int' => 'int', ], 'example' => 'string', ], 'subType' => [ 'description' => 'type为file时,subType指定具体的文件类型,如.keytab', 'type' => 'string', 'example' => '.keytab', ], 'value' => [ 'description' => '配置值', 'type' => 'any', 'example' => 'Partition'."\n", ], 'enums' => [ 'description' => '配置值的枚举值', 'type' => 'array', 'items' => [ 'description' => '配置值的枚举值', 'type' => 'string', 'example' => 'Cluster or Partition', ], ], 'required' => [ 'description' => '是否是必有配置', 'type' => 'boolean', 'example' => 'true', ], 'group' => [ 'description' => '配置分组', 'type' => 'string', 'example' => 'basic_group', ], 'subItems' => [ 'description' => '配置子项,有些配置项是否需要依赖其他配置项的值。这种依赖其他配置项的配置会被作为被依赖项的子项', 'type' => 'object', 'additionalProperties' => [ 'type' => 'any', 'example' => '{"azure.bob.sas.token": "xxx"}', 'description' => '子配置项', ], ], ], ], ], 'agentIsOnline' => [ 'description' => '数据源实例或相关联的agent是否启动', 'type' => 'boolean', 'example' => 'true', ], 'tablesDoingNum' => [ 'description' => '正在迁移的表', 'type' => 'integer', 'format' => 'int32', 'example' => '19', ], 'tablesDoneNum' => [ 'description' => '迁移完成的表', 'type' => 'integer', 'format' => 'int32', 'example' => '16', ], 'tablesPartDoneNum' => [ 'description' => '迁移部分完成的表', 'type' => 'integer', 'format' => 'int32', 'example' => '123', ], 'tablesFailedNum' => [ 'description' => '迁移失败的表', 'type' => 'integer', 'format' => 'int32', 'example' => '2', ], 'partitionsDoingNum' => [ 'description' => '正在迁移的分区', 'type' => 'integer', 'format' => 'int32', 'example' => '23322', ], 'partitionsDoneNum' => [ 'description' => '迁移完成的分区', 'type' => 'integer', 'format' => 'int32', 'example' => '11113', ], 'partitionsFailedNum' => [ 'description' => '迁移失败的分区', 'type' => 'integer', 'format' => 'int32', 'example' => '32', ], 'scanId' => [ 'description' => '同步元数据任务的ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1000253', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"98EC8C47-3D6D-560C-808B-84E494220A32\\",\\n \\"data\\": {\\n \\"id\\": 2000015,\\n \\"region\\": \\"cn-shanghai\\",\\n \\"name\\": \\"demo\\",\\n \\"dstProject\\": \\"mms_test\\",\\n \\"dstProjects\\": [\\n \\"mms_test1\\"\\n ],\\n \\"type\\": \\"BIGQUERY\\",\\n \\"networklink\\": \\"vpc-2zebqp6uojhdla46677tl:cn-shanghai\\",\\n \\"lastUpdateTime\\": \\"2024-12-17 15:44:17\\",\\n \\"dbNum\\": 3,\\n \\"tableNum\\": 1000,\\n \\"partitionNum\\": 10000000,\\n \\"createTime\\": \\"2024-12-17 09:29:58\\",\\n \\"status\\": \\"STARTED\\",\\n \\"errMsg\\": \\"unexpected exception\\",\\n \\"config\\": [\\n {\\n \\"name\\": \\"范围分区表迁移方式\\",\\n \\"key\\": \\"bigquery.range.partition.migrate.type\\",\\n \\"desc\\": \\"范围分区表迁移方式\\",\\n \\"placeHolder\\": \\"Cluster or Partition\\",\\n \\"type\\": \\"string\\",\\n \\"subType\\": \\".keytab\\",\\n \\"value\\": \\"Partition\\\\n\\",\\n \\"enums\\": [\\n \\"Cluster or Partition\\"\\n ],\\n \\"required\\": true,\\n \\"group\\": \\"basic_group\\",\\n \\"subItems\\": {\\n \\"key\\": \\"{\\\\\\"azure.bob.sas.token\\\\\\": \\\\\\"xxx\\\\\\"}\\"\\n }\\n }\\n ],\\n \\"agentIsOnline\\": true,\\n \\"tablesDoingNum\\": 19,\\n \\"tablesDoneNum\\": 16,\\n \\"tablesPartDoneNum\\": 123,\\n \\"tablesFailedNum\\": 2,\\n \\"partitionsDoingNum\\": 23322,\\n \\"partitionsDoneNum\\": 11113,\\n \\"partitionsFailedNum\\": 32,\\n \\"scanId\\": 1000253\\n }\\n}","type":"json"}]', 'title' => '获取单个数据源详情', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetMmsDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], ], ], 'GetMmsDb' => [ 'summary' => '获取MMA数据源内的某个库', 'path' => '/api/v1/mms/datasources/{sourceId}/dbs/{dbId}', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182971', 'abilityTreeNodes' => [ 'FEATUREodpsN8WEG6', ], ], 'parameters' => [ [ 'name' => 'sourceId', 'in' => 'path', 'schema' => [ 'description' => '数据源ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2000017', ], ], [ 'name' => 'dbId', 'in' => 'path', 'schema' => [ 'description' => '库ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1232', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ApiRes', 'description' => 'ApiRes', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '90D64EB6-2962-5B1C-A039-BC41C8176C7F', ], 'data' => [ 'description' => '请求返回结果。', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => '库ID', 'type' => 'integer', 'format' => 'int64', 'example' => '63', ], 'name' => [ 'description' => '库名', 'type' => 'string', 'example' => 'mms_test', ], 'description' => [ 'description' => '库描述', 'type' => 'string', 'example' => 'for mms_test', ], 'owner' => [ 'description' => '库所有者', 'type' => 'string', 'example' => 'System user', ], 'location' => [ 'description' => '库的存储位置', 'type' => 'string', 'example' => ' hdfs://master-1-1.c-6fc187819ed6bae0.cn-shanghai.emr.aliyuncs.com:9000/user/hive/warehouse ', ], 'extra' => [ 'description' => '以JSON格式存储的其他信息', 'type' => 'string', 'example' => '{}', ], 'tables' => [ 'description' => '表数量', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'tablesDoing' => [ 'description' => '正在迁移的表', 'type' => 'integer', 'format' => 'int32', 'example' => '20', ], 'tablesDone' => [ 'description' => '迁移完成的表', 'type' => 'integer', 'format' => 'int32', 'example' => '120', ], 'tablesPartDone' => [ 'description' => '完成部分迁移的表', 'type' => 'integer', 'format' => 'int32', 'example' => '20', ], 'tablesFailed' => [ 'description' => '迁移失败的表', 'type' => 'integer', 'format' => 'int32', 'example' => '20', ], 'partitions' => [ 'description' => '分区数量', 'type' => 'integer', 'format' => 'int32', 'example' => '2000', ], 'partitionsDoing' => [ 'description' => '正在迁移的分区', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'partitionsDone' => [ 'description' => '迁移完成的分区', 'type' => 'integer', 'format' => 'int32', 'example' => '1400', ], 'partitionsFailed' => [ 'description' => '迁移失败的分区', 'type' => 'integer', 'format' => 'int32', 'example' => '400', ], 'sourceId' => [ 'description' => '数据源ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '2000017', ], 'sourceName' => [ 'description' => '数据源名', 'type' => 'string', 'example' => 'demo', ], 'size' => [ 'description' => '库数据大小-单位Bytes', 'type' => 'integer', 'format' => 'int64', 'example' => '323232332', ], 'numRows' => [ 'description' => '库数据行数', 'type' => 'integer', 'format' => 'int64', 'example' => '2323', ], 'updated' => [ 'description' => '元数据是否有更新', 'type' => 'boolean', 'example' => 'true', ], 'lastDdlTime' => [ 'description' => 'last ddl time', 'type' => 'string', 'example' => '2024-12-17 15:44:42'."\n", ], 'status' => [ 'title' => 'INIT, DOING, FAILED, DONE, PART_DONE', 'description' => '迁移状态:INIT, DOING, FAILED, DONE, PART_DONE', 'type' => 'string', 'enumValueTitles' => [ 'PART_DONE' => '部分迁移完成', 'INIT' => '未迁移', 'DONE' => '迁移完成', 'DOING' => '迁移中', 'FAILED' => '迁移失败', ], 'example' => 'DOING', ], 'dstName' => [ 'title' => '源“库”对应的MaxCompute schema. 目标MaxCompute项目没有开启schema层时,该值为null. 默认与源“库”名一致', 'description' => '源“库”对应的MaxCompute schema. 目标MaxCompute项目没有开启schema层时,该值为null. 默认与源“库”名一致', 'type' => 'string', 'example' => 'default', ], 'dstProjectName' => [ 'title' => '目标MaxCompute项目名', 'description' => '目标MaxCompute项目名', 'type' => 'string', 'example' => 'mma_test', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"90D64EB6-2962-5B1C-A039-BC41C8176C7F\\",\\n \\"data\\": {\\n \\"id\\": 63,\\n \\"name\\": \\"mms_test\\",\\n \\"description\\": \\"for mms_test\\",\\n \\"owner\\": \\"System user\\",\\n \\"location\\": \\" hdfs://master-1-1.c-6fc187819ed6bae0.cn-shanghai.emr.aliyuncs.com:9000/user/hive/warehouse \\",\\n \\"extra\\": \\"{}\\",\\n \\"tables\\": 200,\\n \\"tablesDoing\\": 20,\\n \\"tablesDone\\": 120,\\n \\"tablesPartDone\\": 20,\\n \\"tablesFailed\\": 20,\\n \\"partitions\\": 2000,\\n \\"partitionsDoing\\": 200,\\n \\"partitionsDone\\": 1400,\\n \\"partitionsFailed\\": 400,\\n \\"sourceId\\": 2000017,\\n \\"sourceName\\": \\"demo\\",\\n \\"size\\": 323232332,\\n \\"numRows\\": 2323,\\n \\"updated\\": true,\\n \\"lastDdlTime\\": \\"2024-12-17 15:44:42\\\\n\\",\\n \\"status\\": \\"DOING\\",\\n \\"dstName\\": \\"default\\",\\n \\"dstProjectName\\": \\"mma_test\\"\\n }\\n}","type":"json"}]', 'title' => '获取数据源内的某个库', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetMmsDb', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], ], ], 'GetMmsFetchMetadataJob' => [ 'summary' => '获取单个MMA“获取元数据”任务详情', 'path' => '/api/v1/mms/datasources/{sourceId}/scans/{scanId}', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182965', 'abilityTreeNodes' => [ 'FEATUREodpsN8WEG6', ], ], 'parameters' => [ [ 'name' => 'sourceId', 'in' => 'path', 'schema' => [ 'description' => '数据源ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2000015', ], ], [ 'name' => 'scanId', 'in' => 'path', 'schema' => [ 'description' => '同步元数据的异步任务ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1000002', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ApiRes', 'description' => 'ApiRes', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '5CA6292A-E301-5CD8-B4E2-AF060F99147B', ], 'data' => [ 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => '异步任务ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1000002', ], 'sourceId' => [ 'description' => '数据源ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '2000015', ], 'status' => [ 'description' => '同步元数据的异步任务的状态', 'type' => 'string', 'enumValueTitles' => [ 'INIT' => 'INIT', 'DONE' => 'DONE', 'FAILED' => 'FAILED', 'UPLOAD_FAILED' => 'UPLOAD_FAILED', 'SAVE_DOING' => 'SAVE_DOING', 'UPLOAD_DONE' => 'UPLOAD_DONE', 'SCAN_DONE' => 'SCAN_DONE', 'SCAN_FAILED' => 'SCAN_FAILED', 'SCAN_DOING' => 'SCAN_DOING', ], 'example' => 'SCAN_DOING', ], 'progress' => [ 'description' => '元数据同步进度 1-10000', 'type' => 'number', 'format' => 'float', 'example' => '5000', ], 'result' => [ 'description' => '元数据同步结果', 'type' => 'string', 'example' => '{"databases":5,"tables":75,"partitions":215}', ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => 'unexpected exception', ], 'startTime' => [ 'description' => '元数据开始同步时间', 'type' => 'string', 'example' => '2024-12-16 19:09:37', ], 'endTime' => [ 'description' => '元数据同步结束时间', 'type' => 'string', 'example' => '2024-12-16 19:10:07', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"5CA6292A-E301-5CD8-B4E2-AF060F99147B\\",\\n \\"data\\": {\\n \\"id\\": 1000002,\\n \\"sourceId\\": 2000015,\\n \\"status\\": \\"SCAN_DOING\\",\\n \\"progress\\": 5000,\\n \\"result\\": \\"{\\\\\\"databases\\\\\\":5,\\\\\\"tables\\\\\\":75,\\\\\\"partitions\\\\\\":215}\\",\\n \\"errorMsg\\": \\"unexpected exception\\",\\n \\"startTime\\": \\"2024-12-16 19:09:37\\",\\n \\"endTime\\": \\"2024-12-16 19:10:07\\"\\n }\\n}","type":"json"}]', 'title' => '获取“同步元数据”任务详情', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetMmsFetchMetadataJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], ], ], 'GetMmsJob' => [ 'summary' => '获取单个MMA迁移计划详情 ', 'path' => '/api/v1/mms/datasources/{sourceId}/jobs/{jobId}', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182992', 'abilityTreeNodes' => [ 'FEATUREodpsN8WEG6', ], ], 'parameters' => [ [ 'name' => 'sourceId', 'in' => 'path', 'schema' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2000015', ], ], [ 'name' => 'jobId', 'in' => 'path', 'schema' => [ 'description' => '作业ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ApiRes', 'description' => 'ApiRes', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID', 'type' => 'string', 'example' => 'D9F872FD-5DDE-30A6-8C8A-1B8C6A81059F', ], 'data' => [ 'description' => '迁移作业对象', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => '迁移作业ID', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], 'name' => [ 'description' => '迁移作业名字', 'type' => 'string', 'example' => 'migrate_db_1', ], 'sourceId' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'example' => '2', ], 'dbId' => [ 'description' => '源库ID', 'type' => 'integer', 'format' => 'int64', 'example' => '23', ], 'sourceName' => [ 'description' => '数据源名', 'type' => 'string', 'example' => 'demo', ], 'srcDbName' => [ 'description' => '源库名', 'type' => 'string', 'example' => 'mms_test', ], 'srcSchemaName' => [ 'description' => '源schema name-三层命名空间中的schema', 'type' => 'string', 'example' => 'default', ], 'dstDbName' => [ 'description' => '目标MaxCompute项目', 'type' => 'string', 'example' => 'mms_target', ], 'dstSchemaName' => [ 'description' => '目标MaxCompute Schema', 'type' => 'string', 'example' => 'default', ], 'status' => [ 'title' => 'INIT, DOING, FAILED, DONE', 'description' => '迁移任务状态', 'type' => 'string', 'enumValueTitles' => [ 'INIT' => '未运行', 'DONE' => '成功', 'DOING' => '运行中', 'FAILED' => '运行失败', ], 'example' => 'DOING', ], 'type' => [ 'title' => 'Database, Tables, Partitions', 'description' => '迁移范围:Database, Tables, Partitions', 'type' => 'string', 'enumValueTitles' => [ 'Partitions' => '多分区', 'Database' => '单库', 'Tables' => '多表', ], 'example' => 'Tables', ], 'taskNum' => [ 'description' => '包含的迁移任务数量', 'type' => 'integer', 'format' => 'int32', 'example' => '100', ], 'stopped' => [ 'description' => '被停止', 'type' => 'boolean', 'example' => 'false'."\n", ], 'createTime' => [ 'description' => '创建时间。', 'type' => 'string', 'example' => '2024-12-17 15:44:17', ], 'taskDone' => [ 'description' => '完成的迁移任务数量', 'type' => 'integer', 'format' => 'int32', 'example' => '100', ], 'config' => [ 'description' => '迁移作业的配置', 'type' => 'object', 'properties' => [ 'partitions' => [ 'description' => '当 type=Partitions 时, 通过该参数指定要迁移表的分区 ID 列表', 'type' => 'array', 'items' => [ 'description' => '要迁移表的分区 ID', 'type' => 'integer', 'format' => 'int64', 'example' => '[123, 132]', ], ], 'tables' => [ 'description' => '当 type=Tables 时, 通过该参数指定要迁移的表的名称列表', 'type' => 'array', 'items' => [ 'description' => '要迁移的表的名称', 'type' => 'string', 'example' => '["student", "scores"]', ], ], 'taskType' => [ 'title' => 'MOCK, HIVE: hive udtf task, HIVE_DATAX: hive datax task, COPY_TASK: odps Copy Task, ODPS_INSERT_OVERWRITE: odps simple insert overwrite task, MC2MC_VERIFY, OSS, HIVE_OSS, HIVE_SPARK, BIGQUERY', 'description' => 'Depcreated; 可以指定的值有 MOCK, HIVE: hive udtf task, HIVE_DATAX: hive datax task, COPY_TASK: odps Copy Task, ODPS_INSERT_OVERWRITE: odps simple insert overwrite task, MC2MC_VERIFY, OSS, HIVE_OSS, HIVE_SPARK, BIGQUERY', 'type' => 'string', 'example' => 'BIGQUERY', ], 'tableBlackList' => [ 'description' => '当 type=Database 时, 通过 tableBlackList 指定排除哪些表不迁移', 'type' => 'array', 'items' => [ 'description' => '当 type=Database 时, 要排查的表', 'type' => 'string', 'example' => '["student", "scores"]', ], ], 'tableWhiteList' => [ 'description' => '当 type=Database 时, 指定的要迁移的表列表。如果没有指定 tableWhiteList,则迁移对应 Database 下的所有表', 'type' => 'array', 'items' => [ 'description' => '当 type=Database 时, 指定的要迁移的表。', 'type' => 'string', 'example' => '["student", "scores"]', ], ], 'partitionFilters' => [ 'description' => '分区过滤表达式。 配置指定"表"对应的"分区过滤表达式"', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'example' => '{'."\n" .'"student": "p1 >= \'2022-03-04\' and (p2 = 10 or p3 > 20) and p4 in (\'abc\', \'cde\')" '."\n" .'}'."\n", 'description' => '分区过滤表达式。例如:p1 >= \'2022-03-04\' and (p2 = 10 or p3 > 20) and p4 in (\'abc\', \'cde\'),介绍如下:'."\n" ."\n" .'p1、p2 和 p3 均为分区名。'."\n" ."\n" .'分区值仅包含字符串和数字,字符串被双引号或单引号包裹。'."\n" ."\n" .'除 INT 和 BIGINT 类型的分区列值外,其他类型的分区值都只能取字符串值。'."\n" ."\n" .'比较操作符包括:>、>=、= 、<、<=、<>。'."\n" ."\n" .'分区过滤表达式支持 IN 操作符。'."\n" ."\n" .'逻辑操作符包括:AND 和 OR。'."\n" ."\n" .'支持使用括号。', ], ], 'schemaOnly' => [ 'description' => 'Depcreated', 'type' => 'boolean', 'example' => 'false', ], 'tableMapping' => [ 'description' => '源表名->目标名 映射', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'example' => '{\'a\': \'a1\'}', 'description' => '源表名->目标名 映射', ], ], 'increment' => [ 'description' => '增量迁移:只迁移新分区或有变动的分区,注意有变动的分区会被重迁', 'type' => 'boolean', 'example' => 'true', ], 'enableVerification' => [ 'description' => '开启校验,目前校验方式是在源和目标端执行select count,对比行数', 'type' => 'boolean', 'example' => 'true', ], 'tunnelQuota' => [ 'description' => 'Depcreated', 'type' => 'string', 'example' => 'Depcreated', ], 'columnMapping' => [ 'description' => '{源列名:目标列名}', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'example' => '{"c-1": "c_1"}', 'description' => '{源列名:目标列名}', ], ], 'others' => [ 'description' => '其他配置信息', 'type' => 'object', 'example' => '{"spark.executor.mem": "2g"}', ], ], ], 'eta' => [ 'description' => '期望的迁移完成时间. 注意:eta值越小,迁移任务的优先级会越高', 'type' => 'string', 'example' => '2025-05-06', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"D9F872FD-5DDE-30A6-8C8A-1B8C6A81059F\\",\\n \\"data\\": {\\n \\"id\\": 10,\\n \\"name\\": \\"migrate_db_1\\",\\n \\"sourceId\\": 2,\\n \\"dbId\\": 23,\\n \\"sourceName\\": \\"demo\\",\\n \\"srcDbName\\": \\"mms_test\\",\\n \\"srcSchemaName\\": \\"default\\",\\n \\"dstDbName\\": \\"mms_target\\",\\n \\"dstSchemaName\\": \\"default\\",\\n \\"status\\": \\"DOING\\",\\n \\"type\\": \\"Tables\\",\\n \\"taskNum\\": 100,\\n \\"stopped\\": true,\\n \\"createTime\\": \\"2024-12-17 15:44:17\\",\\n \\"taskDone\\": 100,\\n \\"config\\": {\\n \\"partitions\\": [\\n 0\\n ],\\n \\"tables\\": [\\n \\"[\\\\\\"student\\\\\\", \\\\\\"scores\\\\\\"]\\"\\n ],\\n \\"taskType\\": \\"BIGQUERY\\",\\n \\"tableBlackList\\": [\\n \\"[\\\\\\"student\\\\\\", \\\\\\"scores\\\\\\"]\\"\\n ],\\n \\"tableWhiteList\\": [\\n \\"[\\\\\\"student\\\\\\", \\\\\\"scores\\\\\\"]\\"\\n ],\\n \\"partitionFilters\\": {\\n \\"key\\": \\"{\\\\n\\\\\\"student\\\\\\": \\\\\\"p1 >= \'2022-03-04\' and (p2 = 10 or p3 > 20) and p4 in (\'abc\', \'cde\')\\\\\\" \\\\n}\\\\n\\"\\n },\\n \\"schemaOnly\\": false,\\n \\"tableMapping\\": {\\n \\"key\\": \\"{\'a\': \'a1\'}\\"\\n },\\n \\"increment\\": true,\\n \\"enableVerification\\": true,\\n \\"tunnelQuota\\": \\"Depcreated\\",\\n \\"columnMapping\\": {\\n \\"key\\": \\"{\\\\\\"c-1\\\\\\": \\\\\\"c_1\\\\\\"}\\"\\n },\\n \\"others\\": {\\n \\"spark.executor.mem\\": \\"2g\\"\\n }\\n },\\n \\"eta\\": \\"2025-05-06\\"\\n }\\n}","type":"json"}]', 'title' => '获取单个迁移作业详情 ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetMmsJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], ], ], 'GetMmsPartition' => [ 'summary' => '获取MMA数据源内的某个分区', 'path' => '/api/v1/mms/datasources/{sourceId}/partitions/{partitionId}', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182980', 'abilityTreeNodes' => [ 'FEATUREodpsN8WEG6', ], ], 'parameters' => [ [ 'name' => 'sourceId', 'in' => 'path', 'schema' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '200018', ], ], [ 'name' => 'partitionId', 'in' => 'path', 'schema' => [ 'description' => '分区ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2323', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ApiRes', 'description' => 'ApiRes', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID', 'type' => 'string', 'example' => 'D9F872FD-5DDE-30A6-8C8A-1B8C6A81059F'."\n", ], 'data' => [ 'description' => '分区对象', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => '分区ID', 'type' => 'integer', 'format' => 'int64', 'example' => '2323', ], 'dbId' => [ 'description' => '分区所在“库”的id, “库”在不同数据源中对应的元数据层级名称不同。'."\n" .'如,在BigQuery,对应Dataset; 在Hive中对应Databse; 在Databricks中对应"Schema"; 在MaxCompute中对应"Schema"。', 'type' => 'integer', 'format' => 'int64', 'example' => '12', ], 'tableId' => [ 'description' => '表ID', 'type' => 'integer', 'format' => 'int64', 'example' => '23', ], 'dbName' => [ 'description' => '库名。 “库”在不同数据源中对应的元数据层级名称不同。'."\n" .'如,在BigQuery,对应Dataset; 在Hive中对应Databse; 在Databricks中对应"Schema"; 在MaxCompute中对应"Schema"。', 'type' => 'string', 'example' => 'd1', ], 'tableName' => [ 'description' => '表名', 'type' => 'string', 'example' => 't1', ], 'value' => [ 'description' => '分区值', 'type' => 'string', 'example' => 'p1=1/p2=abc'."\n", ], 'dstProjectName' => [ 'title' => '目标MaxCompute项目名', 'description' => '目标MaxCompute项目名', 'type' => 'string', 'example' => 'mms_test', ], 'dstSchemaName' => [ 'title' => '目标MaxCompute schema名,如果目标MaxCompute项目没有开启schema层,该值为null', 'description' => '目标MaxCompute schema名,如果目标MaxCompute项目没有开启schema层,该值为null', 'type' => 'string', 'example' => 'default', ], 'dstTableName' => [ 'title' => '目标MaxCompute表', 'description' => '目标MaxCompute表', 'type' => 'string', 'example' => 'test', ], 'dstValue' => [ 'title' => '目标MaxCompute分区值,默认与源分区值一致', 'description' => '目标MaxCompute分区值,默认与源分区值一致', 'type' => 'string', 'example' => 'p1=1/p2=abc', ], 'sourceId' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'example' => '200018'."\n", ], 'sourceName' => [ 'description' => '数据源名称', 'type' => 'string', 'example' => 'demo', ], 'size' => [ 'description' => '数据量大小-单位Bytes', 'type' => 'integer', 'format' => 'int64', 'example' => '12323', ], 'numRows' => [ 'description' => '行数', 'type' => 'integer', 'format' => 'int64', 'example' => '2323', ], 'updated' => [ 'description' => '元数据是否有更新', 'type' => 'boolean', 'example' => 'false', ], 'lastDdlTime' => [ 'description' => 'lastDdlTime', 'type' => 'string', 'example' => '2024-12-17 15:44:42'."\n", ], 'status' => [ 'title' => 'INIT, DOING, FAILED, DONE, PART_DONE', 'description' => '迁移状态', 'type' => 'string', 'enumValueTitles' => [ 'INIT' => '未迁移', 'DONE' => '迁移完成', 'DOING' => '正在迁移', 'FAILED' => '迁移失败', ], 'example' => 'DONE', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"D9F872FD-5DDE-30A6-8C8A-1B8C6A81059F\\\\n\\",\\n \\"data\\": {\\n \\"id\\": 2323,\\n \\"dbId\\": 12,\\n \\"tableId\\": 23,\\n \\"dbName\\": \\"d1\\",\\n \\"tableName\\": \\"t1\\",\\n \\"value\\": \\"p1=1/p2=abc\\\\n\\",\\n \\"dstProjectName\\": \\"mms_test\\",\\n \\"dstSchemaName\\": \\"default\\",\\n \\"dstTableName\\": \\"test\\",\\n \\"dstValue\\": \\"p1=1/p2=abc\\",\\n \\"sourceId\\": 200018,\\n \\"sourceName\\": \\"demo\\",\\n \\"size\\": 12323,\\n \\"numRows\\": 2323,\\n \\"updated\\": false,\\n \\"lastDdlTime\\": \\"2024-12-17 15:44:42\\\\n\\",\\n \\"status\\": \\"DONE\\"\\n }\\n}","type":"json"}]', 'title' => '获取数据源内的某个分区', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetMmsPartition', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], ], ], 'GetMmsTable' => [ 'summary' => '获取MMA数据源内的某张表', 'path' => '/api/v1/mms/datasources/{sourceId}/tables/{tableId}', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182963', 'abilityTreeNodes' => [ 'FEATUREodpsN8WEG6', ], ], 'parameters' => [ [ 'name' => 'sourceId', 'in' => 'path', 'schema' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '12323', ], ], [ 'name' => 'tableId', 'in' => 'path', 'schema' => [ 'description' => '表ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '22', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ApiRes', 'description' => 'ApiRes', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID', 'type' => 'string', 'example' => 'E7FB14F1-4ACD-5C73-A755-B302D70AB9AD'."\n", ], 'data' => [ 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => 'table ID', 'type' => 'integer', 'format' => 'int64', 'example' => '22', ], 'dbId' => [ 'description' => '库ID', 'type' => 'integer', 'format' => 'int64', 'example' => '3', ], 'dbName' => [ 'description' => '库名', 'type' => 'string', 'example' => 'mms_test', ], 'name' => [ 'description' => '表名', 'type' => 'string', 'example' => 'test', ], 'dstProjectName' => [ 'title' => '目标MaxCompute项目名', 'description' => '目标MaxCompute项目名', 'type' => 'string', 'example' => 'mms_test', ], 'dstSchemaName' => [ 'title' => '目标MaxCompute schema名,目标MaxCompute项目没有开启schema层时,该值为null', 'description' => '目标MaxCompute schema名,目标MaxCompute项目没有开启schema层时,该值为null', 'type' => 'string', 'example' => 'default', ], 'dstName' => [ 'title' => '目标MaxCompute table名,默认与原表名一致', 'description' => '目标MaxCompute table名,默认与原表名一致', 'type' => 'string', 'example' => 'test', ], 'type' => [ 'description' => '表类型', 'type' => 'string', 'example' => 'MANAGED_TABLED', ], 'hasPartitions' => [ 'description' => '是否是分区表', 'type' => 'boolean', 'example' => 'true', ], 'schema' => [ 'description' => '表结构', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '表名', 'type' => 'string', 'example' => 'test', ], 'comment' => [ 'description' => '表注释', 'type' => 'string', 'example' => 'for mms test', ], 'columns' => [ 'description' => '所有普通列', 'type' => 'array', 'items' => [ 'description' => '普通列', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '列名', 'type' => 'string', 'example' => 'user_id', ], 'type' => [ 'description' => '列类型', 'type' => 'string', 'example' => 'bigint', ], 'comment' => [ 'description' => '列注释', 'type' => 'string', 'example' => 'user id', ], 'defaultValue' => [ 'description' => '列默认值', 'type' => 'string', 'example' => '10', ], 'nullable' => [ 'description' => '列是否可以为null', 'type' => 'boolean', 'example' => 'false', ], ], ], ], 'partitions' => [ 'description' => '所有分区列', 'type' => 'array', 'items' => [ 'description' => '分区列', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '列名', 'type' => 'string', 'example' => 'p1', ], 'type' => [ 'description' => '列类型', 'type' => 'string', 'example' => 'string', ], 'comment' => [ 'description' => '列注释', 'type' => 'string', 'example' => 'first partition level', ], 'defaultValue' => [ 'description' => '列默认值', 'type' => 'string', 'example' => 'abc', ], 'nullable' => [ 'description' => '列是否为空', 'type' => 'boolean', 'example' => 'false', ], ], ], ], ], ], 'owner' => [ 'description' => '表owner', 'type' => 'string', 'example' => 'Hive'."\n", ], 'location' => [ 'description' => '表存储位置', 'type' => 'string', 'example' => '| hdfs://master-1-1.c-c127cd184bb029ea.cn-zhangjiakou.emr.aliyuncs.com:9000/user/hive/warehouse/demo'."\n", ], 'inputFormat' => [ 'description' => 'inputFormat', 'type' => 'string', 'example' => 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat '."\n", ], 'outputFormat' => [ 'description' => 'outputFormat', 'type' => 'string', 'example' => 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat'."\n", ], 'serde' => [ 'description' => 'serde', 'type' => 'string', 'example' => 'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'."\n", ], 'extra' => [ 'description' => '以JSON格式存储的其他信息', 'type' => 'string', 'example' => '{"mapkey.delim":":","collection.delim":",","serialization.format":"|","field.delim":"|"} '."\n", ], 'partitions' => [ 'description' => '分区数', 'type' => 'integer', 'format' => 'int32', 'example' => '100', ], 'partitionsDoing' => [ 'description' => '正在迁移的分区数量', 'type' => 'integer', 'format' => 'int32', 'example' => '20', ], 'partitionsDone' => [ 'description' => '迁移完成的分区数量', 'type' => 'integer', 'format' => 'int32', 'example' => '80', ], 'partitionsFailed' => [ 'description' => '迁移失败的分区数量', 'type' => 'integer', 'format' => 'int32', 'example' => '0', ], 'sourceId' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'example' => '2000028'."\n", ], 'sourceName' => [ 'description' => '数据源名', 'type' => 'string', 'example' => 'demo', ], 'size' => [ 'description' => '数据大小-以Bytes为单位', 'type' => 'integer', 'format' => 'int64', 'example' => '23232', ], 'numRows' => [ 'description' => '行数', 'type' => 'integer', 'format' => 'int64', 'example' => '233232', ], 'updated' => [ 'description' => '元数据是否有更新', 'type' => 'boolean', 'example' => 'false', ], 'lastDdlTime' => [ 'description' => 'lastDdlTime', 'type' => 'string', 'example' => '2024-12-17 15:44:42'."\n", ], 'status' => [ 'title' => 'INIT, DOING, FAILED, DONE, PART_DONE', 'description' => '迁移状态', 'type' => 'string', 'enumValueTitles' => [ 'PART_DONE' => '部分迁移成功', 'INIT' => '未迁移', 'DONE' => '迁移成功', 'DOING' => '迁移中', 'FAILED' => '迁移失败', ], 'example' => 'DONE', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"E7FB14F1-4ACD-5C73-A755-B302D70AB9AD\\\\n\\",\\n \\"data\\": {\\n \\"id\\": 22,\\n \\"dbId\\": 3,\\n \\"dbName\\": \\"mms_test\\",\\n \\"name\\": \\"test\\",\\n \\"dstProjectName\\": \\"mms_test\\",\\n \\"dstSchemaName\\": \\"default\\",\\n \\"dstName\\": \\"test\\",\\n \\"type\\": \\"MANAGED_TABLED\\",\\n \\"hasPartitions\\": true,\\n \\"schema\\": {\\n \\"name\\": \\"test\\",\\n \\"comment\\": \\"for mms test\\",\\n \\"columns\\": [\\n {\\n \\"name\\": \\"user_id\\",\\n \\"type\\": \\"bigint\\",\\n \\"comment\\": \\"user id\\",\\n \\"defaultValue\\": \\"10\\",\\n \\"nullable\\": false\\n }\\n ],\\n \\"partitions\\": [\\n {\\n \\"name\\": \\"p1\\",\\n \\"type\\": \\"string\\",\\n \\"comment\\": \\"first partition level\\",\\n \\"defaultValue\\": \\"abc\\",\\n \\"nullable\\": false\\n }\\n ]\\n },\\n \\"owner\\": \\"Hive\\\\n\\",\\n \\"location\\": \\"| hdfs://master-1-1.c-c127cd184bb029ea.cn-zhangjiakou.emr.aliyuncs.com:9000/user/hive/warehouse/demo\\\\n\\",\\n \\"inputFormat\\": \\"org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat \\\\n\\",\\n \\"outputFormat\\": \\"org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat\\\\n\\",\\n \\"serde\\": \\"org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe\\\\n\\",\\n \\"extra\\": \\"{\\\\\\"mapkey.delim\\\\\\":\\\\\\":\\\\\\",\\\\\\"collection.delim\\\\\\":\\\\\\",\\\\\\",\\\\\\"serialization.format\\\\\\":\\\\\\"|\\\\\\",\\\\\\"field.delim\\\\\\":\\\\\\"|\\\\\\"} \\\\n\\",\\n \\"partitions\\": 100,\\n \\"partitionsDoing\\": 20,\\n \\"partitionsDone\\": 80,\\n \\"partitionsFailed\\": 0,\\n \\"sourceId\\": 2000028,\\n \\"sourceName\\": \\"demo\\",\\n \\"size\\": 23232,\\n \\"numRows\\": 233232,\\n \\"updated\\": false,\\n \\"lastDdlTime\\": \\"2024-12-17 15:44:42\\\\n\\",\\n \\"status\\": \\"DONE\\"\\n }\\n}","type":"json"}]', 'title' => '获取MMA数据源内的某张表', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetMmsTable', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], ], ], 'GetMmsTask' => [ 'summary' => '获取单个迁移任务详情。', 'path' => '/api/v1/mms/datasources/{sourceId}/tasks/{taskId}', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182981', 'abilityTreeNodes' => [ 'FEATUREodpsN8WEG6', ], ], 'parameters' => [ [ 'name' => 'sourceId', 'in' => 'path', 'schema' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2000015', ], ], [ 'name' => 'taskId', 'in' => 'path', 'schema' => [ 'description' => '迁移任务ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '7680', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ApiRes', 'description' => 'ApiRes', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID', 'type' => 'string', 'example' => '73207140-0FD5-588A-B11A-3CE093924196', ], 'data' => [ 'description' => '迁移任务对象', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => '迁移任务ID', 'type' => 'integer', 'format' => 'int64', 'example' => '7680', ], 'jobId' => [ 'description' => '迁移作业ID', 'type' => 'integer', 'format' => 'int64', 'example' => '87', ], 'sourceId' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'example' => '2000015', ], 'dbId' => [ 'description' => '源库ID', 'type' => 'integer', 'format' => 'int64', 'example' => '23', ], 'tableId' => [ 'description' => '源表ID', 'type' => 'integer', 'format' => 'int64', 'example' => '2323', ], 'jobName' => [ 'description' => '迁移作业名称', 'type' => 'string', 'example' => 'test_odps_spark', ], 'sourceName' => [ 'description' => '数据源名', 'type' => 'string', 'example' => 'demo', ], 'srcDbName' => [ 'description' => '源库名', 'type' => 'string', 'example' => 'mms_test', ], 'srcSchemaName' => [ 'description' => '源schema name-三层命名空间中的schema', 'type' => 'string', 'example' => 'default', ], 'srcTableName' => [ 'description' => '源表名', 'type' => 'string', 'example' => 'table_1', ], 'dstDbName' => [ 'description' => '目标MaxCompute项目', 'type' => 'string', 'example' => 'mms_target', ], 'dstSchemaName' => [ 'description' => '目标MaxCompute Schema', 'type' => 'string', 'example' => 'default', ], 'dstTableName' => [ 'description' => '目标MaxcCompute表', 'type' => 'string', 'example' => 'table_1', ], 'type' => [ 'title' => 'MOCK, HIVE: hive udtf task, HIVE_DATAX: hive datax task, COPY_TASK: odps Copy Task, ODPS_INSERT_OVERWRITE: odps simple insert overwrite task, MC2MC_VERIFY, OSS, HIVE_OSS', 'description' => '任务类型', 'type' => 'string', 'example' => 'BIGQUERY', ], 'status' => [ 'title' => 'INIT, SCHEMA_DOING, SCHEMA_DONE, SCHEMA_FAILED, DATA_DOING, DATA_DONE, DATA_FAILED, VERIFICATION_DOING, VERIFICATION_DONE, VERIFICATION_FAILED, DONE', 'description' => '迁移任务状态', 'type' => 'string', 'enumValueTitles' => [ 'INIT' => '未运行', 'SCHEMA_DONE' => '迁移schema成功', 'SCHEMA_DOING' => '迁移schema中', 'SCHEMA_FAILED' => '迁移schema失败', 'DATA_DOING' => '迁移数据中', 'DATA_DONE' => '迁移数据成功', 'DATA_FAILED' => '迁移数据失败', ], 'example' => 'DATA_DOING', ], 'running' => [ 'description' => '是否正在运行', 'type' => 'boolean', 'example' => 'true', ], 'stopped' => [ 'description' => '是否被停止', 'type' => 'boolean', 'example' => 'false', ], 'retriedTimes' => [ 'description' => '已经重试的次数', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'startTime' => [ 'description' => '开始运行时间', 'type' => 'string', 'example' => '2024-10-25 06:21:01'."\n", ], 'endTime' => [ 'description' => '结束运行时间', 'type' => 'string', 'example' => '2024-10-25 07:21:01'."\n", ], 'createTime' => [ 'description' => '任务创建时间', 'type' => 'string', 'example' => '2024-10-25 04:21:01'."\n", ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"73207140-0FD5-588A-B11A-3CE093924196\\",\\n \\"data\\": {\\n \\"id\\": 7680,\\n \\"jobId\\": 87,\\n \\"sourceId\\": 2000015,\\n \\"dbId\\": 23,\\n \\"tableId\\": 2323,\\n \\"jobName\\": \\"test_odps_spark\\",\\n \\"sourceName\\": \\"demo\\",\\n \\"srcDbName\\": \\"mms_test\\",\\n \\"srcSchemaName\\": \\"default\\",\\n \\"srcTableName\\": \\"table_1\\",\\n \\"dstDbName\\": \\"mms_target\\",\\n \\"dstSchemaName\\": \\"default\\",\\n \\"dstTableName\\": \\"table_1\\",\\n \\"type\\": \\"BIGQUERY\\",\\n \\"status\\": \\"DATA_DOING\\",\\n \\"running\\": true,\\n \\"stopped\\": false,\\n \\"retriedTimes\\": 1,\\n \\"startTime\\": \\"2024-10-25 06:21:01\\\\n\\",\\n \\"endTime\\": \\"2024-10-25 07:21:01\\\\n\\",\\n \\"createTime\\": \\"2024-10-25 04:21:01\\\\n\\"\\n }\\n}","type":"json"}]', 'title' => '获取单个迁移任务详情', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetMmsTask', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], ], ], 'GetPackage' => [ 'path' => '/api/v1/projects/{projectName}/packages/{packageName}', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'description' => 'MaxCompute项目名称', 'type' => 'string', 'required' => true, 'example' => 'projectA', ], ], [ 'name' => 'packageName', 'in' => 'path', 'schema' => [ 'description' => 'package名称', 'type' => 'string', 'required' => true, 'example' => 'test_package', ], ], [ 'name' => 'sourceProject', 'in' => 'query', 'schema' => [ 'description' => 'package所属项目。如果package 是install 的,此参数必填。', 'type' => 'string', 'required' => false, 'example' => 'projectB', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id', 'type' => 'string', 'example' => '0b57ff8316614119858417939e3e54', ], 'httpCode' => [ 'description' => '业务成功与否。如果非空且不是200,那么表示业务处理失败。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码', 'type' => 'string', 'example' => '040002', ], 'errorMsg' => [ 'description' => '错误信息', 'type' => 'string', 'example' => '异常信息', ], 'data' => [ 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'allowedProjectList' => [ 'description' => '已经安装的项目列表', 'type' => 'array', 'items' => [ 'description' => '已经安装的项目列表', 'type' => 'object', 'properties' => [ 'label' => [ 'description' => '指定安全许可标签级别', 'type' => 'string', 'example' => '2', ], 'project' => [ 'description' => 'maxcompute项目名称', 'type' => 'string', 'example' => 'proejctB', ], ], ], ], 'resourceList' => [ 'description' => 'package内包含的资源详情', 'type' => 'object', 'properties' => [ 'table' => [ 'description' => '表列表', 'type' => 'array', 'items' => [ 'description' => '表列表', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '表名称', 'type' => 'string', 'example' => 'dim_odps'."\n", ], 'schemaName' => [ 'description' => 'schema名称。', 'type' => 'string', 'example' => 'default', ], 'actions' => [ 'description' => '表操作', 'type' => 'array', 'items' => [ 'description' => '表操作', 'type' => 'string', 'example' => 'describe', ], ], ], ], ], 'resource' => [ 'description' => '资源列表', 'type' => 'array', 'items' => [ 'description' => '资源列表', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '资源名称', 'type' => 'string', 'example' => 'res_1', ], 'schemaName' => [ 'description' => 'schema名称。', 'type' => 'string', 'example' => 'default', ], 'actions' => [ 'description' => '资源的操作', 'type' => 'array', 'items' => [ 'description' => '资源的操作', 'type' => 'string', 'example' => 'read', ], ], ], ], ], 'function' => [ 'description' => '函数列表', 'type' => 'array', 'items' => [ 'description' => '函数列表', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '函数名称', 'type' => 'string', 'example' => 'function_1', ], 'schemaName' => [ 'description' => 'schema名称。', 'type' => 'string', 'example' => 'default', ], 'actions' => [ 'description' => '函数操作', 'type' => 'array', 'items' => [ 'description' => '函数操作', 'type' => 'string', 'example' => 'read', ], ], ], ], ], ], ], ], ], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0b57ff8316614119858417939e3e54\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"040002\\",\\n \\"errorMsg\\": \\"异常信息\\",\\n \\"data\\": {\\n \\"allowedProjectList\\": [\\n {\\n \\"label\\": \\"2\\",\\n \\"project\\": \\"proejctB\\"\\n }\\n ],\\n \\"resourceList\\": {\\n \\"table\\": [\\n {\\n \\"name\\": \\"dim_odps\\\\n\\",\\n \\"schemaName\\": \\"default\\",\\n \\"actions\\": [\\n \\"describe\\"\\n ]\\n }\\n ],\\n \\"resource\\": [\\n {\\n \\"name\\": \\"res_1\\",\\n \\"schemaName\\": \\"default\\",\\n \\"actions\\": [\\n \\"read\\"\\n ]\\n }\\n ],\\n \\"function\\": [\\n {\\n \\"name\\": \\"function_1\\",\\n \\"schemaName\\": \\"default\\",\\n \\"actions\\": [\\n \\"read\\"\\n ]\\n }\\n ]\\n }\\n }\\n}","type":"json"}]', 'title' => '获取Package信息', 'summary' => '获取package信息。', 'changeSet' => [ [ 'createdAt' => '2023-12-10T11:23:54.000Z', 'description' => '响应参数发生变更', ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetPackage', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], ], ], 'GetProject' => [ 'summary' => '查询MaxCompute项目的基本信息。', 'path' => '/api/v1/projects/{projectName}', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '142482', 'abilityTreeNodes' => [ 'FEATUREodpsTZPZOE', ], ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'title' => '项目名称', 'description' => '项目名称。', 'type' => 'string', 'required' => true, 'example' => 'odps_project', ], ], [ 'name' => 'verbose', 'in' => 'query', 'schema' => [ 'title' => '是否带有安全配置附加信息', 'description' => '是否带有附加信息(securityProperties, superAdmins)', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'true', ], ], [ 'name' => 'withStorageTierInfo', 'in' => 'query', 'schema' => [ 'title' => '是否带有分层存储附加信息', 'description' => '是否带有附加信息(properties.storageTierInfo)', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'true', ], ], [ 'name' => 'withQuotaProductType', 'in' => 'query', 'schema' => [ 'title' => '是否带有项目Quota类型附加信息', 'description' => '是否带有附加信息(productType)', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'true', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => '请求返回参数。', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0b87b7b316643495896551555e855b', ], 'httpCode' => [ 'description' => 'HTTP状态码。'."\n" .'- 1xx:信息响应 - 请求已接收,正在处理中。'."\n" .'- 2xx:成功 - 请求动作已被服务端成功接收、理解并接受。'."\n" .'- 3xx:重定向 - 请求被重定向,采取进一步行动以完成请求。'."\n" .'- 4xx:客户端错误 - 请求包含错误请求参、语法或特定请求条件无法满足。'."\n" .'- 5xx:服务端错误 - 服务器由于其他原因无法满足请求。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'OBJECT_NOT_EXIST', ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => 'This object does not exist.', ], 'data' => [ 'description' => '请求返回结果。', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '项目名称。', 'type' => 'string', 'example' => 'odps_project', ], 'owner' => [ 'description' => '项目owner账号信息。', 'type' => 'string', 'example' => 'ALIYUN$odps****@aliyunid.com', ], 'type' => [ 'description' => '项目类型。取值:'."\n" .'- **managed**:内部项目。'."\n" .'- **external**:外部项目。', 'type' => 'string', 'example' => 'managed', ], 'comment' => [ 'description' => '项目描述。', 'type' => 'string', 'example' => 'BI_Analysis', ], 'defaultQuota' => [ 'description' => '默认计算Quota。'."\n" .'用于实现计算资源分配。不指定计算Quota的情况下,该项目发起的作业将消耗默认Quota资源。更多计算资源使用请参见[计算资源-Quota使用](https://help.aliyun.com/zh/maxcompute/user-guide/use-of-computing-resources)'."\n" .'[计算资源-Quota使用](https://www.alibabacloud.com/help/zh/maxcompute/user-guide/use-of-computing-resources)。', 'type' => 'string', 'example' => 'os_PayAsYouGoQuota', ], 'status' => [ 'description' => '项目状态。取值:'."\n" .'- **AVAILABLE**:正常'."\n" .'- **READONLY**:只读'."\n" .'- **FROZEN**:冻结'."\n" .'- **DELETING**:删除中', 'type' => 'string', 'example' => 'AVAILABLE', ], 'productType' => [ 'description' => '默认计算Quota的计费模式。', 'type' => 'string', 'example' => 'PayAsYouGo', ], 'threeTierModel' => [ 'description' => '是否支持按Schema存储。'."\n" .'MaxCompute支持Schema,处于Project下,Table、Resource、UDF上的对象,对Table、Resource、UDF进行归类。一个Project下可以有多个Schema。详情请参见[Schema操作](https://help.aliyun.com/zh/maxcompute/user-guide/schema-related-operations)'."\n" .'[Schema操作](https://www.alibabacloud.com/help/zh/maxcompute/user-guide/schema-related-operations)。', 'type' => 'boolean', 'example' => 'true', ], 'costStorage' => [ 'description' => '存储总量。'."\n" .'查看项目当前存储大小,此存储量与计量口径一致,即按Project采集压缩后的逻辑存储大小。', 'type' => 'string', 'example' => '16489027', ], 'regionId' => [ 'title' => '区域ID', 'description' => '地域ID。', 'type' => 'string', 'example' => 'cn-beijing', ], 'createdTime' => [ 'title' => '创建时间', 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1704380838000'."\n", ], 'properties' => [ 'description' => '项目基础属性。', 'type' => 'object', 'properties' => [ 'timezone' => [ 'description' => '项目时区,即为`odps.sql.timezone`属性。', 'type' => 'string', 'example' => 'Asia/Shanghai', ], 'retentionDays' => [ 'description' => '备份数据的保留天数。在此期间,您可以将当前版本恢复至任意一个备份的数据版本。'."\n" .'取值范围为[0,30],默认值为1,0代表关闭备份功能。', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'allowFullScan' => [ 'description' => '项目空间是否允许全表扫描。全表扫描会占用大量资源,为提升处理效率,默认关闭该功能。', 'type' => 'boolean', 'example' => 'false', ], 'typeSystem' => [ 'description' => '数据类型版本。取值:'."\n" .'- **1**:1.0版本'."\n" .'- **2**:2.0版本'."\n" .'- **hive**:hive兼容类型'."\n" ."\n" .'三种数据类型版本的区别请参见[数据类型版本说明](https://help.aliyun.com/zh/maxcompute/user-guide/data-type-editions)'."\n" .'[数据类型版本说明](https://www.alibabacloud.com/help/zh/maxcompute/user-guide/data-type-editions)。', 'type' => 'string', 'example' => '2.0', ], 'enableDecimal2' => [ 'description' => '项目是否开启MaxCompute 2.0的Decimal数据类型。', 'type' => 'boolean', 'example' => 'true', ], 'sqlMeteringMax' => [ 'description' => '单SQL消费的最高阈值。'."\n" .'单位:扫描量(GB)*复杂度。', 'type' => 'string', 'example' => '1500', ], 'tableLifecycle' => [ 'description' => '表的生命周期属性。', 'type' => 'object', 'properties' => [ 'type' => [ 'description' => '生命周期类型。取值:'."\n" .'- **mandatory**:Lifecycle子句为必选设置,用户必须设置表的生命周期。'."\n" .'- **optional**:创建表时,Lifecycle子句为可选设置,如果不设置表的生命周期,则该表永远有效。'."\n" .'- **inherit**:创建表时,如果不设置表的生命周期,则该表的生命周期为odps.table.lifecycle.value的值。', 'type' => 'string', 'example' => 'optional', ], 'value' => [ 'description' => '表的生命周期,单位为:天。取值范围为1~37231,默认值为37231。', 'type' => 'string', 'example' => '37231', ], ], ], 'encryption' => [ 'description' => '存储加密属性。', 'type' => 'object', 'properties' => [ 'enable' => [ 'description' => '项目是否需要开启数据加密功能。更多数据加密信息,请参见'."\n" .'[存储加密](https://help.aliyun.com/zh/maxcompute/security-and-compliance/storage-encryption)'."\n" .'[存储加密](https://www.alibabacloud.com/help/zh/maxcompute/security-and-compliance/storage-encryption)。', 'type' => 'boolean', 'example' => 'true', ], 'algorithm' => [ 'description' => '数据加密算法:密钥支持的加密算法,包含AES256、AESCTR和RC4。', 'type' => 'string', 'example' => 'AES256', ], 'key' => [ 'description' => '数据加密使用的密钥类型,包含默认密钥(MaxCompute Default Key)和自带密钥(BYOK)。默认密钥(MaxCompute Default Key)是MaxCompute内部创建的默认密钥。', 'type' => 'string', 'example' => 'dafault', ], ], ], 'tunnelQuota' => [ 'description' => '项目绑定的[数据传输服务](https://help.aliyun.com/zh/maxcompute/user-guide/overview-of-dts)'."\n" .'[数据传输服务](https://www.alibabacloud.com/help/zh/maxcompute/user-guide/overview-of-dts)资源组。'."\n" ."\n" .'- Default(数据传输服务共享资源组):该项目不允许使用数据传输服务(包年包月)资源组。不管开启成默认数据传输服务资源组取值是什么,该项目默认提交的数据传输服务会自动使用Default资源组。'."\n" ."\n" .'- 数据传输服务(包年包月)资源组:该项目允许使用数据传输服务(包年包月)资源组。', 'type' => 'string', 'example' => 'Default', ], 'elderTunnelQuota' => [ 'description' => '项目绑定的数据传输服务资源组父组(无需关注)。', 'type' => 'string', 'example' => 'Default_p', ], 'enableTunnelQuotaRoute' => [ 'description' => '是否开启数据传输服务资源组路由。'."\n" .'- true:表示该项目默认提交的数据传输任务会使用绑定的数据传输服务资源组。'."\n" .'- false:表示该项目默认提交的数据传输任务会使用数据传输服务共享资源组。', 'type' => 'boolean', 'example' => 'true', ], 'storageTierInfo' => [ 'description' => '[分层存储](https://help.aliyun.com/zh/maxcompute/user-guide/tiered-storage)'."\n" .'[分层存储](https://www.alibabacloud.com/help/zh/maxcompute/user-guide/tiered-storage)信息。', 'type' => 'object', 'properties' => [ 'storageTierSize' => [ 'description' => '[分层存储](https://help.aliyun.com/zh/maxcompute/user-guide/tiered-storage)'."\n" .'[分层存储](https://www.alibabacloud.com/help/zh/maxcompute/user-guide/tiered-storage)信息。', 'type' => 'object', 'properties' => [ 'standardSize' => [ 'description' => '标准存储用量。', 'type' => 'integer', 'format' => 'int64', 'example' => '27649172', ], 'longTermSize' => [ 'description' => '长期存储用量。', 'type' => 'integer', 'format' => 'int64', 'example' => '21764917', ], 'lowFrequencySize' => [ 'description' => '低频存储用量。', 'type' => 'integer', 'format' => 'int64', 'example' => '767693', ], ], ], 'projectTotalSize' => [ 'description' => '总存储用量。', 'type' => 'integer', 'format' => 'int64', 'example' => '56066037', ], 'projectBackupSize' => [ 'description' => '备份存储大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '86672917', ], ], ], 'fdcQuota' => [ 'title' => 'fdc quota', 'description' => '外表缓存Quota。', 'type' => 'string', 'example' => 'fdc_quota', ], 'enableFdcCacheForce' => [ 'title' => '是否强制开启fdc缓存', 'description' => '是否强制开启外表缓存。', 'type' => 'boolean', 'example' => 'true', ], 'enableTieredStorage' => [ 'description' => '是否开启[分层存储](https://help.aliyun.com/zh/maxcompute/user-guide/tiered-storage)'."\n" .'[分层存储](https://www.alibabacloud.com/help/zh/maxcompute/user-guide/tiered-storage)。', 'type' => 'boolean', 'example' => 'true', ], 'tableLifecycleConfig' => [ 'description' => '[分层存储生命周期规则](https://help.aliyun.com/zh/maxcompute/user-guide/tiered-storage#f61fc9db76nna)'."\n" .'[分层存储生命周期规则](https://www.alibabacloud.com/help/zh/maxcompute/user-guide/tiered-storage#f61fc9db76nna)属性,设置后系统将基于该规则触发分层存储类型自动转换。', 'type' => 'object', 'properties' => [ 'TierToLongterm' => [ 'description' => '长期存储标识。', 'type' => 'object', 'properties' => [ 'DaysAfterLastModificationGreaterThan' => [ 'description' => '距离数据最后修改时间超过多少天后自动设置,对应表或分区的`LastModifiedTime`。', 'type' => 'integer', 'format' => 'int64', 'example' => '180', ], 'DaysAfterLastAccessGreaterThan' => [ 'description' => '距离数据最后访问时间超过多少天后自动设置,对应表或分区的`LastAccessTime`。'."\n" ."\n" .'> 若表或分区的LastAccessTime为空,则:'."\n" .'> - 对于2023年10月01日前创建的表或分区,默认按照UTC+0时区的2023.10.01 00:00:00时间计算。'."\n" .'> - 对于2023年10月01日后新建的表或分区,若数据没被访问过,按照CreateTime时间计算。', 'type' => 'integer', 'format' => 'int64', 'example' => '180', ], 'DaysAfterLastTierModificationGreaterThan' => [ 'description' => '距离上次转换存储类型的时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], ], ], 'TierToLowFrequency' => [ 'description' => '低频存储标识。', 'type' => 'object', 'properties' => [ 'DaysAfterLastModificationGreaterThan' => [ 'description' => '定义距离数据最后修改时间超过多少天后自动设置,对应表或分区的`LastModifiedTime`。', 'type' => 'integer', 'format' => 'int64', 'example' => '30', ], 'DaysAfterLastAccessGreaterThan' => [ 'description' => '定义距离数据最后访问时间超过多少天后自动设置,对应表或分区的`LastAccessTime`。'."\n" ."\n" .'> 若表或分区的LastAccessTime为空,则:'."\n" .'> - 对于2023年10月01日前创建的表或分区,默认按照UTC+0时区的2023.10.01 00:00:00时间计算。'."\n" .'> - 对于2023年10月01日后新建的表或分区,若数据没被访问过,按照CreateTime时间计算。', 'type' => 'integer', 'format' => 'int64', 'example' => '30', ], 'DaysAfterLastTierModificationGreaterThan' => [ 'description' => '距离上次转换存储类型的时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], ], ], ], ], 'externalProjectProperties' => [ 'description' => '外部项目属性。', 'type' => 'object', 'properties' => [ 'isExternalCatalogBound' => [ 'description' => '是否为[湖仓一体2.0](https://help.aliyun.com/zh/maxcompute/user-guide/lake-warehouse-integrated-2-0-use-guide)'."\n" .'[湖仓一体2.0](https://www.alibabacloud.com/help/zh/maxcompute/user-guide/lake-warehouse-integrated-2-0-use-guide)外部项目。', 'type' => 'string', 'example' => 'true', ], 'tableFormat' => [ 'type' => 'string', ], 'warehouse' => [ 'type' => 'string', ], 'foreignServerName' => [ 'type' => 'string', ], 'foreignServerType' => [ 'type' => 'string', ], 'externalCatalogId' => [ 'type' => 'string', ], ], ], 'enableAutoMv' => [ 'type' => 'boolean', ], 'autoMvQuotaGb' => [ 'type' => 'integer', 'format' => 'int64', ], 'enableDr' => [ 'type' => 'boolean', ], ], ], 'superAdmins' => [ 'description' => '项目的`Super_Administrator`角色成员列表。', 'type' => 'array', 'items' => [ 'description' => '项目的`Super_Administrator`角色成员账号信息。', 'type' => 'string', 'example' => 'RAM$odps****@aliyunid.com:RAM_USER'."\n", ], ], 'securityProperties' => [ 'description' => '权限属性。', 'type' => 'object', 'properties' => [ 'usingAcl' => [ 'description' => '是否使用[ACL权限控制](https://help.aliyun.com/zh/maxcompute/user-guide/acl-based-access-control)'."\n" .'[ACL权限控制](https://www.alibabacloud.com/help/zh/maxcompute/user-guide/acl-based-access-control)功能,默认为使用状态。', 'type' => 'boolean', 'example' => 'true', ], 'usingPolicy' => [ 'description' => '是否使用[Policy权限控制](https://help.aliyun.com/zh/maxcompute/user-guide/policy-based-access-control-1)'."\n" .'[Policy权限控制](https://www.alibabacloud.com/help/zh/maxcompute/user-guide/policy-based-access-control-1)功能,默认为使用状态。', 'type' => 'boolean', 'example' => 'true', ], 'objectCreatorHasAccessPermission' => [ 'description' => '是否允许对象创建者拥有对象的访问权限,默认为允许状态。', 'type' => 'boolean', 'example' => 'true', ], 'objectCreatorHasGrantPermission' => [ 'description' => '是否允许对象创建者拥有对象的授权权限,默认为允许状态。', 'type' => 'boolean', 'example' => 'true', ], 'labelSecurity' => [ 'description' => '是否使用[Label权限控制](https://help.aliyun.com/zh/maxcompute/user-guide/label-based-access-control)'."\n" .'[Label权限控制](https://www.alibabacloud.com/help/zh/maxcompute/user-guide/label-based-access-control)功能,默认为不使用状态。', 'type' => 'boolean', 'example' => 'false', ], 'enableDownloadPrivilege' => [ 'description' => '是否使用[Download权限控制](https://help.aliyun.com/zh/maxcompute/user-guide/download-control)'."\n" .'[Download权限控制](https://www.alibabacloud.com/help/zh/maxcompute/user-guide/label-based-access-control)功能,默认为不使用状态。', 'type' => 'boolean', 'example' => 'false', ], 'projectProtection' => [ 'description' => '[数据保护机制](https://help.aliyun.com/zh/maxcompute/security-and-compliance/project-data-protection)'."\n" .'[数据保护机制](https://www.alibabacloud.com/help/zh/maxcompute/security-and-compliance/project-data-protection)属性。', 'type' => 'object', 'properties' => [ 'exceptionPolicy' => [ 'description' => '如选择开启项目空间数据保护,允许设置例外或受信任项目,指定用户将指定对象的数据流出至指定项目,所有符合Exception Policy中描述的情形都可以打破数据保护机制。', 'type' => 'string', 'example' => '{'."\n" .' "Version": "1",'."\n" .' "Statement": ['."\n" .' {'."\n" .' "Effect": "Allow",'."\n" .' "Principal": "",'."\n" .' "Action": ['."\n" .' "odps:[, , ...]"'."\n" .' ],'."\n" .' "Resource": "acs:odps:*:",'."\n" .' "Condition": {'."\n" .' "StringEquals": {'."\n" .' "odps:TaskType": ['."\n" .' ""'."\n" .' ]'."\n" .' }'."\n" .' }'."\n" .' }'."\n" .' ]'."\n" .'}', ], 'protected' => [ 'description' => '是否开启项目的[数据保护机制](https://help.aliyun.com/zh/maxcompute/security-and-compliance/project-data-protection)'."\n" .'[数据保护机制](https://www.alibabacloud.com/help/zh/maxcompute/security-and-compliance/project-data-protection),禁止或允许数据流出项目,默认为不开启状态。', 'type' => 'boolean', 'example' => 'true', ], ], ], ], ], 'ipWhiteList' => [ 'description' => 'IP白名单。', 'type' => 'object', 'properties' => [ 'ipList' => [ 'description' => '公网和云产品互联网络IP白名单。'."\n" ."\n" .'> 如果只配置公网和云产品互联网络IP白名单,则公网和云产品互联网络访问受配置限制,VPC网络访问全部禁止。', 'type' => 'string', 'example' => '10.88.111.3', ], 'vpcIpList' => [ 'description' => 'VPC网络IP白名单。'."\n" .'> 如果只配置VPC网络IP白名单,则VPC网络访问受配置限制,公网和云产品互联网络访问全部禁止。', 'type' => 'string', 'example' => '10.88.111.3', ], ], ], 'saleTag' => [ 'description' => '默认计算Quota的实例ID与付费类型。', 'type' => 'object', 'properties' => [ 'resourceId' => [ 'description' => '默认计算Quota的实例ID。', 'type' => 'string', 'example' => 'b7afb7d1-****-****-****-c393669c307b', ], 'resourceType' => [ 'description' => '默认计算Quota的付费类型。', 'type' => 'string', 'example' => 'PayAsYouGo', ], ], ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0b87b7b316643495896551555e855b\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"OBJECT_NOT_EXIST\\",\\n \\"errorMsg\\": \\"This object does not exist.\\",\\n \\"data\\": {\\n \\"name\\": \\"odps_project\\",\\n \\"owner\\": \\"ALIYUN$odps****@aliyunid.com\\",\\n \\"type\\": \\"managed\\",\\n \\"comment\\": \\"BI_Analysis\\",\\n \\"defaultQuota\\": \\"os_PayAsYouGoQuota\\",\\n \\"status\\": \\"AVAILABLE\\",\\n \\"productType\\": \\"PayAsYouGo\\",\\n \\"threeTierModel\\": true,\\n \\"costStorage\\": \\"16489027\\",\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"createdTime\\": 1704380838000,\\n \\"properties\\": {\\n \\"timezone\\": \\"Asia/Shanghai\\",\\n \\"retentionDays\\": 1,\\n \\"allowFullScan\\": false,\\n \\"typeSystem\\": \\"2.0\\",\\n \\"enableDecimal2\\": true,\\n \\"sqlMeteringMax\\": \\"1500\\",\\n \\"tableLifecycle\\": {\\n \\"type\\": \\"optional\\",\\n \\"value\\": \\"37231\\"\\n },\\n \\"encryption\\": {\\n \\"enable\\": true,\\n \\"algorithm\\": \\"AES256\\",\\n \\"key\\": \\"dafault\\"\\n },\\n \\"tunnelQuota\\": \\"Default\\",\\n \\"elderTunnelQuota\\": \\"Default_p\\",\\n \\"enableTunnelQuotaRoute\\": true,\\n \\"storageTierInfo\\": {\\n \\"storageTierSize\\": {\\n \\"standardSize\\": 27649172,\\n \\"longTermSize\\": 21764917,\\n \\"lowFrequencySize\\": 767693\\n },\\n \\"projectTotalSize\\": 56066037,\\n \\"projectBackupSize\\": 86672917\\n },\\n \\"fdcQuota\\": \\"fdc_quota\\",\\n \\"enableFdcCacheForce\\": true,\\n \\"enableTieredStorage\\": true,\\n \\"tableLifecycleConfig\\": {\\n \\"TierToLongterm\\": {\\n \\"DaysAfterLastModificationGreaterThan\\": 180,\\n \\"DaysAfterLastAccessGreaterThan\\": 180,\\n \\"DaysAfterLastTierModificationGreaterThan\\": 1\\n },\\n \\"TierToLowFrequency\\": {\\n \\"DaysAfterLastModificationGreaterThan\\": 30,\\n \\"DaysAfterLastAccessGreaterThan\\": 30,\\n \\"DaysAfterLastTierModificationGreaterThan\\": 1\\n }\\n },\\n \\"externalProjectProperties\\": {\\n \\"isExternalCatalogBound\\": \\"true\\",\\n \\"tableFormat\\": \\"\\",\\n \\"warehouse\\": \\"\\",\\n \\"foreignServerName\\": \\"\\",\\n \\"foreignServerType\\": \\"\\",\\n \\"externalCatalogId\\": \\"\\"\\n },\\n \\"enableAutoMv\\": true,\\n \\"autoMvQuotaGb\\": 0,\\n \\"enableDr\\": true\\n },\\n \\"superAdmins\\": [\\n \\"RAM$odps****@aliyunid.com:RAM_USER\\\\n\\"\\n ],\\n \\"securityProperties\\": {\\n \\"usingAcl\\": true,\\n \\"usingPolicy\\": true,\\n \\"objectCreatorHasAccessPermission\\": true,\\n \\"objectCreatorHasGrantPermission\\": true,\\n \\"labelSecurity\\": false,\\n \\"enableDownloadPrivilege\\": false,\\n \\"projectProtection\\": {\\n \\"exceptionPolicy\\": \\"{\\\\n \\\\\\"Version\\\\\\": \\\\\\"1\\\\\\",\\\\n \\\\\\"Statement\\\\\\": [\\\\n {\\\\n \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n \\\\\\"Principal\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"Action\\\\\\": [\\\\n \\\\\\"odps:[, , ...]\\\\\\"\\\\n ],\\\\n \\\\\\"Resource\\\\\\": \\\\\\"acs:odps:*:\\\\\\",\\\\n \\\\\\"Condition\\\\\\": {\\\\n \\\\\\"StringEquals\\\\\\": {\\\\n \\\\\\"odps:TaskType\\\\\\": [\\\\n \\\\\\"\\\\\\"\\\\n ]\\\\n }\\\\n }\\\\n }\\\\n ]\\\\n}\\",\\n \\"protected\\": true\\n }\\n },\\n \\"ipWhiteList\\": {\\n \\"ipList\\": \\"10.88.111.3\\",\\n \\"vpcIpList\\": \\"10.88.111.3\\"\\n },\\n \\"saleTag\\": {\\n \\"resourceId\\": \\"b7afb7d1-****-****-****-c393669c307b\\",\\n \\"resourceType\\": \\"PayAsYouGo\\"\\n }\\n }\\n}","type":"json"}]', 'title' => '获取项目信息', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '800', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetProject', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetProject', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], ], ], 'GetQuota' => [ 'summary' => '获取指定一级Quota组信息。'."\n" .'注意warning: 该接口会在2024年7月31日下线,我们会提供QueryQuota的接口替代,入参,出参,功能完全一样。', 'path' => '/api/v1/quotas/{nickname}', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '134191', 'abilityTreeNodes' => [ 'FEATUREodpsZAKNHC', ], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'nickname', 'in' => 'path', 'schema' => [ 'description' => 'Quota名称', 'type' => 'string', 'required' => true, 'example' => '%E9%BB%98%E8%AE%A4%E9%A2%84%E4%BB%98%E8%B4%B9Quota_p'."\n" ."\n" .'#中文名称需要经过utf8 urlencode编码转义', ], ], [ 'name' => 'tenantId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'deprecated' => true, 'required' => false, ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'type' => 'string', 'deprecated' => true, 'required' => false, ], ], [ 'name' => 'AkProven', 'in' => 'query', 'schema' => [ 'type' => 'string', 'deprecated' => true, 'required' => false, 'default' => '', ], ], [ 'name' => 'mock', 'in' => 'query', 'schema' => [ 'description' => '是否包含子模块。取值:-true:包含。-false(默认值):不包含。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopCompatibleResult', 'description' => 'PopCompatibleResult', 'type' => 'object', 'properties' => [ 'billingPolicy' => [ 'description' => '订单信息', 'type' => 'object', 'properties' => [ 'billingMethod' => [ 'title' => '"PAYASYOUGO" 表示后付费', 'description' => '付费模式。'."\n" .'- subscription,表示是预付费quota。'."\n" .'- payasyougo,表示是后付费quota。', 'type' => 'string', 'example' => 'subscription'."\n", ], 'odpsSpecCode' => [ 'description' => '订单规格', 'type' => 'string', 'example' => 'OdpsStandard', ], 'orderId' => [ 'description' => '订单id。', 'type' => 'string', 'example' => '45245678', ], ], ], 'saleTag' => [ 'description' => '描述了MaxCompute quota 对象的标识,这个标识与阿里云售卖账单中的标识是一致的。实际使用与标签场景下。', 'type' => 'object', 'properties' => [ 'resourceIds' => [ 'description' => 'maxcompute quota 对象的标识,这个标识在阿里云售卖子系统内也存在。通过这个标识,可以把quota 对象的费用都关联到某个标签上。', 'type' => 'array', 'items' => [ 'description' => 'maxcompute quota 对象的标识,这个标识在阿里云售卖子系统内也存在。通过这个标识,可以把quota 对象的费用都关联到某个标签上。', 'type' => 'string', 'example' => '"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd"'."\n", ], ], 'resourceType' => [ 'description' => '对象的类型,目前仅支持quota 和 project 两种类型。', 'type' => 'string', 'example' => '"quota"', ], ], ], 'cluster' => [ 'description' => '集群id。', 'type' => 'string', 'example' => 'AT-120N', ], 'createTime' => [ 'description' => '资源的创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2022-09-06T02:14:44Z'."\n", ], 'creatorId' => [ 'description' => '资源创建者,云账号UID。', 'type' => 'string', 'example' => '672863518'."\n", ], 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '0b87b7a316654730544735643e9200', ], 'id' => [ 'description' => 'quota ID', 'type' => 'string', 'example' => '0', ], 'name' => [ 'description' => 'quota名称', 'type' => 'string', 'example' => 'quota_a'."\n", ], 'nickName' => [ 'description' => 'quota别名', 'type' => 'string', 'example' => 'quota_nickname', ], 'parameter' => [ 'description' => 'quota的描述信息', 'type' => 'object', 'example' => '{"minCU":10, '."\n" .'"adhocCU":0,'."\n" .'"maxCU":10,'."\n" .'"schedulerType":"Fair",'."\n" .'}', ], 'parentId' => [ 'description' => '父资源id。', 'type' => 'string', 'example' => 'null', ], 'regionId' => [ 'description' => '地域id', 'type' => 'string', 'example' => 'cn-beijing', ], 'scheduleInfo' => [ 'description' => '分时信息。', 'type' => 'object', 'properties' => [ 'currPlan' => [ 'description' => '按照调度计划生效的quota计划', 'type' => 'string', 'example' => 'planA', ], 'currTime' => [ 'description' => 'currPlan被调度的时间', 'type' => 'string', 'example' => '0800', ], 'nextPlan' => [ 'description' => '按照调度计划将要生效的quota计划', 'type' => 'string', 'example' => 'planB', ], 'nextTime' => [ 'description' => 'next_plan被调度的时间', 'type' => 'string', 'example' => '1700', ], 'oncePlan' => [ 'description' => '立即生效的quota计划。'."\n" .'如果用户触发了立即生效且不同于curr_plan,那么非空。', 'type' => 'string', 'example' => 'planC', ], 'onceTime' => [ 'description' => '立即生效触发的时间', 'type' => 'string', 'example' => '1500', ], 'operatorName' => [ 'description' => '操作人名称。', 'type' => 'string', 'example' => 'userA', ], 'timezone' => [ 'description' => '时区', 'type' => 'string', 'example' => 'UTC+8', ], ], ], 'status' => [ 'description' => '资源状态', 'type' => 'string', 'example' => 'ON', ], 'subQuotaInfoList' => [ 'description' => '二级quota信息', 'type' => 'array', 'items' => [ 'description' => '数据', 'type' => 'object', 'properties' => [ 'billingPolicy' => [ 'description' => '订单信息', 'type' => 'object', 'properties' => [ 'billingMethod' => [ 'title' => '"PAYASYOUGO" 表示后付费', 'description' => '付费模式。'."\n" .'- subscription,表示是预付费quota。'."\n" .'- payasyougo,表示是后付费quota。', 'type' => 'string', 'example' => 'subscription', ], 'odpsSpecCode' => [ 'description' => '订单规格', 'type' => 'string', 'example' => 'OdpsStandard'."\n", ], 'orderId' => [ 'description' => '订单id。', 'type' => 'string', 'example' => '45245678'."\n", ], ], ], 'saleTag' => [ 'description' => '描述了MaxCompute quota 对象的标识,这个标识与阿里云售卖账单中的标识是一致的。实际使用与标签场景下。', 'type' => 'object', 'properties' => [ 'resourceIds' => [ 'description' => 'maxcompute quota 对象的标识,这个标识在阿里云售卖子系统内也存在。通过这个标识,可以把quota 对象的费用都关联到某个标签上。', 'type' => 'array', 'items' => [ 'description' => 'maxcompute quota 对象的标识,这个标识在阿里云售卖子系统内也存在。通过这个标识,可以把quota 对象的费用都关联到某个标签上。', 'type' => 'string', 'example' => '"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd"'."\n", ], ], 'resourceType' => [ 'description' => '对象的类型,目前仅支持quota 和 project 两种类型。', 'type' => 'string', 'example' => '"quota"', ], ], ], 'cluster' => [ 'description' => '集群id。', 'type' => 'string', 'example' => 'AT-120N'."\n", ], 'createTime' => [ 'description' => '资源创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2022-09-06T02:14:44Z'."\n", ], 'creatorId' => [ 'description' => '资源创建者,云账号UID。', 'type' => 'string', 'example' => '672863518'."\n", ], 'id' => [ 'description' => '二级quota ID', 'type' => 'string', 'example' => '1000048'."\n", ], 'name' => [ 'description' => '二级quota名称', 'type' => 'string', 'example' => 'subquotaA'."\n", ], 'nickName' => [ 'description' => '二级quota别名', 'type' => 'string', 'example' => 'subquotaA'."\n", ], 'parameter' => [ 'description' => 'quota的描述信息', 'type' => 'object', 'properties' => [ 'enablePriority' => [ 'description' => '开启优先级。', 'type' => 'boolean', 'example' => 'true', ], 'forceReservedMin' => [ 'description' => '是否独占。', 'type' => 'boolean', 'example' => 'true', ], 'maxCU' => [ 'description' => '预留CU上限。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '50', ], 'minCU' => [ 'description' => '预留CU保障。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '50', ], 'schedulerType' => [ 'description' => '调度策略。', 'type' => 'string', 'example' => 'Fifo/Fair', ], 'singleJobCULimit' => [ 'description' => '单作业CU上限。', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], 'elasticReservedCU' => [ 'description' => '弹性预留CU值。', 'type' => 'integer', 'format' => 'int64', 'example' => '50', ], ], 'example' => '{"minCU":10, '."\n" .'"adhocCU":0,'."\n" .'"maxCU":10,'."\n" .'"schedulerType":"Fair",'."\n" .'}', ], 'parentId' => [ 'description' => '父资源id。', 'type' => 'string', 'example' => '0', ], 'regionId' => [ 'description' => '地域id', 'type' => 'string', 'example' => 'cn-beijing', ], 'scheduleInfo' => [ 'description' => '分时信息。', 'type' => 'object', 'properties' => [ 'currPlan' => [ 'description' => '按照调度计划生效的quota计划', 'type' => 'string', 'example' => 'planA', ], 'currTime' => [ 'description' => 'currPlan被调度的时间', 'type' => 'string', 'example' => '0800', ], 'nextPlan' => [ 'description' => '按照调度计划将要生效的quota计划', 'type' => 'string', 'example' => 'planB', ], 'nextTime' => [ 'description' => 'next_plan被调度的时间', 'type' => 'string', 'example' => '1700', ], 'oncePlan' => [ 'description' => '立即生效的quota计划。'."\n" .'如果用户触发了立即生效且不同于curr_plan,那么非空。', 'type' => 'string', 'example' => 'planC', ], 'onceTime' => [ 'description' => '立即生效触发的时间', 'type' => 'string', 'example' => '1500', ], 'operatorName' => [ 'description' => '操作人名称。', 'type' => 'string', 'example' => 'userA'."\n", ], 'timezone' => [ 'description' => '时区', 'type' => 'string', 'example' => 'UTC+8', ], ], ], 'status' => [ 'description' => '资源状态', 'type' => 'string', 'example' => 'ON'."\n", ], 'tag' => [ 'description' => 'quota的资源标签', 'type' => 'string', 'example' => 'abc', ], 'tenantId' => [ 'description' => '租户id。', 'type' => 'string', 'example' => '478403690625249', ], 'type' => [ 'title' => '对应控制集群的resourceSystemType字段', 'description' => '对应控制集群的resourceSystemType字段', 'type' => 'string', 'example' => 'FUXI_ONLINE', ], 'version' => [ 'description' => '版本号', 'type' => 'string', 'example' => '1', ], ], ], ], 'tag' => [ 'description' => 'quota的资源标签', 'type' => 'string', 'example' => 'abc', ], 'tenantId' => [ 'description' => '租户id。', 'type' => 'string', 'example' => '478403690625249', ], 'type' => [ 'title' => '对应控制集群的resourceSystemType字段', 'description' => '对应控制集群的resourceSystemType字段', 'type' => 'string', 'example' => 'FUXI_ONLINE', ], 'version' => [ 'description' => '版本号。', 'type' => 'string', 'example' => '1', ], 'data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => 'quota ID', 'type' => 'string', 'example' => '0', ], 'name' => [ 'description' => 'quota名称', 'type' => 'string', 'example' => 'quota_a', ], 'nickName' => [ 'description' => 'Quota别名', 'type' => 'string', 'example' => 'quota_nickname', ], 'type' => [ 'title' => '对应控制集群的resourceSystemType字段', 'description' => '对应控制集群的resourceSystemType字段', 'type' => 'string', 'example' => 'FUXI_ONLINE', ], 'status' => [ 'description' => '资源状态', 'type' => 'string', 'example' => 'ON', ], 'saleTag' => [ 'description' => '描述了MaxCompute quota 对象的标识,这个标识与阿里云售卖账单中的标识是一致的。实际使用与标签场景下。', 'type' => 'object', 'properties' => [ 'resourceIds' => [ 'description' => 'maxcompute quota 对象的标识,这个标识在阿里云售卖子系统内也存在。通过这个标识,可以把quota 对象的费用都关联到某个标签上。', 'type' => 'array', 'items' => [ 'description' => 'maxcompute quota 对象的标识,这个标识在阿里云售卖子系统内也存在。通过这个标识,可以把quota 对象的费用都关联到某个标签上。', 'type' => 'string', 'example' => '"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd"'."\n", ], ], 'resourceType' => [ 'description' => '对象的类型,目前仅支持quota 和 project 两种类型。', 'type' => 'string', 'example' => '"quota"'."\n", ], ], ], 'tenantId' => [ 'description' => '租户id。', 'type' => 'string', 'example' => '478403690625249', ], 'regionId' => [ 'description' => '地域id', 'type' => 'string', 'example' => 'cn-beijing', ], 'parentId' => [ 'description' => '父资源id。', 'type' => 'string', 'example' => 'null', ], 'cluster' => [ 'description' => '集群id。', 'type' => 'string', 'example' => 'AT-120N', ], 'version' => [ 'description' => '版本号', 'type' => 'string', 'example' => '1', ], 'billingPolicy' => [ 'description' => '订单信息', 'type' => 'object', 'properties' => [ 'odpsSpecCode' => [ 'description' => '订单规格', 'type' => 'string', 'example' => 'OdpsStandard', ], 'orderId' => [ 'description' => '订单id。', 'type' => 'string', 'example' => '45245678', ], 'billingMethod' => [ 'title' => '"PAYASYOUGO" 表示后付费', 'description' => '付费模式。'."\n" .'- subscription,表示是预付费quota。'."\n" .'- payasyougo,表示是后付费quota。', 'type' => 'string', 'example' => 'subscription', ], ], ], 'scheduleInfo' => [ 'description' => '分时信息。', 'type' => 'object', 'properties' => [ 'currPlan' => [ 'description' => '按照调度计划生效的quota计划', 'type' => 'string', 'example' => 'planA', ], 'currTime' => [ 'description' => 'currPlan被调度的时间', 'type' => 'string', 'example' => '0800', ], 'nextPlan' => [ 'description' => '按照调度计划将要生效的quota计划', 'type' => 'string', 'example' => 'planB', ], 'nextTime' => [ 'description' => 'next_plan被调度的时间', 'type' => 'string', 'example' => '1700', ], 'oncePlan' => [ 'description' => '立即生效的quota计划。'."\n" .'如果用户触发了立即生效且不同于curr_plan,那么非空。', 'type' => 'string', 'example' => 'planC', ], 'onceTime' => [ 'description' => '立即生效触发的时间', 'type' => 'string', 'example' => '1500', ], 'operatorName' => [ 'description' => '操作人名称。', 'type' => 'string', 'example' => 'userA', ], 'timezone' => [ 'description' => '时区', 'type' => 'string', 'example' => 'UTC+8', ], ], ], 'parameter' => [ 'description' => 'quota的描述信息', 'type' => 'object', 'example' => '{"minCU":10, '."\n" .'"adhocCU":0,'."\n" .'"maxCU":10,'."\n" .'"schedulerType":"Fair",'."\n" .'}', ], 'tag' => [ 'description' => 'quota的资源标签', 'type' => 'string', 'example' => 'abc', ], 'createTime' => [ 'description' => '资源创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2022-09-06T02:14:44Z', ], 'creatorId' => [ 'description' => '资源创建者,云账号UID。', 'type' => 'string', 'example' => '672863518', ], 'subQuotaInfoList' => [ 'description' => '二级quota信息', 'type' => 'array', 'items' => [ 'description' => '数据', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => '二级quota ID', 'type' => 'string', 'example' => '1000048', ], 'name' => [ 'description' => '二级quota名称', 'type' => 'string', 'example' => 'subquotaA', ], 'saleTag' => [ 'description' => '描述了MaxCompute quota 对象的标识,这个标识与阿里云售卖账单中的标识是一致的。实际使用与标签场景下。', 'type' => 'object', 'properties' => [ 'resourceIds' => [ 'description' => 'maxcompute quota 对象的标识,这个标识在阿里云售卖子系统内也存在。通过这个标识,可以把quota 对象的费用都关联到某个标签上。', 'type' => 'array', 'items' => [ 'description' => 'maxcompute quota 对象的标识,这个标识在阿里云售卖子系统内也存在。通过这个标识,可以把quota 对象的费用都关联到某个标签上。', 'type' => 'string', 'example' => '"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd"'."\n", ], ], 'resourceType' => [ 'description' => '对象的类型,目前仅支持quota 和 project 两种类型。', 'type' => 'string', 'example' => '"quota"'."\n", ], ], ], 'nickName' => [ 'description' => '二级quota昵称', 'type' => 'string', 'example' => 'subquotaA', ], 'type' => [ 'title' => '对应控制集群的resourceSystemType字段', 'description' => '对应控制集群的resourceSystemType字段', 'type' => 'string', 'example' => 'FUXI_ONLINE', ], 'status' => [ 'description' => '资源状态', 'type' => 'string', 'example' => 'ON', ], 'tenantId' => [ 'description' => '租户id。', 'type' => 'string', 'example' => '478403690625249'."\n", ], 'regionId' => [ 'description' => '地域id。', 'type' => 'string', 'example' => 'cn-beijing', ], 'parentId' => [ 'description' => '父资源id。', 'type' => 'string', 'example' => '0', ], 'cluster' => [ 'description' => '集群id', 'type' => 'string', 'example' => 'AT-120N'."\n", ], 'version' => [ 'description' => '版本号。', 'type' => 'string', 'example' => '1', ], 'billingPolicy' => [ 'description' => '订单信息', 'type' => 'object', 'properties' => [ 'odpsSpecCode' => [ 'description' => '订单规格', 'type' => 'string', 'example' => 'OdpsStandard', ], 'orderId' => [ 'description' => '订单id。', 'type' => 'string', 'example' => '45245678', ], 'billingMethod' => [ 'title' => '"PAYASYOUGO" 表示后付费', 'description' => '付费模式。'."\n" .'- subscription,表示是预付费quota。'."\n" .'- payasyougo,表示是后付费quota。', 'type' => 'string', 'example' => 'subscription', ], ], ], 'scheduleInfo' => [ 'description' => '分时信息', 'type' => 'object', 'properties' => [ 'currPlan' => [ 'description' => '按照调度计划生效的quota计划', 'type' => 'string', 'example' => 'planA', ], 'currTime' => [ 'description' => 'currPlan被调度的时间', 'type' => 'string', 'example' => '0800', ], 'nextPlan' => [ 'description' => '按照调度计划将要生效的quota计划', 'type' => 'string', 'example' => 'planB', ], 'nextTime' => [ 'description' => 'next_plan被调度的时间', 'type' => 'string', 'example' => '1700', ], 'oncePlan' => [ 'description' => '立即生效的quota计划。'."\n" .'如果用户触发了立即生效且不同于curr_plan,那么非空。', 'type' => 'string', 'example' => 'planC', ], 'onceTime' => [ 'description' => '立即生效触发的时间', 'type' => 'string', 'example' => '1500', ], 'operatorName' => [ 'description' => '操作人名称。', 'type' => 'string', 'example' => 'userA', ], 'timezone' => [ 'description' => '时区', 'type' => 'string', 'example' => 'UTC+8', ], ], ], 'parameter' => [ 'description' => 'quota的描述信息', 'type' => 'object', 'properties' => [ 'enablePriority' => [ 'description' => '开启优先级。', 'type' => 'boolean', 'example' => 'true', ], 'forceReservedMin' => [ 'description' => '是否独占。', 'type' => 'boolean', 'example' => 'true', ], 'maxCU' => [ 'description' => '预留CU上限。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '50', ], 'minCU' => [ 'description' => '预留CU保障。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '50', ], 'schedulerType' => [ 'description' => '调度策略。', 'type' => 'string', 'example' => 'Fifo/Fair'."\n", ], 'singleJobCULimit' => [ 'description' => '单作业CU上限。', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], 'elasticReservedCU' => [ 'description' => '弹性预留CU值。', 'type' => 'integer', 'format' => 'int64', 'example' => '50', ], ], ], 'tag' => [ 'description' => 'quota的资源标签', 'type' => 'string', 'example' => 'abc', ], 'createTime' => [ 'description' => '资源创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2022-09-06T02:14:44Z'."\n", ], 'creatorId' => [ 'description' => '资源创建者,云账号UID。', 'type' => 'string', 'example' => '672863518', ], ], ], ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"billingPolicy\\": {\\n \\"billingMethod\\": \\"subscription\\\\n\\",\\n \\"odpsSpecCode\\": \\"OdpsStandard\\",\\n \\"orderId\\": \\"45245678\\"\\n },\\n \\"saleTag\\": {\\n \\"resourceIds\\": [\\n \\"\\\\\\"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd\\\\\\"\\\\n\\"\\n ],\\n \\"resourceType\\": \\"\\\\\\"quota\\\\\\"\\"\\n },\\n \\"cluster\\": \\"AT-120N\\",\\n \\"createTime\\": 0,\\n \\"creatorId\\": \\"672863518\\\\n\\",\\n \\"requestId\\": \\"0b87b7a316654730544735643e9200\\",\\n \\"id\\": \\"0\\",\\n \\"name\\": \\"quota_a\\\\n\\",\\n \\"nickName\\": \\"quota_nickname\\",\\n \\"parameter\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"parentId\\": \\"null\\",\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"scheduleInfo\\": {\\n \\"currPlan\\": \\"planA\\",\\n \\"currTime\\": \\"0800\\",\\n \\"nextPlan\\": \\"planB\\",\\n \\"nextTime\\": \\"1700\\",\\n \\"oncePlan\\": \\"planC\\",\\n \\"onceTime\\": \\"1500\\",\\n \\"operatorName\\": \\"userA\\",\\n \\"timezone\\": \\"UTC+8\\"\\n },\\n \\"status\\": \\"ON\\",\\n \\"subQuotaInfoList\\": [\\n {\\n \\"billingPolicy\\": {\\n \\"billingMethod\\": \\"subscription\\",\\n \\"odpsSpecCode\\": \\"OdpsStandard\\\\n\\",\\n \\"orderId\\": \\"45245678\\\\n\\"\\n },\\n \\"saleTag\\": {\\n \\"resourceIds\\": [\\n \\"\\\\\\"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd\\\\\\"\\\\n\\"\\n ],\\n \\"resourceType\\": \\"\\\\\\"quota\\\\\\"\\"\\n },\\n \\"cluster\\": \\"AT-120N\\\\n\\",\\n \\"createTime\\": 0,\\n \\"creatorId\\": \\"672863518\\\\n\\",\\n \\"id\\": \\"1000048\\\\n\\",\\n \\"name\\": \\"subquotaA\\\\n\\",\\n \\"nickName\\": \\"subquotaA\\\\n\\",\\n \\"parameter\\": {\\n \\"enablePriority\\": true,\\n \\"forceReservedMin\\": true,\\n \\"maxCU\\": 50,\\n \\"minCU\\": 50,\\n \\"schedulerType\\": \\"Fifo/Fair\\",\\n \\"singleJobCULimit\\": 10,\\n \\"elasticReservedCU\\": 50\\n },\\n \\"parentId\\": \\"0\\",\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"scheduleInfo\\": {\\n \\"currPlan\\": \\"planA\\",\\n \\"currTime\\": \\"0800\\",\\n \\"nextPlan\\": \\"planB\\",\\n \\"nextTime\\": \\"1700\\",\\n \\"oncePlan\\": \\"planC\\",\\n \\"onceTime\\": \\"1500\\",\\n \\"operatorName\\": \\"userA\\\\n\\",\\n \\"timezone\\": \\"UTC+8\\"\\n },\\n \\"status\\": \\"ON\\\\n\\",\\n \\"tag\\": \\"abc\\",\\n \\"tenantId\\": \\"478403690625249\\",\\n \\"type\\": \\"FUXI_ONLINE\\",\\n \\"version\\": \\"1\\"\\n }\\n ],\\n \\"tag\\": \\"abc\\",\\n \\"tenantId\\": \\"478403690625249\\",\\n \\"type\\": \\"FUXI_ONLINE\\",\\n \\"version\\": \\"1\\",\\n \\"data\\": {\\n \\"id\\": \\"0\\",\\n \\"name\\": \\"quota_a\\",\\n \\"nickName\\": \\"quota_nickname\\",\\n \\"type\\": \\"FUXI_ONLINE\\",\\n \\"status\\": \\"ON\\",\\n \\"saleTag\\": {\\n \\"resourceIds\\": [\\n \\"\\\\\\"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd\\\\\\"\\\\n\\"\\n ],\\n \\"resourceType\\": \\"\\\\\\"quota\\\\\\"\\\\n\\"\\n },\\n \\"tenantId\\": \\"478403690625249\\",\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"parentId\\": \\"null\\",\\n \\"cluster\\": \\"AT-120N\\",\\n \\"version\\": \\"1\\",\\n \\"billingPolicy\\": {\\n \\"odpsSpecCode\\": \\"OdpsStandard\\",\\n \\"orderId\\": \\"45245678\\",\\n \\"billingMethod\\": \\"subscription\\"\\n },\\n \\"scheduleInfo\\": {\\n \\"currPlan\\": \\"planA\\",\\n \\"currTime\\": \\"0800\\",\\n \\"nextPlan\\": \\"planB\\",\\n \\"nextTime\\": \\"1700\\",\\n \\"oncePlan\\": \\"planC\\",\\n \\"onceTime\\": \\"1500\\",\\n \\"operatorName\\": \\"userA\\",\\n \\"timezone\\": \\"UTC+8\\"\\n },\\n \\"parameter\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"tag\\": \\"abc\\",\\n \\"createTime\\": 0,\\n \\"creatorId\\": \\"672863518\\",\\n \\"subQuotaInfoList\\": [\\n {\\n \\"id\\": \\"1000048\\",\\n \\"name\\": \\"subquotaA\\",\\n \\"saleTag\\": {\\n \\"resourceIds\\": [\\n \\"\\\\\\"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd\\\\\\"\\\\n\\"\\n ],\\n \\"resourceType\\": \\"\\\\\\"quota\\\\\\"\\\\n\\"\\n },\\n \\"nickName\\": \\"subquotaA\\",\\n \\"type\\": \\"FUXI_ONLINE\\",\\n \\"status\\": \\"ON\\",\\n \\"tenantId\\": \\"478403690625249\\\\n\\",\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"parentId\\": \\"0\\",\\n \\"cluster\\": \\"AT-120N\\\\n\\",\\n \\"version\\": \\"1\\",\\n \\"billingPolicy\\": {\\n \\"odpsSpecCode\\": \\"OdpsStandard\\",\\n \\"orderId\\": \\"45245678\\",\\n \\"billingMethod\\": \\"subscription\\"\\n },\\n \\"scheduleInfo\\": {\\n \\"currPlan\\": \\"planA\\",\\n \\"currTime\\": \\"0800\\",\\n \\"nextPlan\\": \\"planB\\",\\n \\"nextTime\\": \\"1700\\",\\n \\"oncePlan\\": \\"planC\\",\\n \\"onceTime\\": \\"1500\\",\\n \\"operatorName\\": \\"userA\\",\\n \\"timezone\\": \\"UTC+8\\"\\n },\\n \\"parameter\\": {\\n \\"enablePriority\\": true,\\n \\"forceReservedMin\\": true,\\n \\"maxCU\\": 50,\\n \\"minCU\\": 50,\\n \\"schedulerType\\": \\"Fifo/Fair\\\\n\\",\\n \\"singleJobCULimit\\": 10,\\n \\"elasticReservedCU\\": 50\\n },\\n \\"tag\\": \\"abc\\",\\n \\"createTime\\": 0,\\n \\"creatorId\\": \\"672863518\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '获取指定一级Quota组信息', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetQuota', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], ], ], 'GetQuotaPlan' => [ 'path' => '/api/v1/quotas/{nickname}/plans/{planName}', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '142707', 'abilityTreeNodes' => [ 'FEATUREodpsZAKNHC', ], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'nickname', 'in' => 'path', 'schema' => [ 'description' => 'Quota名称', 'type' => 'string', 'required' => true, 'example' => 'quotaA', ], ], [ 'name' => 'planName', 'in' => 'path', 'schema' => [ 'description' => 'Quota计划名称', 'type' => 'string', 'required' => true, 'example' => 'planA', ], ], [ 'name' => 'tenantId', 'in' => 'query', 'schema' => [ 'description' => '租户id。', 'type' => 'string', 'required' => false, 'example' => '483212237127906', ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'description' => '地域id。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '0be3e0aa16667684362147582e038f', ], 'data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => 'quota计划名称', 'type' => 'string', 'example' => 'planA', ], 'createTime' => [ 'description' => '创建时间。', 'type' => 'string', 'example' => '2022-05-16T06:07:45Z', ], 'quota' => [ 'description' => 'quota详情', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => 'quota ID', 'type' => 'string', 'example' => '0', ], 'name' => [ 'description' => 'quota名称', 'type' => 'string', 'example' => 'quota_a'."\n", ], 'nickName' => [ 'description' => 'quota别名', 'type' => 'string', 'example' => 'quota_nickname', ], 'type' => [ 'title' => '对应控制集群的resourceSystemType字段', 'description' => '对应控制集群的resourceSystemType字段', 'type' => 'string', 'example' => 'FUXI_ONLINE', ], 'status' => [ 'description' => '资源状态', 'type' => 'string', 'example' => 'ON', ], 'tenantId' => [ 'description' => '租户id。', 'type' => 'string', 'example' => '478403690625249', ], 'regionId' => [ 'description' => '地域id。', 'type' => 'string', 'example' => 'cn-beijing', ], 'parentId' => [ 'description' => '父资源id。', 'type' => 'string', 'example' => 'null', ], 'cluster' => [ 'description' => '集群id。', 'type' => 'string', 'example' => 'AT-120N'."\n", ], 'version' => [ 'description' => '版本号。', 'type' => 'string', 'example' => '1', ], 'billingPolicy' => [ 'description' => '订单信息', 'type' => 'object', 'properties' => [ 'odpsSpecCode' => [ 'description' => '订单规格', 'type' => 'string', 'example' => 'OdpsStandard', ], 'orderId' => [ 'description' => '订单号。', 'type' => 'string', 'example' => '45245678', ], 'billingMethod' => [ 'title' => '"PAYASYOUGO" 表示后付费', 'description' => '付费模式。'."\n" .'- subscription,表示是预付费quota。'."\n" .'- payasyougo,表示是后付费quota。', 'type' => 'string', 'example' => 'subscription', ], ], ], 'scheduleInfo' => [ 'description' => '分时信息', 'type' => 'object', 'properties' => [ 'currPlan' => [ 'description' => '按照调度计划生效的quota计划', 'type' => 'string', 'example' => 'planA', ], 'currTime' => [ 'description' => 'currPlan被调度的时间', 'type' => 'string', 'example' => '0800', ], 'nextPlan' => [ 'description' => '按照调度计划将要生效的quota plan', 'type' => 'string', 'example' => 'planB', ], 'nextTime' => [ 'description' => 'next_plan被调度的时间', 'type' => 'string', 'example' => '1700', ], 'oncePlan' => [ 'description' => '如果用户触发了立即生效且不同于curr_plan,那么非空。', 'type' => 'string', 'example' => 'planC', ], 'onceTime' => [ 'description' => '立即生效触发的时间', 'type' => 'string', 'example' => '1500', ], 'operatorName' => [ 'description' => '操作者名称。', 'type' => 'string', 'example' => 'userA', ], ], ], 'parameter' => [ 'description' => 'quota的描述信息', 'type' => 'object', ], 'tag' => [ 'description' => 'quota的资源标签', 'type' => 'string', 'example' => 'abc', ], 'createTime' => [ 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '2022-09-06T02:14:44Z'."\n", ], 'creatorId' => [ 'description' => '资源创建者,云账号UID。', 'type' => 'string', 'example' => '672863518', ], 'subQuotaInfoList' => [ 'description' => '二级quota信息', 'type' => 'array', 'items' => [ 'description' => '二级quota信息', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => '二级quota ID', 'type' => 'string', 'example' => '1000048', ], 'name' => [ 'description' => '二级quota名称', 'type' => 'string', 'example' => 'subquotaA', ], 'nickName' => [ 'description' => '二级quota别名', 'type' => 'string', 'example' => 'subquotaA', ], 'type' => [ 'title' => '对应控制集群的resourceSystemType字段', 'description' => '对应控制集群的resourceSystemType字段', 'type' => 'string', 'example' => 'FUXI_ONLINE', ], 'status' => [ 'description' => '资源状态', 'type' => 'string', 'example' => 'ON', ], 'tenantId' => [ 'description' => '租户id。', 'type' => 'string', 'example' => '478403690625249', ], 'regionId' => [ 'description' => '地域id。', 'type' => 'string', 'example' => 'cn-beijing', ], 'parentId' => [ 'description' => '父资源id。', 'type' => 'string', 'example' => '0', ], 'cluster' => [ 'description' => '集群id', 'type' => 'string', 'example' => 'AT-120N'."\n", ], 'version' => [ 'description' => '版本号', 'type' => 'string', 'example' => '1', ], 'billingPolicy' => [ 'description' => '订单信息', 'type' => 'object', 'properties' => [ 'odpsSpecCode' => [ 'description' => '订单规格', 'type' => 'string', 'example' => 'OdpsStandard', ], 'orderId' => [ 'description' => '订单id。', 'type' => 'string', 'example' => '45245678', ], 'billingMethod' => [ 'title' => '"PAYASYOUGO" 表示后付费', 'description' => '付费模式。'."\n" .'- subscription,表示是预付费quota。'."\n" .'- payasyougo,表示是后付费quota。', 'type' => 'string', 'example' => 'subscription', ], ], ], 'scheduleInfo' => [ 'description' => '分时信息。', 'type' => 'object', 'properties' => [ 'currPlan' => [ 'description' => '按照调度计划生效的quota计划', 'type' => 'string', 'example' => 'planA', ], 'currTime' => [ 'description' => 'currPlan被调度的时间', 'type' => 'string', 'example' => '0800', ], 'nextPlan' => [ 'description' => '计划将要生效的quota计划', 'type' => 'string', 'example' => 'planB', ], 'nextTime' => [ 'description' => 'next_plan被调度的时间', 'type' => 'string', 'example' => '1700', ], 'oncePlan' => [ 'description' => '如果用户触发了立即生效且不同于curr_plan,那么非空。', 'type' => 'string', 'example' => 'planC', ], 'onceTime' => [ 'description' => '立即生效触发的时间', 'type' => 'string', 'example' => '1500', ], 'operatorName' => [ 'description' => '操作者名称。', 'type' => 'string', 'example' => 'userA', ], ], ], 'parameter' => [ 'description' => 'quota的描述信息', 'type' => 'object', ], 'tag' => [ 'description' => 'quota的资源标签', 'type' => 'string', 'example' => 'abc', ], 'createTime' => [ 'description' => '资源创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2022-09-06T02:14:44Z'."\n", ], 'creatorId' => [ 'description' => '创建者id。', 'type' => 'string', 'example' => '672863518', ], ], ], ], ], ], ], ], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0be3e0aa16667684362147582e038f\\",\\n \\"data\\": {\\n \\"name\\": \\"planA\\",\\n \\"createTime\\": \\"2022-05-16T06:07:45Z\\",\\n \\"quota\\": {\\n \\"id\\": \\"0\\",\\n \\"name\\": \\"quota_a\\\\n\\",\\n \\"nickName\\": \\"quota_nickname\\",\\n \\"type\\": \\"FUXI_ONLINE\\",\\n \\"status\\": \\"ON\\",\\n \\"tenantId\\": \\"478403690625249\\",\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"parentId\\": \\"null\\",\\n \\"cluster\\": \\"AT-120N\\\\n\\",\\n \\"version\\": \\"1\\",\\n \\"billingPolicy\\": {\\n \\"odpsSpecCode\\": \\"OdpsStandard\\",\\n \\"orderId\\": \\"45245678\\",\\n \\"billingMethod\\": \\"subscription\\"\\n },\\n \\"scheduleInfo\\": {\\n \\"currPlan\\": \\"planA\\",\\n \\"currTime\\": \\"0800\\",\\n \\"nextPlan\\": \\"planB\\",\\n \\"nextTime\\": \\"1700\\",\\n \\"oncePlan\\": \\"planC\\",\\n \\"onceTime\\": \\"1500\\",\\n \\"operatorName\\": \\"userA\\"\\n },\\n \\"parameter\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"tag\\": \\"abc\\",\\n \\"createTime\\": 0,\\n \\"creatorId\\": \\"672863518\\",\\n \\"subQuotaInfoList\\": [\\n {\\n \\"id\\": \\"1000048\\",\\n \\"name\\": \\"subquotaA\\",\\n \\"nickName\\": \\"subquotaA\\",\\n \\"type\\": \\"FUXI_ONLINE\\",\\n \\"status\\": \\"ON\\",\\n \\"tenantId\\": \\"478403690625249\\",\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"parentId\\": \\"0\\",\\n \\"cluster\\": \\"AT-120N\\\\n\\",\\n \\"version\\": \\"1\\",\\n \\"billingPolicy\\": {\\n \\"odpsSpecCode\\": \\"OdpsStandard\\",\\n \\"orderId\\": \\"45245678\\",\\n \\"billingMethod\\": \\"subscription\\"\\n },\\n \\"scheduleInfo\\": {\\n \\"currPlan\\": \\"planA\\",\\n \\"currTime\\": \\"0800\\",\\n \\"nextPlan\\": \\"planB\\",\\n \\"nextTime\\": \\"1700\\",\\n \\"oncePlan\\": \\"planC\\",\\n \\"onceTime\\": \\"1500\\",\\n \\"operatorName\\": \\"userA\\"\\n },\\n \\"parameter\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"tag\\": \\"abc\\",\\n \\"createTime\\": 0,\\n \\"creatorId\\": \\"672863518\\"\\n }\\n ]\\n }\\n }\\n}","type":"json"}]', 'title' => '获取Quota计划信息', 'summary' => '获取Quota计划信息。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetQuotaPlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], ], ], 'GetQuotaSchedule' => [ 'path' => '/api/v1/quotas/{nickname}/schedule', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'nickname', 'in' => 'path', 'schema' => [ 'description' => 'Quota名称。', 'type' => 'string', 'required' => true, 'example' => '%E9%BB%98%E8%AE%A4%E9%A2%84%E4%BB%98%E8%B4%B9Quota_p'."\n" ."\n" .'#中文名称需要经过utf8 urlencode编码转义', ], ], [ 'name' => 'tenantId', 'in' => 'query', 'schema' => [ 'description' => '租户ID。', 'type' => 'string', 'required' => false, 'example' => '478403690625249', ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', ], ], [ 'name' => 'displayTimezone', 'in' => 'query', 'schema' => [ 'description' => '显示时区。', 'type' => 'string', 'required' => false, 'example' => 'UTC+8', 'default' => 'UTC+8', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult>', 'description' => 'PopResult>', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '0bc059b716696296266308790e0d3e', ], 'httpCode' => [ 'description' => '业务状态码。如果非空且不是200,那么表示业务处理失败。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码或空值。'."\n" .'- 当success为false,返回业务错误码。'."\n" .' '."\n" .'- 当success为true,返回空值。', 'type' => 'string', 'example' => 'success', ], 'errorMsg' => [ 'description' => '错误描述信息。', 'type' => 'string', 'example' => '异常信息', ], 'data' => [ 'description' => '返回数据。', 'type' => 'array', 'items' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => 'quota计划id。', 'type' => 'string', 'example' => '63', ], 'type' => [ 'description' => '类型。', 'type' => 'string', 'example' => 'once', ], 'plan' => [ 'description' => '计划名称。', 'type' => 'string', 'example' => 'planA', ], 'condition' => [ 'description' => '条件值。', 'type' => 'object', 'properties' => [ 'at' => [ 'description' => '生效时间。', 'type' => 'string', 'example' => '0900', ], 'after' => [ 'description' => '生效开始时间。', 'type' => 'string', 'example' => '2022-04-25T04:23:04Z'."\n", ], ], ], 'operator' => [ 'description' => '操作者名称。', 'type' => 'string', 'example' => 'userA', ], 'timezone' => [ 'description' => '时区。', 'type' => 'string', 'example' => 'UTC+8', ], ], ], ], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0bc059b716696296266308790e0d3e\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"success\\",\\n \\"errorMsg\\": \\"异常信息\\",\\n \\"data\\": [\\n {\\n \\"id\\": \\"63\\",\\n \\"type\\": \\"once\\",\\n \\"plan\\": \\"planA\\",\\n \\"condition\\": {\\n \\"at\\": \\"0900\\",\\n \\"after\\": \\"2022-04-25T04:23:04Z\\\\n\\"\\n },\\n \\"operator\\": \\"userA\\",\\n \\"timezone\\": \\"UTC+8\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => '获取Quota时间计划信息', 'summary' => '获取Quota时间计划信息。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetQuotaSchedule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], ], ], 'GetQuotaUsage' => [ 'path' => '/api/v1/quotas/{nickname}/usage', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '124741', 'abilityTreeNodes' => [ 'FEATUREodps2B6Z0N', ], ], 'parameters' => [ [ 'name' => 'nickname', 'in' => 'path', 'schema' => [ 'description' => '一级Quota昵称。', 'type' => 'string', 'required' => true, 'example' => 'os_quota_p', ], ], [ 'name' => 'tenantId', 'in' => 'query', 'schema' => [ 'description' => '租户ID。可以通过登录MaxCompute控制台,在左侧导航栏选择租户管理>租户属性查看。', 'type' => 'string', 'required' => false, 'example' => '478403690625249', ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-chengdu', ], ], [ 'name' => 'from', 'in' => 'query', 'schema' => [ 'description' => '查询开始时间点。该时间是指写入日志数据时指定的日志时间。'."\n" ."\n" .'- 请求参数**from**和**to**定义的时间区间遵循左闭右开原则,即该时间区间包括区间开始时间点,但不包括区间结束时间点。如果**from**和**to**的值相同,则为无效区间,函数直接返回错误。'."\n" .'- Unix时间戳格式,表示从1970-1-1 00:00:00 UTC计算起的秒数。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1669081045', ], ], [ 'name' => 'to', 'in' => 'query', 'schema' => [ 'description' => '查询结束时间点。该时间是指写入日志数据时指定的日志时间。'."\n" ."\n" .'- 请求参数**from**和**to**定义的时间区间遵循左闭右开原则,即该时间区间包括区间开始时间点,但不包括区间结束时间点。如果**from**和**to**的值相同,则为无效区间,函数直接返回错误。'."\n" .'- Unix时间戳格式,表示从1970-1-1 00:00:00 UTC计算起的秒数。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1669360870', ], ], [ 'name' => 'subQuotaNickname', 'in' => 'query', 'schema' => [ 'description' => '二级Quota昵称。', 'type' => 'string', 'required' => false, 'example' => 'ot_tunnel_quota', ], ], [ 'name' => 'aggMethod', 'in' => 'query', 'schema' => [ 'description' => '聚合算法。当获取计算Quota计算资源消耗数据时,为优化页面体验,每个指标至多支持展示60个点,因此当时间范围大于1h时,图表默认使用区间范围内(所选时间范围的分钟数/60)的平均值聚合数据,您可以根据自身需求更改聚合算法。', 'type' => 'string', 'required' => false, 'example' => 'max', 'default' => 'avg', ], ], [ 'name' => 'productId', 'in' => 'query', 'schema' => [ 'description' => 'Quota类型。默认为odps。'."\n" .'- ODPS:计算Quota;'."\n" .'- TUNNEL:数据传输服务Quota。', 'type' => 'string', 'required' => false, 'enumValueTitles' => [], 'example' => 'ODPS', 'default' => 'ODPS', ], ], [ 'name' => 'plotTypes', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'description' => '图表类型。', 'type' => 'array', 'items' => [ 'description' => '图表类型。'."\n" ."\n" .'当productId为ODPS时支持参数:'."\n" .'- cpu:CPU资源;'."\n" .'- memory:内存资源;'."\n" .'不填表示两个指标均需返回。'."\n" ."\n" .'当productId为TUNNEL时必须填写参数,枚举值:'."\n" .'- request:请求并发数;'."\n" .'- throughput:吞吐量;'."\n" .'- error:错误请求数。', 'type' => 'string', 'required' => false, 'example' => 'cpu', ], 'required' => false, ], ], [ 'name' => 'yAxisTypes', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'description' => '数据指标字段。', 'type' => 'array', 'items' => [ 'description' => '数据指标字段。'."\n" ."\n" .'当productId为ODPS时无需填写。'."\n" ."\n" .'当productId为TUNNEL时支持填入project名称,此时返回的结果是项目维度的信息。', 'type' => 'string', 'required' => false, 'example' => 'your_project_name', ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => '请求返回参数。', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0b87b7a416652014358483492eea0b', ], 'httpCode' => [ 'description' => 'HTTP状态码。'."\n" .'- 1xx:信息响应 - 请求已接收,正在处理中。'."\n" .'- 2xx:成功 - 请求动作已被服务端成功接收、理解并接受。'."\n" .'- 3xx:重定向 - 请求被重定向,采取进一步行动以完成请求。'."\n" .'- 4xx:客户端错误 - 请求包含错误请求参、语法或特定请求条件无法满足。'."\n" .'- 5xx:服务端错误 - 服务器由于其他原因无法满足请求。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'OBJECT_NOT_EXIST', ], 'errorMsg' => [ 'description' => '错误描述信息。', 'type' => 'string', 'example' => 'This object does not exist.', ], 'data' => [ 'description' => '请求返回结果。', 'type' => 'object', 'properties' => [ 'metrics' => [ 'description' => '指标结果。', 'type' => 'object', 'example' => '"timestamps": [1668046140000, 1668065220000], //毫秒'."\n" ."\n" .' "project1#upload#request": [10, 20],'."\n" .' "project1#download#request": [20, 30],'."\n" ."\n" .' "project1#upload#throughput": [50, 50],'."\n" .' "project1#download#throughput": [60, 70],'."\n" ."\n" .' "pro2#errorNum": [5, 10]', ], 'plot' => [ 'description' => '图表信息。', 'type' => 'array', 'items' => [ 'description' => '图表信息。', 'type' => 'object', 'properties' => [ 'title' => [ 'description' => '图表标题。', 'type' => 'string', 'example' => '项目请求并发数', ], 'type' => [ 'description' => '图表类型。', 'type' => 'string', 'example' => 'request', ], 'yAxis' => [ 'description' => '数据指标字段。', 'type' => 'array', 'items' => [ 'description' => '数据指标字段。'."\n" ."\n" .'当productId为ODPS时:'."\n" .'cpu具体类型'."\n" .'memory具体类型'."\n" ."\n" .'当productId为TUNNEL且填入project名称时:'."\n" .'project#operation#type', 'type' => 'string', 'example' => 'project1#download#request', ], ], ], ], ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0b87b7a416652014358483492eea0b\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"OBJECT_NOT_EXIST\\",\\n \\"errorMsg\\": \\"This object does not exist.\\",\\n \\"data\\": {\\n \\"metrics\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"plot\\": [\\n {\\n \\"title\\": \\"项目请求并发数\\",\\n \\"type\\": \\"request\\",\\n \\"yAxis\\": [\\n \\"project1#download#request\\"\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '获取Quota资源消耗信息', 'summary' => '获取Quota资源消耗信息', 'changeSet' => [ [ 'createdAt' => '2022-11-28T13:46:34.000Z', 'description' => '请求参数发生变更、响应参数发生变更', ], [ 'createdAt' => '2022-10-13T14:34:44.000Z', 'description' => '响应参数发生变更', ], [ 'createdAt' => '2022-10-13T14:05:36.000Z', 'description' => '响应参数发生变更', ], [ 'createdAt' => '2022-08-22T06:32:05.000Z', 'description' => '响应参数发生变更', ], [ 'createdAt' => '2022-08-18T12:45:00.000Z', 'description' => 'OpenAPI 下线', ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetQuotaUsage', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#nickName}', ], ], ], ], ], ], 'GetRoleAcl' => [ 'path' => '/api/v1/projects/{projectName}/roles/{roleName}/roleAcl', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '153387', 'abilityTreeNodes' => [ 'FEATUREodpsTZPZOE', ], ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'description' => 'MaxCompute项目名称', 'type' => 'string', 'required' => true, 'example' => 'projectA', ], ], [ 'name' => 'roleName', 'in' => 'path', 'schema' => [ 'description' => '角色名称', 'type' => 'string', 'required' => true, 'example' => 'roleA', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id', 'type' => 'string', 'example' => '0a06dc0916696898838762018e9564', ], 'httpCode' => [ 'description' => '返回的HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码', 'type' => 'string', 'example' => '040002', ], 'errorMsg' => [ 'description' => '错误描述信息。', 'type' => 'string', 'example' => '异常信息', ], 'data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'table' => [ 'description' => '表', 'type' => 'array', 'items' => [ 'description' => '表', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '表名称', 'type' => 'string', 'example' => 'tableA', ], 'schemaName' => [ 'description' => 'Schema名称。', 'type' => 'string', 'example' => 'default', ], 'actions' => [ 'description' => '表操作', 'type' => 'array', 'items' => [ 'description' => '表操作', 'type' => 'string', 'example' => 'describe', ], ], ], ], ], 'resource' => [ 'description' => '资源', 'type' => 'array', 'items' => [ 'description' => '资源', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '资源名称。', 'type' => 'string', 'example' => 'resourceA', ], 'schemaName' => [ 'description' => 'Schema名称。', 'type' => 'string', 'example' => 'default', ], 'actions' => [ 'description' => '资源操作', 'type' => 'array', 'items' => [ 'description' => '资源操作', 'type' => 'string', 'example' => 'read', ], ], ], ], ], 'function' => [ 'description' => '函数', 'type' => 'array', 'items' => [ 'description' => '函数', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '函数名称。', 'type' => 'string', 'example' => 'functionA', ], 'schemaName' => [ 'description' => 'Schema名称。', 'type' => 'string', 'example' => 'default', ], 'actions' => [ 'description' => '函数操作', 'type' => 'array', 'items' => [ 'description' => '函数操作', 'type' => 'string', 'example' => 'read', ], ], ], ], ], 'project' => [ 'description' => '项目', 'type' => 'array', 'items' => [ 'description' => '项目', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => 'maxcompute项目名称', 'type' => 'string', 'example' => 'projectA', ], 'schemaName' => [ 'description' => 'Schema名称。', 'type' => 'string', 'example' => 'default', ], 'actions' => [ 'description' => '项目操作', 'type' => 'array', 'items' => [ 'description' => '项目操作', 'type' => 'string', 'example' => 'list', ], ], ], ], ], 'instance' => [ 'description' => '实例', 'type' => 'array', 'items' => [ 'description' => '实例', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '实例名称', 'type' => 'string', 'example' => 'instanceA', ], 'schemaName' => [ 'description' => 'Schema名称。', 'type' => 'string', 'example' => 'default', ], 'actions' => [ 'description' => '实例操作', 'type' => 'array', 'items' => [ 'description' => '实例操作', 'type' => 'string', 'example' => 'read', ], ], ], ], ], 'package' => [ 'description' => 'Package', 'type' => 'array', 'items' => [ 'description' => 'Package', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => 'package名称', 'type' => 'string', 'example' => 'packageA', ], 'schemaName' => [ 'description' => 'Schema名称。', 'type' => 'string', 'example' => 'default', ], 'actions' => [ 'description' => 'package操作', 'type' => 'array', 'items' => [ 'description' => 'package操作', 'type' => 'string', 'example' => 'read', ], ], ], ], ], ], ], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0a06dc0916696898838762018e9564\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"040002\\",\\n \\"errorMsg\\": \\"异常信息\\",\\n \\"data\\": {\\n \\"table\\": [\\n {\\n \\"name\\": \\"tableA\\",\\n \\"schemaName\\": \\"default\\",\\n \\"actions\\": [\\n \\"describe\\"\\n ]\\n }\\n ],\\n \\"resource\\": [\\n {\\n \\"name\\": \\"resourceA\\",\\n \\"schemaName\\": \\"default\\",\\n \\"actions\\": [\\n \\"read\\"\\n ]\\n }\\n ],\\n \\"function\\": [\\n {\\n \\"name\\": \\"functionA\\",\\n \\"schemaName\\": \\"default\\",\\n \\"actions\\": [\\n \\"read\\"\\n ]\\n }\\n ],\\n \\"project\\": [\\n {\\n \\"name\\": \\"projectA\\",\\n \\"schemaName\\": \\"default\\",\\n \\"actions\\": [\\n \\"list\\"\\n ]\\n }\\n ],\\n \\"instance\\": [\\n {\\n \\"name\\": \\"instanceA\\",\\n \\"schemaName\\": \\"default\\",\\n \\"actions\\": [\\n \\"read\\"\\n ]\\n }\\n ],\\n \\"package\\": [\\n {\\n \\"name\\": \\"packageA\\",\\n \\"schemaName\\": \\"default\\",\\n \\"actions\\": [\\n \\"read\\"\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '获取项目级角色ACL授权信息', 'summary' => '获取项目级角色ACL授权信息。', 'changeSet' => [ [ 'createdAt' => '2023-12-10T11:23:54.000Z', 'description' => '响应参数发生变更', ], [ 'createdAt' => '2022-09-20T11:53:08.000Z', 'description' => 'OpenAPI 下线', ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetRoleAcl', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], ], ], 'GetRoleAclOnObject' => [ 'path' => '/api/v1/projects/{projectName}/roles/{roleName}/acl', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '144122', 'abilityTreeNodes' => [ 'FEATUREodpsTZPZOE', ], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'description' => 'MaxCompute项目名称', 'type' => 'string', 'required' => true, 'example' => 'projectA', ], ], [ 'name' => 'roleName', 'in' => 'path', 'schema' => [ 'description' => '角色名称', 'type' => 'string', 'required' => true, 'example' => 'roleA', ], ], [ 'name' => 'objectType', 'in' => 'query', 'schema' => [ 'description' => '对象类型', 'type' => 'string', 'required' => true, 'enumValueTitles' => [ 'resource' => 'resource', 'function' => 'function', ' package' => ' package', 'table' => 'table', ], 'example' => 'table', ], ], [ 'name' => 'objectName', 'in' => 'query', 'schema' => [ 'description' => '对象名称', 'type' => 'string', 'required' => true, 'example' => 'tableA', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id', 'type' => 'string', 'example' => '0bc1366d16686529650188023ef87f', ], 'data' => [ 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'actions' => [ 'description' => '对象操作', 'type' => 'array', 'items' => [ 'description' => '对象操作', 'type' => 'string', 'example' => 'describe', ], ], ], ], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0bc1366d16686529650188023ef87f\\",\\n \\"data\\": {\\n \\"actions\\": [\\n \\"describe\\"\\n ]\\n }\\n}","type":"json"}]', 'title' => '获取角色对某对象的ACL授权', 'summary' => '获取项目级角色对某对象的ACL授权信息。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetRoleAclOnObject', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], ], ], 'GetRolePolicy' => [ 'path' => '/api/v1/projects/{projectName}/roles/{roleName}/policy', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '144119', 'abilityTreeNodes' => [ 'FEATUREodpsTZPZOE', ], ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'description' => 'MaxCompute项目名称', 'type' => 'string', 'required' => true, 'example' => 'projectA', ], ], [ 'name' => 'roleName', 'in' => 'path', 'schema' => [ 'description' => '角色名称。', 'type' => 'string', 'required' => true, 'example' => 'roleA', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '0bc1eeed16675342848904412e08dd', ], 'data' => [ 'description' => '返回数据。', 'type' => 'string', 'example' => '{'."\n" .' "Statement": ['."\n" .' {'."\n" .' "Action": ['."\n" .' "odps:*"'."\n" .' ],'."\n" .' "Effect": "Allow",'."\n" .' "Resource": ['."\n" .' "acs:odps:*:projects/{projectname}/authorization/packages"'."\n" .' ]'."\n" .' }'."\n" .' ],'."\n" .' "Version": "1"'."\n" .'}'."\n", ], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0bc1eeed16675342848904412e08dd\\",\\n \\"data\\": \\"{\\\\n \\\\\\"Statement\\\\\\": [\\\\n {\\\\n \\\\\\"Action\\\\\\": [\\\\n \\\\\\"odps:*\\\\\\"\\\\n ],\\\\n \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n \\\\\\"Resource\\\\\\": [\\\\n \\\\\\"acs:odps:*:projects/{projectname}/authorization/packages\\\\\\"\\\\n ]\\\\n }\\\\n ],\\\\n \\\\\\"Version\\\\\\": \\\\\\"1\\\\\\"\\\\n}\\\\n\\"\\n}","type":"json"}]', 'title' => '获取角色Policy授权内容', 'summary' => '获取项目级角色Policy授权内容。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetRolePolicy', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], ], ], 'GetRunningJobs' => [ 'path' => '/api/v1/jobs/runningJobs', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', ], 'parameters' => [ [ 'name' => 'from', 'in' => 'query', 'schema' => [ 'description' => '查询开始时间点。该时间是指作业的提交时间。'."\n" ."\n" .'- 请求参数**from**和**to**定义的时间区间遵循双闭原则,即该时间区间既包括区间开始时间点也包括区间结束时间点。如果**from**和**to**的值相同,则为无效区间,函数直接返回空。'."\n" .'- Unix时间戳格式,表示从1970-1-1 00:00:00 UTC计算起的秒数。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1683785928', ], ], [ 'name' => 'to', 'in' => 'query', 'schema' => [ 'description' => '查询结束时间点。该时间是指作业的提交时间。'."\n" ."\n" .'- 请求参数**from**和**to**定义的时间区间遵循双闭原则,即该时间区间既包括区间开始时间点也包括区间结束时间点。如果**from**和**to**的值相同,则为无效区间,函数直接返回空。'."\n" .'- Unix时间戳格式,表示从1970-1-1 00:00:00 UTC计算起的秒数。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1683612946', ], ], [ 'name' => 'jobOwnerList', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'description' => '作业的执行者列表。', 'type' => 'array', 'items' => [ 'description' => '作业的执行者列表。', 'type' => 'string', 'required' => false, 'example' => 'ALIYUN$xxx@test.aliyunid.com', ], 'required' => false, ], ], [ 'name' => 'quotaNicknameList', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'description' => '作业使用的配额昵称列表。', 'type' => 'array', 'items' => [ 'description' => '作业使用的配额昵称列表。', 'type' => 'string', 'required' => false, 'example' => 'my_quota', ], 'required' => false, ], ], [ 'name' => 'pageNumber', 'in' => 'query', 'schema' => [ 'description' => '页码。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '每页返回数目,默认为10,最大为20。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '0bc3b4ab16684833172127321e2c25', ], 'httpCode' => [ 'description' => '业务成功与否。如果非空且不是200,那么表示业务处理失败。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '业务错误码或空值。'."\n" .'- 当success为false,返回业务错误码。'."\n" .' '."\n" .'- 当success为true,返回空值。', 'type' => 'string', 'example' => 'success', ], 'errorMsg' => [ 'description' => '错误描述信息。', 'type' => 'string', 'example' => '0A3B1FD2006A24C8D8BE65CDAC028298', ], 'data' => [ 'description' => '返回结果。', 'type' => 'object', 'properties' => [ 'runningJobInfoList' => [ 'description' => '执行状态的作业列表。', 'type' => 'array', 'items' => [ 'description' => '执行状态的作业。', 'type' => 'object', 'properties' => [ 'instanceId' => [ 'description' => '实例ID。'."\n", 'type' => 'string', 'example' => '2023050206371544gomgtp3ljcr4', ], 'jobOwner' => [ 'description' => '提交作业的账号。', 'type' => 'string', 'example' => 'ALIYUN$xxx@test.aliyunid.com', ], 'project' => [ 'description' => 'MaxCompute项目名称。', 'type' => 'string', 'example' => 'project_20221021123044_981b', ], 'quotaNickname' => [ 'description' => '作业使用的配额昵称。', 'type' => 'string', 'example' => 'my_quota', ], 'cuSnapshot' => [ 'description' => '作业的cu快照占比。', 'type' => 'number', 'format' => 'double', 'example' => '0.45', ], 'memorySnapshot' => [ 'description' => '作业的内存快照占比。', 'type' => 'number', 'format' => 'double', 'example' => '0.45', ], 'submittedAtTime' => [ 'description' => '作业的提交时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1689746864', ], 'runningAtTime' => [ 'description' => '作业的开始运行时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1689746864', ], 'progress' => [ 'description' => '任务进度。', 'type' => 'number', 'format' => 'double', 'example' => '0', ], ], ], ], 'totalCount' => [ 'description' => '返回结果的总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '64', ], 'pageNumber' => [ 'description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '2', ], 'pageSize' => [ 'description' => '每页显示条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0bc3b4ab16684833172127321e2c25\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"success\\",\\n \\"errorMsg\\": \\"0A3B1FD2006A24C8D8BE65CDAC028298\\",\\n \\"data\\": {\\n \\"runningJobInfoList\\": [\\n {\\n \\"instanceId\\": \\"2023050206371544gomgtp3ljcr4\\",\\n \\"jobOwner\\": \\"ALIYUN$xxx@test.aliyunid.com\\",\\n \\"project\\": \\"project_20221021123044_981b\\",\\n \\"quotaNickname\\": \\"my_quota\\",\\n \\"cuSnapshot\\": 0.45,\\n \\"memorySnapshot\\": 0.45,\\n \\"submittedAtTime\\": 1689746864,\\n \\"runningAtTime\\": 1689746864,\\n \\"progress\\": 0\\n }\\n ],\\n \\"totalCount\\": 64,\\n \\"pageNumber\\": 2,\\n \\"pageSize\\": 10\\n }\\n}","type":"json"}]', 'title' => '获取运行态的作业列表', 'summary' => '指定时间范围内,所有仍处于“运行中”的作业的运行态数据展示。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:GetRunningJobs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetStorageAmountSummary' => [ 'path' => '/api/v1/observations/analysis/storage/amount', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '221235', 'abilityTreeNodes' => [ 'FEATUREodps2B6Z0N', ], ], 'parameters' => [ [ 'name' => 'tenantId', 'in' => 'query', 'schema' => [ 'description' => '租户ID。可以通过登录MaxCompute控制台,在左侧导航栏选择**租户管理**>**租户属性**查看。', 'type' => 'string', 'required' => false, 'example' => '478403690625249', ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', ], ], [ 'name' => 'date', 'in' => 'query', 'schema' => [ 'description' => '统计日期,以天为级别,时间参数填写为YYYYMMdd。', 'type' => 'string', 'required' => false, 'example' => '20241205', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult>', 'description' => 'PopResult>', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '688003E1-D1B4-5468-957E-2FFB3AC8D79B', ], 'httpCode' => [ 'description' => '业务成功与否。如果非空且不是200,那么表示业务处理失败。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '业务错误码或空值。'."\n" .'- 当success为false,返回业务错误码。'."\n" .' '."\n" .'- 当success为true,返回空值。', 'type' => 'string', 'example' => 'success', ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => 'this quota is not exist.', ], 'data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'date' => [ 'description' => '统计日期。', 'type' => 'string', 'example' => '20241205', ], 'timestamp' => [ 'description' => '时间戳。当前API不会返回该数据。', 'type' => 'integer', 'format' => 'int64', 'example' => '-', ], 'value' => [ 'description' => '存储指标。包括:'."\n" .'- projectAmount'."\n" .'- schemaAmount'."\n" .'- tableAmount'."\n" .'- partitionAmount', 'type' => 'object', 'additionalProperties' => [ 'type' => 'integer', 'format' => 'int64', 'description' => '存储数量值', 'example' => '16', ], ], 'unit' => [ 'description' => '存储指标单位。当前API不会返回该数据。', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'example' => '-', 'description' => '当前API不会返回该数据。', ], ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"688003E1-D1B4-5468-957E-2FFB3AC8D79B\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"success\\",\\n \\"errorMsg\\": \\"this quota is not exist.\\",\\n \\"data\\": {\\n \\"date\\": \\"20241205\\",\\n \\"timestamp\\": 0,\\n \\"value\\": {\\n \\"key\\": 16\\n },\\n \\"unit\\": {\\n \\"key\\": \\"-\\"\\n }\\n }\\n}","type":"json"}]', 'title' => '获取存储总量信息', 'summary' => '获取存储总量信息。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetStorageAmountSummary', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetStorageSizeSummary' => [ 'path' => '/api/v1/observations/analysis/storage/size', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '221233', 'abilityTreeNodes' => [ 'FEATUREodps2B6Z0N', ], ], 'parameters' => [ [ 'name' => 'tenantId', 'in' => 'query', 'schema' => [ 'description' => '租户id。', 'type' => 'string', 'required' => false, 'example' => '483212237127906', ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-chengdu', ], ], [ 'name' => 'date', 'in' => 'query', 'schema' => [ 'description' => '统计日期,以天为级别,时间参数填写为YYYYMMdd。', 'type' => 'string', 'required' => false, 'example' => '20241205', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult>', 'description' => 'PopResult>', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID', 'type' => 'string', 'example' => '0be3e0aa16667684362147582e038f', ], 'httpCode' => [ 'description' => '业务成功与否。如果非空且不是200,那么表示业务处理失败。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '业务错误码或空值。'."\n" .'- 当success为false,返回业务错误码。'."\n" .' '."\n" .'- 当success为true,返回空值。', 'type' => 'string', 'example' => 'success', ], 'errorMsg' => [ 'description' => '错误描述信息。', 'type' => 'string', 'example' => 'this quota is not exist.', ], 'data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'date' => [ 'description' => '统计日期。', 'type' => 'string', 'example' => '20241205', ], 'timestamp' => [ 'description' => '数据最近一次更新的时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1749090705919', ], 'value' => [ 'description' => '存储指标。包括:'."\n" .'- lowFreqStorage'."\n" .'- standardStorage'."\n" .'- longTermStorage'."\n" .'- totalStorage', 'type' => 'object', 'additionalProperties' => [ 'type' => 'number', 'format' => 'double', 'description' => '存储指标的用量大小', 'example' => '110.438238', ], ], 'unit' => [ 'description' => '存储指标用量单位。包括:'."\n" .'- lowFreqStorage'."\n" .'- standardStorage'."\n" .'- longTermStorage'."\n" .'- totalStorage', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'example' => 'TB', 'description' => '存储指标的用量单位', ], ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0be3e0aa16667684362147582e038f\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"success\\",\\n \\"errorMsg\\": \\"this quota is not exist.\\",\\n \\"data\\": {\\n \\"date\\": \\"20241205\\",\\n \\"timestamp\\": 1749090705919,\\n \\"value\\": {\\n \\"key\\": 110.438238\\n },\\n \\"unit\\": {\\n \\"key\\": \\"TB\\"\\n }\\n }\\n}","type":"json"}]', 'title' => '获取存储用量信息', 'summary' => '获取存储用量信息。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetStorageSizeSummary', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetStorageSummaryCompared' => [ 'path' => '/api/v1/observations/analysis/storage/{type}/compared', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '224286', 'abilityTreeNodes' => [ 'FEATUREodps2B6Z0N', ], ], 'parameters' => [ [ 'name' => 'tenantId', 'in' => 'query', 'schema' => [ 'description' => '租户ID。可以通过登录MaxCompute控制台,在左侧导航栏选择**租户管理**>**租户属性**查看。', 'type' => 'string', 'required' => false, 'example' => '483212237127906', ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', ], ], [ 'name' => 'beginDate', 'in' => 'query', 'schema' => [ 'description' => '起始日期', 'type' => 'string', 'required' => true, 'example' => '20250601', ], ], [ 'name' => 'endDate', 'in' => 'query', 'schema' => [ 'description' => '结束日期', 'type' => 'string', 'required' => true, 'example' => '20250604', ], ], [ 'name' => 'type', 'in' => 'path', 'schema' => [ 'description' => '进行对比的存储指标。包括:'."\n" .'- size'."\n" .'- amount', 'type' => 'string', 'required' => true, 'example' => 'size', ], ], [ 'name' => 'projects', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'description' => '项目列表', 'type' => 'array', 'items' => [ 'description' => '项目名称', 'type' => 'string', 'required' => false, 'example' => 'prj', ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID', 'type' => 'string', 'example' => '0bc3b4b016674434996033675e71ee', ], 'httpCode' => [ 'description' => 'HTTP状态码。'."\n" .'- 1xx:信息响应 - 请求已接收,正在处理中。'."\n" .'- 2xx:成功 - 请求动作已被服务端成功接收、理解并接受。'."\n" .'- 3xx:重定向 - 请求被重定向,采取进一步行动以完成请求。'."\n" .'- 4xx:客户端错误 - 请求包含错误请求参、语法或特定请求条件无法满足。'."\n" .'- 5xx:服务端错误 - 服务器由于其他原因无法满足请求。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'success', ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => 'plan \\"***\\" does not exist', ], 'data' => [ 'description' => '请求返回结果。', 'type' => 'object', 'properties' => [ 'beginDate' => [ 'description' => '起始日期', 'type' => 'string', 'example' => '20250601', ], 'endDate' => [ 'description' => '结束日期', 'type' => 'string', 'example' => '20250604', ], 'rate' => [ 'description' => '存储量近自起始日期到结束日期的同比。包括:'."\n" .'- lowFreqStorageRate'."\n" .'- totalStorageRate'."\n" .'- standardStorageRate'."\n" .'- longTermStorageRate', 'type' => 'object', 'additionalProperties' => [ 'type' => 'number', 'format' => 'double', 'description' => '变化同比', 'example' => '0.06365304264561006', ], ], 'value' => [ 'description' => '存储量近自起始日期到结束日期的变化值。包括:'."\n" .'- lowFreqStorage'."\n" .'- totalStorage'."\n" .'- standardStorage'."\n" .'- longTermStorage', 'type' => 'object', 'additionalProperties' => [ 'type' => 'number', 'format' => 'double', 'description' => '变化数值', 'example' => '-13.437440000000606', ], ], 'unit' => [ 'description' => '存储量近自起始日期到结束日期的变化值单位。包括:'."\n" .'- lowFreqStorageUnit'."\n" .'- totalStorageUnit'."\n" .'- standardStorageUnit'."\n" .'- longTermStorageUnit', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'example' => 'GB', 'description' => '变化数值的单位', ], ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0bc3b4b016674434996033675e71ee\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"success\\",\\n \\"errorMsg\\": \\"plan \\\\\\\\\\\\\\"***\\\\\\\\\\\\\\" does not exist\\",\\n \\"data\\": {\\n \\"beginDate\\": \\"20250601\\",\\n \\"endDate\\": \\"20250604\\",\\n \\"rate\\": {\\n \\"key\\": 0.06365304264561006\\n },\\n \\"value\\": {\\n \\"key\\": -13.437440000000606\\n },\\n \\"unit\\": {\\n \\"key\\": \\"GB\\"\\n }\\n }\\n}","type":"json"}]', 'title' => '存储趋势同比变化', 'summary' => '获取存储趋势同比变化。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetStorageSummaryCompared', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetTableInfo' => [ 'path' => '/api/v1/projects/{projectName}/tables/{tableName}', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '159623', 'abilityTreeNodes' => [ 'FEATUREodpsTZPZOE', ], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'description' => '待查看表或视图的所属项目名称。', 'type' => 'string', 'required' => true, 'example' => 'odps_project', ], ], [ 'name' => 'schemaName', 'in' => 'query', 'schema' => [ 'description' => '待查看表或视图的所属Schema名称。', 'type' => 'string', 'required' => false, 'example' => 'default', ], ], [ 'name' => 'tableName', 'in' => 'path', 'schema' => [ 'description' => '待查看表或视图的名称。', 'type' => 'string', 'required' => true, 'example' => 'sale_detail', ], ], [ 'name' => 'type', 'in' => 'query', 'schema' => [ 'description' => '待查看表或视图的类型。取值:'."\n" .'- **internal**:内部表。'."\n" .'- **external**:外部表。'."\n" .'- **view**:视图。'."\n" .'- **materializedView**:[物化视图](https://help.aliyun.com/zh/maxcompute/user-guide/materialized-view-operations)'."\n" .'[物化视图](https://www.alibabacloud.com/help/maxcompute/user-guide/materialized-view-operations)。', 'type' => 'string', 'required' => false, 'enumValueTitles' => [], 'example' => 'internal', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => '请求返回参数。', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0a06dd4516687375802853481ec9fd', ], 'data' => [ 'description' => '请求返回结果。', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '表或视图名称。', 'type' => 'string', 'example' => 'sale_detail', ], 'owner' => [ 'description' => '表或视图的所有者账号信息。', 'type' => 'string', 'example' => 'ALIYUN$odps****@aliyunid.com', ], 'type' => [ 'description' => '表或视图类型。取值:'."\n" .'- **internal**:内部表。'."\n" .'- **external**:外部表。'."\n" .'- **view**:视图。'."\n" .'- **materializedView**:[物化视图](https://help.aliyun.com/zh/maxcompute/user-guide/materialized-view-operations)'."\n" .'[物化视图](https://www.alibabacloud.com/help/maxcompute/user-guide/materialized-view-operations)。', 'type' => 'string', 'example' => 'internal', ], 'schema' => [ 'description' => '表或视图的所属Schema名称。', 'type' => 'string', 'example' => 'default', ], 'creationTime' => [ 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '2022-01-17T07:07:47Z', ], 'viewText' => [ 'description' => '生成视图的语句,当类型为视图时有此返回值。', 'type' => 'string', 'example' => 'select shop_name, sum(total_price) from sale_detail group by shop_name', ], 'displayName' => [ 'description' => '展示名称。', 'type' => 'string', 'example' => 'odps_project.default.sale_detail', ], 'projectName' => [ 'description' => '表或视图的所属项目名称。', 'type' => 'string', 'example' => 'odps_project', ], 'lastDDLTime' => [ 'description' => '表或视图的DDL最后变更时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '2023-11-21T02:05:56Z', ], 'lastModifiedTime' => [ 'description' => '表或视图的数据最后变更时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '2023-11-21T02:05:56Z', ], 'lastAccessTime' => [ 'description' => '表或视图的数据最后访问时间,当表为非分区表时有此返回值。'."\n" .'> 该数据从2023年7月陆续升级采集,在升级后没有被访问过或者通过ALGO作业、Hologres直读方式访问的无法采集到last_access_time。', 'type' => 'integer', 'format' => 'int64', 'example' => '2023-11-21T02:05:56Z', ], 'lifecycle' => [ 'description' => '生命周期(天)。', 'type' => 'string', 'example' => '-1', ], 'isExternalTable' => [ 'description' => '是否为外部表,当类型为表时有此返回值。', 'type' => 'boolean', 'example' => 'false', ], 'size' => [ 'description' => '如果表为非分区表,值为表的数据量大小。如果表为分区表,系统不会计算表的数据量大小,值为NULL。PARTITIONS视图中包含分区表各个分区的数据量大小。单位:字节(Byte)。', 'type' => 'integer', 'format' => 'int64', 'example' => '5372', ], 'comment' => [ 'description' => '表注释。', 'type' => 'string', 'example' => 'sale_detail', ], 'tableLabel' => [ 'description' => '表的敏感等级标签。更多信息请参见[Label权限控制](https://help.aliyun.com/zh/maxcompute/user-guide/label-based-access-control)'."\n" .'[Label权限控制](https://www.alibabacloud.com/help/maxcompute/user-guide/label-based-access-control)。', 'type' => 'string', 'example' => '0', ], 'createTableDDL' => [ 'description' => '创建表的DDL语句。', 'type' => 'string', 'example' => 'create table if not exists sale_detail( shop_name STRING, customer_id STRING, total_price DOUBLE) partitioned by (sale_date STRING, region STRING);', ], 'nativeColumns' => [ 'description' => '字段信息。', 'type' => 'array', 'items' => [ 'description' => '字段信息。', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '列名。', 'type' => 'string', 'example' => 'shop_name', ], 'type' => [ 'description' => '数据类型。', 'type' => 'string', 'example' => 'STRING', ], 'label' => [ 'description' => '列的敏感等级标签。更多信息请参见[Label权限控制](https://help.aliyun.com/zh/maxcompute/user-guide/label-based-access-control)'."\n" .'[Label权限控制](https://www.alibabacloud.com/help/maxcompute/user-guide/label-based-access-control)。', 'type' => 'string', 'example' => '0', ], 'comment' => [ 'description' => '列注释。', 'type' => 'string', 'example' => '商店名称', ], ], ], ], 'partitionColumns' => [ 'description' => '分区列信息,分区表才有此返回值。', 'type' => 'array', 'items' => [ 'description' => '分区列信息。', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '分区名。', 'type' => 'string', 'example' => 'ds=\'20190130\'', ], 'type' => [ 'description' => '数据类型。', 'type' => 'string', 'example' => 'STRING', ], 'label' => [ 'description' => '列的敏感等级标签。更多信息请参见[Label权限控制](https://help.aliyun.com/zh/maxcompute/user-guide/label-based-access-control)'."\n" .'[Label权限控制](https://www.alibabacloud.com/help/maxcompute/user-guide/label-based-access-control)。', 'type' => 'string', 'example' => '0', ], 'comment' => [ 'description' => '分区列注释。', 'type' => 'string', 'example' => '销售日期', ], ], ], ], 'materializedView' => [ 'description' => '是否为[物化视图](https://help.aliyun.com/zh/maxcompute/user-guide/materialized-view-operations)'."\n" .'[物化视图](https://www.alibabacloud.com/help/maxcompute/user-guide/materialized-view-operations)。', 'type' => 'boolean', 'example' => 'false', ], 'rewriteEnabled' => [ 'description' => '是否允许通过物化视图执行查询改写操作,当类型为物化视图时有此返回值。', 'type' => 'boolean', 'example' => 'false', ], 'autoRefreshEnabled' => [ 'description' => '是否开启自动刷新物化视图,当类型为物化视图时有此返回值。', 'type' => 'boolean', 'example' => 'false', ], 'isOutdated' => [ 'description' => '是否因为源表数据有变化,导致物化视图数据无效,当类型为物化视图时有此返回值。', 'type' => 'boolean', 'example' => 'false', ], 'physicalSize' => [ 'description' => '物理大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '2763', ], 'fileNum' => [ 'description' => '文件数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '200', ], 'storageHandler' => [ 'description' => '外部表解析器,当类型为外部表时有此返回值。', 'type' => 'string', 'example' => 'com.aliyun.odps.CsvStorageHandler', ], 'location' => [ 'description' => '外部表地址,当类型为外部表时有此返回值。', 'type' => 'string', 'example' => 'oss://oss-cn-hangzhou-internal.aliyuncs.com/oss-mc-test/Demo1/', ], 'odpsPropertiesRolearn' => [ 'description' => 'RAM 中 AliyunODPSDefaultRole 的 ARN 信息,当类型为外部表时有此返回值。', 'type' => 'string', 'example' => 'acs:ram::xxxxx:role/aliyunodpsdefaultrole', ], 'tablestoreColumnsMapping' => [ 'description' => '描述 MaxCompute 将访问的 Tablestore 表的列,包括主键和属性列,当类型为外部表时有此返回值。', 'type' => 'string', 'example' => 'o_orderkey,o_orderdate,o_custkey,o_orderstatus,o_totalprice', ], 'tablesotreTableName' => [ 'description' => '需要访问的 Tablestore 表名称,当类型为外部表时有此返回值。', 'type' => 'string', 'example' => 'ots_tpch_orders', ], 'odpsSqlTextOptionFlushHeader' => [ 'description' => '是否忽略表头,当类型为外部表时有此返回值。', 'type' => 'boolean', 'example' => 'true', ], 'odpsTextOptionHeaderLinesCount' => [ 'description' => '忽略表头前N行,当类型为外部表时有此返回值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'clusterInfo' => [ 'description' => '聚簇属性,当表类型为聚簇表时有此返回值。', 'type' => 'object', 'properties' => [ 'clusterType' => [ 'description' => '表的聚簇(Clustering)类型,MaxCompute当前支持[Hash Clustering](https://help.aliyun.com/zh/maxcompute/use-cases/hash-clustering)'."\n" .'[Hash Clustering](https://www.alibabacloud.com/help/maxcompute/use-cases/hash-clustering) 和'."\n" .' [Range Clustering](https://help.aliyun.com/zh/maxcompute/use-cases/hash-clustering)'."\n" .'[Range Clustering](https://www.alibabacloud.com/help/maxcompute/use-cases/range-clustering)两种类型。', 'type' => 'string', 'example' => 'Hash', ], 'clusterCols' => [ 'description' => '聚簇字段(Cluster Key)。', 'type' => 'array', 'items' => [ 'description' => '聚簇字段(Cluster Key)。', 'type' => 'string', 'example' => 'col_1', ], ], 'sortCols' => [ 'description' => '排序字段。', 'type' => 'array', 'items' => [ 'description' => '排序字段。', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '排序字段名称。', 'type' => 'string', 'example' => 'col_2', ], 'order' => [ 'description' => '排序方式。', 'type' => 'string', 'example' => 'DESC', ], ], ], ], 'bucketNum' => [ 'description' => '可选字段,Cluster表的Bucket数目,0表示作业执行时动态决定。', 'type' => 'integer', 'format' => 'int64', 'example' => '1024', ], ], ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0a06dd4516687375802853481ec9fd\\",\\n \\"data\\": {\\n \\"name\\": \\"sale_detail\\",\\n \\"owner\\": \\"ALIYUN$odps****@aliyunid.com\\",\\n \\"type\\": \\"internal\\",\\n \\"schema\\": \\"default\\",\\n \\"creationTime\\": 0,\\n \\"viewText\\": \\"select shop_name, sum(total_price) from sale_detail group by shop_name\\",\\n \\"displayName\\": \\"odps_project.default.sale_detail\\",\\n \\"projectName\\": \\"odps_project\\",\\n \\"lastDDLTime\\": 0,\\n \\"lastModifiedTime\\": 0,\\n \\"lastAccessTime\\": 0,\\n \\"lifecycle\\": \\"-1\\",\\n \\"isExternalTable\\": false,\\n \\"size\\": 5372,\\n \\"comment\\": \\"sale_detail\\",\\n \\"tableLabel\\": \\"0\\",\\n \\"createTableDDL\\": \\"create table if not exists sale_detail( shop_name STRING, customer_id STRING, total_price DOUBLE) partitioned by (sale_date STRING, region STRING);\\",\\n \\"nativeColumns\\": [\\n {\\n \\"name\\": \\"shop_name\\",\\n \\"type\\": \\"STRING\\",\\n \\"label\\": \\"0\\",\\n \\"comment\\": \\"商店名称\\"\\n }\\n ],\\n \\"partitionColumns\\": [\\n {\\n \\"name\\": \\"ds=\'20190130\'\\",\\n \\"type\\": \\"STRING\\",\\n \\"label\\": \\"0\\",\\n \\"comment\\": \\"销售日期\\"\\n }\\n ],\\n \\"materializedView\\": false,\\n \\"rewriteEnabled\\": false,\\n \\"autoRefreshEnabled\\": false,\\n \\"isOutdated\\": false,\\n \\"physicalSize\\": 2763,\\n \\"fileNum\\": 200,\\n \\"storageHandler\\": \\"com.aliyun.odps.CsvStorageHandler\\",\\n \\"location\\": \\"oss://oss-cn-hangzhou-internal.aliyuncs.com/oss-mc-test/Demo1/\\",\\n \\"odpsPropertiesRolearn\\": \\"acs:ram::xxxxx:role/aliyunodpsdefaultrole\\",\\n \\"tablestoreColumnsMapping\\": \\"o_orderkey,o_orderdate,o_custkey,o_orderstatus,o_totalprice\\",\\n \\"tablesotreTableName\\": \\"ots_tpch_orders\\",\\n \\"odpsSqlTextOptionFlushHeader\\": true,\\n \\"odpsTextOptionHeaderLinesCount\\": 1,\\n \\"clusterInfo\\": {\\n \\"clusterType\\": \\"Hash\\",\\n \\"clusterCols\\": [\\n \\"col_1\\"\\n ],\\n \\"sortCols\\": [\\n {\\n \\"name\\": \\"col_2\\",\\n \\"order\\": \\"DESC\\"\\n }\\n ],\\n \\"bucketNum\\": 1024\\n }\\n }\\n}","type":"json"}]', 'title' => '获取表信息', 'summary' => '查看MaxCompute内部表、视图、外部表、聚簇表或Transactional表的信息。', 'changeSet' => [ [ 'createdAt' => '2024-11-05T07:26:05.000Z', 'description' => '响应参数发生变更', ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetTableInfo', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], ], ], 'GetTrustedProjects' => [ 'path' => '/api/v1/projects/{projectName}/trustedProjects', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '142483', 'abilityTreeNodes' => [ 'FEATUREodpsTZPZOE', ], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'description' => '项目名称。', 'type' => 'string', 'required' => true, 'example' => 'odps_project', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult>', 'description' => 'PopResult>', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '0bc0590416675329272834336e4387', ], 'data' => [ 'description' => '返回数据。', 'type' => 'array', 'items' => [ 'description' => '返回数据。', 'type' => 'string', 'example' => 'json Array'."\n" .'['."\n" .'"project_A",'."\n" .'"project_B"'."\n" .']', ], ], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0bc0590416675329272834336e4387\\",\\n \\"data\\": [\\n \\"json Array\\\\n[\\\\n\\\\\\"project_A\\\\\\",\\\\n\\\\\\"project_B\\\\\\"\\\\n]\\"\\n ]\\n}","type":"json"}]', 'title' => '获取受信任项目列表', 'summary' => '获取当前项目的TrustedProject(受信任项目)列表。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetTrustedProjects', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'conditional', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], ], ], 'KillJobs' => [ 'path' => '/api/v1/jobs/kill', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '165875', 'abilityTreeNodes' => [ 'FEATUREodpsDUKRZ1', ], ], 'parameters' => [ [ 'name' => 'tenantId', 'in' => 'query', 'schema' => [ 'description' => '租户id', 'type' => 'string', 'required' => false, 'example' => '478403690625249', ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'description' => '地域id。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', ], ], [ 'name' => 'body', 'in' => 'body', 'schema' => [ 'description' => '请求体参数', 'type' => 'string', 'required' => false, 'example' => '['."\n" .' {'."\n" .' "instanceId": "",'."\n" .' "projectName": ""'."\n" .' },'."\n" .' {'."\n" .' "instanceId": "",'."\n" .' "projectName": ""'."\n" .' }'."\n" .']', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '0abb7ede16814560741256732e91b6', ], 'httpCode' => [ 'description' => '业务成功与否。如果非空且不是200,那么表示业务处理失败。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'data' => [ 'description' => '返回数据', 'type' => 'string', 'example' => 'success', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0abb7ede16814560741256732e91b6\\",\\n \\"httpCode\\": 200,\\n \\"data\\": \\"success\\"\\n}","type":"json"}]', 'title' => '终止作业', 'summary' => '终止正在运行的作业。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:KillJobs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'ListComputeMetricsByInstance' => [ 'path' => '/api/v1/computeMetrics/listByInstance', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '189037', 'abilityTreeNodes' => [ 'FEATUREodpsO212B7', ], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '请求体参数。', 'type' => 'object', 'properties' => [ 'region' => [ 'description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', ], 'projectNames' => [ 'description' => '项目名称。', 'type' => 'array', 'items' => [ 'description' => '项目名称。', 'type' => 'string', 'required' => false, 'example' => 'odps_porject', ], 'required' => false, ], 'startDate' => [ 'description' => '开始日期。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1715393576201', ], 'endDate' => [ 'description' => '结束日期。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1718590596556', ], 'instanceId' => [ 'description' => '作业ID。', 'type' => 'string', 'required' => false, 'example' => '20240730****ddlr', ], 'jobOwner' => [ 'description' => '作业Owner。', 'type' => 'string', 'required' => false, 'example' => 'ALIYUN$7632***@aliyun.com', ], 'signature' => [ 'description' => 'SQL作业签名。', 'type' => 'string', 'required' => false, 'example' => 'ghijkl789012', ], 'pageNumber' => [ 'description' => '分页页码。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], 'pageSize' => [ 'description' => '每页返回数目,默认为10。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', ], 'types' => [ 'description' => '计量类型。', 'type' => 'array', 'items' => [ 'description' => '计量类型。'."\n" .'- ComputationSql:操作内部表的SQL类型作业计量数据。'."\n" ."\n" .'- ComputationSqlOTS:操作OTS外部表的SQL类型作业计量数据。'."\n" ."\n" .'- ComputationSqlOSS:操作OSS外部表的SQL类型作业计量数据。'."\n" ."\n" .'- MapReduce:MapReduce类型作业计量数据。'."\n" ."\n" .'- spark:Spark类型作业计量数据。'."\n" ."\n" .'- mars:Mars类型作业计量数据。', 'type' => 'string', 'required' => false, 'example' => 'SQL', ], 'required' => false, ], 'specCodes' => [ 'description' => '规格类型。', 'type' => 'array', 'items' => [ 'description' => '规格类型。'."\n" .'- OdpsStandard:对应按量付费标准版。'."\n" .'- OdpsSpot:按量计费闲时版。', 'type' => 'string', 'required' => false, 'example' => 'OdpsStandard', ], 'required' => false, ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult>', 'description' => 'PopResult>', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0bc059b717363029839908920ea631', ], 'httpCode' => [ 'description' => 'HTTP状态码。'."\n" .'- 1xx:信息响应 - 请求已接收,正在处理中。'."\n" .'- 2xx:成功 - 请求动作已被服务端成功接收、理解并接受。'."\n" .'- 3xx:重定向 - 请求被重定向,采取进一步行动以完成请求。'."\n" .'- 4xx:客户端错误 - 请求包含错误请求参、语法或特定请求条件无法满足。'."\n" .'- 5xx:服务端错误 - 服务器由于其他原因无法满足请求。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'OBJECT_NOT_EXIST', ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => 'This object does not exist.', ], 'data' => [ 'description' => '请求返回结果。', 'type' => 'object', 'properties' => [ 'instanceComputeMetrics' => [ 'description' => '后付费作业计算用量列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'instanceId' => [ 'description' => '作业ID。', 'type' => 'string', 'example' => '20240730****ddlr', ], 'type' => [ 'description' => '计量类型。'."\n" ."\n" .'- ComputationSql:操作内部表的SQL类型作业计量数据。'."\n" ."\n" .'- ComputationSqlOTS:操作OTS外部表的SQL类型作业计量数据。'."\n" ."\n" .'- ComputationSqlOSS:操作OSS外部表的SQL类型作业计量数据。'."\n" ."\n" .'- MapReduce:MapReduce类型作业计量数据。'."\n" ."\n" .'- spark:Spark类型作业计量数据。'."\n" ."\n" .'- mars:Mars类型作业计量数据。', 'type' => 'string', 'example' => 'ComputationSql', ], 'specCode' => [ 'description' => '规格类型。'."\n" .'- OdpsStandard:对应按量付费标准版。'."\n" .'- OdpsSpot:按量计费闲时版。', 'type' => 'string', 'example' => 'OdpsStandard', ], 'jobOwner' => [ 'description' => '作业Owner。', 'type' => 'string', 'example' => 'ALIYUN$7632***@aliyun.com', ], 'projectName' => [ 'description' => '项目名称。', 'type' => 'string', 'example' => 'odps_porject', ], 'submitTime' => [ 'description' => '作业提交时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1610432000000', ], 'endTime' => [ 'description' => '作业运行结束时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1710432000000', ], 'signature' => [ 'description' => 'SQL作业签名。', 'type' => 'string', 'example' => 'pqrs12345tuv', ], 'usage' => [ 'description' => '计算用量。'."\n" ."\n" .'- 扫描量计算类,单位为GB。包括ComputationSql、ComputationSqlOTS、ComputationSqlOSS计费类型,都是按扫描量计费,计算使用量为每个作业的扫描量*复杂度,其中ComputationSqlOTS和ComputationSqlOSS类型复杂度固定为1。'."\n" ."\n" .'- CU时计算类,单位为CU时。包括MapReduce、spark、mars计费类型,都是按CU时计费。', 'type' => 'number', 'format' => 'double', 'example' => '1024', ], 'unit' => [ 'description' => '计算用量单位。', 'type' => 'string', 'example' => 'GB', ], ], ], ], 'totalCount' => [ 'description' => '返回结果的总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '64', ], 'pageNumber' => [ 'description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'pageSize' => [ 'description' => '每页记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0bc059b717363029839908920ea631\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"OBJECT_NOT_EXIST\\",\\n \\"errorMsg\\": \\"This object does not exist.\\",\\n \\"data\\": {\\n \\"instanceComputeMetrics\\": [\\n {\\n \\"instanceId\\": \\"20240730****ddlr\\",\\n \\"type\\": \\"ComputationSql\\",\\n \\"specCode\\": \\"OdpsStandard\\",\\n \\"jobOwner\\": \\"ALIYUN$7632***@aliyun.com\\",\\n \\"projectName\\": \\"odps_porject\\",\\n \\"submitTime\\": 1610432000000,\\n \\"endTime\\": 1710432000000,\\n \\"signature\\": \\"pqrs12345tuv\\",\\n \\"usage\\": 1024,\\n \\"unit\\": \\"GB\\"\\n }\\n ],\\n \\"totalCount\\": 64,\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 10\\n }\\n}","type":"json"}]', 'title' => '列出后付费作业计算用量', 'summary' => '列出后付费作业计算用量。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListComputeMetricsByInstance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'ListComputeQuotaPlan' => [ 'path' => '/api/v1/quotas/{nickname}/computeQuotaPlan', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '258226', 'abilityTreeNodes' => [ 'FEATUREodpsZAKNHC', ], ], 'parameters' => [ [ 'name' => 'nickname', 'in' => 'path', 'schema' => [ 'description' => '一级Quota昵称。', 'type' => 'string', 'required' => true, 'example' => 'os_MyQuota_p', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0bc3b4ae16685836687916212e7850', ], 'httpCode' => [ 'description' => '返回的HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'OBJECT_NOT_EXIST', ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => 'This object does not exist.', ], 'data' => [ 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'planList' => [ 'description' => 'Quota计划列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'name' => [ 'description' => 'Quota计划名称。', 'type' => 'string', 'example' => 'planA', ], 'createTime' => [ 'description' => '创建时间。', 'type' => 'string', 'example' => '1731394621890', ], 'quota' => [ 'description' => 'Quota属性。', 'type' => 'object', 'properties' => [ 'subQuotaInfoList' => [ 'description' => '二级Quota列表。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'id' => [ 'description' => '二级quota ID。', 'type' => 'string', 'example' => '6790', ], 'name' => [ 'description' => '二级quota名称。', 'type' => 'string', 'example' => 'dp_cn_shanghai_1702627945_p', ], 'nickName' => [ 'description' => '二级quota昵称。', 'type' => 'string', 'example' => 'os_MyQuota', ], 'type' => [ 'title' => '对应控制集群的resourceSystemType字段', 'description' => 'Quota类型。', 'type' => 'string', 'example' => 'FUXI_ONLINE', ], 'status' => [ 'description' => '资源状态。', 'type' => 'string', 'example' => 'ON', ], 'tenantId' => [ 'description' => '租户ID。', 'type' => 'string', 'example' => '478403690625249', ], 'regionId' => [ 'description' => '地域ID。', 'type' => 'string', 'example' => 'cn-beijing', ], 'cluster' => [ 'description' => '集群ID。', 'type' => 'string', 'example' => 'AT-120N'."\n", ], 'version' => [ 'description' => '版本号。', 'type' => 'string', 'example' => '2056', ], 'parameter' => [ 'description' => 'Quota配置参数。', 'type' => 'object', 'properties' => [ 'minCU' => [ 'type' => 'integer', 'format' => 'int64', ], 'elasticReservedCU' => [ 'type' => 'integer', 'format' => 'int64', ], 'maxCU' => [ 'type' => 'integer', 'format' => 'int64', ], ], 'example' => '{'."\n" .' "enablePriority": false,'."\n" .' "minCU": 25,'."\n" .' "adhocCU": 0,'."\n" .' "elasticReservedCU": 0,'."\n" .' "forceReservedMin": false,'."\n" .' "maxCU": 50,'."\n" .' "schedulerType": "Fifo"'."\n" .'}', ], 'createTime' => [ 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1730946421757', ], 'creatorId' => [ 'description' => '资源创建者,云账号UID。', 'type' => 'string', 'example' => '672863518', ], ], ], ], 'id' => [ 'description' => '一级Quota ID。', 'type' => 'string', 'example' => '186', ], 'name' => [ 'description' => '一级Quota名称。', 'type' => 'string', 'example' => 'dp_cn_hangzhou_1717465943_p', ], 'nickName' => [ 'description' => '一级Quota昵称。', 'type' => 'string', 'example' => 'os_MyQuota_p', ], 'type' => [ 'title' => '对应控制集群的resourceSystemType字段', 'description' => '对应控制集群的resourceSystemType字段。', 'type' => 'string', 'example' => 'FUXI_ONLINE', ], 'status' => [ 'description' => '资源状态。', 'type' => 'string', 'example' => 'ON', ], 'tenantId' => [ 'description' => '租户ID。', 'type' => 'string', 'example' => '478403690625249', ], 'regionId' => [ 'description' => '地域ID。', 'type' => 'string', 'example' => 'cn-beijing', ], 'cluster' => [ 'description' => '集群ID。', 'type' => 'string', 'example' => 'AT-120N'."\n", ], 'version' => [ 'description' => '版本。', 'type' => 'string', 'example' => '2056', ], 'parameter' => [ 'description' => 'Quota配置参数。', 'type' => 'object', 'properties' => [ 'minCU' => [ 'type' => 'integer', 'format' => 'int64', ], 'elasticReservedCU' => [ 'type' => 'integer', 'format' => 'int64', ], 'maxCU' => [ 'type' => 'integer', 'format' => 'int64', ], ], 'example' => '{'."\n" .' "enablePriority": false,'."\n" .' "minCU": 25,'."\n" .' "adhocCU": 0,'."\n" .' "elasticReservedCU": 0,'."\n" .' "forceReservedMin": false,'."\n" .' "maxCU": 50,'."\n" .' "schedulerType": "Fifo"'."\n" .'}', ], 'createTime' => [ 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1730247361356', ], 'creatorId' => [ 'description' => '资源创建者,云账号UID。', 'type' => 'string', 'example' => '672863518', ], ], ], ], ], ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0bc3b4ae16685836687916212e7850\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"OBJECT_NOT_EXIST\\",\\n \\"errorMsg\\": \\"This object does not exist.\\",\\n \\"data\\": {\\n \\"planList\\": [\\n {\\n \\"name\\": \\"planA\\",\\n \\"createTime\\": \\"1731394621890\\",\\n \\"quota\\": {\\n \\"subQuotaInfoList\\": [\\n {\\n \\"id\\": \\"6790\\",\\n \\"name\\": \\"dp_cn_shanghai_1702627945_p\\",\\n \\"nickName\\": \\"os_MyQuota\\",\\n \\"type\\": \\"FUXI_ONLINE\\",\\n \\"status\\": \\"ON\\",\\n \\"tenantId\\": \\"478403690625249\\",\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"cluster\\": \\"AT-120N\\\\n\\",\\n \\"version\\": \\"2056\\",\\n \\"parameter\\": {\\n \\"minCU\\": 0,\\n \\"elasticReservedCU\\": 0,\\n \\"maxCU\\": 0\\n },\\n \\"createTime\\": 1730946421757,\\n \\"creatorId\\": \\"672863518\\"\\n }\\n ],\\n \\"id\\": \\"186\\",\\n \\"name\\": \\"dp_cn_hangzhou_1717465943_p\\",\\n \\"nickName\\": \\"os_MyQuota_p\\",\\n \\"type\\": \\"FUXI_ONLINE\\",\\n \\"status\\": \\"ON\\",\\n \\"tenantId\\": \\"478403690625249\\",\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"cluster\\": \\"AT-120N\\\\n\\",\\n \\"version\\": \\"2056\\",\\n \\"parameter\\": {\\n \\"minCU\\": 0,\\n \\"elasticReservedCU\\": 0,\\n \\"maxCU\\": 0\\n },\\n \\"createTime\\": 1730247361356,\\n \\"creatorId\\": \\"672863518\\"\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '列举计算Quota计划', 'summary' => '列举计算Quota计划。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListQuotasPlans', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], ], ], 'ListFunctions' => [ 'path' => '/api/v1/projects/{projectName}/functions', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'description' => '项目名称。', 'type' => 'string', 'required' => true, 'example' => 'odps_project', ], ], [ 'name' => 'schemaName', 'in' => 'query', 'schema' => [ 'description' => 'schema名称。', 'type' => 'string', 'required' => false, 'example' => 'default', ], ], [ 'name' => 'prefix', 'in' => 'query', 'schema' => [ 'description' => '限定返回的资源名称,名称必须以Prefix作为前缀,例如Prefix是a,则返回的资源名均是以a开始的。', 'type' => 'string', 'required' => false, 'example' => 'a', ], ], [ 'name' => 'marker', 'in' => 'query', 'schema' => [ 'description' => '设定结果从marker之后按字母排序的第一个开始返回。', 'type' => 'string', 'required' => false, 'example' => 'cHlvZHBzX3VkZl8xMDExNV8xNDU3NDI4NDkzKg==', ], ], [ 'name' => 'maxItem', 'in' => 'query', 'schema' => [ 'description' => '每页返回的最大结果数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'default' => '10', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult>', 'description' => 'PopResult>', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '0be3e0b716671885050924814e3623', ], 'data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'functions' => [ 'description' => '各个函数的信息。', 'type' => 'array', 'items' => [ 'description' => '各个函数的信息。', 'type' => 'object', 'properties' => [ 'displayName' => [ 'description' => '显示名称', 'type' => 'string', 'example' => 'getdate', ], 'name' => [ 'description' => '函数名称。', 'type' => 'string', 'example' => 'getdate', ], 'owner' => [ 'description' => '所有者。', 'type' => 'string', 'example' => 'odpsowner', ], 'schema' => [ 'description' => '函数schema。', 'type' => 'string', 'example' => 'abc', ], 'resources' => [ 'description' => '函数关联的资源名称。', 'type' => 'string', 'example' => 'abc', ], 'creationTime' => [ 'description' => '创建时间,单位毫秒', 'type' => 'integer', 'format' => 'int64', 'example' => '1664505167000', ], 'class' => [ 'description' => '函数所在的类。', 'type' => 'string', 'example' => 'abc', ], ], ], ], 'marker' => [ 'description' => '设定结果从marker之后按字母排序的第一个开始返回。', 'type' => 'string', 'example' => 'cHlvZHBzX3VkZl8xMDExNV8xNDU3NDI4NDkzKg==', ], 'maxItem' => [ 'description' => '每页返回的最大结果数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], ], ], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0be3e0b716671885050924814e3623\\",\\n \\"data\\": {\\n \\"functions\\": [\\n {\\n \\"displayName\\": \\"getdate\\",\\n \\"name\\": \\"getdate\\",\\n \\"owner\\": \\"odpsowner\\",\\n \\"schema\\": \\"abc\\",\\n \\"resources\\": \\"abc\\",\\n \\"creationTime\\": 1664505167000,\\n \\"class\\": \\"abc\\"\\n }\\n ],\\n \\"marker\\": \\"cHlvZHBzX3VkZl8xMDExNV8xNDU3NDI4NDkzKg==\\",\\n \\"maxItem\\": 10\\n }\\n}","type":"json"}]', 'title' => '获取函数列表', 'summary' => '获取MaxCompute函数列表。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListFunctions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], ], ], 'ListJobInfos' => [ 'summary' => '查看作业列表', 'path' => '/api/v1/jobs', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'produces' => [], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '165874', 'abilityTreeNodes' => [ 'FEATUREodpsDUKRZ1', ], ], 'parameters' => [ [ 'name' => 'tenantId', 'in' => 'query', 'schema' => [ 'description' => '租户id', 'type' => 'string', 'required' => false, 'example' => '478403690625249', ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'description' => '地域id。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', ], ], [ 'name' => 'orderColumn', 'in' => 'query', 'schema' => [ 'description' => '排序列', 'type' => 'string', 'required' => false, 'example' => 'cuUsage', ], ], [ 'name' => 'ascOrder', 'in' => 'query', 'schema' => [ 'description' => '升序or降序', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'true', ], ], [ 'name' => 'pageNumber', 'in' => 'query', 'schema' => [ 'description' => '分页页码。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '每页返回数目', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '请求体参数', 'type' => 'object', 'properties' => [ 'from' => [ 'description' => '起始时间戳', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1672112000', ], 'to' => [ 'description' => '截止时间戳', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1672112130', ], 'quotaNickname' => [ 'description' => '配额(Quota)昵称', 'type' => 'string', 'required' => false, 'example' => 'quota_nickname', ], 'projectList' => [ 'description' => '项目名称', 'type' => 'array', 'items' => [ 'description' => '项目名称', 'type' => 'string', 'required' => false, 'example' => 'projectA', ], 'required' => false, ], 'typeList' => [ 'description' => '作业类型', 'type' => 'array', 'items' => [ 'description' => '作业类型', 'type' => 'string', 'required' => false, 'example' => 'SQL', ], 'required' => false, ], 'jobOwnerList' => [ 'description' => '作业owner', 'type' => 'array', 'items' => [ 'description' => '作业owner', 'type' => 'string', 'required' => false, 'example' => 'ALIYUN$7632***@aliyun.com', ], 'required' => false, ], 'signatureList' => [ 'description' => '作业签名', 'type' => 'array', 'items' => [ 'description' => '作业签名', 'type' => 'string', 'required' => false, 'example' => 'signatureabc', ], 'required' => false, ], 'extNodeIdList' => [ 'description' => '上游节点ID', 'type' => 'array', 'items' => [ 'description' => '上游节点ID', 'type' => 'string', 'required' => false, 'example' => '76358164', ], 'required' => false, ], 'instanceIdList' => [ 'description' => '作业实例(Instance)Id', 'type' => 'array', 'items' => [ 'description' => '作业实例(Instance)Id', 'type' => 'string', 'required' => false, 'example' => '20241028****jkl', ], 'required' => false, ], 'statusList' => [ 'description' => '作业状态', 'type' => 'array', 'items' => [ 'description' => '作业状态', 'type' => 'string', 'required' => false, 'example' => 'running', ], 'required' => false, ], 'priorityList' => [ 'description' => '作业优先级', 'type' => 'array', 'items' => [ 'description' => '作业优先级', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0', ], 'required' => false, ], 'sortByList' => [ 'description' => '多列排序字段', 'type' => 'array', 'items' => [ 'description' => '多列排序字段', 'type' => 'string', 'required' => false, 'example' => 'cuUsage', ], 'required' => false, ], 'sortOrderList' => [ 'description' => '多列排序方式', 'type' => 'array', 'items' => [ 'description' => '多列排序方式', 'type' => 'string', 'required' => false, 'example' => 'desc', ], 'required' => false, ], 'sceneTagList' => [ 'description' => '智能诊断标签', 'type' => 'array', 'items' => [ 'description' => '智能诊断标签', 'type' => 'string', 'required' => false, 'example' => 'SubscriptionLackResource', ], 'required' => false, ], 'extNodeNameList' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], 'taskNameList' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '0bc13a9516807484336515320e38f5', ], 'httpCode' => [ 'description' => '业务成功与否。如果非空且不是200,那么表示业务处理失败。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'data' => [ 'description' => '返回结果。', 'type' => 'object', 'properties' => [ 'totalCount' => [ 'description' => '返回结果的总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '64', ], 'pageNumber' => [ 'description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '2', ], 'pageSize' => [ 'description' => '每页显示条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], 'jobInfoList' => [ 'description' => '作业信息列表', 'type' => 'array', 'items' => [ 'description' => '作业信息', 'type' => 'object', 'properties' => [ 'tenantId' => [ 'description' => '租户ID', 'type' => 'string', 'example' => '213065738244354', ], 'region' => [ 'description' => '地域id。', 'type' => 'string', 'example' => 'cn-shanghai', ], 'cluster' => [ 'description' => '集群id', 'type' => 'string', 'example' => 'AY20A', ], 'instanceId' => [ 'description' => '实例ID。'."\n", 'type' => 'string', 'example' => '20230410050036549gfmsdwf60gg', ], 'jobOwner' => [ 'description' => '提交作业的账号', 'type' => 'string', 'example' => 'ALIYUN$xxx@test.aliyunid.com', ], 'project' => [ 'description' => 'maxcompute项目名称', 'type' => 'string', 'example' => 'openrec_new', ], 'jobType' => [ 'description' => '作业类型', 'type' => 'string', 'example' => 'SQL', ], 'priority' => [ 'description' => '优先级', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'status' => [ 'description' => '状态', 'type' => 'string', 'example' => 'running', ], 'quotaNickname' => [ 'description' => '作业使用的配额昵称', 'type' => 'string', 'example' => 'my_quota', ], 'quotaType' => [ 'description' => 'quota类型', 'type' => 'string', 'example' => 'subscription', ], 'cuUsage' => [ 'description' => 'cu使用总量', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], 'memoryUsage' => [ 'description' => '内存使用总量', 'type' => 'integer', 'format' => 'int64', 'example' => '40', ], 'cuSnapshot' => [ 'description' => '作业的cu快照占比', 'type' => 'number', 'format' => 'double', 'example' => '0.48', ], 'memorySnapshot' => [ 'description' => '作业的内存快照占比', 'type' => 'number', 'format' => 'double', 'example' => '0.42', ], 'statusSnapshot' => [ 'description' => '作业快照状态', 'type' => 'string', 'example' => 'running', ], 'submittedAtTime' => [ 'description' => '作业的提交时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1672112013', ], 'waitingTime' => [ 'description' => '等待时间', 'type' => 'integer', 'format' => 'int64', 'example' => '100', ], 'runningAtTime' => [ 'description' => '作业的开始运行时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1672112113', ], 'runningTime' => [ 'description' => '运行时间', 'type' => 'integer', 'format' => 'int64', 'example' => '800', ], 'endAtTime' => [ 'description' => '运行结束时间', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'totalTime' => [ 'description' => '总运行时长', 'type' => 'integer', 'format' => 'int64', 'example' => '900', ], 'signature' => [ 'description' => 'sql签名', 'type' => 'string', 'example' => 'i094KijGrN3kOXZ74kbexB77XQY=', ], 'extPlantFrom' => [ 'description' => '上游平台', 'type' => 'string', 'example' => 'platform_3', ], 'extNodeId' => [ 'description' => 'DataWorks节点ID', 'type' => 'string', 'example' => 'node_4', ], 'extNodeOnDuty' => [ 'description' => '执行责任人', 'type' => 'string', 'example' => 'duty_2', ], 'tags' => [ 'description' => '标签', 'type' => 'string', 'example' => '[]', ], 'sceneResults' => [ 'description' => '智能诊断结果。', 'type' => 'array', 'items' => [ 'description' => '智能诊断结果。', 'type' => 'object', 'properties' => [ 'sceneTag' => [ 'description' => '智能诊断结果标签。', 'type' => 'string', 'example' => 'SubscriptionLackResource', ], 'scene' => [ 'description' => '智能诊断结果场景。', 'type' => 'string', 'example' => 'LackResource', ], 'type' => [ 'description' => '智能诊断结果类型。', 'type' => 'string', 'example' => 'warning', ], 'summary' => [ 'description' => '智能诊断结果简述。', 'type' => 'string', 'example' => 'Insufficient computing resources available for the job. Click to view details.', ], 'description' => [ 'description' => '智能诊断结果详情。', 'type' => 'string', 'example' => 'This job uses annual and monthly computing resources. It may be that the job is waiting for resources due to the large amount of overall job running data, many resources requested, and low job priority. Please go to Resource Consumption to view the specific situation. You can also go to Cost Optimization to see if you need to adjust resource configuration.', ], 'params' => [ 'description' => '数据倾斜、数据膨胀节点信息。只有当诊断场景为数据倾斜、数据膨胀时返回此参数。', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'example' => '"jobinsight_data_skew_node": "Worker M1#10000_0"', 'description' => '数据倾斜、数据膨胀节点信息。', ], ], ], ], ], 'inputBytes' => [ 'description' => '作业扫描量。单位byte。', 'type' => 'number', 'format' => 'double', 'example' => '1234', ], 'extPlatformId' => [ 'type' => 'string', ], 'extNodeName' => [ 'type' => 'string', ], 'taskName' => [ 'type' => 'string', ], ], ], ], ], ], ], ], ], ], 'title' => '查看作业列表', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListJobInfos', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListJobInfos', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0bc13a9516807484336515320e38f5\\",\\n \\"httpCode\\": 200,\\n \\"data\\": {\\n \\"totalCount\\": 64,\\n \\"pageNumber\\": 2,\\n \\"pageSize\\": 10,\\n \\"jobInfoList\\": [\\n {\\n \\"tenantId\\": \\"213065738244354\\",\\n \\"region\\": \\"cn-shanghai\\",\\n \\"cluster\\": \\"AY20A\\",\\n \\"instanceId\\": \\"20230410050036549gfmsdwf60gg\\",\\n \\"jobOwner\\": \\"ALIYUN$xxx@test.aliyunid.com\\",\\n \\"project\\": \\"openrec_new\\",\\n \\"jobType\\": \\"SQL\\",\\n \\"priority\\": 1,\\n \\"status\\": \\"running\\",\\n \\"quotaNickname\\": \\"my_quota\\",\\n \\"quotaType\\": \\"subscription\\",\\n \\"cuUsage\\": 10,\\n \\"memoryUsage\\": 40,\\n \\"cuSnapshot\\": 0.48,\\n \\"memorySnapshot\\": 0.42,\\n \\"statusSnapshot\\": \\"running\\",\\n \\"submittedAtTime\\": 1672112013,\\n \\"waitingTime\\": 100,\\n \\"runningAtTime\\": 1672112113,\\n \\"runningTime\\": 800,\\n \\"endAtTime\\": 0,\\n \\"totalTime\\": 900,\\n \\"signature\\": \\"i094KijGrN3kOXZ74kbexB77XQY=\\",\\n \\"extPlantFrom\\": \\"platform_3\\",\\n \\"extNodeId\\": \\"node_4\\",\\n \\"extNodeOnDuty\\": \\"duty_2\\",\\n \\"tags\\": \\"[]\\",\\n \\"sceneResults\\": [\\n {\\n \\"sceneTag\\": \\"SubscriptionLackResource\\",\\n \\"scene\\": \\"LackResource\\",\\n \\"type\\": \\"warning\\",\\n \\"summary\\": \\"Insufficient computing resources available for the job. Click to view details.\\",\\n \\"description\\": \\"This job uses annual and monthly computing resources. It may be that the job is waiting for resources due to the large amount of overall job running data, many resources requested, and low job priority. Please go to Resource Consumption to view the specific situation. You can also go to Cost Optimization to see if you need to adjust resource configuration.\\",\\n \\"params\\": {\\n \\"key\\": \\"\\\\\\"jobinsight_data_skew_node\\\\\\": \\\\\\"Worker M1#10000_0\\\\\\"\\"\\n }\\n }\\n ],\\n \\"inputBytes\\": 1234,\\n \\"extPlatformId\\": \\"\\",\\n \\"extNodeName\\": \\"\\",\\n \\"taskName\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]', ], 'ListJobMetric' => [ 'path' => '/api/v1/jobs/metric', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '261938', 'abilityTreeNodes' => [ 'FEATUREodps2B6Z0N', ], ], 'parameters' => [ [ 'name' => 'startTime', 'in' => 'query', 'schema' => [ 'description' => '查询时间范围:开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1735534322', ], ], [ 'name' => 'endTime', 'in' => 'query', 'schema' => [ 'description' => '查询时间范围:结束时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1735536322', ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '请求体参数。', 'type' => 'object', 'properties' => [ 'metric' => [ 'description' => '观测指标信息。', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'inputBytes' => 'inputBytes', 'memory' => 'memory', 'num' => 'num', 'inputBytesPerCu' => 'inputBytesPerCu', 'cpu' => 'cpu', 'runningTime' => 'runningTime', ], 'example' => 'num', ], 'type' => [ 'description' => '观测指标的类型信息。', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'p1' => '仅runningTime支持', 'p99' => '仅runningTime支持', 'total' => '仅num,cpu,memory,inputBytes,inputBytesPerCu支持', 'min' => '仅runningTime支持', 'avg' => '仅runningTime支持', 'max' => '仅runningTime支持', 'p5' => '仅runningTime支持', 'p90' => '仅runningTime支持', 'p50' => '仅runningTime支持', 'p95' => '仅runningTime支持', 'p10' => '仅runningTime支持', ], 'example' => 'total', ], 'project' => [ 'description' => 'MaxCompute项目名称列表(用于过滤)。', 'type' => 'array', 'items' => [ 'description' => '项目名称。', 'type' => 'string', 'required' => false, 'example' => 'project_a', ], 'required' => false, ], 'quota' => [ 'description' => '作业使用的计算Quota昵称列表(用于过滤)。', 'type' => 'array', 'items' => [ 'description' => '计算Quota昵称。', 'type' => 'string', 'required' => false, 'example' => 'os_PayAsYouGoQuota'."\n", ], 'required' => false, ], 'period' => [ 'description' => '监控统计周期。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'enumValueTitles' => [ 3600 => '3600', 86400 => '86400', ], 'example' => '3600', ], 'group' => [ 'description' => '分组依据。'."\n" ."\n" .'> 可选值有:project,quota,type,status。含义:'."\n" .'>- project:按项目分组聚合;'."\n" .'>- quota:按配额分组聚合;'."\n" .'>- type:按作业类型分组聚合;'."\n" .'>- status:按作业状态分组聚合。', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'quota' => 'quota', 'project' => 'project', 'type' => 'type', 'status' => 'status', ], 'example' => 'project', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0be3e0aa16667684362147582e038f', ], 'httpCode' => [ 'description' => 'HTTP状态码。'."\n" .'- 1xx:信息响应 - 请求已接收,正在处理中。'."\n" .'- 2xx:成功 - 请求动作已被服务端成功接收、理解并接受。'."\n" .'- 3xx:重定向 - 请求被重定向,采取进一步行动以完成请求。'."\n" .'- 4xx:客户端错误 - 请求包含错误请求参、语法或特定请求条件无法满足。'."\n" .'- 5xx:服务端错误 - 服务器由于其他原因无法满足请求。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'OBJECT_NOT_EXIST', ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => 'This object does not exist.', ], 'data' => [ 'description' => '请求返回结果。', 'type' => 'object', 'properties' => [ 'category' => [ 'description' => '指标类型。', 'type' => 'string', 'example' => 'job', ], 'name' => [ 'description' => '指标名称。', 'type' => 'string', 'example' => 'num', ], 'period' => [ 'description' => '监控统计周期。', 'type' => 'integer', 'format' => 'int64', 'example' => '3600', ], 'metrics' => [ 'description' => '指标详情。', 'type' => 'array', 'items' => [ 'description' => '指标值。', 'type' => 'object', 'properties' => [ 'metric' => [ 'description' => '指标相关信息。', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'description' => '指标信息。'."\n" ."\n" .'> 可能值有:type,project,quota,group。', 'example' => '"type": "total"', ], ], 'values' => [ 'description' => '指标数值信息。', 'type' => 'array', 'items' => [ 'description' => '指标数值列表。', 'type' => 'array', 'items' => [ 'description' => 'size为2的列表,第一列表示时间戳,第二列表示对应数值。', 'type' => 'number', 'format' => 'double', 'example' => '1736679600, 3', ], ], ], ], ], ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0be3e0aa16667684362147582e038f\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"OBJECT_NOT_EXIST\\",\\n \\"errorMsg\\": \\"This object does not exist.\\",\\n \\"data\\": {\\n \\"category\\": \\"job\\",\\n \\"name\\": \\"num\\",\\n \\"period\\": 3600,\\n \\"metrics\\": [\\n {\\n \\"metric\\": {\\n \\"key\\": \\"\\\\\\"type\\\\\\": \\\\\\"total\\\\\\"\\"\\n },\\n \\"values\\": [\\n [\\n 0\\n ]\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '获取作业性能指标', 'summary' => '获取运行结束的作业的性能指标。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListJobMetric', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'ListJobSnapshotInfos' => [ 'summary' => '获取某个时间点的作业快照数据。', 'path' => '/api/v1/jobs/snapshot', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '231738', 'abilityTreeNodes' => [ 'FEATUREodpsDUKRZ1', ], ], 'parameters' => [ [ 'name' => 'tenantId', 'in' => 'query', 'schema' => [ 'description' => '租户ID。可以通过登录MaxCompute控制台,在左侧导航栏选择租户管理>租户属性查看。', 'type' => 'string', 'required' => false, 'example' => '478403690625249', ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-chengdu', ], ], [ 'name' => 'orderColumn', 'in' => 'query', 'schema' => [ 'description' => '排序列。支持:'."\n" .'- submittedAtTime'."\n" .'- waitingTime'."\n" .'- runningAtTime'."\n" .'- runningTime'."\n" .'- snapshotTime'."\n" .'- totalTime'."\n" .'- cpuUsage '."\n" .'- memoryUsage'."\n" .'- minCpuPct'."\n" .'- minMemoryPct'."\n" .'- priority'."\n" .'- cpuRequest'."\n" .'- memoryRequest'."\n" .'- cpuUsageToRequestRatio'."\n" .'- memoryUsageToRequestRatio', 'type' => 'string', 'required' => false, 'example' => 'cpuUsage', 'default' => 'submittedAtTime', ], ], [ 'name' => 'ascOrder', 'in' => 'query', 'schema' => [ 'description' => '是否升序排列。', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'false', ], ], [ 'name' => 'pageNumber', 'in' => 'query', 'schema' => [ 'description' => '分页页码。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '分页大小,每页做多显示的返回结果数量。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '请求体参数。', 'type' => 'object', 'properties' => [ 'from' => [ 'description' => '起始时间戳。'."\n" .'> 该参数无效。截止时间戳为需要查看的快照时间点。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1706840714', ], 'to' => [ 'description' => '截止时间戳。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1706840714', ], 'quotaNickname' => [ 'description' => '作业使用的计算Quota昵称。', 'type' => 'string', 'required' => false, 'example' => 'quota_A', ], 'projectList' => [ 'description' => '项目名称。', 'type' => 'array', 'items' => [ 'description' => '项目名称。', 'type' => 'string', 'required' => false, 'example' => 'projectA', ], 'required' => false, ], 'typeList' => [ 'description' => '作业类型。', 'type' => 'array', 'items' => [ 'description' => '作业类型。', 'type' => 'string', 'required' => false, 'example' => 'SQL', ], 'required' => false, ], 'jobOwnerList' => [ 'description' => '作业owner。', 'type' => 'array', 'items' => [ 'description' => '作业owner。', 'type' => 'string', 'required' => false, 'example' => 'ALIYUN$7632***@aliyun.com', ], 'required' => false, ], 'signatureList' => [ 'description' => 'SQL作业签名。', 'type' => 'array', 'items' => [ 'description' => 'SQL作业签名。', 'type' => 'string', 'required' => false, 'example' => 'signatureabc', ], 'required' => false, ], 'extNodeIdList' => [ 'description' => '上游节点ID。', 'type' => 'array', 'items' => [ 'description' => '上游节点ID。', 'type' => 'string', 'required' => false, 'example' => '76358164', ], 'required' => false, ], 'instanceIdList' => [ 'description' => '作业实例(Instance)Id。', 'type' => 'array', 'items' => [ 'description' => '作业实例(Instance)Id。', 'type' => 'string', 'required' => false, 'example' => '20241028****jkl', ], 'required' => false, ], 'statusList' => [ 'description' => '作业状态。', 'type' => 'array', 'items' => [ 'description' => '作业状态。', 'type' => 'string', 'required' => false, 'example' => 'running', ], 'required' => false, ], 'priorityList' => [ 'description' => '作业优先级。', 'type' => 'array', 'items' => [ 'description' => '作业优先级。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '9', ], 'required' => false, ], 'sortByList' => [ 'description' => '多列排序字段。', 'type' => 'array', 'items' => [ 'description' => '多列排序字段。', 'type' => 'string', 'required' => false, 'example' => 'cuUsage', ], 'required' => false, ], 'sortOrderList' => [ 'description' => '多列排序方式。', 'type' => 'array', 'items' => [ 'description' => '多列排序方式。', 'type' => 'string', 'required' => false, 'example' => 'desc', ], 'required' => false, ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0b87b7e716665825896565060e87a4', ], 'httpCode' => [ 'description' => 'HTTP状态码。'."\n" .'- 1xx:信息响应 - 请求已接收,正在处理中。'."\n" .'- 2xx:成功 - 请求动作已被服务端成功接收、理解并接受。'."\n" .'- 3xx:重定向 - 请求被重定向,采取进一步行动以完成请求。'."\n" .'- 4xx:客户端错误 - 请求包含错误请求参、语法或特定请求条件无法满足。'."\n" .'- 5xx:服务端错误 - 服务器由于其他原因无法满足请求。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'OBJECT_NOT_EXIST', ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => '异常信息', ], 'data' => [ 'description' => '请求返回结果。', 'type' => 'object', 'properties' => [ 'jobInfoList' => [ 'description' => '作业快照列表。', 'type' => 'array', 'items' => [ 'description' => '作业快照信息。', 'type' => 'object', 'properties' => [ 'tenantId' => [ 'description' => '租户ID。', 'type' => 'string', 'example' => '213065738244354', ], 'region' => [ 'description' => '地域ID。', 'type' => 'string', 'example' => 'cn-chengdu', ], 'instanceId' => [ 'description' => '作业ID。', 'type' => 'string', 'example' => '20241028****jkl', ], 'jobOwner' => [ 'description' => '作业Owner。', 'type' => 'string', 'example' => 'ALIYUN$7632***@aliyun.com', ], 'project' => [ 'description' => '项目名称。', 'type' => 'string', 'example' => 'projectA', ], 'jobType' => [ 'description' => '作业类型。', 'type' => 'string', 'example' => 'SQL', ], 'priority' => [ 'description' => '作业优先级。', 'type' => 'integer', 'format' => 'int64', 'example' => '9', ], 'status' => [ 'description' => '作业状态。'."\n" ."\n" .'> 快照作业状态只有running。', 'type' => 'string', 'example' => 'running', ], 'quotaNickname' => [ 'description' => '作业使用的计算Quota昵称。', 'type' => 'string', 'example' => 'quota_A', ], 'quotaType' => [ 'description' => 'Quota类型。', 'type' => 'string', 'example' => 'subscription', ], 'cpuUsage' => [ 'description' => '作业在快照时间点的CPU使用量。单位:Core。', 'type' => 'integer', 'format' => 'int64', 'example' => '100', ], 'memoryUsage' => [ 'description' => '作业在快照时间点的内存使用量。单位:MB。', 'type' => 'integer', 'format' => 'int64', 'example' => '409600', ], 'maxCpuPct' => [ 'description' => '无需关注。', 'type' => 'number', 'format' => 'double', 'example' => '-1', ], 'minCpuPct' => [ 'description' => '包年包月作业在快照时间点的CPU使用占比(CPU使用量/(预留CPU保障+弹性预留CPU))。按量付费作业无此参数。', 'type' => 'number', 'format' => 'double', 'example' => '0.6', ], 'maxMemoryPct' => [ 'description' => '无需关注。', 'type' => 'number', 'format' => 'double', 'example' => '-1', ], 'minMemoryPct' => [ 'description' => '包年包月作业在观测时刻的内存使用占比(内存使用量/(预留内存保障+弹性预留内存))。按量付费作业无此参数。', 'type' => 'number', 'format' => 'double', 'example' => '0.6', ], 'submittedAtTime' => [ 'description' => '作业提交时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1736821785', ], 'waitingTime' => [ 'description' => '等待时长。作业从提交时间到开始运行时间的时长。若暂无开始运行时间,则为提交时间到快照时间的时长。单位:s。', 'type' => 'integer', 'format' => 'int64', 'example' => '20', ], 'runningAtTime' => [ 'description' => '作业的开始运行时间。'."\n" .'> 作业获取第一份计算资源的时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1736821805', ], 'runningTime' => [ 'description' => '运行时长。作业从开始运行时间到快照时间点的时长。若暂无开始运行时间,则为空。单位:s。', 'type' => 'integer', 'format' => 'int64', 'example' => '43', ], 'snapshotTime' => [ 'description' => '快照时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1736821848', ], 'totalTime' => [ 'description' => '总时长。作业从提交时间到快照时间点的时长。单位:s。', 'type' => 'integer', 'format' => 'int64', 'example' => '63', ], 'signature' => [ 'description' => 'SQL作业签名。', 'type' => 'string', 'example' => 'signatureabc', ], 'extPlantFrom' => [ 'description' => '上游平台。', 'type' => 'string', 'example' => 'Dataworks', ], 'extNodeId' => [ 'description' => '上游节点ID。', 'type' => 'string', 'example' => '76358164', ], 'extNodeOnDuty' => [ 'description' => '任务负责人账号ID。', 'type' => 'string', 'example' => 'duty_2', ], 'cpuRequest' => [ 'description' => '作业在快照时间点的CPU请求量。单位:Core。', 'type' => 'integer', 'format' => 'int64', 'example' => '200', ], 'memoryRequest' => [ 'description' => '作业在快照时间点的内存请求量。单位:MB。', 'type' => 'integer', 'format' => 'int64', 'example' => '409600', ], 'cpuUsageToRequestRatio' => [ 'description' => '作业在快照时间点的CPU满足率(CPU使用量/CPU请求量)。', 'type' => 'number', 'format' => 'double', 'example' => '0.5', ], 'memoryUsageToRequestRatio' => [ 'description' => '作业在快照时间点的内存满足率(内存使用量/内存请求量)。', 'type' => 'number', 'format' => 'double', 'example' => '1', ], 'extPlatformId' => [ 'type' => 'string', ], ], ], ], 'totalCount' => [ 'description' => '返回结果的总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '123', ], 'pageNumber' => [ 'description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'pageSize' => [ 'description' => '每页记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], ], ], ], ], ], ], 'title' => '获取作业快照列表', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListJobSnapshotInfos', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListJobSnapshotInfos', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0b87b7e716665825896565060e87a4\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"OBJECT_NOT_EXIST\\",\\n \\"errorMsg\\": \\"异常信息\\",\\n \\"data\\": {\\n \\"jobInfoList\\": [\\n {\\n \\"tenantId\\": \\"213065738244354\\",\\n \\"region\\": \\"cn-chengdu\\",\\n \\"instanceId\\": \\"20241028****jkl\\",\\n \\"jobOwner\\": \\"ALIYUN$7632***@aliyun.com\\",\\n \\"project\\": \\"projectA\\",\\n \\"jobType\\": \\"SQL\\",\\n \\"priority\\": 9,\\n \\"status\\": \\"running\\",\\n \\"quotaNickname\\": \\"quota_A\\",\\n \\"quotaType\\": \\"subscription\\",\\n \\"cpuUsage\\": 100,\\n \\"memoryUsage\\": 409600,\\n \\"maxCpuPct\\": -1,\\n \\"minCpuPct\\": 0.6,\\n \\"maxMemoryPct\\": -1,\\n \\"minMemoryPct\\": 0.6,\\n \\"submittedAtTime\\": 1736821785,\\n \\"waitingTime\\": 20,\\n \\"runningAtTime\\": 1736821805,\\n \\"runningTime\\": 43,\\n \\"snapshotTime\\": 1736821848,\\n \\"totalTime\\": 63,\\n \\"signature\\": \\"signatureabc\\",\\n \\"extPlantFrom\\": \\"Dataworks\\",\\n \\"extNodeId\\": \\"76358164\\",\\n \\"extNodeOnDuty\\": \\"duty_2\\",\\n \\"cpuRequest\\": 200,\\n \\"memoryRequest\\": 409600,\\n \\"cpuUsageToRequestRatio\\": 0.5,\\n \\"memoryUsageToRequestRatio\\": 1,\\n \\"extPlatformId\\": \\"\\"\\n }\\n ],\\n \\"totalCount\\": 123,\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 10\\n }\\n}","type":"json"}]', ], 'ListMmsDataSources' => [ 'summary' => '列出MMA数据源', 'path' => '/api/v1/mms/datasources', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182985', 'abilityTreeNodes' => [ 'FEATUREodpsN8WEG6', ], ], 'parameters' => [ [ 'name' => 'name', 'in' => 'query', 'schema' => [ 'description' => '数据源名称', 'type' => 'string', 'required' => false, 'example' => 'demo', ], ], [ 'name' => 'type', 'in' => 'query', 'schema' => [ 'description' => '数据源类型', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'HIVE' => 'HIVE', 'BIGQUERY' => 'BIGQUERY', 'MAXCOMPUTE' => 'MAXCOMPUTE', ], 'example' => 'BIGQUERY', ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', ], ], [ 'name' => 'pageNum', 'in' => 'query', 'schema' => [ 'description' => '页码,不填查所有', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '每页返回数目, 不填查所有', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ApiRes>', 'description' => '分页数据', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'C1F7715F-D316-5AB6-BD02-5241083F4003', ], 'data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'total' => [ 'description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '9', ], 'objectList' => [ 'description' => '数据源列表', 'type' => 'array', 'items' => [ 'description' => '数据源', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'example' => '2000015', ], 'region' => [ 'description' => '地域ID。', 'type' => 'string', 'example' => 'cn-beijing', ], 'name' => [ 'description' => '数据源名', 'type' => 'string', 'example' => 'demo', ], 'dstProject' => [ 'title' => '默认目标MaxCompoute项目', 'description' => '默认目标MaxCompoute项目', 'type' => 'string', 'example' => 'mms_test', ], 'dstProjects' => [ 'title' => '目标MaxCompute项目列表', 'description' => '目标MaxCompute项目列表', 'type' => 'array', 'items' => [ 'title' => '目标MaxCompute项目', 'description' => '目标MaxCompute项目', 'type' => 'string', 'example' => 'mms_test', ], ], 'type' => [ 'title' => 'HIVE, OSS, MAXCOMPUTE, MOCK, HIVE_OSS', 'description' => '数据源类型', 'type' => 'string', 'enumValueTitles' => [ 'HIVE' => 'HIVE', 'BIGQUERY' => 'BIGQUERY', 'MAXCOMPUTE' => 'MAXCOMPUTE', ], 'example' => 'BIGQUERY', ], 'networklink' => [ 'description' => '"maxcompute网络连接ID":regioinID', 'type' => 'string', 'example' => 'vpc-2zebqp6uojhdla46677tl:cn-beijing'."\n", ], 'lastUpdateTime' => [ 'description' => '元数据最新同步时间', 'type' => 'string', 'example' => '2024-12-17 15:44:17'."\n", ], 'dbNum' => [ 'description' => '数据源中“库”的数量', 'type' => 'integer', 'format' => 'int32', 'example' => '3', ], 'tableNum' => [ 'description' => '数据源中“表”的数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1000', ], 'partitionNum' => [ 'description' => '数据源中“分区”的数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10000000', ], 'createTime' => [ 'description' => '数据源创建时间', 'type' => 'string', 'example' => '2024-12-17 09:29:58'."\n" ."\n", ], 'status' => [ 'title' => 'STOPPED, STARTING, STARTED, STOPPING, START_FAILED, STOP_FAILED', 'description' => '数据源状态', 'type' => 'string', 'enumValueTitles' => [ 'STARTING' => 'STARTING', 'STOPPED' => 'STOPPED', 'STARTED' => 'STARTED', 'START_FAILED' => 'START_FAILED', 'STOPPING' => 'STOPPING', 'STOP_FAILED' => 'STOP_FAILED', ], 'example' => 'STARTED', ], 'errMsg' => [ 'description' => 'status为START_FAILED或STOP_FAILED时,数据源实例“启动”或“关闭”失败的原因', 'type' => 'string', 'example' => 'unexpected exception'."\n", ], 'config' => [ 'description' => '数据源相关配置', 'type' => 'array', 'items' => [ 'description' => '数据源相关配置', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '配置名', 'type' => 'string', 'example' => '范围分区表迁移方式'."\n", ], 'key' => [ 'description' => '配置的英文标识', 'type' => 'string', 'example' => 'bigquery.range.partition.migrate.type'."\n", ], 'desc' => [ 'description' => '配置描述', 'type' => 'string', 'example' => '范围分区表迁移方式'."\n", ], 'placeHolder' => [ 'description' => '配置示例值', 'type' => 'string', 'example' => 'Cluster or Partition'."\n", ], 'type' => [ 'description' => '配置类型:boolean, int, map, string, password, file', 'type' => 'string', 'enumValueTitles' => [ 'password' => 'password', 'boolean' => 'boolean', 'file' => 'file', 'string' => 'string', 'map' => 'map', 'int' => 'int', ], 'example' => 'string', ], 'subType' => [ 'description' => 'type为file时,subType指定具体的文件类型,如.keytab', 'type' => 'string', 'example' => '.keytab', ], 'value' => [ 'description' => '配置值', 'type' => 'any', 'example' => 'Partition'."\n", ], 'enums' => [ 'description' => '配置值的枚举值', 'type' => 'array', 'items' => [ 'description' => '配置值的枚举值', 'type' => 'string', 'example' => 'Partition', ], ], 'required' => [ 'description' => '是否是必有配置', 'type' => 'boolean', 'example' => 'true', ], 'group' => [ 'description' => '配置分组', 'type' => 'string', 'example' => 'basic_group', ], ], ], ], 'agentIsOnline' => [ 'description' => '数据源实例或相关联的agent是否启动', 'type' => 'boolean', 'example' => 'true', ], 'tablesDoingNum' => [ 'description' => '正在迁移的表', 'type' => 'integer', 'format' => 'int32', 'example' => '18', ], 'tablesDoneNum' => [ 'description' => '迁移完成的表', 'type' => 'integer', 'format' => 'int32', 'example' => '2323', ], 'tablesPartDoneNum' => [ 'description' => '迁移部分完成的表', 'type' => 'integer', 'format' => 'int32', 'example' => '22', ], 'tablesFailedNum' => [ 'description' => '迁移失败的表', 'type' => 'integer', 'format' => 'int32', 'example' => '2', ], 'partitionsDoingNum' => [ 'description' => '正在迁移的分区', 'type' => 'integer', 'format' => 'int32', 'example' => '2332', ], 'partitionsDoneNum' => [ 'description' => '迁移完成的分区', 'type' => 'integer', 'format' => 'int32', 'example' => '23', ], 'partitionsFailedNum' => [ 'description' => '迁移失败的分区', 'type' => 'integer', 'format' => 'int32', 'example' => '2323', ], 'scanId' => [ 'description' => '同步元数据任务的ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1000253'."\n", ], ], ], ], 'pageNum' => [ 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'pageSize' => [ 'description' => '页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '20', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C1F7715F-D316-5AB6-BD02-5241083F4003\\",\\n \\"data\\": {\\n \\"total\\": 9,\\n \\"objectList\\": [\\n {\\n \\"id\\": 2000015,\\n \\"region\\": \\"cn-beijing\\",\\n \\"name\\": \\"demo\\",\\n \\"dstProject\\": \\"mms_test\\",\\n \\"dstProjects\\": [\\n \\"mms_test\\"\\n ],\\n \\"type\\": \\"BIGQUERY\\",\\n \\"networklink\\": \\"vpc-2zebqp6uojhdla46677tl:cn-beijing\\\\n\\",\\n \\"lastUpdateTime\\": \\"2024-12-17 15:44:17\\\\n\\",\\n \\"dbNum\\": 3,\\n \\"tableNum\\": 1000,\\n \\"partitionNum\\": 10000000,\\n \\"createTime\\": \\"2024-12-17 09:29:58\\\\n\\\\n\\",\\n \\"status\\": \\"STARTED\\",\\n \\"errMsg\\": \\"unexpected exception\\\\n\\",\\n \\"config\\": [\\n {\\n \\"name\\": \\"范围分区表迁移方式\\\\n\\",\\n \\"key\\": \\"bigquery.range.partition.migrate.type\\\\n\\",\\n \\"desc\\": \\"范围分区表迁移方式\\\\n\\",\\n \\"placeHolder\\": \\"Cluster or Partition\\\\n\\",\\n \\"type\\": \\"string\\",\\n \\"subType\\": \\".keytab\\",\\n \\"value\\": \\"Partition\\\\n\\",\\n \\"enums\\": [\\n \\"Partition\\"\\n ],\\n \\"required\\": true,\\n \\"group\\": \\"basic_group\\"\\n }\\n ],\\n \\"agentIsOnline\\": true,\\n \\"tablesDoingNum\\": 18,\\n \\"tablesDoneNum\\": 2323,\\n \\"tablesPartDoneNum\\": 22,\\n \\"tablesFailedNum\\": 2,\\n \\"partitionsDoingNum\\": 2332,\\n \\"partitionsDoneNum\\": 23,\\n \\"partitionsFailedNum\\": 2323,\\n \\"scanId\\": 1000253\\n }\\n ],\\n \\"pageNum\\": 1,\\n \\"pageSize\\": 20\\n }\\n}","type":"json"}]', 'title' => '列出数据源', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListMmsDataSources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'ListMmsDbs' => [ 'summary' => '列出MMA数据源内的库', 'path' => '/api/v1/mms/datasources/{sourceId}/dbs', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182982', 'abilityTreeNodes' => [ 'FEATUREodpsN8WEG6', ], ], 'parameters' => [ [ 'name' => 'sourceId', 'in' => 'path', 'schema' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2000018', ], ], [ 'name' => 'name', 'in' => 'query', 'schema' => [ 'description' => '数据源名称', 'type' => 'string', 'required' => false, 'example' => 'demo', ], ], [ 'name' => 'status', 'in' => 'query', 'schema' => [ 'description' => '数据源状态', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'STARTING' => 'STARTING', 'STARTTED' => 'STARTTED', 'STOPPED' => 'STOPPED', 'START_FAILED' => 'START_FAILED', 'STOPPING' => 'STOPPING', 'STOP_FAILED' => 'STOP_FAILED', ], 'example' => 'STARTED', ], ], [ 'name' => 'sorter', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '排序条件', 'type' => 'object', 'properties' => [ 'numRows' => [ 'description' => '库中数据行数', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'asc' => 'asc', 'desc' => 'desc', ], 'example' => 'desc', ], 'size' => [ 'description' => '库中数据的大小', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'asc' => 'asc', 'desc' => 'desc', ], 'example' => 'asc', ], 'updateTime' => [ 'description' => '更新时间', 'type' => 'string', 'required' => false, 'example' => '2024-12-17 15:44:17', ], ], 'required' => false, ], ], [ 'name' => 'pageNum', 'in' => 'query', 'schema' => [ 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '每页记录的数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ApiRes>', 'description' => '返回值', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'CF3F9978-260F-5204-94BE-30A4E6B54443', ], 'data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'total' => [ 'description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '13', ], 'objectList' => [ 'description' => '库列表', 'type' => 'array', 'items' => [ 'description' => '库信息', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => '库ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1530', ], 'name' => [ 'description' => '库名称', 'type' => 'string', 'example' => 'mms_test', ], 'description' => [ 'description' => '库描述', 'type' => 'string', 'example' => 'for mms test', ], 'owner' => [ 'description' => '库所有者', 'type' => 'string', 'example' => 'System user', ], 'location' => [ 'description' => '库的存储位置', 'type' => 'string', 'example' => ' hdfs://master-1-1.c-6fc187819ed6bae0.cn-shanghai.emr.aliyuncs.com:9000/user/hive/warehouse ', ], 'extra' => [ 'description' => '以JSON格式存储的其他信息', 'type' => 'string', 'example' => '{}', ], 'tables' => [ 'description' => '表的数量', 'type' => 'integer', 'format' => 'int32', 'example' => '100', ], 'tablesDoing' => [ 'description' => '正在迁移的表', 'type' => 'integer', 'format' => 'int32', 'example' => '20', ], 'tablesDone' => [ 'description' => '迁移完成的表', 'type' => 'integer', 'format' => 'int32', 'example' => '20', ], 'tablesPartDone' => [ 'description' => '部分迁移完成的表', 'type' => 'integer', 'format' => 'int32', 'example' => '20', ], 'tablesFailed' => [ 'description' => '失败的表', 'type' => 'integer', 'format' => 'int32', 'example' => '20', ], 'partitions' => [ 'description' => '分区数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1000', ], 'partitionsDoing' => [ 'description' => '正在迁移的分区', 'type' => 'integer', 'format' => 'int32', 'example' => '400', ], 'partitionsDone' => [ 'description' => '迁移完成的分区', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'partitionsFailed' => [ 'description' => '迁移失败的分区', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'sourceId' => [ 'description' => '数据源ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '2000015', ], 'sourceName' => [ 'description' => '数据源名', 'type' => 'string', 'example' => 'demo', ], 'size' => [ 'description' => '库数据大小-单位Bytes', 'type' => 'integer', 'format' => 'int64', 'example' => '2342342', ], 'numRows' => [ 'description' => '库数据行数', 'type' => 'integer', 'format' => 'int64', 'example' => '23232', ], 'updated' => [ 'description' => '数据有否有更新', 'type' => 'boolean', 'example' => 'true', ], 'lastDdlTime' => [ 'description' => 'Last DDL Time', 'type' => 'string', 'example' => '2024-12-17 15:44:42'."\n", ], 'createTime' => [ 'description' => '在mms中创建的时间', 'type' => 'string', 'example' => '2024-12-17 15:44:42'."\n", ], 'updateTime' => [ 'description' => '数据最新更新时间', 'type' => 'string', 'example' => '2024-12-17 15:44:42'."\n", ], 'status' => [ 'title' => 'INIT, DOING, FAILED, DONE, PART_DONE', 'description' => '迁移状态:INIT, DOING, FAILED, DONE, PART_DONE', 'type' => 'string', 'enumValueTitles' => [ 'PART_DONE' => '部分完成', 'INIT' => '未迁移', 'DONE' => '完成', 'DOING' => '正在迁移', 'FAILED' => '失败', ], 'example' => 'DOING', ], 'deleted' => [ 'description' => '已经被删除', 'type' => 'boolean', 'example' => 'false', ], 'dstProjectName' => [ 'title' => '目标MaxCompute项目名', 'description' => '目标MaxCompute项目名', 'type' => 'string', 'example' => 'mms_test', ], 'dstName' => [ 'title' => '源“库”对应的MaxCompute schema. 目标MaxCompute项目没有开启schema层时,该值为null. 默认与源“库”名一致', 'description' => '源“库”对应的MaxCompute schema. 目标MaxCompute项目没有开启schema层时,该值为null. 默认与源“库”名一致', 'type' => 'string', 'example' => 'default', ], ], ], ], 'pageSize' => [ 'description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], 'pageNum' => [ 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"CF3F9978-260F-5204-94BE-30A4E6B54443\\",\\n \\"data\\": {\\n \\"total\\": 13,\\n \\"objectList\\": [\\n {\\n \\"id\\": 1530,\\n \\"name\\": \\"mms_test\\",\\n \\"description\\": \\"for mms test\\",\\n \\"owner\\": \\"System user\\",\\n \\"location\\": \\" hdfs://master-1-1.c-6fc187819ed6bae0.cn-shanghai.emr.aliyuncs.com:9000/user/hive/warehouse \\",\\n \\"extra\\": \\"{}\\",\\n \\"tables\\": 100,\\n \\"tablesDoing\\": 20,\\n \\"tablesDone\\": 20,\\n \\"tablesPartDone\\": 20,\\n \\"tablesFailed\\": 20,\\n \\"partitions\\": 1000,\\n \\"partitionsDoing\\": 400,\\n \\"partitionsDone\\": 200,\\n \\"partitionsFailed\\": 200,\\n \\"sourceId\\": 2000015,\\n \\"sourceName\\": \\"demo\\",\\n \\"size\\": 2342342,\\n \\"numRows\\": 23232,\\n \\"updated\\": true,\\n \\"lastDdlTime\\": \\"2024-12-17 15:44:42\\\\n\\",\\n \\"createTime\\": \\"2024-12-17 15:44:42\\\\n\\",\\n \\"updateTime\\": \\"2024-12-17 15:44:42\\\\n\\",\\n \\"status\\": \\"DOING\\",\\n \\"deleted\\": false,\\n \\"dstProjectName\\": \\"mms_test\\",\\n \\"dstName\\": \\"default\\"\\n }\\n ],\\n \\"pageSize\\": 10,\\n \\"pageNum\\": 1\\n }\\n}","type":"json"}]', 'title' => '获取数据源内的"数据库"列表', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListMmsDbs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], ], ], 'ListMmsJobs' => [ 'summary' => '获取迁移作业列表', 'path' => '/api/v1/mms/datasources/{sourceId}/jobs', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182977', 'abilityTreeNodes' => [ 'FEATUREodpsN8WEG6', ], ], 'parameters' => [ [ 'name' => 'sourceId', 'in' => 'path', 'schema' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2000002', ], ], [ 'name' => 'name', 'in' => 'query', 'schema' => [ 'description' => '数据源名称', 'type' => 'string', 'required' => false, 'example' => 'demo', ], ], [ 'name' => 'srcDbName', 'in' => 'query', 'schema' => [ 'description' => '源库名', 'type' => 'string', 'required' => false, 'example' => 'test_db_1', ], ], [ 'name' => 'srcTableName', 'in' => 'query', 'schema' => [ 'description' => '源表名', 'type' => 'string', 'required' => false, 'example' => 'test_table_1', ], ], [ 'name' => 'dstDbName', 'in' => 'query', 'schema' => [ 'description' => '目标MaxCompute项目', 'type' => 'string', 'required' => false, 'example' => 'mms_test', ], ], [ 'name' => 'dstTableName', 'in' => 'query', 'schema' => [ 'description' => '目标MaxcCompute表', 'type' => 'string', 'required' => false, 'example' => 'test_table_1', ], ], [ 'name' => 'status', 'in' => 'query', 'schema' => [ 'description' => '迁移计划状态', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'INIT' => '未运行', 'DONE' => '成功', 'DOING' => '正在运行', 'FAILED' => '运行失败', ], 'example' => 'DOING', ], ], [ 'name' => 'stopped', 'in' => 'query', 'schema' => [ 'description' => '作业是否被停止', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => 'false', ], ], [ 'name' => 'timerId', 'in' => 'query', 'schema' => [ 'title' => 'timer id', 'description' => 'timer id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageNum', 'in' => 'query', 'schema' => [ 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', ], ], [ 'name' => 'sorter.status', 'in' => 'query', 'schema' => [ 'description' => '按照状态排序', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'asc' => '升序', 'desc' => '降序', ], 'example' => 'desc', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ApiRes>', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '1112E7C7-C65F-57A2-A7C7-3B178AA257B6', ], 'data' => [ 'description' => '返回数据详细信息', 'type' => 'object', 'properties' => [ 'total' => [ 'description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100', ], 'objectList' => [ 'description' => '迁移作业列表', 'type' => 'array', 'items' => [ 'description' => '迁移作业对象', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => '迁移作业ID', 'type' => 'integer', 'format' => 'int64', 'example' => '18', ], 'name' => [ 'description' => '迁移作业名字', 'type' => 'string', 'example' => 'migrate_db_1', ], 'sourceId' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'example' => '2000015', ], 'dbId' => [ 'description' => '源库ID', 'type' => 'integer', 'format' => 'int64', 'example' => '196', ], 'sourceName' => [ 'description' => '数据源名', 'type' => 'string', 'example' => 'demo', ], 'srcDbName' => [ 'description' => '源库名', 'type' => 'string', 'example' => 'test_db_1', ], 'srcSchemaName' => [ 'description' => '源schema name-三层命名空间中的schema', 'type' => 'string', 'example' => 'test_table_1', ], 'dstDbName' => [ 'description' => '目标MaxCompute项目', 'type' => 'string', 'example' => 'mms_test', ], 'dstSchemaName' => [ 'description' => '目标MaxCompute Schema', 'type' => 'string', 'example' => 'test_table_1', ], 'status' => [ 'title' => 'INIT, DOING, FAILED, DONE', 'description' => '迁移作业状态', 'type' => 'string', 'enumValueTitles' => [ 'INIT' => '未开始运行', 'DONE' => '完成', 'DOING' => '运行中', 'FAILED' => '运行失败', ], 'example' => 'DONE', ], 'type' => [ 'title' => 'Database, Tables, Partitions', 'description' => '迁移范围:Database, Tables, Partitions', 'type' => 'string', 'enumValueTitles' => [ 'Partitions' => '多个分区', 'Database' => '单库', 'Tables' => '多个表', ], 'example' => 'Tables', ], 'taskNum' => [ 'description' => '包含的迁移任务数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], 'stopped' => [ 'description' => '迁移作业是否被停止', 'type' => 'boolean', 'example' => 'false', ], 'createTime' => [ 'description' => '迁移作业是否被停止', 'type' => 'string', 'example' => '2024-12-17 15:44:17'."\n", ], 'taskDone' => [ 'description' => '迁移任务完成数', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], 'config' => [ 'description' => '迁移作业的配置', 'type' => 'object', 'properties' => [ 'partitions' => [ 'description' => '当 type=Partitions时, 通过该参数指定要迁移表的分区ID列表', 'type' => 'array', 'items' => [ 'description' => '要迁移表的分区 ID', 'type' => 'integer', 'format' => 'int64', 'example' => '[123, 132]', ], ], 'tables' => [ 'description' => '当type=Tables时, 通过该参数指定要迁移的表的名称列表', 'type' => 'array', 'items' => [ 'description' => '要迁移的表的名称', 'type' => 'string', 'example' => '["student", "scores"]', ], ], 'taskType' => [ 'title' => 'MOCK, HIVE: hive udtf task, HIVE_DATAX: hive datax task, COPY_TASK: odps Copy Task, ODPS_INSERT_OVERWRITE: odps simple insert overwrite task, MC2MC_VERIFY, OSS, HIVE_OSS, HIVE_SPARK, BIGQUERY', 'description' => 'Depcreated; 可以指定的值有'."\n" .'MOCK, HIVE: hive udtf task, HIVE_DATAX: hive datax task, COPY_TASK: odps Copy Task, ODPS_INSERT_OVERWRITE: odps simple insert overwrite task, MC2MC_VERIFY, OSS, HIVE_OSS, HIVE_SPARK, BIGQUERY', 'type' => 'string', 'example' => 'BIGQUERY', ], 'tableBlackList' => [ 'description' => '当 type=Database时, 通过tableBlackList指定排除哪些表不迁移', 'type' => 'array', 'items' => [ 'description' => '当 type=Database 时, 要排查的表', 'type' => 'string', 'example' => '["student", "scores"]', ], ], 'tableWhiteList' => [ 'description' => '当 type=Database 时, 指定的要迁移的表列表。如果没有指定tableWhiteList,则迁移对应Database下的所有表', 'type' => 'array', 'items' => [ 'description' => '当 type=Database 时, 指定的要迁移的表。', 'type' => 'string', 'example' => '["student", "scores"]', ], ], 'partitionFilters' => [ 'description' => '分区过滤表达式。 配置指定"表"对应的"分区过滤表达式"', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'example' => '{'."\n" .'"student": "p1 >= \'2022-03-04\' and (p2 = 10 or p3 > 20) and p4 in (\'abc\', \'cde\')" '."\n" .'}', 'description' => '分区过滤表达式。例如:p1 >= \'2022-03-04\' and (p2 = 10 or p3 > 20) and p4 in (\'abc\', \'cde\'),介绍如下:'."\n" ."\n" .'p1、p2和p3均为分区名。'."\n" ."\n" .'分区值仅包含字符串和数字,字符串被双引号或单引号包裹。'."\n" ."\n" .'除INT和BIGINT类型的分区列值外,其他类型的分区值都只能取字符串值。'."\n" ."\n" .'比较操作符包括:>、>=、= 、<、<=、<>。'."\n" ."\n" .'分区过滤表达式支持IN操作符。'."\n" ."\n" .'逻辑操作符包括:AND和OR。'."\n" ."\n" .'支持使用括号。', ], ], 'schemaOnly' => [ 'description' => 'Depcreated', 'type' => 'boolean', 'example' => 'false', ], 'tableMapping' => [ 'description' => '源表名->目标名 映射', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'example' => '{\'a\': \'a1\'}', 'description' => '源表名->目标名 映射', ], ], 'increment' => [ 'description' => '增量迁移:只迁移新分区或有变动的分区,注意有变动的分区会被重迁', 'type' => 'boolean', 'example' => 'true', ], 'enableVerification' => [ 'description' => '开启校验,目前校验方式是在源和目标端执行select count,对比行数', 'type' => 'boolean', 'example' => 'true', ], 'tunnelQuota' => [ 'description' => 'Depcreated', 'type' => 'string', 'example' => 'Depcreated', ], 'columnMapping' => [ 'description' => '{源列名:目标列名}', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'example' => '{"c-1": "c_1"}', 'description' => '{源列名:目标列名}', ], ], 'others' => [ 'description' => '其他配置信息', 'type' => 'object', 'example' => '{"spark.executor.mem": "2g"}', ], ], ], 'eta' => [ 'description' => '期望的迁移完成时间. 注意:eta值越小,迁移任务的优先级会越高', 'type' => 'string', 'example' => '2025-05-06', ], ], ], ], 'pageNum' => [ 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'pageSize' => [ 'description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"1112E7C7-C65F-57A2-A7C7-3B178AA257B6\\",\\n \\"data\\": {\\n \\"total\\": 100,\\n \\"objectList\\": [\\n {\\n \\"id\\": 18,\\n \\"name\\": \\"migrate_db_1\\",\\n \\"sourceId\\": 2000015,\\n \\"dbId\\": 196,\\n \\"sourceName\\": \\"demo\\",\\n \\"srcDbName\\": \\"test_db_1\\",\\n \\"srcSchemaName\\": \\"test_table_1\\",\\n \\"dstDbName\\": \\"mms_test\\",\\n \\"dstSchemaName\\": \\"test_table_1\\",\\n \\"status\\": \\"DONE\\",\\n \\"type\\": \\"Tables\\",\\n \\"taskNum\\": 10,\\n \\"stopped\\": false,\\n \\"createTime\\": \\"2024-12-17 15:44:17\\\\n\\",\\n \\"taskDone\\": 10,\\n \\"config\\": {\\n \\"partitions\\": [\\n 0\\n ],\\n \\"tables\\": [\\n \\"[\\\\\\"student\\\\\\", \\\\\\"scores\\\\\\"]\\"\\n ],\\n \\"taskType\\": \\"BIGQUERY\\",\\n \\"tableBlackList\\": [\\n \\"[\\\\\\"student\\\\\\", \\\\\\"scores\\\\\\"]\\"\\n ],\\n \\"tableWhiteList\\": [\\n \\"[\\\\\\"student\\\\\\", \\\\\\"scores\\\\\\"]\\"\\n ],\\n \\"partitionFilters\\": {\\n \\"key\\": \\"{\\\\n\\\\\\"student\\\\\\": \\\\\\"p1 >= \'2022-03-04\' and (p2 = 10 or p3 > 20) and p4 in (\'abc\', \'cde\')\\\\\\" \\\\n}\\"\\n },\\n \\"schemaOnly\\": false,\\n \\"tableMapping\\": {\\n \\"key\\": \\"{\'a\': \'a1\'}\\"\\n },\\n \\"increment\\": true,\\n \\"enableVerification\\": true,\\n \\"tunnelQuota\\": \\"Depcreated\\",\\n \\"columnMapping\\": {\\n \\"key\\": \\"{\\\\\\"c-1\\\\\\": \\\\\\"c_1\\\\\\"}\\"\\n },\\n \\"others\\": {\\n \\"spark.executor.mem\\": \\"2g\\"\\n }\\n },\\n \\"eta\\": \\"2025-05-06\\"\\n }\\n ],\\n \\"pageNum\\": 1,\\n \\"pageSize\\": 10\\n }\\n}","type":"json"}]', 'title' => '获取迁移作业列表', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListMmsJobs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], ], ], 'ListMmsPartitions' => [ 'summary' => '列出MMA数据源内的分区', 'path' => '/api/v1/mms/datasources/{sourceId}/partitions', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182996', 'abilityTreeNodes' => [ 'FEATUREodpsN8WEG6', ], ], 'parameters' => [ [ 'name' => 'sourceId', 'in' => 'path', 'schema' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '200018', ], ], [ 'name' => 'dbId', 'in' => 'query', 'schema' => [ 'description' => '库ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2', ], ], [ 'name' => 'dbName', 'in' => 'query', 'schema' => [ 'description' => '库名', 'type' => 'string', 'required' => false, 'example' => 'd1', ], ], [ 'name' => 'updated', 'in' => 'query', 'schema' => [ 'description' => '过滤出元数据有更新的分区', 'type' => 'boolean', 'required' => false, 'example' => 'false', ], ], [ 'name' => 'tableName', 'in' => 'query', 'schema' => [ 'description' => '表名', 'type' => 'string', 'required' => false, 'example' => 't1', ], ], [ 'name' => 'tableId', 'in' => 'query', 'schema' => [ 'title' => '分区所在表的ID', 'description' => '分区所在表的ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20323', ], ], [ 'name' => 'value', 'in' => 'query', 'schema' => [ 'description' => '分区值', 'type' => 'string', 'required' => false, 'example' => 'p1=1/p2=abc', ], ], [ 'name' => 'status', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '迁移状态', 'type' => 'array', 'items' => [ 'description' => '迁移状态', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'INIT' => '未迁移', 'DONE' => '迁移成功', 'DOING' => '正在迁移', 'FAILED' => '迁移失败', ], 'example' => '["DONE", "FAILED"]', ], 'required' => false, ], ], [ 'name' => 'lastDdlTimeStart', 'in' => 'query', 'schema' => [ 'description' => 'lastDdlTime最小值', 'type' => 'string', 'required' => false, 'example' => '2024-12-17 15:44:42'."\n", ], ], [ 'name' => 'lastDdlTimeEnd', 'in' => 'query', 'schema' => [ 'description' => 'lastDdlTime最大值', 'type' => 'string', 'required' => false, 'example' => '2024-12-17 19:44:42'."\n", ], ], [ 'name' => 'pageNum', 'in' => 'query', 'schema' => [ 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', ], ], [ 'name' => 'sorter.numRows', 'in' => 'query', 'schema' => [ 'description' => '按行数排序', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'asc' => '升序', 'desc' => '降序', ], 'example' => 'desc', ], ], [ 'name' => 'sorter.size', 'in' => 'query', 'schema' => [ 'description' => '按数据量排序', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'asc' => '升序', 'desc' => '降序', ], 'example' => 'asc', ], ], [ 'name' => 'sorter.lastDdlTime', 'in' => 'query', 'schema' => [ 'description' => '按lastDdlTime排序', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'asc' => '升序', 'desc' => '降序', ], 'example' => 'desc', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ApiRes>', 'description' => '返回值', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID', 'type' => 'string', 'example' => 'D9F872FD-5DDE-30A6-8C8A-1B8C6A81059F', ], 'data' => [ 'description' => '数据', 'type' => 'object', 'properties' => [ 'total' => [ 'description' => '分区总数', 'type' => 'integer', 'format' => 'int32', 'example' => '1000', ], 'objectList' => [ 'description' => '返回分区列表', 'type' => 'array', 'items' => [ 'description' => '分区对象', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => '分区ID', 'type' => 'integer', 'format' => 'int64', 'example' => '2323', ], 'dbId' => [ 'description' => '分区所在“库”的id, “库”在不同数据源中对应的元数据层级名称不同。'."\n" .'如,在BigQuery,对应Dataset; 在Hive中对应Databse; 在Databricks中对应"Schema"; 在MaxCompute中对应"Schema"。', 'type' => 'integer', 'format' => 'int64', 'example' => '196', ], 'tableId' => [ 'description' => '表ID', 'type' => 'integer', 'format' => 'int64', 'example' => '23', ], 'dbName' => [ 'description' => '库名。 “库”在不同数据源中对应的元数据层级名称不同。 如,在 BigQuery,对应 Dataset; 在 Hive 中对应 Databse; 在 Databricks 中对应"Schema"; 在 MaxCompute 中对应"Schema"。', 'type' => 'string', 'example' => 'd1', ], 'tableName' => [ 'description' => '表名', 'type' => 'string', 'example' => 't1', ], 'value' => [ 'description' => '分区值', 'type' => 'string', 'example' => 'p1=1/p2=abc'."\n", ], 'dstProjectName' => [ 'title' => '目标MaxCompute项目名', 'description' => '目标MaxCompute项目名', 'type' => 'string', 'example' => 'mms_test', ], 'dstSchemaName' => [ 'title' => '目标MaxCompute schema名,对于没有开启schema的MaxCompute项目,该值为空', 'description' => '目标MaxCompute schema名,对于没有开启schema的MaxCompute项目,该值为空', 'type' => 'string', 'example' => 'default', ], 'dstTableName' => [ 'title' => '目标MaxCompute表名', 'description' => '目标MaxCompute表名', 'type' => 'string', 'example' => 'default', ], 'dstValue' => [ 'title' => '目标MaxCompute分区值,默认与源分区值一致', 'description' => '目标MaxCompute分区值,默认与源分区值一致', 'type' => 'string', 'example' => 'p1=1/p2=abc', ], 'sourceId' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'example' => '200018', ], 'sourceName' => [ 'description' => '数据源名称', 'type' => 'string', 'example' => 'demo', ], 'size' => [ 'description' => '数据量大小-单位Bytes', 'type' => 'integer', 'format' => 'int64', 'example' => '23223', ], 'numRows' => [ 'description' => '行数', 'type' => 'integer', 'format' => 'int64', 'example' => '2323', ], 'updated' => [ 'description' => '元数据是否有更新', 'type' => 'boolean', 'example' => 'false', ], 'lastDdlTime' => [ 'description' => 'lastDdlTime', 'type' => 'string', 'example' => '2024-12-17 15:44:42'."\n", ], 'status' => [ 'title' => 'INIT, DOING, FAILED, DONE, PART_DONE', 'description' => '迁移状态', 'type' => 'string', 'enumValueTitles' => [ 'INIT' => '未迁移', 'DONE' => '迁移成功', 'DOING' => '正在迁移', 'FAILED' => '迁移失败', ], 'example' => 'DONE', ], ], ], ], 'pageNum' => [ 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'pageSize' => [ 'description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"D9F872FD-5DDE-30A6-8C8A-1B8C6A81059F\\",\\n \\"data\\": {\\n \\"total\\": 1000,\\n \\"objectList\\": [\\n {\\n \\"id\\": 2323,\\n \\"dbId\\": 196,\\n \\"tableId\\": 23,\\n \\"dbName\\": \\"d1\\",\\n \\"tableName\\": \\"t1\\",\\n \\"value\\": \\"p1=1/p2=abc\\\\n\\",\\n \\"dstProjectName\\": \\"mms_test\\",\\n \\"dstSchemaName\\": \\"default\\",\\n \\"dstTableName\\": \\"default\\",\\n \\"dstValue\\": \\"p1=1/p2=abc\\",\\n \\"sourceId\\": 200018,\\n \\"sourceName\\": \\"demo\\",\\n \\"size\\": 23223,\\n \\"numRows\\": 2323,\\n \\"updated\\": false,\\n \\"lastDdlTime\\": \\"2024-12-17 15:44:42\\\\n\\",\\n \\"status\\": \\"DONE\\"\\n }\\n ],\\n \\"pageNum\\": 1,\\n \\"pageSize\\": 10\\n }\\n}","type":"json"}]', 'title' => '列出数据源内的分区', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListMmsPartitions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], ], ], 'ListMmsTables' => [ 'summary' => '列出MMA数据源内的表', 'path' => '/api/v1/mms/datasources/{sourceId}/tables', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182987', 'abilityTreeNodes' => [ 'FEATUREodpsN8WEG6', ], ], 'parameters' => [ [ 'name' => 'sourceId', 'in' => 'path', 'schema' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2000015', ], ], [ 'name' => 'onlyName', 'in' => 'query', 'schema' => [ 'description' => '只获取表的名字', 'type' => 'boolean', 'required' => false, 'example' => 'false', ], ], [ 'name' => 'dbId', 'in' => 'query', 'schema' => [ 'description' => '库ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '197', ], ], [ 'name' => 'dbName', 'in' => 'query', 'schema' => [ 'description' => '库名', 'type' => 'string', 'required' => false, 'example' => 'mms_test', ], ], [ 'name' => 'name', 'in' => 'query', 'schema' => [ 'description' => '表名', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'dstProjectName', 'in' => 'query', 'schema' => [ 'title' => '目标MaxCompute项目名', 'description' => '目标MaxCompute项目名', 'type' => 'string', 'required' => false, 'example' => 'mms_test', ], ], [ 'name' => 'dstSchemaName', 'in' => 'query', 'schema' => [ 'title' => '目标MaxCompute schema名,目标MaxCompute项目没有开启schema层时,该值为null', 'description' => '目标MaxCompute schema名,目标MaxCompute项目没有开启schema层时,该值为null', 'type' => 'string', 'required' => false, 'example' => 'default', ], ], [ 'name' => 'dstName', 'in' => 'query', 'schema' => [ 'title' => '目标MaxCompute table', 'description' => '目标MaxCompute table', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'type', 'in' => 'query', 'schema' => [ 'description' => '表类型', 'type' => 'string', 'required' => false, 'example' => 'MANAGED_TABLE', ], ], [ 'name' => 'hasPartitions', 'in' => 'query', 'schema' => [ 'description' => '分区表', 'type' => 'boolean', 'required' => false, 'example' => 'true', ], ], [ 'name' => 'status', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '迁移状态', 'type' => 'array', 'items' => [ 'description' => '迁移状态', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'PART_DONE' => '部分迁移成功', 'INIT' => '未迁移', 'DONE' => '迁移成功', 'DOING' => '迁移中', 'FAILED' => '迁移失败', ], 'example' => '["DONE", "FAILED"]', ], 'required' => false, 'example' => 'test', ], ], [ 'name' => 'lastDdlTimeStart', 'in' => 'query', 'schema' => [ 'description' => 'lastDdlTime开始时间', 'type' => 'string', 'required' => false, 'example' => '2024-12-17 15:44:42'."\n", ], ], [ 'name' => 'lastDdlTimeEnd', 'in' => 'query', 'schema' => [ 'description' => 'lastDdlTime结束时间', 'type' => 'string', 'required' => false, 'example' => '2024-12-19 15:44:42'."\n", ], ], [ 'name' => 'pageNum', 'in' => 'query', 'schema' => [ 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', ], ], [ 'name' => 'sorter.numRows', 'in' => 'query', 'schema' => [ 'description' => '根据行数排序', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'asc' => '升序', 'desc' => '降序', ], 'example' => 'desc', ], ], [ 'name' => 'sorter.size', 'in' => 'query', 'schema' => [ 'description' => '根据数据大小排序', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'asc' => '升序', 'desc' => '降序', ], 'example' => 'asc'."\n", ], ], [ 'name' => 'sorter.lastDdlTime', 'in' => 'query', 'schema' => [ 'description' => '根据lastddltime排序', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'asc' => '升序', 'desc' => '降序', ], 'example' => 'desc', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ApiRes>', 'description' => '返回值', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'E7FB14F1-4ACD-5C73-A755-B302D70AB9AD', ], 'data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'total' => [ 'description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100', ], 'objectList' => [ 'description' => 'table列表', 'type' => 'array', 'items' => [ 'description' => 'table信息', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => 'table ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1003476', ], 'dbId' => [ 'description' => '库ID', 'type' => 'integer', 'format' => 'int64', 'example' => '196', ], 'dbName' => [ 'description' => '库名', 'type' => 'string', 'example' => 'demo', ], 'name' => [ 'description' => '表名', 'type' => 'string', 'example' => 'test', ], 'dstProjectName' => [ 'title' => '目标MaxCompute项目名', 'description' => '目标MaxCompute项目名', 'type' => 'string', 'example' => 'mms_test', ], 'dstSchemaName' => [ 'title' => '目标MaxCompute schema名,目标MaxCompute项目没有开启schema层时,该值为null', 'description' => '目标MaxCompute schema名,目标MaxCompute项目没有开启schema层时,该值为null', 'type' => 'string', 'example' => 'default', ], 'dstName' => [ 'title' => '目标MaxCompute table名,默认与源表名一致', 'description' => '目标MaxCompute table名,默认与源表名一致', 'type' => 'string', 'example' => 'test', ], 'type' => [ 'description' => '表类型', 'type' => 'string', 'example' => 'MANAGED_TABLE', ], 'hasPartitions' => [ 'description' => '是不是分区表', 'type' => 'boolean', 'example' => 'true', ], 'schema' => [ 'description' => '表结构', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '表名', 'type' => 'string', 'example' => 'test', ], 'comment' => [ 'description' => '表注释', 'type' => 'string', 'example' => 'for mms test', ], 'columns' => [ 'description' => '所有表普通列', 'type' => 'array', 'items' => [ 'description' => '表普通列', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '列名', 'type' => 'string', 'example' => 'user_id', ], 'type' => [ 'description' => '列类型', 'type' => 'string', 'example' => 'bigint', ], 'comment' => [ 'description' => '列注释', 'type' => 'string', 'example' => 'user id', ], 'defaultValue' => [ 'description' => '列默认值', 'type' => 'string', 'example' => '""', ], 'nullable' => [ 'description' => '列是否可以为null', 'type' => 'boolean', 'example' => 'false', ], ], ], ], 'partitions' => [ 'description' => '所有分区列', 'type' => 'array', 'items' => [ 'description' => '分区列', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '列名', 'type' => 'string', 'example' => 'p1', ], 'type' => [ 'description' => '列类型', 'type' => 'string', 'example' => 'string', ], 'comment' => [ 'description' => '列注释', 'type' => 'string', 'example' => '第一分区', ], 'defaultValue' => [ 'description' => '列默认值', 'type' => 'string', 'example' => 'abc', ], 'nullable' => [ 'description' => '列是否为空', 'type' => 'boolean', 'example' => 'false', ], ], ], ], ], ], 'owner' => [ 'description' => '表owner', 'type' => 'string', 'example' => 'Hive', ], 'location' => [ 'description' => '表存储位置', 'type' => 'string', 'example' => '| hdfs://master-1-1.c-c127cd184bb029ea.cn-zhangjiakou.emr.aliyuncs.com:9000/user/hive/warehouse/demo', ], 'inputFormat' => [ 'description' => 'inputFormat', 'type' => 'string', 'example' => 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat ', ], 'outputFormat' => [ 'description' => 'outputFormat', 'type' => 'string', 'example' => 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat', ], 'serde' => [ 'description' => 'serde', 'type' => 'string', 'example' => 'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe', ], 'extra' => [ 'description' => '以JSON格式存储的其他信息', 'type' => 'string', 'example' => '{"mapkey.delim":":","collection.delim":",","serialization.format":"|","field.delim":"|"} ', ], 'partitions' => [ 'description' => '分区数量', 'type' => 'integer', 'format' => 'int32', 'example' => '100', ], 'partitionsDoing' => [ 'description' => '正在迁移的分区数量', 'type' => 'integer', 'format' => 'int32', 'example' => '20', ], 'partitionsDone' => [ 'description' => '迁移完成的分区数量', 'type' => 'integer', 'format' => 'int32', 'example' => '60', ], 'partitionsFailed' => [ 'description' => '迁移失败的分区数量', 'type' => 'integer', 'format' => 'int32', 'example' => '40', ], 'sourceId' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'example' => '2000028', ], 'sourceName' => [ 'description' => '数据源名', 'type' => 'string', 'example' => 'demo ', ], 'size' => [ 'description' => '数据大小-以Bytes为单位', 'type' => 'integer', 'format' => 'int64', 'example' => '2985028', ], 'numRows' => [ 'description' => '行数', 'type' => 'integer', 'format' => 'int64', 'example' => '232323', ], 'updated' => [ 'description' => '元数据是否有更新', 'type' => 'boolean', 'example' => 'true', ], 'lastDdlTime' => [ 'description' => 'lastDdlTime', 'type' => 'string', 'example' => '2024-12-17 15:44:42'."\n", ], 'status' => [ 'title' => 'INIT, DOING, FAILED, DONE, PART_DONE', 'description' => '迁移状态', 'type' => 'string', 'enumValueTitles' => [ 'PART_DONE' => '部分迁移成功', 'INIT' => '未迁移', 'DONE' => '迁移成功', 'DOING' => '迁移中', 'FAILED' => '迁移失败', ], 'example' => 'DONE', ], ], ], ], 'pageNum' => [ 'description' => '页', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'pageSize' => [ 'description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '20', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"E7FB14F1-4ACD-5C73-A755-B302D70AB9AD\\",\\n \\"data\\": {\\n \\"total\\": 100,\\n \\"objectList\\": [\\n {\\n \\"id\\": 1003476,\\n \\"dbId\\": 196,\\n \\"dbName\\": \\"demo\\",\\n \\"name\\": \\"test\\",\\n \\"dstProjectName\\": \\"mms_test\\",\\n \\"dstSchemaName\\": \\"default\\",\\n \\"dstName\\": \\"test\\",\\n \\"type\\": \\"MANAGED_TABLE\\",\\n \\"hasPartitions\\": true,\\n \\"schema\\": {\\n \\"name\\": \\"test\\",\\n \\"comment\\": \\"for mms test\\",\\n \\"columns\\": [\\n {\\n \\"name\\": \\"user_id\\",\\n \\"type\\": \\"bigint\\",\\n \\"comment\\": \\"user id\\",\\n \\"defaultValue\\": \\"\\\\\\"\\\\\\"\\",\\n \\"nullable\\": false\\n }\\n ],\\n \\"partitions\\": [\\n {\\n \\"name\\": \\"p1\\",\\n \\"type\\": \\"string\\",\\n \\"comment\\": \\"第一分区\\",\\n \\"defaultValue\\": \\"abc\\",\\n \\"nullable\\": false\\n }\\n ]\\n },\\n \\"owner\\": \\"Hive\\",\\n \\"location\\": \\"| hdfs://master-1-1.c-c127cd184bb029ea.cn-zhangjiakou.emr.aliyuncs.com:9000/user/hive/warehouse/demo\\",\\n \\"inputFormat\\": \\"org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat \\",\\n \\"outputFormat\\": \\"org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat\\",\\n \\"serde\\": \\"org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe\\",\\n \\"extra\\": \\"{\\\\\\"mapkey.delim\\\\\\":\\\\\\":\\\\\\",\\\\\\"collection.delim\\\\\\":\\\\\\",\\\\\\",\\\\\\"serialization.format\\\\\\":\\\\\\"|\\\\\\",\\\\\\"field.delim\\\\\\":\\\\\\"|\\\\\\"} \\",\\n \\"partitions\\": 100,\\n \\"partitionsDoing\\": 20,\\n \\"partitionsDone\\": 60,\\n \\"partitionsFailed\\": 40,\\n \\"sourceId\\": 2000028,\\n \\"sourceName\\": \\"demo \\",\\n \\"size\\": 2985028,\\n \\"numRows\\": 232323,\\n \\"updated\\": true,\\n \\"lastDdlTime\\": \\"2024-12-17 15:44:42\\\\n\\",\\n \\"status\\": \\"DONE\\"\\n }\\n ],\\n \\"pageNum\\": 1,\\n \\"pageSize\\": 20\\n }\\n}","type":"json"}]', 'title' => '列出数据源内的表', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListMmsTables', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], ], ], 'ListMmsTaskLogs' => [ 'summary' => '列出单个迁移任务的执行日志。', 'path' => '/api/v1/mms/datasources/{sourceId}/tasks/{taskId}/logs', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182978', 'abilityTreeNodes' => [ 'FEATUREodpsN8WEG6', ], ], 'parameters' => [ [ 'name' => 'sourceId', 'in' => 'path', 'schema' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2000015', ], ], [ 'name' => 'taskId', 'in' => 'path', 'schema' => [ 'description' => '迁移任务ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '4032', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ApiRes>', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID', 'type' => 'string', 'example' => 'A3AE5649-EF90-54BD-86D0-C632FA950988', ], 'data' => [ 'description' => '日志列表', 'type' => 'array', 'items' => [ 'description' => '迁移任务日志对象', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => '日志ID', 'type' => 'integer', 'format' => 'int64', 'example' => '10000', ], 'sourceId' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'example' => '2000015', ], 'taskId' => [ 'description' => '迁移任务ID', 'type' => 'integer', 'format' => 'int64', 'example' => '4023', ], 'status' => [ 'title' => 'INIT, SCHEMA_DOING, SCHEMA_DONE, SCHEMA_FAILED, DATA_DOING, DATA_DONE, DATA_FAILED, VERIFICATION_DOING, VERIFICATION_DONE, VERIFICATION_FAILED, DONE', 'description' => '迁移任务状态', 'type' => 'string', 'enumValueTitles' => [ 'INIT' => '待运行', 'DATA_DONG' => '数据迁移成功', 'DONE' => '成功', 'SCHEMA_DONE' => '迁移schema成功', 'SCHEMA_DOING' => '迁移schema中', 'SCHEMA_FAILED' => '迁移schema失败', 'DATA_DOING' => '数据迁移中', 'DATA_FAILED' => '数据迁移失败', ], 'example' => 'DATA_DOING', ], 'action' => [ 'description' => '迁移任务做的操作', 'type' => 'string', 'example' => "\n" .'create schema if not exists mms_test.default;', ], 'msg' => [ 'description' => '迁移任务操作的结果', 'type' => 'string', 'example' => 'ok', ], 'createTime' => [ 'description' => '创建时间', 'type' => 'string', 'example' => '2024-12-17 15:44:00'."\n", ], ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"A3AE5649-EF90-54BD-86D0-C632FA950988\\",\\n \\"data\\": [\\n {\\n \\"id\\": 10000,\\n \\"sourceId\\": 2000015,\\n \\"taskId\\": 4023,\\n \\"status\\": \\"DATA_DOING\\",\\n \\"action\\": \\"\\\\ncreate schema if not exists mms_test.default;\\",\\n \\"msg\\": \\"ok\\",\\n \\"createTime\\": \\"2024-12-17 15:44:00\\\\n\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => '列出单个迁移任务的执行日志', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListMmsTaskLogs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], ], ], 'ListMmsTasks' => [ 'summary' => '获取迁移任务列表', 'path' => '/api/v1/mms/datasources/{sourceId}/tasks', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182975', 'abilityTreeNodes' => [ 'FEATUREodpsN8WEG6', ], ], 'parameters' => [ [ 'name' => 'sourceId', 'in' => 'path', 'schema' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2000028', ], ], [ 'name' => 'jobId', 'in' => 'query', 'schema' => [ 'description' => '迁移作业ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', ], ], [ 'name' => 'jobName', 'in' => 'query', 'schema' => [ 'description' => '作业名称'."\n", 'type' => 'string', 'required' => false, 'example' => 'test1', ], ], [ 'name' => 'srcDbName', 'in' => 'query', 'schema' => [ 'description' => '源库名', 'type' => 'string', 'required' => false, 'example' => 'test_db_1', ], ], [ 'name' => 'srcTableName', 'in' => 'query', 'schema' => [ 'description' => '源表名', 'type' => 'string', 'required' => false, 'example' => 'test_table_1', ], ], [ 'name' => 'dstDbName', 'in' => 'query', 'schema' => [ 'description' => '目标MaxCompute项目', 'type' => 'string', 'required' => false, 'example' => 'mms_test', ], ], [ 'name' => 'dstTableName', 'in' => 'query', 'schema' => [ 'description' => '目标MaxcCompute表', 'type' => 'string', 'required' => false, 'example' => 'test_table_1', ], ], [ 'name' => 'status', 'in' => 'query', 'schema' => [ 'description' => '迁移任务状态', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'INIT' => '未执行', 'DONE' => '成功', 'VERIFICATION_FAILED' => '数据校验失败', 'SCHEMA_DONE' => '迁移schema成功', 'SCHEMA_DOING' => '迁移schema中', 'VERIFICATION_DOING' => '数据校验中', 'SCHEMA_FAILED' => '迁移schema失败', 'VERIFICATION_DONE' => '数据校验成功', 'DATA_DOING' => '迁移数据中', 'DATA_DONE' => '迁移数据成功', 'DATA_FAILED' => '迁移数据失败', ], 'example' => 'DATA_DOING', ], ], [ 'name' => 'partition', 'in' => 'query', 'schema' => [ 'description' => '分区值-通过分区值过滤迁移了某个分区值的迁移任务', 'type' => 'string', 'required' => false, 'example' => 'p1=1/p2=abc', ], ], [ 'name' => 'pageNum', 'in' => 'query', 'schema' => [ 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', ], ], [ 'name' => 'sorter.startTime', 'in' => 'query', 'schema' => [ 'description' => '根据开始运行时间排序', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'asc' => '升序', 'desc' => '降序', ], 'example' => 'desc', ], ], [ 'name' => 'sorter.status', 'in' => 'query', 'schema' => [ 'description' => '根据状态进行排序', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'asc' => '升序', 'desc' => '降序', ], 'example' => 'asc', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ApiRes>', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID', 'type' => 'string', 'example' => '373A5CB2-8570-53BE-A98F-729B11D7A8B0', ], 'data' => [ 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'total' => [ 'description' => '总记录数', 'type' => 'integer', 'format' => 'int32', 'example' => '100', ], 'objectList' => [ 'description' => '迁移任务列表', 'type' => 'array', 'items' => [ 'description' => '迁移任务对象', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => '迁移任务ID', 'type' => 'integer', 'format' => 'int64', 'example' => '2323', ], 'jobId' => [ 'description' => '迁移作业ID', 'type' => 'integer', 'format' => 'int64', 'example' => '87', ], 'sourceId' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'example' => '2000028', ], 'dbId' => [ 'description' => '源库ID', 'type' => 'integer', 'format' => 'int64', 'example' => '196', ], 'tableId' => [ 'description' => '源表ID', 'type' => 'integer', 'format' => 'int64', 'example' => '23', ], 'jobName' => [ 'description' => '迁移作业名称', 'type' => 'string', 'example' => 'test_odps_spark', ], 'sourceName' => [ 'description' => '数据源名', 'type' => 'string', 'example' => 'demo ', ], 'srcDbName' => [ 'description' => '源库名', 'type' => 'string', 'example' => 'db_1', ], 'srcSchemaName' => [ 'description' => '源schema name-三层命名空间中的schema', 'type' => 'string', 'example' => 'default', ], 'srcTableName' => [ 'description' => '源表名', 'type' => 'string', 'example' => 'table_1', ], 'dstDbName' => [ 'description' => '目标MaxCompute项目', 'type' => 'string', 'example' => 'mms_test', ], 'dstSchemaName' => [ 'description' => '目标MaxCompute Schema', 'type' => 'string', 'example' => 'default', ], 'dstTableName' => [ 'description' => '目标MaxcCompute表', 'type' => 'string', 'example' => 'table_1', ], 'type' => [ 'title' => 'MOCK, HIVE: hive udtf task, HIVE_DATAX: hive datax task, COPY_TASK: odps Copy Task, ODPS_INSERT_OVERWRITE: odps simple insert overwrite task, MC2MC_VERIFY, OSS, HIVE_OSS', 'description' => '任务类型', 'type' => 'string', 'enumValueTitles' => [ 'HIVE' => '通过HIve UDTF迁移', 'BIGQUERY' => '通过Read Api迁移', ], 'example' => 'BIGQUERY', ], 'status' => [ 'title' => 'INIT, SCHEMA_DOING, SCHEMA_DONE, SCHEMA_FAILED, DATA_DOING, DATA_DONE, DATA_FAILED, VERIFICATION_DOING, VERIFICATION_DONE, VERIFICATION_FAILED, DONE', 'description' => '迁移任务状态', 'type' => 'string', 'enumValueTitles' => [ 'INIT' => '未运行', 'DONE' => '成功', 'SCHEMA_DONE' => '迁移schema成功', 'SCHEMA_DOING' => '迁移schema中', 'SCHEMA_FAILED' => '迁移schema失败', 'DATA_DOING' => '数据迁移中', 'DATA_DONE' => '数据迁移成功', 'DATA_FAILED' => '数据迁移失败', ], 'example' => 'DATA_DOING', ], 'running' => [ 'description' => '是否正在运行', 'type' => 'boolean', 'example' => 'true', ], 'stopped' => [ 'description' => '是否被停止', 'type' => 'boolean', 'example' => 'false', ], 'retriedTimes' => [ 'description' => '已经重试的次数', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'startTime' => [ 'description' => '开始运行时间', 'type' => 'string', 'example' => '2024-10-25 06:21:01', ], 'endTime' => [ 'description' => '结束运行时间', 'type' => 'string', 'example' => '2024-10-25 07:21:01'."\n", ], 'createTime' => [ 'description' => '任务创建时间', 'type' => 'string', 'example' => '2024-10-25 04:21:01'."\n", ], ], ], ], 'pageNum' => [ 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'pageSize' => [ 'description' => '分页大小', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"373A5CB2-8570-53BE-A98F-729B11D7A8B0\\",\\n \\"data\\": {\\n \\"total\\": 100,\\n \\"objectList\\": [\\n {\\n \\"id\\": 2323,\\n \\"jobId\\": 87,\\n \\"sourceId\\": 2000028,\\n \\"dbId\\": 196,\\n \\"tableId\\": 23,\\n \\"jobName\\": \\"test_odps_spark\\",\\n \\"sourceName\\": \\"demo \\",\\n \\"srcDbName\\": \\"db_1\\",\\n \\"srcSchemaName\\": \\"default\\",\\n \\"srcTableName\\": \\"table_1\\",\\n \\"dstDbName\\": \\"mms_test\\",\\n \\"dstSchemaName\\": \\"default\\",\\n \\"dstTableName\\": \\"table_1\\",\\n \\"type\\": \\"BIGQUERY\\",\\n \\"status\\": \\"DATA_DOING\\",\\n \\"running\\": true,\\n \\"stopped\\": false,\\n \\"retriedTimes\\": 1,\\n \\"startTime\\": \\"2024-10-25 06:21:01\\",\\n \\"endTime\\": \\"2024-10-25 07:21:01\\\\n\\",\\n \\"createTime\\": \\"2024-10-25 04:21:01\\\\n\\"\\n }\\n ],\\n \\"pageNum\\": 1,\\n \\"pageSize\\": 10\\n }\\n}","type":"json"}]', 'title' => '获取数据迁移任务列表', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListMmsTasks', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], ], ], 'ListPackages' => [ 'path' => '/api/v1/projects/{projectName}/packages', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '144118', 'abilityTreeNodes' => [ 'FEATUREodpsTZPZOE', ], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'description' => 'MaxCompute项目名称', 'type' => 'string', 'required' => true, 'example' => 'projectA', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '0bc3b4aa16677927210252786e4cb6', ], 'data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'createdPackages' => [ 'description' => '创建的package列表。', 'type' => 'array', 'items' => [ 'description' => '创建的package列表。', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => 'package名称。', 'type' => 'string', 'example' => 'packageA', ], 'createTime' => [ 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '2022-08-02T02:30:34Z', ], ], ], ], 'installedPackages' => [ 'description' => '已安装的package列表。', 'type' => 'array', 'items' => [ 'description' => '已安装的package列表。', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => 'package名称。', 'type' => 'string', 'example' => 'packageB', ], 'sourceProject' => [ 'description' => 'package所属项目。如果package 是install 的,此参数必填。', 'type' => 'string', 'example' => 'projectB', ], 'status' => [ 'description' => '状态', 'type' => 'string', 'example' => 'OK', ], 'installTime' => [ 'description' => '安装时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2022-09-02T02:30:34Z'."\n", ], ], ], ], ], ], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0bc3b4aa16677927210252786e4cb6\\",\\n \\"data\\": {\\n \\"createdPackages\\": [\\n {\\n \\"name\\": \\"packageA\\",\\n \\"createTime\\": 0\\n }\\n ],\\n \\"installedPackages\\": [\\n {\\n \\"name\\": \\"packageB\\",\\n \\"sourceProject\\": \\"projectB\\",\\n \\"status\\": \\"OK\\",\\n \\"installTime\\": 0\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '获取Package列表', 'summary' => '获取MaxCompute项目下的Package列表。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListPackages', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], ], ], 'ListProjectUsers' => [ 'summary' => '获取项目用户列表。', 'path' => '/api/v1/projects/{projectName}/users', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '151440', 'abilityTreeNodes' => [ 'FEATUREodpsTZPZOE', ], ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'description' => 'MaxCompute项目名称', 'type' => 'string', 'required' => true, 'example' => 'projectA', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id', 'type' => 'string', 'example' => '0b87b7b316643495896551555e855b', ], 'data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'users' => [ 'description' => '用户列表', 'type' => 'array', 'items' => [ 'description' => '用户列表', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '用户名称', 'type' => 'string', 'example' => 'userA', ], ], ], ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0b87b7b316643495896551555e855b\\",\\n \\"data\\": {\\n \\"users\\": [\\n {\\n \\"name\\": \\"userA\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '获取项目用户列表', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:ListProjectUsers', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], ], ], 'ListProjects' => [ 'path' => '/api/v1/projects', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '137543', 'abilityTreeNodes' => [ 'FEATUREodpsTZPZOE', ], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'tenantId', 'in' => 'query', 'schema' => [ 'description' => '租户ID。可以通过登录[MaxCompute控制台](https://maxcompute.console.aliyun.com),在左侧导航栏选择**租户管理**>**租户属性**查看。', 'type' => 'string', 'required' => false, 'example' => '5495****3697', ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', ], ], [ 'name' => 'quotaNickName', 'in' => 'query', 'schema' => [ 'description' => 'Quota昵称(可通过登录[MaxCompute控制台](https://maxcompute.console.aliyun.com),在左侧导航栏选择**工作区**>**配额**(Quota)**管理**查看获取)。', 'type' => 'string', 'required' => false, 'example' => 'os_PayAsYouGoQuota'."\n", ], ], [ 'name' => 'quotaName', 'in' => 'query', 'schema' => [ 'description' => 'Quota名称(系统自动生成,可通过登录[MaxCompute控制台](https://maxcompute.console.aliyun.com),在左侧导航栏选择**工作区**>**配额**(Quota)**管理**查看获取)。', 'type' => 'string', 'required' => false, 'example' => 'aliyun_5495***3697', ], ], [ 'name' => 'prefix', 'in' => 'query', 'schema' => [ 'description' => '限定返回的资源名称,名称必须以Prefix作为前缀,例如Prefix是a,则返回的资源名均是以a开始的。', 'type' => 'string', 'required' => false, 'example' => 'a', ], ], [ 'name' => 'marker', 'in' => 'query', 'schema' => [ 'description' => '设定结果从marker之后按字母排序的第一个开始返回。', 'type' => 'string', 'required' => false, 'example' => 'cHlvZHBzX3VkZl8xMDExNV8xNDU3NDI4NDkzKg==', ], ], [ 'name' => 'maxItem', 'in' => 'query', 'schema' => [ 'description' => '每页返回的最大结果数,默认为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'default' => '10', ], ], [ 'name' => 'saleTags', 'in' => 'query', 'schema' => [ 'description' => '默认计算Quota的实例ID与付费类型。', 'type' => 'string', 'required' => false, 'example' => '{'."\n" .' "resourceId": "b7afb7d1-****-****-****-c393669c307b",'."\n" .' "resourceType": "PayAsYouGo"'."\n" .' }', ], ], [ 'name' => 'type', 'in' => 'query', 'schema' => [ 'description' => '项目类型。取值:'."\n" .'- **managed**:内部项目。'."\n" .'- **external**:外部项目。', 'type' => 'string', 'required' => false, 'example' => 'managed', ], ], [ 'name' => 'listSystemCatalog', 'in' => 'query', 'schema' => [ 'description' => '是否列出内建**SYSTEM_CATALOG**项目,用于提供项目元数据及使用历史数据等信息,详细请参考[Information Schema](https://help.aliyun.com/zh/maxcompute/user-guide/tenant-level-information-schema)'."\n" .'[Information Schema](https://www.alibabacloud.com/help/zh/maxcompute/user-guide/tenant-level-information-schema)功能。', 'type' => 'boolean', 'required' => false, 'enumValueTitles' => [ 'true' => '列出', 'false' => '不列出', ], 'example' => 'true', 'default' => 'false', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult>', 'description' => '请求返回参数。', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0b16399216671970335563173e2340', ], 'data' => [ 'description' => '请求返回结果。', 'type' => 'object', 'properties' => [ 'projects' => [ 'description' => '项目列表。', 'type' => 'array', 'items' => [ 'description' => '项目信息。', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '项目名称。', 'type' => 'string', 'example' => 'odps_project', ], 'owner' => [ 'description' => '项目owner账号信息。', 'type' => 'string', 'example' => 'ALIYUN$odps****@aliyunid.com'."\n", ], 'type' => [ 'description' => '项目类型。取值:'."\n" .'- **managed**:内部项目。'."\n" .'- **external**:外部项目。', 'type' => 'string', 'example' => 'managed', ], 'comment' => [ 'description' => '项目描述。', 'type' => 'string', 'example' => 'BI_Analysis', ], 'defaultQuota' => [ 'description' => '默认计算Quota。'."\n" .'用于实现计算资源分配。不指定计算Quota的情况下,该项目发起的作业将消耗默认Quota资源。更多计算资源使用请参见[计算资源-Quota使用](https://help.aliyun.com/zh/maxcompute/user-guide/use-of-computing-resources)'."\n" .'[计算资源-Quota使用](https://www.alibabacloud.com/help/zh/maxcompute/user-guide/use-of-computing-resources)。', 'type' => 'string', 'example' => 'os_PayAsYouGoQuota'."\n", ], 'status' => [ 'description' => '项目状态。取值:'."\n" .'- **AVAILABLE**:正常'."\n" .'- **READONLY**:只读'."\n" .'- **FROZEN**:冻结'."\n" .'- **DELETING**:删除中', 'type' => 'string', 'example' => 'AVAILABLE', ], 'costStorage' => [ 'description' => '存储总量。 查看项目当前存储大小,此存储量与计量口径一致,即按Project采集压缩后的逻辑存储大小。', 'type' => 'string', 'example' => '16489027', ], 'regionId' => [ 'title' => '区域ID', 'description' => '地域ID。', 'type' => 'string', 'example' => 'cn-beijing', ], 'createdTime' => [ 'title' => '创建时间', 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1704380838000', ], 'properties' => [ 'description' => '项目基础属性。', 'type' => 'object', 'properties' => [ 'timezone' => [ 'description' => '项目时区,即为`odps.sql.timezone`属性。', 'type' => 'string', 'example' => 'Asia/Shanghai'."\n", ], 'retentionDays' => [ 'description' => '备份数据的保留天数。在此期间,您可以将当前版本恢复至任意一个备份的数据版本。 取值范围为[0,30],默认值为1,0代表关闭备份功能。', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'allowFullScan' => [ 'description' => '项目空间是否允许全表扫描。全表扫描会占用大量资源,为提升处理效率,默认关闭该功能。', 'type' => 'boolean', 'example' => 'false', ], 'typeSystem' => [ 'description' => '数据类型版本。取值:'."\n" .'- **1**:1.0版本'."\n" .'- **2**:2.0版本'."\n" .'- **hive**:hive兼容类型'."\n" ."\n" .'三种数据类型版本的区别请参见[数据类型版本说明](https://help.aliyun.com/zh/maxcompute/user-guide/data-type-editions)'."\n" .'[数据类型版本说明](https://www.alibabacloud.com/help/zh/maxcompute/user-guide/data-type-editions)。', 'type' => 'string', 'example' => '2', ], 'enableDecimal2' => [ 'description' => '项目是否开启MaxCompute 2.0的Decimal数据类型。', 'type' => 'boolean', 'example' => 'true', ], 'sqlMeteringMax' => [ 'description' => '单SQL消费的最高阈值。 单位:扫描量(GB)*复杂度。', 'type' => 'string', 'example' => '1500', ], 'tableLifecycle' => [ 'description' => '表的生命周期属性。', 'type' => 'object', 'properties' => [ 'type' => [ 'description' => '生命周期类型。取值:'."\n" .'- **mandatory**:Lifecycle子句为必选设置,用户必须设置表的生命周期。'."\n" .'- **optional**:创建表时,Lifecycle子句为可选设置,如果不设置表的生命周期,则该表永远有效。'."\n" .'- **inherit**:创建表时,如果不设置表的生命周期,则该表的生命周期为odps.table.lifecycle.value的值。', 'type' => 'string', 'example' => 'optional', ], 'value' => [ 'description' => '表的生命周期,单位为:天。取值范围为1~37231,默认值为37231。', 'type' => 'string', 'example' => '37231'."\n", ], ], ], 'encryption' => [ 'description' => '存储加密属性。', 'type' => 'object', 'properties' => [ 'enable' => [ 'description' => '项目是否开启数据加密功能。更多数据加密信息,请参见'."\n" .'[存储加密](https://help.aliyun.com/zh/maxcompute/security-and-compliance/storage-encryption)'."\n" .'[存储加密](https://www.alibabacloud.com/help/zh/maxcompute/security-and-compliance/storage-encryption)。', 'type' => 'boolean', 'example' => 'true', ], 'algorithm' => [ 'description' => '数据加密算法:密钥支持的加密算法,包含AES256、AESCTR和RC4。', 'type' => 'string', 'example' => 'AES256', ], 'key' => [ 'description' => '数据加密使用的密钥类型,包含默认密钥(MaxCompute Default Key)和自带密钥(BYOK)。默认密钥(MaxCompute Default Key)是MaxCompute内部创建的默认密钥。', 'type' => 'string', 'example' => 'dafault', ], ], ], 'tunnelQuota' => [ 'description' => '项目绑定的[数据传输服务](https://help.aliyun.com/zh/maxcompute/user-guide/overview-of-dts)'."\n" .'[数据传输服务](https://www.alibabacloud.com/help/zh/maxcompute/user-guide/overview-of-dts)资源组。'."\n" ."\n" .'- Default(数据传输服务共享资源组):该项目不允许使用数据传输服务(包年包月)资源组。不管开启成默认数据传输服务资源组取值是什么,该项目默认提交的数据传输服务会自动使用Default资源组。'."\n" ."\n" .'- 数据传输服务(包年包月)资源组:该项目允许使用数据传输服务(包年包月)资源组。', 'type' => 'string', 'example' => 'Default', ], 'enableTunnelQuotaRoute' => [ 'description' => '是否开启数据传输服务资源组路由。'."\n" .'- true:表示该项目默认提交的数据传输任务会使用绑定的数据传输服务资源组。'."\n" .'- false:表示该项目默认提交的数据传输任务会使用数据传输服务共享资源组。', 'type' => 'boolean', 'example' => 'true', ], 'externalProjectProperties' => [ 'description' => '外部项目属性。', 'type' => 'object', 'properties' => [ 'isExternalCatalogBound' => [ 'description' => '是否为[湖仓一体2.0](https://help.aliyun.com/zh/maxcompute/user-guide/lake-warehouse-integrated-2-0-use-guide)'."\n" .'[湖仓一体2.0](https://www.alibabacloud.com/help/zh/maxcompute/user-guide/lake-warehouse-integrated-2-0-use-guide)外部项目。', 'type' => 'string', 'example' => 'true', ], ], ], ], ], 'securityProperties' => [ 'description' => '权限属性。', 'type' => 'object', 'properties' => [ 'usingAcl' => [ 'description' => '是否使用[ACL权限控制](https://help.aliyun.com/zh/maxcompute/user-guide/acl-based-access-control)'."\n" .'[ACL权限控制](https://www.alibabacloud.com/help/zh/maxcompute/user-guide/acl-based-access-control)功能,默认为使用状态。', 'type' => 'boolean', 'example' => 'true', ], 'usingPolicy' => [ 'description' => '是否使用[Policy权限控制](https://help.aliyun.com/zh/maxcompute/user-guide/policy-based-access-control-1)'."\n" .'[Policy权限控制](https://www.alibabacloud.com/help/zh/maxcompute/user-guide/policy-based-access-control-1)功能,默认为使用状态。', 'type' => 'boolean', 'example' => 'true', ], 'objectCreatorHasAccessPermission' => [ 'description' => '是否允许对象创建者拥有对象的访问权限,默认为允许状态。', 'type' => 'boolean', 'example' => 'true', ], 'objectCreatorHasGrantPermission' => [ 'description' => '是否允许对象创建者拥有对象的授权权限,默认为允许状态。', 'type' => 'boolean', 'example' => 'true', ], 'labelSecurity' => [ 'description' => '是否使用[Label权限控制](https://help.aliyun.com/zh/maxcompute/user-guide/label-based-access-control)'."\n" .'[Label权限控制](https://www.alibabacloud.com/help/zh/maxcompute/user-guide/label-based-access-control)功能,默认为不使用状态。', 'type' => 'boolean', 'example' => 'false', ], 'enableDownloadPrivilege' => [ 'description' => '是否使用[Download权限控制](https://help.aliyun.com/zh/maxcompute/user-guide/download-control)'."\n" .'[Download权限控制](https://www.alibabacloud.com/help/zh/maxcompute/user-guide/label-based-access-control)功能,默认为不使用状态。', 'type' => 'boolean', 'example' => 'false', ], 'projectProtection' => [ 'description' => '[数据保护机制](https://help.aliyun.com/zh/maxcompute/security-and-compliance/project-data-protection)'."\n" .'[数据保护机制](https://www.alibabacloud.com/help/zh/maxcompute/security-and-compliance/project-data-protection)属性。', 'type' => 'object', 'properties' => [ 'protected' => [ 'description' => '是否开启项目的[数据保护机制](https://help.aliyun.com/zh/maxcompute/security-and-compliance/project-data-protection)'."\n" .'[数据保护机制](https://www.alibabacloud.com/help/zh/maxcompute/security-and-compliance/project-data-protection),禁止或允许数据流出项目,默认为不开启状态。', 'type' => 'boolean', 'example' => 'true', ], 'exceptionPolicy' => [ 'description' => '如选择开启项目空间数据保护,允许设置例外或受信任项目,指定用户将指定对象的数据流出至指定项目,所有符合Exception Policy中描述的情形都可以打破数据保护机制。', 'type' => 'string', 'example' => '{'."\n" .' "Version": "1",'."\n" .' "Statement": ['."\n" .' {'."\n" .' "Effect": "Allow",'."\n" .' "Principal": "",'."\n" .' "Action": ['."\n" .' "odps:[, , ...]"'."\n" .' ],'."\n" .' "Resource": "acs:odps:*:",'."\n" .' "Condition": {'."\n" .' "StringEquals": {'."\n" .' "odps:TaskType": ['."\n" .' ""'."\n" .' ]'."\n" .' }'."\n" .' }'."\n" .' }'."\n" .' ]'."\n" .'}', ], ], ], ], ], 'ipWhiteList' => [ 'description' => 'IP白名单。', 'type' => 'object', 'properties' => [ 'ipList' => [ 'description' => '公网和云产品互联网络IP白名单。'."\n" ."\n" .'> 如果只配置公网和云产品互联网络IP白名单,则公网和云产品互联网络访问受配置限制,VPC网络访问全部禁止。', 'type' => 'string', 'example' => '10.88.111.3', ], 'vpcIpList' => [ 'description' => 'VPC网络IP白名单。'."\n" .'> 如果只配置VPC网络IP白名单,则VPC网络访问受配置限制,公网和云产品互联网络访问全部禁止。', 'type' => 'string', 'example' => '10.88.111.3', ], ], ], 'saleTag' => [ 'description' => '默认计算Quota的实例ID与付费类型。', 'type' => 'object', 'properties' => [ 'resourceId' => [ 'description' => '默认计算Quota的实例ID。', 'type' => 'string', 'example' => 'b7afb7d1-****-****-****-c393669c307b'."\n", ], 'resourceType' => [ 'description' => '默认计算Quota的付费类型。', 'type' => 'string', 'example' => 'PayAsYouGo'."\n", ], ], ], 'threeTierModel' => [ 'description' => '是否支持按Schema存储。'."\n" .'MaxCompute支持Schema,处于Project下,Table、Resource、UDF上的对象,对Table、Resource、UDF进行归类。一个Project下可以有多个Schema。详情请参见[Schema操作](https://help.aliyun.com/zh/maxcompute/user-guide/schema-related-operations)'."\n" .'[Schema操作](https://www.alibabacloud.com/help/zh/maxcompute/user-guide/schema-related-operations)。', 'type' => 'boolean', 'enumValueTitles' => [ 'true' => '支持', 'false' => '不支持', ], 'example' => 'true', ], ], ], ], 'marker' => [ 'description' => '设定结果从marker之后按字母排序的第一个开始返回。', 'type' => 'string', 'example' => 'cHlvZHBzX3VkZl8xMDExNV8xNDU3NDI4NDkzKg==', ], 'maxItem' => [ 'description' => '每页返回的最大结果数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], 'NextToken' => [ 'description' => '分页标识,当前接口仅支持连续翻页。返回值nextToken 非空代表还有剩余数据。把nextToken 作为参数继续查询会获得下一页。', 'type' => 'string', 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6kvikyUl3ChyRxN+qLPvtOb', ], ], ], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0b16399216671970335563173e2340\\",\\n \\"data\\": {\\n \\"projects\\": [\\n {\\n \\"name\\": \\"odps_project\\",\\n \\"owner\\": \\"ALIYUN$odps****@aliyunid.com\\\\n\\",\\n \\"type\\": \\"managed\\",\\n \\"comment\\": \\"BI_Analysis\\",\\n \\"defaultQuota\\": \\"os_PayAsYouGoQuota\\\\n\\",\\n \\"status\\": \\"AVAILABLE\\",\\n \\"costStorage\\": \\"16489027\\",\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"createdTime\\": 1704380838000,\\n \\"properties\\": {\\n \\"timezone\\": \\"Asia/Shanghai\\\\n\\",\\n \\"retentionDays\\": 1,\\n \\"allowFullScan\\": false,\\n \\"typeSystem\\": \\"2\\",\\n \\"enableDecimal2\\": true,\\n \\"sqlMeteringMax\\": \\"1500\\",\\n \\"tableLifecycle\\": {\\n \\"type\\": \\"optional\\",\\n \\"value\\": \\"37231\\\\n\\"\\n },\\n \\"encryption\\": {\\n \\"enable\\": true,\\n \\"algorithm\\": \\"AES256\\",\\n \\"key\\": \\"dafault\\"\\n },\\n \\"tunnelQuota\\": \\"Default\\",\\n \\"enableTunnelQuotaRoute\\": true,\\n \\"externalProjectProperties\\": {\\n \\"isExternalCatalogBound\\": \\"true\\"\\n }\\n },\\n \\"securityProperties\\": {\\n \\"usingAcl\\": true,\\n \\"usingPolicy\\": true,\\n \\"objectCreatorHasAccessPermission\\": true,\\n \\"objectCreatorHasGrantPermission\\": true,\\n \\"labelSecurity\\": false,\\n \\"enableDownloadPrivilege\\": false,\\n \\"projectProtection\\": {\\n \\"protected\\": true,\\n \\"exceptionPolicy\\": \\"{\\\\n \\\\\\"Version\\\\\\": \\\\\\"1\\\\\\",\\\\n \\\\\\"Statement\\\\\\": [\\\\n {\\\\n \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n \\\\\\"Principal\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"Action\\\\\\": [\\\\n \\\\\\"odps:[, , ...]\\\\\\"\\\\n ],\\\\n \\\\\\"Resource\\\\\\": \\\\\\"acs:odps:*:\\\\\\",\\\\n \\\\\\"Condition\\\\\\": {\\\\n \\\\\\"StringEquals\\\\\\": {\\\\n \\\\\\"odps:TaskType\\\\\\": [\\\\n \\\\\\"\\\\\\"\\\\n ]\\\\n }\\\\n }\\\\n }\\\\n ]\\\\n}\\"\\n }\\n },\\n \\"ipWhiteList\\": {\\n \\"ipList\\": \\"10.88.111.3\\",\\n \\"vpcIpList\\": \\"10.88.111.3\\"\\n },\\n \\"saleTag\\": {\\n \\"resourceId\\": \\"b7afb7d1-****-****-****-c393669c307b\\\\n\\",\\n \\"resourceType\\": \\"PayAsYouGo\\\\n\\"\\n },\\n \\"threeTierModel\\": true\\n }\\n ],\\n \\"marker\\": \\"cHlvZHBzX3VkZl8xMDExNV8xNDU3NDI4NDkzKg==\\",\\n \\"maxItem\\": 10,\\n \\"NextToken\\": \\"AAAAAV3MpHK1AP0pfERHZN5pu6kvikyUl3ChyRxN+qLPvtOb\\"\\n }\\n}","type":"json"}]', 'title' => '获取项目列表', 'summary' => '获取MaxCompute项目列表。', 'changeSet' => [ [ 'createdAt' => '2024-09-12T08:31:50.000Z', 'description' => '响应参数发生变更', ], [ 'createdAt' => '2024-07-31T07:43:55.000Z', 'description' => '响应参数发生变更', ], [ 'createdAt' => '2024-01-08T05:32:02.000Z', 'description' => '响应参数发生变更', ], [ 'createdAt' => '2023-11-14T07:01:39.000Z', 'description' => '请求参数发生变更、响应参数发生变更', ], [ 'createdAt' => '2023-09-21T03:13:39.000Z', 'description' => '响应参数发生变更', ], [ 'createdAt' => '2023-08-23T11:03:02.000Z', 'description' => '请求参数发生变更', ], [ 'createdAt' => '2023-01-09T08:15:17.000Z', 'description' => '请求参数发生变更、响应参数发生变更', ], [ 'createdAt' => '2022-11-14T09:44:49.000Z', 'description' => '响应参数发生变更', ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListProjects', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'conditional', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/*', ], ], ], ], ], ], 'ListQuotas' => [ 'path' => '/api/v1/quotas', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '124145', 'abilityTreeNodes' => [ 'FEATUREodpsZAKNHC', ], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'tenantId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'deprecated' => true, 'required' => false, ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'type' => 'string', 'deprecated' => true, 'required' => false, ], ], [ 'name' => 'productId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'deprecated' => true, 'required' => false, 'default' => 'ODPS', ], ], [ 'name' => 'billingType', 'in' => 'query', 'schema' => [ 'description' => '付费模式', 'type' => 'string', 'required' => false, 'example' => 'subscription', 'default' => 'subscription', ], ], [ 'name' => 'saleTags', 'in' => 'query', 'schema' => [ 'description' => '可以根据费用标签来过滤quota 对象,费用标签是用户在标签云产品创建的。', 'type' => 'string', 'required' => false, 'example' => '{"tag":"this_is_tag_demo"}', ], ], [ 'name' => 'marker', 'in' => 'query', 'schema' => [ 'description' => '设定结果从marker之后按字母排序的第一个开始返回。', 'type' => 'string', 'required' => false, 'example' => 'cHlvZHBzX3VkZl8xMDExNV8xNDU3NDI4NDkzKg==', ], ], [ 'name' => 'maxItem', 'in' => 'query', 'schema' => [ 'description' => '限制返回的最大数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopCompatibleResult', 'description' => 'PopCompatibleResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '0bc12e6f16677875480593081d2956', ], 'quotaInfoList' => [ 'description' => 'quota列表', 'type' => 'array', 'items' => [ 'description' => 'quota列表', 'type' => 'object', 'properties' => [ 'billingPolicy' => [ 'description' => '订单信息', 'type' => 'object', 'properties' => [ 'billingMethod' => [ 'title' => '"PAYASYOUGO" 表示后付费', 'description' => '付费模式。'."\n" .'- subscription,表示是预付费quota。'."\n" .'- payasyougo,表示是后付费quota。', 'type' => 'string', 'example' => 'subscription', ], 'odpsSpecCode' => [ 'description' => '订单规格', 'type' => 'string', 'example' => 'OdpsStandard ', ], 'orderId' => [ 'description' => '订单id。', 'type' => 'string', 'example' => '45245678', ], ], ], 'saleTag' => [ 'description' => '描述了MaxCompute quota 对象的标识,这个标识与阿里云售卖账单中的标识是一致的。实际使用与标签场景下。', 'type' => 'object', 'properties' => [ 'resourceIds' => [ 'description' => 'maxcompute quota 对象的标识,这个标识在阿里云售卖子系统内也存在。通过这个标识,可以把quota 对象的费用都关联到某个标签上。', 'type' => 'array', 'items' => [ 'description' => 'maxcompute quota 对象的标识', 'type' => 'string', 'example' => '"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd"', ], ], 'resourceType' => [ 'description' => '对象的类型,目前仅支持quota 和 project 两种类型。', 'type' => 'string', 'example' => '"project"', ], ], ], 'cluster' => [ 'description' => '集群id', 'type' => 'string', 'example' => 'AT-120N'."\n", ], 'createTime' => [ 'description' => '资源创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2022-09-06T02:14:44Z'."\n", ], 'creatorId' => [ 'description' => '资源创建者,云账号UID。', 'type' => 'string', 'example' => '672863518'."\n", ], 'id' => [ 'description' => 'quota ID', 'type' => 'string', 'example' => '0', ], 'name' => [ 'description' => 'quota名称', 'type' => 'string', 'example' => 'quota_a'."\n", ], 'nickName' => [ 'description' => 'quota别名', 'type' => 'string', 'example' => 'quota_nickname'."\n", ], 'parameter' => [ 'description' => 'quota的描述信息', 'type' => 'object', 'example' => '{"minCU":10, '."\n" .'"adhocCU":0,'."\n" .'"maxCU":10,'."\n" .'"schedulerType":"Fair",'."\n" .'}', ], 'parentId' => [ 'description' => '父资源id。', 'type' => 'string', 'example' => 'null', ], 'regionId' => [ 'description' => '地域id。', 'type' => 'string', 'example' => 'cn-beijing', ], 'scheduleInfo' => [ 'description' => '分时信息。', 'type' => 'object', 'properties' => [ 'currPlan' => [ 'description' => '按照调度计划生效的quota计划', 'type' => 'string', 'example' => 'planA', ], 'currTime' => [ 'description' => 'currPlan被调度的时间', 'type' => 'string', 'example' => '0800', ], 'nextPlan' => [ 'description' => '按照调度计划将要生效的quota计划', 'type' => 'string', 'example' => 'planB', ], 'nextTime' => [ 'description' => 'next_plan被调度的时间', 'type' => 'string', 'example' => '1700', ], 'oncePlan' => [ 'description' => '立即生效的quota计划。'."\n" .'如果用户触发了立即生效且不同于curr_plan,那么非空。', 'type' => 'string', 'example' => 'planC', ], 'onceTime' => [ 'description' => '立即生效触发的时间', 'type' => 'string', 'example' => '1500', ], 'operatorName' => [ 'description' => '操作人名称。', 'type' => 'string', 'example' => 'userA', ], 'timezone' => [ 'description' => '时区', 'type' => 'string', 'example' => 'UTC+8', ], ], ], 'status' => [ 'description' => '资源状态', 'type' => 'string', 'example' => 'ON '."\n", ], 'subQuotaInfoList' => [ 'description' => '二级quota信息', 'type' => 'array', 'items' => [ 'description' => '二级quota信息', 'type' => 'object', 'properties' => [ 'saleTag' => [ 'description' => '描述了MaxCompute quota 对象的标识,这个标识与阿里云售卖账单中的标识是一致的。实际使用与标签场景下。', 'type' => 'object', 'properties' => [ 'resourceIds' => [ 'description' => 'maxcompute quota 对象的标识,这个标识在阿里云售卖子系统内也存在。通过这个标识,可以把quota 对象的费用都关联到某个标签上。', 'type' => 'array', 'items' => [ 'description' => 'maxcompute quota 对象的标识', 'type' => 'string', 'example' => '"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd"'."\n", ], ], 'resourceType' => [ 'description' => '对象的类型,目前仅支持quota 和 project 两种类型。', 'type' => 'string', 'example' => '"quota"', ], ], ], 'billingPolicy' => [ 'description' => '订单信息', 'type' => 'object', 'properties' => [ 'billingMethod' => [ 'title' => '"PAYASYOUGO" 表示后付费', 'description' => '付费模式。'."\n" .'- subscription,表示是预付费quota。'."\n" .'- payasyougo,表示是后付费quota。', 'type' => 'string', 'example' => 'subscription'."\n", ], 'odpsSpecCode' => [ 'description' => '订单规格', 'type' => 'string', 'example' => 'OdpsStandard ', ], 'orderId' => [ 'description' => '订单id。', 'type' => 'string', 'example' => '45245678'."\n", ], ], ], 'cluster' => [ 'description' => '集群id', 'type' => 'string', 'example' => 'AT-120N', ], 'createTime' => [ 'description' => '资源创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2022-09-06T02:14:44Z'."\n", ], 'creatorId' => [ 'description' => '资源创建者,云账号UID。', 'type' => 'string', 'example' => '672863518'."\n", ], 'id' => [ 'description' => '二级quota ID', 'type' => 'string', 'example' => '1000048', ], 'name' => [ 'description' => '二级quota名称', 'type' => 'string', 'example' => 'subquotaA'."\n", ], 'nickName' => [ 'description' => '二级quota别名', 'type' => 'string', 'example' => 'subquotaA'."\n", ], 'parameter' => [ 'description' => 'quota的描述信息', 'type' => 'object', 'properties' => [ 'enablePriority' => [ 'description' => '开启优先级。', 'type' => 'boolean', 'example' => 'true', ], 'forceReservedMin' => [ 'description' => '是否独占。', 'type' => 'boolean', 'example' => 'true', ], 'maxCU' => [ 'description' => '预留CU上限。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '50', ], 'minCU' => [ 'description' => '预留CU保障。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '50', ], 'schedulerType' => [ 'description' => '调度策略。', 'type' => 'string', 'example' => 'Fifo/Fair'."\n", ], 'singleJobCULimit' => [ 'description' => '单作业CU上限。', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], 'elasticReservedCU' => [ 'description' => '弹性预留CU值。', 'type' => 'integer', 'format' => 'int64', 'example' => '50', ], 'slotNum' => [ 'type' => 'integer', 'format' => 'int64', ], 'adhocSlot' => [ 'type' => 'integer', 'format' => 'int64', ], 'minGu' => [ 'type' => 'integer', 'format' => 'int64', ], 'maxGu' => [ 'type' => 'integer', 'format' => 'int64', ], 'autoScaleCPULimit' => [ 'type' => 'integer', 'format' => 'int64', ], ], 'example' => '{"minCU":10, '."\n" .'"adhocCU":0,'."\n" .'"maxCU":10,'."\n" .'"schedulerType":"Fair",'."\n" .'}', ], 'parentId' => [ 'description' => '父资源id', 'type' => 'string', 'example' => '0', ], 'regionId' => [ 'description' => '地域id。', 'type' => 'string', 'example' => 'cn-beijing', ], 'scheduleInfo' => [ 'description' => '分时信息。', 'type' => 'object', 'properties' => [ 'currPlan' => [ 'description' => '按照调度计划生效的quota计划', 'type' => 'string', 'example' => 'planA', ], 'currTime' => [ 'description' => 'currPlan被调度的时间', 'type' => 'string', 'example' => '0800', ], 'nextPlan' => [ 'description' => '按照调度计划将要生效的quota计划', 'type' => 'string', 'example' => 'planB', ], 'nextTime' => [ 'description' => 'next_plan被调度的时间', 'type' => 'string', 'example' => '1700', ], 'oncePlan' => [ 'description' => '立即生效的quota计划。'."\n" .'如果用户触发了立即生效且不同于curr_plan,那么非空。', 'type' => 'string', 'example' => 'planC', ], 'onceTime' => [ 'description' => '立即生效触发的时间', 'type' => 'string', 'example' => '1500', ], 'operatorName' => [ 'description' => '操作人名称。', 'type' => 'string', 'example' => 'userA', ], 'timezone' => [ 'description' => '时区', 'type' => 'string', 'example' => 'UTC+8', ], ], ], 'status' => [ 'description' => '资源状态', 'type' => 'string', 'example' => 'ON', ], 'tag' => [ 'description' => 'quota的资源标签', 'type' => 'string', 'example' => 'abc', ], 'tenantId' => [ 'description' => '租户id。', 'type' => 'string', 'example' => '280747109771520'."\n", ], 'type' => [ 'title' => '对应控制集群的resourceSystemType字段', 'description' => '对应控制集群的resourceSystemType字段', 'type' => 'string', 'example' => 'FUXI_ONLINE'."\n", ], 'version' => [ 'description' => '版本', 'type' => 'string', 'example' => '1', ], ], ], ], 'tag' => [ 'description' => 'quota的资源标签', 'type' => 'string', 'example' => 'abc', ], 'tenantId' => [ 'description' => '租户id。', 'type' => 'string', 'example' => '280747109771520'."\n", ], 'type' => [ 'title' => '对应控制集群的resourceSystemType字段', 'description' => '对应控制集群的resourceSystemType字段', 'type' => 'string', 'example' => 'FUXI_ONLINE'."\n", ], 'version' => [ 'description' => '版本。', 'type' => 'string', 'example' => '1', ], 'Tags' => [ 'description' => '标签', 'type' => 'array', 'items' => [ 'description' => '标签', 'type' => 'object', 'properties' => [ 'TagValue' => [ 'description' => '标签值。', 'type' => 'string', 'example' => '1', ], 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'example' => 'Department', ], ], ], ], ], ], ], 'marker' => [ 'description' => '设定结果从marker之后按字母排序的第一个开始返回。', 'type' => 'string', 'example' => 'cHlvZHBzX3VkZl8xMDExNV8xNDU3NDI4NDkzKg==', ], 'maxItem' => [ 'description' => '每页返回的最大结果数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], 'data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'quotaInfoList' => [ 'description' => 'quota列表', 'type' => 'array', 'items' => [ 'description' => 'quota列表', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => 'quota id', 'type' => 'string', 'example' => '0'."\n", ], 'name' => [ 'description' => 'quota名称', 'type' => 'string', 'example' => 'quota_a'."\n", ], 'nickName' => [ 'description' => 'quota别名', 'type' => 'string', 'example' => 'quota_nickname', ], 'type' => [ 'title' => '对应控制集群的resourceSystemType字段', 'description' => '对应控制集群的resourceSystemType字段', 'type' => 'string', 'example' => 'FUXI_ONLINE', ], 'status' => [ 'description' => '资源状态', 'type' => 'string', 'example' => 'ON', ], 'tenantId' => [ 'description' => '租户id。', 'type' => 'string', 'example' => '280747109771520', ], 'regionId' => [ 'description' => '地域id。', 'type' => 'string', 'example' => 'cn-beijing', ], 'parentId' => [ 'description' => '父资源 id', 'type' => 'string', 'example' => 'null', ], 'cluster' => [ 'description' => '集群id', 'type' => 'string', 'example' => 'AT-120N', ], 'version' => [ 'description' => '版本', 'type' => 'string', 'example' => '1', ], 'billingPolicy' => [ 'description' => '订单信息', 'type' => 'object', 'properties' => [ 'odpsSpecCode' => [ 'description' => '订单规格', 'type' => 'string', 'example' => 'OdpsStandard ', ], 'orderId' => [ 'description' => '订单id', 'type' => 'string', 'example' => '45245678'."\n", ], 'billingMethod' => [ 'title' => '"PAYASYOUGO" 表示后付费', 'description' => '付费模式。'."\n" .'- subscription,表示是预付费quota。'."\n" .'- payasyougo,表示是后付费quota。', 'type' => 'string', 'example' => 'subscription', ], ], ], 'scheduleInfo' => [ 'description' => '分时信息', 'type' => 'object', 'properties' => [ 'currPlan' => [ 'description' => '按照调度计划生效的quota计划', 'type' => 'string', 'example' => 'planA'."\n", ], 'currTime' => [ 'description' => 'currPlan被调度的时间', 'type' => 'string', 'example' => '0800', ], 'nextPlan' => [ 'description' => '按照调度计划将要生效的quota计划', 'type' => 'string', 'example' => 'planB', ], 'nextTime' => [ 'description' => 'next_plan被调度的时间', 'type' => 'string', 'example' => '1700', ], 'oncePlan' => [ 'description' => '立即生效的quota计划。'."\n" .'如果用户触发了立即生效且不同于curr_plan,那么非空。', 'type' => 'string', 'example' => 'planC', ], 'onceTime' => [ 'description' => '立即生效触发的时间', 'type' => 'string', 'example' => '1500', ], 'operatorName' => [ 'description' => '操作人名称。', 'type' => 'string', 'example' => 'userA', ], 'timezone' => [ 'description' => '时区', 'type' => 'string', 'example' => 'UTC+8', ], ], ], 'parameter' => [ 'description' => 'quota的描述信息', 'type' => 'object', 'example' => '{"minCU":10, '."\n" .'"adhocCU":0,'."\n" .'"maxCU":10,'."\n" .'"schedulerType":"Fair",'."\n" .'}', ], 'tag' => [ 'description' => 'quota的资源标签', 'type' => 'string', 'example' => 'abc', ], 'createTime' => [ 'description' => '资源创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2022-09-06T02:14:44Z'."\n", ], 'creatorId' => [ 'description' => '资源创建者,云账号UID。', 'type' => 'string', 'example' => '672863518'."\n", ], 'saleTag' => [ 'description' => '描述了MaxCompute quota 对象的标识,这个标识与阿里云售卖账单中的标识是一致的。实际使用与标签场景下。', 'type' => 'object', 'properties' => [ 'resourceIds' => [ 'description' => 'maxcompute quota 对象的标识,这个标识在阿里云售卖子系统内也存在。通过这个标识,可以把quota 对象的费用都关联到某个标签上。', 'type' => 'array', 'items' => [ 'description' => 'maxcompute quota 对象的标识', 'type' => 'string', 'example' => '"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd"'."\n", ], ], 'resourceType' => [ 'description' => '对象的类型,目前仅支持quota 和 project 两种类型。', 'type' => 'string', 'example' => '"quota"'."\n", ], ], ], 'subQuotaInfoList' => [ 'description' => '二级quota信息', 'type' => 'array', 'items' => [ 'description' => '二级quota信息', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => '二级quota ID', 'type' => 'string', 'example' => '1000048', ], 'name' => [ 'description' => '二级quota名称', 'type' => 'string', 'example' => 'subquotaA'."\n", ], 'nickName' => [ 'description' => '二级quota昵称', 'type' => 'string', 'example' => 'subquotaA'."\n", ], 'type' => [ 'title' => '对应控制集群的resourceSystemType字段', 'description' => '对应控制集群的resourceSystemType字段', 'type' => 'string', 'example' => 'FUXI_ONLINE'."\n", ], 'status' => [ 'description' => '资源状态', 'type' => 'string', 'example' => 'ON', ], 'tenantId' => [ 'description' => '租户id。', 'type' => 'string', 'example' => '280747109771520'."\n", ], 'regionId' => [ 'description' => '地域id。', 'type' => 'string', 'example' => 'cn-beijing', ], 'parentId' => [ 'description' => '父资源id。', 'type' => 'string', 'example' => '0', ], 'cluster' => [ 'description' => '集群id', 'type' => 'string', 'example' => 'AT-120N', ], 'version' => [ 'description' => '版本号', 'type' => 'string', 'example' => '1', ], 'billingPolicy' => [ 'description' => '订单信息', 'type' => 'object', 'properties' => [ 'odpsSpecCode' => [ 'description' => '订单规格', 'type' => 'string', 'example' => 'OdpsStandard ', ], 'orderId' => [ 'description' => '订单id。', 'type' => 'string', 'example' => '45245678'."\n", ], 'billingMethod' => [ 'title' => '"PAYASYOUGO" 表示后付费', 'description' => '付费模式。'."\n" .'- subscription,表示预付费quota。'."\n" .'- payasyougo,表示是后付费quota。', 'type' => 'string', 'example' => 'subscription', ], ], ], 'scheduleInfo' => [ 'description' => '分时信息', 'type' => 'object', 'properties' => [ 'currPlan' => [ 'description' => '按照调度计划生效的quota计划', 'type' => 'string', 'example' => 'planA', ], 'currTime' => [ 'description' => 'currPlan被调度的时间', 'type' => 'string', 'example' => '0800', ], 'nextPlan' => [ 'description' => '按照调度计划将要生效的quota计划', 'type' => 'string', 'example' => 'planB', ], 'nextTime' => [ 'description' => 'next_plan被调度的时间', 'type' => 'string', 'example' => '1700', ], 'oncePlan' => [ 'description' => '立即生效的quota计划。'."\n" .'如果用户触发了立即生效且不同于curr_plan,那么非空。', 'type' => 'string', 'example' => 'planC', ], 'onceTime' => [ 'description' => '立即生效触发的时间', 'type' => 'string', 'example' => '1500', ], 'operatorName' => [ 'description' => '操作人名称。', 'type' => 'string', 'example' => 'userA', ], 'timezone' => [ 'description' => '时区', 'type' => 'string', 'example' => 'UTC+8', ], ], ], 'parameter' => [ 'description' => 'quota的描述信息', 'type' => 'object', 'properties' => [ 'enablePriority' => [ 'description' => '开启优先级。', 'type' => 'boolean', 'example' => 'true', ], 'forceReservedMin' => [ 'description' => '是否独占。', 'type' => 'boolean', 'example' => 'true', ], 'maxCU' => [ 'description' => '预留CU上限。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '50', ], 'minCU' => [ 'description' => '预留CU保障。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '50', ], 'schedulerType' => [ 'description' => '调度策略。', 'type' => 'string', 'example' => 'Fifo/Fair'."\n", ], 'singleJobCULimit' => [ 'description' => '单作业CU上限。', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], 'elasticReservedCU' => [ 'description' => '弹性预留CU值。', 'type' => 'integer', 'format' => 'int64', 'example' => '50', ], 'slotNum' => [ 'type' => 'integer', 'format' => 'int64', ], 'adhocSlot' => [ 'type' => 'integer', 'format' => 'int64', ], 'autoScaleCPULimit' => [ 'type' => 'integer', 'format' => 'int64', ], 'minGu' => [ 'type' => 'integer', 'format' => 'int64', ], 'maxGu' => [ 'type' => 'integer', 'format' => 'int64', ], ], 'example' => '{"minCU":10, '."\n" .'"adhocCU":0,'."\n" .'"maxCU":10,'."\n" .'"schedulerType":"Fair",'."\n" .'}', ], 'tag' => [ 'description' => 'quota的资源标签', 'type' => 'string', 'example' => 'abc', ], 'createTime' => [ 'description' => '资源创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2022-09-06T02:14:44Z'."\n", ], 'creatorId' => [ 'description' => '资源创建者,云账号UID。', 'type' => 'string', 'example' => '672863518'."\n", ], 'saleTag' => [ 'description' => '描述了MaxCompute quota 对象的标识,这个标识与阿里云售卖账单中的标识是一致的。实际使用与标签场景下。', 'type' => 'object', 'properties' => [ 'resourceIds' => [ 'description' => 'maxcompute quota 对象的标识,这个标识在阿里云售卖子系统内也存在。通过这个标识,可以把quota 对象的费用都关联到某个标签上。', 'type' => 'array', 'items' => [ 'description' => 'maxcompute quota 对象的标识', 'type' => 'string', 'example' => '"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd"'."\n", ], ], 'resourceType' => [ 'description' => '对象的类型,目前仅支持quota 和 project 两种类型。', 'type' => 'string', 'example' => '"quota"'."\n", ], ], ], ], ], ], 'Tags' => [ 'description' => '标签。', 'type' => 'array', 'items' => [ 'description' => '标签', 'type' => 'object', 'properties' => [ 'TagValue' => [ 'description' => '标签值。', 'type' => 'string', 'example' => 'a12351qHDP6YEQMt', ], 'TagKey' => [ 'description' => '标签键。', 'type' => 'string', 'example' => 'Department', ], ], ], ], ], ], ], 'marker' => [ 'description' => '设定结果从marker之后按字母排序的第一个开始返回。', 'type' => 'string', 'example' => 'cHlvZHBzX3VkZl8xMDExNV8xNDU3NDI4NDkzKg==', ], 'maxItem' => [ 'description' => '每页返回的最大结果数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], 'NextToken' => [ 'description' => '分页标识,当前接口仅支持连续翻页。返回值nextToken 非空代表还有剩余数据。把nextToken 作为参数继续查询会获得下一页。', 'type' => 'string', 'enumValueTitles' => [], 'example' => '"abcde"', ], ], ], 'NextToken' => [ 'description' => '分页标识,当前接口仅支持连续翻页。返回值nextToken 非空代表还有剩余数据。把nextToken 作为参数继续查询会获得下一页。', 'type' => 'string', 'example' => 'AAAAAdDWBF2w6Olxc+cMPjUtUMo/CvPe4IK7f7kIQFrIZjyc', ], ], ], ], ], 'title' => '获取Quota列表', 'summary' => '获取Quota列表。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListQuotas', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:ListQuotas', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/*', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0bc12e6f16677875480593081d2956\\",\\n \\"quotaInfoList\\": [\\n {\\n \\"billingPolicy\\": {\\n \\"billingMethod\\": \\"subscription\\",\\n \\"odpsSpecCode\\": \\"OdpsStandard \\",\\n \\"orderId\\": \\"45245678\\"\\n },\\n \\"saleTag\\": {\\n \\"resourceIds\\": [\\n \\"\\\\\\"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd\\\\\\"\\"\\n ],\\n \\"resourceType\\": \\"\\\\\\"project\\\\\\"\\"\\n },\\n \\"cluster\\": \\"AT-120N\\\\n\\",\\n \\"createTime\\": 0,\\n \\"creatorId\\": \\"672863518\\\\n\\",\\n \\"id\\": \\"0\\",\\n \\"name\\": \\"quota_a\\\\n\\",\\n \\"nickName\\": \\"quota_nickname\\\\n\\",\\n \\"parameter\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"parentId\\": \\"null\\",\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"scheduleInfo\\": {\\n \\"currPlan\\": \\"planA\\",\\n \\"currTime\\": \\"0800\\",\\n \\"nextPlan\\": \\"planB\\",\\n \\"nextTime\\": \\"1700\\",\\n \\"oncePlan\\": \\"planC\\",\\n \\"onceTime\\": \\"1500\\",\\n \\"operatorName\\": \\"userA\\",\\n \\"timezone\\": \\"UTC+8\\"\\n },\\n \\"status\\": \\"ON \\\\n\\",\\n \\"subQuotaInfoList\\": [\\n {\\n \\"saleTag\\": {\\n \\"resourceIds\\": [\\n \\"\\\\\\"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd\\\\\\"\\\\n\\"\\n ],\\n \\"resourceType\\": \\"\\\\\\"quota\\\\\\"\\"\\n },\\n \\"billingPolicy\\": {\\n \\"billingMethod\\": \\"subscription\\\\n\\",\\n \\"odpsSpecCode\\": \\"OdpsStandard \\",\\n \\"orderId\\": \\"45245678\\\\n\\"\\n },\\n \\"cluster\\": \\"AT-120N\\",\\n \\"createTime\\": 0,\\n \\"creatorId\\": \\"672863518\\\\n\\",\\n \\"id\\": \\"1000048\\",\\n \\"name\\": \\"subquotaA\\\\n\\",\\n \\"nickName\\": \\"subquotaA\\\\n\\",\\n \\"parameter\\": {\\n \\"enablePriority\\": true,\\n \\"forceReservedMin\\": true,\\n \\"maxCU\\": 50,\\n \\"minCU\\": 50,\\n \\"schedulerType\\": \\"Fifo/Fair\\\\n\\",\\n \\"singleJobCULimit\\": 10,\\n \\"elasticReservedCU\\": 50,\\n \\"slotNum\\": 0,\\n \\"adhocSlot\\": 0,\\n \\"minGu\\": 0,\\n \\"maxGu\\": 0,\\n \\"autoScaleCPULimit\\": 0\\n },\\n \\"parentId\\": \\"0\\",\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"scheduleInfo\\": {\\n \\"currPlan\\": \\"planA\\",\\n \\"currTime\\": \\"0800\\",\\n \\"nextPlan\\": \\"planB\\",\\n \\"nextTime\\": \\"1700\\",\\n \\"oncePlan\\": \\"planC\\",\\n \\"onceTime\\": \\"1500\\",\\n \\"operatorName\\": \\"userA\\",\\n \\"timezone\\": \\"UTC+8\\"\\n },\\n \\"status\\": \\"ON\\",\\n \\"tag\\": \\"abc\\",\\n \\"tenantId\\": \\"280747109771520\\\\n\\",\\n \\"type\\": \\"FUXI_ONLINE\\\\n\\",\\n \\"version\\": \\"1\\"\\n }\\n ],\\n \\"tag\\": \\"abc\\",\\n \\"tenantId\\": \\"280747109771520\\\\n\\",\\n \\"type\\": \\"FUXI_ONLINE\\\\n\\",\\n \\"version\\": \\"1\\",\\n \\"Tags\\": [\\n {\\n \\"TagValue\\": \\"1\\",\\n \\"TagKey\\": \\"Department\\"\\n }\\n ]\\n }\\n ],\\n \\"marker\\": \\"cHlvZHBzX3VkZl8xMDExNV8xNDU3NDI4NDkzKg==\\",\\n \\"maxItem\\": 10,\\n \\"data\\": {\\n \\"quotaInfoList\\": [\\n {\\n \\"id\\": \\"0\\\\n\\",\\n \\"name\\": \\"quota_a\\\\n\\",\\n \\"nickName\\": \\"quota_nickname\\",\\n \\"type\\": \\"FUXI_ONLINE\\",\\n \\"status\\": \\"ON\\",\\n \\"tenantId\\": \\"280747109771520\\",\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"parentId\\": \\"null\\",\\n \\"cluster\\": \\"AT-120N\\",\\n \\"version\\": \\"1\\",\\n \\"billingPolicy\\": {\\n \\"odpsSpecCode\\": \\"OdpsStandard \\",\\n \\"orderId\\": \\"45245678\\\\n\\",\\n \\"billingMethod\\": \\"subscription\\"\\n },\\n \\"scheduleInfo\\": {\\n \\"currPlan\\": \\"planA\\\\n\\",\\n \\"currTime\\": \\"0800\\",\\n \\"nextPlan\\": \\"planB\\",\\n \\"nextTime\\": \\"1700\\",\\n \\"oncePlan\\": \\"planC\\",\\n \\"onceTime\\": \\"1500\\",\\n \\"operatorName\\": \\"userA\\",\\n \\"timezone\\": \\"UTC+8\\"\\n },\\n \\"parameter\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"tag\\": \\"abc\\",\\n \\"createTime\\": 0,\\n \\"creatorId\\": \\"672863518\\\\n\\",\\n \\"saleTag\\": {\\n \\"resourceIds\\": [\\n \\"\\\\\\"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd\\\\\\"\\\\n\\"\\n ],\\n \\"resourceType\\": \\"\\\\\\"quota\\\\\\"\\\\n\\"\\n },\\n \\"subQuotaInfoList\\": [\\n {\\n \\"id\\": \\"1000048\\",\\n \\"name\\": \\"subquotaA\\\\n\\",\\n \\"nickName\\": \\"subquotaA\\\\n\\",\\n \\"type\\": \\"FUXI_ONLINE\\\\n\\",\\n \\"status\\": \\"ON\\",\\n \\"tenantId\\": \\"280747109771520\\\\n\\",\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"parentId\\": \\"0\\",\\n \\"cluster\\": \\"AT-120N\\",\\n \\"version\\": \\"1\\",\\n \\"billingPolicy\\": {\\n \\"odpsSpecCode\\": \\"OdpsStandard \\",\\n \\"orderId\\": \\"45245678\\\\n\\",\\n \\"billingMethod\\": \\"subscription\\"\\n },\\n \\"scheduleInfo\\": {\\n \\"currPlan\\": \\"planA\\",\\n \\"currTime\\": \\"0800\\",\\n \\"nextPlan\\": \\"planB\\",\\n \\"nextTime\\": \\"1700\\",\\n \\"oncePlan\\": \\"planC\\",\\n \\"onceTime\\": \\"1500\\",\\n \\"operatorName\\": \\"userA\\",\\n \\"timezone\\": \\"UTC+8\\"\\n },\\n \\"parameter\\": {\\n \\"enablePriority\\": true,\\n \\"forceReservedMin\\": true,\\n \\"maxCU\\": 50,\\n \\"minCU\\": 50,\\n \\"schedulerType\\": \\"Fifo/Fair\\\\n\\",\\n \\"singleJobCULimit\\": 10,\\n \\"elasticReservedCU\\": 50,\\n \\"slotNum\\": 0,\\n \\"adhocSlot\\": 0,\\n \\"autoScaleCPULimit\\": 0,\\n \\"minGu\\": 0,\\n \\"maxGu\\": 0\\n },\\n \\"tag\\": \\"abc\\",\\n \\"createTime\\": 0,\\n \\"creatorId\\": \\"672863518\\\\n\\",\\n \\"saleTag\\": {\\n \\"resourceIds\\": [\\n \\"\\\\\\"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd\\\\\\"\\\\n\\"\\n ],\\n \\"resourceType\\": \\"\\\\\\"quota\\\\\\"\\\\n\\"\\n }\\n }\\n ],\\n \\"Tags\\": [\\n {\\n \\"TagValue\\": \\"a12351qHDP6YEQMt\\",\\n \\"TagKey\\": \\"Department\\"\\n }\\n ]\\n }\\n ],\\n \\"marker\\": \\"cHlvZHBzX3VkZl8xMDExNV8xNDU3NDI4NDkzKg==\\",\\n \\"maxItem\\": 10,\\n \\"NextToken\\": \\"\\\\\\"abcde\\\\\\"\\"\\n },\\n \\"NextToken\\": \\"AAAAAdDWBF2w6Olxc+cMPjUtUMo/CvPe4IK7f7kIQFrIZjyc\\"\\n}","type":"json"}]', ], 'ListQuotasPlans' => [ 'path' => '/api/v1/quotas/{nickname}/plans', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '142713', 'abilityTreeNodes' => [ 'FEATUREodpsZAKNHC', ], ], 'parameters' => [ [ 'name' => 'nickname', 'in' => 'path', 'schema' => [ 'description' => 'Quota名称', 'type' => 'string', 'required' => true, 'example' => 'quotaA', ], ], [ 'name' => 'tenantId', 'in' => 'query', 'schema' => [ 'description' => '租户id', 'type' => 'string', 'required' => false, 'example' => '478403690625249', ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'description' => '地域id。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '0be3e0bd16661643917136451ebf55', ], 'data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'planList' => [ 'description' => 'Quota计划列表。', 'type' => 'array', 'items' => [ 'description' => '数据', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => 'Quota计划名称', 'type' => 'string', 'example' => 'planA', ], 'createTime' => [ 'description' => '创建时间。', 'type' => 'string', 'example' => '2022-05-16T06:07:45Z'."\n", ], 'quota' => [ 'description' => 'quota详情', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => 'quota ID', 'type' => 'string', 'example' => '0', ], 'name' => [ 'description' => 'quota名称', 'type' => 'string', 'example' => 'quota_a', ], 'nickName' => [ 'description' => 'quota别名', 'type' => 'string', 'example' => 'quota_nickname', ], 'type' => [ 'title' => '对应控制集群的resourceSystemType字段', 'description' => '对应控制集群的resourceSystemType字段', 'type' => 'string', 'example' => 'FUXI_ONLINE', ], 'status' => [ 'description' => '资源状态', 'type' => 'string', 'example' => 'ON', ], 'tenantId' => [ 'description' => '租户id。', 'type' => 'string', 'example' => '478403690625249', ], 'regionId' => [ 'description' => '地域id。', 'type' => 'string', 'example' => 'cn-beijing', ], 'parentId' => [ 'description' => '父资源id。', 'type' => 'string', 'example' => 'null', ], 'cluster' => [ 'description' => '集群id', 'type' => 'string', 'example' => 'AT-120N'."\n", ], 'version' => [ 'description' => '版本。', 'type' => 'string', 'example' => '1', ], 'billingPolicy' => [ 'description' => '订单信息', 'type' => 'object', 'properties' => [ 'odpsSpecCode' => [ 'description' => '订单规格', 'type' => 'string', 'example' => 'OdpsStandard ', ], 'orderId' => [ 'description' => '订单id。', 'type' => 'string', 'example' => '45245678', ], 'billingMethod' => [ 'title' => '"PAYASYOUGO" 表示后付费', 'description' => '付费模式。'."\n" .'- subscription,表示是预付费quota。'."\n" .'- payasyougo,表示是后付费quota。', 'type' => 'string', 'example' => 'subscription', ], ], ], 'scheduleInfo' => [ 'description' => '分时信息。', 'type' => 'object', 'properties' => [ 'currPlan' => [ 'description' => '按照调度计划生效的quota计划', 'type' => 'string', 'example' => 'planA', ], 'currTime' => [ 'description' => 'currPlan被调度的时间', 'type' => 'string', 'example' => '0800'."\n", ], 'nextPlan' => [ 'description' => '按照调度计划将要生效的quota计划', 'type' => 'string', 'example' => 'planB', ], 'nextTime' => [ 'description' => 'next_plan被调度的时间', 'type' => 'string', 'example' => '1700', ], 'oncePlan' => [ 'description' => '如果用户触发了立即生效且不同于curr_plan,那么非空。', 'type' => 'string', 'example' => 'planC', ], 'onceTime' => [ 'description' => '立即生效触发的时间', 'type' => 'string', 'example' => '1500', ], 'operatorName' => [ 'description' => '操作者名称。', 'type' => 'string', 'example' => 'userA', ], ], ], 'parameter' => [ 'description' => 'quota的描述信息', 'type' => 'object', ], 'tag' => [ 'description' => 'quota的资源标签', 'type' => 'string', 'example' => 'abc', ], 'createTime' => [ 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '2022-09-06T02:14:44Z'."\n", ], 'creatorId' => [ 'description' => '资源创建者,云账号UID。', 'type' => 'string', 'example' => '672863518', ], 'subQuotaInfoList' => [ 'description' => '二级quota信息', 'type' => 'array', 'items' => [ 'description' => '二级quota信息', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => '二级quota ID', 'type' => 'string', 'example' => '1000048', ], 'name' => [ 'description' => '二级quota名称', 'type' => 'string', 'example' => 'subquotaA', ], 'nickName' => [ 'description' => '二级quota昵称', 'type' => 'string', 'example' => 'subquotaA', ], 'type' => [ 'title' => '对应控制集群的resourceSystemType字段', 'description' => '对应控制集群的resourceSystemType字段', 'type' => 'string', 'example' => 'FUXI_ONLINE', ], 'status' => [ 'description' => '资源状态', 'type' => 'string', 'example' => 'ON', ], 'tenantId' => [ 'description' => '租户id。', 'type' => 'string', 'example' => '478403690625249', ], 'regionId' => [ 'description' => '地域id。', 'type' => 'string', 'example' => 'cn-beijing', ], 'parentId' => [ 'description' => '父资源id。', 'type' => 'string', 'example' => '0', ], 'cluster' => [ 'description' => '集群id', 'type' => 'string', 'example' => 'AT-120N'."\n", ], 'version' => [ 'description' => '版本号', 'type' => 'string', 'example' => '1', ], 'billingPolicy' => [ 'description' => '订单信息', 'type' => 'object', 'properties' => [ 'odpsSpecCode' => [ 'description' => '订单规格', 'type' => 'string', 'example' => 'OdpsStandard ', ], 'orderId' => [ 'description' => '订单ID', 'type' => 'string', 'example' => '45245678', ], 'billingMethod' => [ 'title' => '"PAYASYOUGO" 表示后付费', 'description' => '付费模式。'."\n" .'- subscription,表示是预付费quota。'."\n" .'- payasyougo,表示是后付费quota。', 'type' => 'string', 'example' => 'subscription'."\n", ], ], ], 'scheduleInfo' => [ 'description' => '分时信息', 'type' => 'object', 'properties' => [ 'currPlan' => [ 'description' => '按照调度计划生效的quota计划', 'type' => 'string', 'example' => 'planA', ], 'currTime' => [ 'description' => 'currPlan被调度的时间', 'type' => 'string', 'example' => '0800', ], 'nextPlan' => [ 'description' => '按照调度计划将要生效的quota计划', 'type' => 'string', 'example' => 'planB', ], 'nextTime' => [ 'description' => 'next_plan被调度的时间', 'type' => 'string', 'example' => '1700', ], 'oncePlan' => [ 'description' => '如果用户触发了立即生效且不同于curr_plan,那么非空。', 'type' => 'string', 'example' => 'planC', ], 'onceTime' => [ 'description' => '立即生效触发的时间', 'type' => 'string', 'example' => '1500', ], 'operatorName' => [ 'description' => '操作者名称。', 'type' => 'string', 'example' => 'userA', ], ], ], 'parameter' => [ 'description' => 'quota的描述信息', 'type' => 'object', ], 'tag' => [ 'description' => 'quota的资源标签', 'type' => 'string', 'example' => 'abc', ], 'createTime' => [ 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '2022-09-06T02:14:44Z'."\n", ], 'creatorId' => [ 'description' => '资源创建者,云账号UID。', 'type' => 'string', 'example' => '672863518', ], ], ], ], ], ], ], ], ], ], ], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0be3e0bd16661643917136451ebf55\\",\\n \\"data\\": {\\n \\"planList\\": [\\n {\\n \\"name\\": \\"planA\\",\\n \\"createTime\\": \\"2022-05-16T06:07:45Z\\\\n\\",\\n \\"quota\\": {\\n \\"id\\": \\"0\\",\\n \\"name\\": \\"quota_a\\",\\n \\"nickName\\": \\"quota_nickname\\",\\n \\"type\\": \\"FUXI_ONLINE\\",\\n \\"status\\": \\"ON\\",\\n \\"tenantId\\": \\"478403690625249\\",\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"parentId\\": \\"null\\",\\n \\"cluster\\": \\"AT-120N\\\\n\\",\\n \\"version\\": \\"1\\",\\n \\"billingPolicy\\": {\\n \\"odpsSpecCode\\": \\"OdpsStandard \\",\\n \\"orderId\\": \\"45245678\\",\\n \\"billingMethod\\": \\"subscription\\"\\n },\\n \\"scheduleInfo\\": {\\n \\"currPlan\\": \\"planA\\",\\n \\"currTime\\": \\"0800\\\\n\\",\\n \\"nextPlan\\": \\"planB\\",\\n \\"nextTime\\": \\"1700\\",\\n \\"oncePlan\\": \\"planC\\",\\n \\"onceTime\\": \\"1500\\",\\n \\"operatorName\\": \\"userA\\"\\n },\\n \\"parameter\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"tag\\": \\"abc\\",\\n \\"createTime\\": 0,\\n \\"creatorId\\": \\"672863518\\",\\n \\"subQuotaInfoList\\": [\\n {\\n \\"id\\": \\"1000048\\",\\n \\"name\\": \\"subquotaA\\",\\n \\"nickName\\": \\"subquotaA\\",\\n \\"type\\": \\"FUXI_ONLINE\\",\\n \\"status\\": \\"ON\\",\\n \\"tenantId\\": \\"478403690625249\\",\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"parentId\\": \\"0\\",\\n \\"cluster\\": \\"AT-120N\\\\n\\",\\n \\"version\\": \\"1\\",\\n \\"billingPolicy\\": {\\n \\"odpsSpecCode\\": \\"OdpsStandard \\",\\n \\"orderId\\": \\"45245678\\",\\n \\"billingMethod\\": \\"subscription\\\\n\\"\\n },\\n \\"scheduleInfo\\": {\\n \\"currPlan\\": \\"planA\\",\\n \\"currTime\\": \\"0800\\",\\n \\"nextPlan\\": \\"planB\\",\\n \\"nextTime\\": \\"1700\\",\\n \\"oncePlan\\": \\"planC\\",\\n \\"onceTime\\": \\"1500\\",\\n \\"operatorName\\": \\"userA\\"\\n },\\n \\"parameter\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"tag\\": \\"abc\\",\\n \\"createTime\\": 0,\\n \\"creatorId\\": \\"672863518\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '获取Quota计划列表', 'summary' => '获取Quota计划列表。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:ListQuotasPlans', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], ], ], 'ListResources' => [ 'path' => '/api/v1/projects/{projectName}/resources', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'description' => 'MaxCompute项目名称', 'type' => 'string', 'required' => true, 'example' => 'projectA', ], ], [ 'name' => 'schemaName', 'in' => 'query', 'schema' => [ 'description' => 'schema名称。', 'type' => 'string', 'required' => false, 'example' => 'default', ], ], [ 'name' => 'name', 'in' => 'query', 'schema' => [ 'description' => '资源名称。', 'type' => 'string', 'required' => false, 'example' => 'res'."\n", ], ], [ 'name' => 'marker', 'in' => 'query', 'schema' => [ 'description' => '设定结果从marker之后按字母排序的第一个开始返回。', 'type' => 'string', 'required' => false, 'example' => 'cHlvZHBzX3VkZl8xMDExNV8xNDU3NDI4NDkzKg==', ], ], [ 'name' => 'maxItem', 'in' => 'query', 'schema' => [ 'description' => '每页返回的最大结果数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'default' => '10', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult>', 'description' => 'PopResult>', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '0bc3b4ae16685836687916212e7850', ], 'data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'resources' => [ 'description' => '资源列表。', 'type' => 'array', 'items' => [ 'description' => '资源列表。', 'type' => 'object', 'properties' => [ 'displayName' => [ 'description' => '显示名称', 'type' => 'string', 'example' => 'res_1'."\n", ], 'name' => [ 'description' => '资源名称。', 'type' => 'string', 'example' => 'res_1', ], 'owner' => [ 'description' => '资源的拥有者。', 'type' => 'string', 'example' => '1265860483008101', ], 'type' => [ 'description' => '资源类型。', 'type' => 'string', 'enumValueTitles' => [ 'file' => 'file', 'py' => 'py', 'jar' => 'jar', 'volumefile' => 'volumefile', 'table' => 'table', ], 'example' => 'file', ], 'schema' => [ 'description' => '所属schema。', 'type' => 'string', 'example' => 'schemaA', ], 'lastUpdator' => [ 'description' => '最后更新人。', 'type' => 'string', 'example' => 'ALIYUN$xxx@test.aliyunid.com', ], 'creationTime' => [ 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '2022-01-29T03:34:09Z', ], 'lastModifiedTime' => [ 'description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '2023-04-18T06:15:05Z', ], 'comment' => [ 'description' => '备注。', 'type' => 'string', 'example' => 'filr类型资源', ], 'size' => [ 'description' => '大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], 'contentMD5' => [ 'description' => 'HTTP请求正文的128-bit MD5散列值转换成BASE64编码的结果。', 'type' => 'string', 'example' => 'MACiECZtnLiNkNS1v5****=1', ], ], ], ], 'marker' => [ 'description' => '设定结果从marker之后按字母排序的第一个开始返回。', 'type' => 'string', 'example' => 'ZmN0X21vbnRoX3Rhb2Jhb19pbmRleCE=', ], 'maxItem' => [ 'description' => '每页返回的最大结果数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], ], ], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0bc3b4ae16685836687916212e7850\\",\\n \\"data\\": {\\n \\"resources\\": [\\n {\\n \\"displayName\\": \\"res_1\\\\n\\",\\n \\"name\\": \\"res_1\\",\\n \\"owner\\": \\"1265860483008101\\",\\n \\"type\\": \\"file\\",\\n \\"schema\\": \\"schemaA\\",\\n \\"lastUpdator\\": \\"ALIYUN$xxx@test.aliyunid.com\\",\\n \\"creationTime\\": 0,\\n \\"lastModifiedTime\\": 0,\\n \\"comment\\": \\"filr类型资源\\",\\n \\"size\\": 10,\\n \\"contentMD5\\": \\"MACiECZtnLiNkNS1v5****=1\\"\\n }\\n ],\\n \\"marker\\": \\"ZmN0X21vbnRoX3Rhb2Jhb19pbmRleCE=\\",\\n \\"maxItem\\": 10\\n }\\n}","type":"json"}]', 'title' => '获取资源列表', 'summary' => '获取MaxCompute项目内的资源列表。', 'changeSet' => [ [ 'createdAt' => '2023-11-14T07:01:39.000Z', 'description' => '请求参数发生变更、响应参数发生变更', ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], ], ], 'ListRoles' => [ 'path' => '/api/v1/projects/{projectName}/roles', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '144112', 'abilityTreeNodes' => [ 'FEATUREodpsTZPZOE', ], ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'description' => 'MaxCompute项目名称', 'type' => 'string', 'required' => true, 'example' => 'projectA', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '0a06dfe716686526652451361e80ae', ], 'data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'roles' => [ 'description' => '角色列表', 'type' => 'array', 'items' => [ 'description' => '角色列表', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '角色名称。', 'type' => 'string', 'example' => 'roleA', ], 'type' => [ 'description' => '角色类型', 'type' => 'string', 'enumValueTitles' => [ 'resource' => 'resource', 'admin' => 'admin', ], 'example' => 'admin', ], 'policy' => [ 'description' => '角色的Policy授权信息', 'type' => 'string', 'example' => '{'."\n" .' "Statement": ['."\n" .' {'."\n" .' "Action": ['."\n" .' "odps:*"'."\n" .' ],'."\n" .' "Effect": "Allow",'."\n" .' "Resource": ['."\n" .' "acs:odps:*:projects/{projectname}/authorization/packages"'."\n" .' ]'."\n" .' }'."\n" .' ],'."\n" .' "Version": "1"'."\n" .'}', ], 'acl' => [ 'description' => '角色的ACL授权信息', 'type' => 'object', 'properties' => [ 'table' => [ 'description' => '表', 'type' => 'array', 'items' => [ 'description' => '表', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '表名称。', 'type' => 'string', 'example' => 'tableA', ], 'actions' => [ 'description' => '表操作', 'type' => 'array', 'items' => [ 'description' => '表操作', 'type' => 'string', 'example' => 'describe', ], ], ], ], ], 'resource' => [ 'description' => '资源', 'type' => 'array', 'items' => [ 'description' => '资源', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '资源名称。', 'type' => 'string', 'example' => 'resourceA', ], 'actions' => [ 'description' => '资源操作', 'type' => 'array', 'items' => [ 'description' => '资源操作', 'type' => 'string', 'example' => 'read', ], ], ], ], ], 'function' => [ 'description' => '函数', 'type' => 'array', 'items' => [ 'description' => '函数', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '函数名称。', 'type' => 'string', 'example' => 'functionA', ], 'actions' => [ 'description' => '函数操作', 'type' => 'array', 'items' => [ 'description' => '函数操作', 'type' => 'string', 'example' => 'read', ], ], ], ], ], 'package' => [ 'description' => 'Package', 'type' => 'array', 'items' => [ 'description' => 'package', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => 'package名称', 'type' => 'string', 'example' => 'packageA', ], 'actions' => [ 'description' => 'package操作', 'type' => 'array', 'items' => [ 'description' => 'package操作', 'type' => 'string', 'example' => 'read', ], ], ], ], ], 'project' => [ 'description' => '项目', 'type' => 'array', 'items' => [ 'description' => '项目', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => 'maxcompute项目名称', 'type' => 'string', 'example' => 'projectA', ], 'actions' => [ 'description' => '项目操作', 'type' => 'array', 'items' => [ 'description' => '项目操作', 'type' => 'string', 'example' => 'list', ], ], ], ], ], 'instance' => [ 'description' => '实例', 'type' => 'array', 'items' => [ 'description' => '实例', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '实例名称。', 'type' => 'string', 'example' => 'instanceA', ], 'actions' => [ 'description' => '实例操作', 'type' => 'array', 'items' => [ 'description' => '实例操作', 'type' => 'string', 'example' => 'read', ], ], ], ], ], ], ], ], ], ], ], ], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0a06dfe716686526652451361e80ae\\",\\n \\"data\\": {\\n \\"roles\\": [\\n {\\n \\"name\\": \\"roleA\\",\\n \\"type\\": \\"admin\\",\\n \\"policy\\": \\"{\\\\n \\\\\\"Statement\\\\\\": [\\\\n {\\\\n \\\\\\"Action\\\\\\": [\\\\n \\\\\\"odps:*\\\\\\"\\\\n ],\\\\n \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n \\\\\\"Resource\\\\\\": [\\\\n \\\\\\"acs:odps:*:projects/{projectname}/authorization/packages\\\\\\"\\\\n ]\\\\n }\\\\n ],\\\\n \\\\\\"Version\\\\\\": \\\\\\"1\\\\\\"\\\\n}\\",\\n \\"acl\\": {\\n \\"table\\": [\\n {\\n \\"name\\": \\"tableA\\",\\n \\"actions\\": [\\n \\"describe\\"\\n ]\\n }\\n ],\\n \\"resource\\": [\\n {\\n \\"name\\": \\"resourceA\\",\\n \\"actions\\": [\\n \\"read\\"\\n ]\\n }\\n ],\\n \\"function\\": [\\n {\\n \\"name\\": \\"functionA\\",\\n \\"actions\\": [\\n \\"read\\"\\n ]\\n }\\n ],\\n \\"package\\": [\\n {\\n \\"name\\": \\"packageA\\",\\n \\"actions\\": [\\n \\"read\\"\\n ]\\n }\\n ],\\n \\"project\\": [\\n {\\n \\"name\\": \\"projectA\\",\\n \\"actions\\": [\\n \\"list\\"\\n ]\\n }\\n ],\\n \\"instance\\": [\\n {\\n \\"name\\": \\"instanceA\\",\\n \\"actions\\": [\\n \\"read\\"\\n ]\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '获取项目级角色列表', 'summary' => '获取MaxCompute项目级角色列表。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListRoles', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], ], ], 'ListStoragePartitionsInfo' => [ 'path' => '/api/v1/observations/analysis/storage/projects/{project}/tables/{table}/partitionsInfo', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '223396', 'abilityTreeNodes' => [ 'FEATUREodps2B6Z0N', ], ], 'parameters' => [ [ 'name' => 'tenantId', 'in' => 'query', 'schema' => [ 'description' => '租户ID。可以通过登录MaxCompute控制台,在左侧导航栏选择**租户管理**>**租户属性**查看。', 'type' => 'string', 'required' => false, 'example' => '40713753659****', ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', ], ], [ 'name' => 'date', 'in' => 'query', 'schema' => [ 'description' => '统计日期,以天为级别,时间参数填写为YYYYMMdd。', 'type' => 'string', 'required' => true, 'example' => '20241205', ], ], [ 'name' => 'project', 'in' => 'path', 'schema' => [ 'description' => 'MaxCompute项目名称。', 'type' => 'string', 'required' => true, 'example' => 'odps_project', ], ], [ 'name' => 'schema', 'in' => 'query', 'schema' => [ 'description' => '归属schema。', 'type' => 'string', 'required' => false, 'example' => 'schema', ], ], [ 'name' => 'table', 'in' => 'path', 'schema' => [ 'description' => '表名称。', 'type' => 'string', 'required' => true, 'example' => 'bank_data', ], ], [ 'name' => 'partitionPrefix', 'in' => 'query', 'schema' => [ 'description' => '分区名称(模糊匹配)。', 'type' => 'string', 'required' => false, 'example' => '20241201', ], ], [ 'name' => 'types', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '存储类型。', 'type' => 'array', 'items' => [ 'description' => '存储类型。'."\n" .'- standard:标准存储;'."\n" .'- lowfrequency:低频存储;'."\n" .'- longterm:长期存储。', 'type' => 'string', 'required' => false, 'example' => 'standard', ], 'required' => false, ], ], [ 'name' => 'orderColumn', 'in' => 'query', 'schema' => [ 'description' => '排序列。', 'type' => 'string', 'required' => false, 'example' => 'totalFrequency', ], ], [ 'name' => 'ascOrder', 'in' => 'query', 'schema' => [ 'description' => '是否升序排列。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '每页返回数目,默认为10。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', ], ], [ 'name' => 'pageNumber', 'in' => 'query', 'schema' => [ 'description' => '分页页码。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => '请求返回参数。', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0be3e0bd16661643917136451ebf55', ], 'httpCode' => [ 'description' => 'HTTP状态码。'."\n" .'- 1xx:信息响应 - 请求已接收,正在处理中。'."\n" .'- 2xx:成功 - 请求动作已被服务端成功接收、理解并接受。'."\n" .'- 3xx:重定向 - 请求被重定向,采取进一步行动以完成请求。'."\n" .'- 4xx:客户端错误 - 请求包含错误请求参、语法或特定请求条件无法满足。'."\n" .'- 5xx:服务端错误 - 服务器由于其他原因无法满足请求。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'OBJECT_NOT_EXIST', ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => 'This object does not exist.', ], 'data' => [ 'description' => '请求返回结果。', 'type' => 'object', 'properties' => [ 'storagePartitionInfoList' => [ 'description' => '分区存储信息列表。', 'type' => 'array', 'items' => [ 'description' => '分区存储信息列表。', 'type' => 'object', 'properties' => [ 'projectName' => [ 'description' => '项目名称。', 'type' => 'string', 'example' => 'odps_project', ], 'schemaName' => [ 'description' => 'Schema名称。', 'type' => 'string', 'example' => 'schema', ], 'tableName' => [ 'description' => '表名称。', 'type' => 'string', 'example' => 'bank_data', ], 'partition' => [ 'description' => '分区名称。', 'type' => 'string', 'example' => 'ds=20241201', ], 'isPartitioned' => [ 'description' => '是否分区表。本接口返回均为分区信息,无需关注此字段。', 'type' => 'boolean', 'example' => 'false', ], 'type' => [ 'description' => '类型。', 'type' => 'string', 'example' => 'PARTITION', ], 'storageType' => [ 'description' => '存储类型。'."\n" .'- standard:标准存储;'."\n" .'- lowfrequency:低频存储;'."\n" .'- longterm:长期存储。', 'type' => 'string', 'example' => 'standard', ], 'totalFrequency' => [ 'description' => '访问频次。'."\n" .'> - 访问行为包括:'."\n" .'>> - 表作为SQL计算任务中的输入表。'."\n" .'>> - 表被Tunnel下载。'."\n" .'>> - 表被StorageAPI调用Read(分区表的分区粒度数据暂无)。访问每增加一次,访问频次+1。'."\n" .'> - 该数据从2023年7月陆续升级统计,在升级后没有被访问过或者通过ALGO作业、Hologres直读方式访问的将无法统计至访问频次。', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], 'totalInputAmount' => [ 'description' => '访问数据总量。'."\n" .'> 所有访问行为读取的数据量。', 'type' => 'number', 'format' => 'double', 'example' => '1', ], 'totalInputAmountUnit' => [ 'description' => '访问数据总量单位。', 'type' => 'string', 'example' => 'GB', ], 'fileCount' => [ 'description' => '文件数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2', ], 'fileSize' => [ 'description' => '存储大小。', 'type' => 'number', 'format' => 'double', 'example' => '1', ], 'fileSizeUnit' => [ 'description' => '存储大小单位。', 'type' => 'string', 'example' => 'GB', ], 'rate' => [ 'description' => '总存储量近{$recentDays}天同比。本接口无此返回值。', 'type' => 'number', 'format' => 'double', 'example' => '1%', ], 'lastAccessTime' => [ 'description' => '分区的数据最后访问时间。'."\n" .'> 该数据从2023年7月陆续升级采集,在升级后没有被访问过或者通过ALGO作业、Hologres直读方式访问的无法采集到last_access_time。', 'type' => 'integer', 'format' => 'int64', 'example' => '1694589365', ], ], ], ], 'date' => [ 'description' => '统计日期。', 'type' => 'string', 'example' => '20241205', ], 'totalCount' => [ 'description' => '返回结果的总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '57', ], 'pageNumber' => [ 'description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'pageSize' => [ 'description' => '每页记录数。'."\n" ."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0be3e0bd16661643917136451ebf55\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"OBJECT_NOT_EXIST\\",\\n \\"errorMsg\\": \\"This object does not exist.\\",\\n \\"data\\": {\\n \\"storagePartitionInfoList\\": [\\n {\\n \\"projectName\\": \\"odps_project\\",\\n \\"schemaName\\": \\"schema\\",\\n \\"tableName\\": \\"bank_data\\",\\n \\"partition\\": \\"ds=20241201\\",\\n \\"isPartitioned\\": false,\\n \\"type\\": \\"PARTITION\\",\\n \\"storageType\\": \\"standard\\",\\n \\"totalFrequency\\": 10,\\n \\"totalInputAmount\\": 1,\\n \\"totalInputAmountUnit\\": \\"GB\\",\\n \\"fileCount\\": 2,\\n \\"fileSize\\": 1,\\n \\"fileSizeUnit\\": \\"GB\\",\\n \\"rate\\": 0,\\n \\"lastAccessTime\\": 1694589365\\n }\\n ],\\n \\"date\\": \\"20241205\\",\\n \\"totalCount\\": 57,\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 10\\n }\\n}","type":"json"}]', 'title' => '获取分区存储明细', 'summary' => '获取某个MaxCompute项目内分区表的各分区存储明细。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:ListStoragePartitionsInfo', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Storage', 'arn' => 'acs:odps:{#regionId}:{#accountId}:storage/{#project}', ], ], ], ], ], ], 'ListStorageProjectsInfo' => [ 'path' => '/api/v1/observations/analysis/storage/projectsInfo', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '223394', 'abilityTreeNodes' => [ 'FEATUREodps2B6Z0N', ], ], 'parameters' => [ [ 'name' => 'tenantId', 'in' => 'query', 'schema' => [ 'description' => '租户ID。可以通过登录MaxCompute控制台,在左侧导航栏选择**租户管理**>**租户属性**查看。', 'type' => 'string', 'required' => false, 'example' => '28074710977****', ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'description' => '地域id。', 'type' => 'string', 'required' => false, 'example' => 'cn-chengdu', ], ], [ 'name' => 'projectPrefix', 'in' => 'query', 'schema' => [ 'description' => 'MaxCompute 项目名称前缀', 'type' => 'string', 'required' => false, 'example' => 'odps_project', ], ], [ 'name' => 'date', 'in' => 'query', 'schema' => [ 'description' => '统计日期,以天为级别,时间参数填写为`YYYYMMdd`。', 'type' => 'string', 'required' => true, 'example' => '20241205', ], ], [ 'name' => 'recentDays', 'in' => 'query', 'schema' => [ 'description' => '同比对比天数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'default' => '1', ], ], [ 'name' => 'orderColumn', 'in' => 'query', 'schema' => [ 'description' => '排序列。包括:'."\n" .'- totalStorage'."\n" .'- longTermStorage'."\n" .'- lowFreqStorage'."\n" .'- standardStorage'."\n" .'- recycleBinStorage', 'type' => 'string', 'required' => false, 'example' => 'totalStorage', 'default' => 'totalStorage', ], ], [ 'name' => 'ascOrder', 'in' => 'query', 'schema' => [ 'description' => '是否升序排列。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '每页返回数目', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', ], ], [ 'name' => 'pageNumber', 'in' => 'query', 'schema' => [ 'description' => '分页页码。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0bc3b4b016674434996033675e71ee', ], 'httpCode' => [ 'description' => 'HTTP状态码。'."\n" .'- 1xx:信息响应 - 请求已接收,正在处理中。'."\n" .'- 2xx:成功 - 请求动作已被服务端成功接收、理解并接受。'."\n" .'- 3xx:重定向 - 请求被重定向,采取进一步行动以完成请求。'."\n" .'- 4xx:客户端错误 - 请求包含错误请求参、语法或特定请求条件无法满足。'."\n" .'- 5xx:服务端错误 - 服务器由于其他原因无法满足请求。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'OBJECT_NOT_EXIST'."\n", ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => 'this quota is not exist.', ], 'data' => [ 'description' => '数据', 'type' => 'object', 'properties' => [ 'storageProjectInfoList' => [ 'description' => '项目级别的存储信息列表', 'type' => 'array', 'items' => [ 'description' => '项目级别的存储信息', 'type' => 'object', 'properties' => [ 'date' => [ 'description' => '统计日期,以天为级别,时间参数填写为`YYYYMMdd`。', 'type' => 'string', 'example' => '20250528', ], 'projectName' => [ 'description' => 'MaxCompute项目名称', 'type' => 'string', 'example' => 'max_testproject', ], 'totalStorage' => [ 'description' => '总存储用量。', 'type' => 'number', 'format' => 'double', 'example' => '1', ], 'totalStorageUnit' => [ 'description' => '总存储用量单位。', 'type' => 'string', 'example' => 'TB', ], 'standardStorage' => [ 'description' => '标准存储用量。', 'type' => 'number', 'format' => 'double', 'example' => '500', ], 'standardStorageUnit' => [ 'description' => '标准存储用量单位。', 'type' => 'string', 'example' => 'GB', ], 'longTermStorage' => [ 'description' => '长期存储用量。', 'type' => 'number', 'format' => 'double', 'example' => '300', ], 'longTermStorageUnit' => [ 'description' => '长期存储用量单位。', 'type' => 'string', 'example' => 'GB', ], 'lowFreqStorage' => [ 'description' => '低频存储用量。', 'type' => 'number', 'format' => 'double', 'example' => '200', ], 'lowFreqStorageUnit' => [ 'description' => '低频存储用量单位。', 'type' => 'string', 'example' => 'GB', ], 'recycleBinStorage' => [ 'description' => '回收站存储用量。', 'type' => 'number', 'format' => 'double', 'example' => '0', ], 'recycleBinStorageUnit' => [ 'description' => '回收站存储用量单位。', 'type' => 'string', 'example' => 'B', ], 'rate' => [ 'description' => '总存储量近{$recentDays}天同比。', 'type' => 'number', 'format' => 'double', 'example' => '0.011872406445069006', ], 'timestamp' => [ 'description' => '数据最近一次更新的时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1749105045512', ], ], ], ], 'date' => [ 'description' => '统计日期。', 'type' => 'string', 'example' => '20241205', ], 'totalCount' => [ 'description' => '返回结果的总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '60', ], 'pageNumber' => [ 'description' => '分页页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '2', ], 'pageSize' => [ 'description' => '每页记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0bc3b4b016674434996033675e71ee\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"OBJECT_NOT_EXIST\\\\n\\",\\n \\"errorMsg\\": \\"this quota is not exist.\\",\\n \\"data\\": {\\n \\"storageProjectInfoList\\": [\\n {\\n \\"date\\": \\"20250528\\",\\n \\"projectName\\": \\"max_testproject\\",\\n \\"totalStorage\\": 1,\\n \\"totalStorageUnit\\": \\"TB\\",\\n \\"standardStorage\\": 500,\\n \\"standardStorageUnit\\": \\"GB\\",\\n \\"longTermStorage\\": 300,\\n \\"longTermStorageUnit\\": \\"GB\\",\\n \\"lowFreqStorage\\": 200,\\n \\"lowFreqStorageUnit\\": \\"GB\\",\\n \\"recycleBinStorage\\": 0,\\n \\"recycleBinStorageUnit\\": \\"B\\",\\n \\"rate\\": 0.011872406445069006,\\n \\"timestamp\\": 1749105045512\\n }\\n ],\\n \\"date\\": \\"20241205\\",\\n \\"totalCount\\": 60,\\n \\"pageNumber\\": 2,\\n \\"pageSize\\": 10\\n }\\n}","type":"json"}]', 'title' => '获取项目存储明细', 'summary' => '获取项目存储明细。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListStorageProjectsInfo', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'ListStorageTablesInfo' => [ 'path' => '/api/v1/observations/analysis/storage/projects/{project}/tablesInfo', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '223395', 'abilityTreeNodes' => [ 'FEATUREodps2B6Z0N', ], ], 'parameters' => [ [ 'name' => 'tenantId', 'in' => 'query', 'schema' => [ 'description' => '租户ID。可以通过登录MaxCompute控制台,在左侧导航栏选择**租户管理**>**租户属性**查看。', 'type' => 'string', 'required' => false, 'example' => '28074710977****', ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', ], ], [ 'name' => 'date', 'in' => 'query', 'schema' => [ 'description' => '统计日期,以天为级别,时间参数填写为`YYYYMMdd`。', 'type' => 'string', 'required' => true, 'example' => '20241205', ], ], [ 'name' => 'recentDays', 'in' => 'query', 'schema' => [ 'description' => '同比对比天数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'default' => '1', ], ], [ 'name' => 'project', 'in' => 'path', 'schema' => [ 'description' => 'MaxCompute项目名称。', 'type' => 'string', 'required' => true, 'example' => 'odps_project', ], ], [ 'name' => 'schema', 'in' => 'query', 'schema' => [ 'description' => '归属Schema。', 'type' => 'string', 'required' => false, 'example' => 'schema', ], ], [ 'name' => 'tablePrefix', 'in' => 'query', 'schema' => [ 'description' => '表名称(模糊匹配)。', 'type' => 'string', 'required' => false, 'example' => 'bank', ], ], [ 'name' => 'types', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'description' => '存储类型。', 'type' => 'array', 'items' => [ 'description' => '存储类型。', 'type' => 'string', 'required' => false, 'example' => 'standardStorage', ], 'required' => false, ], ], [ 'name' => 'orderColumn', 'in' => 'query', 'schema' => [ 'description' => '排序列。', 'type' => 'string', 'required' => false, 'example' => 'totalFrequency', ], ], [ 'name' => 'ascOrder', 'in' => 'query', 'schema' => [ 'description' => '是否升序排列。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '每页返回数目,默认为10。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', ], ], [ 'name' => 'pageNumber', 'in' => 'query', 'schema' => [ 'description' => '分页页码。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => '请求返回参数。', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0bc12e6a16679892465424670db3eb', ], 'httpCode' => [ 'description' => 'HTTP状态码。'."\n" .'- 1xx:信息响应 - 请求已接收,正在处理中。'."\n" .'- 2xx:成功 - 请求动作已被服务端成功接收、理解并接受。'."\n" .'- 3xx:重定向 - 请求被重定向,采取进一步行动以完成请求。'."\n" .'- 4xx:客户端错误 - 请求包含错误请求参、语法或特定请求条件无法满足。'."\n" .'- 5xx:服务端错误 - 服务器由于其他原因无法满足请求。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'OBJECT_NOT_EXIST', ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => 'This object does not exist.'."\n", ], 'data' => [ 'description' => '请求返回结果。', 'type' => 'object', 'properties' => [ 'storageTableInfoList' => [ 'description' => '表存储信息列表。', 'type' => 'array', 'items' => [ 'description' => '表存储信息列表。', 'type' => 'object', 'properties' => [ 'date' => [ 'description' => '统计日期(不会返回)。', 'type' => 'string', 'example' => '20241205', ], 'projectName' => [ 'description' => '项目名称。', 'type' => 'string', 'example' => 'odps_project', ], 'schemaName' => [ 'description' => 'Schema名称。', 'type' => 'string', 'example' => 'schema', ], 'tableName' => [ 'description' => '表名称。', 'type' => 'string', 'example' => 'bank_data', ], 'isPartitioned' => [ 'description' => '是否分区表。', 'type' => 'boolean', 'example' => 'false', ], 'storageType' => [ 'description' => '表存储类型。'."\n" .'- standard:标准存储;'."\n" .'- lowfrequency:低频存储;'."\n" .'- longterm:长期存储;'."\n" .'- unknown:当表为分区表时返回此值,需调用ListStoragePartitionsInfo查询各分区的存储类型。', 'type' => 'string', 'example' => 'standard', ], 'lastAccessTime' => [ 'description' => '表的数据最后访问时间,当表为非分区表时有此返回值。'."\n" .'> 该数据从2023年7月陆续升级采集,在升级后没有被访问过或者通过ALGO作业、Hologres直读方式访问的无法采集到last_access_time。', 'type' => 'integer', 'format' => 'int64', 'example' => '1694589365', ], 'totalStorageFileCount' => [ 'description' => '总文件数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2', ], 'totalStorage' => [ 'description' => '总存储用量。分区表为各分区存储用量之和。若各分区存储类型不一致,则为各类型存储用量之和。', 'type' => 'number', 'format' => 'double', 'example' => '600', ], 'totalStorageUnit' => [ 'description' => '存储用量单位。', 'type' => 'string', 'example' => 'KB', ], 'rate' => [ 'description' => '总存储量近{$recentDays}天同比。', 'type' => 'number', 'format' => 'double', 'example' => '0', ], 'standardStorageFileCount' => [ 'description' => '标准存储文件数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2', ], 'standardStorage' => [ 'description' => '标准存储用量。', 'type' => 'number', 'format' => 'double', 'example' => '600', ], 'standardStorageUnit' => [ 'description' => '标准存储用量单位。', 'type' => 'string', 'example' => 'KB', ], 'longTermStorageFileCount' => [ 'description' => '长期存储文件数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'longTermStorage' => [ 'description' => '长期存储用量。', 'type' => 'number', 'format' => 'double', 'example' => '0', ], 'longTermStorageUnit' => [ 'description' => '长期存储用量单位。', 'type' => 'string', 'example' => 'B', ], 'lowFreqStorageFileCount' => [ 'description' => '低频存储文件数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'lowFreqStorage' => [ 'description' => '低频存储用量。', 'type' => 'number', 'format' => 'double', 'example' => '0', ], 'lowFreqStorageUnit' => [ 'description' => '低频存储用量单位。', 'type' => 'string', 'example' => 'B', ], 'totalFrequency' => [ 'description' => '访问频次。'."\n" .'> - 访问行为包括:'."\n" .'>> - 表作为SQL计算任务中的输入表。'."\n" .'>> - 表被Tunnel下载。'."\n" .'>> - 表被StorageAPI调用Read(分区表的分区粒度数据暂无)。访问每增加一次,访问频次+1。'."\n" .'> - 该数据从2023年7月陆续升级统计,在升级后没有被访问过或者通过ALGO作业、Hologres直读方式访问的将无法统计至访问频次。', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], 'totalInputAmount' => [ 'description' => '访问数据总量。'."\n" .'> 所有访问行为读取的数据量。', 'type' => 'number', 'format' => 'double', 'example' => '1', ], 'totalInputAmountUnit' => [ 'description' => '访问数据总量单位。', 'type' => 'string', 'example' => 'GB', ], ], ], ], 'date' => [ 'description' => '统计日期。', 'type' => 'string', 'example' => '20241205', ], 'totalCount' => [ 'description' => '返回结果的总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'pageNumber' => [ 'description' => '分页页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'pageSize' => [ 'description' => '每页记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0bc12e6a16679892465424670db3eb\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"OBJECT_NOT_EXIST\\",\\n \\"errorMsg\\": \\"This object does not exist.\\\\n\\",\\n \\"data\\": {\\n \\"storageTableInfoList\\": [\\n {\\n \\"date\\": \\"20241205\\",\\n \\"projectName\\": \\"odps_project\\",\\n \\"schemaName\\": \\"schema\\",\\n \\"tableName\\": \\"bank_data\\",\\n \\"isPartitioned\\": false,\\n \\"storageType\\": \\"standard\\",\\n \\"lastAccessTime\\": 1694589365,\\n \\"totalStorageFileCount\\": 2,\\n \\"totalStorage\\": 600,\\n \\"totalStorageUnit\\": \\"KB\\",\\n \\"rate\\": 0,\\n \\"standardStorageFileCount\\": 2,\\n \\"standardStorage\\": 600,\\n \\"standardStorageUnit\\": \\"KB\\",\\n \\"longTermStorageFileCount\\": 0,\\n \\"longTermStorage\\": 0,\\n \\"longTermStorageUnit\\": \\"B\\",\\n \\"lowFreqStorageFileCount\\": 0,\\n \\"lowFreqStorage\\": 0,\\n \\"lowFreqStorageUnit\\": \\"B\\",\\n \\"totalFrequency\\": 10,\\n \\"totalInputAmount\\": 1,\\n \\"totalInputAmountUnit\\": \\"GB\\"\\n }\\n ],\\n \\"date\\": \\"20241205\\",\\n \\"totalCount\\": 1,\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 10\\n }\\n}","type":"json"}]', 'title' => '获取表存储明细', 'summary' => '获取某个MaxCompute项目内的表存储明细。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:ListStorageTablesInfo', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Storage', 'arn' => 'acs:odps:{#regionId}:{#accountId}:storage/{#project}', ], ], ], ], ], ], 'ListTables' => [ 'path' => '/api/v1/projects/{projectName}/tables', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '143060', 'abilityTreeNodes' => [ 'FEATUREodpsTZPZOE', ], ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'description' => 'MaxCompute项目名称。', 'type' => 'string', 'required' => true, 'example' => 'projectA', ], ], [ 'name' => 'prefix', 'in' => 'query', 'schema' => [ 'description' => '限定返回的资源名称,名称必须以Prefix作为前缀,例如Prefix是a,则返回的资源名均是以a开始的。', 'type' => 'string', 'required' => false, 'example' => 'a', ], ], [ 'name' => 'marker', 'in' => 'query', 'schema' => [ 'description' => '设定结果从marker之后按字母排序的第一个开始返回。', 'type' => 'string', 'required' => false, 'example' => 'Y29tbWlzc2lvbl9leHRlcm5hbF91cmdlXzFfd3Ih', ], ], [ 'name' => 'maxItem', 'in' => 'query', 'schema' => [ 'description' => '每页返回的最大结果数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'default' => '10', ], ], [ 'name' => 'type', 'in' => 'query', 'schema' => [ 'description' => '表类型。', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'internal' => 'internal', 'external' => 'external', ], 'example' => 'internal', ], ], [ 'name' => 'schemaName', 'in' => 'query', 'schema' => [ 'description' => 'Schema名称。', 'type' => 'string', 'required' => false, 'example' => 'default', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult>', 'description' => 'PopResult>', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0a06dd4516687375802853481ec9fd', ], 'data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'tables' => [ 'description' => '表信息。', 'type' => 'array', 'items' => [ 'description' => '表信息。', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '表名称。', 'type' => 'string', 'example' => 'sale_detail', ], 'owner' => [ 'description' => '表所有者。', 'type' => 'string', 'example' => '188785396123****', ], 'type' => [ 'description' => '表类型。', 'type' => 'string', 'example' => 'internal'."\n", ], 'schema' => [ 'description' => '归属schema。', 'type' => 'string', 'example' => 'default', ], 'creationTime' => [ 'description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '2022-01-17T07:07:47Z', ], 'displayName' => [ 'description' => '展示名称。', 'type' => 'string', 'example' => 'sale_detail', ], ], ], ], 'marker' => [ 'description' => '设定结果从marker之后按字母排序的第一个开始返回。', 'type' => 'string', 'example' => 'cHlvZHBzX3VkZl8xMDExNV8xNDU3NDI4NDkzKg==', ], 'maxItem' => [ 'description' => '每页返回的最大结果数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], ], ], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0a06dd4516687375802853481ec9fd\\",\\n \\"data\\": {\\n \\"tables\\": [\\n {\\n \\"name\\": \\"sale_detail\\",\\n \\"owner\\": \\"188785396123****\\",\\n \\"type\\": \\"internal\\\\n\\",\\n \\"schema\\": \\"default\\",\\n \\"creationTime\\": 0,\\n \\"displayName\\": \\"sale_detail\\"\\n }\\n ],\\n \\"marker\\": \\"cHlvZHBzX3VkZl8xMDExNV8xNDU3NDI4NDkzKg==\\",\\n \\"maxItem\\": 10\\n }\\n}","type":"json"}]', 'title' => '获取表列表', 'summary' => '获取MaxCompute项目内的表列表。', 'changeSet' => [ [ 'createdAt' => '2024-09-23T03:28:20.000Z', 'description' => '响应参数发生变更', ], [ 'createdAt' => '2023-11-14T07:01:39.000Z', 'description' => '请求参数发生变更、响应参数发生变更', ], [ 'createdAt' => '2022-11-28T13:46:34.000Z', 'description' => '请求参数发生变更', ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListTables', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], ], ], 'ListTunnelQuotaTimer' => [ 'path' => '/api/v1/tunnel/{nickname}/timers', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '254735', 'abilityTreeNodes' => [ 'FEATUREodpsZAKNHC', ], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'nickname', 'in' => 'path', 'schema' => [ 'description' => '一级数据传输服务独享资源组(Tunnel Quota)昵称。', 'type' => 'string', 'required' => true, 'example' => 'ot_tunnel_quota_p'."\n", ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult>', 'description' => '请求返回参数。', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0be3e0b716671885050924814e3623', ], 'httpCode' => [ 'description' => 'HTTP状态码。'."\n" .'- 1xx:信息响应 - 请求已接收,正在处理中。'."\n" .'- 2xx:成功 - 请求动作已被服务端成功接收、理解并接受。'."\n" .'- 3xx:重定向 - 请求被重定向,采取进一步行动以完成请求。'."\n" .'- 4xx:客户端错误 - 请求包含错误请求参、语法或特定请求条件无法满足。'."\n" .'- 5xx:服务端错误 - 服务器由于其他原因无法满足请求。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'OBJECT_NOT_EXIST', ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => 'This object does not exist.', ], 'data' => [ 'description' => '请求返回结果。', 'type' => 'array', 'items' => [ 'description' => '请求返回结果。', 'type' => 'object', 'properties' => [ 'beginTime' => [ 'description' => '分时配置开始时间。', 'type' => 'string', 'example' => '00:00', ], 'endTime' => [ 'description' => '分时配置结束时间。', 'type' => 'string', 'example' => '08:00', ], 'timezone' => [ 'description' => '分时配置时区属性。', 'type' => 'string', 'example' => 'Asia/Shanghai', ], 'tunnelQuotaParameter' => [ 'description' => '分时配置参数。', 'type' => 'object', 'properties' => [ 'slotNum' => [ 'description' => '预留并发(Slot)数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100', ], 'elasticReservedSlotNum' => [ 'description' => '弹性预留并发(Slot)数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100', ], ], ], ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0be3e0b716671885050924814e3623\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"OBJECT_NOT_EXIST\\",\\n \\"errorMsg\\": \\"This object does not exist.\\",\\n \\"data\\": [\\n {\\n \\"beginTime\\": \\"00:00\\",\\n \\"endTime\\": \\"08:00\\",\\n \\"timezone\\": \\"Asia/Shanghai\\",\\n \\"tunnelQuotaParameter\\": {\\n \\"slotNum\\": 100,\\n \\"elasticReservedSlotNum\\": 100\\n }\\n }\\n ]\\n}","type":"json"}]', 'title' => '查看Quota(Tunnel)分时扩缩容配置', 'summary' => '查看数据传输服务独享资源组(Tunnel Quota)的分时扩缩容配置。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListQuotaTimers', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'ListUsers' => [ 'path' => '/api/v1/users', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '144479', 'abilityTreeNodes' => [ 'FEATUREodpsRZY2HN', ], ], 'parameters' => [ [ 'name' => 'pageNumber', 'in' => 'query', 'schema' => [ 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '每页返回数目', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult>', 'description' => 'PopResult>', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id', 'type' => 'string', 'example' => '0a06dd4816687424611405643e3730', ], 'data' => [ 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'users' => [ 'description' => '用户列表', 'type' => 'array', 'items' => [ 'description' => '用户列表', 'type' => 'object', 'properties' => [ 'accountId' => [ 'description' => '账号ID', 'type' => 'string', 'example' => '16783562****', ], 'accountName' => [ 'description' => '账号名称', 'type' => 'string', 'example' => 'Bob@', ], 'displayName' => [ 'description' => '显示名称', 'type' => 'string', 'example' => 'Bob', ], 'accountType' => [ 'description' => '账号类型', 'type' => 'string', 'example' => 'ALIYUN', ], 'tenantId' => [ 'description' => '租户ID', 'type' => 'string', 'example' => '1567253789', ], ], ], ], 'totalCount' => [ 'description' => '返回结果的总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '64', ], 'pageNumber' => [ 'description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '2', ], 'pageSize' => [ 'description' => '每页显示条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0a06dd4816687424611405643e3730\\",\\n \\"data\\": {\\n \\"users\\": [\\n {\\n \\"accountId\\": \\"16783562****\\",\\n \\"accountName\\": \\"Bob@\\",\\n \\"displayName\\": \\"Bob\\",\\n \\"accountType\\": \\"ALIYUN\\",\\n \\"tenantId\\": \\"1567253789\\"\\n }\\n ],\\n \\"totalCount\\": 64,\\n \\"pageNumber\\": 2,\\n \\"pageSize\\": 10\\n }\\n}","type":"json"}]', 'title' => '获取用户列表', 'summary' => '获取租户下的所有用户列表。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListUsers', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'ListUsersByRole' => [ 'path' => '/api/v1/projects/{projectName}/roles/{roleName}/users', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '144126', 'abilityTreeNodes' => [ 'FEATUREodpsS3AG2F', ], ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'description' => 'MaxCompute项目名称', 'type' => 'string', 'required' => true, 'example' => 'projectA', ], ], [ 'name' => 'roleName', 'in' => 'path', 'schema' => [ 'description' => '角色名称', 'type' => 'string', 'required' => true, 'example' => 'roleA', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id', 'type' => 'string', 'example' => '0be3e0bb16654558425251398e27a9', ], 'data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'users' => [ 'description' => '用户列表', 'type' => 'array', 'items' => [ 'description' => '用户列表', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '用户名称', 'type' => 'string', 'example' => 'ALIYUN${account_name}', ], ], ], ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0be3e0bb16654558425251398e27a9\\",\\n \\"data\\": {\\n \\"users\\": [\\n {\\n \\"name\\": \\"ALIYUN${account_name}\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '获取绑定某项目级角色的用户列表', 'summary' => '获取绑定某项目级角色的用户列表。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListUsersByRole', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], ], ], 'QueryQuota' => [ 'path' => '/api/v1/quotas/{nickname}/query', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '228019', 'abilityTreeNodes' => [ 'FEATUREodpsZAKNHC', ], ], 'parameters' => [ [ 'name' => 'nickname', 'in' => 'path', 'schema' => [ 'description' => 'Quota名称。', 'type' => 'string', 'required' => true, 'example' => '%E9%BB%98%E8%AE%A4%E9%A2%84%E4%BB%98%E8%B4%B9Quota_p'."\n" ."\n" .'#中文名称需要经过utf8 urlencode编码转义', ], ], [ 'name' => 'tenantId', 'in' => 'query', 'schema' => [ 'description' => '租户ID。', 'type' => 'string', 'required' => false, 'example' => '483212237127906', ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'description' => '地域id。', 'type' => 'string', 'required' => false, 'example' => 'cn-chengdu', ], ], [ 'name' => 'AkProven', 'in' => 'query', 'schema' => [ 'description' => 'ak换取凭证。', 'type' => 'string', 'required' => false, 'example' => 'null', 'default' => '', ], ], [ 'name' => 'mock', 'in' => 'query', 'schema' => [ 'description' => '是否包含子模块。取值如下:'."\n" ."\n" .'- true:包含。'."\n" ."\n" .'- false(默认值):不包含。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopCompatibleResult', 'description' => 'PopCompatibleResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '0bc1eeed16675342848904412e08dd', ], 'httpCode' => [ 'description' => '返回的HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'success', ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => '异常信息', ], 'data' => [ 'description' => '返回数据。', 'type' => 'object', 'properties' => [ 'subQuotaInfoList' => [ 'description' => '二级quota信息。', 'type' => 'array', 'items' => [ 'description' => '数据。', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => '二级quota ID。', 'type' => 'string', 'example' => '1000048', ], 'name' => [ 'description' => '二级quota名称。', 'type' => 'string', 'example' => 'subquotaA', ], 'nickName' => [ 'description' => '二级quota昵称。', 'type' => 'string', 'example' => 'subquotaA', ], 'type' => [ 'title' => '对应控制集群的resourceSystemType字段', 'description' => '对应控制集群的resourceSystemType字段。', 'type' => 'string', 'example' => 'FUXI_ONLINE', ], 'status' => [ 'description' => '资源状态。', 'type' => 'string', 'example' => 'ON', ], 'tenantId' => [ 'description' => '租户id。', 'type' => 'string', 'example' => '478403690625249'."\n", ], 'regionId' => [ 'description' => '地域id。', 'type' => 'string', 'example' => 'cn-beijing', ], 'parentId' => [ 'description' => '父资源id。', 'type' => 'string', 'example' => '0', ], 'cluster' => [ 'description' => '集群id。', 'type' => 'string', 'example' => 'AT-120N'."\n", ], 'version' => [ 'description' => '版本号。', 'type' => 'string', 'example' => '1', ], 'billingPolicy' => [ 'description' => '订单信息。', 'type' => 'object', 'properties' => [ 'odpsSpecCode' => [ 'description' => '订单规格。', 'type' => 'string', 'example' => 'OdpsStandard', ], 'orderId' => [ 'description' => '订单id。', 'type' => 'string', 'example' => '880c0d0d-5d79-4217-b683-8e8bdd2a2523', ], 'instanceId' => [ 'title' => 'instanceId 与 orderId 在mc 看来是一样的。', 'description' => 'instanceId 与 orderId 在mc 看来是一样的。', 'type' => 'string', 'example' => '880c0d0d-5d79-4217-b683-8e8bdd2a2523', ], 'billingMethod' => [ 'title' => '"PAYASYOUGO" 表示后付费', 'description' => '付费模式。'."\n" .'- subscription:表示是预付费quota。'."\n" .'- payasyougo:表示是后付费quota。', 'type' => 'string', 'example' => 'subscription', ], ], ], 'scheduleInfo' => [ 'description' => '分时信息。', 'type' => 'object', 'properties' => [ 'currPlan' => [ 'description' => '按照调度计划生效的quota计划。', 'type' => 'string', 'example' => 'planA', ], 'currTime' => [ 'description' => 'currPlan被调度的时间。', 'type' => 'string', 'example' => '0800', ], 'nextPlan' => [ 'description' => '按照调度计划将要生效的quota计划。', 'type' => 'string', 'example' => 'planB', ], 'nextTime' => [ 'description' => 'next_plan被调度的时间。', 'type' => 'string', 'example' => '1700', ], 'oncePlan' => [ 'description' => '立即生效的quota计划。'."\n" .'如果用户触发了立即生效且不同于curr_plan,那么非空。', 'type' => 'string', 'example' => 'planC', ], 'onceTime' => [ 'description' => '立即生效触发的时间。', 'type' => 'string', 'example' => '1500', ], 'operatorName' => [ 'description' => '操作人名称。', 'type' => 'string', 'example' => 'userA', ], 'timezone' => [ 'description' => '时区。', 'type' => 'string', 'example' => 'UTC+8', ], ], ], 'parameter' => [ 'description' => 'quota的描述信息。', 'type' => 'object', 'example' => '{\'maxCU\': 10, \'minCU\': 10, \'adhocCU\': 0, \'schedulerType\': \'Fifo\'}', ], 'tag' => [ 'description' => 'quota的资源标签。', 'type' => 'string', 'example' => 'abc', ], 'createTime' => [ 'description' => '资源创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1688653978768', ], 'creatorId' => [ 'description' => '资源创建者,云账号UID。', 'type' => 'string', 'example' => '672863518', ], 'groupName' => [ 'description' => '角色组名称。', 'type' => 'string', 'example' => 'abc', ], 'saleTag' => [ 'description' => '描述了MaxCompute quota 对象的标识,这个标识与阿里云售卖账单中的标识是一致的。实际使用与标签场景下。', 'type' => 'object', 'properties' => [ 'resourceIds' => [ 'description' => 'maxcompute quota 对象的标识,这个标识在阿里云售卖子系统内也存在。通过这个标识,可以把quota 对象的费用都关联到某个标签上。', 'type' => 'array', 'items' => [ 'description' => 'maxcompute quota 对象的标识,这个标识在阿里云售卖子系统内也存在。通过这个标识,可以把quota 对象的费用都关联到某个标签上。', 'type' => 'string', 'example' => '"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd"'."\n", ], ], 'resourceType' => [ 'description' => '对象的类型,目前仅支持quota 和 project 两种类型。', 'type' => 'string', 'example' => '"quota"'."\n", ], ], ], ], ], ], 'id' => [ 'description' => 'quota ID。', 'type' => 'string', 'example' => '2523', ], 'name' => [ 'description' => 'quota名称。', 'type' => 'string', 'example' => 'quota_a', ], 'nickName' => [ 'description' => 'Quota别名。', 'type' => 'string', 'example' => 'quota_nickname', ], 'type' => [ 'title' => '对应控制集群的resourceSystemType字段', 'description' => '对应控制集群的resourceSystemType字段。', 'type' => 'string', 'example' => 'FUXI_OFFLINE', ], 'status' => [ 'description' => '资源状态。', 'type' => 'string', 'example' => 'ON', ], 'tenantId' => [ 'description' => '租户id。', 'type' => 'string', 'example' => '478403690625249', ], 'regionId' => [ 'description' => '地域id。', 'type' => 'string', 'example' => 'cn-beijing', ], 'parentId' => [ 'description' => '父资源id。', 'type' => 'string', 'example' => 'null', ], 'cluster' => [ 'description' => '集群id。', 'type' => 'string', 'example' => 'AT-120N', ], 'version' => [ 'description' => '版本号。', 'type' => 'string', 'example' => '1', ], 'billingPolicy' => [ 'description' => '订单信息。', 'type' => 'object', 'properties' => [ 'odpsSpecCode' => [ 'description' => '订单规格。', 'type' => 'string', 'example' => 'OdpsStandard', ], 'orderId' => [ 'description' => '订单id。', 'type' => 'string', 'example' => '880c0d0d-5d79-4217-b683-8e8bdd2a2523', ], 'instanceId' => [ 'title' => 'instanceId 与 orderId 在mc 看来是一样的。', 'description' => 'instanceId 与 orderId 在mc 看来是一样的。', 'type' => 'string', 'example' => '880c0d0d-5d79-4217-b683-8e8bdd2a2523', ], 'billingMethod' => [ 'title' => '"PAYASYOUGO" 表示后付费', 'description' => '付费模式。'."\n" .'- subscription:表示是预付费quota。'."\n" .'- payasyougo:表示是后付费quota。', 'type' => 'string', 'example' => 'subscription', ], ], ], 'scheduleInfo' => [ 'description' => '分时信息。', 'type' => 'object', 'properties' => [ 'currPlan' => [ 'description' => '按照调度计划生效的quota计划。', 'type' => 'string', 'example' => 'planA', ], 'currTime' => [ 'description' => 'currPlan被调度的时间。', 'type' => 'string', 'example' => '0800', ], 'nextPlan' => [ 'description' => '按照调度计划将要生效的quota计划。', 'type' => 'string', 'example' => 'planB', ], 'nextTime' => [ 'description' => 'next_plan被调度的时间。', 'type' => 'string', 'example' => '1700', ], 'oncePlan' => [ 'description' => '立即生效的quota计划。'."\n" .'如果用户触发了立即生效且不同于curr_plan,那么非空。', 'type' => 'string', 'example' => 'planC', ], 'onceTime' => [ 'description' => '立即生效触发的时间。', 'type' => 'string', 'example' => '1500', ], 'operatorName' => [ 'description' => '操作人名称。', 'type' => 'string', 'example' => 'userA', ], 'timezone' => [ 'description' => '时区。', 'type' => 'string', 'example' => 'UTC+8', ], ], ], 'parameter' => [ 'description' => 'quota的描述信息。', 'type' => 'object', 'example' => '{"minCU":10, '."\n" .'"adhocCU":0,'."\n" .'"maxCU":10,'."\n" .'"schedulerType":"Fair",'."\n" .'}', ], 'tag' => [ 'description' => 'quota的资源标签。', 'type' => 'string', 'example' => 'abc', ], 'createTime' => [ 'description' => '资源创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1714356241163', ], 'creatorId' => [ 'description' => '资源创建者,云账号UID。', 'type' => 'string', 'example' => '1248953767546358', ], 'groupName' => [ 'description' => '群名称。', 'type' => 'string', 'example' => 'abc', ], 'saleTag' => [ 'description' => '描述了MaxCompute quota对象的标识,这个标识与阿里云售卖账单中的标识是一致的。实际使用与标签场景下。', 'type' => 'object', 'properties' => [ 'resourceIds' => [ 'description' => 'MaxCompute Quota对象的标识,这个标识在阿里云售卖子系统内也存在。通过这个标识,可以把Quota对象的费用都关联到某个标签上。', 'type' => 'array', 'items' => [ 'description' => 'MaxCompute Quota对象的标识,这个标识在阿里云售卖子系统内也存在。通过这个标识,可以把Quota对象的费用都关联到某个标签上。', 'type' => 'string', 'example' => '"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd"'."\n", ], ], 'resourceType' => [ 'description' => '对象的类型,目前仅支持quota和project两种类型。', 'type' => 'string', 'example' => 'project', ], ], ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0bc1eeed16675342848904412e08dd\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"success\\",\\n \\"errorMsg\\": \\"异常信息\\",\\n \\"data\\": {\\n \\"subQuotaInfoList\\": [\\n {\\n \\"id\\": \\"1000048\\",\\n \\"name\\": \\"subquotaA\\",\\n \\"nickName\\": \\"subquotaA\\",\\n \\"type\\": \\"FUXI_ONLINE\\",\\n \\"status\\": \\"ON\\",\\n \\"tenantId\\": \\"478403690625249\\\\n\\",\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"parentId\\": \\"0\\",\\n \\"cluster\\": \\"AT-120N\\\\n\\",\\n \\"version\\": \\"1\\",\\n \\"billingPolicy\\": {\\n \\"odpsSpecCode\\": \\"OdpsStandard\\",\\n \\"orderId\\": \\"880c0d0d-5d79-4217-b683-8e8bdd2a2523\\",\\n \\"instanceId\\": \\"880c0d0d-5d79-4217-b683-8e8bdd2a2523\\",\\n \\"billingMethod\\": \\"subscription\\"\\n },\\n \\"scheduleInfo\\": {\\n \\"currPlan\\": \\"planA\\",\\n \\"currTime\\": \\"0800\\",\\n \\"nextPlan\\": \\"planB\\",\\n \\"nextTime\\": \\"1700\\",\\n \\"oncePlan\\": \\"planC\\",\\n \\"onceTime\\": \\"1500\\",\\n \\"operatorName\\": \\"userA\\",\\n \\"timezone\\": \\"UTC+8\\"\\n },\\n \\"parameter\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"tag\\": \\"abc\\",\\n \\"createTime\\": 1688653978768,\\n \\"creatorId\\": \\"672863518\\",\\n \\"groupName\\": \\"abc\\",\\n \\"saleTag\\": {\\n \\"resourceIds\\": [\\n \\"\\\\\\"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd\\\\\\"\\\\n\\"\\n ],\\n \\"resourceType\\": \\"\\\\\\"quota\\\\\\"\\\\n\\"\\n }\\n }\\n ],\\n \\"id\\": \\"2523\\",\\n \\"name\\": \\"quota_a\\",\\n \\"nickName\\": \\"quota_nickname\\",\\n \\"type\\": \\"FUXI_OFFLINE\\",\\n \\"status\\": \\"ON\\",\\n \\"tenantId\\": \\"478403690625249\\",\\n \\"regionId\\": \\"cn-beijing\\",\\n \\"parentId\\": \\"null\\",\\n \\"cluster\\": \\"AT-120N\\",\\n \\"version\\": \\"1\\",\\n \\"billingPolicy\\": {\\n \\"odpsSpecCode\\": \\"OdpsStandard\\",\\n \\"orderId\\": \\"880c0d0d-5d79-4217-b683-8e8bdd2a2523\\",\\n \\"instanceId\\": \\"880c0d0d-5d79-4217-b683-8e8bdd2a2523\\",\\n \\"billingMethod\\": \\"subscription\\"\\n },\\n \\"scheduleInfo\\": {\\n \\"currPlan\\": \\"planA\\",\\n \\"currTime\\": \\"0800\\",\\n \\"nextPlan\\": \\"planB\\",\\n \\"nextTime\\": \\"1700\\",\\n \\"oncePlan\\": \\"planC\\",\\n \\"onceTime\\": \\"1500\\",\\n \\"operatorName\\": \\"userA\\",\\n \\"timezone\\": \\"UTC+8\\"\\n },\\n \\"parameter\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"tag\\": \\"abc\\",\\n \\"createTime\\": 1714356241163,\\n \\"creatorId\\": \\"1248953767546358\\",\\n \\"groupName\\": \\"abc\\",\\n \\"saleTag\\": {\\n \\"resourceIds\\": [\\n \\"\\\\\\"aaaaaaa-bbbb-4fd0-a8eb-50861590f7dd\\\\\\"\\\\n\\"\\n ],\\n \\"resourceType\\": \\"project\\"\\n }\\n }\\n}","type":"json"}]', 'title' => '获取指定一级Quota组信息', 'summary' => '获取指定一级Quota组信息。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:QueryQuota', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], ], ], 'QueryQuotaMetric' => [ 'summary' => '查看quota资源消耗的时序信息', 'path' => '/api/v1/observations/quota/{metric}', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREodps2B6Z0N', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'startTime', 'in' => 'query', 'schema' => [ 'description' => '查询时间范围:开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1735534322', ], ], [ 'name' => 'endTime', 'in' => 'query', 'schema' => [ 'description' => '查询时间范围:结束时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1735536322', ], ], [ 'name' => 'metric', 'in' => 'path', 'schema' => [ 'description' => '观测指标名称。仅支持cpu和memory', 'type' => 'string', 'required' => true, 'example' => 'cpu', ], ], [ 'name' => 'strategy', 'in' => 'query', 'schema' => [ 'description' => '数据聚合策略。默认max。仅支持max和avg。'."\n" ."\n" .'数据的采集频率是1分钟。当查询的时间范围较大时,数据展示的自适应步长会超过1分钟,此时指标会进行聚合。该参数即指定数据的聚合逻辑。', 'type' => 'string', 'required' => false, 'example' => 'max', 'default' => 'max', ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '请求体参数', 'type' => 'object', 'properties' => [ 'nickname' => [ 'description' => '一级Quota昵称。必填参数。', 'type' => 'string', 'required' => false, 'example' => 'os_sns_p', ], 'subQuotaNickname' => [ 'description' => '二级Quota昵称。', 'type' => 'string', 'required' => false, 'example' => 'os_sns', ], 'interval' => [ 'description' => '固定间隔,单位为秒。默认为空,表示使用系统自适应间隔策略。'."\n" .'- 自适应间隔策略:查询时间范围在6小时内时间隔60s,24小时内时300s,72小时内时900s,超过72小时则1800s。'."\n" .'- 指定间隔:仅支持60,300,900。且要求查询间隔在72小时内。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '60', ], 'subMetric' => [ 'type' => 'string', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '0b87b7b316643495896551555e855b', ], 'httpCode' => [ 'description' => 'HTTP状态码。'."\n" .'- 1xx:信息响应 - 请求已接收,正在处理中。'."\n" .'- 2xx:成功 - 请求动作已被服务端成功接收、理解并接受。'."\n" .'- 3xx:重定向 - 请求被重定向,采取进一步行动以完成请求。'."\n" .'- 4xx:客户端错误 - 请求包含错误请求参、语法或特定请求条件无法满足。'."\n" .'- 5xx:服务端错误 - 服务器由于其他原因无法满足请求。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'success', ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => 'plan \\"***\\" does not exist', ], 'data' => [ 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'category' => [ 'description' => '不支持。', 'type' => 'string', 'example' => '不支持。', ], 'name' => [ 'description' => '观测指标名称。', 'type' => 'string', 'example' => 'cpu', ], 'period' => [ 'description' => '监控数据步长。', 'type' => 'integer', 'format' => 'int64', 'example' => '60', ], 'metrics' => [ 'description' => '指标值。', 'type' => 'array', 'items' => [ 'description' => '指标值。', 'type' => 'object', 'properties' => [ 'metric' => [ 'description' => '指标元数据信息。', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'description' => '指标元数据信息。'."\n" .'- unit:元数据单位。指标为cpu时,单位是Core。指标为memory时,单位是GB。'."\n" .'- type:元数据类型。查询指标类别为cpu时,元数据类型包括totalMaxCpu、totalUsedCpu、adhocCpu、adhocUsedCpu、maxCpu、minCpu、requestCpu、usedCpu、elasticMaxCpu、elasticUsedCpu。查询指标类别为memory时,元数据类型包括totalMaxMem、totalUsedMem、adhocMem、adhocUsedMem、elasticMaxMem、elasticUsedMem、maxMem、minMem、usedMem。', 'example' => 'totalUsedCpu', ], ], 'values' => [ 'description' => '时序数据。', 'type' => 'array', 'items' => [ 'description' => '长度为2,分别是时间戳和数值。', 'type' => 'array', 'items' => [ 'description' => '长度为2,分别是时间戳和数值。', 'type' => 'number', 'format' => 'double', 'example' => '[1757571840,10]', ], ], ], ], ], ], ], ], ], ], ], ], 'title' => '计算资源消耗信息', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:QueryQuotaMetric', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quota/{#metric}', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0b87b7b316643495896551555e855b\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"success\\",\\n \\"errorMsg\\": \\"plan \\\\\\\\\\\\\\"***\\\\\\\\\\\\\\" does not exist\\",\\n \\"data\\": {\\n \\"category\\": \\"不支持。\\",\\n \\"name\\": \\"cpu\\",\\n \\"period\\": 60,\\n \\"metrics\\": [\\n {\\n \\"metric\\": {\\n \\"key\\": \\"totalUsedCpu\\"\\n },\\n \\"values\\": [\\n [\\n 0\\n ]\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', ], 'QueryStorageMetric' => [ 'summary' => '查看存储数据的时序指标。', 'path' => '/api/v1/observations/storage/{metric}', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREodps2B6Z0N', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'startTime', 'in' => 'query', 'schema' => [ 'description' => '查询时间范围:开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1735534322', ], ], [ 'name' => 'endTime', 'in' => 'query', 'schema' => [ 'description' => '查询时间范围:结束时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1735536322', ], ], [ 'name' => 'metric', 'in' => 'path', 'schema' => [ 'description' => '观测指标名称。包括:'."\n" .'- summary', 'type' => 'string', 'required' => true, 'example' => 'summary', ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '请求体参数。', 'type' => 'object', 'properties' => [ 'projectList' => [ 'description' => '项目名称。', 'type' => 'array', 'items' => [ 'description' => '项目名称。', 'type' => 'string', 'required' => false, 'example' => 'projectA', ], 'required' => false, ], 'typeList' => [ 'description' => '存储类型。包括:'."\n" .'- totalStorage'."\n" .'- longTermStorage'."\n" .'- lowFreqStorage'."\n" .'- standardStorage'."\n" .'- recycleBinStorage', 'type' => 'array', 'items' => [ 'description' => '存储类型', 'type' => 'string', 'required' => false, 'example' => 'totalStorage', ], 'required' => false, ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0be3e0bb16654558425251398e27a9', ], 'httpCode' => [ 'description' => 'HTTP状态码。'."\n" .'- 1xx:信息响应 - 请求已接收,正在处理中。'."\n" .'- 2xx:成功 - 请求动作已被服务端成功接收、理解并接受。'."\n" .'- 3xx:重定向 - 请求被重定向,采取进一步行动以完成请求。'."\n" .'- 4xx:客户端错误 - 请求包含错误请求参、语法或特定请求条件无法满足。'."\n" .'- 5xx:服务端错误 - 服务器由于其他原因无法满足请求。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'success', ], 'errorMsg' => [ 'description' => '错误描述信息。', 'type' => 'string', 'example' => '0A3B1FD2006A24C8D8BE65CDAC028298', ], 'data' => [ 'description' => '请求返回结果。', 'type' => 'object', 'properties' => [ 'category' => [ 'description' => '观测指标所属类别。', 'type' => 'string', 'example' => 'storage', ], 'name' => [ 'description' => '观测指标名称。', 'type' => 'string', 'example' => 'summary', ], 'period' => [ 'description' => '监控数据步长。', 'type' => 'integer', 'format' => 'int64', 'example' => '3600', ], 'metrics' => [ 'description' => '指标值。', 'type' => 'array', 'items' => [ 'description' => '指标值。', 'type' => 'object', 'properties' => [ 'metric' => [ 'description' => '指标元数据信息。', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'description' => '观测指标信息。包括:'."\n" .'- unit'."\n" .'- type', 'example' => '"unit":"GB" "type":"standardStorage"', ], ], 'values' => [ 'description' => '观测时序数据。', 'type' => 'array', 'items' => [ 'description' => '长度为2,分别是时间戳和数值。', 'type' => 'array', 'items' => [ 'description' => '长度为2,分别是时间戳和数值。', 'type' => 'number', 'format' => 'double', 'example' => '174853440,'."\n" .'2.345719', ], ], ], ], ], ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0be3e0bb16654558425251398e27a9\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"success\\",\\n \\"errorMsg\\": \\"0A3B1FD2006A24C8D8BE65CDAC028298\\",\\n \\"data\\": {\\n \\"category\\": \\"storage\\",\\n \\"name\\": \\"summary\\",\\n \\"period\\": 3600,\\n \\"metrics\\": [\\n {\\n \\"metric\\": {\\n \\"key\\": \\"\\\\\\"unit\\\\\\":\\\\\\"GB\\\\\\"\\\\t\\\\t\\\\t\\\\t\\\\t\\\\t\\\\\\"type\\\\\\":\\\\\\"standardStorage\\\\\\"\\"\\n },\\n \\"values\\": [\\n [\\n 0\\n ]\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '存储资源观测时序数据', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:QueryStorageMetric', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Storage', 'arn' => 'acs:odps:{#regionId}:{#accountId}:storage/{#metric}', ], ], ], ], ], ], 'QueryTunnelMetric' => [ 'summary' => '用于查询指定时间范围内的Tunnel数据传输服务相关指标数据。', 'path' => '/api/v1/observations/tunnel/{metric}', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], 'produces' => [], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREodps2B6Z0N', ], ], 'parameters' => [ [ 'name' => 'startTime', 'in' => 'query', 'schema' => [ 'description' => '查询时间范围:开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1735534322', ], ], [ 'name' => 'endTime', 'in' => 'query', 'schema' => [ 'description' => '查询时间范围:结束时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1735536322', ], ], [ 'name' => 'metric', 'in' => 'path', 'schema' => [ 'description' => '观测指标名称。', 'type' => 'string', 'required' => true, 'enumValueTitles' => [ 'request' => 'request', 'slot_max' => 'slot_max', 'slot_usage' => 'slot_usage', 'throughput' => 'throughput', 'throughput_speed' => 'throughput_speed', ], 'example' => 'slot_usage', ], ], [ 'name' => 'strategy', 'in' => 'query', 'schema' => [ 'description' => '数据聚合策略。默认max。'."\n" ."\n" .'数据的采集频率是1分钟。当查询的时间范围较大时,数据展示的自适应步长会超过1分钟,此时指标会进行聚合。该参数即指定数据的聚合逻辑。', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'avg' => 'avg', 'max' => 'max', ], 'example' => 'max', 'default' => 'max', ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '请求体参数。', 'type' => 'object', 'properties' => [ 'quotaNickname' => [ 'description' => 'Tunnel二级Quota昵称。'."\n" ."\n" .'共享Quota昵称是:default'."\n" ."\n" .'独享Quota昵称的格式是:quotaNickname#subQuotaNickname', 'type' => 'string', 'required' => false, 'example' => 'default', ], 'project' => [ 'description' => '项目名称。', 'type' => 'string', 'required' => false, 'example' => 'project_a', ], 'tableList' => [ 'description' => '表名称列表'."\n" ."\n" .'归属于project,因此如果tableList不为空,则project不为空。', 'type' => 'array', 'items' => [ 'description' => '表名称', 'type' => 'string', 'required' => false, 'example' => 'tab_name', ], 'required' => false, ], 'operationList' => [ 'description' => '操作类型列表', 'type' => 'array', 'items' => [ 'description' => '操作类型|包括:'."\n" ."\n" .'upload - Tunnel Batch 上传'."\n" ."\n" .'download - Tunnel Batch 下载'."\n" ."\n" .'stream_upload - Tunnel Stream 上传'."\n" ."\n" .'max_storage_read - Storage API 下载'."\n" ."\n" .'download_instance - Tunnel Instance 下载'."\n" ."\n" .'upsert - Tunnel Upsert 上传'."\n" ."\n" .'max_storage_write - Storage API 上传'."\n" ."\n" .'table_preview - Preview 下载', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'download' => 'download', 'max_storage_read' => 'max_storage_read', 'max_storage_write' => 'max_storage_write', 'upload' => 'upload', 'upsert' => 'upsert', 'table_preview' => 'table_preview', 'download_instance' => 'download_instance', 'stream_upload' => 'stream_upload', ], 'example' => 'upload', ], 'required' => false, ], 'codeList' => [ 'description' => '请求的HTTP CODE列表', 'type' => 'array', 'items' => [ 'description' => 'HTTP CODE', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '403', ], 'required' => false, ], 'groupList' => [ 'description' => '分组依据列表', 'type' => 'array', 'items' => [ 'description' => '分组依据。包括:'."\n" ."\n" .'quota'."\n" ."\n" .'project'."\n" ."\n" .'table'."\n" ."\n" .'operation'."\n" ."\n" .'ip (仅metric为throughput时支持)'."\n" ."\n" .'code (仅metric为request时支持)', 'type' => 'string', 'required' => false, 'example' => 'quota', ], 'required' => false, ], 'topN' => [ 'description' => '数据数量限制。'."\n" ."\n" .'当分组依据包含table或ip时,该参数生效。'."\n" ."\n" .'默认是10,最大不超过100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0bc3b4b016674434996033675e71ee', ], 'httpCode' => [ 'description' => '业务成功与否。如果非空且不是200,那么表示业务处理失败。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'success', ], 'errorMsg' => [ 'description' => '错误描述信息。', 'type' => 'string', 'example' => '0A3B1E82006A23A918C70905BF08AEC7', ], 'data' => [ 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'category' => [ 'description' => '观测指标所属类别。', 'type' => 'string', 'example' => 'tunnel', ], 'name' => [ 'description' => '观测指标名称。', 'type' => 'string', 'example' => 'slot_usage', ], 'period' => [ 'description' => '监控数据步长。', 'type' => 'integer', 'format' => 'int64', 'example' => '60', ], 'metrics' => [ 'description' => '指标值。', 'type' => 'array', 'items' => [ 'description' => '指标值。', 'type' => 'object', 'properties' => [ 'metric' => [ 'description' => '指标元数据信息。', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'description' => '元数据信息。其中,key是分组依据,value是对应的元数据。', 'example' => '"project":"prjName"', ], ], 'values' => [ 'description' => '指标数值列表。', 'type' => 'array', 'items' => [ 'description' => '长度为2,分别是时间戳和数值。', 'type' => 'array', 'items' => [ 'description' => '时间戳和指标数值。', 'type' => 'number', 'format' => 'double', 'example' => '[1745220780,1]', ], ], ], ], ], ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0bc3b4b016674434996033675e71ee\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"success\\",\\n \\"errorMsg\\": \\"0A3B1E82006A23A918C70905BF08AEC7\\",\\n \\"data\\": {\\n \\"category\\": \\"tunnel\\",\\n \\"name\\": \\"slot_usage\\",\\n \\"period\\": 60,\\n \\"metrics\\": [\\n {\\n \\"metric\\": {\\n \\"key\\": \\"\\\\\\"project\\\\\\":\\\\\\"prjName\\\\\\"\\"\\n },\\n \\"values\\": [\\n [\\n 0\\n ]\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'Tunnel资源观测时序数据', 'description' => '## 请求说明'."\n" .'- 本API支持查询包括slot使用量(`slot_usage`)、slot使用上限(`slot_max`)、吞吐量(`throughput`)、吞吐量速率(`throughput_speed`)以及请求数(`request`)等在内的多种Tunnel指标。'."\n" .'- `startTime`与`endTime`为必选参数,分别代表查询的时间段起始和结束时间戳(秒)。'."\n" .'- `metric`参数也是必需的,用来指定要查询的具体指标类型。'."\n" .'- 根据不同的`metric`值,可能需要提供额外的过滤参数如`quotaNickname`, `project`, `tableList`, `operationList`, `codeList`, `groupList`及`topN`等来进一步细化查询条件。'."\n" .'- 特别注意的是,对于某些特定的`metric`(例如当`groupList`包含`table`或`ip`时),必须同时指定相关的项目(`project`)和其他必要参数,并且系统会强制返回Top N的结果。'."\n" .'- 参数`strategy`定义了在较长时间范围内数据自适应步长超过60秒时的数据聚合逻辑,默认为`max`。'."\n" .'- 确保所有提供的参数符合文档中列出的要求以避免请求失败。', 'requestParamsDescription' => 'slot_usage'."\n" .'- slot使用量'."\n" .'- 支持可选过滤参数:quotaNickname,project,tableList,operationList,groupList,topN'."\n" .' - quotaNickname和project不能同时为空'."\n" .' - tableList和topN仅在指定project且groupList包含table时生效。'."\n" .'- groupList支持quota,project,table,operation。'."\n" .' - groupList不能为空,表示数据的展示粒度。'."\n" .' - 当quotaNickname=default时,groupList必须包含project。(因为共享quota是project级别的)'."\n" .' - 当groupList包含table时,必须指定project参数。此时,系统强制返回TopN的时序数据。'."\n" ."\n" .'slot_max'."\n" .'- slot使用上限。'."\n" .'- quotaNickname必选。'."\n" .' - 当quotaNickname=default时,必须指定project参数。(因为共享quota是project级别的)'."\n" .'- groupList只支持quota,project'."\n" ."\n" .'throughput'."\n" .'- 吞吐量'."\n" .'- 支持可选过滤参数:quotaNickname,project,tableList,operationList,groupList,topN'."\n" .' - quotaNickname和project不能同时为空'."\n" .' - tableList和topN仅在指定project且groupList包含table或ip时生效。'."\n" .'- groupList 支持quota,project,table,ip,operation'."\n" .' - groupList不能为空,表示数据的展示粒度。'."\n" .' - 当groupList包含table时,必须指定project参数。此时,系统强制返回TopN的时序数据。'."\n" .' - 当groupList包含ip时,必须指定project参数和tableList参数。此时,系统强制返回TopN的时序数据。'."\n" ."\n" .'throughput_speed'."\n" .'- 吞吐量速率'."\n" .'- 支持可选过滤参数:quotaNickname,project,tableList,operationList,groupList,topN'."\n" .' - quotaNickname和project不能同时为空'."\n" .' - tableList和topN仅在指定project且groupList包含table时生效。'."\n" .'- groupList 支持quota,project,table,operation'."\n" .' - groupList不能为空,表示数据的展示粒度。'."\n" .' - 当groupList包含table时,必须指定project参数。此时,系统强制返回TopN的时序数据。'."\n" ."\n" .'request'."\n" .'- 请求数'."\n" .'- 支持可选过滤参数:quotaNickname,project,tableList,operationList,codeList,groupList,topN'."\n" .' - quotaNickname和project不能同时为空'."\n" .' - tableList和topN仅在指定project且groupList包含table时生效。'."\n" .'- groupList 支持quota,project,table,operation,code'."\n" .' - groupList不能为空,表示数据的展示粒度。'."\n" .' - 当groupList包含table时,必须指定project参数。此时,系统强制返回TopN的时序数据。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '400', 'countWindow' => 60, 'regionId' => '*', 'api' => 'QueryTunnelMetric', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:QueryTunnelMetric', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Tunnel', 'arn' => 'acs:odps:{#regionId}:{#accountId}:tunnel/{#metric}', ], ], ], ], ], ], 'QueryTunnelMetricDetail' => [ 'summary' => '用于查询指定时间范围内的Tunnel数据传输服务相关详情数据。', 'path' => '/api/v1/observations/tunnel/{metric}/detail', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'produces' => [], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREodps2B6Z0N', ], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'startTime', 'in' => 'query', 'schema' => [ 'description' => '查询时间范围:开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1735534322', ], ], [ 'name' => 'endTime', 'in' => 'query', 'schema' => [ 'description' => '查询时间范围:结束时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1735536322', ], ], [ 'name' => 'metric', 'in' => 'path', 'schema' => [ 'description' => '观测指标名称。', 'type' => 'string', 'required' => true, 'enumValueTitles' => [ 'slot_usage_detail' => 'slot_usage_detail', 'throughput_summary' => 'throughput_summary', 'throughput_detail' => 'throughput_detail', ], 'example' => 'slot_usage_detail', ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '请求体参数。', 'type' => 'object', 'properties' => [ 'quotaNickname' => [ 'description' => 'Tunnel二级Quota昵称。'."\n" ."\n" .'共享Quota昵称是:default'."\n" ."\n" .'独享Quota昵称的格式是:quotaNickname#subQuotaNickname', 'type' => 'string', 'required' => false, 'example' => 'quota_A', ], 'project' => [ 'description' => '项目名称。', 'type' => 'string', 'required' => false, 'example' => 'project_a', ], 'tableList' => [ 'description' => '表名称列表'."\n" ."\n" .'归属于project,因此如果tableList不为空,则project不为空。', 'type' => 'array', 'items' => [ 'description' => '表名称', 'type' => 'string', 'required' => false, 'example' => 'tab_name', ], 'required' => false, ], 'operationList' => [ 'description' => '操作类型列表', 'type' => 'array', 'items' => [ 'description' => '操作类型|包括:'."\n" ."\n" .'upload - Tunnel Batch 上传'."\n" ."\n" .'download - Tunnel Batch 下载'."\n" ."\n" .'stream_upload - Tunnel Stream 上传'."\n" ."\n" .'max_storage_read - Storage API 下载'."\n" ."\n" .'download_instance - Tunnel Instance 下载'."\n" ."\n" .'upsert - Tunnel Upsert 上传'."\n" ."\n" .'max_storage_write - Storage API 上传'."\n" ."\n" .'table_preview - Preview 下载', 'type' => 'string', 'required' => false, 'example' => 'upload', ], 'required' => false, ], 'groupList' => [ 'description' => '分组依据列表', 'type' => 'array', 'items' => [ 'description' => '分组依据。包括:'."\n" ."\n" .'quota'."\n" ."\n" .'project'."\n" ."\n" .'table'."\n" ."\n" .'operation'."\n" ."\n" .'ip (仅metric为throughput_detail时支持)', 'type' => 'string', 'required' => false, 'example' => 'quota', ], 'required' => false, ], 'orderColumn' => [ 'description' => '排序列', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'avgValue' => 'avgValue', 'minValue' => 'minValue', 'maxValue' => 'maxValue', 'sumValue' => 'sumValue', ], 'example' => 'maxValue', ], 'ascOrder' => [ 'description' => '是否升序', 'type' => 'boolean', 'required' => false, 'example' => 'false', ], 'limit' => [ 'description' => '查询的数量限制。默认是10,最大100。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0a06dd4516687375802853481ec9fd', ], 'httpCode' => [ 'description' => '返回的HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'OBJECT_NOT_EXIST', ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => 'plan \\"***\\" does not exist', ], 'data' => [ 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '观测指标名称。', 'type' => 'string', 'example' => 'tableA', ], 'metrics' => [ 'description' => '指标值。', 'type' => 'array', 'items' => [ 'description' => '指标值。', 'type' => 'object', 'properties' => [ 'metric' => [ 'description' => '指标元数据信息。', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'description' => '元数据信息。其中,key是分组依据,value是对应的元数据。', 'example' => '"project":"prjName"', ], ], 'value' => [ 'description' => '指标数值信息', 'type' => 'object', 'example' => '"avgValue":"11.5"', ], ], ], ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0a06dd4516687375802853481ec9fd\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"OBJECT_NOT_EXIST\\",\\n \\"errorMsg\\": \\"plan \\\\\\\\\\\\\\"***\\\\\\\\\\\\\\" does not exist\\",\\n \\"data\\": {\\n \\"name\\": \\"tableA\\",\\n \\"metrics\\": [\\n {\\n \\"metric\\": {\\n \\"key\\": \\"\\\\\\"project\\\\\\":\\\\\\"prjName\\\\\\"\\"\\n },\\n \\"value\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'Tunnel资源观测详情数据', 'description' => '## 请求说明'."\n" .'- 本API支持查询包括slot使用量详情(`slot_usage_detail`)、吞吐量详情(`throughput_detail`)和吞吐量汇总(`throughput_summary`)等在内的多种Tunnel指标。'."\n" .'- `quotaNickname` 和 `project` 参数不能同时为空。'."\n" .'- 当 `groupList` 包含 `table` 或 `ip` 时,必须指定 `project` 参数,并且在包含 `ip` 时还需指定 `tableList` 参数。'."\n" .'- `orderColumn` 支持 `maxValue`, `minValue`, `avgValue` 和 `sumValue`(仅适用于 `throughput_summary`),默认为空表示不排序。'."\n" .'- `ascOrder` 默认为 `false` 表示降序排列。'."\n" .'- `limit` 参数定义了返回结果的数量限制,默认值为10,最大不超过100。', 'requestParamsDescription' => 'slot_usage_detail'."\n" .'- slot使用量TopN详情数据'."\n" .'- 支持可选过滤参数:quotaNickname,project,tableList,operationList,groupList'."\n" .' - quotaNickname和project不能同时为空'."\n" .' - orderColumn只支持maxValue,minValue和avgValue。默认为空,表示不排序'."\n" .' - ascOrder默认为false,表示降序'."\n" .' - limit默认为10,最大100'."\n" .'- groupList支持quota,project,table,operation。'."\n" .' - groupList不能为空,表示数据的展示粒度。'."\n" ."\n" .'throughput_detail'."\n" .'- 吞吐量TopN详情数据'."\n" .'- 支持可选过滤参数:quotaNickname,project,tableList,operationList,groupList'."\n" .' - quotaNickname和project不能同时为空'."\n" .' - orderColumn只支持maxValue,minValue和avgValue。默认为空,表示不排序'."\n" .' - ascOrder默认为false,表示降序'."\n" .' - limit默认为10,最大100'."\n" .'- groupList 支持quota,project,table,ip,operation'."\n" .' - groupList不能为空,表示数据的展示粒度。'."\n" ."\n" .'throughput_summary'."\n" .'- 吞吐量汇总'."\n" .'- 支持可选过滤参数:quotaNickname,project,tableList,operationList,groupList'."\n" .' - quotaNickname和project不能同时为空'."\n" .' - orderColumn只支持sumValue。默认为空,表示不排序'."\n" .' - ascOrder默认为false,表示降序'."\n" .' - limit默认为10,最大100'."\n" .'- groupList 支持quota,project,table,operation'."\n" .' - groupList不能为空,表示数据的展示粒度。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:QueryTunnelMetricDetail', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Tunnel', 'arn' => 'acs:odps:{#regionId}:{#accountId}:tunnel/{#metric}', ], ], ], ], ], ], 'RetryMmsJob' => [ 'summary' => '重试数据迁移作业', 'path' => '/api/v1/mms/datasources/{sourceId}/jobs/{jobId}/retry', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182974', 'abilityTreeNodes' => [ 'FEATUREodpsN8WEG6', ], ], 'parameters' => [ [ 'name' => 'sourceId', 'in' => 'path', 'schema' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2000015', ], ], [ 'name' => 'jobId', 'in' => 'path', 'schema' => [ 'description' => '迁移作业ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '78', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ApiRes', 'description' => 'ApiRes', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID', 'type' => 'string', 'example' => '7F5DAD1C-9EC2-5FE5-97CF-BCE21B4ABA29', ], 'data' => [ 'description' => '返回结果', 'type' => 'integer', 'format' => 'int64', 'example' => '78', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"7F5DAD1C-9EC2-5FE5-97CF-BCE21B4ABA29\\",\\n \\"data\\": 78\\n}","type":"json"}]', 'title' => '重试数据迁移作业', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:RetryMmsJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], ], ], 'StartMmsJob' => [ 'summary' => '开启数据迁移作业', 'path' => '/api/v1/mms/datasources/{sourceId}/jobs/{jobId}/start', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182989', 'abilityTreeNodes' => [ 'FEATUREodpsN8WEG6', ], ], 'parameters' => [ [ 'name' => 'sourceId', 'in' => 'path', 'schema' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2000015', ], ], [ 'name' => 'jobId', 'in' => 'path', 'schema' => [ 'description' => '迁移作业ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '88', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ApiRes', 'description' => 'ApiRes', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID', 'type' => 'string', 'example' => '5CA6292A-E301-5CD8-B4E2-AF060F99147B', ], 'data' => [ 'description' => '迁移作业ID', 'type' => 'integer', 'format' => 'int64', 'example' => '88', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"5CA6292A-E301-5CD8-B4E2-AF060F99147B\\",\\n \\"data\\": 88\\n}","type":"json"}]', 'title' => '启动数据迁移作业', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:StartMmsJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], ], ], 'StopMmsJob' => [ 'summary' => '停止数据迁移作业', 'path' => '/api/v1/mms/datasources/{sourceId}/jobs/{jobId}/stop', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182973', 'abilityTreeNodes' => [ 'FEATUREodpsN8WEG6', ], ], 'parameters' => [ [ 'name' => 'sourceId', 'in' => 'path', 'schema' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2000015', ], ], [ 'name' => 'jobId', 'in' => 'path', 'schema' => [ 'description' => '迁移作业ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '88', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ApiRes', 'description' => 'ApiRes', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID', 'type' => 'string', 'example' => '8023D058-62B7-5C49-8EB6-AD9BA7942BC5', ], 'data' => [ 'description' => '数据迁移ID', 'type' => 'integer', 'format' => 'int64', 'example' => '88', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8023D058-62B7-5C49-8EB6-AD9BA7942BC5\\",\\n \\"data\\": 88\\n}","type":"json"}]', 'title' => '停止数据迁移作业', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:StopMmsJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], ], ], 'SumStorageMetricsByDate' => [ 'path' => '/api/v1/storageMetrics/sumByDate', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '请求体参数', 'type' => 'object', 'properties' => [ 'userId' => [ 'description' => '用户UID', 'type' => 'string', 'required' => false, 'example' => '12345', ], 'region' => [ 'description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', ], 'projectNames' => [ 'description' => '项目名称。', 'type' => 'array', 'items' => [ 'description' => '项目名称。', 'type' => 'string', 'required' => false, 'example' => 'prj', ], 'required' => false, ], 'startDate' => [ 'description' => '开始日期。毫秒级别时间戳。必填参数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1715393576201', ], 'endDate' => [ 'description' => '结束日期。毫秒级别时间戳。必填参数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1718590596556', ], 'statsType' => [ 'description' => '存储用量统计类型。必填参数。包括:'."\n" .'- PROJECT'."\n" .'- STORAGE_TYPE', 'type' => 'string', 'required' => false, 'example' => 'PROJECT', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult>', 'description' => 'PopResult>', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '0abb781a17411408145995819e0dae', ], 'httpCode' => [ 'description' => 'HTTP状态码。'."\n" .'- 1xx:信息响应 - 请求已接收,正在处理中。'."\n" .'- 2xx:成功 - 请求动作已被服务端成功接收、理解并接受。'."\n" .'- 3xx:重定向 - 请求被重定向,采取进一步行动以完成请求。'."\n" .'- 4xx:客户端错误 - 请求包含错误请求参、语法或特定请求条件无法满足。'."\n" .'- 5xx:服务端错误 - 服务器由于其他原因无法满足请求。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'success', ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => 'this quota is not exist.', ], 'data' => [ 'description' => '返回结果。', 'type' => 'array', 'items' => [ 'description' => '请求返回结果。', 'type' => 'object', 'properties' => [ 'storageType' => [ 'description' => '存储类型。包括:'."\n" .'- Storage。标准存储。'."\n" .'- LowFreqStorage。低频存储。'."\n" .'- ColdStorage。长期存储。', 'type' => 'string', 'example' => 'Storage', ], 'dateTime' => [ 'description' => '统计日期。格式为yyyyMMdd', 'type' => 'string', 'example' => '20250719', ], 'usage' => [ 'description' => '存储总量', 'type' => 'string', 'example' => '329.503338', ], 'unit' => [ 'description' => '存储总量单位', 'type' => 'string', 'example' => 'GB', ], 'itemStorageMetrics' => [ 'description' => '指定类型的存储用量列表', 'type' => 'array', 'items' => [ 'description' => '指定类型的存储用量', 'type' => 'object', 'properties' => [ 'itemName' => [ 'description' => '当指定类型为PROJECT时,表示项目名称,当指定类型为STORAGE_TYPE时,表示存储类型。', 'type' => 'string', 'example' => 'prj', ], 'usage' => [ 'description' => '存储用量', 'type' => 'string', 'example' => '300.560392', ], 'percentage' => [ 'description' => '存储用量百分比', 'type' => 'number', 'format' => 'double', 'example' => '91.22', ], ], ], ], ], ], ], ], ], ], ], 'title' => '存储用量汇总', 'summary' => '指定日期查看各个类别的存储信息或各个project的存储信息。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'odps:SumStorageMetricsByDate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0abb781a17411408145995819e0dae\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"success\\",\\n \\"errorMsg\\": \\"this quota is not exist.\\",\\n \\"data\\": [\\n {\\n \\"storageType\\": \\"Storage\\",\\n \\"dateTime\\": \\"20250719\\",\\n \\"usage\\": \\"329.503338\\",\\n \\"unit\\": \\"GB\\",\\n \\"itemStorageMetrics\\": [\\n {\\n \\"itemName\\": \\"prj\\",\\n \\"usage\\": \\"300.560392\\",\\n \\"percentage\\": 91.22\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', ], 'UpdateComputeQuotaPlan' => [ 'path' => '/api/v1/quotas/{nickname}/computeQuotaPlan', 'methods' => [ 'put', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '257598', 'abilityTreeNodes' => [ 'FEATUREodps2FOXFI', ], ], 'parameters' => [ [ 'name' => 'nickname', 'in' => 'path', 'schema' => [ 'description' => '一级Quota昵称。', 'type' => 'string', 'required' => true, 'example' => 'os_ComputeQuota_p', ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '请求体参数。', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => 'Quota计划名称。', 'type' => 'string', 'required' => true, 'example' => 'planA', ], 'quota' => [ 'description' => 'Quota属性。', 'type' => 'object', 'properties' => [ 'parameter' => [ 'description' => '一级Quota属性。', 'type' => 'object', 'properties' => [ 'elasticReservedCU' => [ 'description' => '一级Quota弹性预留CU值。'."\n" .'> '."\n" .'> - 一级Quota ElasticReservedCU必须是50倍数'."\n" .'> - 一级Quota ElasticReservedCU 大于等于0'."\n" .'> - 一级Quota ElasticReservedCU 小于等于一级Quota MaxCU', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '50', ], ], 'required' => false, ], 'subQuotaInfoList' => [ 'description' => '二级Quota列表。', 'type' => 'array', 'items' => [ 'description' => '二级Quota列表。', 'type' => 'object', 'properties' => [ 'nickName' => [ 'description' => '二级quota昵称。', 'type' => 'string', 'required' => true, 'example' => 'os_ComputeQuota', ], 'parameter' => [ 'description' => '二级Quota属性。', 'type' => 'object', 'properties' => [ 'elasticReservedCU' => [ 'description' => '弹性预留CU值。'."\n" .'> '."\n" .'> - 二级Quota的ElasticReservedCU大于等于0 '."\n" .'> - 二级Quota的ElasticReservedCU总和必须等于一级Quota ElasticReservedCU', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '50', ], 'maxCU' => [ 'description' => '预留CU上限。'."\n" .'> '."\n" .'> - 二级Quota的maxCU不能超过一级Quota的maxCU。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '50', ], 'minCU' => [ 'description' => '预留CU保障。'."\n" .'> '."\n" .'> - 所有二级Quota minCU总和需要等于 一级Quota的minCU'."\n" .'> - 二级Quota的minCU不能超过自身的maxCU', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '50', ], ], 'required' => false, ], ], 'required' => false, ], 'required' => false, ], ], 'required' => false, ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => '请求返回参数。', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0be3e0aa16667684362147582e038f', ], 'httpCode' => [ 'description' => 'HTTP状态码。'."\n" .'- 1xx:信息响应 - 请求已接收,正在处理中。'."\n" .'- 2xx:成功 - 请求动作已被服务端成功接收、理解并接受。'."\n" .'- 3xx:重定向 - 请求被重定向,采取进一步行动以完成请求。'."\n" .'- 4xx:客户端错误 - 请求包含错误请求参、语法或特定请求条件无法满足。'."\n" .'- 5xx:服务端错误 - 服务器由于其他原因无法满足请求。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'QUOTA_PLAN_NOT_FOUND', ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => 'plan \\"***\\" does not exist', ], 'data' => [ 'description' => '返回结果。', 'type' => 'string', 'example' => 'success', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0be3e0aa16667684362147582e038f\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"QUOTA_PLAN_NOT_FOUND\\",\\n \\"errorMsg\\": \\"plan \\\\\\\\\\\\\\"***\\\\\\\\\\\\\\" does not exist\\",\\n \\"data\\": \\"success\\"\\n}","type":"json"}]', 'title' => '更新Quota计划', 'summary' => '更新Quota计划。', 'description' => '请确保在使用该接口前,已充分了解MaxCompute弹性预留CU的[收费方式和价格](https://help.aliyun.com/zh/maxcompute/product-overview/computing-pricing-1)'."\n" .'[收费方式和价格](https://www.alibabacloud.com/help/maxcompute/product-overview/computing-pricing-1)。', 'requestParamsDescription' => ''."\n" ."\n" .'- 该接口仅支持计算类型Quota'."\n" .'- subQuotaInfoList内需要列出所有二级Quota'."\n" .'- 必须配置默认二级Quota , 默认二级Quota名称一般为 一级Quota Nickname 去除 _p 。例如 os_ComputeQuota_p 的默认二级Quota为 os_ComputeQuota'."\n" ."\n" .'', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:UpdateQuotaPlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], ], ], 'UpdateComputeQuotaSchedule' => [ 'path' => '/api/v1/quotas/{nickname}/computeQuotaSchedule', 'methods' => [ 'put', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '255380', 'abilityTreeNodes' => [ 'FEATUREodpsZAKNHC', ], ], 'parameters' => [ [ 'name' => 'nickname', 'in' => 'path', 'schema' => [ 'description' => '一级Quota昵称。', 'type' => 'string', 'required' => true, 'example' => 'os_ComputeQuota_p', ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '请求体参数。', 'type' => 'array', 'items' => [ 'description' => '请求体参数。', 'type' => 'object', 'properties' => [ 'condition' => [ 'description' => '生效条件值。', 'type' => 'object', 'properties' => [ 'at' => [ 'description' => '生效时间。', 'type' => 'string', 'required' => true, 'example' => '10:00', ], ], 'required' => false, ], 'type' => [ 'description' => '类型。'."\n" .'>目前只支持daily>', 'type' => 'string', 'required' => true, 'docRequired' => false, 'example' => 'daily', ], 'plan' => [ 'description' => 'Quota计划名称。', 'type' => 'string', 'required' => true, 'example' => 'planA', ], ], 'required' => false, ], 'required' => false, ], ], [ 'name' => 'scheduleTimezone', 'in' => 'query', 'schema' => [ 'description' => '时区。'."\n" .'> 默认为: UTC+8。', 'type' => 'string', 'required' => false, 'example' => 'UTC+8', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => '请求返回参数。', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0be3e0aa16667684362147582e038f', ], 'httpCode' => [ 'description' => 'HTTP状态码。'."\n" .'- 1xx:信息响应 - 请求已接收,正在处理中。'."\n" .'- 2xx:成功 - 请求动作已被服务端成功接收、理解并接受。'."\n" .'- 3xx:重定向 - 请求被重定向,采取进一步行动以完成请求。'."\n" .'- 4xx:客户端错误 - 请求包含错误请求参、语法或特定请求条件无法满足。'."\n" .'- 5xx:服务端错误 - 服务器由于其他原因无法满足请求。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'QUOTA_PLAN_NOT_FOUND', ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => 'plan \\"***\\" does not exist', ], 'data' => [ 'description' => '返回结果。', 'type' => 'string', 'example' => 'success', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0be3e0aa16667684362147582e038f\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"QUOTA_PLAN_NOT_FOUND\\",\\n \\"errorMsg\\": \\"plan \\\\\\\\\\\\\\"***\\\\\\\\\\\\\\" does not exist\\",\\n \\"data\\": \\"success\\"\\n}","type":"json"}]', 'title' => '更新计算Quota分时计划', 'summary' => '更新计算Quota分时计划。', 'description' => '请确保在使用该接口前,已充分了解MaxCompute弹性预留CU的[收费方式和价格](https://help.aliyun.com/zh/maxcompute/product-overview/computing-pricing-1)'."\n" .'[收费方式和价格](https://www.alibabacloud.com/help/maxcompute/product-overview/computing-pricing-1)。', 'requestParamsDescription' => '>'."\n" .'使用时需要从生效时间00:00开始配置。'."\n" .'>', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:UpdateQuotaSchedule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], ], ], 'UpdateComputeSubQuota' => [ 'path' => '/api/v1/quotas/{nickname}/computeSubQuota', 'methods' => [ 'put', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '255780', 'abilityTreeNodes' => [ 'FEATUREodps2FOXFI', ], ], 'parameters' => [ [ 'name' => 'nickname', 'in' => 'path', 'schema' => [ 'description' => '一级Quota昵称。', 'type' => 'string', 'required' => true, 'example' => 'os_ComputeQuota_p', ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '请求体参数。', 'type' => 'object', 'properties' => [ 'subQuotaInfoList' => [ 'description' => '二级Quota列表。', 'type' => 'array', 'items' => [ 'description' => '二级Quota列表。', 'type' => 'object', 'properties' => [ 'nickName' => [ 'description' => '二级Quota昵称。', 'type' => 'string', 'required' => true, 'example' => 'os_ComputeQuota', ], 'parameter' => [ 'description' => 'CU值配置。', 'type' => 'object', 'properties' => [ 'enablePriority' => [ 'description' => '开启优先级。', 'type' => 'boolean', 'required' => false, 'example' => 'false', ], 'forceReservedMin' => [ 'description' => '是否独占。', 'type' => 'boolean', 'required' => false, 'example' => 'false', ], 'maxCU' => [ 'description' => '预留CU上限。'."\n" .'> - 二级Quota的maxCU不能超过一级Quota的maxCU。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '50', ], 'minCU' => [ 'description' => '预留CU保障。'."\n" .'> '."\n" .'> - 二级Quota的minCU不能超过自身的maxCU;'."\n" .'> - 所有二级Quota的minCU总和不能超过一级Quota的minCU。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '50', ], 'schedulerType' => [ 'description' => '调度策略。', 'type' => 'string', 'required' => false, 'example' => 'Fifo/Fair', ], 'singleJobCULimit' => [ 'description' => '单作业CU上限。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', ], ], 'required' => false, ], 'type' => [ 'description' => 'Quota类型。', 'type' => 'string', 'required' => false, 'example' => 'FUXI_OFFLINE', ], ], 'required' => false, ], 'required' => false, ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => '请求返回参数。', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0b57ff7616612271051086500ea3ce', ], 'httpCode' => [ 'description' => 'HTTP状态码。'."\n" .'- 1xx:信息响应 - 请求已接收,正在处理中。'."\n" .'- 2xx:成功 - 请求动作已被服务端成功接收、理解并接受。'."\n" .'- 3xx:重定向 - 请求被重定向,采取进一步行动以完成请求。'."\n" .'- 4xx:客户端错误 - 请求包含错误请求参、语法或特定请求条件无法满足。'."\n" .'- 5xx:服务端错误 - 服务器由于其他原因无法满足请求。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'OBJECT_NOT_EXIST', ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => 'this quota is not exist.', ], 'data' => [ 'description' => '返回结果。', 'type' => 'string', 'example' => 'success', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0b57ff7616612271051086500ea3ce\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"OBJECT_NOT_EXIST\\",\\n \\"errorMsg\\": \\"this quota is not exist.\\",\\n \\"data\\": \\"success\\"\\n}","type":"json"}]', 'title' => '更新计算Quota基础配置', 'summary' => '更新MaxCompute的基础配置,包括增加和删除二级Quota,定义二级Quota的基础属性和当前生效的Quota计划的CU配置。', 'description' => '请确保在使用该接口前,已充分了解MaxCompute弹性预留CU的[收费方式和价格](https://help.aliyun.com/zh/maxcompute/product-overview/computing-pricing-1)'."\n" .'[收费方式和价格](https://www.alibabacloud.com/help/maxcompute/product-overview/computing-pricing-1)。', 'requestParamsDescription' => '>'."\n" ."\n" .'- UpdateComputeSubQuota提交的配置为Quota的最终形态;'."\n" ."\n" .'- UpdateComputeSubQuota必须配置默认二级Quota;'."\n" ."\n" .'- 新增: 入参包含不存在的二级Quota时,则会新增二级Quota;'."\n" ."\n" .'- 删除: 已存在的二级Quota未在入参中声明,则会将其删除。'."\n" ."\n" .'- 修改: 入参与已存在的二级Quota配置参数不一致,则会更新这个二级Quota的配置。'."\n" ."\n" .'>', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:UpdateSubQuotas', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], ], ], 'UpdateMmsDataSource' => [ 'summary' => '重新拉取MMA数据源的元数据', 'path' => '/api/v1/mms/datasources/{sourceId}', 'methods' => [ 'put', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '182994', 'abilityTreeNodes' => [ 'FEATUREodpsN8WEG6', ], ], 'parameters' => [ [ 'name' => 'sourceId', 'in' => 'path', 'schema' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2000017', ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '请求体参数', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '新的数据源名', 'type' => 'string', 'required' => false, 'example' => 'dept1', ], 'action' => [ 'title' => 'UPDATE_CONFIG, START, STOP, RENAME', 'description' => '更新操作类型:'."\n" .'1. UPDATE_CONFIG: 更新数据源配置'."\n" .'2. START:启动数据源实例'."\n" .'3. STOP:关闭数据源实例'."\n" .'4. RENAME: 重命名', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'RENAME' => 'RENAME', 'STOP' => 'STOP', 'UPDATE_CONFIG' => 'UPDATE_CONFIG', 'START' => 'START', ], 'example' => 'UPDATE_CONFIG', ], 'test' => [ 'description' => '测试数据源配置', 'type' => 'boolean', 'required' => false, 'example' => 'true', ], 'config' => [ 'description' => '数据源配置,不同的数据源配置项不同', 'type' => 'object', 'required' => false, 'additionalProperties' => [ 'type' => 'any', 'description' => 'key为string,value为任何类型的配置项', 'example' => '{"mc.sql.hints": {"odps.sql.decimal.odps2": true}}', ], ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ApiRes', 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id', 'type' => 'string', 'example' => '76CE80C8-7392-5591-BCC8-610AFBF78ADF', ], 'data' => [ 'description' => '请求返回结果', 'type' => 'object', 'properties' => [ 'sourceId' => [ 'description' => '数据源ID', 'type' => 'integer', 'format' => 'int64', 'example' => '2000017', ], 'asyncTaskId' => [ 'description' => '异步任务ID,在测试数据源配置时,用于获取测试结果', 'type' => 'integer', 'format' => 'int64', 'example' => '100', ], ], ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"76CE80C8-7392-5591-BCC8-610AFBF78ADF\\",\\n \\"data\\": {\\n \\"sourceId\\": 2000017,\\n \\"asyncTaskId\\": 100\\n }\\n}","type":"json"}]', 'title' => '更新数据源配置、启/停数据源实例', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:UpdateMmsDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], ], ], 'UpdatePackage' => [ 'path' => '/api/v1/projects/{projectName}/packages/{packageName}', 'methods' => [ 'put', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '144114', 'abilityTreeNodes' => [ 'FEATUREodpsTZPZOE', ], ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'description' => 'MaxCompute项目名称', 'type' => 'string', 'required' => true, 'example' => 'projectA', ], ], [ 'name' => 'packageName', 'in' => 'path', 'schema' => [ 'description' => 'package名称。', 'type' => 'string', 'required' => true, 'example' => 'packageA', ], ], [ 'name' => 'body', 'in' => 'body', 'schema' => [ 'description' => '请求体参数', 'type' => 'string', 'required' => false, 'example' => '{'."\n" .' "add": {'."\n" .' "allowedProjectList": ['."\n" .' {'."\n" .' "label": "2",'."\n" .' "project": "project_name"'."\n" .' }'."\n" .' ],'."\n" .' "resourceList": {'."\n" .' "table": ['."\n" .' {'."\n" .' "name": "table_name",'."\n" .' "actions": ['."\n" .' "Describe",'."\n" .' "Select"'."\n" .' ]'."\n" .' },'."\n" .' {'."\n" .' "name": "table_name",'."\n" .' "actions": ['."\n" .' "Describe",'."\n" .' "Select"'."\n" .' ]'."\n" .' }'."\n" .' ],'."\n" .' "resource": ['."\n" .' {'."\n" .' "name": "",'."\n" .' "actions": []'."\n" .' },'."\n" .' {'."\n" .' "name": "",'."\n" .' "actions": []'."\n" .' }'."\n" .' ],'."\n" .' "function": ['."\n" .' {'."\n" .' "name": "",'."\n" .' "actions": []'."\n" .' },'."\n" .' {'."\n" .' "name": "",'."\n" .' "actions": []'."\n" .' }'."\n" .' ]'."\n" .' }'."\n" .' },'."\n" .' "remove": {'."\n" .' "allowedProjectList": ['."\n" .' {'."\n" .' "project": "project_name"'."\n" .' },'."\n" .' {'."\n" .' "project": "project_2"'."\n" .' }'."\n" .' ],'."\n" .' "resourceList": {'."\n" .' "table": ['."\n" .' {'."\n" .' "name": "table_name"'."\n" .' },'."\n" .' {'."\n" .' "name": "table_name"'."\n" .' }'."\n" .' ],'."\n" .' "resource": ['."\n" .' {'."\n" .' "name": ""'."\n" .' },'."\n" .' {'."\n" .' "name": ""'."\n" .' }'."\n" .' ],'."\n" .' "function": ['."\n" .' {'."\n" .' "name": ""'."\n" .' },'."\n" .' {'."\n" .' "name": ""'."\n" .' }'."\n" .' ]'."\n" .' }'."\n" .' }'."\n" .'}', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '0bc1ec4016697018733156991e0888', ], 'data' => [ 'description' => '返回结果。', 'type' => 'string', 'example' => 'success', ], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0bc1ec4016697018733156991e0888\\",\\n \\"data\\": \\"success\\"\\n}","type":"json"}]', 'title' => '更新Package', 'summary' => '更新Package内的对象及允许安装的项目列表。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:UpdatePackage', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], ], ], 'UpdateProjectBasicMeta' => [ 'path' => '/api/v1/projects/{projectName}/meta', 'methods' => [ 'put', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '142939', 'abilityTreeNodes' => [ 'FEATUREodpsTZPZOE', ], ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'description' => '项目名称。', 'type' => 'string', 'required' => true, 'example' => 'odps_project', ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '请求体参数。', 'type' => 'object', 'properties' => [ 'comment' => [ 'description' => '项目描述。', 'type' => 'string', 'required' => false, 'example' => 'BI_Analysis', ], 'properties' => [ 'description' => '项目基础属性。', 'type' => 'object', 'properties' => [ 'allowFullScan' => [ 'description' => '项目空间是否允许全表扫描。全表扫描会占用大量资源,为提升处理效率,默认关闭该功能。', 'type' => 'boolean', 'required' => false, 'example' => 'false', ], 'enableDecimal2' => [ 'description' => '项目是否开启MaxCompute 2.0的Decimal数据类型。', 'type' => 'boolean', 'required' => false, 'example' => 'true', ], 'enableTunnelQuotaRoute' => [ 'description' => '是否开启数据传输服务资源组路由。'."\n" .'- true:表示该项目默认提交的数据传输任务会使用绑定的数据传输服务资源组。'."\n" .'- false:表示该项目默认提交的数据传输任务会使用数据传输服务共享资源组。', 'type' => 'boolean', 'required' => false, 'example' => 'true', ], 'encryption' => [ 'description' => '存储加密属性。', 'type' => 'object', 'properties' => [ 'enable' => [ 'description' => '项目是否需要开启数据加密功能。更多数据加密信息,请参见'."\n" .'[存储加密](https://help.aliyun.com/zh/maxcompute/security-and-compliance/storage-encryption)'."\n" .'[存储加密](https://www.alibabacloud.com/help/zh/maxcompute/security-and-compliance/storage-encryption)。', 'type' => 'boolean', 'required' => false, 'example' => 'true', ], 'key' => [ 'description' => '数据加密使用的密钥类型,包含默认密钥(MaxCompute Default Key)和自带密钥(BYOK)。默认密钥(MaxCompute Default Key)是MaxCompute内部创建的默认密钥。', 'type' => 'string', 'required' => false, 'example' => 'default', ], 'algorithm' => [ 'description' => '数据加密算法:密钥支持的加密算法,包含AES256、AESCTR和RC4。', 'type' => 'string', 'required' => false, 'example' => 'AES256', ], ], 'required' => false, ], 'retentionDays' => [ 'description' => '备份数据的保留天数。在此期间,您可以将当前版本恢复至任意一个备份的数据版本。'."\n" .'取值范围为[0,30],默认值为1,0代表关闭备份功能。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], 'sqlMeteringMax' => [ 'description' => '单SQL消费的最高阈值。'."\n" .'单位:扫描量(GB)*复杂度。', 'type' => 'string', 'required' => false, 'example' => '1500', ], 'tableLifecycle' => [ 'description' => '表的生命周期属性。', 'type' => 'object', 'properties' => [ 'type' => [ 'description' => '生命周期类型。取值:'."\n" .'- **mandatory**:Lifecycle子句为必选设置,用户必须设置表的生命周期。'."\n" .'- **optional**:创建表时,Lifecycle子句为可选设置,如果不设置表的生命周期,则该表永远有效。'."\n" .'- **inherit**:创建表时,如果不设置表的生命周期,则该表的生命周期为odps.table.lifecycle.value的值。', 'type' => 'string', 'required' => false, 'example' => 'optional', ], 'value' => [ 'description' => '表的生命周期,单位为:天。取值范围为1~37231,默认值为37231。', 'type' => 'string', 'required' => false, 'example' => '37231', ], ], 'required' => false, ], 'timezone' => [ 'description' => '项目时区,即为`odps.sql.timezone`属性。', 'type' => 'string', 'required' => false, 'example' => 'Asia/Shanghai'."\n", ], 'tunnelQuota' => [ 'description' => '项目绑定的[数据传输服务](https://help.aliyun.com/zh/maxcompute/user-guide/overview-of-dts)'."\n" .'[数据传输服务](https://www.alibabacloud.com/help/zh/maxcompute/user-guide/overview-of-dts)资源组。'."\n" ."\n" .'- Default(数据传输服务共享资源组):该项目不允许使用数据传输服务(包年包月)资源组。不管开启成默认数据传输服务资源组取值是什么,该项目默认提交的数据传输服务会自动使用Default资源组。'."\n" ."\n" .'- 数据传输服务(包年包月)资源组:该项目允许使用数据传输服务(包年包月)资源组。', 'type' => 'string', 'required' => false, 'example' => 'Default', ], 'typeSystem' => [ 'description' => '数据类型版本。取值:'."\n" .'- **1**:1.0版本'."\n" .'- **2**:2.0版本'."\n" .'- **hive**:hive兼容类型'."\n" ."\n" .'三种数据类型版本的区别请参见[数据类型版本说明](https://help.aliyun.com/zh/maxcompute/user-guide/data-type-editions)'."\n" .'[数据类型版本说明](https://www.alibabacloud.com/help/zh/maxcompute/user-guide/data-type-editions)。', 'type' => 'string', 'required' => false, 'example' => '2.0', ], 'enableDr' => [ 'type' => 'boolean', 'required' => false, ], ], 'required' => false, ], ], 'required' => false, 'example' => '{'."\n" .'"status":"", // AVAILABLE 表示恢复项目,FROZEN 冻结项目'."\n" .'"comment": "",'."\n" .'"propertis": {}'."\n" .'}'."\n" ."\n" .'- 注: comment 如果不更新就给 null。如果給空字符串就会改成空'."\n" ."\n" .'具体properties 属性kv与 GetProject 中返回的properties 一致。'."\n" .'按需修改提交,不要每次提交全部属性列表'."\n" .'如果是重置,则相关value置为空字符串即可。', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => '请求返回参数。', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0b87b7e216652820458545253e8b0a', ], 'httpCode' => [ 'description' => 'HTTP状态码。'."\n" .'- 1xx:信息响应 - 请求已接收,正在处理中。'."\n" .'- 2xx:成功 - 请求动作已被服务端成功接收、理解并接受。'."\n" .'- 3xx:重定向 - 请求被重定向,采取进一步行动以完成请求。'."\n" .'- 4xx:客户端错误 - 请求包含错误请求参、语法或特定请求条件无法满足。'."\n" .'- 5xx:服务端错误 - 服务器由于其他原因无法满足请求。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'OBJECT_NOT_EXIST', ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => 'This object does not exist.'."\n", ], 'data' => [ 'description' => '请求返回结果。', 'type' => 'string', 'example' => 'success', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0b87b7e216652820458545253e8b0a\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"OBJECT_NOT_EXIST\\",\\n \\"errorMsg\\": \\"This object does not exist.\\\\n\\",\\n \\"data\\": \\"success\\"\\n}","type":"json"}]', 'title' => '修改项目基本信息', 'summary' => '修改项目基本信息', 'changeSet' => [ [ 'createdAt' => '2025-03-24T03:01:45.000Z', 'description' => '请求参数发生变更', ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:UpdateProjectBasicMeta', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], ], ], 'UpdateProjectDefaultQuota' => [ 'path' => '/api/v1/projects/{projectName}/quota', 'methods' => [ 'put', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '142942', 'abilityTreeNodes' => [ 'FEATUREodpsTZPZOE', ], ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'description' => '项目名称。', 'type' => 'string', 'required' => true, 'example' => 'odps_project', ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '请求体参数。', 'type' => 'object', 'properties' => [ 'quota' => [ 'description' => '二级计算Quota。用于实现计算资源分配,该项目发起的作业将默认消耗此计算Quota。', 'type' => 'string', 'required' => false, 'example' => 'os_PayAsYouGoQuota'."\n", ], ], 'required' => false, 'example' => '{'."\n" .' "quota":"" //quotaNickName'."\n" .'}', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => '请求返回参数。', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0a06dfe716674588654372173ec0da', ], 'data' => [ 'description' => '请求返回结果。', 'type' => 'string', 'example' => 'success', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0a06dfe716674588654372173ec0da\\",\\n \\"data\\": \\"success\\"\\n}","type":"json"}]', 'title' => '修改项目默认计算Quota', 'summary' => '修改项目默认计算Quota', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:UpdateProjectDefaultQuota', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], ], ], 'UpdateProjectIpWhiteList' => [ 'path' => '/api/v1/projects/{projectName}/ipWhiteList', 'methods' => [ 'put', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '142941', 'abilityTreeNodes' => [ 'FEATUREodpsTZPZOE', ], ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'description' => '项目名称', 'type' => 'string', 'required' => true, 'example' => 'odps_project', ], ], [ 'name' => 'body', 'in' => 'body', 'schema' => [ 'description' => '请求体参数', 'type' => 'string', 'required' => false, 'example' => 'json'."\n" ."\n" .'{"ipWhiteList":{"ipList": "", //string 以逗号分隔多个'."\n" .' "vpcIpList": "", //}'."\n" .' }', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id', 'type' => 'string', 'example' => '0bc12e4316675560945192024e1044', ], 'data' => [ 'description' => '返回结果。', 'type' => 'string', 'example' => 'success', ], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0bc12e4316675560945192024e1044\\",\\n \\"data\\": \\"success\\"\\n}","type":"json"}]', 'title' => '修改项目IP白名单', 'summary' => '修改MaxCompute项目IP白名单。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:UpdateProjectIpWhiteList', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], ], ], 'UpdateProjectModelTier' => [ 'summary' => '将project的二层模型升级为三层模型', 'path' => '/api/v1/projects/{projectName}/modelTier', 'methods' => [ 'put', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '204095', 'abilityTreeNodes' => [ 'FEATUREodpsTZPZOE', ], ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'title' => '项目名称', 'description' => '项目名称', 'type' => 'string', 'required' => true, 'example' => 'projectA', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => '请求返回参数。', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '73207140-0FD5-588A-B11A-3CE093924196', ], 'httpCode' => [ 'description' => '业务成功与否。如果非空且不是200,那么表示业务处理失败。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '- 当success为false,返回业务错误码;'."\n" .' '."\n" .'- 当success为true,返回空值。 ', 'type' => 'string', 'example' => 'OBJECT_NOT_EXIST', ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => 'this project is not exist.', ], 'data' => [ 'description' => '返回数据。', 'type' => 'string', 'example' => '"data":{'."\n" .' "data":"success",'."\n" .' "requestId":"****"'."\n" .' }', ], ], ], ], ], 'title' => '升级项目到支持Schema层级', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"73207140-0FD5-588A-B11A-3CE093924196\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"OBJECT_NOT_EXIST\\",\\n \\"errorMsg\\": \\"this project is not exist.\\",\\n \\"data\\": \\"\\\\\\"data\\\\\\":{\\\\n\\\\t\\\\t\\\\\\"data\\\\\\":\\\\\\"success\\\\\\",\\\\n\\\\t\\\\t\\\\\\"requestId\\\\\\":\\\\\\"****\\\\\\"\\\\n\\\\t}\\"\\n}","type":"json"}]', ], 'UpdateQuotaPlan' => [ 'path' => '/api/v1/quotas/{nickname}/plans/{planName}', 'methods' => [ 'put', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '142710', 'abilityTreeNodes' => [ 'FEATUREodpsZAKNHC', ], ], 'parameters' => [ [ 'name' => 'nickname', 'in' => 'path', 'schema' => [ 'description' => 'Quota名称', 'type' => 'string', 'required' => true, 'example' => 'quotaA', ], ], [ 'name' => 'planName', 'in' => 'path', 'schema' => [ 'description' => 'Quota计划名称', 'type' => 'string', 'required' => true, 'example' => 'planA', ], ], [ 'name' => 'tenantId', 'in' => 'query', 'schema' => [ 'description' => '租户id。', 'type' => 'string', 'required' => false, 'example' => '478403690625249', ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'description' => '地域id。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', ], ], [ 'name' => 'body', 'in' => 'body', 'schema' => [ 'description' => '请求体参数', 'type' => 'string', 'required' => false, 'example' => '{'."\n" .' "name": "planA",'."\n" .' // 以下为一个一级 quota,可以只选取跟 plan 相关的字段'."\n" .' "quota": {'."\n" .' "name": "a",'."\n" .' "nickName": "aaa_nick",'."\n" .' "tenantId": "10001",'."\n" .' "regionId": "cn-hangzhou",'."\n" .' "parentId": "0",'."\n" .' "cluster": "AT-ODPS-TEST3",'."\n" .' "parameter": {'."\n" .' "minCU": 40,'."\n" .' "maxCU": 40,'."\n" .' "adhocCU": 0,'."\n" .' "elasticMinCU": 40,'."\n" .' "elasticMaxCU": 40,'."\n" .' "enablePreemptiveScheduling": false,'."\n" .' "forceReservedMin":true,'."\n" .' "enablePriority":false,'."\n" .' "singleJobCULimit":100,'."\n" .' "adhocQuotaBeginTimeInSec": 1345,'."\n" .' "adhocQuotaEndTimeInSec": 1234,'."\n" .' "ignoreAdhocQuota":false'."\n" .' },'."\n" .' "subQuotaInfoList":'."\n" .' [ '."\n" .' {'."\n" .' "nickName": "WlmFuxiSecondaryOnlineQuotaTest",'."\n" .' "name": "WlmFuxiSecondaryOnlineQuotaTest",'."\n" .' "type": "FUXI_ONLINE",'."\n" .' "tenantId": "10001",'."\n" .' "regionId": "cn-hangzhou",'."\n" .' "cluster": "AT-ODPS-TEST3",'."\n" .' "parameter": {'."\n" .' "minCU": 40,'."\n" .' "maxCU": 40,'."\n" .' "adhocCU": 0,'."\n" .' "elasticMinCU": 40,'."\n" .' "elasticMaxCU": 40,'."\n" .' "enablePreemptiveScheduling": false,'."\n" .' "forceReservedMin":true,'."\n" .' "enablePriority":false,'."\n" .' "singleJobCULimit":100,'."\n" .' "adhocQuotaBeginTimeInSec": 1345,'."\n" .' "adhocQuotaEndTimeInSec": 1234,'."\n" .' "ignoreAdhocQuota":false'."\n" .' }'."\n" .' }'."\n" .' ]'."\n" .' }'."\n" .'}', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '0a06dfe516688379832875789e2c65', ], 'data' => [ 'description' => '返回结果。', 'type' => 'string', 'example' => 'success', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0a06dfe516688379832875789e2c65\\",\\n \\"data\\": \\"success\\"\\n}","type":"json"}]', 'title' => '更新Quota计划', 'summary' => '更新Quota计划。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:UpdateQuotaPlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], ], ], 'UpdateQuotaSchedule' => [ 'path' => '/api/v1/quotas/{nickname}/schedule', 'methods' => [ 'put', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '142712', 'abilityTreeNodes' => [ 'FEATUREodpsZAKNHC', ], ], 'parameters' => [ [ 'name' => 'nickname', 'in' => 'path', 'schema' => [ 'description' => 'Quota名称', 'type' => 'string', 'required' => true, 'example' => '%E9%BB%98%E8%AE%A4%E9%A2%84%E4%BB%98%E8%B4%B9Quota_p'."\n" ."\n" .'#中文名称需要经过utf8 urlencode编码转义', ], ], [ 'name' => 'tenantId', 'in' => 'query', 'schema' => [ 'description' => '租户id', 'type' => 'string', 'required' => false, 'example' => '478403690625249', ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'description' => '地域id。', 'type' => 'string', 'required' => false, 'example' => 'cn-chengdu', ], ], [ 'name' => 'body', 'in' => 'body', 'schema' => [ 'description' => '请求体参数', 'type' => 'string', 'required' => false, 'example' => "\n" .'# 立即生效'."\n" .'['."\n" .' {'."\n" .' "type": "once",'."\n" .' "plan": "planA",'."\n" .' "operator":"userA"'."\n" .' }'."\n" .']'."\n" ."\n" .'# 定时调度'."\n" .'['."\n" .' {'."\n" .' "id": "etl_time",'."\n" .' "type": "daily",'."\n" .' "condition": {'."\n" .' "at": "0800"'."\n" .' },'."\n" .' "plan": "planA"'."\n" .' },'."\n" .' {'."\n" .' "id": "bi",'."\n" .' "type": "daily",'."\n" .' "condition": {'."\n" .' "at": "0900"'."\n" .' },'."\n" .' "plan": "planB"'."\n" .' },'."\n" .']', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id。', 'type' => 'string', 'example' => '0a06dfe516691014920015940e1c9d', ], 'data' => [ 'description' => '返回结果。', 'type' => 'string', 'example' => 'success', ], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0a06dfe516691014920015940e1c9d\\",\\n \\"data\\": \\"success\\"\\n}","type":"json"}]', 'title' => '更新Quota时间计划', 'summary' => '更新Quota时间计划信息。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:UpdateQuotaSchedule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], ], ], 'UpdateTunnelQuotaTimer' => [ 'path' => '/api/v1/tunnel/{nickname}/timers', 'methods' => [ 'put', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '254734', 'abilityTreeNodes' => [ 'FEATUREodpsZAKNHC', ], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'nickname', 'in' => 'path', 'schema' => [ 'description' => '一级数据传输服务独享资源组(Tunnel Quota)昵称。', 'type' => 'string', 'required' => true, 'example' => 'ot_tunnel_quota_p'."\n", ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '请求体参数。', 'type' => 'array', 'items' => [ 'description' => '请求体参数。', 'type' => 'object', 'properties' => [ 'beginTime' => [ 'description' => '分时配置开始时间。', 'type' => 'string', 'required' => false, 'example' => '00:00', ], 'endTime' => [ 'description' => '分时配置结束时间。', 'type' => 'string', 'required' => false, 'example' => '08:00', ], 'tunnelQuotaParameter' => [ 'description' => '分时配置参数。', 'type' => 'object', 'properties' => [ 'slotNum' => [ 'description' => '预留并发(Slot)数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100', ], 'elasticReservedSlotNum' => [ 'description' => '弹性预留并发(Slot)数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100', ], ], 'required' => false, ], ], 'required' => false, ], 'required' => false, ], ], [ 'name' => 'timezone', 'in' => 'query', 'schema' => [ 'description' => '时区。', 'type' => 'string', 'required' => false, 'example' => 'Asia/Shanghai', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => '请求返回参数。', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '0bc12e4316675560945192024e1044', ], 'httpCode' => [ 'description' => 'HTTP状态码。'."\n" .'- 1xx:信息响应 - 请求已接收,正在处理中。'."\n" .'- 2xx:成功 - 请求动作已被服务端成功接收、理解并接受。'."\n" .'- 3xx:重定向 - 请求被重定向,采取进一步行动以完成请求。'."\n" .'- 4xx:客户端错误 - 请求包含错误请求参、语法或特定请求条件无法满足。'."\n" .'- 5xx:服务端错误 - 服务器由于其他原因无法满足请求。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'errorCode' => [ 'description' => '错误码。', 'type' => 'string', 'example' => 'OBJECT_NOT_EXIST'."\n", ], 'errorMsg' => [ 'description' => '错误信息。', 'type' => 'string', 'example' => 'This object does not exist.'."\n", ], 'data' => [ 'description' => '请求返回结果。', 'type' => 'string', 'example' => 'success', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0bc12e4316675560945192024e1044\\",\\n \\"httpCode\\": 200,\\n \\"errorCode\\": \\"OBJECT_NOT_EXIST\\\\n\\",\\n \\"errorMsg\\": \\"This object does not exist.\\\\n\\",\\n \\"data\\": \\"success\\"\\n}","type":"json"}]', 'title' => '更新Quota(Tunnel)分时扩缩容配置', 'summary' => '更新数据传输服务独享资源组(Tunnel Quota)的分时扩缩容配置。', 'description' => '请确保在使用该接口前,已充分了解了数据传输服务独享资源组和弹性预留计算资源的[收费方式和价格](https://help.aliyun.com/zh/maxcompute/product-overview/data-transfer-fees-hourly-billing)'."\n" .'[收费方式和价格](https://www.alibabacloud.com/help/maxcompute/product-overview/data-transfer-fees-hourly-billing)。', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:UpdateQuotaTimers', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'UpdateUsersToRole' => [ 'summary' => '项目角色添加或删除用户', 'path' => '/api/v1/projects/{projectName}/roles/{roleName}/users', 'methods' => [ 'put', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREodpsZAKNHC', ], ], 'parameters' => [ [ 'name' => 'projectName', 'in' => 'path', 'schema' => [ 'description' => 'MaxCompute项目名称', 'type' => 'string', 'required' => true, 'example' => 'project_a', ], ], [ 'name' => 'roleName', 'in' => 'path', 'schema' => [ 'description' => 'Project Role名称', 'type' => 'string', 'required' => true, 'example' => 'admin', ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '请求Body', 'type' => 'object', 'properties' => [ 'add' => [ 'description' => '添加用户到project role的action', 'type' => 'array', 'items' => [ 'description' => '账号列表', 'type' => 'string', 'required' => false, 'example' => '["ALIYUN$test1","ALIYUN$test2"]', ], 'required' => false, ], 'remove' => [ 'description' => '删除project role内用户的action', 'type' => 'array', 'items' => [ 'description' => '账号列表', 'type' => 'string', 'required' => false, 'example' => '["ALIYUN$test3","ALIYUN$test4"]', ], 'required' => false, ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PopResult', 'description' => 'PopResult', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '请求id', 'type' => 'string', 'example' => '0a032a1317254153012687347ef4ee', ], 'data' => [ 'description' => '返回结果', 'type' => 'string', 'example' => 'success', ], ], ], ], ], 'title' => '项目角色添加或删除用户', 'extraInfo' => '>该接口只针对Project的角色管理操作>', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:UpdateUsersToRole', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0a032a1317254153012687347ef4ee\\",\\n \\"data\\": \\"success\\"\\n}","type":"json"}]', ], ], 'endpoints' => [ [ 'regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'maxcompute.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'maxcompute.cn-wulanchabu.aliyuncs.com', 'vpc' => 'maxcompute-vpc.cn-wulanchabu.aliyuncs.com', ], [ 'regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'maxcompute.cn-beijing.aliyuncs.com', 'endpoint' => 'maxcompute.cn-beijing.aliyuncs.com', 'vpc' => 'maxcompute-vpc.cn-beijing.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'maxcompute.cn-shanghai.aliyuncs.com', 'endpoint' => 'maxcompute.cn-shanghai.aliyuncs.com', 'vpc' => 'maxcompute-vpc.cn-shanghai.aliyuncs.com', ], [ 'regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'maxcompute.cn-hongkong.aliyuncs.com', 'endpoint' => 'maxcompute.cn-hongkong.aliyuncs.com', 'vpc' => 'maxcompute-vpc.cn-hongkong.aliyuncs.com', ], [ 'regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'maxcompute.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'maxcompute.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'maxcompute-vpc.cn-zhangjiakou.aliyuncs.com', ], [ 'regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'maxcompute.cn-shenzhen.aliyuncs.com', 'endpoint' => 'maxcompute.cn-shenzhen.aliyuncs.com', 'vpc' => 'maxcompute-vpc.cn-shenzhen.aliyuncs.com', ], [ 'regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'maxcompute.ap-northeast-1.aliyuncs.com', 'endpoint' => 'maxcompute.ap-northeast-1.aliyuncs.com', 'vpc' => 'maxcompute-vpc.ap-northeast-1.aliyuncs.com', ], [ 'regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'maxcompute.cn-chengdu.aliyuncs.com', 'endpoint' => 'maxcompute.cn-chengdu.aliyuncs.com', 'vpc' => 'maxcompute-vpc.cn-chengdu.aliyuncs.com', ], [ 'regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'maxcompute.ap-southeast-1.aliyuncs.com', 'endpoint' => 'maxcompute.ap-southeast-1.aliyuncs.com', 'vpc' => 'maxcompute-vpc.ap-southeast-1.aliyuncs.com', ], [ 'regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'maxcompute.ap-southeast-3.aliyuncs.com', 'endpoint' => 'maxcompute.ap-southeast-3.aliyuncs.com', 'vpc' => 'maxcompute-vpc.ap-southeast-3.aliyuncs.com', ], [ 'regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'maxcompute.ap-southeast-5.aliyuncs.com', 'endpoint' => 'maxcompute.ap-southeast-5.aliyuncs.com', 'vpc' => 'maxcompute-vpc.ap-southeast-5.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'maxcompute.cn-hangzhou.aliyuncs.com', 'endpoint' => 'maxcompute.cn-hangzhou.aliyuncs.com', 'vpc' => 'maxcompute-vpc.cn-hangzhou.aliyuncs.com', ], [ 'regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'maxcompute.us-east-1.aliyuncs.com', 'endpoint' => 'maxcompute.us-east-1.aliyuncs.com', 'vpc' => 'maxcompute-vpc.us-east-1.aliyuncs.com', ], [ 'regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'maxcompute.eu-west-1.aliyuncs.com', 'endpoint' => 'maxcompute.eu-west-1.aliyuncs.com', 'vpc' => 'maxcompute-vpc.eu-west-1.aliyuncs.com', ], [ 'regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'maxcompute.us-west-1.aliyuncs.com', 'endpoint' => 'maxcompute.us-west-1.aliyuncs.com', 'vpc' => 'maxcompute-vpc.us-west-1.aliyuncs.com', ], [ 'regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'maxcompute.eu-central-1.aliyuncs.com', 'endpoint' => 'maxcompute.eu-central-1.aliyuncs.com', 'vpc' => 'maxcompute-vpc.eu-central-1.aliyuncs.com', ], [ 'regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'maxcompute.aliyuncs.com', 'endpoint' => 'maxcompute.aliyuncs.com', 'vpc' => 'maxcompute-vpc.me-east-1.aliyuncs.com', ], [ 'regionId' => 'me-central-1', 'regionName' => '沙特(利雅得)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'maxcompute.me-central-1.aliyuncs.com', 'endpoint' => 'maxcompute.me-central-1.aliyuncs.com', 'vpc' => 'maxcompute-vpc.me-central-1.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou-finance', 'regionName' => '华东1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'maxcompute.cn-hangzhou-finance.aliyuncs.com', 'endpoint' => 'maxcompute.cn-hangzhou-finance.aliyuncs.com', 'vpc' => 'maxcompute-vpc.cn-hangzhou-finance.aliyuncs.com', ], [ 'regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'maxcompute.cn-shenzhen-finance-1.aliyuncs.com', 'endpoint' => 'maxcompute.cn-shenzhen-finance-1.aliyuncs.com', 'vpc' => 'maxcompute-vpc.cn-shenzhen-finance-1.aliyuncs.com', ], [ 'regionId' => 'cn-beijing-finance-1', 'regionName' => '华北2 金融云(邀测)', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'macompute.cn-beijing-finance-1.aliyuncs.com', 'endpoint' => 'macompute.cn-beijing-finance-1.aliyuncs.com', 'vpc' => 'maxcompute-vpc.cn-beijing-finance-1.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'maxcompute.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'maxcompute.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'maxcompute-vpc.cn-shanghai-finance-1.aliyuncs.com', ], ], 'errorCodes' => [ [ 'code' => 'ILLEGAL_ARGUMENT', 'message' => 'The parameter is illegal.', 'http_code' => 400, 'description' => '非法参数', ], [ 'code' => 'ILLEGAL_REQUEST', 'message' => 'The parameter is illegal.', 'http_code' => 400, 'description' => '非法请求', ], [ 'code' => 'INTERNAL_SERVER_ERROR', 'message' => 'Server error.', 'http_code' => 500, 'description' => '服务器错误', ], [ 'code' => 'InvalidParameter.Condition', 'message' => 'The parameter Condition is wrongly formed.', 'http_code' => 400, 'description' => 'Condition参数填写不正确。', ], [ 'code' => 'INVALID_USER', 'message' => 'Please buy MaxCompute product firstly. The user does not exist.', 'http_code' => 400, 'description' => '用户不存在,请先开通MaxCompute。', ], [ 'code' => 'METER_CENTER_ERROR', 'message' => 'Call meter center create job failed.', 'http_code' => 500, 'description' => '调用计量中心失败。', ], [ 'code' => 'NO_PERMISSION', 'message' => 'sub user has no permission to access object.', 'http_code' => 403, 'description' => '用户没有权限操作Maxcompute的资源。', ], [ 'code' => 'OBJECT_NOT_EXIST', 'message' => 'This object does not exist.', 'http_code' => 404, 'description' => '对象不存在。', ], [ 'code' => 'ProjectNotExist', 'message' => 'The project does not exist.', 'http_code' => 403, 'description' => '项目不存在', ], [ 'code' => 'QUOTA_ADHOC_NOT_ENOUGH', 'message' => 'There is not enough adhoc cu.', 'http_code' => 400, 'description' => '弹性CU库存不足。', ], [ 'code' => 'QUOTA_PLAN_NOT_FOUND', 'message' => 'This quota plan is not exist.', 'http_code' => 404, 'description' => '计算资源Quota分时计划不存在。', ], [ 'code' => 'QUOTA_TIMER_HANDLE_FAILED', 'message' => 'This quota timer of Tunnel Quota is abnormal.', 'http_code' => 400, 'description' => '数据传输服务独享资源组(Tunnel Quota)的分时配置处理异常。', ], [ 'code' => 'QUOTA_UNKNOWN_NICKNAME', 'message' => 'Cannot found quota by nickname.', 'http_code' => 400, 'description' => '无法根据填入的nickname查询到Quota。', ], ], 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetStorageSizeSummary', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListResources', ], [ 'threshold' => '-1', 'countWindow' => 1, 'regionId' => '*', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListUsers', ], [ 'threshold' => '800', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetQuota', ], [ 'threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListProjects', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetComputeEffectivePlan', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ApplyComputeQuotaPlan', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetJobInfo', ], [ 'threshold' => '400', 'countWindow' => 60, 'regionId' => '*', 'api' => 'QueryTunnelMetric', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateQuotaPlan', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteComputeQuotaPlan', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateQuotaPlan', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListComputeMetricsByInstance', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTunnelQuotaTimer', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteQuotaPlan', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateProjectBasicMeta', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListFunctions', ], [ 'threshold' => '800', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetTableInfo', ], [ 'threshold' => '800', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetProject', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetRoleAcl', ], [ 'threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetQuotaUsage', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListJobSnapshotInfos', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetQuotaPlan', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'KillJobs', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetPackage', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetRoleAclOnObject', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListComputeQuotaPlan', ], [ 'threshold' => '800', 'countWindow' => 60, 'regionId' => '*', 'api' => 'QueryQuota', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListQuotasPlans', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateComputeQuotaPlan', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetJobResourceUsage', ], [ 'threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetRunningJobs', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListStoragePartitionsInfo', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateComputeSubQuota', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdatePackage', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListProjectUsers', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateProject', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetStorageAmountSummary', ], [ 'threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListJobInfos', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListJobMetric', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateComputeQuotaPlan', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetQuotaSchedule', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetTrustedProjects', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetComputeQuotaSchedule', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetComputeQuotaPlan', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListRoles', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateRole', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreatePackage', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateComputeQuotaSchedule', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateTunnelQuotaTimer', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListPackages', ], [ 'threshold' => '400', 'countWindow' => 60, 'regionId' => '*', 'api' => 'QueryTunnelMetricDetail', ], [ 'threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListQuotas', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateProjectDefaultQuota', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateProjectIpWhiteList', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateQuotaSchedule', ], [ 'threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListUsersByRole', ], [ 'threshold' => '500', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListStorageTablesInfo', ], [ 'threshold' => '300', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTables', ], [ 'threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetRolePolicy', ], ], ], 'ram' => [ 'productCode' => 'MaxCompute', 'productName' => '云原生大数据计算服务 MaxCompute', 'ramCodes' => [ 'odps', 'maxcompute', ], 'ramLevel' => '资源级', 'ramConditions' => [ [ 'name' => 'odps:Encryption', 'schema' => [ 'type' => 'Boolean', 'description' => '项目是否开启加密', ], ], ], 'ramActions' => [ [ 'apiName' => 'GetMmsDb', 'description' => '获取数据源内的某个库', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetMmsDb', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], [ 'apiName' => 'ListTunnelQuotaTimer', 'description' => '查看Quota(Tunnel)分时扩缩容配置', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListQuotaTimers', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListMmsTables', 'description' => '列出数据源内的表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListMmsTables', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], [ 'apiName' => 'GetMmsAsyncTask', 'description' => '获取数据迁移相关的单个异步任务详情', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetMmsAsyncTask', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], [ 'apiName' => 'ListStorageProjectsInfo', 'description' => '获取项目存储明细', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListStorageProjectsInfo', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'StartMmsJob', 'description' => '启动数据迁移作业', 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:StartMmsJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], [ 'apiName' => 'GetProject', 'description' => '获取项目信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetProject', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], [ 'apiName' => 'QueryTunnelMetric', 'description' => 'Tunnel资源观测时序数据', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:QueryTunnelMetric', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Tunnel', 'arn' => 'acs:odps:{#regionId}:{#accountId}:tunnel/{#metric}', ], ], ], ], [ 'apiName' => 'ListMmsDataSources', 'description' => '列出数据源', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListMmsDataSources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'UpdateProjectDefaultQuota', 'description' => '修改项目默认计算Quota', 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:UpdateProjectDefaultQuota', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], [ 'apiName' => 'GetQuotaSchedule', 'description' => '获取Quota时间计划信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetQuotaSchedule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], [ 'apiName' => 'GetRolePolicy', 'description' => '获取角色Policy授权内容', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetRolePolicy', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], [ 'apiName' => 'UpdateQuotaSchedule', 'description' => '更新Quota时间计划', 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:UpdateQuotaSchedule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], [ 'apiName' => 'ListMmsTasks', 'description' => '获取数据迁移任务列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListMmsTasks', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], [ 'apiName' => 'ListUsers', 'description' => '获取用户列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListUsers', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetMmsJob', 'description' => '获取单个迁移作业详情 ', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetMmsJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], [ 'apiName' => 'GetTrustedProjects', 'description' => '获取受信任项目列表', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetTrustedProjects', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'conditional', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], [ 'apiName' => 'GetComputeQuotaSchedule', 'description' => '获取计算Quota分时计划', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetQuotaSchedule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], [ 'apiName' => 'UpdateProjectIpWhiteList', 'description' => '修改项目IP白名单', 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:UpdateProjectIpWhiteList', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], [ 'apiName' => 'GetStorageSummaryCompared', 'description' => '存储趋势同比变化', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetStorageSummaryCompared', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'UpdateMmsDataSource', 'description' => '更新数据源配置、启/停数据源实例', 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:UpdateMmsDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], [ 'apiName' => 'ListUsersByRole', 'description' => '获取绑定某项目级角色的用户列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListUsersByRole', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], [ 'apiName' => 'ListJobSnapshotInfos', 'description' => '获取作业快照列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListJobSnapshotInfos', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetMmsTable', 'description' => '获取MMA数据源内的某张表', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetMmsTable', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], [ 'apiName' => 'ListPackages', 'description' => '获取Package列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListPackages', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], [ 'apiName' => 'GetStorageAmountSummary', 'description' => '获取存储总量信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetStorageAmountSummary', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetJobInfo', 'description' => '查看作业的基础信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetJobInfo', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Job', 'arn' => 'acs:odps:{#regionId}:{#accountId}:job/{#instanceId}', ], ], ], ], [ 'apiName' => 'ListMmsJobs', 'description' => '获取迁移作业列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListMmsJobs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], [ 'apiName' => 'ListResources', 'description' => '获取资源列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], [ 'apiName' => 'UpdatePackage', 'description' => '更新Package', 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:UpdatePackage', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], [ 'apiName' => 'GetJobResourceUsage', 'description' => '获得作业执行者级别的资源使用列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:GetJobResourceUsage', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'DeleteQuotaPlan', 'description' => '删除Quota计划', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'odps:DeleteQuotaPlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], [ 'apiName' => 'ListComputeQuotaPlan', 'description' => '列举计算Quota计划', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListQuotasPlans', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], [ 'apiName' => 'CreateQuotaPlan', 'description' => '创建Quota计划', 'operationType' => 'create', 'ramAction' => [ 'action' => 'odps:CreateQuotaPlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], [ 'apiName' => 'CreateMmsFetchMetadataJob', 'description' => '创建“同步数据源元数据”任务', 'operationType' => 'create', 'ramAction' => [ 'action' => 'odps:CreateMmsFetchMetadataJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], [ 'apiName' => 'DeleteMmsDataSource', 'description' => '删除数据源', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'odps:DeleteMmsDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], [ 'apiName' => 'GetQuota', 'description' => '获取指定一级Quota组信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetQuota', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], [ 'apiName' => 'QueryQuotaMetric', 'description' => '计算资源消耗信息', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:QueryQuotaMetric', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quota/{#metric}', ], ], ], ], [ 'apiName' => 'QueryStorageMetric', 'description' => '存储资源观测时序数据', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:QueryStorageMetric', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Storage', 'arn' => 'acs:odps:{#regionId}:{#accountId}:storage/{#metric}', ], ], ], ], [ 'apiName' => 'ListComputeMetricsByInstance', 'description' => '列出后付费作业计算用量', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListComputeMetricsByInstance', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListProjects', 'description' => '获取项目列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListProjects', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'conditional', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/*', ], ], ], ], [ 'apiName' => 'UpdateQuotaPlan', 'description' => '更新Quota计划', 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:UpdateQuotaPlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], [ 'apiName' => 'UpdateProjectModelTier', 'description' => '升级项目到支持Schema层级', 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:UpdateProjectModelTier', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], [ 'apiName' => 'UpdateComputeQuotaSchedule', 'description' => '更新计算Quota分时计划', 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:UpdateQuotaSchedule', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], [ 'apiName' => 'GetMmsTask', 'description' => '获取单个迁移任务详情', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetMmsTask', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], [ 'apiName' => 'GetQuotaUsage', 'description' => '获取Quota资源消耗信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetQuotaUsage', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#nickName}', ], ], ], ], [ 'apiName' => 'ListRoles', 'description' => '获取项目级角色列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListRoles', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], [ 'apiName' => 'DeleteComputeQuotaPlan', 'description' => '删除计算Quota计划', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'odps:DeleteQuotaPlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], [ 'apiName' => 'GetComputeQuotaPlan', 'description' => '获取计算Quota计划详细信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetQuotaPlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], [ 'apiName' => 'UpdateUsersToRole', 'description' => '项目角色添加或删除用户', 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:UpdateUsersToRole', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], [ 'apiName' => 'ListQuotasPlans', 'description' => '获取Quota计划列表', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:ListQuotasPlans', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], [ 'apiName' => 'ListJobMetric', 'description' => '获取作业性能指标', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListJobMetric', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListStorageTablesInfo', 'description' => '获取表存储明细', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:ListStorageTablesInfo', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Storage', 'arn' => 'acs:odps:{#regionId}:{#accountId}:storage/{#project}', ], ], ], ], [ 'apiName' => 'ListJobInfos', 'description' => '查看作业列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListJobInfos', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'RetryMmsJob', 'description' => '重试数据迁移作业', 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:RetryMmsJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], [ 'apiName' => 'GetRoleAclOnObject', 'description' => '获取角色对某对象的ACL授权', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetRoleAclOnObject', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], [ 'apiName' => 'StopMmsJob', 'description' => '停止数据迁移作业', 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:StopMmsJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], [ 'apiName' => 'CreateMmsJob', 'description' => '创建数据迁移任务', 'operationType' => 'create', 'ramAction' => [ 'action' => 'odps:CreateMmsJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], [ 'apiName' => 'GetRoleAcl', 'description' => '获取项目级角色ACL授权信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetRoleAcl', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], [ 'apiName' => 'ListProjectUsers', 'description' => '获取项目用户列表', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:ListProjectUsers', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], [ 'apiName' => 'GetComputeEffectivePlan', 'description' => '获取当前生效的计算Quota计划', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetEffectivePlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'QuotaPlan', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], [ 'apiName' => 'ListTables', 'description' => '获取表列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListTables', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], [ 'apiName' => 'GetStorageSizeSummary', 'description' => '获取存储用量信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetStorageSizeSummary', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'CreateRole', 'description' => '创建项目级角色', 'operationType' => 'create', 'ramAction' => [ 'action' => 'odps:CreateRole', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#projectName}', ], ], ], ], [ 'apiName' => 'QueryQuota', 'description' => '获取指定一级Quota组信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:QueryQuota', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], [ 'apiName' => 'UpdateComputeQuotaPlan', 'description' => '更新Quota计划', 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:UpdateQuotaPlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], [ 'apiName' => 'SumStorageMetricsByDate', 'description' => '存储用量汇总', 'operationType' => '', 'ramAction' => [ 'action' => 'odps:SumStorageMetricsByDate', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'DeleteMmsJob', 'description' => '删除数据迁移作业', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'odps:DeleteMmsJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], [ 'apiName' => 'GetRunningJobs', 'description' => '获取运行态的作业列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:GetRunningJobs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListStoragePartitionsInfo', 'description' => '获取分区存储明细', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:ListStoragePartitionsInfo', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Storage', 'arn' => 'acs:odps:{#regionId}:{#accountId}:storage/{#project}', ], ], ], ], [ 'apiName' => 'GetMmsDataSource', 'description' => '获取单个数据源详情', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetMmsDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], [ 'apiName' => 'ListQuotas', 'description' => '获取Quota列表', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:ListQuotas', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/*', ], ], ], ], [ 'apiName' => 'DeleteProject', 'description' => '删除项目', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'odps:DeleteProject', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], [ 'apiName' => 'UpdateComputeSubQuota', 'description' => '更新计算Quota基础配置', 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:UpdateSubQuotas', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], [ 'apiName' => 'ListMmsDbs', 'description' => '获取数据源内的"数据库"列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListMmsDbs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], [ 'apiName' => 'ListMmsPartitions', 'description' => '列出数据源内的分区', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListMmsPartitions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], [ 'apiName' => 'CreateProject', 'description' => '创建项目', 'operationType' => 'create', 'ramAction' => [ 'action' => 'odps:CreateProject', 'authLevel' => 'resource', 'actionConditions' => [ [ 'conditionKey' => 'odps:Encryption', 'validationType' => 'always', ], ], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:project/*', ], ], ], ], [ 'apiName' => 'GetPackage', 'description' => '获取Package信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetPackage', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], [ 'apiName' => 'UpdateProjectBasicMeta', 'description' => '修改项目基本信息', 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:UpdateProjectBasicMeta', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], [ 'apiName' => 'QueryTunnelMetricDetail', 'description' => 'Tunnel资源观测详情数据', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:QueryTunnelMetricDetail', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Tunnel', 'arn' => 'acs:odps:{#regionId}:{#accountId}:tunnel/{#metric}', ], ], ], ], [ 'apiName' => 'GetQuotaPlan', 'description' => '获取Quota计划信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetQuotaPlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], [ 'apiName' => 'ListFunctions', 'description' => '获取函数列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListFunctions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], [ 'apiName' => 'CreateMmsDataSource', 'description' => '创建数据源', 'operationType' => 'create', 'ramAction' => [ 'action' => 'odps:CreateMmsDataSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'CreatePackage', 'description' => '创建package', 'operationType' => 'create', 'ramAction' => [ 'action' => 'odps:CreatePackage', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], [ 'apiName' => 'ListMmsTaskLogs', 'description' => '列出单个迁移任务的执行日志', 'operationType' => 'list', 'ramAction' => [ 'action' => 'odps:ListMmsTaskLogs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], [ 'apiName' => 'CreateComputeQuotaPlan', 'description' => '创建计算Quota计划', 'operationType' => 'create', 'ramAction' => [ 'action' => 'odps:CreateQuotaPlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], [ 'apiName' => 'KillJobs', 'description' => '终止作业', 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:KillJobs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ApplyComputeQuotaPlan', 'description' => '立即生效Quota计划', 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:ApplyComputeQuotaPlan', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], ], ], ], [ 'apiName' => 'GetTableInfo', 'description' => '获取表信息', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetTableInfo', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], ], ], ], [ 'apiName' => 'GetMmsFetchMetadataJob', 'description' => '获取“同步元数据”任务详情', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetMmsFetchMetadataJob', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], [ 'apiName' => 'UpdateTunnelQuotaTimer', 'description' => '更新Quota(Tunnel)分时扩缩容配置', 'operationType' => 'update', 'ramAction' => [ 'action' => 'odps:UpdateQuotaTimers', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetMmsPartition', 'description' => '获取数据源内的某个分区', 'operationType' => 'get', 'ramAction' => [ 'action' => 'odps:GetMmsPartition', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'MaxCompute', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], ], ], ], ], 'resourceTypes' => [ [ 'validationType' => 'always', 'resourceType' => 'project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], [ 'validationType' => 'always', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quota/{#NickName}', ], [ 'validationType' => 'always', 'resourceType' => 'Storage', 'arn' => 'acs:odps:{#regionId}:{#accountId}:storage/*', ], [ 'validationType' => 'always', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}', ], [ 'validationType' => 'always', 'resourceType' => 'Tunnel', 'arn' => 'acs:odps:{#regionId}:{#accountId}:tunnel/{#metric}', ], [ 'validationType' => 'always', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/*', ], [ 'validationType' => 'always', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], [ 'validationType' => 'always', 'resourceType' => 'User', 'arn' => 'acs:odps:*:{#accountId}:user/*', ], [ 'validationType' => 'always', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}', ], [ 'validationType' => 'always', 'resourceType' => 'Job', 'arn' => 'acs:odps:{#regionId}:{#accountId}:job/*', ], [ 'validationType' => 'always', 'resourceType' => 'Job', 'arn' => 'acs:odps:{#regionId}:{#accountId}:job/{#instanceId}', ], [ 'validationType' => 'always', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quota/{#metric}', ], [ 'validationType' => 'always', 'resourceType' => 'Storage', 'arn' => 'acs:odps:{#regionId}:{#accountId}:storage/{#metric}', ], [ 'validationType' => 'conditional', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:projects/*', ], [ 'validationType' => 'always', 'resourceType' => 'Storage', 'arn' => 'acs:odps:{#regionId}:{#accountId}:storage/{#project}', ], [ 'validationType' => 'always', 'resourceType' => 'QuotaPlan', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}', ], [ 'validationType' => 'always', 'resourceType' => 'Quota', 'arn' => 'acs:odps:{#regionId}:{#accountId}:quotas/*', ], [ 'validationType' => 'always', 'resourceType' => 'Project', 'arn' => 'acs:odps:{#regionId}:{#accountId}:project/*', ], ], ], ];