diff --git a/docs/dli/api-ref/ALL_META.TXT.json b/docs/dli/api-ref/ALL_META.TXT.json index 67a4b0f57..7b786e695 100644 --- a/docs/dli/api-ref/ALL_META.TXT.json +++ b/docs/dli/api-ref/ALL_META.TXT.json @@ -25,8 +25,8 @@ "githuburl":"" }, { - "uri":"dli_02_0181.html", - "node_id":"dli_02_0181.xml", + "uri":"dli_02_0100.html", + "node_id":"dli_02_0100.xml", "product_code":"dli", "code":"2", "des":"This section describes the APIs provided by DLI.", @@ -157,8 +157,8 @@ "githuburl":"" }, { - "uri":"dli_02_0036.html", - "node_id":"dli_02_0036.xml", + "uri":"dli_02_0181.html", + "node_id":"dli_02_0181.xml", "product_code":"dli", "code":"8", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -508,11 +508,55 @@ "title":"Querying Authorization of an Enhanced Datasource Connection", "githuburl":"" }, + { + "uri":"dli_02_0371.html", + "node_id":"dli_02_0371.xml", + "product_code":"dli", + "code":"24", + "des":"This API is used to create a datasource connection route.URI formatPOST /v3/{project_id}/datasource/enhanced-connections/{connection_id}/routesPOST /v3/{project_id}/datas", + "doc_type":"api", + "kw":"Creating a Route,APIs Related to Enhanced Datasource Connections,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dli", + "IsMulti":"No", + "IsBot":"No;Yes", + "opensource":"true", + "operation_id":"StartNotebookInstance;RunNotebookAction;CreateSqlJobDefendRule;ListSqlJobDefendRules;UpdateSqlJobDefendRule;DeleteSqlJobDefendRule;ShowSqlJobDefendRule;ListSqlJobSystemDefendRules;ShowSqlJobSystemDefendRule" + } + ], + "title":"Creating a Route", + "githuburl":"" + }, + { + "uri":"dli_02_0372.html", + "node_id":"dli_02_0372.xml", + "product_code":"dli", + "code":"25", + "des":"This API is used to delete a datasource connection route.URI formatDELETE /v3/{project_id}/datasource/enhanced-connections/{connection_id}/routes/{name}DELETE /v3/{projec", + "doc_type":"api", + "kw":"Deleting a Route,APIs Related to Enhanced Datasource Connections,API Reference", + "search_title":"", + "metedata":[ + { + "documenttype":"api", + "prodname":"dli", + "IsMulti":"No", + "IsBot":"No;Yes", + "opensource":"true", + "operation_id":"StartNotebookInstance;RunNotebookAction;CreateSqlJobDefendRule;ListSqlJobDefendRules;UpdateSqlJobDefendRule;DeleteSqlJobDefendRule;ShowSqlJobDefendRule;ListSqlJobSystemDefendRules;ShowSqlJobSystemDefendRule" + } + ], + "title":"Deleting a Route", + "githuburl":"" + }, { "uri":"dli_02_0325.html", "node_id":"dli_02_0325.xml", "product_code":"dli", - "code":"24", + "code":"26", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"APIs Related to Elastic Resource Pools", @@ -534,7 +578,7 @@ "uri":"dli_02_0326.html", "node_id":"dli_02_0326.xml", "product_code":"dli", - "code":"25", + "code":"27", "des":"This API is used to create elastic resource pools.URI formatPOST /v3/{project_id}/elastic-resource-poolsPOST /v3/{project_id}/elastic-resource-poolsParameter descriptionU", "doc_type":"api", "kw":"Creating an Elastic Resource Pool,APIs Related to Elastic Resource Pools,API Reference", @@ -556,7 +600,7 @@ "uri":"dli_02_0327.html", "node_id":"dli_02_0327.xml", "product_code":"dli", - "code":"26", + "code":"28", "des":"This API is used to query all elastic resource pools.URI formatGET /v3/{project_id}/elastic-resource-poolsGET /v3/{project_id}/elastic-resource-poolsParameter description", "doc_type":"api", "kw":"Querying All Elastic Resource Pools,APIs Related to Elastic Resource Pools,API Reference", @@ -578,7 +622,7 @@ "uri":"dli_02_0328.html", "node_id":"dli_02_0328.xml", "product_code":"dli", - "code":"27", + "code":"29", "des":"This API is used to delete an elastic resource pool.URI formatDELETE /v3/{project_id}/elastic-resource-pools/{elastic_resource_pool_name}DELETE /v3/{project_id}/elastic-r", "doc_type":"api", "kw":"Deleting an Elastic Resource Pool,APIs Related to Elastic Resource Pools,API Reference", @@ -600,7 +644,7 @@ "uri":"dli_02_0329.html", "node_id":"dli_02_0329.xml", "product_code":"dli", - "code":"28", + "code":"30", "des":"This API is used to modify elastic resource pool information.URI formatPUT /v3/{project_id}/elastic-resource-pools/{elastic_resource_pool_name}PUT /v3/{project_id}/elasti", "doc_type":"api", "kw":"Modifying Elastic Resource Pool Information,APIs Related to Elastic Resource Pools,API Reference", @@ -622,7 +666,7 @@ "uri":"dli_02_0330.html", "node_id":"dli_02_0330.xml", "product_code":"dli", - "code":"29", + "code":"31", "des":"This API is used to query all queues in an elastic resource pool.URI formatGET /v3/{project_id}/elastic-resource-pools/{elastic_resource_pool_name}/queuesGET /v3/{project", "doc_type":"api", "kw":"Querying All Queues in an Elastic Resource Pool,APIs Related to Elastic Resource Pools,API Reference", @@ -644,7 +688,7 @@ "uri":"dli_02_0331.html", "node_id":"dli_02_0331.xml", "product_code":"dli", - "code":"30", + "code":"32", "des":"This API is used to associate a queue with an elastic resource pool.URI formatPOST /v3/{project_id}/elastic-resource-pools/{elastic_resource_pool_name}/queuesPOST /v3/{pr", "doc_type":"api", "kw":"Associating a Queue with an Elastic Resource Pool,APIs Related to Elastic Resource Pools,API Referen", @@ -666,7 +710,7 @@ "uri":"dli_02_0336.html", "node_id":"dli_02_0336.xml", "product_code":"dli", - "code":"31", + "code":"33", "des":"This API is used to view scaling history of an elastic resource pool.GET /v3/{project_id}/elastic-resource-pools/{elastic_resource_pool_name}/scale-recordsNoneThe followi", "doc_type":"api", "kw":"Viewing Scaling History of an Elastic Resource Pool,APIs Related to Elastic Resource Pools,API Refer", @@ -688,7 +732,7 @@ "uri":"dli_02_0332.html", "node_id":"dli_02_0332.xml", "product_code":"dli", - "code":"32", + "code":"34", "des":"This API is used to modify the scaling policy of a queue associated with an elastic resource pool.URI formatPUT /v3/{project_id}/elastic-resource-pools/{elastic_resource_", "doc_type":"api", "kw":"Modifying the Scaling Policy of a Queue Associated with an Elastic Resource Pool,APIs Related to Ela", @@ -710,7 +754,7 @@ "uri":"dli_02_0193.html", "node_id":"dli_02_0193.xml", "product_code":"dli", - "code":"33", + "code":"35", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Queue-related APIs (Recommended)", @@ -732,7 +776,7 @@ "uri":"dli_02_0194.html", "node_id":"dli_02_0194.xml", "product_code":"dli", - "code":"34", + "code":"36", "des":"This API is used to create a queue. The queue will be bound to specified compute resources.It takes 5 to 15 minutes to start a job using a new queue for the first time.UR", "doc_type":"api", "kw":"Creating a Queue,Queue-related APIs (Recommended),API Reference", @@ -754,7 +798,7 @@ "uri":"dli_02_0195.html", "node_id":"dli_02_0195.xml", "product_code":"dli", - "code":"35", + "code":"37", "des":"This API is used to delete a specified queue.If a task is being executed in a specified queue, the queue cannot be deleted.URI formatDELETE /v1.0/{project_id}/queues/{que", "doc_type":"api", "kw":"Deleting a Queue,Queue-related APIs (Recommended),API Reference", @@ -776,8 +820,8 @@ "uri":"dli_02_0196.html", "node_id":"dli_02_0196.xml", "product_code":"dli", - "code":"36", - "des":"This API is used to list all queues under the project.URI formatGET/v1.0/{project_id}/queuesGET/v1.0/{project_id}/queuesParameter descriptionURI parameterParameterMandato", + "code":"38", + "des":"This API is used to list all queues under the project.URI formatGET /v1.0/{project_id}/queuesGET /v1.0/{project_id}/queuesParameter descriptionsURI parameterParameterMand", "doc_type":"api", "kw":"Querying All Queues,Queue-related APIs (Recommended),API Reference", "search_title":"", @@ -798,10 +842,10 @@ "uri":"dli_02_0016.html", "node_id":"dli_02_0016.xml", "product_code":"dli", - "code":"37", + "code":"39", "des":"This API is used to list details of a specific queue in a project.URI formatGET /v1.0/{project_id}/queues/{queue_name}GET /v1.0/{project_id}/queues/{queue_name}Parameter ", "doc_type":"api", - "kw":"Viewing Details of a Queue,Queue-related APIs (Recommended),API Reference", + "kw":"Querying Queue Details,Queue-related APIs (Recommended),API Reference", "search_title":"", "metedata":[ { @@ -813,15 +857,15 @@ "operation_id":"StartNotebookInstance;RunNotebookAction;CreateSqlJobDefendRule;ListSqlJobDefendRules;UpdateSqlJobDefendRule;DeleteSqlJobDefendRule;ShowSqlJobDefendRule;ListSqlJobSystemDefendRules;ShowSqlJobSystemDefendRule" } ], - "title":"Viewing Details of a Queue", + "title":"Querying Queue Details", "githuburl":"" }, { "uri":"dli_02_0249.html", "node_id":"dli_02_0249.xml", "product_code":"dli", - "code":"38", - "des":"This API is used to restart, scale out, and scale in queues.Only SQL queues in the Available status can be restarted. (The queue status is Available only after the SQL jo", + "code":"40", + "des":"This API is used to restart, scale out, and scale in queues.Only SQL queues in the Available state can be restarted. (The queue status is Available only after the SQL job", "doc_type":"api", "kw":"Restarting, Scaling Out, and Scaling In Queues,Queue-related APIs (Recommended),API Reference", "search_title":"", @@ -842,7 +886,7 @@ "uri":"dli_02_0284.html", "node_id":"dli_02_0284.xml", "product_code":"dli", - "code":"39", + "code":"41", "des":"This API is used to send an address connectivity test request to a specified queue and insert the test address into the table.URI formatPOST /v1.0/{project_id}/queues/{qu", "doc_type":"api", "kw":"Creating an Address Connectivity Test Request,Queue-related APIs (Recommended),API Reference", @@ -864,7 +908,7 @@ "uri":"dli_02_0285.html", "node_id":"dli_02_0285.xml", "product_code":"dli", - "code":"40", + "code":"42", "des":"This API is used to query the connectivity test result after the test is submitted.URI formatGET /v1.0/{project_id}/queues/{queue_name}/connection-test/{task_id}GET /v1.0", "doc_type":"api", "kw":"Querying Connectivity Test Details of a Specified Address,Queue-related APIs (Recommended),API Refer", @@ -886,7 +930,7 @@ "uri":"dli_02_0158.html", "node_id":"dli_02_0158.xml", "product_code":"dli", - "code":"41", + "code":"43", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"SQL Job-related APIs", @@ -908,7 +952,7 @@ "uri":"dli_02_0102.html", "node_id":"dli_02_0102.xml", "product_code":"dli", - "code":"42", + "code":"44", "des":"This API is used to submit jobs to a queue using SQL statements.The job types support DDL, DCL, IMPORT, QUERY, and INSERT. The IMPORT function is the same as that describ", "doc_type":"api", "kw":"Submitting a SQL Job (Recommended),SQL Job-related APIs,API Reference", @@ -930,7 +974,7 @@ "uri":"dli_02_0104.html", "node_id":"dli_02_0104.xml", "product_code":"dli", - "code":"43", + "code":"45", "des":"This API is used to cancel a submitted job. If execution of a job completes or fails, this job cannot be canceled.URI formatDELETE /v1.0/{project_id}/jobs/{job_id}DELETE ", "doc_type":"api", "kw":"Canceling a Job (Recommended),SQL Job-related APIs,API Reference", @@ -952,7 +996,7 @@ "uri":"dli_02_0025.html", "node_id":"dli_02_0025.xml", "product_code":"dli", - "code":"44", + "code":"46", "des":"This API is used to query information about all jobs in the current project.URI formatGET /v1.0/{project_id}/jobsGET /v1.0/{project_id}/jobsParameter descriptionURI param", "doc_type":"api", "kw":"Querying All Jobs,SQL Job-related APIs,API Reference", @@ -974,7 +1018,7 @@ "uri":"dli_02_0312.html", "node_id":"dli_02_0312.xml", "product_code":"dli", - "code":"45", + "code":"47", "des":"This API is used to view the job execution result after a job is executed using SQL query statements. Currently, you can only query execution results of jobs of the QUERY", "doc_type":"api", "kw":"Previewing SQL Job Query Results,SQL Job-related APIs,API Reference", @@ -996,7 +1040,7 @@ "uri":"dli_02_0024.html", "node_id":"dli_02_0024.xml", "product_code":"dli", - "code":"46", + "code":"48", "des":"This API is used to export results returned from the query using SQL statements to OBS. Only the query result of QUERY jobs can be exported.This API is asynchronous.Curre", "doc_type":"api", "kw":"Exporting Query Results,SQL Job-related APIs,API Reference", @@ -1018,7 +1062,7 @@ "uri":"dli_02_0021.html", "node_id":"dli_02_0021.xml", "product_code":"dli", - "code":"47", + "code":"49", "des":"This API is used to query the status of a submitted job.URI formatGET /v1.0/{project_id}/jobs/{job_id}/statusGET /v1.0/{project_id}/jobs/{job_id}/statusParameter descript", "doc_type":"api", "kw":"Querying Job Status,SQL Job-related APIs,API Reference", @@ -1040,8 +1084,8 @@ "uri":"dli_02_0022.html", "node_id":"dli_02_0022.xml", "product_code":"dli", - "code":"48", - "des":"This API is used to query details about jobs, including databasename, tablename, file size, and export mode.URI formatGET/v1.0/{project_id}/jobs/{job_id}/detailGET/v1.0/{", + "code":"50", + "des":"This API is used to query details about jobs, including databasename, tablename, file size, and export mode.URI formatGET /v1.0/{project_id}/jobs/{job_id}/detailGET /v1.0", "doc_type":"api", "kw":"Querying Job Details,SQL Job-related APIs,API Reference", "search_title":"", @@ -1062,8 +1106,8 @@ "uri":"dli_02_0107.html", "node_id":"dli_02_0107.xml", "product_code":"dli", - "code":"49", - "des":"This API is used to check the SQL syntax.URI formatPOST /v1.0/{project_id}/jobs/check-sqlPOST /v1.0/{project_id}/jobs/check-sqlParameter descriptionURI parameterParameter", + "code":"51", + "des":"This API is used to check the SQL syntax.URI formatPOST /v1.0/{project_id}/jobs/check-sqlPOST /v1.0/{project_id}/jobs/check-sqlParameter descriptionsURI parameterParamete", "doc_type":"api", "kw":"Checking SQL Syntax,SQL Job-related APIs,API Reference", "search_title":"", @@ -1084,7 +1128,7 @@ "uri":"dli_02_0296.html", "node_id":"dli_02_0296.xml", "product_code":"dli", - "code":"50", + "code":"52", "des":"This API is used to obtain the job execution progress. If a job is being executed, information about its subjobs can be obtained. If a job has just started or has ended, ", "doc_type":"api", "kw":"Querying the Job Execution Progress,SQL Job-related APIs,API Reference", @@ -1106,7 +1150,7 @@ "uri":"dli_02_0223.html", "node_id":"dli_02_0223.xml", "product_code":"dli", - "code":"51", + "code":"53", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Flink Job-related APIs", @@ -1128,7 +1172,7 @@ "uri":"dli_02_0228.html", "node_id":"dli_02_0228.xml", "product_code":"dli", - "code":"52", + "code":"54", "des":"This API is used to create a Flink streaming SQL job.URI formatPOST /v1.0/{project_id}/streaming/sql-jobsPOST /v1.0/{project_id}/streaming/sql-jobsParameter descriptionUR", "doc_type":"api", "kw":"Creating a SQL Job,Flink Job-related APIs,API Reference", @@ -1150,7 +1194,7 @@ "uri":"dli_02_0229.html", "node_id":"dli_02_0229.xml", "product_code":"dli", - "code":"53", + "code":"55", "des":"This API is used to modify a Flink SQL job.URI formatPUT /v1.0/{project_id}/streaming/sql-jobs/{job_id}PUT /v1.0/{project_id}/streaming/sql-jobs/{job_id}Parameter descrip", "doc_type":"api", "kw":"Updating a SQL Job,Flink Job-related APIs,API Reference", @@ -1172,10 +1216,10 @@ "uri":"dli_02_0230.html", "node_id":"dli_02_0230.xml", "product_code":"dli", - "code":"54", + "code":"56", "des":"This API is used to create custom jobs, which currently support the JAR format and run in dedicated queues.URI formatPOST /v1.0/{project_id}/streaming/flink-jobsPOST /v1.", "doc_type":"api", - "kw":"Creating a Flink Jar job,Flink Job-related APIs,API Reference", + "kw":"Creating a Flink Jar Job,Flink Job-related APIs,API Reference", "search_title":"", "metedata":[ { @@ -1187,14 +1231,14 @@ "operation_id":"StartNotebookInstance;RunNotebookAction;CreateSqlJobDefendRule;ListSqlJobDefendRules;UpdateSqlJobDefendRule;DeleteSqlJobDefendRule;ShowSqlJobDefendRule;ListSqlJobSystemDefendRules;ShowSqlJobSystemDefendRule" } ], - "title":"Creating a Flink Jar job", + "title":"Creating a Flink Jar Job", "githuburl":"" }, { "uri":"dli_02_0231.html", "node_id":"dli_02_0231.xml", "product_code":"dli", - "code":"55", + "code":"57", "des":"This API is used to update custom jobs, which currently support the JAR format and run in dedicated queues.URI formatPUT /v1.0/{project_id}/streaming/flink-jobs/{job_id}P", "doc_type":"api", "kw":"Updating a Flink Jar Job,Flink Job-related APIs,API Reference", @@ -1216,10 +1260,10 @@ "uri":"dli_02_0233.html", "node_id":"dli_02_0233.xml", "product_code":"dli", - "code":"56", + "code":"58", "des":"This API is used to trigger batch job running.URI formatPOST /v1.0/{project_id}/streaming/jobs/runPOST /v1.0/{project_id}/streaming/jobs/runParameter descriptionURI param", "doc_type":"api", - "kw":"Running Jobs in Batches,Flink Job-related APIs,API Reference", + "kw":"Batch Running Jobs,Flink Job-related APIs,API Reference", "search_title":"", "metedata":[ { @@ -1231,14 +1275,14 @@ "operation_id":"StartNotebookInstance;RunNotebookAction;CreateSqlJobDefendRule;ListSqlJobDefendRules;UpdateSqlJobDefendRule;DeleteSqlJobDefendRule;ShowSqlJobDefendRule;ListSqlJobSystemDefendRules;ShowSqlJobSystemDefendRule" } ], - "title":"Running Jobs in Batches", + "title":"Batch Running Jobs", "githuburl":"" }, { "uri":"dli_02_0234.html", "node_id":"dli_02_0234.xml", "product_code":"dli", - "code":"57", + "code":"59", "des":"This API is used to list the current user's jobs. You can set the job ID as the ID and query jobs whose IDs are greater than or less than the ID. You can also query jobs ", "doc_type":"api", "kw":"Listing Jobs,Flink Job-related APIs,API Reference", @@ -1260,7 +1304,7 @@ "uri":"dli_02_0235.html", "node_id":"dli_02_0235.xml", "product_code":"dli", - "code":"58", + "code":"60", "des":"This API is used to query details of a job.URI formatGET /v1.0/{project_id}/streaming/jobs/{job_id}GET /v1.0/{project_id}/streaming/jobs/{job_id}Parameter descriptionURI ", "doc_type":"api", "kw":"Querying Job Details,Flink Job-related APIs,API Reference", @@ -1282,7 +1326,7 @@ "uri":"dli_02_0236.html", "node_id":"dli_02_0236.xml", "product_code":"dli", - "code":"59", + "code":"61", "des":"This API is used to query a job execution plan.URI formatGET /v1.0/{project_id}/streaming/jobs/{job_id}/execute-graphGET /v1.0/{project_id}/streaming/jobs/{job_id}/execut", "doc_type":"api", "kw":"Querying the Job Execution Plan,Flink Job-related APIs,API Reference", @@ -1304,10 +1348,10 @@ "uri":"dli_02_0241.html", "node_id":"dli_02_0241.xml", "product_code":"dli", - "code":"60", + "code":"62", "des":"This API is used to stop running jobs in batches.URI formatPOST /v1.0/{project_id}/streaming/jobs/stopPOST /v1.0/{project_id}/streaming/jobs/stopParameter descriptionURI ", "doc_type":"api", - "kw":"Stopping Jobs in Batches,Flink Job-related APIs,API Reference", + "kw":"Batch Stopping Jobs,Flink Job-related APIs,API Reference", "search_title":"", "metedata":[ { @@ -1319,15 +1363,15 @@ "operation_id":"StartNotebookInstance;RunNotebookAction;CreateSqlJobDefendRule;ListSqlJobDefendRules;UpdateSqlJobDefendRule;DeleteSqlJobDefendRule;ShowSqlJobDefendRule;ListSqlJobSystemDefendRules;ShowSqlJobSystemDefendRule" } ], - "title":"Stopping Jobs in Batches", + "title":"Batch Stopping Jobs", "githuburl":"" }, { "uri":"dli_02_0242.html", "node_id":"dli_02_0242.xml", "product_code":"dli", - "code":"61", - "des":"This API is used to delete a Flink job at any state.The job records will not be deleted.URI formatDELETE /v1.0/{project_id}/streaming/jobs/{job_id}DELETE /v1.0/{project_i", + "code":"63", + "des":"This API is used to delete a Flink job in any state.The job records will not be deleted.URI formatDELETE /v1.0/{project_id}/streaming/jobs/{job_id}DELETE /v1.0/{project_i", "doc_type":"api", "kw":"Deleting a Job,Flink Job-related APIs,API Reference", "search_title":"", @@ -1348,10 +1392,10 @@ "uri":"dli_02_0243.html", "node_id":"dli_02_0243.xml", "product_code":"dli", - "code":"62", - "des":"This API is used to batch delete jobs at any state.URI formatPOST /v1.0/{project_id}/streaming/jobs/deletePOST /v1.0/{project_id}/streaming/jobs/deleteParameter descripti", + "code":"64", + "des":"This API is used to batch delete jobs in any state.URI formatPOST /v1.0/{project_id}/streaming/jobs/deletePOST /v1.0/{project_id}/streaming/jobs/deleteParameter descripti", "doc_type":"api", - "kw":"Deleting Jobs in Batches,Flink Job-related APIs,API Reference", + "kw":"Batch Deleting Jobs,Flink Job-related APIs,API Reference", "search_title":"", "metedata":[ { @@ -1363,14 +1407,14 @@ "operation_id":"StartNotebookInstance;RunNotebookAction;CreateSqlJobDefendRule;ListSqlJobDefendRules;UpdateSqlJobDefendRule;DeleteSqlJobDefendRule;ShowSqlJobDefendRule;ListSqlJobSystemDefendRules;ShowSqlJobSystemDefendRule" } ], - "title":"Deleting Jobs in Batches", + "title":"Batch Deleting Jobs", "githuburl":"" }, { "uri":"dli_02_0254.html", "node_id":"dli_02_0254.xml", "product_code":"dli", - "code":"63", + "code":"65", "des":"This API is used to export Flink job data.URI formatPOST /v1.0/{project_id}/streaming/jobs/exportPOST /v1.0/{project_id}/streaming/jobs/exportParameter descriptionURI par", "doc_type":"api", "kw":"Exporting a Flink Job,Flink Job-related APIs,API Reference", @@ -1392,7 +1436,7 @@ "uri":"dli_02_0255.html", "node_id":"dli_02_0255.xml", "product_code":"dli", - "code":"64", + "code":"66", "des":"This API is used to import Flink job data.URI formatPOST /v1.0/{project_id}/streaming/jobs/importPOST /v1.0/{project_id}/streaming/jobs/importParameter descriptionURI par", "doc_type":"api", "kw":"Importing a Flink Job,Flink Job-related APIs,API Reference", @@ -1414,7 +1458,7 @@ "uri":"dli_02_0316.html", "node_id":"dli_02_0316.xml", "product_code":"dli", - "code":"65", + "code":"67", "des":"This API is used to generate a static stream graph for a Flink SQL job.Flink 1.15 does not support the generation of static stream graphs.URI formatPOST /v3/{project_id}/", "doc_type":"api", "kw":"Generating a Static Stream Graph for a Flink SQL Job,Flink Job-related APIs,API Reference", @@ -1436,7 +1480,7 @@ "uri":"dli_02_0244.html", "node_id":"dli_02_0244.xml", "product_code":"dli", - "code":"66", + "code":"68", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"APIs Related to Flink Job Templates", @@ -1458,7 +1502,7 @@ "uri":"dli_02_0245.html", "node_id":"dli_02_0245.xml", "product_code":"dli", - "code":"67", + "code":"69", "des":"This API is used to create a user template for the DLI service. A maximum of 100 user templates can be created.URI formatPOST /v1.0/{project_id}/streaming/job-templatesPO", "doc_type":"api", "kw":"Creating a Template,APIs Related to Flink Job Templates,API Reference", @@ -1480,7 +1524,7 @@ "uri":"dli_02_0246.html", "node_id":"dli_02_0246.xml", "product_code":"dli", - "code":"68", + "code":"70", "des":"This API is used to update existing templates in DLI.URI formatPUT /v1.0/{project_id}/streaming/job-templates/{template_id}PUT /v1.0/{project_id}/streaming/job-templates/", "doc_type":"api", "kw":"Updating a Template,APIs Related to Flink Job Templates,API Reference", @@ -1502,7 +1546,7 @@ "uri":"dli_02_0247.html", "node_id":"dli_02_0247.xml", "product_code":"dli", - "code":"69", + "code":"71", "des":"This API is used to delete a template. A template used by jobs can also be deleted.URI formatDELETE /v1.0/{project_id}/streaming/job-templates/{template_id}DELETE /v1.0/{", "doc_type":"api", "kw":"Deleting a Template,APIs Related to Flink Job Templates,API Reference", @@ -1524,7 +1568,7 @@ "uri":"dli_02_0248.html", "node_id":"dli_02_0248.xml", "product_code":"dli", - "code":"70", + "code":"72", "des":"This API is used to list job templates. Currently, only custom templates can be queried.URI formatGET /v1.0/{project_id}/streaming/job-templatesGET /v1.0/{project_id}/str", "doc_type":"api", "kw":"Listing Templates,APIs Related to Flink Job Templates,API Reference", @@ -1546,7 +1590,7 @@ "uri":"dli_02_0109.html", "node_id":"dli_02_0109.xml", "product_code":"dli", - "code":"71", + "code":"73", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Spark Job-related APIs", @@ -1568,8 +1612,8 @@ "uri":"dli_02_0124.html", "node_id":"dli_02_0124.xml", "product_code":"dli", - "code":"72", - "des":"This API is used to create a batch processing job in a queue.URI formatPOST /v2.0/{project_id}/batchesPOST /v2.0/{project_id}/batchesParameter descriptionURI parameterPar", + "code":"74", + "des":"This API is used to create a batch processing job in a queue.During the Spark job submission process, if the job fails to acquire resources successfully for an extended p", "doc_type":"api", "kw":"Creating a Batch Processing Job,Spark Job-related APIs,API Reference", "search_title":"", @@ -1590,7 +1634,7 @@ "uri":"dli_02_0125.html", "node_id":"dli_02_0125.xml", "product_code":"dli", - "code":"73", + "code":"75", "des":"This API is used to list batch processing jobs in a queue of a project.URI formatGET /v2.0/{project_id}/batchesGET /v2.0/{project_id}/batchesParameter descriptionURI para", "doc_type":"api", "kw":"Listing Batch Processing Jobs,Spark Job-related APIs,API Reference", @@ -1612,10 +1656,10 @@ "uri":"dli_02_0126.html", "node_id":"dli_02_0126.xml", "product_code":"dli", - "code":"74", + "code":"76", "des":"This API is used to query details about a batch processing job based on the job ID.URI formatGET /v2.0/{project_id}/batches/{batch_id}GET /v2.0/{project_id}/batches/{batc", "doc_type":"api", - "kw":"Querying Batch Job Details,Spark Job-related APIs,API Reference", + "kw":"Querying Batch Processing Job Details,Spark Job-related APIs,API Reference", "search_title":"", "metedata":[ { @@ -1627,17 +1671,17 @@ "operation_id":"StartNotebookInstance;RunNotebookAction;CreateSqlJobDefendRule;ListSqlJobDefendRules;UpdateSqlJobDefendRule;DeleteSqlJobDefendRule;ShowSqlJobDefendRule;ListSqlJobSystemDefendRules;ShowSqlJobSystemDefendRule" } ], - "title":"Querying Batch Job Details", + "title":"Querying Batch Processing Job Details", "githuburl":"" }, { "uri":"dli_02_0127.html", "node_id":"dli_02_0127.xml", "product_code":"dli", - "code":"75", + "code":"77", "des":"This API is used to obtain the execution status of a batch processing job.URI formatGET /v2.0/{project_id}/batches/{batch_id}/stateGET /v2.0/{project_id}/batches/{batch_i", "doc_type":"api", - "kw":"Querying a Batch Job Status,Spark Job-related APIs,API Reference", + "kw":"Querying a Batch Processing Job Status,Spark Job-related APIs,API Reference", "search_title":"", "metedata":[ { @@ -1649,14 +1693,14 @@ "operation_id":"StartNotebookInstance;RunNotebookAction;CreateSqlJobDefendRule;ListSqlJobDefendRules;UpdateSqlJobDefendRule;DeleteSqlJobDefendRule;ShowSqlJobDefendRule;ListSqlJobSystemDefendRules;ShowSqlJobSystemDefendRule" } ], - "title":"Querying a Batch Job Status", + "title":"Querying a Batch Processing Job Status", "githuburl":"" }, { "uri":"dli_02_0129.html", "node_id":"dli_02_0129.xml", "product_code":"dli", - "code":"76", + "code":"78", "des":"This API is used to cancel a batch processing job.Batch processing jobs in the Successful or Failed state cannot be canceled.URI formatDELETE /v2.0/{project_id}/batches/{", "doc_type":"api", "kw":"Canceling a Batch Processing Job,Spark Job-related APIs,API Reference", @@ -1678,7 +1722,7 @@ "uri":"dli_02_0201.html", "node_id":"dli_02_0201.xml", "product_code":"dli", - "code":"77", + "code":"79", "des":"This section describes fine-grained permissions management for your DLI. If your account does not need individual IAM users, then you may skip this section.By default, ne", "doc_type":"api", "kw":"Permissions Policies and Supported Actions,API Reference", @@ -1700,7 +1744,7 @@ "uri":"dli_02_0300.html", "node_id":"dli_02_0300.xml", "product_code":"dli", - "code":"78", + "code":"80", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Out-of-Date APIs", @@ -1722,7 +1766,7 @@ "uri":"dli_02_0297.html", "node_id":"dli_02_0297.xml", "product_code":"dli", - "code":"79", + "code":"81", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Agency-related APIs (Deprecated)", @@ -1744,7 +1788,7 @@ "uri":"dli_02_0298.html", "node_id":"dli_02_0298.xml", "product_code":"dli", - "code":"80", + "code":"82", "des":"This API is used to obtain the agency information of a DLI user.This API has been deprecated and is not recommended.URI formatGET /v2/{project_id}/agencyGET /v2/{project_", "doc_type":"api", "kw":"Obtaining DLI Agency Information (Deprecated),Agency-related APIs (Deprecated),API Reference", @@ -1766,7 +1810,7 @@ "uri":"dli_02_0299.html", "node_id":"dli_02_0299.xml", "product_code":"dli", - "code":"81", + "code":"83", "des":"This API is used to create an agency for a DLI user.This API has been deprecated and is not recommended.URI formatPOST /v2/{project_id}/agencyPOST /v2/{project_id}/agency", "doc_type":"api", "kw":"Creating a DLI Agency (Deprecated),Agency-related APIs (Deprecated),API Reference", @@ -1788,7 +1832,7 @@ "uri":"dli_02_0166.html", "node_id":"dli_02_0166.xml", "product_code":"dli", - "code":"82", + "code":"84", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Package Group-related APIs (Deprecated)", @@ -1810,8 +1854,8 @@ "uri":"dli_02_0130.html", "node_id":"dli_02_0130.xml", "product_code":"dli", - "code":"83", - "des":"This API is used to upload a package group to a project. The function is similar to creating a package on the management console.This API has been deprecated and is not r", + "code":"85", + "des":"This API is used to upload a package group to a project. The function is similar to creating a package on the management console.This API is deprecated for Flink 1.15 or ", "doc_type":"api", "kw":"Uploading a Package Group (Deprecated),Package Group-related APIs (Deprecated),API Reference", "search_title":"", @@ -1832,8 +1876,8 @@ "uri":"dli_02_0168.html", "node_id":"dli_02_0168.xml", "product_code":"dli", - "code":"84", - "des":"This API is used to query all resources in a project, including groups.This API has been deprecated and is not recommended.URI formatGET /v2.0/{project_id}/resourcesGET /", + "code":"86", + "des":"This API is used to query all resources in a project, including groups.This API is deprecated for Flink 1.15 or later and Spark 3.3.1 or later, and its use is not recomme", "doc_type":"api", "kw":"Listing Package Groups (Deprecated),Package Group-related APIs (Deprecated),API Reference", "search_title":"", @@ -1854,8 +1898,8 @@ "uri":"dli_02_0169.html", "node_id":"dli_02_0169.xml", "product_code":"dli", - "code":"85", - "des":"This API is used to upload a group of JAR packages to a project.When a resource group with the same name is uploaded, the new group overwrites the old group.This API has ", + "code":"87", + "des":"This API is used to upload a group of JAR packages to a project.When a resource group with the same name is uploaded, the new group overwrites the old group.This API is d", "doc_type":"api", "kw":"Uploading a JAR Package Group (Deprecated),Package Group-related APIs (Deprecated),API Reference", "search_title":"", @@ -1876,7 +1920,7 @@ "uri":"dli_02_0170.html", "node_id":"dli_02_0170.xml", "product_code":"dli", - "code":"86", + "code":"88", "des":"This API is used to upload a group of PyFile packages to a project. When a group with the same name as the PyFile package is uploaded, the new group overwrites the old gr", "doc_type":"api", "kw":"Uploading a PyFile Package Group (Deprecated),Package Group-related APIs (Deprecated),API Reference", @@ -1898,7 +1942,7 @@ "uri":"dli_02_0171.html", "node_id":"dli_02_0171.xml", "product_code":"dli", - "code":"87", + "code":"89", "des":"This API is used to upload a group of File packages to a project. When the File package group with the same name is uploaded, the new group overwrites the old group.This ", "doc_type":"api", "kw":"Uploading a File Package Group (Deprecated),Package Group-related APIs (Deprecated),API Reference", @@ -1920,8 +1964,8 @@ "uri":"dli_02_0172.html", "node_id":"dli_02_0172.xml", "product_code":"dli", - "code":"88", - "des":"This API is used to query resource information of a package group in a Project.This API has been deprecated and is not recommended.URI formatGET /v2.0/{project_id}/resour", + "code":"90", + "des":"This API is used to query resource information of a package group in a Project.This API is deprecated for Flink 1.15 or later and Spark 3.3.1 or later, and its use is not", "doc_type":"api", "kw":"Querying Resource Packages in a Group (Deprecated),Package Group-related APIs (Deprecated),API Refer", "search_title":"", @@ -1942,8 +1986,8 @@ "uri":"dli_02_0173.html", "node_id":"dli_02_0173.xml", "product_code":"dli", - "code":"89", - "des":"This API is used to delete resource packages in a group in a Project.This API has been deprecated and is not recommended.URI formatDELETE /v2.0/{project_id}/resources/{re", + "code":"91", + "des":"This API is used to delete resource packages in a group in a Project.This API is deprecated for Flink 1.15 or later and Spark 3.3.1 or later, and its use is not recommend", "doc_type":"api", "kw":"Deleting a Resource Package from a Group (Deprecated),Package Group-related APIs (Deprecated),API Re", "search_title":"", @@ -1964,8 +2008,8 @@ "uri":"dli_02_0253.html", "node_id":"dli_02_0253.xml", "product_code":"dli", - "code":"90", - "des":"This API is used to change the owner of a program package.This API has been deprecated and is not recommended.URI formatPUT /v2.0/{project_id}/resources/ownerPUT /v2.0/{p", + "code":"92", + "des":"This API is used to change the owner of a program package.This API is deprecated for Flink 1.15 or later and Spark 3.3.1 or later, and its use is not recommended.URI form", "doc_type":"api", "kw":"Changing the Owner of a Group or Resource Package (Deprecated),Package Group-related APIs (Deprecate", "search_title":"", @@ -1986,7 +2030,7 @@ "uri":"dli_02_0359.html", "node_id":"dli_02_0359.xml", "product_code":"dli", - "code":"91", + "code":"93", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Spark Batch Processing-related APIs (Deprecated)", @@ -2008,7 +2052,7 @@ "uri":"dli_02_0128.html", "node_id":"dli_02_0128.xml", "product_code":"dli", - "code":"92", + "code":"94", "des":"This API is used to query the back-end logs of batch processing jobs.This API has been deprecated and is not recommended.URI formatGET /v2.0/{project_id}/batches/{batch_i", "doc_type":"api", "kw":"Querying Batch Job Logs (Deprecated),Spark Batch Processing-related APIs (Deprecated),API Reference", @@ -2030,7 +2074,7 @@ "uri":"dli_02_0360.html", "node_id":"dli_02_0360.xml", "product_code":"dli", - "code":"93", + "code":"95", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"SQL Job-related APIs (Deprecated)", @@ -2052,7 +2096,7 @@ "uri":"dli_02_0019.html", "node_id":"dli_02_0019.xml", "product_code":"dli", - "code":"94", + "code":"96", "des":"This API is used to import data from a file to a DLI or OBS table. Currently, only OBS data can be imported to a DLI or OBS table.This API has been deprecated and is not ", "doc_type":"api", "kw":"Importing Data (Deprecated),SQL Job-related APIs (Deprecated),API Reference", @@ -2074,7 +2118,7 @@ "uri":"dli_02_0020.html", "node_id":"dli_02_0020.xml", "product_code":"dli", - "code":"95", + "code":"97", "des":"This API is used to export data from a DLI table to a file.This API is asynchronous.Currently, data can be exported only from a DLI table to OBS, and the OBS path must be", "doc_type":"api", "kw":"Exporting Data (Deprecated),SQL Job-related APIs (Deprecated),API Reference", @@ -2096,7 +2140,7 @@ "uri":"dli_02_0356.html", "node_id":"dli_02_0356.xml", "product_code":"dli", - "code":"96", + "code":"98", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Resource-related APIs (Deprecated)", @@ -2118,7 +2162,7 @@ "uri":"dli_02_0027.html", "node_id":"dli_02_0027.xml", "product_code":"dli", - "code":"97", + "code":"99", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Database-related APIs (Deprecated)", @@ -2140,7 +2184,7 @@ "uri":"dli_02_0028.html", "node_id":"dli_02_0028.xml", "product_code":"dli", - "code":"98", + "code":"100", "des":"This API is used to add a database.This API has been deprecated and is not recommended.URI formatPOST /v1.0/{project_id}/databasesPOST /v1.0/{project_id}/databasesParamet", "doc_type":"api", "kw":"Creating a Database (Deprecated),Database-related APIs (Deprecated),API Reference", @@ -2162,7 +2206,7 @@ "uri":"dli_02_0030.html", "node_id":"dli_02_0030.xml", "product_code":"dli", - "code":"99", + "code":"101", "des":"This API is used to delete an empty database. If there are tables in the database to be deleted, delete all tables first. For details about the API used to delete tables,", "doc_type":"api", "kw":"Deleting a Database (Deprecated),Database-related APIs (Deprecated),API Reference", @@ -2184,7 +2228,7 @@ "uri":"dli_02_0029.html", "node_id":"dli_02_0029.xml", "product_code":"dli", - "code":"100", + "code":"102", "des":"This API is used to query the information about all the databases.This API has been deprecated and is not recommended.URI formatGET /v1.0/{project_id}/databasesGET /v1.0/", "doc_type":"api", "kw":"Querying All Databases (Deprecated),Database-related APIs (Deprecated),API Reference", @@ -2206,7 +2250,7 @@ "uri":"dli_02_0164.html", "node_id":"dli_02_0164.xml", "product_code":"dli", - "code":"101", + "code":"103", "des":"This API is used to modify the owner of a database.This API has been deprecated and is not recommended.URI formatPUT /v1.0/{project_id}/databases/{database_name}/ownerPUT", "doc_type":"api", "kw":"Modifying a Database Owner (Deprecated),Database-related APIs (Deprecated),API Reference", @@ -2228,7 +2272,7 @@ "uri":"dli_02_0031.html", "node_id":"dli_02_0031.xml", "product_code":"dli", - "code":"102", + "code":"104", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Table-related APIs (Deprecated)", @@ -2250,7 +2294,7 @@ "uri":"dli_02_0034.html", "node_id":"dli_02_0034.xml", "product_code":"dli", - "code":"103", + "code":"105", "des":"This API is used to create a table. This API is a synchronous API.This API has been deprecated and is not recommended.URI formatPOST /v1.0/{project_id}/databases/{databas", "doc_type":"api", "kw":"Creating a Table (Deprecated),Table-related APIs (Deprecated),API Reference", @@ -2272,7 +2316,7 @@ "uri":"dli_02_0035.html", "node_id":"dli_02_0035.xml", "product_code":"dli", - "code":"104", + "code":"106", "des":"This API is used to delete a specified table.This API has been deprecated and is not recommended.URI formatDELETE /v1.0/{project_id}/databases/{database_name}/tables/{tab", "doc_type":"api", "kw":"Deleting a Table (Deprecated),Table-related APIs (Deprecated),API Reference", @@ -2294,7 +2338,7 @@ "uri":"dli_02_0105.html", "node_id":"dli_02_0105.xml", "product_code":"dli", - "code":"105", + "code":"107", "des":"This API is used to query information about tables that meet the filtering criteria or all the tables in the specified database.This API has been deprecated and is not re", "doc_type":"api", "kw":"Querying All Tables (Deprecated),Table-related APIs (Deprecated),API Reference", @@ -2316,7 +2360,7 @@ "uri":"dli_02_0033.html", "node_id":"dli_02_0033.xml", "product_code":"dli", - "code":"106", + "code":"108", "des":"This API is used to describe metadata information in the specified table.This API has been deprecated and is not recommended.URI formatGET /v1.0/{project_id}/databases/{d", "doc_type":"api", "kw":"Describing Table Information (Deprecated),Table-related APIs (Deprecated),API Reference", @@ -2338,7 +2382,7 @@ "uri":"dli_02_0108.html", "node_id":"dli_02_0108.xml", "product_code":"dli", - "code":"107", + "code":"109", "des":"This API is used to preview the first 10 rows in a table.This API has been deprecated and is not recommended.URI formatGET /v1.0/{project_id}/databases/{database_name}/ta", "doc_type":"api", "kw":"Previewing Table Content (Deprecated),Table-related APIs (Deprecated),API Reference", @@ -2360,7 +2404,7 @@ "uri":"dli_02_0250.html", "node_id":"dli_02_0250.xml", "product_code":"dli", - "code":"108", + "code":"110", "des":"This API is used to list partitions.This API has been deprecated and is not recommended.URI formatGET /v1.0/{project_id}/databases/{database_name}/tables/{table_name}/par", "doc_type":"api", "kw":"Listing Partitions (Deprecated),Table-related APIs (Deprecated),API Reference", @@ -2382,7 +2426,7 @@ "uri":"dli_02_0065.html", "node_id":"dli_02_0065.xml", "product_code":"dli", - "code":"109", + "code":"111", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Permission-related APIs (Deprecated)", @@ -2404,7 +2448,7 @@ "uri":"dli_02_0037.html", "node_id":"dli_02_0037.xml", "product_code":"dli", - "code":"110", + "code":"112", "des":"This API is used to share a specific queue with other users. You can grant users with the permission to use the specified queue or revoke the permission.This API has been", "doc_type":"api", "kw":"Granting Queue Permissions to a User (Deprecated),Permission-related APIs (Deprecated),API Reference", @@ -2426,7 +2470,7 @@ "uri":"dli_02_0038.html", "node_id":"dli_02_0038.xml", "product_code":"dli", - "code":"111", + "code":"113", "des":"This API is used to query names of all users who can use a specified queue.This API has been deprecated and is not recommended.URI formatGET /v1.0/{project_id}/queues/{qu", "doc_type":"api", "kw":"Querying Queue Users (Deprecated),Permission-related APIs (Deprecated),API Reference", @@ -2448,7 +2492,7 @@ "uri":"dli_02_0039.html", "node_id":"dli_02_0039.xml", "product_code":"dli", - "code":"112", + "code":"114", "des":"This API is used to grant database or table data usage permission to specified users.This API has been deprecated and is not recommended.URI formatPUT /v1.0/{project_id}/", "doc_type":"api", "kw":"Granting Data Permission to Users (Deprecated),Permission-related APIs (Deprecated),API Reference", @@ -2470,7 +2514,7 @@ "uri":"dli_02_0040.html", "node_id":"dli_02_0040.xml", "product_code":"dli", - "code":"113", + "code":"115", "des":"This API is used query names of all users who have permission to use or access the database.This API has been deprecated and is not recommended.URI formatGET /v1.0/{proje", "doc_type":"api", "kw":"Querying Database Users (Deprecated),Permission-related APIs (Deprecated),API Reference", @@ -2492,7 +2536,7 @@ "uri":"dli_02_0041.html", "node_id":"dli_02_0041.xml", "product_code":"dli", - "code":"114", + "code":"116", "des":"This API is used to query users who have permission to access the specified table or column in the table.This API has been deprecated and is not recommended.URI formatGET", "doc_type":"api", "kw":"Querying Table Users (Deprecated),Permission-related APIs (Deprecated),API Reference", @@ -2514,7 +2558,7 @@ "uri":"dli_02_0042.html", "node_id":"dli_02_0042.xml", "product_code":"dli", - "code":"115", + "code":"117", "des":"This API is used to query the permission of a specified user on a table.This API has been deprecated and is not recommended.URI formatGET /v1.0/{project_id}/databases/{da", "doc_type":"api", "kw":"Querying a User's Table Permissions (Deprecated),Permission-related APIs (Deprecated),API Reference", @@ -2536,7 +2580,7 @@ "uri":"dli_02_0361.html", "node_id":"dli_02_0361.xml", "product_code":"dli", - "code":"116", + "code":"118", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Queue-related APIs (Deprecated)", @@ -2558,7 +2602,7 @@ "uri":"dli_02_0291.html", "node_id":"dli_02_0291.xml", "product_code":"dli", - "code":"117", + "code":"119", "des":"This API is used to create a scheduled CU change, that is, to create a scheduled CU change for a specified queue.This API has been deprecated and is not recommended.URI f", "doc_type":"api", "kw":"Creating a Scheduled CU Change (Deprecated),Queue-related APIs (Deprecated),API Reference", @@ -2580,7 +2624,7 @@ "uri":"dli_02_0292.html", "node_id":"dli_02_0292.xml", "product_code":"dli", - "code":"118", + "code":"120", "des":"This API is used to query the scheduled CU changes and list the changes of a specified queue.This API has been deprecated and is not recommended.URI formatGET /v1/{projec", "doc_type":"api", "kw":"Viewing a Scheduled CU Change (Deprecated),Queue-related APIs (Deprecated),API Reference", @@ -2602,7 +2646,7 @@ "uri":"dli_02_0293.html", "node_id":"dli_02_0293.xml", "product_code":"dli", - "code":"119", + "code":"121", "des":"This API is used to delete scheduled CU changes in batches.This API has been deprecated and is not recommended.URI formatPOST /v1/{project_id}/queues/{queue_name}/plans/b", "doc_type":"api", "kw":"Deleting Scheduled CU Changes in Batches (Deprecated),Queue-related APIs (Deprecated),API Reference", @@ -2624,7 +2668,7 @@ "uri":"dli_02_0294.html", "node_id":"dli_02_0294.xml", "product_code":"dli", - "code":"120", + "code":"122", "des":"This API is used to delete a scheduled CU change for a queue with a specified ID.This API has been deprecated and is not recommended.URI formatDELETE /v1/{project_id}/que", "doc_type":"api", "kw":"Deleting a Scheduled CU Change (Deprecated),Queue-related APIs (Deprecated),API Reference", @@ -2646,7 +2690,7 @@ "uri":"dli_02_0295.html", "node_id":"dli_02_0295.xml", "product_code":"dli", - "code":"121", + "code":"123", "des":"This API is used to modify a scheduled CU change for a queue with a specified ID.This API has been deprecated and is not recommended.URI formatPUT /v1/{project_id}/queues", "doc_type":"api", "kw":"Modifying a Scheduled CU Change (Deprecated),Queue-related APIs (Deprecated),API Reference", @@ -2668,7 +2712,7 @@ "uri":"dli_02_0333.html", "node_id":"dli_02_0333.xml", "product_code":"dli", - "code":"122", + "code":"124", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Flink Job-related APIs (Deprecated)", @@ -2690,7 +2734,7 @@ "uri":"dli_02_0238.html", "node_id":"dli_02_0238.xml", "product_code":"dli", - "code":"123", + "code":"125", "des":"This API is used to query job monitoring information. You can query monitoring information about multiple jobs at the same time.This API has been deprecated and is not re", "doc_type":"api", "kw":"Querying Job Monitoring Information (Deprecated),Flink Job-related APIs (Deprecated),API Reference", @@ -2712,7 +2756,7 @@ "uri":"dli_02_0225.html", "node_id":"dli_02_0225.xml", "product_code":"dli", - "code":"124", + "code":"126", "des":"This API is used to grant DLI the permission to access OBS buckets for saving job checkpoints and run logs.This API has been deprecated and is not recommended.URI formatP", "doc_type":"api", "kw":"Authorizing DLI to Access OBS (Deprecated),Flink Job-related APIs (Deprecated),API Reference", @@ -2734,7 +2778,7 @@ "uri":"dli_02_0011.html", "node_id":"dli_02_0011.xml", "product_code":"dli", - "code":"125", + "code":"127", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Public Parameters", @@ -2756,7 +2800,7 @@ "uri":"dli_02_0012.html", "node_id":"dli_02_0012.xml", "product_code":"dli", - "code":"126", + "code":"128", "des":"Table 1 describes status codes.", "doc_type":"api", "kw":"Status Codes,Public Parameters,API Reference", @@ -2778,7 +2822,7 @@ "uri":"dli_02_0056.html", "node_id":"dli_02_0056.xml", "product_code":"dli", - "code":"127", + "code":"129", "des":"If an error occurs in API calling, no result is returned. Identify the cause of error based on the error codes of each API. If an error occurs in API calling, HTTP status", "doc_type":"api", "kw":"Error Codes,Public Parameters,API Reference", @@ -2800,7 +2844,7 @@ "uri":"dli_02_0183.html", "node_id":"dli_02_0183.xml", "product_code":"dli", - "code":"128", + "code":"130", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Obtaining a Project ID,Public Parameters,API Reference", @@ -2822,7 +2866,7 @@ "uri":"dli_02_0013.html", "node_id":"dli_02_0013.xml", "product_code":"dli", - "code":"129", + "code":"131", "des":"An account ID (domain-id) is required for some URLs when an API is called. To obtain an account ID, perform the following operations:Log in to the management console.Hove", "doc_type":"api", "kw":"Obtaining an Account ID,Public Parameters,API Reference", @@ -2844,7 +2888,7 @@ "uri":"dli_02_00003.html", "node_id":"dli_02_00003.xml", "product_code":"dli", - "code":"130", + "code":"132", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Change History,API Reference", diff --git a/docs/dli/api-ref/CLASS.TXT.json b/docs/dli/api-ref/CLASS.TXT.json index 0878ba251..51a4ddfd7 100644 --- a/docs/dli/api-ref/CLASS.TXT.json +++ b/docs/dli/api-ref/CLASS.TXT.json @@ -12,7 +12,7 @@ "desc":"This section describes the APIs provided by DLI.", "product_code":"dli", "title":"Overview", - "uri":"dli_02_0181.html", + "uri":"dli_02_0100.html", "doc_type":"api", "p_code":"", "code":"2" @@ -66,7 +66,7 @@ "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"dli", "title":"Permission-related APIs", - "uri":"dli_02_0036.html", + "uri":"dli_02_0181.html", "doc_type":"api", "p_code":"", "code":"8" @@ -206,6 +206,24 @@ "p_code":"15", "code":"23" }, + { + "desc":"This API is used to create a datasource connection route.URI formatPOST /v3/{project_id}/datasource/enhanced-connections/{connection_id}/routesPOST /v3/{project_id}/datas", + "product_code":"dli", + "title":"Creating a Route", + "uri":"dli_02_0371.html", + "doc_type":"api", + "p_code":"15", + "code":"24" + }, + { + "desc":"This API is used to delete a datasource connection route.URI formatDELETE /v3/{project_id}/datasource/enhanced-connections/{connection_id}/routes/{name}DELETE /v3/{projec", + "product_code":"dli", + "title":"Deleting a Route", + "uri":"dli_02_0372.html", + "doc_type":"api", + "p_code":"15", + "code":"25" + }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"dli", @@ -213,7 +231,7 @@ "uri":"dli_02_0325.html", "doc_type":"api", "p_code":"", - "code":"24" + "code":"26" }, { "desc":"This API is used to create elastic resource pools.URI formatPOST /v3/{project_id}/elastic-resource-poolsPOST /v3/{project_id}/elastic-resource-poolsParameter descriptionU", @@ -221,8 +239,8 @@ "title":"Creating an Elastic Resource Pool", "uri":"dli_02_0326.html", "doc_type":"api", - "p_code":"24", - "code":"25" + "p_code":"26", + "code":"27" }, { "desc":"This API is used to query all elastic resource pools.URI formatGET /v3/{project_id}/elastic-resource-poolsGET /v3/{project_id}/elastic-resource-poolsParameter description", @@ -230,8 +248,8 @@ "title":"Querying All Elastic Resource Pools", "uri":"dli_02_0327.html", "doc_type":"api", - "p_code":"24", - "code":"26" + "p_code":"26", + "code":"28" }, { "desc":"This API is used to delete an elastic resource pool.URI formatDELETE /v3/{project_id}/elastic-resource-pools/{elastic_resource_pool_name}DELETE /v3/{project_id}/elastic-r", @@ -239,8 +257,8 @@ "title":"Deleting an Elastic Resource Pool", "uri":"dli_02_0328.html", "doc_type":"api", - "p_code":"24", - "code":"27" + "p_code":"26", + "code":"29" }, { "desc":"This API is used to modify elastic resource pool information.URI formatPUT /v3/{project_id}/elastic-resource-pools/{elastic_resource_pool_name}PUT /v3/{project_id}/elasti", @@ -248,8 +266,8 @@ "title":"Modifying Elastic Resource Pool Information", "uri":"dli_02_0329.html", "doc_type":"api", - "p_code":"24", - "code":"28" + "p_code":"26", + "code":"30" }, { "desc":"This API is used to query all queues in an elastic resource pool.URI formatGET /v3/{project_id}/elastic-resource-pools/{elastic_resource_pool_name}/queuesGET /v3/{project", @@ -257,8 +275,8 @@ "title":"Querying All Queues in an Elastic Resource Pool", "uri":"dli_02_0330.html", "doc_type":"api", - "p_code":"24", - "code":"29" + "p_code":"26", + "code":"31" }, { "desc":"This API is used to associate a queue with an elastic resource pool.URI formatPOST /v3/{project_id}/elastic-resource-pools/{elastic_resource_pool_name}/queuesPOST /v3/{pr", @@ -266,8 +284,8 @@ "title":"Associating a Queue with an Elastic Resource Pool", "uri":"dli_02_0331.html", "doc_type":"api", - "p_code":"24", - "code":"30" + "p_code":"26", + "code":"32" }, { "desc":"This API is used to view scaling history of an elastic resource pool.GET /v3/{project_id}/elastic-resource-pools/{elastic_resource_pool_name}/scale-recordsNoneThe followi", @@ -275,8 +293,8 @@ "title":"Viewing Scaling History of an Elastic Resource Pool", "uri":"dli_02_0336.html", "doc_type":"api", - "p_code":"24", - "code":"31" + "p_code":"26", + "code":"33" }, { "desc":"This API is used to modify the scaling policy of a queue associated with an elastic resource pool.URI formatPUT /v3/{project_id}/elastic-resource-pools/{elastic_resource_", @@ -284,8 +302,8 @@ "title":"Modifying the Scaling Policy of a Queue Associated with an Elastic Resource Pool", "uri":"dli_02_0332.html", "doc_type":"api", - "p_code":"24", - "code":"32" + "p_code":"26", + "code":"34" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -294,7 +312,7 @@ "uri":"dli_02_0193.html", "doc_type":"api", "p_code":"", - "code":"33" + "code":"35" }, { "desc":"This API is used to create a queue. The queue will be bound to specified compute resources.It takes 5 to 15 minutes to start a job using a new queue for the first time.UR", @@ -302,8 +320,8 @@ "title":"Creating a Queue", "uri":"dli_02_0194.html", "doc_type":"api", - "p_code":"33", - "code":"34" + "p_code":"35", + "code":"36" }, { "desc":"This API is used to delete a specified queue.If a task is being executed in a specified queue, the queue cannot be deleted.URI formatDELETE /v1.0/{project_id}/queues/{que", @@ -311,35 +329,35 @@ "title":"Deleting a Queue", "uri":"dli_02_0195.html", "doc_type":"api", - "p_code":"33", - "code":"35" + "p_code":"35", + "code":"37" }, { - "desc":"This API is used to list all queues under the project.URI formatGET/v1.0/{project_id}/queuesGET/v1.0/{project_id}/queuesParameter descriptionURI parameterParameterMandato", + "desc":"This API is used to list all queues under the project.URI formatGET /v1.0/{project_id}/queuesGET /v1.0/{project_id}/queuesParameter descriptionsURI parameterParameterMand", "product_code":"dli", "title":"Querying All Queues", "uri":"dli_02_0196.html", "doc_type":"api", - "p_code":"33", - "code":"36" + "p_code":"35", + "code":"38" }, { "desc":"This API is used to list details of a specific queue in a project.URI formatGET /v1.0/{project_id}/queues/{queue_name}GET /v1.0/{project_id}/queues/{queue_name}Parameter ", "product_code":"dli", - "title":"Viewing Details of a Queue", + "title":"Querying Queue Details", "uri":"dli_02_0016.html", "doc_type":"api", - "p_code":"33", - "code":"37" + "p_code":"35", + "code":"39" }, { - "desc":"This API is used to restart, scale out, and scale in queues.Only SQL queues in the Available status can be restarted. (The queue status is Available only after the SQL jo", + "desc":"This API is used to restart, scale out, and scale in queues.Only SQL queues in the Available state can be restarted. (The queue status is Available only after the SQL job", "product_code":"dli", "title":"Restarting, Scaling Out, and Scaling In Queues", "uri":"dli_02_0249.html", "doc_type":"api", - "p_code":"33", - "code":"38" + "p_code":"35", + "code":"40" }, { "desc":"This API is used to send an address connectivity test request to a specified queue and insert the test address into the table.URI formatPOST /v1.0/{project_id}/queues/{qu", @@ -347,8 +365,8 @@ "title":"Creating an Address Connectivity Test Request", "uri":"dli_02_0284.html", "doc_type":"api", - "p_code":"33", - "code":"39" + "p_code":"35", + "code":"41" }, { "desc":"This API is used to query the connectivity test result after the test is submitted.URI formatGET /v1.0/{project_id}/queues/{queue_name}/connection-test/{task_id}GET /v1.0", @@ -356,8 +374,8 @@ "title":"Querying Connectivity Test Details of a Specified Address", "uri":"dli_02_0285.html", "doc_type":"api", - "p_code":"33", - "code":"40" + "p_code":"35", + "code":"42" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -366,7 +384,7 @@ "uri":"dli_02_0158.html", "doc_type":"api", "p_code":"", - "code":"41" + "code":"43" }, { "desc":"This API is used to submit jobs to a queue using SQL statements.The job types support DDL, DCL, IMPORT, QUERY, and INSERT. The IMPORT function is the same as that describ", @@ -374,8 +392,8 @@ "title":"Submitting a SQL Job (Recommended)", "uri":"dli_02_0102.html", "doc_type":"api", - "p_code":"41", - "code":"42" + "p_code":"43", + "code":"44" }, { "desc":"This API is used to cancel a submitted job. If execution of a job completes or fails, this job cannot be canceled.URI formatDELETE /v1.0/{project_id}/jobs/{job_id}DELETE ", @@ -383,8 +401,8 @@ "title":"Canceling a Job (Recommended)", "uri":"dli_02_0104.html", "doc_type":"api", - "p_code":"41", - "code":"43" + "p_code":"43", + "code":"45" }, { "desc":"This API is used to query information about all jobs in the current project.URI formatGET /v1.0/{project_id}/jobsGET /v1.0/{project_id}/jobsParameter descriptionURI param", @@ -392,8 +410,8 @@ "title":"Querying All Jobs", "uri":"dli_02_0025.html", "doc_type":"api", - "p_code":"41", - "code":"44" + "p_code":"43", + "code":"46" }, { "desc":"This API is used to view the job execution result after a job is executed using SQL query statements. Currently, you can only query execution results of jobs of the QUERY", @@ -401,8 +419,8 @@ "title":"Previewing SQL Job Query Results", "uri":"dli_02_0312.html", "doc_type":"api", - "p_code":"41", - "code":"45" + "p_code":"43", + "code":"47" }, { "desc":"This API is used to export results returned from the query using SQL statements to OBS. Only the query result of QUERY jobs can be exported.This API is asynchronous.Curre", @@ -410,8 +428,8 @@ "title":"Exporting Query Results", "uri":"dli_02_0024.html", "doc_type":"api", - "p_code":"41", - "code":"46" + "p_code":"43", + "code":"48" }, { "desc":"This API is used to query the status of a submitted job.URI formatGET /v1.0/{project_id}/jobs/{job_id}/statusGET /v1.0/{project_id}/jobs/{job_id}/statusParameter descript", @@ -419,26 +437,26 @@ "title":"Querying Job Status", "uri":"dli_02_0021.html", "doc_type":"api", - "p_code":"41", - "code":"47" + "p_code":"43", + "code":"49" }, { - "desc":"This API is used to query details about jobs, including databasename, tablename, file size, and export mode.URI formatGET/v1.0/{project_id}/jobs/{job_id}/detailGET/v1.0/{", + "desc":"This API is used to query details about jobs, including databasename, tablename, file size, and export mode.URI formatGET /v1.0/{project_id}/jobs/{job_id}/detailGET /v1.0", "product_code":"dli", "title":"Querying Job Details", "uri":"dli_02_0022.html", "doc_type":"api", - "p_code":"41", - "code":"48" + "p_code":"43", + "code":"50" }, { - "desc":"This API is used to check the SQL syntax.URI formatPOST /v1.0/{project_id}/jobs/check-sqlPOST /v1.0/{project_id}/jobs/check-sqlParameter descriptionURI parameterParameter", + "desc":"This API is used to check the SQL syntax.URI formatPOST /v1.0/{project_id}/jobs/check-sqlPOST /v1.0/{project_id}/jobs/check-sqlParameter descriptionsURI parameterParamete", "product_code":"dli", "title":"Checking SQL Syntax", "uri":"dli_02_0107.html", "doc_type":"api", - "p_code":"41", - "code":"49" + "p_code":"43", + "code":"51" }, { "desc":"This API is used to obtain the job execution progress. If a job is being executed, information about its subjobs can be obtained. If a job has just started or has ended, ", @@ -446,8 +464,8 @@ "title":"Querying the Job Execution Progress", "uri":"dli_02_0296.html", "doc_type":"api", - "p_code":"41", - "code":"50" + "p_code":"43", + "code":"52" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -456,7 +474,7 @@ "uri":"dli_02_0223.html", "doc_type":"api", "p_code":"", - "code":"51" + "code":"53" }, { "desc":"This API is used to create a Flink streaming SQL job.URI formatPOST /v1.0/{project_id}/streaming/sql-jobsPOST /v1.0/{project_id}/streaming/sql-jobsParameter descriptionUR", @@ -464,8 +482,8 @@ "title":"Creating a SQL Job", "uri":"dli_02_0228.html", "doc_type":"api", - "p_code":"51", - "code":"52" + "p_code":"53", + "code":"54" }, { "desc":"This API is used to modify a Flink SQL job.URI formatPUT /v1.0/{project_id}/streaming/sql-jobs/{job_id}PUT /v1.0/{project_id}/streaming/sql-jobs/{job_id}Parameter descrip", @@ -473,17 +491,17 @@ "title":"Updating a SQL Job", "uri":"dli_02_0229.html", "doc_type":"api", - "p_code":"51", - "code":"53" + "p_code":"53", + "code":"55" }, { "desc":"This API is used to create custom jobs, which currently support the JAR format and run in dedicated queues.URI formatPOST /v1.0/{project_id}/streaming/flink-jobsPOST /v1.", "product_code":"dli", - "title":"Creating a Flink Jar job", + "title":"Creating a Flink Jar Job", "uri":"dli_02_0230.html", "doc_type":"api", - "p_code":"51", - "code":"54" + "p_code":"53", + "code":"56" }, { "desc":"This API is used to update custom jobs, which currently support the JAR format and run in dedicated queues.URI formatPUT /v1.0/{project_id}/streaming/flink-jobs/{job_id}P", @@ -491,17 +509,17 @@ "title":"Updating a Flink Jar Job", "uri":"dli_02_0231.html", "doc_type":"api", - "p_code":"51", - "code":"55" + "p_code":"53", + "code":"57" }, { "desc":"This API is used to trigger batch job running.URI formatPOST /v1.0/{project_id}/streaming/jobs/runPOST /v1.0/{project_id}/streaming/jobs/runParameter descriptionURI param", "product_code":"dli", - "title":"Running Jobs in Batches", + "title":"Batch Running Jobs", "uri":"dli_02_0233.html", "doc_type":"api", - "p_code":"51", - "code":"56" + "p_code":"53", + "code":"58" }, { "desc":"This API is used to list the current user's jobs. You can set the job ID as the ID and query jobs whose IDs are greater than or less than the ID. You can also query jobs ", @@ -509,8 +527,8 @@ "title":"Listing Jobs", "uri":"dli_02_0234.html", "doc_type":"api", - "p_code":"51", - "code":"57" + "p_code":"53", + "code":"59" }, { "desc":"This API is used to query details of a job.URI formatGET /v1.0/{project_id}/streaming/jobs/{job_id}GET /v1.0/{project_id}/streaming/jobs/{job_id}Parameter descriptionURI ", @@ -518,8 +536,8 @@ "title":"Querying Job Details", "uri":"dli_02_0235.html", "doc_type":"api", - "p_code":"51", - "code":"58" + "p_code":"53", + "code":"60" }, { "desc":"This API is used to query a job execution plan.URI formatGET /v1.0/{project_id}/streaming/jobs/{job_id}/execute-graphGET /v1.0/{project_id}/streaming/jobs/{job_id}/execut", @@ -527,35 +545,35 @@ "title":"Querying the Job Execution Plan", "uri":"dli_02_0236.html", "doc_type":"api", - "p_code":"51", - "code":"59" + "p_code":"53", + "code":"61" }, { "desc":"This API is used to stop running jobs in batches.URI formatPOST /v1.0/{project_id}/streaming/jobs/stopPOST /v1.0/{project_id}/streaming/jobs/stopParameter descriptionURI ", "product_code":"dli", - "title":"Stopping Jobs in Batches", + "title":"Batch Stopping Jobs", "uri":"dli_02_0241.html", "doc_type":"api", - "p_code":"51", - "code":"60" + "p_code":"53", + "code":"62" }, { - "desc":"This API is used to delete a Flink job at any state.The job records will not be deleted.URI formatDELETE /v1.0/{project_id}/streaming/jobs/{job_id}DELETE /v1.0/{project_i", + "desc":"This API is used to delete a Flink job in any state.The job records will not be deleted.URI formatDELETE /v1.0/{project_id}/streaming/jobs/{job_id}DELETE /v1.0/{project_i", "product_code":"dli", "title":"Deleting a Job", "uri":"dli_02_0242.html", "doc_type":"api", - "p_code":"51", - "code":"61" + "p_code":"53", + "code":"63" }, { - "desc":"This API is used to batch delete jobs at any state.URI formatPOST /v1.0/{project_id}/streaming/jobs/deletePOST /v1.0/{project_id}/streaming/jobs/deleteParameter descripti", + "desc":"This API is used to batch delete jobs in any state.URI formatPOST /v1.0/{project_id}/streaming/jobs/deletePOST /v1.0/{project_id}/streaming/jobs/deleteParameter descripti", "product_code":"dli", - "title":"Deleting Jobs in Batches", + "title":"Batch Deleting Jobs", "uri":"dli_02_0243.html", "doc_type":"api", - "p_code":"51", - "code":"62" + "p_code":"53", + "code":"64" }, { "desc":"This API is used to export Flink job data.URI formatPOST /v1.0/{project_id}/streaming/jobs/exportPOST /v1.0/{project_id}/streaming/jobs/exportParameter descriptionURI par", @@ -563,8 +581,8 @@ "title":"Exporting a Flink Job", "uri":"dli_02_0254.html", "doc_type":"api", - "p_code":"51", - "code":"63" + "p_code":"53", + "code":"65" }, { "desc":"This API is used to import Flink job data.URI formatPOST /v1.0/{project_id}/streaming/jobs/importPOST /v1.0/{project_id}/streaming/jobs/importParameter descriptionURI par", @@ -572,8 +590,8 @@ "title":"Importing a Flink Job", "uri":"dli_02_0255.html", "doc_type":"api", - "p_code":"51", - "code":"64" + "p_code":"53", + "code":"66" }, { "desc":"This API is used to generate a static stream graph for a Flink SQL job.Flink 1.15 does not support the generation of static stream graphs.URI formatPOST /v3/{project_id}/", @@ -581,8 +599,8 @@ "title":"Generating a Static Stream Graph for a Flink SQL Job", "uri":"dli_02_0316.html", "doc_type":"api", - "p_code":"51", - "code":"65" + "p_code":"53", + "code":"67" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -591,7 +609,7 @@ "uri":"dli_02_0244.html", "doc_type":"api", "p_code":"", - "code":"66" + "code":"68" }, { "desc":"This API is used to create a user template for the DLI service. A maximum of 100 user templates can be created.URI formatPOST /v1.0/{project_id}/streaming/job-templatesPO", @@ -599,8 +617,8 @@ "title":"Creating a Template", "uri":"dli_02_0245.html", "doc_type":"api", - "p_code":"66", - "code":"67" + "p_code":"68", + "code":"69" }, { "desc":"This API is used to update existing templates in DLI.URI formatPUT /v1.0/{project_id}/streaming/job-templates/{template_id}PUT /v1.0/{project_id}/streaming/job-templates/", @@ -608,8 +626,8 @@ "title":"Updating a Template", "uri":"dli_02_0246.html", "doc_type":"api", - "p_code":"66", - "code":"68" + "p_code":"68", + "code":"70" }, { "desc":"This API is used to delete a template. A template used by jobs can also be deleted.URI formatDELETE /v1.0/{project_id}/streaming/job-templates/{template_id}DELETE /v1.0/{", @@ -617,8 +635,8 @@ "title":"Deleting a Template", "uri":"dli_02_0247.html", "doc_type":"api", - "p_code":"66", - "code":"69" + "p_code":"68", + "code":"71" }, { "desc":"This API is used to list job templates. Currently, only custom templates can be queried.URI formatGET /v1.0/{project_id}/streaming/job-templatesGET /v1.0/{project_id}/str", @@ -626,8 +644,8 @@ "title":"Listing Templates", "uri":"dli_02_0248.html", "doc_type":"api", - "p_code":"66", - "code":"70" + "p_code":"68", + "code":"72" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -636,16 +654,16 @@ "uri":"dli_02_0109.html", "doc_type":"api", "p_code":"", - "code":"71" + "code":"73" }, { - "desc":"This API is used to create a batch processing job in a queue.URI formatPOST /v2.0/{project_id}/batchesPOST /v2.0/{project_id}/batchesParameter descriptionURI parameterPar", + "desc":"This API is used to create a batch processing job in a queue.During the Spark job submission process, if the job fails to acquire resources successfully for an extended p", "product_code":"dli", "title":"Creating a Batch Processing Job", "uri":"dli_02_0124.html", "doc_type":"api", - "p_code":"71", - "code":"72" + "p_code":"73", + "code":"74" }, { "desc":"This API is used to list batch processing jobs in a queue of a project.URI formatGET /v2.0/{project_id}/batchesGET /v2.0/{project_id}/batchesParameter descriptionURI para", @@ -653,26 +671,26 @@ "title":"Listing Batch Processing Jobs", "uri":"dli_02_0125.html", "doc_type":"api", - "p_code":"71", - "code":"73" + "p_code":"73", + "code":"75" }, { "desc":"This API is used to query details about a batch processing job based on the job ID.URI formatGET /v2.0/{project_id}/batches/{batch_id}GET /v2.0/{project_id}/batches/{batc", "product_code":"dli", - "title":"Querying Batch Job Details", + "title":"Querying Batch Processing Job Details", "uri":"dli_02_0126.html", "doc_type":"api", - "p_code":"71", - "code":"74" + "p_code":"73", + "code":"76" }, { "desc":"This API is used to obtain the execution status of a batch processing job.URI formatGET /v2.0/{project_id}/batches/{batch_id}/stateGET /v2.0/{project_id}/batches/{batch_i", "product_code":"dli", - "title":"Querying a Batch Job Status", + "title":"Querying a Batch Processing Job Status", "uri":"dli_02_0127.html", "doc_type":"api", - "p_code":"71", - "code":"75" + "p_code":"73", + "code":"77" }, { "desc":"This API is used to cancel a batch processing job.Batch processing jobs in the Successful or Failed state cannot be canceled.URI formatDELETE /v2.0/{project_id}/batches/{", @@ -680,8 +698,8 @@ "title":"Canceling a Batch Processing Job", "uri":"dli_02_0129.html", "doc_type":"api", - "p_code":"71", - "code":"76" + "p_code":"73", + "code":"78" }, { "desc":"This section describes fine-grained permissions management for your DLI. If your account does not need individual IAM users, then you may skip this section.By default, ne", @@ -690,7 +708,7 @@ "uri":"dli_02_0201.html", "doc_type":"api", "p_code":"", - "code":"77" + "code":"79" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -699,7 +717,7 @@ "uri":"dli_02_0300.html", "doc_type":"api", "p_code":"", - "code":"78" + "code":"80" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -707,8 +725,8 @@ "title":"Agency-related APIs (Deprecated)", "uri":"dli_02_0297.html", "doc_type":"api", - "p_code":"78", - "code":"79" + "p_code":"80", + "code":"81" }, { "desc":"This API is used to obtain the agency information of a DLI user.This API has been deprecated and is not recommended.URI formatGET /v2/{project_id}/agencyGET /v2/{project_", @@ -716,8 +734,8 @@ "title":"Obtaining DLI Agency Information (Deprecated)", "uri":"dli_02_0298.html", "doc_type":"api", - "p_code":"79", - "code":"80" + "p_code":"81", + "code":"82" }, { "desc":"This API is used to create an agency for a DLI user.This API has been deprecated and is not recommended.URI formatPOST /v2/{project_id}/agencyPOST /v2/{project_id}/agency", @@ -725,8 +743,8 @@ "title":"Creating a DLI Agency (Deprecated)", "uri":"dli_02_0299.html", "doc_type":"api", - "p_code":"79", - "code":"81" + "p_code":"81", + "code":"83" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -734,35 +752,35 @@ "title":"Package Group-related APIs (Deprecated)", "uri":"dli_02_0166.html", "doc_type":"api", - "p_code":"78", - "code":"82" + "p_code":"80", + "code":"84" }, { - "desc":"This API is used to upload a package group to a project. The function is similar to creating a package on the management console.This API has been deprecated and is not r", + "desc":"This API is used to upload a package group to a project. The function is similar to creating a package on the management console.This API is deprecated for Flink 1.15 or ", "product_code":"dli", "title":"Uploading a Package Group (Deprecated)", "uri":"dli_02_0130.html", "doc_type":"api", - "p_code":"82", - "code":"83" + "p_code":"84", + "code":"85" }, { - "desc":"This API is used to query all resources in a project, including groups.This API has been deprecated and is not recommended.URI formatGET /v2.0/{project_id}/resourcesGET /", + "desc":"This API is used to query all resources in a project, including groups.This API is deprecated for Flink 1.15 or later and Spark 3.3.1 or later, and its use is not recomme", "product_code":"dli", "title":"Listing Package Groups (Deprecated)", "uri":"dli_02_0168.html", "doc_type":"api", - "p_code":"82", - "code":"84" + "p_code":"84", + "code":"86" }, { - "desc":"This API is used to upload a group of JAR packages to a project.When a resource group with the same name is uploaded, the new group overwrites the old group.This API has ", + "desc":"This API is used to upload a group of JAR packages to a project.When a resource group with the same name is uploaded, the new group overwrites the old group.This API is d", "product_code":"dli", "title":"Uploading a JAR Package Group (Deprecated)", "uri":"dli_02_0169.html", "doc_type":"api", - "p_code":"82", - "code":"85" + "p_code":"84", + "code":"87" }, { "desc":"This API is used to upload a group of PyFile packages to a project. When a group with the same name as the PyFile package is uploaded, the new group overwrites the old gr", @@ -770,8 +788,8 @@ "title":"Uploading a PyFile Package Group (Deprecated)", "uri":"dli_02_0170.html", "doc_type":"api", - "p_code":"82", - "code":"86" + "p_code":"84", + "code":"88" }, { "desc":"This API is used to upload a group of File packages to a project. When the File package group with the same name is uploaded, the new group overwrites the old group.This ", @@ -779,35 +797,35 @@ "title":"Uploading a File Package Group (Deprecated)", "uri":"dli_02_0171.html", "doc_type":"api", - "p_code":"82", - "code":"87" + "p_code":"84", + "code":"89" }, { - "desc":"This API is used to query resource information of a package group in a Project.This API has been deprecated and is not recommended.URI formatGET /v2.0/{project_id}/resour", + "desc":"This API is used to query resource information of a package group in a Project.This API is deprecated for Flink 1.15 or later and Spark 3.3.1 or later, and its use is not", "product_code":"dli", "title":"Querying Resource Packages in a Group (Deprecated)", "uri":"dli_02_0172.html", "doc_type":"api", - "p_code":"82", - "code":"88" + "p_code":"84", + "code":"90" }, { - "desc":"This API is used to delete resource packages in a group in a Project.This API has been deprecated and is not recommended.URI formatDELETE /v2.0/{project_id}/resources/{re", + "desc":"This API is used to delete resource packages in a group in a Project.This API is deprecated for Flink 1.15 or later and Spark 3.3.1 or later, and its use is not recommend", "product_code":"dli", "title":"Deleting a Resource Package from a Group (Deprecated)", "uri":"dli_02_0173.html", "doc_type":"api", - "p_code":"82", - "code":"89" + "p_code":"84", + "code":"91" }, { - "desc":"This API is used to change the owner of a program package.This API has been deprecated and is not recommended.URI formatPUT /v2.0/{project_id}/resources/ownerPUT /v2.0/{p", + "desc":"This API is used to change the owner of a program package.This API is deprecated for Flink 1.15 or later and Spark 3.3.1 or later, and its use is not recommended.URI form", "product_code":"dli", "title":"Changing the Owner of a Group or Resource Package (Deprecated)", "uri":"dli_02_0253.html", "doc_type":"api", - "p_code":"82", - "code":"90" + "p_code":"84", + "code":"92" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -815,8 +833,8 @@ "title":"Spark Batch Processing-related APIs (Deprecated)", "uri":"dli_02_0359.html", "doc_type":"api", - "p_code":"78", - "code":"91" + "p_code":"80", + "code":"93" }, { "desc":"This API is used to query the back-end logs of batch processing jobs.This API has been deprecated and is not recommended.URI formatGET /v2.0/{project_id}/batches/{batch_i", @@ -824,8 +842,8 @@ "title":"Querying Batch Job Logs (Deprecated)", "uri":"dli_02_0128.html", "doc_type":"api", - "p_code":"91", - "code":"92" + "p_code":"93", + "code":"94" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -833,8 +851,8 @@ "title":"SQL Job-related APIs (Deprecated)", "uri":"dli_02_0360.html", "doc_type":"api", - "p_code":"78", - "code":"93" + "p_code":"80", + "code":"95" }, { "desc":"This API is used to import data from a file to a DLI or OBS table. Currently, only OBS data can be imported to a DLI or OBS table.This API has been deprecated and is not ", @@ -842,8 +860,8 @@ "title":"Importing Data (Deprecated)", "uri":"dli_02_0019.html", "doc_type":"api", - "p_code":"93", - "code":"94" + "p_code":"95", + "code":"96" }, { "desc":"This API is used to export data from a DLI table to a file.This API is asynchronous.Currently, data can be exported only from a DLI table to OBS, and the OBS path must be", @@ -851,8 +869,8 @@ "title":"Exporting Data (Deprecated)", "uri":"dli_02_0020.html", "doc_type":"api", - "p_code":"93", - "code":"95" + "p_code":"95", + "code":"97" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -860,8 +878,8 @@ "title":"Resource-related APIs (Deprecated)", "uri":"dli_02_0356.html", "doc_type":"api", - "p_code":"78", - "code":"96" + "p_code":"80", + "code":"98" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -869,8 +887,8 @@ "title":"Database-related APIs (Deprecated)", "uri":"dli_02_0027.html", "doc_type":"api", - "p_code":"96", - "code":"97" + "p_code":"98", + "code":"99" }, { "desc":"This API is used to add a database.This API has been deprecated and is not recommended.URI formatPOST /v1.0/{project_id}/databasesPOST /v1.0/{project_id}/databasesParamet", @@ -878,8 +896,8 @@ "title":"Creating a Database (Deprecated)", "uri":"dli_02_0028.html", "doc_type":"api", - "p_code":"97", - "code":"98" + "p_code":"99", + "code":"100" }, { "desc":"This API is used to delete an empty database. If there are tables in the database to be deleted, delete all tables first. For details about the API used to delete tables,", @@ -887,8 +905,8 @@ "title":"Deleting a Database (Deprecated)", "uri":"dli_02_0030.html", "doc_type":"api", - "p_code":"97", - "code":"99" + "p_code":"99", + "code":"101" }, { "desc":"This API is used to query the information about all the databases.This API has been deprecated and is not recommended.URI formatGET /v1.0/{project_id}/databasesGET /v1.0/", @@ -896,8 +914,8 @@ "title":"Querying All Databases (Deprecated)", "uri":"dli_02_0029.html", "doc_type":"api", - "p_code":"97", - "code":"100" + "p_code":"99", + "code":"102" }, { "desc":"This API is used to modify the owner of a database.This API has been deprecated and is not recommended.URI formatPUT /v1.0/{project_id}/databases/{database_name}/ownerPUT", @@ -905,8 +923,8 @@ "title":"Modifying a Database Owner (Deprecated)", "uri":"dli_02_0164.html", "doc_type":"api", - "p_code":"97", - "code":"101" + "p_code":"99", + "code":"103" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -914,8 +932,8 @@ "title":"Table-related APIs (Deprecated)", "uri":"dli_02_0031.html", "doc_type":"api", - "p_code":"96", - "code":"102" + "p_code":"98", + "code":"104" }, { "desc":"This API is used to create a table. This API is a synchronous API.This API has been deprecated and is not recommended.URI formatPOST /v1.0/{project_id}/databases/{databas", @@ -923,8 +941,8 @@ "title":"Creating a Table (Deprecated)", "uri":"dli_02_0034.html", "doc_type":"api", - "p_code":"102", - "code":"103" + "p_code":"104", + "code":"105" }, { "desc":"This API is used to delete a specified table.This API has been deprecated and is not recommended.URI formatDELETE /v1.0/{project_id}/databases/{database_name}/tables/{tab", @@ -932,8 +950,8 @@ "title":"Deleting a Table (Deprecated)", "uri":"dli_02_0035.html", "doc_type":"api", - "p_code":"102", - "code":"104" + "p_code":"104", + "code":"106" }, { "desc":"This API is used to query information about tables that meet the filtering criteria or all the tables in the specified database.This API has been deprecated and is not re", @@ -941,8 +959,8 @@ "title":"Querying All Tables (Deprecated)", "uri":"dli_02_0105.html", "doc_type":"api", - "p_code":"102", - "code":"105" + "p_code":"104", + "code":"107" }, { "desc":"This API is used to describe metadata information in the specified table.This API has been deprecated and is not recommended.URI formatGET /v1.0/{project_id}/databases/{d", @@ -950,8 +968,8 @@ "title":"Describing Table Information (Deprecated)", "uri":"dli_02_0033.html", "doc_type":"api", - "p_code":"102", - "code":"106" + "p_code":"104", + "code":"108" }, { "desc":"This API is used to preview the first 10 rows in a table.This API has been deprecated and is not recommended.URI formatGET /v1.0/{project_id}/databases/{database_name}/ta", @@ -959,8 +977,8 @@ "title":"Previewing Table Content (Deprecated)", "uri":"dli_02_0108.html", "doc_type":"api", - "p_code":"102", - "code":"107" + "p_code":"104", + "code":"109" }, { "desc":"This API is used to list partitions.This API has been deprecated and is not recommended.URI formatGET /v1.0/{project_id}/databases/{database_name}/tables/{table_name}/par", @@ -968,8 +986,8 @@ "title":"Listing Partitions (Deprecated)", "uri":"dli_02_0250.html", "doc_type":"api", - "p_code":"102", - "code":"108" + "p_code":"104", + "code":"110" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -977,8 +995,8 @@ "title":"Permission-related APIs (Deprecated)", "uri":"dli_02_0065.html", "doc_type":"api", - "p_code":"78", - "code":"109" + "p_code":"80", + "code":"111" }, { "desc":"This API is used to share a specific queue with other users. You can grant users with the permission to use the specified queue or revoke the permission.This API has been", @@ -986,8 +1004,8 @@ "title":"Granting Queue Permissions to a User (Deprecated)", "uri":"dli_02_0037.html", "doc_type":"api", - "p_code":"109", - "code":"110" + "p_code":"111", + "code":"112" }, { "desc":"This API is used to query names of all users who can use a specified queue.This API has been deprecated and is not recommended.URI formatGET /v1.0/{project_id}/queues/{qu", @@ -995,8 +1013,8 @@ "title":"Querying Queue Users (Deprecated)", "uri":"dli_02_0038.html", "doc_type":"api", - "p_code":"109", - "code":"111" + "p_code":"111", + "code":"113" }, { "desc":"This API is used to grant database or table data usage permission to specified users.This API has been deprecated and is not recommended.URI formatPUT /v1.0/{project_id}/", @@ -1004,8 +1022,8 @@ "title":"Granting Data Permission to Users (Deprecated)", "uri":"dli_02_0039.html", "doc_type":"api", - "p_code":"109", - "code":"112" + "p_code":"111", + "code":"114" }, { "desc":"This API is used query names of all users who have permission to use or access the database.This API has been deprecated and is not recommended.URI formatGET /v1.0/{proje", @@ -1013,8 +1031,8 @@ "title":"Querying Database Users (Deprecated)", "uri":"dli_02_0040.html", "doc_type":"api", - "p_code":"109", - "code":"113" + "p_code":"111", + "code":"115" }, { "desc":"This API is used to query users who have permission to access the specified table or column in the table.This API has been deprecated and is not recommended.URI formatGET", @@ -1022,8 +1040,8 @@ "title":"Querying Table Users (Deprecated)", "uri":"dli_02_0041.html", "doc_type":"api", - "p_code":"109", - "code":"114" + "p_code":"111", + "code":"116" }, { "desc":"This API is used to query the permission of a specified user on a table.This API has been deprecated and is not recommended.URI formatGET /v1.0/{project_id}/databases/{da", @@ -1031,8 +1049,8 @@ "title":"Querying a User's Table Permissions (Deprecated)", "uri":"dli_02_0042.html", "doc_type":"api", - "p_code":"109", - "code":"115" + "p_code":"111", + "code":"117" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1040,8 +1058,8 @@ "title":"Queue-related APIs (Deprecated)", "uri":"dli_02_0361.html", "doc_type":"api", - "p_code":"78", - "code":"116" + "p_code":"80", + "code":"118" }, { "desc":"This API is used to create a scheduled CU change, that is, to create a scheduled CU change for a specified queue.This API has been deprecated and is not recommended.URI f", @@ -1049,8 +1067,8 @@ "title":"Creating a Scheduled CU Change (Deprecated)", "uri":"dli_02_0291.html", "doc_type":"api", - "p_code":"116", - "code":"117" + "p_code":"118", + "code":"119" }, { "desc":"This API is used to query the scheduled CU changes and list the changes of a specified queue.This API has been deprecated and is not recommended.URI formatGET /v1/{projec", @@ -1058,8 +1076,8 @@ "title":"Viewing a Scheduled CU Change (Deprecated)", "uri":"dli_02_0292.html", "doc_type":"api", - "p_code":"116", - "code":"118" + "p_code":"118", + "code":"120" }, { "desc":"This API is used to delete scheduled CU changes in batches.This API has been deprecated and is not recommended.URI formatPOST /v1/{project_id}/queues/{queue_name}/plans/b", @@ -1067,8 +1085,8 @@ "title":"Deleting Scheduled CU Changes in Batches (Deprecated)", "uri":"dli_02_0293.html", "doc_type":"api", - "p_code":"116", - "code":"119" + "p_code":"118", + "code":"121" }, { "desc":"This API is used to delete a scheduled CU change for a queue with a specified ID.This API has been deprecated and is not recommended.URI formatDELETE /v1/{project_id}/que", @@ -1076,8 +1094,8 @@ "title":"Deleting a Scheduled CU Change (Deprecated)", "uri":"dli_02_0294.html", "doc_type":"api", - "p_code":"116", - "code":"120" + "p_code":"118", + "code":"122" }, { "desc":"This API is used to modify a scheduled CU change for a queue with a specified ID.This API has been deprecated and is not recommended.URI formatPUT /v1/{project_id}/queues", @@ -1085,8 +1103,8 @@ "title":"Modifying a Scheduled CU Change (Deprecated)", "uri":"dli_02_0295.html", "doc_type":"api", - "p_code":"116", - "code":"121" + "p_code":"118", + "code":"123" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1094,8 +1112,8 @@ "title":"Flink Job-related APIs (Deprecated)", "uri":"dli_02_0333.html", "doc_type":"api", - "p_code":"78", - "code":"122" + "p_code":"80", + "code":"124" }, { "desc":"This API is used to query job monitoring information. You can query monitoring information about multiple jobs at the same time.This API has been deprecated and is not re", @@ -1103,8 +1121,8 @@ "title":"Querying Job Monitoring Information (Deprecated)", "uri":"dli_02_0238.html", "doc_type":"api", - "p_code":"122", - "code":"123" + "p_code":"124", + "code":"125" }, { "desc":"This API is used to grant DLI the permission to access OBS buckets for saving job checkpoints and run logs.This API has been deprecated and is not recommended.URI formatP", @@ -1112,8 +1130,8 @@ "title":"Authorizing DLI to Access OBS (Deprecated)", "uri":"dli_02_0225.html", "doc_type":"api", - "p_code":"122", - "code":"124" + "p_code":"124", + "code":"126" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1122,7 +1140,7 @@ "uri":"dli_02_0011.html", "doc_type":"api", "p_code":"", - "code":"125" + "code":"127" }, { "desc":"Table 1 describes status codes.", @@ -1130,8 +1148,8 @@ "title":"Status Codes", "uri":"dli_02_0012.html", "doc_type":"api", - "p_code":"125", - "code":"126" + "p_code":"127", + "code":"128" }, { "desc":"If an error occurs in API calling, no result is returned. Identify the cause of error based on the error codes of each API. If an error occurs in API calling, HTTP status", @@ -1139,8 +1157,8 @@ "title":"Error Codes", "uri":"dli_02_0056.html", "doc_type":"api", - "p_code":"125", - "code":"127" + "p_code":"127", + "code":"129" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1148,8 +1166,8 @@ "title":"Obtaining a Project ID", "uri":"dli_02_0183.html", "doc_type":"api", - "p_code":"125", - "code":"128" + "p_code":"127", + "code":"130" }, { "desc":"An account ID (domain-id) is required for some URLs when an API is called. To obtain an account ID, perform the following operations:Log in to the management console.Hove", @@ -1157,8 +1175,8 @@ "title":"Obtaining an Account ID", "uri":"dli_02_0013.html", "doc_type":"api", - "p_code":"125", - "code":"129" + "p_code":"127", + "code":"131" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1167,6 +1185,6 @@ "uri":"dli_02_00003.html", "doc_type":"api", "p_code":"", - "code":"130" + "code":"132" } ] \ No newline at end of file diff --git a/docs/dli/api-ref/dli_02_00003.html b/docs/dli/api-ref/dli_02_00003.html index 0f81f138a..8df774254 100644 --- a/docs/dli/api-ref/dli_02_00003.html +++ b/docs/dli/api-ref/dli_02_00003.html @@ -2,13 +2,19 @@

Change History

-
Table 1 Change history

Released On

+
- - + + + -
Table 1 Change history

Release Date

What's New

+

Change Description

2025-02-08

+

2025-09-25

+

Modified the following sections:

+ +

2025-02-08

Modified the following sections:

diff --git a/docs/dli/api-ref/dli_02_0012.html b/docs/dli/api-ref/dli_02_0012.html index 899cb4b8a..43c5b6567 100644 --- a/docs/dli/api-ref/dli_02_0012.html +++ b/docs/dli/api-ref/dli_02_0012.html @@ -271,7 +271,7 @@

TooManyRequests

The client sends excessive requests to the server within a given time (exceeding the limit on the access frequency of the client), or the server receives excessive requests within a given time (beyond its processing capability). In this case, the client should resend the request after the time specified in the Retry-After header of the response has elapsed.

+

The client sends excessive requests to the server within a given time (exceeding the limit on the access frequency of the client), or the server receives excessive requests within a given time (beyond its processing capability). In this case, the client should resend the request after the time specified in the Retry-After header of the response has elapsed.

500

diff --git a/docs/dli/api-ref/dli_02_0016.html b/docs/dli/api-ref/dli_02_0016.html index 61653aa88..6355094c7 100644 --- a/docs/dli/api-ref/dli_02_0016.html +++ b/docs/dli/api-ref/dli_02_0016.html @@ -1,10 +1,10 @@ -

Viewing Details of a Queue

+

Querying Queue Details

Function

This API is used to list details of a specific queue in a project.

URI

  • URI format

    GET /v1.0/{project_id}/queues/{queue_name}

    -
  • Parameter description +
  • Parameter descriptions
    - - - - @@ -106,7 +106,7 @@ - - @@ -196,6 +196,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Table 1 URI parameters

    Parameter

    Mandatory

    @@ -21,7 +21,7 @@

    String

    Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

    +

    Project ID, which is used for resource isolation. For how to obtain a project ID, see Obtaining a Project ID.

    queue_name

    @@ -59,7 +59,7 @@

    Boolean

    Indicates whether the request is successfully executed. Value true indicates that the request is successfully executed.

    +

    Indicates whether the request is successfully executed. true indicates that the request is successfully executed.

    message

    @@ -68,7 +68,7 @@

    String

    System prompt. If execution succeeds, the parameter setting may be left blank.

    +

    System prompt. If the execution succeeds, this parameter may be left blank.

    queueName

    @@ -77,7 +77,7 @@

    String

    Name of a queue.

    +

    Queue name.

    NOTE:

    The queue name is case-insensitive. The uppercase letters will be automatically converted to lowercase letters.

    Long

    Time when the queue is created. The timestamp is expressed in milliseconds.

    +

    Time when the queue is created. The timestamp is in milliseconds.

    queueType

    @@ -115,8 +115,8 @@

    String

    Indicates the queue type.

    -
    • sql
    • general
    • all
    +

    Queue type. Options:

    +
    • sql: Queues used to run SQL jobs
    • general: Queues used to run Flink and Spark Jar jobs

    If this parameter is not specified, the default value sql is used.

    Name of the elastic resource pool.

    support_spark_versions

    +

    No

    +

    Array[String]

    +

    Spark version supported by the queue

    +

    default_spark_version

    +

    No

    +

    String

    +

    Default Spark version of the queue

    +

    support_hetu_engine_versions

    +

    No

    +

    Array[String]

    +

    HetuEngine version supported by the queue

    +

    default_hetu_engine_version

    +

    No

    +

    String

    +

    Default HetuEngine version of the queue

    +

    support_flink_sql_versions

    +

    No

    +

    Array[String]

    +

    Flink SQL version supported by the queue

    +

    default_flink_sql_version

    +

    No

    +

    String

    +

    Default Flink SQL version of the queue

    +

    support_flink_jar_versions

    +

    No

    +

    Array[String]

    +

    Flink Jar version supported by the queue

    +

    default_flink_jar_version

    +

    No

    +

    String

    +

    Default Flink Jar version of the queue

    +
    @@ -218,7 +290,7 @@ "cu_spec": 16 }
-

Status Codes

Table 3 describes the status code.

+

Status Codes

Table 3 describes status codes.

@@ -238,14 +310,14 @@ -
Table 3 Status codes

Status Code

500

Internal service error.

+

Internal server error.

-

Error Codes

If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.

+

Error Codes

If an error occurs when this API is called, the system does not return the result similar to the preceding example, but returns an error code and error message. For details, see Error Codes.

diff --git a/docs/dli/api-ref/dli_02_0019.html b/docs/dli/api-ref/dli_02_0019.html index c617c44fd..0c5c85cb2 100644 --- a/docs/dli/api-ref/dli_02_0019.html +++ b/docs/dli/api-ref/dli_02_0019.html @@ -32,7 +32,7 @@
-

Request

+

Request Parameters

Table 2 Request parameters

Parameter

Mandatory

@@ -305,7 +305,7 @@
-

Response

+

Response Parameters

Table 4 Response parameters

Parameter

Mandatory

diff --git a/docs/dli/api-ref/dli_02_0020.html b/docs/dli/api-ref/dli_02_0020.html index 4005836ae..716eb6542 100644 --- a/docs/dli/api-ref/dli_02_0020.html +++ b/docs/dli/api-ref/dli_02_0020.html @@ -3,7 +3,7 @@

Exporting Data (Deprecated)

Function

This API is used to export data from a DLI table to a file.

  • This API is asynchronous.
  • Currently, data can be exported only from a DLI table to OBS, and the OBS path must be specified to the folder level. The OBS path cannot contain commas (,). The OBS bucket name cannot end with the regular expression format .[0-9]+(.*). Specifically, if the bucket name contains dots (.), the last dot (.) cannot be followed by a digit, for example, **.12abc and **.12.
  • Data can be exported across accounts. That is, after account B authorizes account A, account A can export data to the OBS path of account B if account A has the permission to read the metadata and permission information about the OBS bucket of account B and read and write the path.
-

This API has been deprecated and is not recommended.

+

This API has been deprecated and is not recommended.

URI

  • URI format

    POST /v1.0/{project_id}/jobs/export-table

    @@ -32,7 +32,7 @@
-

Request

+

Request Parameters

Table 2 Request parameters

Parameter

Mandatory

@@ -114,14 +114,14 @@

Boolean

Whether to export column names when exporting CSV and JSON data.

-
  • If this parameter is set to true, the column names are exported.
  • If this parameter is set to false, the column names are not exported.
  • If this parameter is left blank, the default value false is used.
+
  • If this parameter is set to true, the column names are exported.
  • If this parameter is set to false, the column names are not exported.
  • If this parameter is left blank, the default value false is used.
-

Response

+

Response Parameters

Table 3 Response parameters

Parameter

Mandatory

diff --git a/docs/dli/api-ref/dli_02_0021.html b/docs/dli/api-ref/dli_02_0021.html index e8234e44e..092789e29 100644 --- a/docs/dli/api-ref/dli_02_0021.html +++ b/docs/dli/api-ref/dli_02_0021.html @@ -5,7 +5,7 @@

URI

  • URI format

    GET /v1.0/{project_id}/jobs/{job_id}/status

-
  • Parameter description +
    • Parameter descriptions
      - - @@ -39,9 +55,9 @@ -

      Request

      None

      +

      Request Parameters

      None

      -

      Response

      +

      Response Parameters

      Table 1 URI parameters

      Parameter

      Mandatory

      @@ -22,7 +22,15 @@

      String

      Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

      +

      Definition

      +

      Project ID, which is used for resource isolation. For how to obtain a project ID, see Obtaining a Project ID.

      +

      Example: 48cc2c48765f481480c7db940d6409d1

      +

      Constraints

      +

      None

      +

      Range

      +

      The value can contain 1 to 64 characters. Only letters and digits are allowed.

      +

      Default Value

      +

      None

      job_id

      @@ -31,7 +39,15 @@

      String

      Job ID.

      +

      Definition

      +

      Job ID. For details about how to obtain a job ID, see Querying Job Details.

      +

      Example: 6d2146a0-c2d5-41bd-8ca0-ca9694ada992

      +

      Constraints

      +

      None

      +

      Range

      +

      The value can contain 1 to 64 characters. Only letters and digits are allowed.

      +

      Default Value

      +

      None

      - - - - - - - - - - - - - - - - - - - - - - + + + + @@ -225,7 +318,10 @@ - - @@ -262,7 +361,7 @@ "statement": "select * from t1" } -

      Status Codes

      Table 4 describes the status code.

      +

      Status Codes

      Table 4 describes status codes.

      Table 2 Response parameters

      Parameter

      Type

      @@ -54,155 +70,232 @@

      Boolean

      Whether the request is successfully executed. Value true indicates that the request is successfully executed.

      +

      Definition

      +

      Whether the request is successfully executed

      +

      Range

      +

      true indicates that the request is successfully executed.

      +

      false indicates that the request fails to be executed.

      message

      String

      System prompt. If execution succeeds, this parameter is left blank.

      +

      Definition

      +

      System prompt. If the execution succeeds, this parameter is left blank.

      +

      Range

      +

      None

      job_id

      String

      Job ID. You can get the value by calling Submitting a SQL Job (Recommended).

      +

      Definition

      +

      Job ID

      +

      Range

      +

      None

      job_type

      String

      Type of a job, Includes DDL, DCL, IMPORT, EXPORT, QUERY, INSERT, DATA_MIGRATION, UPDATE, DELETE, RESTART_QUEUE and SCALE_QUEUE.

      +

      Definition

      +

      Job type

      +

      Range

      +

      Options: DDL, DCL, IMPORT, EXPORT, QUERY, INSERT, DATA_MIGRATION, UPDATE, DELETE, RESTART_QUEUE, and SCALE_QUEUE.

      +
      • DDL: jobs that create, modify, and delete metadata files
      • DCL: jobs that grant and revoke permissions
      • IMPORT: jobs that import external data into the database
      • EXPORT: jobs that export data to an external database
      • QUERY: jobs that run query statements
      • INSERT: jobs that add new data to tables
      • DATA_MIGRATION: jobs that migrate data across sources
      • UPDATE: jobs that update table data
      • DELETE: jobs that delete data from specified tables
      • RESTART_QUEUE: jobs that restart specified queues
      • SCALE_QUEUE: jobs that scale in or out specified queues

      job_mode

      String

      Job execution mode. The options are as follows:

      -
      • async: asynchronous
      • sync: synchronous
      +

      Definition

      +

      Job execution mode

      +

      Range

      +
      • async: asynchronous
      • sync: synchronous

      queue_name

      String

      Name of the queue where the job is submitted.

      +

      Definition

      +

      Name of the queue where the job is submitted

      +

      Range

      +

      None

      owner

      String

      User who submits a job.

      +

      Definition

      +

      User who submits a job

      +

      Range

      +

      None

      start_time

      Long

      Time when a job is started. The timestamp is in milliseconds.

      +

      Definition

      +

      Time when a job is started. The timestamp is in milliseconds.

      +

      Range

      +

      None

      duration

      Long

      Job running duration (unit: millisecond).

      +

      Definition

      +

      Job running duration, in milliseconds.

      +

      Range

      +

      None

      status

      String

      Status of a job, including RUNNING, SCALING, LAUNCHING, FINISHED, FAILED, and CANCELLED.

      +

      Definition

      +

      Job status

      +

      Range

      +
      • RUNNING: The job is running.
      • SCALING: The job is modifying specifications.
      • LAUNCHING: The job is being submitted.
      • FINISHED: The job has been completed.
      • FAILED: The job has failed.
      • CANCELLED: The job has been canceled.

      input_row_count

      Long

      Number of records scanned during the Insert job execution.

      +

      Definition

      +

      Number of records scanned during the Insert job execution

      +

      Range

      +

      None

      bad_row_count

      Long

      Number of error records scanned during the Insert job execution.

      +

      Definition

      +

      Number of error records scanned during the Insert job execution

      +

      Range

      +

      None

      input_size

      Long

      Size of scanned files during job execution (unit: byte).

      +

      Definition

      +

      Size of files scanned during job execution, in bytes

      +

      Range

      +

      None

      result_count

      Integer

      Total number of records returned by the current job or total number of records inserted by the Insert job.

      +

      Definition

      +

      Total number of records returned by the current job or total number of records inserted by the Insert job.

      +

      Range

      +

      None

      database_name

      String

      Name of the database where the target table resides. database_name is valid only for jobs of the IMPORT EXPORT, and QUERY types.

      +

      Definition

      +

      Name of the database where the target table resides. database_name is valid only for jobs of the IMPORT EXPORT, and QUERY types.

      +

      Range

      +

      None

      table_name

      String

      Name of the target table. table_name is valid only for jobs of the IMPORT EXPORT, and QUERY types.

      +

      Definition

      +

      Name of the target table. table_name is valid only for jobs of the IMPORT EXPORT, and QUERY types.

      +

      Range

      +

      None

      detail

      String

      JSON string for information about related columns.

      +

      Definition

      +

      JSON string for information about related columns

      +

      Default Value

      +

      None

      statement

      String

      SQL statements of a job.

      +

      Definition

      +

      SQL statements of a job

      +

      Range

      +

      None

      tags

      Array of objects

      Job tags. For details, see Table 3.

      +

      Definition

      +

      Job tags. For details, see Table 3.

      +

      Range

      +

      None

      user_conf

      String

      JSON string of related columns queried using SQL statements.

      +

      Definition

      +

      Spark parameters configured when a user submits a SQL job.

      +

      Range

      +

      You can set the parameter in key-value pairs. For details about the supported configuration items, see Table 3.

      result_format

      String

      Storage format of job results. Currently, only CSV is supported.

      +

      Definition

      +

      Storage format of job results

      +

      Range

      +

      Currently, only CSV is supported.

      result_path

      String

      OBS path of job results.

      +

      Definition

      +

      OBS path of job results

      +

      Range

      +

      None

      +

      execution_details_path

      +

      String

      +

      Definition

      +

      OBS path of the job query execution plan.

      +

      Range

      +

      None

      String

      Tag key

      +

      Definition

      +

      Tag key

      +

      Range

      +

      None

      value

      @@ -234,7 +330,10 @@

      String

      Tag value

      +

      Definition

      +

      Tag value

      +

      Range

      +

      None

      @@ -282,14 +381,14 @@ -
      Table 4 Status codes

      Status Code

      500

      Internal service error.

      +

      Internal server error.

-

Error Codes

If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.

+

Error Codes

If an error occurs when this API is called, the system does not return the result similar to the preceding example, but returns an error code and error message. For details, see Error Codes.

diff --git a/docs/dli/api-ref/dli_02_0022.html b/docs/dli/api-ref/dli_02_0022.html index 134ba6157..65579e394 100644 --- a/docs/dli/api-ref/dli_02_0022.html +++ b/docs/dli/api-ref/dli_02_0022.html @@ -3,9 +3,9 @@

Querying Job Details

Function

This API is used to query details about jobs, including databasename, tablename, file size, and export mode.

-

URI

  • URI format

    GET/v1.0/{project_id}/jobs/{job_id}/detail

    +

    URI

    • URI format

      GET /v1.0/{project_id}/jobs/{job_id}/detail

    -
    • Parameter description +
      • Parameter descriptions
        Table 1 URI parameters

        Parameter

        Mandatory

        @@ -39,9 +39,9 @@ -

        Request

        None

        +

        Request Parameters

        None

        -

        Response

        +

        Response Parameters

        - - @@ -229,7 +229,7 @@
        Table 2 Response parameters

        Parameter

        Mandatory

        @@ -58,7 +58,7 @@

        Boolean

        Whether the request is successfully executed. Value true indicates that the request is successfully executed.

        +

        Whether the request is successfully executed. true indicates that the request is successfully executed.

        message

        @@ -67,7 +67,7 @@

        String

        System prompt. If execution succeeds, the parameter setting may be left blank.

        +

        System prompt. If the execution succeeds, this parameter may be left blank.

        job_id

        @@ -113,7 +113,7 @@

        String

        Specified export mode during data export and query result saving.

        -

        Available values are ErrorIfExists and Overwrite.

        +

        Options: ErrorIfExists and Overwrite.

        • ErrorIfExists: Ensure that the specified export directory does not exist. If the specified export directory exists, an error is reported and the export operation cannot be performed.
        • Overwrite: If you add new files to a specific directory, existing files will be deleted.
        -
        Table 3 tags parameter

        Parameter

        +
        @@ -297,7 +297,7 @@ } -

        Status Codes

        Table 4 describes the status code.

        +

        Status Codes

        Table 4 describes status codes.

        Table 3 tags parameters

        Parameter

        Mandatory

        @@ -317,14 +317,14 @@ -
        Table 4 Status codes

        Status Code

        500

        Internal service error.

        +

        Internal server error.

        -

        Error Codes

        If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.

        +

        Error Codes

        If an error occurs when this API is called, the system does not return the result similar to the preceding example, but returns an error code and error message. For details, see Error Codes.

        diff --git a/docs/dli/api-ref/dli_02_0024.html b/docs/dli/api-ref/dli_02_0024.html index 1ddc49f91..e2abd1b1d 100644 --- a/docs/dli/api-ref/dli_02_0024.html +++ b/docs/dli/api-ref/dli_02_0024.html @@ -39,7 +39,7 @@
        -

        Request

        +

        Request Parameters

        Table 2 Request parameters

        Parameter

        Mandatory

        @@ -103,7 +103,7 @@

        Boolean

        Whether to export column names when exporting CSV and JSON data.

        -
        • If this parameter is set to true, the column names are exported.
        • If this parameter is set to false, the column names are not exported.
        • If this parameter is left blank, the default value false is used.
        +
        • If this parameter is set to true, the column names are exported.
        • If this parameter is set to false, the column names are not exported.
        • If this parameter is left blank, the default value false is used.

        limit_num

        @@ -159,7 +159,7 @@
        -

        Response

        +

        Response Parameters

        - @@ -44,7 +52,14 @@ - - - - - + + + + + - - - - - - - - @@ -239,7 +356,8 @@ - - - - - - - - - - - - - - - + + + + + - - - - + + + + + + + + + + + + + + + @@ -424,7 +645,10 @@ - - diff --git a/docs/dli/api-ref/dli_02_0028.html b/docs/dli/api-ref/dli_02_0028.html index c7478b8ac..2e6703b1d 100644 --- a/docs/dli/api-ref/dli_02_0028.html +++ b/docs/dli/api-ref/dli_02_0028.html @@ -2,7 +2,7 @@

        Creating a Database (Deprecated)

        Function

        This API is used to add a database.

        -

        This API has been deprecated and is not recommended.

        +

        This API has been deprecated and is not recommended.

        URI

        • URI format

          POST /v1.0/{project_id}/databases

          @@ -31,7 +31,7 @@
        -

        Request

        +

        Request Parameters

        Table 3 Response parameters

        Parameter

        Mandatory

        diff --git a/docs/dli/api-ref/dli_02_0025.html b/docs/dli/api-ref/dli_02_0025.html index 93d170128..21ea61f8d 100644 --- a/docs/dli/api-ref/dli_02_0025.html +++ b/docs/dli/api-ref/dli_02_0025.html @@ -21,7 +21,15 @@

        String

        Project ID, which is used for resource isolation. For how to obtain the project ID, see Obtaining a Project ID.

        +

        Definition

        +

        Project ID, which is used for resource isolation. For how to obtain a project ID, see Obtaining a Project ID.

        +

        Example: 48cc2c48765f481480c7db940d6409d1

        +

        Constraints

        +

        None

        +

        Range

        +

        The value can contain up to 64 characters. Only letters and digits are allowed.

        +

        Default Value

        +

        None

        Integer

        Maximum number of jobs displayed on each page. The value range is as follows: [1, 100]. The default value is 50.

        +

        Definition

        +

        Maximum number of jobs displayed on each page, for example, 5

        +

        Constraints

        +

        None

        +

        Range

        +

        [1, 100]

        +

        Default Value

        +

        50

        current-page

        @@ -53,7 +68,14 @@

        Integer

        Current page number. The default value is 1.

        +

        Definition

        +

        Current page number. The default value is 1.

        +

        Constraints

        +

        None

        +

        Range

        +

        [1, 100]

        +

        Default Value

        +

        1

        start

        @@ -62,7 +84,14 @@

        Long

        Queries the jobs executed later than the time specified by this parameter. The time is a UNIX timestamp in milliseconds.

        +

        Definition

        +

        Queries jobs with a start time later than the time specified by this parameter.

        +

        Constraints

        +

        The value is a UNIX timestamp, in milliseconds.

        +

        Range

        +

        None

        +

        Default Value

        +

        None

        end

        @@ -71,7 +100,14 @@

        Long

        Queries the jobs executed earlier than the time specified by this parameter. The time is a UNIX timestamp in milliseconds.

        +

        Definition

        +

        Queries jobs with a start time earlier than the time specified by this parameter.

        +

        Constraints

        +

        The value is a UNIX timestamp, in milliseconds.

        +

        Range

        +

        None

        +

        Default Value

        +

        None

        job-type

        @@ -80,7 +116,33 @@

        String

        Type of a job to be queried. Job types include DDL, DCL, IMPORT, EXPORT, QUERY, INSERT, DATA_MIGRATION, UPDATE, DELETE, RESTART_QUEUE, and SCALE_QUEUE. To query all types of jobs, enter ALL.

        +

        Definition

        +

        Type of jobs to be queried. The options are DDL, DCL, IMPORT, EXPORT, QUERY, INSERT, DATA_MIGRATION, UPDATE, DELETE, RESTART_QUEUE, and SCALE_QUEUE. To query all types of jobs, enter ALL.

        +

        job-type is used to query a single type of jobs, or set to ALL to query all types of jobs.

        +

        If job-type and job_types are both set, the value of job-type takes the intersection of the two.

        +

        Constraints

        +

        None

        +

        Range

        +
        • DDL: data definition jobs (such as CREATE, ALTER, and DROP)
        • DCL: data control jobs (such as GRANT and REVOKE)
        • IMPORT: data import jobs (loading data from external sources)
        • EXPORT: data export jobs (outputting data to external systems)
        • QUERY: query jobs (such as SELECT statements)
        • INSERT: data insertion jobs (such as INSERT statements)
        • DATA_MIGRATION: data migration jobs (cross-database/cross-cluster data migration)
        • UPDATE: data update jobs (such as UPDATE statements)
        • DELETE: data deletion jobs (such as DELETE statements)
        • RESTART_QUEUE: queue restart jobs (resuming suspended or failed queue jobs)
        • SCALE_QUEUE: queue scaling jobs (dynamically adjusting queue resources)
        +

        Default Value

        +

        None

        +

        job_types

        +

        No

        +

        Array[string]

        +

        Definition

        +

        List of job types to be queried. The options are DDL, DCL, IMPORT, EXPORT, QUERY, INSERT, UPDATE, and DELETE.

        +

        job_types is used to query multiple types of jobs. If job_types and job-type are both set, the value of job_types takes the intersection of the two.

        +

        Constraints

        +

        None

        +

        Range

        +
        • DDL: data definition jobs (such as CREATE, ALTER, and DROP)
        • DCL: data control jobs (such as GRANT and REVOKE)
        • IMPORT: data import jobs (for example, importing data from files or external sources)
        • EXPORT: data export jobs (exporting data to files or external systems)
        • QUERY: query jobs (such as SELECT statements)
        • INSERT: data insertion jobs (such as INSERT statements)
        • UPDATE: data update jobs (such as UPDATE statements)
        • DELETE: data deletion jobs (such as DELETE statements)
        +

        Default Value

        +

        None

        job-status

        @@ -89,7 +151,14 @@

        String

        Status of the job to be queried.

        +

        Definition

        +

        Status of jobs to be queried

        +

        Constraints

        +

        None

        +

        Range

        +
        • RUNNING: The job is running.
        • SCALING: The job is modifying specifications.
        • LAUNCHING: The job is being submitted.
        • FINISHED: The job is completed.
        • FAILED: The job has failed.
        • CANCELLED: The job has been canceled.
        +

        Default Value

        +

        None

        job-id

        @@ -98,7 +167,14 @@

        String

        ID of the job to be queried. You can get the value by calling Submitting a SQL Job (Recommended).

        +

        Definition

        +

        ID of the job to be queried. You can get the value by calling Submitting a SQL Job (Recommended).

        +

        Constraints

        +

        None

        +

        Range

        +

        The value can contain up to 64 characters. Only letters and digits are allowed.

        +

        Default Value

        +

        None

        queue_name

        @@ -107,7 +183,14 @@

        String

        Specifies queue_name as the filter to query jobs running on the specified queue.

        +

        Definition

        +

        Name of the queue where desired jobs are running

        +

        Constraints

        +

        None

        +

        Range

        +

        None

        +

        Default Value

        +

        None

        sql_pattern

        @@ -116,7 +199,14 @@

        String

        Specifies the SQL segment as the filter. It is case insensitive.

        +

        Definition

        +

        Specifies the SQL segment as the filter. It is case insensitive.

        +

        Constraints

        +

        None

        +

        Range

        +

        None

        +

        Default Value

        +

        None

        order

        @@ -125,16 +215,30 @@

        String

        Specifies the job sorting mode. The default value is start_time_desc (job submission time in descending order). Four sorting modes are supported: duration_desc (job running duration in descending order), duration_asc (job running duration in ascending order), start_time_desc (job submission time in descending order), and start_time_asc (job submission time in ascending order).

        +

        Definition

        +

        Job sorting mode

        +

        Constraints

        +

        None

        +

        Range

        +
        • duration_desc: Jobs are sorted by running duration in descending order.
        • duration_asc: Jobs are sorted by running duration in ascending order.
        • start_time_desc: Jobs are sorted by submission time in descending order.
        • start_time_asc: Jobs are sorted by submission time in ascending order.
        +

        Default Value

        +

        The default value is start_time_desc.

        engine-type

        +

        engine_type

        No

        String

        Engine type.

        +

        Definition

        +

        Engine type

        +

        Constraints

        +

        None

        +

        Range

        +
        • spark: Spark engine
        +

        Default Value

        +

        None

        owner

        @@ -143,7 +247,14 @@

        String

        User who submits a job.

        +

        Definition

        +

        User who submits a job

        +

        Constraints

        +

        None

        +

        Range

        +

        None

        +

        Default Value

        +

        None

        tags

        @@ -153,13 +264,19 @@

        String

        Queue tags for the search. You can specify multiple tags in key=value format.

        +

        Definition

        +

        Job tags for filtering. You can specify multiple tags in key=value format.

        +

        Constraints

        +

        Currently, only fuzzy query across all tags is supported. Exact query is not supported.

        +

        Range

        • Request with one specified tag

        For example, GET /v1.0/{project_id}/jobs? tags=k1%3Dv1

        In this example, = needs to be escaped to %3D, k1 indicates the tag key, and v1 indicates the tag value.

        • Request with more than one tag

        Separate tags with commas (,) and convert the commas (,) to %2C, for example, GET /v1.0/{project_id}/jobs?. tags=k1%3Dv1%2Ck2%3Dv2.

        The equal sign (=) is escaped to %3D. k1 indicates a tag key, and v1 indicates the tag value. k2 indicates another tag key, and v2 indicates the tag value.

        -

        Currently, only fuzzy query is supported. Exact query is not supported.

        +

        Default Value

        +

        None

        String

        Job ID.

        +

        Definition

        +

        Job ID. For details about how to obtain a job ID, see Submitting a SQL Job (Recommended).

        job_type

        @@ -248,7 +366,10 @@

        String

        Type of a job.

        +

        Definition

        +

        Type of jobs to be queried

        +

        Range

        +
        • DDL: data definition jobs (such as CREATE, ALTER, and DROP)
        • DCL: data control jobs (such as GRANT and REVOKE)
        • IMPORT: data import jobs (loading data from external sources)
        • EXPORT: data export jobs (outputting data to external systems)
        • QUERY: query jobs (such as SELECT statements)
        • INSERT: data insertion jobs (such as INSERT statements)
        • DATA_MIGRATION: data migration jobs (cross-database/cross-cluster data migration)
        • UPDATE: data update jobs (such as UPDATE statements)
        • DELETE: data deletion jobs (such as DELETE statements)
        • RESTART_QUEUE: queue restart jobs (resuming suspended or failed queue jobs)
        • SCALE_QUEUE: queue scaling jobs (dynamically adjusting queue resources)
        • ALL: All types of jobs are queried.

        queue_name

        @@ -257,7 +378,10 @@

        String

        Queue to which a job is submitted.

        +

        Definition

        +

        Queue to which a job is submitted

        +

        Range

        +

        None

        owner

        @@ -266,7 +390,10 @@

        String

        User who submits a job.

        +

        Definition

        +

        User who submits a job

        +

        Range

        +

        None

        start_time

        @@ -275,7 +402,10 @@

        Long

        Time when a job is started. The timestamp is expressed in milliseconds.

        +

        Definition

        +

        Job start time. The value is a timestamp in milliseconds.

        +

        Range

        +

        None

        duration

        @@ -284,7 +414,10 @@

        Long

        Job running duration (unit: millisecond).

        +

        Definition

        +

        Job running duration (unit: millisecond).

        +

        Range

        +

        None

        status

        @@ -293,7 +426,10 @@

        String

        Status of a job, including LAUNCHING, RUNNING, FINISHED, FAILED, and CANCELLED.

        +

        Definition

        +

        Status of a job

        +

        Range

        +
        • RUNNING: The job is running.
        • SCALING: The job is modifying specifications.
        • LAUNCHING: The job is being submitted.
        • FINISHED: The job is completed.
        • FAILED: The job has failed.
        • CANCELLED: The job has been canceled.

        input_row_count

        @@ -302,7 +438,10 @@

        Long

        Number of records scanned during the Insert job execution.

        +

        Definition

        +

        Number of records scanned during the Insert job execution

        +

        Range

        +

        None

        bad_row_count

        @@ -311,7 +450,10 @@

        Long

        Number of error records scanned during the Insert job execution.

        +

        Definition

        +

        Number of error records scanned during the Insert job execution.

        +

        Range

        +

        None

        input_size

        @@ -320,7 +462,10 @@

        Long

        Size of scanned files during job execution.

        +

        Definition

        +

        Size of scanned files during job execution.

        +

        Range

        +

        None

        result_count

        @@ -329,7 +474,10 @@

        Integer

        Total number of records returned by the current job or total number of records inserted by the Insert job.

        +

        Definition

        +

        Total number of records returned by the current job or total number of records inserted by the Insert job.

        +

        Range

        +

        None

        database_name

        @@ -338,7 +486,10 @@

        String

        Name of the database where the target table resides. database_name is valid only for jobs of the Import and Export types.

        +

        Definition

        +

        Name of the database where the target table resides. database_name is valid only for jobs of the Import and Export types.

        +

        Range

        +

        None

        table_name

        @@ -347,7 +498,10 @@

        String

        Name of the target table. table_name is valid only for jobs of the Import and Export types.

        +

        Definition

        +

        Name of the target table. table_name is valid only for jobs of the Import and Export types.

        +

        Range

        +

        None

        with_column_header

        @@ -356,7 +510,10 @@

        Boolean

        Import jobs, which record whether the imported data contains column names.

        +

        Definition

        +

        Import jobs, which record whether the imported data contains column names.

        +

        Range

        +

        None

        detail

        @@ -365,7 +522,22 @@

        String

        JSON string of related columns queried using SQL statements.

        +

        Definition

        +

        JSON string of related columns queried using SQL statements.

        +

        Range

        +

        None

        +

        engine_type

        +

        No

        +

        String

        +

        Definition

        +

        Engine type

        +

        Range

        +
        • spark: Spark engine

        statement

        @@ -374,7 +546,10 @@

        String

        SQL statements of a job.

        +

        Definition

        +

        SQL statements of a job

        +

        Range

        +

        None

        message

        @@ -383,7 +558,10 @@

        String

        System prompt.

        +

        Definition

        +

        System prompt.

        +

        Range

        +

        None

        end_time

        @@ -392,7 +570,10 @@

        Long

        Job end time. The timestamp is in milliseconds.

        +

        Definition

        +

        Job end time. The timestamp is in milliseconds.

        +

        Range

        +

        None

        tags

        @@ -401,7 +582,47 @@

        Array of objects

        Job tags. For details, see Table 5.

        +

        Definition

        +

        Job tags. For details, see Table 5.

        +

        Range

        +

        None

        +

        result_format

        +

        No

        +

        String

        +

        Definition

        +

        Storage format of job results. Currently, only CSV is supported.

        +

        Range

        +

        None

        +

        result_path

        +

        No

        +

        String

        +

        Definition

        +

        OBS path of job results

        +

        Range

        +

        None

        +

        execution_details_path

        +

        No

        +

        String

        +

        Definition

        +

        Path used to store the job execution plan.

        +

        Example: obs://bucketName/jobs/execution_details/xxx/2023/11/10/xxx

        +

        Range

        +

        None

        String

        Tag key

        +

        Definition

        +

        Tag key

        +

        Range

        +

        None

        value

        @@ -433,7 +657,10 @@

        String

        Tag value

        +

        Definition

        +

        Tag value

        +

        Range

        +

        None

        @@ -115,7 +115,7 @@ @@ -123,7 +123,7 @@
        Table 2 Request parameters

        Parameter

        Mandatory

        @@ -104,7 +104,7 @@

        String

        Tag key.

        -
        NOTE:

        A tag key can contain a maximum of 128 characters. Only letters, numbers, spaces, and special characters (_.:+-@) are allowed, but the value cannot start or end with a space or start with _sys_.

        +
        NOTE:

        A tag key can contain up to 128 characters, cannot start or end with a space, and cannot start with _sys_. Only letters, digits, spaces, and the following special characters are allowed: _.:+-@

        String

        Tag key.

        -
        NOTE:

        A tag value can contain a maximum of 255 characters. Only letters, numbers, spaces, and special characters (_.:+-@) are allowed.

        +
        NOTE:

        A tag value can contain up to 255 characters. Only letters, digits, spaces, and the following special characters are allowed: _.:+-@

        -

        Response

        +

        Response Parameters

        Table 4 Response parameters

        Parameter

        Mandatory

        diff --git a/docs/dli/api-ref/dli_02_0029.html b/docs/dli/api-ref/dli_02_0029.html index 11c493d23..d24fb594f 100644 --- a/docs/dli/api-ref/dli_02_0029.html +++ b/docs/dli/api-ref/dli_02_0029.html @@ -2,7 +2,7 @@

        Querying All Databases (Deprecated)

        Function

        This API is used to query the information about all the databases.

        -

        This API has been deprecated and is not recommended.

        +

        This API has been deprecated and is not recommended.

        URI

        • URI format

          GET /v1.0/{project_id}/databases

          @@ -101,9 +101,9 @@
        -

        Request

        None

        +

        Request Parameters

        None

        -

        Response

        +

        Response Parameters

        - @@ -75,9 +75,9 @@ -

        Request

        None

        +

        Request Parameters

        None

        -

        Response

        +

        Response Parameters

        Table 3 Response parameters

        Parameter

        Mandatory

        diff --git a/docs/dli/api-ref/dli_02_0030.html b/docs/dli/api-ref/dli_02_0030.html index 07b3fcfca..5ea8fbd78 100644 --- a/docs/dli/api-ref/dli_02_0030.html +++ b/docs/dli/api-ref/dli_02_0030.html @@ -2,7 +2,7 @@

        Deleting a Database (Deprecated)

        Function

        This API is used to delete an empty database. If there are tables in the database to be deleted, delete all tables first. For details about the API used to delete tables, see Deleting a Table (Deprecated).

        -

        This API has been deprecated and is not recommended.

        +

        This API has been deprecated and is not recommended.

        URI

        • URI format

          DELETE /v1.0/{project_id}/databases/{database_name}

          @@ -64,7 +64,7 @@

        Boolean

        Specifies whether to delete the database in asynchronous mode. The value can be true or false. Default value: false.

        +

        Specifies whether to delete the database in asynchronous mode. The value can be true or false. Default value: false.

        Table 3 Response parameters

        Parameter

        Mandatory

        diff --git a/docs/dli/api-ref/dli_02_0033.html b/docs/dli/api-ref/dli_02_0033.html index 7737bf5a6..b04aa31dc 100644 --- a/docs/dli/api-ref/dli_02_0033.html +++ b/docs/dli/api-ref/dli_02_0033.html @@ -2,7 +2,7 @@

        Describing Table Information (Deprecated)

        Function

        This API is used to describe metadata information in the specified table.

        -

        This API has been deprecated and is not recommended.

        +

        This API has been deprecated and is not recommended.

        URI

        • URI format

          GET /v1.0/{project_id}/databases/{database_name}/tables/{table_name}

          @@ -49,9 +49,9 @@
        -

        Request

        None

        +

        Request Parameters

        None

        -

        Response

        +

        Response Parameters

        Table 2 Response parameters

        Parameter

        Mandatory

        diff --git a/docs/dli/api-ref/dli_02_0034.html b/docs/dli/api-ref/dli_02_0034.html index f07636a90..a3386d7f7 100644 --- a/docs/dli/api-ref/dli_02_0034.html +++ b/docs/dli/api-ref/dli_02_0034.html @@ -2,7 +2,7 @@

        Creating a Table (Deprecated)

        Function

        This API is used to create a table. This API is a synchronous API.

        -

        This API has been deprecated and is not recommended.

        +

        This API has been deprecated and is not recommended.

        URI

        • URI format

          POST /v1.0/{project_id}/databases/{database_name}/tables

          @@ -40,7 +40,7 @@
        -

        Request

        +

        Request Parameters

        @@ -216,7 +216,7 @@ @@ -276,7 +276,7 @@
        Table 2 Request parameters

        Parameter

        Mandatory

        @@ -205,7 +205,7 @@

        String

        Tag key

        -
        NOTE:

        A tag key can contain a maximum of 128 characters. Only letters, numbers, spaces, and special characters (_.:+-@) are allowed, but the value cannot start or end with a space or start with _sys_.

        +
        NOTE:

        A tag key can contain up to 128 characters, cannot start or end with a space, and cannot start with _sys_. Only letters, digits, spaces, and the following special characters are allowed: _.:+-@

        String

        Tag value

        -
        NOTE:

        A tag value can contain a maximum of 255 characters. Only letters, numbers, spaces, and special characters (_.:+-@) are allowed.

        +
        NOTE:

        A tag value can contain up to 255 characters. Only letters, digits, spaces, and the following special characters are allowed: _.:+-@

        -

        Response

        +

        Response Parameters

        Table 5 Response parameters

        Parameter

        Mandatory

        diff --git a/docs/dli/api-ref/dli_02_0035.html b/docs/dli/api-ref/dli_02_0035.html index 00fb53dd8..81fcb2a57 100644 --- a/docs/dli/api-ref/dli_02_0035.html +++ b/docs/dli/api-ref/dli_02_0035.html @@ -2,7 +2,7 @@

        Deleting a Table (Deprecated)

        Function

        This API is used to delete a specified table.

        -

        This API has been deprecated and is not recommended.

        +

        This API has been deprecated and is not recommended.

        URI

        • URI format

          DELETE /v1.0/{project_id}/databases/{database_name}/tables/{table_name}

          @@ -75,9 +75,9 @@
        -

        Request

        None

        +

        Request Parameters

        None

        -

        Response

        +

        Response Parameters

        Table 3 Response parameters

        Parameter

        Mandatory

        diff --git a/docs/dli/api-ref/dli_02_0036.html b/docs/dli/api-ref/dli_02_0036.html deleted file mode 100644 index b62701117..000000000 --- a/docs/dli/api-ref/dli_02_0036.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -

        Permission-related APIs

        - -

        -
        - - - diff --git a/docs/dli/api-ref/dli_02_0037.html b/docs/dli/api-ref/dli_02_0037.html index d173863c1..611337ac7 100644 --- a/docs/dli/api-ref/dli_02_0037.html +++ b/docs/dli/api-ref/dli_02_0037.html @@ -4,7 +4,7 @@

        Function

        This API is used to share a specific queue with other users. You can grant users with the permission to use the specified queue or revoke the permission.

        -

        This API has been deprecated and is not recommended.

        +

        This API has been deprecated and is not recommended.

        URI

        • URI format

          PUT /v1.0/{project_id}/queues/user-authorization

          @@ -33,7 +33,7 @@
        -

        Request

        +

        Request Parameters

        Table 2 Request parameters

        Parameter

        Mandatory

        @@ -88,7 +88,7 @@
        -

        Response

        +

        Response Parameters

        Table 3 Response parameters

        Parameter

        Mandatory

        diff --git a/docs/dli/api-ref/dli_02_0038.html b/docs/dli/api-ref/dli_02_0038.html index ef62d4480..fee522ae2 100644 --- a/docs/dli/api-ref/dli_02_0038.html +++ b/docs/dli/api-ref/dli_02_0038.html @@ -2,7 +2,7 @@

        Querying Queue Users (Deprecated)

        Function

        This API is used to query names of all users who can use a specified queue.

        -

        This API has been deprecated and is not recommended.

        +

        This API has been deprecated and is not recommended.

        URI

        • URI format

          GET /v1.0/{project_id}/queues/{queue_name}/users

          @@ -72,9 +72,9 @@
        -

        Request

        None

        +

        Request Parameters

        None

        -

        Response

        +

        Response Parameters

        Table 3 Response parameters

        Parameter

        Mandatory

        diff --git a/docs/dli/api-ref/dli_02_0039.html b/docs/dli/api-ref/dli_02_0039.html index d5b74e855..d75314097 100644 --- a/docs/dli/api-ref/dli_02_0039.html +++ b/docs/dli/api-ref/dli_02_0039.html @@ -4,7 +4,7 @@

        Function

        This API is used to grant database or table data usage permission to specified users.

        -

        This API has been deprecated and is not recommended.

        +

        This API has been deprecated and is not recommended.

        URI

        • URI format

          PUT /v1.0/{project_id}/user-authorization

          @@ -33,7 +33,7 @@
        -

        Request

        +

        Request Parameters

        Table 2 Request parameters

        Parameter

        Mandatory

        @@ -115,7 +115,7 @@
        -

        Response

        +

        Response Parameters

        Table 4 Response parameters

        Parameter

        Mandatory

        diff --git a/docs/dli/api-ref/dli_02_0040.html b/docs/dli/api-ref/dli_02_0040.html index 233d5fdd5..50da9a34c 100644 --- a/docs/dli/api-ref/dli_02_0040.html +++ b/docs/dli/api-ref/dli_02_0040.html @@ -2,7 +2,7 @@

        Querying Database Users (Deprecated)

        Function

        This API is used query names of all users who have permission to use or access the database.

        -

        This API has been deprecated and is not recommended.

        +

        This API has been deprecated and is not recommended.

        URI

        • URI format

          GET /v1.0/{project_id}/databases/{database_name}/users

          @@ -34,9 +34,9 @@
        -

        Request

        None

        +

        Request Parameters

        None

        -

        Response

        +

        Response Parameters

        Table 2 Response parameters

        Parameter

        Mandatory

        diff --git a/docs/dli/api-ref/dli_02_0041.html b/docs/dli/api-ref/dli_02_0041.html index fe57ada4e..784d93d4f 100644 --- a/docs/dli/api-ref/dli_02_0041.html +++ b/docs/dli/api-ref/dli_02_0041.html @@ -2,7 +2,7 @@

        Querying Table Users (Deprecated)

        Function

        This API is used to query users who have permission to access the specified table or column in the table.

        -

        This API has been deprecated and is not recommended.

        +

        This API has been deprecated and is not recommended.

        URI

        • URI format

          GET /v1.0/{project_id}/databases/{database_name}/tables/{table_name}/users

          @@ -41,9 +41,9 @@
        -

        Request

        None

        +

        Request Parameters

        None

        -

        Response

        +

        Response Parameters

        Table 2 Response parameters

        Parameter

        Mandatory

        diff --git a/docs/dli/api-ref/dli_02_0042.html b/docs/dli/api-ref/dli_02_0042.html index 1088adddc..b90da37ea 100644 --- a/docs/dli/api-ref/dli_02_0042.html +++ b/docs/dli/api-ref/dli_02_0042.html @@ -2,7 +2,7 @@

        Querying a User's Table Permissions (Deprecated)

        Function

        This API is used to query the permission of a specified user on a table.

        -

        This API has been deprecated and is not recommended.

        +

        This API has been deprecated and is not recommended.

        URI

        • URI format

          GET /v1.0/{project_id}/databases/{database_name}/tables/{table_name}/users/{user_name}

          @@ -58,9 +58,9 @@
        -

        Request

        None

        +

        Request Parameters

        None

        -

        Response

        +

        Response Parameters

        Table 2 Response parameters

        Parameter

        Mandatory

        diff --git a/docs/dli/api-ref/dli_02_0056.html b/docs/dli/api-ref/dli_02_0056.html index 6fb83cd77..01026c8e5 100644 --- a/docs/dli/api-ref/dli_02_0056.html +++ b/docs/dli/api-ref/dli_02_0056.html @@ -1,7 +1,7 @@

        Error Codes

        -

        If an error occurs in API calling, no result is returned. Identify the cause of error based on the error codes of each API. If an error occurs in API calling, HTTP status code 4xx or 5xx is returned. The response body contains the specific error code and information. If you are unable to identify the cause of an error, contact technical personnel and provide the error code so that we can help you solve the problem as soon as possible.

        +

        If an error occurs in API calling, no result is returned. Identify the cause of error based on the error codes of each API. If an error occurs in API calling, HTTP status code 4xx or 5xx is returned. The response body contains the specific error code and information. If you fail to locate the cause of the error, contact technical support and provide the error code for troubleshooting.

        Format of an Error Response Body

        If an error occurs during API calling, the system returns an error code and a message to you. The following shows the format of an error response body:

        {
             "error_msg": "The format of message is error",
        diff --git a/docs/dli/api-ref/dli_02_0100.html b/docs/dli/api-ref/dli_02_0100.html
        new file mode 100644
        index 000000000..aa7559662
        --- /dev/null
        +++ b/docs/dli/api-ref/dli_02_0100.html
        @@ -0,0 +1,62 @@
        +
        +
        +

        Overview

        +

        This section describes the APIs provided by DLI.

        + +
        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        Table 1 DLI APIs

        Type

        +

        Description

        +

        Permission-related APIs

        +

        You can assign permissions to queues, view queue users, assign data permissions, view database users, view table users, view table user permissions, and view the permissions of authorized users.

        +

        Global variable-related APIs

        +

        You can create, delete, modify, and query global variables.

        +

        Enhanced datasource connection-related APIs

        +

        You can create, delete, and query enhanced datasource connections, as well as bind and unbind queues, modify host information, and query enhanced datasource connection permissions.

        +

        Elastic resource pool-related APIs

        +

        You can create, modify, query, and delete elastic resource pools.

        +

        Queue-related APIs (recommended)

        +

        You can create, delete, and query all queues, modify the CIDR block of a queue, restart, scale up, and scale down queues, view detailed information about queues, create and query connectivity test requests for specific addresses, create, query, modify, and delete scheduled scaling plans for queues.

        +

        SQL job-related APIs

        +

        You can import and export data, submit SQL jobs, cancel jobs, query all jobs, preview job results, query job status, query job details, check SQL syntax, and export query results.

        +

        Flink job-related APIs

        +

        You can authorize DLI to OBS, create and update SQL jobs and user-defined Flink jobs, run jobs in batches, query the job list, job details, job execution plans, and job monitoring information. You can also stop jobs in batches, delete and batch delete jobs, export and import Flink jobs, create IEF message channels, report Flink job status and callback Flink job actions at the edge, and report IEF system events.

        +

        Flink job template-related APIs

        +

        You can create, update, and delete a template, and query the template list.

        +

        Spark job-related APIs

        +

        Creating batch jobs, cancel batch jobs, querying batch job lists, querying batch job details, querying batch job status, and querying batch job logs.

        +
        +
        +
        +
        + diff --git a/docs/dli/api-ref/dli_02_0102.html b/docs/dli/api-ref/dli_02_0102.html index 9cd883e4f..1a96feeed 100644 --- a/docs/dli/api-ref/dli_02_0102.html +++ b/docs/dli/api-ref/dli_02_0102.html @@ -9,7 +9,7 @@

        URI

        • URI format

          POST /v1.0/{project_id}/jobs/submit-job

          -
        • Parameter description +
        • Parameter descriptions
          - @@ -51,7 +59,14 @@ - - - - - -
          Table 1 URI parameter

          Parameter

          Mandatory

          @@ -26,7 +26,15 @@

          String

          Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

          +

          Definition

          +

          Project ID, which is used for resource isolation. For how to obtain a project ID, see Obtaining a Project ID.

          +

          Example: 48cc2c48765f481480c7db940d6409d1

          +

          Constraints

          +

          None

          +

          Range

          +

          The value can contain 1 to 64 characters. Only letters and digits are allowed.

          +

          Default Value

          +

          None

          String

          SQL statement that you want to execute.

          +

          Definition

          +

          SQL statement to be executed

          +

          Constraints

          +

          None

          +

          Range

          +

          None

          +

          Default Value

          +

          None

          currentdb

          @@ -60,7 +75,14 @@

          String

          Database where the SQL statement is executed. This parameter does not need to be configured during database creation.

          +

          Definition

          +

          Database where the SQL statement is executed. This parameter does not need to be configured during database creation.

          +

          Constraints

          +

          None

          +

          Range

          +

          The value cannot contain only digits or start with an underscore (_). Only digits, letters, and underscores (_) are allowed.

          +

          Default Value

          +

          None

          queue_name

          @@ -69,7 +91,14 @@

          String

          Name of the queue to which a job to be submitted belongs. The name can contain only digits, letters, and underscores (_), but cannot contain only digits or start with an underscore (_).

          +

          Definition

          +

          Name of the queue to which the job is to be submitted

          +

          Constraints

          +

          None

          +

          Range

          +

          The name cannot contain only digits or start with an underscore (_). Only digits, letters, and underscores (_) are allowed.

          +

          Default Value

          +

          None

          conf

          @@ -78,7 +107,14 @@

          Array of strings

          You can set the configuration parameters for the SQL job in the form of Key/Value. For details about the supported configuration items, see Table 3.

          +

          Definition

          +

          You can set the parameter in key-value pairs.

          +

          Constraints

          +

          None

          +

          Range

          +

          For details about the supported configuration items, see Table 3.

          +

          Default Value

          +

          None

          tags

          @@ -87,7 +123,14 @@

          Array of objects

          Label of a job. For details, see Table 4.

          +

          Definition

          +

          Job tags. For details, see Table 4.

          +

          Constraints

          +

          None

          +

          Range

          +

          None

          +

          Default Value

          +

          None

          engine_type

          @@ -96,132 +139,195 @@

          String

          Type of the engine that executes jobs.

          +

          Definition

          +

          Type of the engine that executes jobs.

          +

          Constraints

          +

          None

          +

          Range

          +
          • spark: Spark engine
          +

          Default Value

          +

          spark

          -
          Table 3 Configuration parameters description

          Parameter

          +
          - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          Table 3 Configuration parameters description

          Parameter

          Default Value

          -

          Description

          +

          Description

          spark.sql.files.maxRecordsPerFile

          +

          spark.sql.files.maxRecordsPerFile

          0

          -

          Maximum number of records to be written into a single file. If the value is zero or negative, there is no limit.

          +

          Definition

          +

          Maximum number of records to be written into a single file. If the value is zero or negative, there is no limit.

          +

          Constraints

          +

          None

          +

          Range

          +

          None

          +

          Default Value

          +

          0

          spark.sql.autoBroadcastJoinThreshold

          +

          spark.sql.autoBroadcastJoinThreshold

          209715200

          -

          Maximum size of the table that displays all working nodes when a connection is executed. You can set this parameter to -1 to disable the display.

          -
          NOTE:

          Currently, only the configuration unit metastore table that runs the ANALYZE TABLE COMPUTE statistics noscan command and the file-based data source table that directly calculates statistics based on data files are supported.

          -
          +

          Definition

          +

          Maximum size of the table that displays all working nodes when a connection is executed. You can set this parameter to -1 to disable the display.

          +

          Constraints

          +

          Currently, only the configuration unit metastore table that runs the ANALYZE TABLE COMPUTE statistics noscan command and the file-based data source table that directly calculates statistics based on data files are supported.

          +

          Range

          +

          None

          +

          Default Value

          +

          209715200

          spark.sql.shuffle.partitions

          +

          spark.sql.shuffle.partitions

          200

          -

          Default number of partitions used to filter data for join or aggregation.

          +

          Definition

          +

          Default number of partitions used to filter data for join or aggregation.

          +

          Constraints

          +

          None

          +

          Range

          +

          None

          +

          Default Value

          +

          200

          spark.sql.dynamicPartitionOverwrite.enabled

          +

          spark.sql.dynamicPartitionOverwrite.enabled

          false

          -

          Whether DLI overwrites the partitions where data will be written into during runtime. If you set this parameter to false, all partitions that meet the specified condition will be deleted before data overwrite starts. For example, if you set false and use INSERT OVERWRITE to write partition 2021-02 to a partitioned table that has the 2021-01 partition, this partition will be deleted.

          -

          If you set this parameter to true, DLI does not delete partitions before overwrite starts.

          +

          Definition

          +

          Whether DLI deletes all partitions that meet the conditions before overwriting the partitions

          +

          Constraints

          +

          None

          +

          Range

          +
          • When set to false, DLI will delete all partitions that meet the conditions before overwriting them.

            For example, if you set false and use INSERT OVERWRITE to write partition 2021-02 to a partitioned table that has the 2021-01 partition, this partition will be deleted.

            +
          • When set to true, DLI will not delete partitions in advance, but will overwrite partitions with data written during runtime.
          +

          Default Value

          +

          false

          spark.sql.files.maxPartitionBytes

          +

          spark.sql.files.maxPartitionBytes

          134217728

          -

          Maximum number of bytes to be packed into a single partition when a file is read.

          +

          Definition

          +

          Maximum number of bytes to be packed into a single partition when a file is read.

          +

          Constraints

          +

          None

          +

          Range

          +

          None

          +

          Default Value

          +

          134217728

          spark.sql.badRecordsPath

          +

          spark.sql.badRecordsPath

          -

          -

          Path of bad records.

          +

          Definition

          +

          Path of bad records

          +

          Constraints

          +

          None

          +

          Range

          +

          None

          +

          Default Value

          +

          None

          dli.sql.sqlasync.enabled

          +

          dli.sql.sqlasync.enabled

          true

          -

          Indicates whether DDL and DCL statements are executed asynchronously. The value true indicates that asynchronous execution is enabled.

          +

          Definition

          +

          Indicates whether DDL and DCL statements are executed asynchronously. The value true indicates that asynchronous execution is enabled.

          +

          Constraints

          +

          None

          +

          Range

          +

          None

          +

          Default Value

          +

          true

          dli.sql.job.timeout

          +

          dli.sql.job.timeout

          -

          -

          Sets the job running timeout interval. If the timeout interval expires, the job is canceled. Unit: second

          +

          Definition

          +

          Sets the job running timeout interval. If the timeout interval expires, the job is canceled. Unit: second

          +

          Constraints

          +

          None

          +

          Range

          +

          None

          +

          Default Value

          +

          None

          spark.sql.legacy.correlated.scalar.query.enabled

          +

          spark.sql.legacy.correlated.scalar.query.enabled

          false

          -
          • If set to true:
            • When there is no duplicate data in a subquery, executing a correlated subquery does not require deduplication from the subquery's result.
            • If there is duplicate data in a subquery, executing a correlated subquery will result in an error. To resolve this, the subquery's result must be deduplicated using functions such as max() or min().
            -
          • If set to false:

            Regardless of whether there is duplicate data in a subquery, executing a correlated subquery requires deduplicating the subquery's result using functions such as max() or min(). Otherwise, an error will occur.

            +

          Definition

          +

          Controls the behavior of correlated subqueries.

          +

          Constraints

          +

          None

          +

          Range

          +
          • If set to true:
            • When there is no duplicate data in a subquery, executing a correlated subquery does not require deduplication from the subquery's result.
            • If there is duplicate data in a subquery, executing a correlated subquery will result in an error. To resolve this, the subquery's result must be deduplicated using functions such as max() or min().
            +
          • If set to false:

            Regardless of whether there is duplicate data in a subquery, executing a correlated subquery requires deduplicating the subquery's result using functions such as max() or min(). Otherwise, an error will occur.

          +

          Default Value

          +

          false

          spark.sql.optimizer.dynamicPartitionPruning.enabled

          +

          spark.sql.optimizer.dynamicPartitionPruning.enabled

          true

          -

          This parameter is used to control whether to enable dynamic partition pruning. Dynamic partition pruning can help reduce the amount of data that needs to be scanned and improve query performance when executing SQL queries.

          +

          Definition

          +

          This parameter is used to control whether to enable dynamic partition pruning. Dynamic partition pruning can help reduce the amount of data that needs to be scanned and improve query performance when executing SQL queries.

          +

          Constraints

          +

          None

          +

          Range

          • When set to true, dynamic partition pruning is enabled. SQL automatically detects and deletes partitions that do not meet the WHERE clause conditions during query. This is useful for tables that have a large number of partitions.
          • If SQL queries contain a large number of nested left join operations and the table has a large number of dynamic partitions, a large number of memory resources may be consumed during data parsing. As a result, the memory of the driver node is insufficient and there are frequent Full GCs.

            To avoid such issues, you can disable dynamic partition pruning by setting this parameter to false.

            However, disabling this optimization may reduce query performance. Once disabled, Spark does not automatically prune the partitions that do not meet the requirements.

          +

          Default Value

          +

          true

          -
          Table 4 tags parameters

          Parameter

          +
          - - - - - - - - - - - @@ -245,7 +351,10 @@ - - - - - - - @@ -360,7 +488,7 @@ ] } -

          Status Codes

          Table 6 describes the status codes.

          +

          Status Codes

          Table 6 describes status codes.

          Table 4 tags parameters

          Parameter

          Mandatory

          +

          Mandatory

          Type

          +

          Type

          Description

          +

          Description

          key

          +

          key

          Yes

          +

          Yes

          String

          +

          String

          Tag key

          -
          NOTE:

          A tag key can contain a maximum of 128 characters. Only letters, numbers, spaces, and special characters (_.:+-@) are allowed, but the value cannot start or end with a space or start with _sys_.

          -
          +

          Definition

          +

          Tag key

          +

          Constraints

          +

          None

          +

          Range

          +

          A tag key can contain up to 128 characters, cannot start or end with a space, and cannot start with _sys_. Only letters, digits, spaces, and the following special characters are allowed: _.:+-@

          +

          Default Value

          +

          None

          value

          +

          value

          Yes

          +

          Yes

          String

          +

          String

          NOTE:

          A tag value can contain a maximum of 255 characters. Only letters, numbers, spaces, and special characters (_.:+-@) are allowed.

          -
          +

          Definition

          +

          Tag value

          +

          Constraints

          +

          None

          +

          Range

          +

          A tag value can contain up to 255 characters. Only letters, digits, spaces, and the following special characters are allowed: _.:+-@

          +

          Default Value

          +

          None

          Boolean

          Indicates whether the request is successfully sent. Value true indicates that the request is successfully sent.

          +

          Definition

          +

          Whether the request is successfully executed. true indicates that the request is successfully executed.

          +

          Range

          +

          None

          message

          @@ -254,7 +363,10 @@

          String

          System prompt. If execution succeeds, the parameter setting may be left blank.

          +

          Definition

          +

          System prompt. If the execution succeeds, this parameter may be left blank.

          +

          Range

          +

          None

          job_id

          @@ -263,7 +375,10 @@

          String

          ID of a job returned after a job is generated and submitted by using SQL statements. The job ID can be used to query the job status and results.

          +

          Definition

          +

          ID of a job returned after a job is generated and submitted using SQL statements. The job ID can be used to query the job status and results.

          +

          Range

          +

          None

          job_type

          @@ -272,8 +387,12 @@

          String

          Job type. The options include:

          -
          • DDL
          • DCL
          • IMPORT
          • EXPORT
          • QUERY
          • INSERT
          +

          Definition

          +

          Job type

          +

          Range

          +

          DDL, DCL, IMPORT, EXPORT, QUERY, and INSERT.

          +
          • DDL: jobs that create, modify, and delete metadata files
          • DCL: jobs that grant and revoke permissions

            When job_type is set to DCL, the operation is synchronous.

            +
          • IMPORT: jobs that import external data into the database
          • EXPORT: jobs that export data to an external database
          • QUERY: jobs that run query statements
          • INSERT: jobs that add new data to tables

          schema

          @@ -282,7 +401,10 @@

          Array of Map

          If the statement type is DDL, the column name and type of DDL are displayed.

          +

          Definition

          +

          If the statement type is DDL, the column name and type of DDL are displayed.

          +

          Range

          +

          None

          rows

          @@ -291,8 +413,11 @@

          Array of objects

          When the statement type is DDL and dli.sql.sqlasync.enabled is set to false, the execution results are returned directly. However, only a maximum of 1,000 rows can be returned.

          -

          If there are more than 1,000 rows, obtain the results asynchronously. That is, when submitting the job, set xxxx to true, and then obtain the results from the job bucket configured by DLI. The path of the results on the job bucket can be obtained from the result_path in the return value of the ShowSqlJobStatus API. The full data of the results will be automatically exported to the job bucket.

          +

          Definition

          +

          When the statement type is DDL and dli.sql.sqlasync.enabled is set to false, the execution results are returned directly. However, only a maximum of 1,000 rows can be returned.

          +

          If there are more than 1,000 rows, obtain the results asynchronously. That is, when submitting the job, set xxxx to true, and then obtain the results from the job bucket configured by DLI. The path of the results on the job bucket can be obtained from the result_path in the return value of the ShowSqlJobStatus API. The full data of the results will be automatically exported to the job bucket.

          +

          Range

          +

          None

          job_mode

          @@ -301,8 +426,11 @@

          String

          Job execution mode. The options are as follows:

          -
          • async: asynchronous
          • sync: synchronous
          +

          Definition

          +

          Job execution mode. Options:

          +
          • async: asynchronous
          • sync: synchronous
          +

          Range

          +

          None

          @@ -380,14 +508,14 @@ -
          Table 6 Status codes

          Status Code

          500

          Internal service error.

          +

          Internal server error.

          -

          Error Codes

          If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.

          +

          Error Codes

          If an error occurs when this API is called, the system does not return the result similar to the preceding example, but returns an error code and error message. For details, see Error Codes.

          diff --git a/docs/dli/api-ref/dli_02_0104.html b/docs/dli/api-ref/dli_02_0104.html index 073adc1c2..7589c06ef 100644 --- a/docs/dli/api-ref/dli_02_0104.html +++ b/docs/dli/api-ref/dli_02_0104.html @@ -38,9 +38,9 @@
          -

          Request

          None

          +

          Request Parameters

          None

          -

          Response

          +

          Response Parameters

          Table 2 Response parameters

          Parameter

          Mandatory

          diff --git a/docs/dli/api-ref/dli_02_0105.html b/docs/dli/api-ref/dli_02_0105.html index ef989ea1e..8fef57d4f 100644 --- a/docs/dli/api-ref/dli_02_0105.html +++ b/docs/dli/api-ref/dli_02_0105.html @@ -2,7 +2,7 @@

          Querying All Tables (Deprecated)

          Function

          This API is used to query information about tables that meet the filtering criteria or all the tables in the specified database.

          -

          This API has been deprecated and is not recommended.

          +

          This API has been deprecated and is not recommended.

          URI

          • URI format

            GET /v1.0/{project_id}/databases/{database_name}/tables

            @@ -111,7 +111,7 @@

          String

          Data source type. The options are as follows:

          -
          • CloudTable
          • CSS
          • DLI
          • GaussDB(DWS)
          • Geomesa
          • HBase
          • JDBC
          • Mongo
          • OBS
          • ODPS
          • OpenTSDB
          • Redis
          • RDS
          +
          • CloudTable
          • CSS
          • DLI
          • DWS
          • Geomesa
          • HBase
          • JDBC
          • Mongo
          • OBS
          • ODPS
          • OpenTSDB
          • Redis
          • RDS

          without-tablemeta

          @@ -131,9 +131,9 @@ -

          Request

          None

          +

          Request Parameters

          None

          -

          Response

          +

          Response Parameters

          -
          Table 3 Response parameters

          Parameter

          Mandatory

          @@ -295,7 +295,7 @@

          Integer

          Paging size. The minimum value is 1 and the maximum value is 100.

          +

          Paging size. The minimum value is 1 and the maximum value is 100.

          current-page

          diff --git a/docs/dli/api-ref/dli_02_0107.html b/docs/dli/api-ref/dli_02_0107.html index 2ceb77d87..621c4395f 100644 --- a/docs/dli/api-ref/dli_02_0107.html +++ b/docs/dli/api-ref/dli_02_0107.html @@ -4,7 +4,7 @@

          Function

          This API is used to check the SQL syntax.

          URI

          • URI format

            POST /v1.0/{project_id}/jobs/check-sql

            -
          • Parameter description +
          • Parameter descriptions
            Table 1 URI parameter

            Parameter

            Mandatory

            @@ -29,7 +29,7 @@ -

            Request

            +

            Request Parameters

            Table 2 Request parameters

            Parameter

            Mandatory

            @@ -64,7 +64,7 @@
            -

            Response

            +

            Response Parameters

            - - - @@ -118,7 +119,7 @@ "job_type":"QUERY" } -

            Status Codes

            Table 4 describes the status code.

            +

            Status Codes

            Table 4 describes status codes.

            Table 3 Response parameters

            Parameter

            Mandatory

            @@ -81,7 +81,7 @@

            Boolean

            Indicates whether the request is successfully executed. Value true indicates that the request is successfully executed.

            +

            Whether the request is successfully executed. true indicates that the request is successfully executed.

            message

            @@ -90,7 +90,7 @@

            String

            System prompt. If execution succeeds, the parameter setting may be left blank.

            +

            System prompt. If the execution succeeds, this parameter may be left blank.

            job_type

            @@ -99,7 +99,8 @@

            String

            Type of a job. Job types include the following: DDL, DCL, IMPORT, EXPORT, QUERY, and INSERT.

            +

            Job type. Options: DDL, DCL, IMPORT, EXPORT, QUERY, and INSERT.

            +
            • DDL: jobs that create, modify, and delete metadata files
            • DCL: jobs that grant and revoke permissions
            • IMPORT: jobs that import external data into the database
            • EXPORT: jobs that export data to an external database
            • QUERY: jobs that run query statements
            • INSERT: jobs that add new data to tables
            @@ -138,14 +139,14 @@ -
            Table 4 Status codes

            Status Code

            500

            Internal service error.

            +

            Internal server error.

            -

            Error Codes

            If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.

            +

            Error Codes

            If an error occurs when this API is called, the system does not return the result similar to the preceding example, but returns an error code and error message. For details, see Error Codes.

            diff --git a/docs/dli/api-ref/dli_02_0108.html b/docs/dli/api-ref/dli_02_0108.html index e052a7fcd..05578737d 100644 --- a/docs/dli/api-ref/dli_02_0108.html +++ b/docs/dli/api-ref/dli_02_0108.html @@ -2,7 +2,7 @@

            Previewing Table Content (Deprecated)

            Function

            This API is used to preview the first 10 rows in a table.

            -

            This API has been deprecated and is not recommended.

            +

            This API has been deprecated and is not recommended.

            URI

            • URI format

              GET /v1.0/{project_id}/databases/{database_name}/tables/{table_name}/preview

              @@ -75,9 +75,9 @@
            -

            Request

            None

            +

            Request Parameters

            None

            -

            Response

            +

            Response Parameters

            - @@ -44,7 +52,14 @@ - - - - - - - - @@ -115,9 +179,9 @@ -

            Request

            None

            +

            Request Parameters

            None

            -

            Response

            +

            Response Parameters

            Table 3 Response parameters

            Parameter

            Mandatory

            diff --git a/docs/dli/api-ref/dli_02_0109.html b/docs/dli/api-ref/dli_02_0109.html index 631441645..11efdf623 100644 --- a/docs/dli/api-ref/dli_02_0109.html +++ b/docs/dli/api-ref/dli_02_0109.html @@ -8,9 +8,9 @@ - - diff --git a/docs/dli/api-ref/dli_02_0124.html b/docs/dli/api-ref/dli_02_0124.html index fe24c6dde..7251a71ab 100644 --- a/docs/dli/api-ref/dli_02_0124.html +++ b/docs/dli/api-ref/dli_02_0124.html @@ -2,9 +2,11 @@

            Creating a Batch Processing Job

            Function

            This API is used to create a batch processing job in a queue.

            +

            During the Spark job submission process, if the job fails to acquire resources successfully for an extended period, the job status will change to dead after waiting for approximately 3 hours. For details about Spark job statuses, see Table 7.

            +

            URI

            • URI format

              POST /v2.0/{project_id}/batches

              -
            • Parameter description +
            • Parameter descriptions
              - @@ -46,7 +56,15 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + - @@ -338,7 +521,14 @@ - - @@ -370,7 +567,14 @@ - - @@ -403,7 +614,10 @@ - - - - - - - - - - - - - - @@ -592,6 +847,7 @@ "queue": " test", "name": "TestDemo4" + "execution_agency_urn": "myAgencyName", }

              The batchTest/spark-examples_2.11-2.1.0.luxor.jar file has been uploaded through API involved in Uploading a Package Group (Deprecated).

              @@ -613,7 +869,7 @@ "update_time": 1607589874156 }
              -

              Status Codes

              Table 8 describes the status code.

              +

              Status Codes

              Table 8 describes status codes.

              Table 1 URI parameter

              Parameter

              Mandatory

              @@ -21,7 +23,15 @@

              String

              Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

              +

              Definition

              +

              Project ID, which is used for resource isolation. For how to obtain a project ID, see Obtaining a Project ID.

              +

              Example: 48cc2c48765f481480c7db940d6409d1

              +

              Constraints

              +

              None

              +

              Range

              +

              The value can contain 1 to 64 characters. Only letters and digits are allowed.

              +

              Default Value

              +

              None

              String

              Name of the package that is of the JAR or pyFile type and has been uploaded to the DLI resource management system. You can also specify an OBS path, for example, obs://Bucket name/Package name.

              +

              Definition

              +

              Name of the package that is of the JAR or pyFile type and has been uploaded to the DLI resource management system.

              +

              You can also specify an OBS path, for example, obs://Bucket name/Package name.

              +

              Constraints

              +

              Spark 3.3.x or later supports only packages in OBS paths.

              +

              Range

              +

              None

              +

              Default Value

              +

              None

              className

              @@ -55,7 +73,14 @@

              String

              Java/Spark main class of the batch processing job.

              +

              Definition

              +

              Java/Spark main class of the batch processing job

              +

              Constraints

              +

              None

              +

              Range

              +

              None

              +

              Default Value

              +

              None

              queue

              @@ -64,9 +89,14 @@

              String

              Queue name. Set this parameter to the name of the created DLI queue. The queue must be of the general-purpose type.

              -
              NOTE:
              • This parameter is compatible with the cluster_name parameter. That is, if cluster_name is used to specify a queue, the queue is still valid.
              • You are advised to use the queue parameter. The queue and cluster_name parameters cannot coexist.
              -
              +

              Definition

              +

              Queue name. Set this parameter to the name of the created DLI queue. The queue must be of the general-purpose type.

              +

              Constraints

              +
              • This parameter is compatible with the cluster_name parameter. That is, if cluster_name is used to specify a queue, the queue is still valid.
              • The queue parameter is recommended. If queue and cluster_name are both set, the value of queue is used.
              +

              Range

              +

              None

              +

              Default Value

              +

              None

              cluster_name

              @@ -75,9 +105,14 @@

              String

              Queue name. Set this parameter to the created DLI queue name.

              -
              NOTE:

              You are advised to use the queue parameter. The queue and cluster_name parameters cannot coexist.

              -
              +

              Definition

              +

              Queue name. Set this parameter to the created DLI queue name.

              +

              Constraints

              +

              You are advised to use the queue parameter. The queue and cluster_name parameters cannot coexist.

              +

              Range

              +

              None

              +

              Default Value

              +

              None

              args

              @@ -86,7 +121,14 @@

              Array of strings

              Input parameters of the main class, that is, application parameters.

              +

              Definition

              +

              Input parameters of the main class, that is, application parameters.

              +

              Constraints

              +

              None

              +

              Range

              +

              None

              +

              Default Value

              +

              None

              sc_type

              @@ -95,7 +137,14 @@

              String

              Compute resource type. Currently, resource types A, B, and C are available. If this parameter is not specified, the minimum configuration (type A) is used. For details about resource types, see Table 3.

              +

              Definition

              +

              Compute resource type. Currently, resource types A, B, and C are available. If this parameter is not specified, the minimum configuration (type A) is used. For details about resource types, see Table 3.

              +

              Constraints

              +

              None

              +

              Range

              +

              None

              +

              Default Value

              +

              None

              jars

              @@ -104,7 +153,14 @@

              Array of strings

              Name of the package that is of the JAR type and has been uploaded to the DLI resource management system. You can also specify an OBS path, for example, obs://Bucket name/Package name.

              +

              Definition

              +

              Name of the package that is of the JAR type and has been uploaded to the DLI resource management system. You can also specify an OBS path, for example, obs://Bucket name/Package name.

              +

              Constraints

              +

              None

              +

              Range

              +

              None

              +

              Default Value

              +

              None

              pyFiles

              @@ -113,7 +169,14 @@

              Array of strings

              Name of the package that is of the PyFile type and has been uploaded to the DLI resource management system. You can also specify an OBS path, for example, obs://Bucket name/Package name.

              +

              Definition

              +

              Name of the package that is of the PyFile type and has been uploaded to the DLI resource management system. You can also specify an OBS path, for example, obs://Bucket name/Package name.

              +

              Constraints

              +

              None

              +

              Range

              +

              None

              +

              Default Value

              +

              None

              files

              @@ -122,7 +185,14 @@

              Array of strings

              Name of the package that is of the file type and has been uploaded to the DLI resource management system. You can also specify an OBS path, for example, obs://Bucket name/Package name.

              +

              Definition

              +

              Name of the package that is of the file type and has been uploaded to the DLI resource management system. You can also specify an OBS path, for example, obs://Bucket name/Package name.

              +

              Constraints

              +

              None

              +

              Range

              +

              None

              +

              Default Value

              +

              None

              modules

              @@ -131,9 +201,15 @@

              Array of strings

              Name of the dependent system resource module. You can view the module name using the API related to Querying Resource Packages in a Group (Deprecated).

              +

              Definition

              +

              Name of the dependency system resource module. You can check the module name using the Querying Resource Packages in a Group (Deprecated) API.

              +

              Constraints

              +

              None

              +

              Range

              DLI provides dependencies for executing datasource jobs. The following table lists the dependency modules corresponding to different services.
              • CloudTable/MRS HBase: sys.datasource.hbase
              • CloudTable/MRS OpenTSDB: sys.datasource.opentsdb
              • RDS MySQL: sys.datasource.rds
              • RDS Postgre: preset
              • DWS: preset
              • CSS: sys.datasource.css
              +

              Default Value

              +

              None

              resources

              @@ -142,7 +218,14 @@

              Array of objects

              JSON object list, including the name and type of the JSON package that has been uploaded to the queue. For details, see Table 4.

              +

              Definition

              +

              JSON object list, including the name and type of the JSON package that has been uploaded to the queue. For details, see Table 4.

              +

              Constraints

              +

              Spark 3.3.x or later does not support this parameter. Configure resource package information in jars, pyFiles, and files.

              +

              Range

              +

              None

              +

              Default Value

              +

              None

              groups

              @@ -151,7 +234,14 @@

              Array of objects

              JSON object list, including the package group resource. For details about the format, see the request example. If the type of the name in resources is not verified, the package with the name exists in the group. For details, see Table 5.

              +

              Definition

              +

              JSON object list, including the package group resource. For details about the format, see the request example. If the type of the name in resources is not verified, the package with the name exists in the group. For details, see Table 5.

              +

              Constraints

              +

              Spark 3.3.x or later does not support group information configuration.

              +

              Range

              +

              None

              +

              Default Value

              +

              None

              conf

              @@ -160,7 +250,14 @@

              Object

              Batch configuration item.

              +

              Definition

              +

              Batch configuration item.

              +

              Constraints

              +

              None

              +

              Range

              +

              None

              +

              Default Value

              +

              None

              name

              @@ -169,7 +266,14 @@

              String

              Batch processing task name. The value contains a maximum of 128 characters.

              +

              Definition

              +

              Batch processing task name. The value contains a maximum of 128 characters.

              +

              Constraints

              +

              None

              +

              Range

              +

              None

              +

              Default Value

              +

              None

              driverMemory

              @@ -178,7 +282,14 @@

              String

              Driver memory of the Spark application, for example, 2 GB and 2048 MB. This configuration will replace the default settings in sc_type. When using it, you must include the unit, otherwise it will fail to start.

              +

              Definition

              +

              Driver memory of the Spark application, for example, 2 GB and 2048 MB. This configuration will replace the default settings in sc_type. When using it, you must include the unit, otherwise it will fail to start.

              +

              Constraints

              +

              None

              +

              Range

              +

              None

              +

              Default Value

              +

              None

              driverCores

              @@ -187,7 +298,14 @@

              Integer

              Number of CPU cores of the Spark application driver. This configuration item replaces the default parameter in sc_type.

              +

              Definition

              +

              Number of CPU cores of the Spark application driver. This configuration item replaces the default parameter in sc_type.

              +

              Constraints

              +

              None

              +

              Range

              +

              None

              +

              Default Value

              +

              None

              executorMemory

              @@ -196,7 +314,14 @@

              String

              Executor memory of the Spark application, for example, 2 GB and 2048 MB. This configuration will replace the default settings in sc_type. When using it, you must include the unit, otherwise it will fail to start.

              +

              Definition

              +

              Executor memory of the Spark application, for example, 2 GB and 2048 MB. This configuration will replace the default settings in sc_type. When using it, you must include the unit, otherwise it will fail to start.

              +

              Constraints

              +

              None

              +

              Range

              +

              None

              +

              Default Value

              +

              None

              executorCores

              @@ -205,7 +330,14 @@

              Integer

              Number of CPU cores of each Executor in the Spark application. This configuration item replaces the default parameter in sc_type.

              +

              Definition

              +

              Number of CPU cores of each Executor in the Spark application. This configuration item replaces the default parameter in sc_type.

              +

              Constraints

              +

              None

              +

              Range

              +

              None

              +

              Default Value

              +

              None

              numExecutors

              @@ -214,7 +346,14 @@

              Integer

              Number of Executors in a Spark application. This configuration item replaces the default parameter in sc_type.

              +

              Definition

              +

              Number of Executors in a Spark application. This configuration item replaces the default parameter in sc_type.

              +

              Constraints

              +

              None

              +

              Range

              +

              None

              +

              Default Value

              +

              None

              obs_bucket

              @@ -223,7 +362,14 @@

              String

              OBS bucket for storing the Spark jobs. Set this parameter when you need to save jobs.

              +

              Definition

              +

              OBS bucket for storing the Spark jobs. Set this parameter when you need to save jobs.

              +

              Constraints

              +

              None

              +

              Range

              +

              None

              +

              Default Value

              +

              None

              auto_recovery

              @@ -232,7 +378,14 @@

              Boolean

              Whether to enable the retry function. If enabled, Spark jobs will be automatically retried after an exception occurs. The default value is false.

              +

              Definition

              +

              Whether to enable the retry function. If enabled, Spark jobs will be automatically retried after an exception occurs. The default value is false.

              +

              Constraints

              +

              None

              +

              Range

              +

              None

              +

              Default Value

              +

              false

              max_retry_times

              @@ -241,7 +394,30 @@

              Integer

              Maximum retry times. The maximum value is 100, and the default value is 20.

              +

              Definition

              +

              Maximum retry times. The maximum value is 100, and the default value is 20.

              +

              Constraints

              +

              None

              +

              Range

              +

              None

              +

              Default Value

              +

              20

              +

              execution_agency_urn

              +

              No

              +

              String

              +

              Definition

              +

              Name of the agency authorized to DLI. This parameter is configurable in Spark 3.3.1.

              +

              Constraints

              +

              None

              +

              Range

              +

              None

              +

              Default Value

              +

              None

              catalog_name

              @@ -250,7 +426,14 @@

              String

              To access metadata, set this parameter to dli.

              +

              Definition

              +

              To access metadata, set this parameter to dli.

              +

              Constraints

              +

              None

              +

              Range

              +

              None

              +

              Default Value

              +

              None

              String

              Resource name You can also specify an OBS path, for example, obs://Bucket name/Package name.

              +

              Definition

              +

              Resource name You can also specify an OBS path, for example, obs://Bucket name/Package name.

              +

              Constraints

              +

              None

              +

              Range

              +

              None

              +

              Default Value

              +

              None

              type

              @@ -347,7 +537,14 @@

              String

              Resource type.

              +

              Definition

              +

              Resource type.

              +

              Constraints

              +

              None

              +

              Range

              +

              None

              +

              Default Value

              +

              None

              String

              User group name

              +

              Definition

              +

              User group name

              +

              Constraints

              +

              None

              +

              Range

              +

              None

              +

              Default Value

              +

              None

              resources

              @@ -379,7 +583,14 @@

              Array of objects

              User group resource For details, see Table 4.

              +

              Definition

              +

              User group resource For details, see Table 4.

              +

              Constraints

              +

              None

              +

              Range

              +

              None

              +

              Default Value

              +

              None

              String

              ID of a batch processing job.

              +

              Definition

              +

              ID of a batch processing job.

              +

              Range

              +

              None

              appId

              @@ -412,7 +626,10 @@

              String

              Back-end application ID of a batch processing job.

              +

              Definition

              +

              Back-end application ID of a batch processing job.

              +

              Range

              +

              None

              name

              @@ -421,7 +638,10 @@

              String

              Batch processing task name. The value contains a maximum of 128 characters.

              +

              Definition

              +

              Batch processing task name. The value contains a maximum of 128 characters.

              +

              Range

              +

              None

              owner

              @@ -430,7 +650,10 @@

              String

              Owner of a batch processing job.

              +

              Definition

              +

              Owner of a batch processing job.

              +

              Range

              +

              None

              proxyUser

              @@ -439,7 +662,10 @@

              String

              Proxy user (resource tenant) to which a batch processing job belongs.

              +

              Definition

              +

              Proxy user (resource tenant) to which a batch processing job belongs.

              +

              Range

              +

              None

              state

              @@ -448,7 +674,10 @@

              String

              Status of a batch processing job. For details, see Table 7.

              +

              Definition

              +

              Status of a batch processing job. For details, see Table 7.

              +

              Range

              +

              None

              kind

              @@ -457,7 +686,10 @@

              String

              Type of a batch processing job. Only Spark parameters are supported.

              +

              Definition

              +

              Type of a batch processing job. Only Spark parameters are supported.

              +

              Range

              +

              None

              log

              @@ -466,7 +698,10 @@

              Array of strings

              Last 10 records of the current batch processing job.

              +

              Definition

              +

              Last 10 records of the current batch processing job.

              +

              Range

              +

              None

              sc_type

              @@ -475,7 +710,13 @@

              String

              Type of a computing resource. If the computing resource type is customized, value CUSTOMIZED is returned.

              +

              Definition

              +

              Compute resource type. Currently, the value can be A, B, or C. If the compute resource type is customized, value CUSTOMIZED is returned.

              +

              Range

              +
              • A: physical resources, with 8 vCPUs and 32 GB of memory
                • driverCores: 2;
                • executorCores: 1;
                • driverMemory: 7G;
                • executorMemory: 4G;
                • numExecutor: 6.
                +
              • B: physical resources, with 16 vCPUs and 64 GB of memory
                • driverCores: 2;
                • executorCores: 2;
                • driverMemory: 7G;
                • executorMemory: 8G;
                • numExecutor: 7.
                +
              • C: physical resources, with 32 vCPUs and 128 GB of memory
                • driverCores: 4;
                • executorCores: 2;
                • driverMemory: 15G;
                • executorMemory: 8G;
                • numExecutor: 14.
                +

              cluster_name

              @@ -484,7 +725,10 @@

              String

              Queue where a batch processing job is located.

              +

              Definition

              +

              Queue where a batch processing job is located.

              +

              Range

              +

              None

              queue

              @@ -493,9 +737,11 @@

              String

              Queue name. Set this parameter to the name of the created DLI queue.

              -
              NOTE:
              • This parameter is compatible with the cluster_name parameter. That is, if cluster_name is used to specify a queue, the queue is still valid.
              • You are advised to use the queue parameter. The queue and cluster_name parameters cannot coexist.
              -
              +

              Definition

              +

              Queue name. Set this parameter to the name of the created DLI queue.

              +
              • This parameter is compatible with the cluster_name parameter. That is, if cluster_name is used to specify a queue, the queue is still valid.
              • You are advised to use the queue parameter. The queue and cluster_name parameters cannot coexist.
              +

              Range

              +

              None

              create_time

              @@ -504,7 +750,10 @@

              Long

              Time when a batch processing job is created. The timestamp is expressed in milliseconds.

              +

              Definition

              +

              Time when a batch processing job is created. The timestamp is in milliseconds.

              +

              Range

              +

              None

              update_time

              @@ -513,7 +762,10 @@

              Long

              Time when a batch processing job is updated. The timestamp is expressed in milliseconds.

              +

              Definition

              +

              Time when a batch processing job is updated. The timestamp is in milliseconds.

              +

              Range

              +

              None

              duration

              @@ -522,7 +774,10 @@

              Long

              Job running duration (unit: millisecond)

              +

              Definition

              +

              Job running duration, in milliseconds.

              +

              Range

              +

              None

              @@ -633,14 +889,14 @@ -
              Table 8 Status codes

              Status Code

              500

              Internal service error.

              +

              Internal server error.

            -

            Error Codes

            If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.

            +

            Error Codes

            If an error occurs when this API is called, the system does not return the result similar to the preceding example, but returns an error code and error message. For details, see Error Codes.

            diff --git a/docs/dli/api-ref/dli_02_0125.html b/docs/dli/api-ref/dli_02_0125.html index b87b35026..f85c0869b 100644 --- a/docs/dli/api-ref/dli_02_0125.html +++ b/docs/dli/api-ref/dli_02_0125.html @@ -21,7 +21,15 @@

            String

            Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

            +

            Definition

            +

            Project ID, which is used for resource isolation. For how to obtain a project ID, see Obtaining a Project ID.

            +

            Example: 48cc2c48765f481480c7db940d6409d1

            +

            Constraints

            +

            None

            +

            Range

            +

            The value can contain up to 64 characters. Only letters and digits are allowed.

            +

            Default Value

            +

            None

            String

            Name of a batch processing job.

            +

            Definition

            +

            Name of a batch processing job.

            +

            Constraints

            +

            None

            +

            Range

            +

            None

            +

            Default Value

            +

            None

            job-id

            @@ -53,7 +68,14 @@

            String

            This API is used to query a batch job based on the job ID.

            +

            Definition

            +

            Job ID used to query a batch job. Example: 03923a72-5ace-466a-a573-e8c7b08b8cf3

            +

            Constraints

            +

            None

            +

            Range

            +

            None

            +

            Default Value

            +

            None

            cluster_name

            @@ -62,7 +84,14 @@

            String

            DLI queue name. If this parameter is left blank, the names of all batch processing jobs in the current project are obtained. You are advised to specify this parameter, instead of leaving it blank.

            +

            Definition

            +

            DLI queue name. If this parameter is left blank, the names of all batch processing jobs in the current project are obtained. You are advised to specify this parameter, instead of leaving it blank.

            +

            Constraints

            +

            None

            +

            Range

            +

            None

            +

            Default Value

            +

            None

            queue_name

            @@ -71,7 +100,14 @@

            String

            DLI queue name. You can query batch jobs based on the queue name. This method is recommended.

            +

            Definition

            +

            DLI queue name. You can query batch jobs based on the queue name. This method is recommended.

            +

            Constraints

            +

            None

            +

            Range

            +

            None

            +

            Default Value

            +

            None

            from

            @@ -80,7 +116,14 @@

            Integer

            Index number of the start batch processing job. By default, the index number starts from 0.

            +

            Definition

            +

            Index number of the start batch processing job. By default, the index number starts from 0.

            +

            Constraints

            +

            None

            +

            Range

            +

            None

            +

            Default Value

            +

            None

            size

            @@ -89,7 +132,14 @@

            Integer

            Number of batch processing jobs to be queried

            +

            Definition

            +

            Number of batch processing jobs to be queried

            +

            Constraints

            +

            None

            +

            Range

            +

            None

            +

            Default Value

            +

            None

            state

            @@ -98,7 +148,14 @@

            String

            Query batch jobs by job status.

            +

            Definition

            +

            Job status by which batch jobs are queried

            +

            Constraints

            +

            None

            +

            Range

            +
            • starting: A job is being started.
            • running: A job is being executed.
            • dead: A session has exited.
            • success: A session is successfully stopped.
            • recovering: A job is being restored.
            +

            Default Value

            +

            None

            owner

            @@ -107,7 +164,14 @@

            String

            User who submits a job.

            +

            Definition

            +

            User who submits a job.

            +

            Constraints

            +

            None

            +

            Range

            +

            None

            +

            Default Value

            +

            None

            - - - - @@ -184,7 +260,10 @@ - - - - - - - - - - - - - - - - diff --git a/docs/dli/api-ref/dli_02_0126.html b/docs/dli/api-ref/dli_02_0126.html index 497d37b1c..4711ae798 100644 --- a/docs/dli/api-ref/dli_02_0126.html +++ b/docs/dli/api-ref/dli_02_0126.html @@ -1,10 +1,10 @@ -

            Querying Batch Job Details

            +

            Querying Batch Processing Job Details

            Function

            This API is used to query details about a batch processing job based on the job ID.

            URI

            • URI format

              GET /v2.0/{project_id}/batches/{batch_id}

              -
            • Parameter description +
            • Parameter descriptions
            Table 3 Response parameters

            Parameter

            Mandatory

            @@ -134,7 +198,10 @@

            Integer

            Index number of the start batch processing job.

            +

            Definition

            +

            Index number of the start batch processing job.

            +

            Range

            +

            None

            total

            @@ -143,7 +210,10 @@

            Integer

            Total number of batch processing jobs.

            +

            Definition

            +

            Total number of batch processing jobs.

            +

            Range

            +

            None

            sessions

            @@ -152,7 +222,10 @@

            Array of objects

            Batch job information. For details, see Table 4.

            +

            Definition

            +

            Batch job information. For details, see Table 4.

            +

            Range

            +

            None

            create_time

            @@ -161,7 +234,10 @@

            Long

            Time when a batch processing job is created.

            +

            Definition

            +

            Time when a batch processing job is created.

            +

            Range

            +

            None

            Long

            Job running duration (unit: millisecond)

            +

            Definition

            +

            Job running duration (unit: millisecond)

            +

            Range

            +

            None

            id

            @@ -193,7 +272,10 @@

            String

            ID of a batch processing job.

            +

            Definition

            +

            ID of a batch processing job

            +

            Range

            +

            None

            state

            @@ -202,7 +284,10 @@

            String

            Status of a batch processing job

            +

            Definition

            +

            Status of a batch processing job

            +

            Range

            +
            • starting: A job is being started.
            • running: A job is being executed.
            • dead: A session has exited.
            • success: A session is successfully stopped.
            • recovering: A job is being restored.

            appId

            @@ -211,7 +296,10 @@

            String

            Back-end application ID of a batch processing job

            +

            Definition

            +

            Backend application ID of a batch processing job

            +

            Range

            +

            None

            log

            @@ -220,7 +308,10 @@

            Array of Strings

            Last 10 records of the current batch processing job

            +

            Definition

            +

            Last 10 records of the current batch processing job

            +

            Range

            +

            None

            sc_type

            @@ -229,7 +320,13 @@

            String

            Type of a computing resource. If the computing resource type is customized, value CUSTOMIZED is returned.

            +

            Definition

            +

            Type of a computing resource. Currently, the value can be A, B, or C. If the computing resource type is customized, value CUSTOMIZED is returned.

            +

            Range

            +
            • A: physical resources, with 8 vCPUs and 32 GB of memory
              • driverCores: 2;
              • executorCores: 1;
              • driverMemory: 7G;
              • executorMemory: 4G;
              • numExecutor: 6.
              +
            • B: physical resources, with 16 vCPUs and 64 GB of memory
              • driverCores: 2;
              • executorCores: 2;
              • driverMemory: 7G;
              • executorMemory: 8G;
              • numExecutor: 7.
              +
            • C: physical resources, with 32 vCPUs and 128 GB of memory
              • driverCores: 4;
              • executorCores: 2;
              • driverMemory: 15G;
              • executorMemory: 8G;
              • numExecutor: 14.
              +

            cluster_name

            @@ -238,7 +335,10 @@

            String

            Queue where a batch processing job is located.

            +

            Definition

            +

            Queue where a batch processing job is located.

            +

            Range

            +

            None

            create_time

            @@ -247,7 +347,10 @@

            Long

            Time when a batch processing job is created. The timestamp is in milliseconds.

            +

            Definition

            +

            Time when a batch processing job is created. The timestamp is in milliseconds.

            +

            Range

            +

            None

            name

            @@ -256,7 +359,10 @@

            String

            Name of a batch processing job.

            +

            Definition

            +

            Name of a batch processing job.

            +

            Range

            +

            None

            owner

            @@ -265,7 +371,10 @@

            String

            Owner of a batch processing job.

            +

            Definition

            +

            Owner of a batch processing job.

            +

            Range

            +

            None

            proxyUser

            @@ -274,7 +383,10 @@

            String

            Proxy user (resource tenant) to which a batch processing job belongs.

            +

            Definition

            +

            Proxy user (resource tenant) to which a batch processing job belongs.

            +

            Range

            +

            None

            kind

            @@ -283,7 +395,10 @@

            String

            Type of a batch processing job. Only Spark parameters are supported.

            +

            Definition

            +

            Type of a batch processing job. Only Spark parameters are supported.

            +

            Range

            +

            None

            queue

            @@ -292,7 +407,10 @@

            String

            Queue where a batch processing job is located.

            +

            Definition

            +

            Queue where a batch processing job is located.

            +

            Range

            +

            None

            image

            @@ -301,8 +419,11 @@

            String

            Custom image. The format is Organization name/Image name:Image version.

            -

            This parameter is valid only when feature is set to custom. You can use this parameter with the feature parameter to specify a user-defined Spark image for job running.

            +

            Definition

            +

            Custom image. The format is Organization name/Image name:Image version.

            +

            This parameter is valid only when feature is set to custom. You can use this parameter with the feature parameter to specify a custom Spark image for job running.

            +

            Range

            +

            None

            req_body

            @@ -311,7 +432,10 @@

            String

            Request parameter details.

            +

            Definition

            +

            Request parameter details.

            +

            Range

            +

            None

            update_time

            @@ -320,7 +444,10 @@

            Long

            Time when a batch processing job is updated. The timestamp is in milliseconds.

            +

            Definition

            +

            Time when a batch processing job is updated. The timestamp is in milliseconds.

            +

            Range

            +

            None

            - - @@ -38,9 +54,9 @@ -

            Request

            None

            +

            Request Parameters

            None

            -

            Response

            +

            Response Parameters

            Table 1 URI parameters

            Parameter

            Mandatory

            @@ -21,7 +21,15 @@

            String

            Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

            +

            Definition

            +

            Project ID, which is used for resource isolation. For how to obtain a project ID, see Obtaining a Project ID.

            +

            Example: 48cc2c48765f481480c7db940d6409d1

            +

            Constraints

            +

            None

            +

            Range

            +

            The value can contain 1 to 64 characters. Only letters and digits are allowed.

            +

            Default Value

            +

            None

            batch_id

            @@ -30,7 +38,15 @@

            String

            ID of a batch processing job.

            +

            Definition

            +

            ID of a batch processing job. For details about how to obtain an ID, see appId in the response parameters in Listing Batch Processing Jobs.

            +

            Example: 0a324461-d9d9-45da-a52a-3b3c7a3d809e

            +

            Constraints

            +

            The parameter value must be a string matching the regular expression ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$.

            +

            Range

            +

            None

            +

            Default Value

            +

            None

            - - - - - - - - - - - - - - @@ -203,7 +264,7 @@ "update_time": 1531906043036 } -

            Status Codes

            Table 3 describes the status code.

            +

            Status Codes

            Table 3 describes status codes.

            Table 2 Response parameters

            Parameter

            Mandatory

            @@ -57,7 +73,10 @@

            String

            ID of a batch processing job.

            +

            Definition

            +

            ID of a batch processing job, which is in the universal unique identifier (UUID) format

            +

            Range

            +

            None

            appId

            @@ -66,7 +85,10 @@

            String

            Back-end application ID of a batch processing job.

            +

            Definition

            +

            Back-end application ID of a batch processing job.

            +

            Range

            +

            None

            name

            @@ -75,7 +97,10 @@

            String

            Name of a batch processing job.

            +

            Definition

            +

            Name of a batch processing job.

            +

            Range

            +

            None

            owner

            @@ -84,7 +109,10 @@

            String

            Owner of a batch processing job.

            +

            Definition

            +

            Owner of a batch processing job.

            +

            Range

            +

            None

            proxyUser

            @@ -93,7 +121,10 @@

            String

            Proxy user (resource tenant) to which a batch processing job belongs.

            +

            Definition

            +

            Proxy user (resource tenant) to which a batch processing job belongs.

            +

            Range

            +

            None

            state

            @@ -102,7 +133,10 @@

            String

            Status of a batch processing job. For details, see Table 7 in Creating a Batch Processing Job.

            +

            Definition

            +

            Status of a batch processing job

            +

            Range

            +
            • starting: A job is being started.
            • running: A job is being executed.
            • dead: A session has exited.
            • success: A session is successfully stopped.
            • recovering: A job is being restored.

            kind

            @@ -111,7 +145,10 @@

            String

            Type of a batch processing job. Only Spark parameters are supported.

            +

            Definition

            +

            Type of a batch processing job. Only Spark parameters are supported.

            +

            Range

            +

            None

            log

            @@ -120,7 +157,10 @@

            Array of Strings

            Last 10 records of the current batch processing job.

            +

            Definition

            +

            Last 10 records of the current batch processing job.

            +

            Range

            +

            None

            sc_type

            @@ -129,7 +169,13 @@

            String

            Type of a computing resource. If the computing resource type is customized, value CUSTOMIZED is returned.

            +

            Definition

            +

            Compute resource type. Currently, the value can be A, B, or C. If the compute resource type is customized, value CUSTOMIZED is returned.

            +

            Range

            +
            • A: physical resources, with 8 vCPUs and 32 GB of memory
              • driverCores: 2;
              • executorCores: 1;
              • driverMemory: 7G;
              • executorMemory: 4G;
              • numExecutor: 6.
              +
            • B: physical resources, with 16 vCPUs and 64 GB of memory
              • driverCores: 2;
              • executorCores: 2;
              • driverMemory: 7G;
              • executorMemory: 8G;
              • numExecutor: 7.
              +
            • C: physical resources, with 32 vCPUs and 128 GB of memory
              • driverCores: 4;
              • executorCores: 2;
              • driverMemory: 15G;
              • executorMemory: 8G;
              • numExecutor: 14.
              +

            cluster_name

            @@ -138,7 +184,10 @@

            String

            Queue where a batch processing job is located.

            +

            Definition

            +

            Queue where a batch processing job is located.

            +

            Range

            +

            None

            queue

            @@ -147,7 +196,10 @@

            String

            Queue where a batch processing job is located.

            +

            Definition

            +

            Queue where a batch processing job is located.

            +

            Range

            +

            None

            create_time

            @@ -156,7 +208,10 @@

            Long

            Time when a batch processing job is created. The timestamp is expressed in milliseconds.

            +

            Definition

            +

            Time when a batch processing job is created. The timestamp is in milliseconds.

            +

            Range

            +

            None

            update_time

            @@ -165,7 +220,10 @@

            Long

            Time when a batch processing job is updated. The timestamp is expressed in milliseconds.

            +

            Definition

            +

            Time when a batch processing job is updated. The timestamp is in milliseconds.

            +

            Range

            +

            None

            req_body

            @@ -174,7 +232,10 @@

            String

            Request parameter details.

            +

            Definition

            +

            Request parameter details.

            +

            Range

            +

            None

            @@ -223,14 +284,14 @@ -
            Table 3 Status codes

            Status Code

            500

            Internal service error.

            +

            Internal server error.

            -

            Error Codes

            If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.

            +

            Error Codes

            If an error occurs when this API is called, the system does not return the result similar to the preceding example, but returns an error code and error message. For details, see Error Codes.

            diff --git a/docs/dli/api-ref/dli_02_0127.html b/docs/dli/api-ref/dli_02_0127.html index 0a215eed5..6ccdcea3a 100644 --- a/docs/dli/api-ref/dli_02_0127.html +++ b/docs/dli/api-ref/dli_02_0127.html @@ -1,10 +1,10 @@ -

            Querying a Batch Job Status

            +

            Querying a Batch Processing Job Status

            Function

            This API is used to obtain the execution status of a batch processing job.

            URI

            • URI format

              GET /v2.0/{project_id}/batches/{batch_id}/state

              -
            • Parameter description +
            • Parameter descriptions
              - - @@ -32,9 +48,9 @@ -

              Request

              None

              +

              Request Parameters

              None

              -

              Response

              +

              Response Parameters

              Table 1 URI parameters

              Parameter

              Mandatory

              @@ -17,14 +17,30 @@

              Yes

              Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

              +

              Definition

              +

              Project ID, which is used for resource isolation. For how to obtain a project ID, see Obtaining a Project ID.

              +

              Example: 48cc2c48765f481480c7db940d6409d1

              +

              Constraints

              +

              None

              +

              Range

              +

              The value can contain 1 to 64 characters. Only letters and digits are allowed.

              +

              Default Value

              +

              None

              batch_id

              Yes

              ID of a batch processing job.

              +

              Definition

              +

              ID of a batch processing job. For details about how to obtain an ID, see appId in the response parameters in Listing Batch Processing Jobs.

              +

              Example: 0a324461-d9d9-45da-a52a-3b3c7a3d809e

              +

              Constraints

              +

              The parameter value must be a string matching the regular expression ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$.

              +

              Range

              +

              None

              +

              Default Value

              +

              None

              - - @@ -71,7 +93,7 @@

              Example Response

              {"id":"0a324461-d9d9-45da-a52a-3b3c7a3d809e","state":"Success"}
              -

              Status Codes

              Table 3 describes the status code.

              +

              Status Codes

              Table 3 describes status codes.

              Table 2 Response parameters

              Parameter

              Mandatory

              @@ -51,7 +67,10 @@

              String

              ID of a batch processing job, which is in the universal unique identifier (UUID) format.

              +

              Definition

              +

              ID of a batch processing job, which is in the universal unique identifier (UUID) format.

              +

              Range

              +

              None

              state

              @@ -60,7 +79,10 @@

              String

              Status of a batch processing job. For details, see Table 7 in Creating a Batch Processing Job.

              +

              Definition

              +

              Status of a batch processing job

              +

              Range

              +
              • starting: A job is being started.
              • running: A job is being executed.
              • dead: A session has exited.
              • success: A session is successfully stopped.
              • recovering: A job is being restored.
              @@ -91,14 +113,14 @@ -
              Table 3 Status codes

              Status Code

              500

              Internal service error.

              +

              Internal server error.

            -

            Error Codes

            If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.

            +

            Error Codes

            If an error occurs when this API is called, the system does not return the result similar to the preceding example, but returns an error code and error message. For details, see Error Codes.

            diff --git a/docs/dli/api-ref/dli_02_0128.html b/docs/dli/api-ref/dli_02_0128.html index 06e046f69..1b9570bd2 100644 --- a/docs/dli/api-ref/dli_02_0128.html +++ b/docs/dli/api-ref/dli_02_0128.html @@ -2,7 +2,7 @@

            Querying Batch Job Logs (Deprecated)

            Function

            This API is used to query the back-end logs of batch processing jobs.

            -

            This API has been deprecated and is not recommended.

            +

            This API has been deprecated and is not recommended.

            URI

            • URI format

              GET /v2.0/{project_id}/batches/{batch_id}/log

              @@ -90,9 +90,9 @@
            -

            Request

            None

            +

            Request Parameters

            None

            -

            Response

            +

            Response Parameters

            Table 3 Response parameters

            Parameter

            Mandatory

            diff --git a/docs/dli/api-ref/dli_02_0129.html b/docs/dli/api-ref/dli_02_0129.html index cf97fe6b8..a3d2e67e8 100644 --- a/docs/dli/api-ref/dli_02_0129.html +++ b/docs/dli/api-ref/dli_02_0129.html @@ -40,9 +40,9 @@ -

            Request

            None

            +

            Request Parameters

            None

            -

            Response

            +

            Response Parameters

            Table 2 Response parameter

            Parameter

            Mandatory

            diff --git a/docs/dli/api-ref/dli_02_0130.html b/docs/dli/api-ref/dli_02_0130.html index 69405c8dd..6cd8ed215 100644 --- a/docs/dli/api-ref/dli_02_0130.html +++ b/docs/dli/api-ref/dli_02_0130.html @@ -2,7 +2,7 @@

            Uploading a Package Group (Deprecated)

            Function

            This API is used to upload a package group to a project. The function is similar to creating a package on the management console.

            -

            This API has been deprecated and is not recommended.

            +

            This API is deprecated for Flink 1.15 or later and Spark 3.3.1 or later, and its use is not recommended.

            URI

            • URI format

              POST /v2.0/{project_id}/resources

              @@ -31,7 +31,7 @@
            -

            Request

            +

            Request Parameters

            - -
            Table 2 Request parameters

            Parameter

            Mandatory

            @@ -110,9 +110,14 @@

            String

            Tag key.

            -
            NOTE:

            A tag key can contain a maximum of 128 characters. Only letters, numbers, spaces, and special characters (_.:+-@) are allowed, but the value cannot start or end with a space or start with _sys_.

            -
            +

            Definition

            +

            Tag key.

            +

            Constraints

            +

            None

            +

            Range

            +

            A tag key can contain up to 128 characters, cannot start or end with a space, and cannot start with _sys_. Only letters, digits, spaces, and the following special characters are allowed: _.:+-@

            +

            Default Value

            +

            None

            value

            @@ -121,15 +126,21 @@

            String

            NOTE:

            A tag value can contain a maximum of 255 characters. Only letters, numbers, spaces, and special characters (_.:+-@) are allowed.

            -
            +

            Definition

            +

            Tag value.

            +

            Constraints

            +

            None

            +

            Range

            +

            A tag value can contain up to 255 characters. Only letters, digits, spaces, and the following special characters are allowed: _.:+-@

            +

            Default Value

            +

            None

            -

            Response

            +

            Response Parameters

            - - diff --git a/docs/dli/api-ref/dli_02_0164.html b/docs/dli/api-ref/dli_02_0164.html index 9ef259531..d3ee17594 100644 --- a/docs/dli/api-ref/dli_02_0164.html +++ b/docs/dli/api-ref/dli_02_0164.html @@ -2,7 +2,7 @@

            Modifying a Database Owner (Deprecated)

            Function

            This API is used to modify the owner of a database.

            -

            This API has been deprecated and is not recommended.

            +

            This API has been deprecated and is not recommended.

            URI

            • URI format

              PUT /v1.0/{project_id}/databases/{database_name}/owner

              @@ -40,7 +40,7 @@
            -

            Request

            +

            Request Parameters

            Table 4 Response parameters

            Parameter

            Mandatory

            @@ -200,7 +211,7 @@

            Boolean

            Whether to upload resource packages in asynchronous mode. The default value is false, indicating that the asynchronous mode is not used. You are advised to upload resource packages in asynchronous mode.

            +

            Whether to upload resource packages in asynchronous mode. The default value is false, indicating that the asynchronous mode is not used. You are advised to upload resource packages in asynchronous mode.

            owner

            @@ -286,7 +297,7 @@

            Boolean

            Whether to upload resource packages in asynchronous mode. The default value is false, indicating that the asynchronous mode is not used. You are advised to upload resource packages in asynchronous mode.

            +

            Whether to upload resource packages in asynchronous mode. The default value is false, indicating that the asynchronous mode is not used. You are advised to upload resource packages in asynchronous mode.

            Table 2 Request parameters

            Parameter

            Mandatory

            @@ -64,7 +64,7 @@
            -

            Response

            +

            Response Parameters

            Table 3 Response parameters

            Parameter

            Mandatory

            diff --git a/docs/dli/api-ref/dli_02_0168.html b/docs/dli/api-ref/dli_02_0168.html index 78ba6a32a..62074226f 100644 --- a/docs/dli/api-ref/dli_02_0168.html +++ b/docs/dli/api-ref/dli_02_0168.html @@ -2,7 +2,7 @@

            Listing Package Groups (Deprecated)

            Function

            This API is used to query all resources in a project, including groups.

            -

            This API has been deprecated and is not recommended.

            +

            This API is deprecated for Flink 1.15 or later and Spark 3.3.1 or later, and its use is not recommended.

            URI

            • URI format

              GET /v2.0/{project_id}/resources

              @@ -64,9 +64,9 @@
            -

            Request

            None

            +

            Request Parameters

            None

            -

            Response

            +

            Response Parameters

            - -
            Table 3 Response parameters

            Parameter

            Mandatory

            @@ -169,7 +169,7 @@

            String

            • Value UPLOADING indicates that the resource package is being uploaded.
            • Value READY indicates that the resource package has been uploaded.
            • Value FAILED indicates that the resource package fails to be uploaded.
            +
            • Value UPLOADING indicates that the resource package is being uploaded.
            • Value READY indicates that the resource package has been uploaded.
            • Value FAILED indicates that the resource package fails to be uploaded.

            underlying_name

            @@ -228,7 +228,7 @@

            String

            • Value UPLOADING indicates that the package group is being uploaded.
            • Value READY indicates that the package group has been uploaded.
            • Value FAILED indicates that the package group fails to be uploaded.
            +
            • Value UPLOADING indicates that the package group is being uploaded.
            • Value READY indicates that the module package has been uploaded.
            • Value FAILED indicates that the package group fails to be uploaded.

            resources

            diff --git a/docs/dli/api-ref/dli_02_0169.html b/docs/dli/api-ref/dli_02_0169.html index 186e68285..32861500e 100644 --- a/docs/dli/api-ref/dli_02_0169.html +++ b/docs/dli/api-ref/dli_02_0169.html @@ -3,7 +3,7 @@

            Uploading a JAR Package Group (Deprecated)

            Function

            This API is used to upload a group of JAR packages to a project.

            When a resource group with the same name is uploaded, the new group overwrites the old group.

            -

            This API has been deprecated and is not recommended.

            +

            This API is deprecated for Flink 1.15 or later and Spark 3.3.1 or later, and its use is not recommended.

            URI

            • URI format

              POST /v2.0/{project_id}/resources/jars

              @@ -32,7 +32,7 @@
            -

            Request

            +

            Request Parameters

            Table 2 Request parameters

            Parameter

            Mandatory

            @@ -65,7 +65,7 @@
            -

            Response

            +

            Response Parameters

            Table 3 Response parameters

            Parameter

            Mandatory

            diff --git a/docs/dli/api-ref/dli_02_0170.html b/docs/dli/api-ref/dli_02_0170.html index c15717d19..17a90b5f6 100644 --- a/docs/dli/api-ref/dli_02_0170.html +++ b/docs/dli/api-ref/dli_02_0170.html @@ -2,7 +2,7 @@

            Uploading a PyFile Package Group (Deprecated)

            Function

            This API is used to upload a group of PyFile packages to a project. When a group with the same name as the PyFile package is uploaded, the new group overwrites the old group.

            -

            This API has been deprecated and is not recommended.

            +

            This API is deprecated for Flink 1.15 or later and Spark 3.3.1 or later, and its use is not recommended.

            URI

            • URI format

              POST /v2.0/{project_id}/resources/pyfiles

              @@ -31,7 +31,7 @@
            -

            Request

            +

            Request Parameters

            Table 2 Request parameters

            Parameter

            Mandatory

            @@ -64,7 +64,7 @@
            -

            Response

            +

            Response Parameters

            Table 3 Response parameters

            Parameter

            Mandatory

            diff --git a/docs/dli/api-ref/dli_02_0171.html b/docs/dli/api-ref/dli_02_0171.html index dae17cd61..8aefc19a1 100644 --- a/docs/dli/api-ref/dli_02_0171.html +++ b/docs/dli/api-ref/dli_02_0171.html @@ -2,7 +2,7 @@

            Uploading a File Package Group (Deprecated)

            Function

            This API is used to upload a group of File packages to a project. When the File package group with the same name is uploaded, the new group overwrites the old group.

            -

            This API has been deprecated and is not recommended.

            +

            This API is deprecated for Flink 1.15 or later and Spark 3.3.1 or later, and its use is not recommended.

            URI

            • URI format

              POST /v2.0/{project_id}/resources/files

              @@ -31,7 +31,7 @@
            -

            Request

            +

            Request Parameters

            Table 2 Request parameters

            Parameter

            Mandatory

            @@ -64,7 +64,7 @@
            -

            Response

            +

            Response Parameters

            Table 3 Response parameters

            Parameter

            Mandatory

            diff --git a/docs/dli/api-ref/dli_02_0172.html b/docs/dli/api-ref/dli_02_0172.html index e50af3398..e10dca97f 100644 --- a/docs/dli/api-ref/dli_02_0172.html +++ b/docs/dli/api-ref/dli_02_0172.html @@ -2,7 +2,7 @@

            Querying Resource Packages in a Group (Deprecated)

            Function

            This API is used to query resource information of a package group in a Project.

            -

            This API has been deprecated and is not recommended.

            +

            This API is deprecated for Flink 1.15 or later and Spark 3.3.1 or later, and its use is not recommended.

            URI

            • URI format

              GET /v2.0/{project_id}/resources/{resource_name}

              @@ -66,9 +66,9 @@
            -

            Request

            None

            +

            Request Parameters

            None

            -

            Response

            +

            Response Parameters

            @@ -168,7 +168,7 @@ diff --git a/docs/dli/api-ref/dli_02_0188.html b/docs/dli/api-ref/dli_02_0188.html index f00fd4b55..62b316c71 100644 --- a/docs/dli/api-ref/dli_02_0188.html +++ b/docs/dli/api-ref/dli_02_0188.html @@ -40,9 +40,9 @@ -

            Request

            None

            +

            Request Parameters

            None

            -

            Response

            +

            Response Parameters

            Table 3 Response parameters

            Parameter

            Type

            diff --git a/docs/dli/api-ref/dli_02_0173.html b/docs/dli/api-ref/dli_02_0173.html index 1544c2801..9f75dd2fd 100644 --- a/docs/dli/api-ref/dli_02_0173.html +++ b/docs/dli/api-ref/dli_02_0173.html @@ -2,7 +2,7 @@

            Deleting a Resource Package from a Group (Deprecated)

            Function

            This API is used to delete resource packages in a group in a Project.

            -

            This API has been deprecated and is not recommended.

            +

            This API is deprecated for Flink 1.15 or later and Spark 3.3.1 or later, and its use is not recommended.

            URI

            • URI format

              DELETE /v2.0/{project_id}/resources/{resource_name}

              @@ -66,9 +66,9 @@
            -

            Request

            None

            +

            Request Parameters

            None

            -

            Response

            • Code 200 is returned if you successfully delete a resource package.
            • Code 404 is returned if you initiate a request to delete a resource package that does not exist.
            +

            Response Parameters

            • Code 200 is returned if you successfully delete a resource package.
            • Code 404 is returned if you initiate a request to delete a resource package that does not exist.

            Example Request

            None

            diff --git a/docs/dli/api-ref/dli_02_0181.html b/docs/dli/api-ref/dli_02_0181.html index 1152f6f0e..702cf1ed7 100644 --- a/docs/dli/api-ref/dli_02_0181.html +++ b/docs/dli/api-ref/dli_02_0181.html @@ -1,62 +1,15 @@ -

            Overview

            -

            This section describes the APIs provided by DLI.

            -
            - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            Table 1 DLI APIs

            Type

            -

            Description

            -

            Permission-related APIs

            -

            You can assign permissions to queues, view queue users, assign data permissions, view database users, view table users, view table user permissions, and view the permissions of authorized users.

            -

            Global variable-related APIs

            -

            You can create, delete, modify, and query global variables.

            -

            Enhanced datasource connection-related APIs

            -

            You can create, delete, and query enhanced datasource connections, as well as bind and unbind queues, modify host information, and query enhanced datasource connection permissions.

            -

            Elastic resource pool-related APIs

            -

            You can create, modify, query, and delete elastic resource pools.

            -

            Queue-related APIs (recommended)

            -

            You can create, delete, and query all queues, modify the CIDR block of a queue, restart, scale up, and scale down queues, view detailed information about queues, create and query connectivity test requests for specific addresses, create, query, modify, and delete scheduled scaling plans for queues.

            -

            SQL job-related APIs

            -

            You can import and export data, submit SQL jobs, cancel jobs, query all jobs, preview job results, query job status, query job details, check SQL syntax, and export query results.

            -

            Flink job-related APIs

            -

            You can authorize DLI to OBS, create and update SQL jobs and user-defined Flink jobs, run jobs in batches, query the job list, job details, job execution plans, and job monitoring information. You can also stop jobs in batches, delete and batch delete jobs, export and import Flink jobs, create IEF message channels, report Flink job status and callback Flink job actions at the edge, and report IEF system events.

            -

            Flink job template-related APIs

            -

            You can create, update, and delete a template, and query the template list.

            -

            Spark job-related APIs

            -

            Creating batch jobs, cancel batch jobs, querying batch job lists, querying batch job details, querying batch job status, and querying batch job logs.

            -
            -
            -
            -
            +

            Permission-related APIs

            + +

            +
            + + diff --git a/docs/dli/api-ref/dli_02_0186.html b/docs/dli/api-ref/dli_02_0186.html index c5714252c..bc11b334b 100644 --- a/docs/dli/api-ref/dli_02_0186.html +++ b/docs/dli/api-ref/dli_02_0186.html @@ -1,8 +1,11 @@ -

            APIs Related to Enhanced Datasource Connections

            -

            + +

            APIs Related to Enhanced Datasource Connections

            + +

            + diff --git a/docs/dli/api-ref/dli_02_0187.html b/docs/dli/api-ref/dli_02_0187.html index 0321b72f5..d5918860e 100644 --- a/docs/dli/api-ref/dli_02_0187.html +++ b/docs/dli/api-ref/dli_02_0187.html @@ -157,7 +157,7 @@

            String

            Tag key.

            -
            NOTE:

            A tag key can contain a maximum of 128 characters. Only letters, numbers, spaces, and special characters (_.:+-@) are allowed, but the value cannot start or end with a space or start with _sys_.

            +
            NOTE:

            A tag key can contain up to 128 characters, cannot start or end with a space, and cannot start with _sys_. Only letters, digits, spaces, and the following special characters are allowed: _.:+-@

            String

            Tag key.

            -
            NOTE:

            A tag value can contain a maximum of 255 characters. Only letters, numbers, spaces, and special characters (_.:+-@) are allowed.

            +
            NOTE:

            A tag value can contain up to 255 characters. Only letters, digits, spaces, and the following special characters are allowed: _.:+-@

            Table 2 Response parameters

            Parameter

            Type

            diff --git a/docs/dli/api-ref/dli_02_0189.html b/docs/dli/api-ref/dli_02_0189.html index 86b4ae754..d5441270d 100644 --- a/docs/dli/api-ref/dli_02_0189.html +++ b/docs/dli/api-ref/dli_02_0189.html @@ -38,9 +38,9 @@ -

            Request

            None

            +

            Request Parameters

            None

            -

            Response

            +

            Response Parameters

            -
            Table 2 Response parameters

            Parameter

            Mandatory

            diff --git a/docs/dli/api-ref/dli_02_0190.html b/docs/dli/api-ref/dli_02_0190.html index 8afc1d32f..7451dc479 100644 --- a/docs/dli/api-ref/dli_02_0190.html +++ b/docs/dli/api-ref/dli_02_0190.html @@ -345,7 +345,7 @@

            String

            Detailed error message when the status is FAILED.

            +

            Detailed error message when the status is FAILED.

            update_time

            diff --git a/docs/dli/api-ref/dli_02_0191.html b/docs/dli/api-ref/dli_02_0191.html index 7b8b97044..c1813e349 100644 --- a/docs/dli/api-ref/dli_02_0191.html +++ b/docs/dli/api-ref/dli_02_0191.html @@ -38,7 +38,7 @@ -

            Request

            +

            Request Parameters

            Table 2 Request parameters

            Parameter

            Mandatory

            @@ -62,7 +62,7 @@
            -

            Response

            +

            Response Parameters

            Table 3 Response parameters

            Parameter

            Type

            diff --git a/docs/dli/api-ref/dli_02_0192.html b/docs/dli/api-ref/dli_02_0192.html index 32dea3c79..efac6d4ff 100644 --- a/docs/dli/api-ref/dli_02_0192.html +++ b/docs/dli/api-ref/dli_02_0192.html @@ -38,7 +38,7 @@ -

            Request

            +

            Request Parameters

            Table 2 Request parameters

            Parameter

            Mandatory

            @@ -62,7 +62,7 @@
            -

            Response

            +

            Response Parameters

            - @@ -48,9 +56,15 @@ - - - - - - - - - + + + + + @@ -153,9 +234,14 @@ - - @@ -190,7 +281,10 @@ - - - diff --git a/docs/dli/api-ref/dli_02_0195.html b/docs/dli/api-ref/dli_02_0195.html index f457003cf..d9232af34 100644 --- a/docs/dli/api-ref/dli_02_0195.html +++ b/docs/dli/api-ref/dli_02_0195.html @@ -40,9 +40,9 @@ -

            Request

            None

            +

            Request Parameters

            None

            -

            Response

            +

            Response Parameters

            Table 3 Response parameters

            Parameter

            Type

            diff --git a/docs/dli/api-ref/dli_02_0193.html b/docs/dli/api-ref/dli_02_0193.html index 3faf12443..f2c373d59 100644 --- a/docs/dli/api-ref/dli_02_0193.html +++ b/docs/dli/api-ref/dli_02_0193.html @@ -10,7 +10,7 @@ - diff --git a/docs/dli/api-ref/dli_02_0194.html b/docs/dli/api-ref/dli_02_0194.html index 1228b1844..b5db982cd 100644 --- a/docs/dli/api-ref/dli_02_0194.html +++ b/docs/dli/api-ref/dli_02_0194.html @@ -23,7 +23,15 @@

            String

            Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

            +

            Definition

            +

            Project ID, which is used for resource isolation. For how to obtain a project ID, see Obtaining a Project ID.

            +

            Example: 48cc2c48765f481480c7db940d6409d1

            +

            Constraints

            +

            None

            +

            Range

            +

            The value can contain up to 64 characters. Only letters and digits are allowed.

            +

            Default Value

            +

            None

            String

            Name of a newly created resource queue. The name can contain only digits, letters, and underscores (_), but cannot contain only digits or start with an underscore (_). Length range: 1 to 128 characters.

            -
            NOTE:

            The queue name is case-insensitive. The uppercase letters will be automatically converted to lowercase letters.

            -
            +

            Name of the new queue

            +

            Definition

            +

            Name of the new queue

            +

            Constraints

            +
            • The name cannot contain only digits or start with an underscore (_). Only digits, letters, and underscores (_) are allowed.
            • The value can contain up to 128 characters.
            • The queue name is case-insensitive. Uppercase letters will be automatically converted to lowercase letters.
            +

            Range

            +

            None

            +

            Default Value

            +

            None

            queue_type

            @@ -59,10 +73,14 @@

            String

            Queue type. The options are as follows:

            -
            • sql: Queues used to run SQL jobs
            • general: Queues used to run Flink and Spark Jar jobs.
            -
            NOTE:

            If the type is not specified, the default value sql is used.

            -
            +

            Definition

            +

            Queue type

            +

            Constraints

            +

            If not specified, the default value sql is used.

            +

            Range

            +
            • sql: Queues used to run SQL jobs
            • general: Queues used to run Flink and Spark Jar jobs
            +

            Default Value

            +

            None

            description

            @@ -71,7 +89,14 @@

            String

            Description of a queue.

            +

            Definition

            +

            Queue description

            +

            Constraints

            +

            None

            +

            Range

            +

            None

            +

            Default Value

            +

            None

            cu_count

            @@ -80,7 +105,14 @@

            Integer

            Minimum number of CUs that are bound to a queue. Currently, the value can only be 16, 64, or 256.

            +

            Definition

            +

            Minimum number of CUs bound to a queue

            +

            Constraints

            +

            None

            +

            Range

            +

            The options are 16, 64, and 256.

            +

            Default Value

            +

            None

            enterprise_project_id

            @@ -89,9 +121,15 @@

            String

            Enterprise project ID. The value 0 indicates the default enterprise project.

            -
            NOTE:

            Users who have enabled Enterprise Management can set this parameter to bind a specified project.

            -
            +

            Definition

            +

            Enterprise project ID. The value 0 indicates the default enterprise project.

            +

            +

            Constraints

            +

            Only users who have enabled Enterprise Management can set this parameter to bind a specified project.

            +

            Range

            +

            None

            +

            Default Value

            +

            None

            platform

            @@ -100,8 +138,14 @@

            String

            CPU architecture of compute resources.

            +

            Definition

            +

            CPU architecture of queue compute resources

            +

            Constraints

            +

            None

            +

            Range

            • x86_64
            +

            Default Value

            +

            None

            resource_mode

            @@ -110,9 +154,15 @@

            Integer

            Queue resource mode. The options are as follows:

            +

            Definition

            +

            Queue resource mode

            +

            Constraints

            +

            None

            +

            Range

            0: shared resource mode

            -

            1: dedicated resource mode

            +

            1: dedicated resource mode

            +

            Default Value

            +

            None

            labels

            @@ -121,7 +171,14 @@

            Array of Strings

            Tag information of the queue to be created. Currently, the tag information includes whether the queue is cross-AZ (JSON string). The value can only be 2, that is, a dual-AZ queue whose compute resources are distributed in two AZs is created.

            +

            Definition

            +

            Tag information of the queue to be created. Currently, the tag information includes whether the queue is cross-AZ (JSON string). The value can only be 2, that is, a dual-AZ queue whose compute resources are distributed in two AZs is created.

            +

            Constraints

            +

            None

            +

            Range

            +

            None

            +

            Default Value

            +

            None

            tags

            @@ -130,7 +187,31 @@

            Array of objects

            Queue tags for identifying cloud resources. A tag consists of a key and tag value. For details, see Table 3.

            +

            Definition

            +

            Queue tags for identifying cloud resources. A tag consists of a key and tag value. For details, see Table 3.

            +

            Constraints

            +

            None

            +

            Range

            +

            None

            +

            Default Value

            +

            None

            +

            engine

            +

            No

            +

            String

            +

            Definition

            +

            Engine type of the queue

            +

            Constraints

            +

            This parameter is available only when queue_type is set to sql.

            +

            Range

            +

            The options are spark and hetuEngine.

            +
            • spark: Spark engine
            +

            Default Value

            +

            The default value is spark.

            String

            Tag key.
            NOTE:

            A tag key can contain a maximum of 128 characters. Only letters, numbers, spaces, and special characters (_.:+-@) are allowed, but the value cannot start or end with a space or start with _sys_.

            -
            -
            +

            Definition

            +

            Tag key

            +

            Constraints

            +

            None

            +

            Range

            +

            A tag key can contain up to 128 characters, cannot start or end with a space, and cannot start with _sys_. Only letters, digits, spaces, and the following special characters are allowed: _.:+-@

            +

            Default Value

            +

            None

            value

            @@ -164,9 +250,14 @@

            String

            Tag value.
            NOTE:

            A tag value can contain a maximum of 255 characters. Only letters, numbers, spaces, and special characters (_.:+-@) are allowed.

            -
            -
            +

            Definition

            +

            Tag value

            +

            Constraints

            +

            None

            +

            Range

            +

            A tag value can contain up to 255 characters. Only letters, digits, spaces, and the following special characters are allowed: _.:+-@

            +

            Default Value

            +

            None

            Boolean

            Indicates whether the request is successfully executed. Value true indicates that the request is successfully executed.

            +

            Definition

            +

            Whether the request is successfully executed. true indicates that the request is successfully executed.

            +

            Range

            +

            None

            message

            @@ -199,7 +293,10 @@

            String

            System prompt. If execution succeeds, the parameter setting may be left blank.

            +

            Definition

            +

            System prompt. If the execution succeeds, this parameter may be left blank.

            +

            Range

            +

            None

            queue_name

            @@ -208,9 +305,10 @@

            String

            Name of the created queue.

            -
            NOTE:

            The queue name is case-insensitive. The uppercase letters will be automatically converted to lowercase letters.

            -
            +

            Definition

            +

            Name of the created queue. The queue name is case-insensitive. Uppercase letters will be automatically converted to lowercase letters.

            +

            Range

            +

            None

            Table 2 Response parameters

            Parameter

            Mandatory

            diff --git a/docs/dli/api-ref/dli_02_0196.html b/docs/dli/api-ref/dli_02_0196.html index b0c1a556f..e79e6e447 100644 --- a/docs/dli/api-ref/dli_02_0196.html +++ b/docs/dli/api-ref/dli_02_0196.html @@ -3,8 +3,8 @@

            Querying All Queues

            Function

            This API is used to list all queues under the project.

            -

            URI

            • URI format

              GET/v1.0/{project_id}/queues

              -
            • Parameter description +

              URI

              • URI format

                GET /v1.0/{project_id}/queues

                +
              • Parameter descriptions
                Table 1 URI parameter

                Parameter

                Mandatory

                @@ -28,7 +28,7 @@
                -
                - -
                Table 2 query parameter description

                Parameter

                +
                @@ -82,7 +82,7 @@ - @@ -95,6 +95,24 @@ + + + + + + + + + +
                Table 2 query parameter descriptions

                Parameter

                Mandatory

                String

                Filed based on which queues are ordered

                +

                Queue sorting method

                The default value is queue_name_asc (alphabetically ascending order on queue names). Other options are queue_name_desc (alphabetically descending order on queue names), cu_asc (ascending order on CUs), and cu_desc (descending order on CUs).

                Query results are filtered by tag.

                limit

                +

                No

                +

                Integer

                +

                Number of records to be displayed of the page-based query.

                +

                offset

                +

                No

                +

                Integer

                +

                Specifies the offset of the page-based query.

                +
                @@ -119,7 +137,7 @@

                Boolean

                Indicates whether the request is successfully executed. Value true indicates that the request is successfully executed.

                +

                Indicates whether the request is successfully executed. true indicates that the request is successfully executed.

                message

                @@ -128,7 +146,7 @@

                String

                System prompt. If execution succeeds, the parameter setting may be left blank.

                +

                System prompt. If the execution succeeds, this parameter may be left blank.

                queues

                @@ -144,7 +162,7 @@
                -
                -
                Table 4 queues parameters description

                Parameter

                +
                @@ -154,13 +172,22 @@ - + + + + + - - - + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                Table 4 queues parameter descriptions

                Parameter

                Mandatory

                queue_name

                +

                queue_id

                +

                No

                +

                Long

                +

                Queue ID

                +

                queue_name

                No

                String

                Name of a queue.

                +

                Queue name.

                description

                @@ -187,7 +214,7 @@

                Long

                Time when the queue is created. The timestamp is expressed in milliseconds.

                +

                Time when the queue is created. The timestamp is in milliseconds.

                queue_type

                @@ -196,9 +223,27 @@

                String

                Queue type.

                -
                • sql
                • general
                • all
                -

                If this parameter is not specified, the default value sql is used.

                +

                Queue type. Options:

                +
                • sql
                • general
                • all
                +

                If left unset, the default value sql is used.

                +

                engine

                +

                No

                +

                String

                +

                Engine type.

                +

                used_cu

                +

                No

                +

                Float

                +

                CUs used by all queues.

                cu_count

                @@ -292,7 +337,7 @@

                String

                Tag information of the queue to be created, including the JSON string indicating whether the queue is Dual-AZ. Currently, only the value 2 is supported, indicating that two queues are created.

                +

                Tag information of the queue to be created, currently including the JSON string indicating whether the queue is cross-AZ. Currently, only the value 2 is supported, indicating that two queues are created.

                cu_spec

                @@ -331,6 +376,87 @@

                Name of the elastic resource pool

                support_spark_versions

                +

                No

                +

                Array[String]

                +

                Spark version supported by the queue

                +

                default_spark_version

                +

                No

                +

                String

                +

                Default Spark version of the queue

                +

                support_hetu_engine_versions

                +

                No

                +

                Array[String]

                +

                HetuEngine version supported by the queue

                +

                default_hetu_engine_version

                +

                No

                +

                String

                +

                Default HetuEngine version of the queue

                +

                support_flink_sql_versions

                +

                No

                +

                Array[String]

                +

                Flink SQL version supported by the queue

                +

                default_flink_sql_version

                +

                No

                +

                String

                +

                Default Flink SQL version of the queue

                +

                support_flink_jar_versions

                +

                No

                +

                Array[String]

                +

                Flink Jar version supported by the queue

                +

                default_flink_jar_version

                +

                No

                +

                String

                +

                Default Flink Jar version of the queue

                +

                support_opensource_flink_versions

                +

                No

                +

                Array[String]

                +

                Flink OpenSource SQL versions supported by the queues.

                +
                @@ -382,14 +508,14 @@

                500

                Internal service error.

                +

                Internal server error.

              -

              Error Codes

              If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.

              +

              Error Codes

              If an error occurs when this API is called, the system does not return the result similar to the preceding example, but returns an error code and error message. For details, see Error Codes.

              diff --git a/docs/dli/api-ref/dli_02_0200.html b/docs/dli/api-ref/dli_02_0200.html index 1ef27a297..f55e8c7be 100644 --- a/docs/dli/api-ref/dli_02_0200.html +++ b/docs/dli/api-ref/dli_02_0200.html @@ -38,7 +38,7 @@
            -

            Request

            +

            Request Parameters

            Table 2 Request parameters

            Parameter

            Mandatory

            @@ -94,7 +94,7 @@
            -

            Response

            +

            Response Parameters

            + + + + + + + + + + + + + + + + + + + + + + + + - @@ -31,7 +39,7 @@ -

            Request

            +

            Request Parameters

            Table 4 Response parameters

            Parameter

            Type

            diff --git a/docs/dli/api-ref/dli_02_0201.html b/docs/dli/api-ref/dli_02_0201.html index 2930e2345..ff91492f5 100644 --- a/docs/dli/api-ref/dli_02_0201.html +++ b/docs/dli/api-ref/dli_02_0201.html @@ -9,7 +9,7 @@

            An account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions. The permissions required for calling an API are determined by the actions supported by the API. Only users who have been granted permissions allowing the actions can call the API successfully. For example, if an IAM user needs to create buckets using an API, the user must have been granted permissions that allow the dli:queue:create_queue action.

            Supported Actions

            VBS provides system-defined policies that can be directly used in IAM. You can also create custom policies and use them to supplement system-defined policies, implementing more refined access control. Operations supported by policies are specific to APIs. The following are common concepts related to policies:

            -
            • Permissions: Allow or deny operations on specified resources under specific conditions.
            • APIs: RESTful APIs that can be called in a custom policy.
            • Actions: added to a custom policy to control permissions for specific operations.
            • Related actions: Actions on which a specific action depends to take effect. When assigning permissions for the action to a user, you also need to assign permissions for the related actions.
            • IAM or enterprise projects: Type of projects for which an action will take effect. Policies that contain actions supporting both IAM and enterprise projects can be assigned to user groups and take effect in both IAM and Enterprise Management. Policies that only contain actions supporting IAM projects can be assigned to user groups and only take effect for IAM. Such policies will not take effect if they are assigned to user groups in Enterprise Project.

              +
              • Permissions: Allow or deny operations on specified resources under specific conditions.
              • APIs: RESTful APIs that can be called in a custom policy.
              • Actions: added to a custom policy to control permissions for specific operations.
              • Dependencies: actions which a specific action depends on. When allowing an action for a user, you also need to allow any existing action dependencies for that user.
              • IAM or enterprise projects: Type of projects for which an action will take effect. Policies that contain actions supporting both IAM and enterprise projects can be assigned to user groups and take effect in both IAM and Enterprise Management. Policies that only contain actions supporting IAM projects can be assigned to user groups and only take effect for IAM. Such policies will not take effect if they are assigned to user groups in Enterprise Project.

                Only the APIs listed in Table 1 support custom authorization.

              The check mark (√) indicates that an action takes effect. The cross mark (x) indicates that an action does not take effect.

              @@ -129,6 +129,50 @@

            ×

            Obtaining information about all catalogs in a project

            +

            GET /v3/{project_id}/catalogs

            +

            dli:catalog:list

            +

            √

            +

            ×

            +

            Querying details about a specified catalog

            +

            GET /v3/{project_id}/catalogs/{catalog_name}

            +

            dli:catalog:get

            +

            √

            +

            ×

            +

            Binding a catalog

            +

            POST /v3/{project_id}/catalogs/action

            +

            dli:catalog:bind

            +

            √

            +

            ×

            +

            Unbinding a catalog

            +

            POST /v3/{project_id}/catalogs/action

            +

            dli:catalog:unbind

            +

            √

            +

            ×

            +

            Creating a database

            POST /v1.0/{project_id}/databases

            diff --git a/docs/dli/api-ref/dli_02_0223.html b/docs/dli/api-ref/dli_02_0223.html index 9a0dfbd1d..0b754f1ab 100644 --- a/docs/dli/api-ref/dli_02_0223.html +++ b/docs/dli/api-ref/dli_02_0223.html @@ -8,11 +8,11 @@ - - @@ -20,11 +20,11 @@ - - diff --git a/docs/dli/api-ref/dli_02_0225.html b/docs/dli/api-ref/dli_02_0225.html index 6384b09e9..b21884e22 100644 --- a/docs/dli/api-ref/dli_02_0225.html +++ b/docs/dli/api-ref/dli_02_0225.html @@ -2,7 +2,7 @@

            Authorizing DLI to Access OBS (Deprecated)

            Function

            This API is used to grant DLI the permission to access OBS buckets for saving job checkpoints and run logs.

            -

            This API has been deprecated and is not recommended.

            +

            This API has been deprecated and is not recommended.

            URI

            • URI format

              POST /v1.0/{project_id}/dli/obs-authorize

              @@ -23,7 +23,15 @@

            String

            Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

            +

            Definition

            +

            Project ID, which is used for resource isolation. For how to obtain a project ID, see Obtaining a Project ID.

            +

            Example: 48cc2c48765f481480c7db940d6409d1

            +

            Constraints

            +

            None

            +

            Range

            +

            The value can contain up to 64 characters. Only letters and digits are allowed.

            +

            Default Value

            +

            None

            Table 2 Request parameter

            Parameter

            Mandatory

            @@ -55,7 +63,7 @@
            -

            Response

            +

            Response Parameters

            - @@ -134,7 +134,7 @@ - @@ -298,6 +298,38 @@ + + + + + + + + + + + + + + +
            Table 3 Response parameters

            Parameter

            Mandatory

            diff --git a/docs/dli/api-ref/dli_02_0228.html b/docs/dli/api-ref/dli_02_0228.html index 291484b87..6b6ec2f40 100644 --- a/docs/dli/api-ref/dli_02_0228.html +++ b/docs/dli/api-ref/dli_02_0228.html @@ -21,7 +21,7 @@

            String

            Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

            +

            Project ID, which is used for resource isolation. For details about how to obtain a project ID, see Obtaining a Project ID.

            Integer

            Snapshot mode. There are two options:

            +

            Snapshot mode. Options:

            • 1: ExactlyOnce, indicates that data is processed only once.
            • 2: AtLeastOnce, indicates that data is processed at least once.

            The default value is 1.

            Flink version.

            execution_agency_urn

            +

            No

            +

            String

            +

            Name of the agency authorized to DLI. This parameter is configurable in Flink 1.15.

            +

            resource_config_version

            +

            No

            +

            String

            +

            Resource configuration version. The value can be v1 or v2. The default value is v1.

            +

            Compared with the v1 template, the v2 template does not support the setting of the number of CUs. The v2 template supports the setting of Job Manager Memory and Task Manager Memory.

            +

            v1: applicable to Flink 1.12, 1.13, and 1.15

            +

            v2: applicable to Flink 1.13, 1.15, and 1.17.

            +

            You are advised to use the parameter settings of v2.

            +

            resource_config

            +

            No

            +

            Object

            +

            Resource configuration of a Flink job. For detailed parameter descriptions, refer to Table 4.

            +

            When the resource configuration version is v2, the configuration takes effect; when the resource configuration version is v1, the configuration is invalid.

            +
            @@ -319,7 +351,7 @@

            String

            Tag key

            -
            NOTE:

            A tag key can contain a maximum of 128 characters. Only letters, numbers, spaces, and special characters (_.:+-@) are allowed, but the value cannot start or end with a space or start with _sys_.

            +
            NOTE:

            A tag key can contain up to 128 characters, cannot start or end with a space, and cannot start with _sys_. Only letters, digits, spaces, and the following special characters are allowed: _.:+-@

            NOTE:

            A tag key can contain a maximum of 36 characters. Only letters, digits, hyphens (-), underscores (_), and spaces are allowed. The key cannot start or end with a space.

            @@ -332,18 +364,134 @@

            String

            Tag value

            -
            NOTE:

            A tag value can contain a maximum of 255 characters. Only letters, numbers, spaces, and special characters (_.:+-@) are allowed.

            +
            NOTE:

            A tag value can contain up to 255 characters. Only letters, digits, spaces, and the following special characters are allowed: _.:+-@

            -
            NOTE:

            A tag value can contain a maximum of 43 characters. Only letters, digits, hyphens (-), underscores (_), periods (.), and spaces are allowed. The value cannot start or end with a space.

            +
            NOTE:

            A tag value can contain up to 43 characters and cannot start or end with a space. Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed.

            + +
            + + + + + + + + + + + + + + + + + + + + + + + + + + +
            Table 4 resource_config parameters

            Parameter

            +

            Mandatory

            +

            Type

            +

            Description

            +

            max_slot

            +

            No

            +

            integer

            +

            Number of parallel tasks that a single TaskManager can support. Each task slot can execute one task in parallel. Increasing task slots enhances the parallel processing capacity of the TaskManager but also increases resource consumption.

            +

            The number of task slots is linked to the CPU count of the TaskManager since each CPU can offer one task slot.

            +

            By default, a single TM slot is set to 1. The minimum parallelism must not be less than 1.

            +

            parallel_number

            +

            No

            +

            integer

            +

            Number of tasks concurrently executed by each operator in a job. The default value is 1.

            +

            jobmanager_resource_spec

            +

            No

            +

            Object

            +

            JobManager resource specifications. For details about the parameters, see Table 5.

            +

            taskmanager_resource_spec

            +

            No

            +

            Object

            +

            TaskManager resource specifications. For details about the parameters, see Table 6.

            +
            +
            + +
            + + + + + + + + + + + + + + + + +
            Table 5 jobmanager_resource_spec parameters

            Parameter

            +

            Mandatory

            +

            Type

            +

            Description

            +

            cpu

            +

            No

            +

            double

            +

            Number of CPU cores available for JobManager. The default value is 1.0 CPU core, with a minimum of no less than 0.5 CPU cores.

            +

            memory

            +

            No

            +

            string

            +

            Memory that can be used by JobManager, in MB or GB. The default unit is GB. The default value is 4 GB, and the minimum value is 2 GB.

            +
            +
            + +
            + + + + + + + + + + + + + + + + +
            Table 6 taskmanager_resource_spec parameters

            Parameter

            +

            Mandatory

            +

            Type

            +

            Description

            +

            cpu

            +

            No

            +

            double

            +

            Number of CPU cores available for TaskManager. The default value is 1.0 CPU core, with a minimum of no less than 0.5 CPU cores.

            +

            memory

            +

            No

            +

            string

            +

            Memory that can be used by TaskManager, in MB or GB. The default unit is GB. The default value is 4 GB, and the minimum value is 2 GB.

            +
            +

            Response Parameters

            -
            Table 4 Response parameters

            Parameter

            +
            @@ -377,14 +525,14 @@ -
            Table 7 Response parameters

            Parameter

            Mandatory

            Object

            Information about the job status. For details, see Table 5.

            +

            Information about the job status. For details, see Table 8.

            -
            Table 5 job parameters

            Parameter

            +
            @@ -444,6 +592,7 @@ "idle_state_retention": 3600, "job_type": "flink_sql_job", "dirty_data_strategy": "0", + "execution_agency_urn": "myAgencyName", "udf_jar_url": "group/test.jar" } @@ -457,9 +606,9 @@ } } -

            Status Codes

            Table 6 describes status codes.

            +

            Status Codes

            Table 9 describes status codes.

            -
            Table 8 job parameters

            Parameter

            Mandatory

            Table 6 Status codes

            Status Code

            +
            diff --git a/docs/dli/api-ref/dli_02_0229.html b/docs/dli/api-ref/dli_02_0229.html index 375e02ec9..4beace899 100644 --- a/docs/dli/api-ref/dli_02_0229.html +++ b/docs/dli/api-ref/dli_02_0229.html @@ -21,7 +21,7 @@ - - - @@ -302,12 +302,160 @@ + + + + + + + + + + + + + + + + +
            Table 9 Status codes

            Status Code

            Description

            String

            Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

            +

            Project ID, which is used for resource isolation. For details about how to obtain a project ID, see Obtaining a Project ID.

            job_id

            @@ -82,7 +82,7 @@

            String

            Stream SQL statement, which includes at least the following three parts: source, query, and sink. Length range: 0 to 1024x1024 characters.

            +

            Stream SQL statement, which includes at least the following three parts: source, query, and sink. Length range: 0 to 1024 x 1024 characters.

            run_mode

            @@ -130,7 +130,7 @@

            Integer

            Snapshot mode. There are two options:

            +

            Snapshot mode. Options:

            • 1: ExactlyOnce, indicates that data is processed only once.
            • 2: at_least_once, indicates that data is processed at least once.

            The default value is 1.

            Flink version.

            execution_agency_urn

            +

            No

            +

            String

            +

            Name of the agency authorized to DLI. This parameter is configurable in Flink 1.15.

            +

            resource_config_version

            +

            No

            +

            String

            +

            Resource configuration version. The value can be v1 or v2. The default value is v1.

            +

            Compared with the v1 template, the v2 template does not support the setting of the number of CUs. The v2 template supports the setting of Job Manager Memory and Task Manager Memory.

            +

            v1: applicable to Flink 1.12, 1.13, and 1.15

            +

            v2: applicable to Flink 1.13, 1.15, and 1.17.

            +

            You are advised to use the parameter settings of v2.

            +

            resource_config

            +

            No

            +

            Object

            +

            Resource configuration of a Flink job. For detailed parameter descriptions, refer to Table 3.

            +

            When the resource configuration version is v2, the configuration takes effect; when the resource configuration version is v1, the configuration is invalid.

            +
            +
            + +
            + + + + + + + + + + + + + + + + + + + + + + + + + + +
            Table 3 resource_config parameters

            Parameter

            +

            Mandatory

            +

            Type

            +

            Description

            +

            max_slot

            +

            No

            +

            integer

            +

            Number of parallel tasks that a single TaskManager can support. Each task slot can execute one task in parallel. Increasing task slots enhances the parallel processing capacity of the TaskManager but also increases resource consumption.

            +

            The number of task slots is linked to the CPU count of the TaskManager since each CPU can offer one task slot.

            +

            By default, a single TM slot is set to 1. The minimum parallelism must not be less than 1.

            +

            parallel_number

            +

            No

            +

            integer

            +

            Number of tasks concurrently executed by each operator in a job. The default value is 1.

            +

            jobmanager_resource_spec

            +

            No

            +

            Object

            +

            JobManager resource specifications. For details about the parameters, see Table 4.

            +

            taskmanager_resource_spec

            +

            No

            +

            Object

            +

            TaskManager resource specifications. For details about the parameters, see Table 5.

            +
            +
            + +
            + + + + + + + + + + + + + + + + +
            Table 4 jobmanager_resource_spec parameters

            Parameter

            +

            Mandatory

            +

            Type

            +

            Description

            +

            cpu

            +

            No

            +

            double

            +

            Number of CPU cores available for JobManager. The default value is 1.0 CPU core, with a minimum of no less than 0.5 CPU cores.

            +

            memory

            +

            No

            +

            string

            +

            Memory that can be used by JobManager, in MB or GB. The default unit is GB. The default value is 4 GB, and the minimum value is 2 GB.

            +
            +
            + +
            + + + + + + + + + + + + + + +
            Table 5 taskmanager_resource_spec parameters

            Parameter

            +

            Mandatory

            +

            Type

            +

            Description

            +

            cpu

            +

            No

            +

            double

            +

            Number of CPU cores available for TaskManager. The default value is 1.0 CPU core, with a minimum of no less than 0.5 CPU cores.

            +

            memory

            +

            No

            +

            string

            +

            Memory that can be used by TaskManager, in MB or GB. The default unit is GB. The default value is 4 GB, and the minimum value is 2 GB.

            +

            Response Parameters

            -
            Table 3 Response parameters

            Parameter

            +
            @@ -341,14 +489,14 @@ -
            Table 6 Response parameters

            Parameter

            Mandatory

            Object

            Information about job update. For details, see Table 4.

            +

            Information about job update. For details, see Table 7.

            -
            Table 4 job parameter

            Parameter

            +
            @@ -393,6 +541,7 @@ "2eb00f85-99f2-4144-bcb7-d39ff47f9002" ], "dirty_data_strategy": "0", + "execution_agency_urn": "myAgencyName", "udf_jar_url": "group/test.jar" } @@ -404,9 +553,9 @@ } } -

            Status Codes

            Table 5 describes status codes.

            +

            Status Codes

            Table 8 describes status codes.

            -
            Table 7 job parameter

            Parameter

            Mandatory

            @@ -288,9 +320,125 @@
            Table 5 Status codes

            Status Code

            +
            diff --git a/docs/dli/api-ref/dli_02_0230.html b/docs/dli/api-ref/dli_02_0230.html index 892b623c3..5f0b57447 100644 --- a/docs/dli/api-ref/dli_02_0230.html +++ b/docs/dli/api-ref/dli_02_0230.html @@ -1,6 +1,6 @@ -

            Creating a Flink Jar job

            +

            Creating a Flink Jar Job

            Function

            This API is used to create custom jobs, which currently support the JAR format and run in dedicated queues.

            URI

            • URI format

              POST /v1.0/{project_id}/streaming/flink-jobs

              @@ -21,7 +21,7 @@
            - @@ -101,7 +101,7 @@ + + + + + + + + + + + + + + +
            Table 8 Status codes

            Status Code

            Description

            String

            Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

            +

            Project ID, which is used for resource isolation. For details about how to obtain a project ID, see Obtaining a Project ID.

            Boolean

            Whether to enable the job log function.

            -
            • true: indicates to enable the job log function.
            • false: indicates to disable the job log function.
            • Default value: false
            +
            • true: indicates to enable the job log function.
            • false: indicates to disable the job log function.
            • Default value: false

            obs_bucket

            @@ -202,6 +202,15 @@

            Number of slots in each TaskManager. The default value is (parallel_number*tm_cus)/(cu_number-manager_cu_number).

            execution_agency_urn

            +

            No

            +

            String

            +

            Name of the agency authorized to DLI. This parameter is configurable in Flink 1.15.

            +

            resume_checkpoint

            No

            @@ -247,6 +256,29 @@

            Customizes optimization parameters when a Flink job is running.

            resource_config_version

            +

            No

            +

            String

            +

            Resource configuration version. The value can be v1 or v2. The default value is v1.

            +

            Compared with the v1 template, the v2 template does not support the setting of the number of CUs. The v2 template supports the setting of Job Manager Memory and Task Manager Memory.

            +

            v1: applicable to Flink 1.12, 1.13, and 1.15

            +

            v2: applicable to Flink 1.13, 1.15, and 1.17.

            +

            You are advised to use the parameter settings of v2.

            +

            resource_config

            +

            No

            +

            Object

            +

            Resource configuration of a Flink job. For detailed parameter descriptions, refer to Table 4.

            +

            When the resource configuration version is v2, the configuration takes effect; when the resource configuration version is v1, the configuration is invalid.

            +
            @@ -270,7 +302,7 @@

            Tag key.

            NOTE:

            A tag key can contain a maximum of 36 characters. Special characters (=*<>\|) are not allowed, and the key cannot start with a space.

            -
            NOTE:

            A tag key can contain a maximum of 128 characters. Only letters, digits, spaces, and special characters (_.:=+-@) are allowed, but the value cannot start or end with a space or start with _sys_.

            +
            NOTE:

            A tag key can contain up to 128 characters, cannot start or end with a space, and cannot start with _sys_. Only letters, digits, spaces, and the following special characters are allowed: _.:=+-@

            + +
            + + + + + + + + + + + + + + + + + + + + + + + + + + +
            Table 4 resource_config parameters

            Parameter

            +

            Mandatory

            +

            Type

            +

            Description

            +

            max_slot

            +

            No

            +

            integer

            +

            Number of parallel tasks that a single TaskManager can support. Each task slot can execute one task in parallel. Increasing task slots enhances the parallel processing capacity of the TaskManager but also increases resource consumption.

            +

            The number of task slots is linked to the CPU count of the TaskManager since each CPU can offer one task slot.

            +

            By default, a single TM slot is set to 1. The minimum parallelism must not be less than 1.

            +

            parallel_number

            +

            No

            +

            integer

            +

            Number of tasks concurrently executed by each operator in a job. The default value is 1.

            +

            jobmanager_resource_spec

            +

            No

            +

            Object

            +

            JobManager resource specifications. For details about the parameters, see Table 5.

            +

            taskmanager_resource_spec

            +

            No

            +

            Object

            +

            TaskManager resource specifications. For details about the parameters, see Table 6.

            +
            +
            + +
            + + + + + + + + + + + + + + + + +
            Table 5 jobmanager_resource_spec parameters

            Parameter

            +

            Mandatory

            +

            Type

            +

            Description

            +

            cpu

            +

            No

            +

            double

            +

            Number of CPU cores available for JobManager. The default value is 1.0 CPU core, with a minimum of no less than 0.5 CPU cores.

            +

            memory

            +

            No

            +

            string

            +

            Memory that can be used by JobManager, in MB or GB. The default unit is GB. The default value is 4 GB, and the minimum value is 2 GB.

            +
            +
            + +
            + + + + + + + + + + + + + + + + +
            Table 6 taskmanager_resource_spec parameters

            Parameter

            +

            Mandatory

            +

            Type

            +

            Description

            +

            cpu

            +

            No

            +

            double

            +

            Number of CPU cores available for TaskManager. The default value is 1.0 CPU core, with a minimum of no less than 0.5 CPU cores.

            +

            memory

            +

            No

            +

            string

            +

            Memory that can be used by TaskManager, in MB or GB. The default unit is GB. The default value is 4 GB, and the minimum value is 2 GB.

            +
            +

            Response Parameters

            -
            Table 4 Response parameters

            Parameter

            +
            @@ -324,14 +472,14 @@ -
            Table 7 Response parameters

            Parameter

            Mandatory

            Object

            Information about the job status. For details, see Table 5.

            +

            Information about the job status. For details, see Table 8.

            -
            Table 5 job parameters

            Parameter

            +
            @@ -393,6 +541,7 @@ "myGroup/test.jar", "myGroup/test1.jar" ], + "execution_agency_urn": "myAgencyName", "dependency_files": [ "myGroup/test.csv", "myGroup/test1.csv" @@ -409,9 +558,9 @@ } } -

            Status Codes

            Table 6 describes status codes.

            +

            Status Codes

            Table 9 describes status codes.

            -
            Table 8 job parameters

            Parameter

            Mandatory

            Table 6 Status codes

            Status Code

            +
            diff --git a/docs/dli/api-ref/dli_02_0231.html b/docs/dli/api-ref/dli_02_0231.html index ee9895e24..034fadf0d 100644 --- a/docs/dli/api-ref/dli_02_0231.html +++ b/docs/dli/api-ref/dli_02_0231.html @@ -4,7 +4,7 @@

            Function

            This API is used to update custom jobs, which currently support the JAR format and run in dedicated queues.

            URI

            • URI format

              PUT /v1.0/{project_id}/streaming/flink-jobs/{job_id}

              -
            • Parameter description +
            • Parameter descriptions
            Table 9 Status codes

            Status Code

            Description

            - - @@ -39,7 +39,7 @@

            Request Parameters

            -
            Table 1 URI parameters

            Parameter

            Mandatory

            @@ -21,7 +21,7 @@

            String

            Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

            +

            Project ID, which is used for resource isolation. For details about how to obtain a project ID, see Obtaining a Project ID.

            job_id

            @@ -30,7 +30,7 @@

            Long

            Job ID. Refer to Creating a Flink Jar job to obtain the value.

            +

            Job ID. Refer to Creating a Flink Jar Job to obtain the value.

            Table 2 Parameter description

            Parameter

            +
            @@ -73,7 +73,7 @@ - - + + + + + - + + + + + + + + + + + + +
            Table 2 Parameter descriptions

            Parameter

            Mandatory

            String

            Name of a queue. Length range: 1 to 128 characters.

            +

            Queue name. Length range: 1 to 128 characters.

            cu_number

            @@ -100,7 +100,7 @@

            Integer

            Number of parallel operations selected for a job. The default value is 1.

            +

            Number of parallel operations selected for a job. The default value is 1.

            log_enabled

            @@ -110,7 +110,7 @@

            Boolean

            Whether to enable the job log function.

            -
            • true: indicates to enable the job log function.
            • false: indicates to disable the job log function.
            • Default value: false
            +
            • true: indicates to enable the job log function.
            • false: indicates to disable the job log function.
            • Default value: false

            obs_bucket

            @@ -209,6 +209,15 @@

            Number of slots in each TaskManager. The default value is (parallel_number*tm_cus)/(cu_number-manager_cu_number).

            execution_agency_urn

            +

            No

            +

            String

            +

            Name of the agency authorized to DLI. This parameter is configurable in Flink 1.15.

            +

            resume_checkpoint

            No

            @@ -251,7 +260,147 @@

            String

            Job types.

            +

            Job type. Options:

            +

            flink_jar_job: User-defined Flink job

            +

            resource_config_version

            +

            No

            +

            String

            +

            Resource configuration version. The value can be v1 or v2. The default value is v1.

            +

            Compared with the v1 template, the v2 template does not support the setting of the number of CUs. The v2 template supports the setting of Job Manager Memory and Task Manager Memory.

            +

            v1: applicable to Flink 1.12, 1.13, and 1.15.

            +

            v2: applicable to Flink 1.13, 1.15, and 1.17.

            +

            You are advised to use the parameter settings of v2.

            +

            resource_config

            +

            No

            +

            Object

            +

            Resource configuration of a Flink job. For detailed parameter descriptions, refer to Table 3.

            +

            When the resource configuration version is v2, the configuration takes effect; when the resource configuration version is v1, the configuration is invalid.

            +
            +
            + +
            + + + + + + + + + + + + + + + + + + + + + + + + + + +
            Table 3 resource_config parameters

            Parameter

            +

            Mandatory

            +

            Type

            +

            Description

            +

            max_slot

            +

            No

            +

            integer

            +

            Number of parallel tasks that a single TaskManager can support. Each task slot can execute one task in parallel. Increasing task slots enhances the parallel processing capacity of the TaskManager but also increases resource consumption.

            +

            The number of task slots is linked to the CPU count of the TaskManager since each CPU can offer one task slot.

            +

            By default, a single TM slot is set to 1. The minimum parallelism must not be less than 1.

            +

            parallel_number

            +

            No

            +

            integer

            +

            Number of tasks concurrently executed by each operator in a job. The default value is 1.

            +

            jobmanager_resource_spec

            +

            No

            +

            Object

            +

            JobManager resource specifications. For details about the parameters, see Table 4.

            +

            taskmanager_resource_spec

            +

            No

            +

            Object

            +

            TaskManager resource specifications. For details about the parameters, see Table 5.

            +
            +
            + +
            + + + + + + + + + + + + + + + + +
            Table 4 jobmanager_resource_spec parameters

            Parameter

            +

            Mandatory

            +

            Type

            +

            Description

            +

            cpu

            +

            No

            +

            double

            +

            Number of CPU cores available for JobManager. The default value is 1.0 CPU core, with a minimum of no less than 0.5 CPU cores.

            +

            memory

            +

            No

            +

            string

            +

            Memory that can be used by JobManager, in MB or GB. The default unit is GB. The default value is 4 GB, and the minimum value is 2 GB.

            +
            +
            + +
            + + + + + + + + + + + + + + @@ -259,7 +408,7 @@

            Response Parameters

            -
            Table 5 taskmanager_resource_spec parameters

            Parameter

            +

            Mandatory

            +

            Type

            +

            Description

            +

            cpu

            +

            No

            +

            double

            +

            Number of CPU cores available for TaskManager. The default value is 1.0 CPU core, with a minimum of no less than 0.5 CPU cores.

            +

            memory

            +

            No

            +

            string

            +

            Memory that can be used by TaskManager, in MB or GB. The default unit is GB. The default value is 4 GB, and the minimum value is 2 GB.

            Table 3 Response parameters

            Parameter

            +
            @@ -275,7 +424,7 @@ - -
            Table 6 Response parameters

            Parameter

            Mandatory

            String

            Whether the request is successfully executed. Value true indicates that the request is successfully executed.

            +

            Whether the request is successfully executed. true indicates that the request is successfully executed.

            message

            @@ -293,14 +442,14 @@

            object

            Information about job update. For details, see Table 4.

            +

            Information about job update. For details, see Table 7.

            -
            Table 4 job parameter

            Parameter

            +
            @@ -340,6 +489,7 @@ "myGroup/test.jar", "myGroup/test1.jar" ], + "execution_agency_urn": "myAgencyName", "dependency_files": [ "myGroup/test.csv", "myGroup/test1.csv" @@ -354,9 +504,9 @@ } } -

            Status Codes

            Table 5 describes status codes.

            +

            Status Codes

            Table 8 describes status codes.

            -
            Table 7 job parameter

            Parameter

            Mandatory

            - @@ -29,7 +29,7 @@ -

            Request

            +

            Request Parameters

            Table 5 Status codes

            Status Code

            +
            @@ -376,7 +526,7 @@
            Table 8 Status codes

            Status Code

            Description

            -

            Error Codes

            If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.

            +

            Error Codes

            If an error occurs when this API is called, the system does not return the result similar to the preceding example, but returns an error code and error message. For details, see Error Codes.

            diff --git a/docs/dli/api-ref/dli_02_0233.html b/docs/dli/api-ref/dli_02_0233.html index 7015eb420..75f771162 100644 --- a/docs/dli/api-ref/dli_02_0233.html +++ b/docs/dli/api-ref/dli_02_0233.html @@ -1,6 +1,6 @@ -

            Running Jobs in Batches

            +

            Batch Running Jobs

            Function

            This API is used to trigger batch job running.

            URI

            • URI format

              POST /v1.0/{project_id}/streaming/jobs/run

              @@ -21,7 +21,7 @@

            String

            Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

            +

            Project ID, which is used for resource isolation. For details about how to obtain a project ID, see Obtaining a Project ID.

            Table 2 Request parameters

            Parameter

            Mandatory

            @@ -64,7 +64,7 @@
            -

            Response

            +

            Response Parameters

            - diff --git a/docs/dli/api-ref/dli_02_0234.html b/docs/dli/api-ref/dli_02_0234.html index 63f18e8df..955f43cfc 100644 --- a/docs/dli/api-ref/dli_02_0234.html +++ b/docs/dli/api-ref/dli_02_0234.html @@ -21,7 +21,15 @@ - @@ -44,8 +52,14 @@ - - - - @@ -85,7 +116,14 @@ - - - - - - @@ -138,9 +211,9 @@ -

            Request

            None

            +

            Request Parameters

            None

            -

            Response

            +

            Response Parameters

            Table 3 Response parameter

            Parameter

            Mandatory

            @@ -102,7 +102,7 @@

            No

            String

            +

            Boolean

            Whether the request is successfully executed. Value true indicates that the request is successfully executed.

            String

            Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

            +

            Definition

            +

            Project ID, which is used for resource isolation. For how to obtain a project ID, see Obtaining a Project ID.

            +

            Example: 48cc2c48765f481480c7db940d6409d1

            +

            Constraints

            +

            None

            +

            Range

            +

            The value can contain up to 64 characters. Only letters and digits are allowed.

            +

            Default Value

            +

            None

            String

            Job type.

            +

            Definition

            +

            Job type

            +

            Constraints

            +

            None

            +

            Range

            • flink_sql_job: Flink SQL job
            • flink_jar_job: User-defined Flink job
            +

            Default Value

            +

            None

            status

            @@ -54,9 +68,14 @@

            String

            Job status code.

            -

            Available job statuses are as follows:

            +

            Definition

            +

            Job status

            +

            Constraints

            +

            None

            +

            Range

            • job_init: The job is in the draft status.
            • job_submitting: The job is being submitted.
            • job_submit_fail: The job fails to be submitted.
            • job_running: The job is running. (After the job is submitted, a normal result is returned.)
            • job_running_exception (The job stops running due to an exception.)
            • job_downloading: The job is being downloaded.
            • job_idle: The job is idle.
            • job_canceling: The job is being stopped.
            • job_cancel_success: The job has been stopped.
            • job_cancel_fail: The job fails to be stopped.
            • job_savepointing: The savepoint is being created.
            • job_finish: The job is completed.
            +

            Default Value

            +

            None

            queue_name

            @@ -65,7 +84,14 @@

            String

            Name of a queue.

            +

            Definition

            +

            Queue name

            +

            Constraints

            +

            None

            +

            Range

            +

            None

            +

            Default Value

            +

            None

            order

            @@ -74,8 +100,13 @@

            String

            Sorting style of the query results.

            +

            Definition

            +

            Sorting style of the query results.

            +

            Constraints

            +

            None

            +

            Range

            • asc: by time in ascending order
            • desc: by time in descending order
            +

            Default Value

            The default value is desc.

            Integer

            Number of returned data records. The default value is 10 and the maximum value is 100.

            +

            Definition

            +

            Number of returned data records

            +

            Constraints

            +

            The maximum value is 100.

            +

            Range

            +

            0-100

            +

            Default Value

            +

            The default value is 10.

            name

            @@ -94,7 +132,14 @@

            String

            Name of the job. Length range: 0 to 57 characters.

            +

            Definition

            +

            Job name

            +

            Constraints

            +

            The value can contain 0 to 57 characters.

            +

            Range

            +

            None

            +

            Default Value

            +

            None

            offset

            @@ -103,7 +148,14 @@

            Integer

            Job offset.

            +

            Definition

            +

            Job offset.

            +

            Constraints

            +

            None

            +

            Range

            +

            None

            +

            Default Value

            +

            None

            show_detail

            @@ -112,7 +164,14 @@

            Boolean

            Whether to return job details. The default value is false. If this parameter is set to true, the job details are returned. For details, see Querying Job Details.

            +

            Definition

            +

            Whether to return job details. The default value is false. If this parameter is set to true, the job details are returned. For details, see Querying Job Details.

            +

            Constraints

            +

            None

            +

            Range

            +

            None

            +

            Default Value

            +

            false

            user_name

            @@ -121,7 +180,14 @@

            String

            Username, which can be used as a filter.

            +

            Definition

            +

            Username, which can be used as a filter

            +

            Constraints

            +

            None

            +

            Range

            +

            None

            +

            Default Value

            +

            None

            tags

            @@ -130,7 +196,14 @@

            String

            Specifies a label for filtering.

            +

            Definition

            +

            Specifies a label for filtering.

            +

            Constraints

            +

            None

            +

            Range

            +

            None

            +

            Default Value

            +

            None

            - - - - - - @@ -198,7 +281,10 @@ - - @@ -230,7 +319,10 @@ - - - - - @@ -276,7 +379,10 @@ - - - - - - - - - - - - - - - - - - - - - @@ -480,9 +646,11 @@ - - @@ -502,7 +672,10 @@ - - - - - - - - - - - - - @@ -624,7 +833,10 @@ - - - - - + + + + + - - - - - - - - - - - - - - - diff --git a/docs/dli/api-ref/dli_02_0235.html b/docs/dli/api-ref/dli_02_0235.html index 165e35da2..f343dc1df 100644 --- a/docs/dli/api-ref/dli_02_0235.html +++ b/docs/dli/api-ref/dli_02_0235.html @@ -370,7 +370,7 @@ - @@ -605,6 +605,15 @@ + + + + + -
            Table 3 Response parameters

            Parameter

            Mandatory

            @@ -157,7 +230,11 @@

            String

            Whether the request is successfully executed. Value true indicates that the request is successfully executed.

            +

            Definition

            +

            Whether the request is successfully executed

            +

            Range

            +

            true indicates that the request is successfully executed.

            +

            false indicates that the request fails to be executed.

            message

            @@ -166,16 +243,22 @@

            String

            System prompt. If execution succeeds, the parameter setting may be left blank.

            +

            Definition

            +

            System prompt. If the execution succeeds, this parameter is left blank.

            +

            Range

            +

            None

            job_list

            +

            job_list

            No

            +

            No

            Object

            +

            Object

            Information about a job list. For details, see Table 4.

            +

            Definition

            +

            Information about a job list. For details, see Table 4.

            +

            Range

            +

            None

            Integer

            Number of records in the query result.

            +

            Definition

            +

            Number of records in the query result

            +

            Range

            +

            None

            jobs

            @@ -207,7 +293,10 @@

            Array of objects

            Information about a job. For details, see Table 5.

            +

            Definition

            +

            Information about a job. For details, see Table 5.

            +

            Range

            +

            None

            Long

            Job ID.

            +

            Definition

            +

            Job ID

            +

            Range

            +

            None

            name

            @@ -239,7 +331,10 @@

            String

            Name of the job. Length range: 0 to 57 characters.

            +

            Definition

            +

            Name of the job.

            +

            Range

            +

            The value can contain 0 to 57 characters.

            desc

            @@ -248,7 +343,10 @@

            String

            Job description. Length range: 0 to 512 characters.

            +

            Definition

            +

            Job description.

            +

            Range

            +

            The value can contain 0 to 512 characters.

            user_name

            @@ -257,7 +355,10 @@

            String

            Username. This parameter is valid only when show_detail is set to false.

            +

            Definition

            +

            Username. This parameter is valid only when show_detail is set to false.

            +

            Range

            +

            The value can contain up to 128 characters.

            job_type

            @@ -266,7 +367,9 @@

            String

            Job type.

            +

            Definition

            +

            Job type

            +

            Range

            • flink_sql_job: Flink SQL job
            • flink_jar_job: User-defined Flink job

            String

            Job status.

            +

            Definition

            +

            Job status.

            +

            Range

            +
            • job_init: The job is in the draft state.
            • job_submitting: The job is being submitted.
            • job_submit_fail: The job fails to be submitted.
            • job_running: The job is running.
            • job_running_exception: The job is running abnormally.
            • job_downloading: The job is being downloaded.
            • job_idle: The job is idle.
            • job_canceling: The job is being stopped.
            • job_cancel_success: The job has been stopped.
            • job_cancel_fail: The job fails to be stopped.
            • job_savepointing: A savepoint is being created.
            • job_arrearage_stopped: The job is stopped due to arrears.
            • job_arrearage_recovering: The job in arrears is being restored.
            • job_finish: The job is completed.

            status_desc

            @@ -285,7 +391,10 @@

            String

            Description of job status.

            +

            Definition

            +

            Description of job status.

            +

            Range

            +

            None

            create_time

            @@ -294,7 +403,10 @@

            Long

            Time when a job is created.

            +

            Definition

            +

            Time when a job is created. Example: 1516952770835

            +

            Range

            +

            An integer greater than or equal to 0

            start_time

            @@ -303,7 +415,11 @@

            Long

            Time when a job is started. The value 0 indicates that the process is not started.

            +

            Definition

            +

            Time when a job is started. The value 0 indicates that the process is not started.

            +

            Example: 1516952710740

            +

            Range

            +

            An integer greater than or equal to 0

            duration

            @@ -312,7 +428,10 @@

            Long

            Running duration of a job. Unit: ms. This parameter is valid only when show_detail is set to false.

            +

            Definition

            +

            Running duration of a job. Unit: ms. This parameter is valid only when show_detail is set to false.

            +

            Range

            +

            An integer greater than or equal to 0

            root_id

            @@ -321,7 +440,10 @@

            Long

            Parent job ID. This parameter is valid only when show_detail is set to false.

            +

            Definition

            +

            Parent job ID. This parameter is valid only when show_detail is set to false.

            +

            Range

            +

            None

            graph_editor_enabled

            @@ -330,7 +452,10 @@

            Boolean

            Whether the flow diagram can be edited. Value true indicates that the flow diagram can be edited, and false indicates that the flow diagram cannot be edited.

            +

            Definition

            +

            Whether the flow diagram can be edited. Value true indicates that the flow diagram can be edited, and false indicates that the flow diagram cannot be edited.

            +

            Range

            +

            None

            has_savepoint

            @@ -339,7 +464,10 @@

            Boolean

            Whether a job has a savepoint. Value true indicates that the job has a savepoint, and false indicates that the job does not have a savepoint.

            +

            Definition

            +

            Whether a job has a savepoint. Value true indicates that the job has a savepoint, and false indicates that the job does not have a savepoint.

            +

            Range

            +

            None

            user_id

            @@ -348,7 +476,10 @@

            String

            ID of the user who creates the job. This parameter is valid only when show_detail is set to true.

            +

            Definition

            +

            ID of the user who creates the job. This parameter is valid only when show_detail is set to true.

            +

            Range

            +

            None

            project_id

            @@ -357,7 +488,10 @@

            String

            ID of the project to which a job belongs. This parameter is valid only when show_detail is set to true.

            +

            Definition

            +

            ID of the project to which a job belongs. This parameter is valid only when show_detail is set to true.

            +

            Range

            +

            None

            sql_body

            @@ -366,7 +500,10 @@

            String

            Stream SQL statement. This parameter is valid only when show_detail is set to false.

            +

            Definition

            +

            Stream SQL statement. This parameter is returned only when show_detail is set to true.

            +

            Range

            +

            None

            run_mode

            @@ -375,8 +512,10 @@

            String

            Job running mode. The options are as follows: The value can be shared_cluster, exclusive_cluster, or edge_node. This parameter is valid only when show_detail is set to true.

            -
            • shared_cluster: indicates that the job is running on a shared cluster.
            • exclusive_cluster: indicates that the job is running on an exclusive cluster.
            • edge_node: indicates that the job is running on an edge node.
            +

            Definition

            +

            Job running mode. The options are as follows: The value can be shared_cluster, exclusive_cluster, or edge_node. This parameter is valid only when show_detail is set to true.

            +

            Range

            +
            • shared_cluster: indicates that the job is running on a shared cluster.
            • exclusive_cluster: indicates that the job is running on an exclusive cluster.
            • edge_node: indicates that the job is running on an edge node.

            job_config

            @@ -385,7 +524,10 @@

            Object

            Job configuration. This parameter is valid only when show_detail is set to false. For details, see Table 6.

            +

            Definition

            +

            Job configuration. This parameter is returned only when show_detail is set to true. For details, see Table 6.

            +

            Range

            +

            None

            main_class

            @@ -394,7 +536,10 @@

            String

            Main class of a JAR package. This parameter is valid only when show_detail is set to false.

            +

            Definition

            +

            Main class of a JAR package. This parameter is returned only when show_detail is set to true.

            +

            Range

            +

            None

            entrypoint_args

            @@ -403,7 +548,10 @@

            String

            Job running parameter of the JAR file. Multiple parameters are separated by spaces. This parameter is valid only when show_detail is set to true.

            +

            Definition

            +

            Job running parameter of the JAR file. Multiple parameters are separated by spaces. This parameter is valid only when show_detail is set to true.

            +

            Range

            +

            None

            execution_graph

            @@ -412,7 +560,10 @@

            String

            Job execution plan. This parameter is valid only when show_detail is set to false.

            +

            Definition

            +

            Job execution plan. This parameter is returned only when show_detail is set to true.

            +

            Range

            +

            None

            update_time

            @@ -421,7 +572,10 @@

            Long

            Time when a job is updated. This parameter is valid only when show_detail is set to false.

            +

            Definition

            +

            Time when a job is updated. This parameter is returned only when show_detail is set to true.

            +

            Range

            +

            None

            queue_name

            @@ -430,7 +584,10 @@

            String

            Queue name

            +

            Definition

            +

            Queue name

            +

            Range

            +

            None

            edge_group_ids

            @@ -439,7 +596,10 @@

            Array of Strings

            List of edge computing group IDs. Use commas (,) to separate multiple IDs.

            +

            Definition

            +

            List of edge computing group IDs. Use commas (,) to separate multiple IDs.

            +

            Range

            +

            None

            restart_times

            @@ -448,7 +608,10 @@

            Integer

            Number of restart times

            +

            Definition

            +

            Number of restart times

            +

            Range

            +

            None

            savepoint_path

            @@ -457,7 +620,10 @@

            String

            Path for storing manually generated checkpoints

            +

            Definition

            +

            Path for storing manually generated checkpoints

            +

            Range

            +

            None

            Boolean

            Whether to enable the automatic job snapshot function.

            -
            • true: The automatic job snapshot function is enabled.
            • false: The automatic job snapshot function is disabled.
            -

            The default value is false.

            +

            Definition

            +

            Whether to enable the automatic job snapshot function.

            +

            Range

            +
            • true: enabled
            • false: disabled
            +

            The default value is false.

            checkpoint_mode

            @@ -491,7 +659,9 @@

            String

            Snapshot mode. There are two options:

            +

            Definition: Snapshot mode.

            +

            Range

            +

            There are two options:

            • exactly_once: indicates that data is processed only once.
            • at_least_once: indicates that data is processed at least once.

            The default value is exactly_once.

            Integer

            Snapshot interval. The unit is second. The default value is 10.

            +

            Definition

            +

            Snapshot interval. The unit is second. The default value is 10.

            +

            Range

            +

            None

            log_enabled

            @@ -511,7 +684,11 @@

            Boolean

            Whether to enable the log storage function. The default value is false.

            +

            Definition

            +

            Whether to enable the log storage function. The default value is false.

            +

            Range

            +

            true: Enable log storage.

            +

            false: Disable log storage.

            obs_bucket

            @@ -520,7 +697,10 @@

            String

            Name of an OBS bucket.

            +

            Definition

            +

            Name of an OBS bucket.

            +

            Range

            +

            None

            smn_topic

            @@ -529,7 +709,10 @@

            String

            SMN topic name. If a job fails, the system will send a message to users subscribed to the SMN topic.

            +

            Definition

            +

            SMN topic name. If a job fails, the system will send a message to users subscribed to the SMN topic.

            +

            Range

            +

            None

            root_id

            @@ -538,7 +721,10 @@

            Integer

            Parent job ID.

            +

            Definition

            +

            Parent job ID.

            +

            Range

            +

            None

            edge_group_ids

            @@ -547,7 +733,10 @@

            Array of Strings

            List of edge computing group IDs. Use commas (,) to separate multiple IDs.

            +

            Definition

            +

            List of edge computing group IDs. Use commas (,) to separate multiple IDs.

            +

            Range

            +

            None

            manager_cu_number

            @@ -556,7 +745,10 @@

            Integer

            Number of CUs of the management unit. The default value is 1.

            +

            Definition

            +

            Number of CUs of the management unit. The default value is 1.

            +

            Range

            +

            None

            cu_number

            @@ -565,9 +757,12 @@

            Integer

            Number of CUs selected for a job. This parameter is valid only when show_detail is set to true.

            +

            Definition

            +

            Number of CUs selected for a job. This parameter is valid only when show_detail is set to true.

            • Minimum value: 2
            • Maximum value: 400

            The default value is 2.

            +

            Range

            +

            None

            parallel_number

            @@ -576,9 +771,12 @@

            Integer

            Number of concurrent jobs set by a user. This parameter is valid only when show_detail is set to true.

            +

            Definition

            +

            Number of concurrent jobs set by a user. This parameter is valid only when show_detail is set to true.

            • Minimum value: 1
            • Maximum value: 2000

            The default value is 1.

            +

            Range

            +

            None

            restart_when_exception

            @@ -587,7 +785,10 @@

            Boolean

            Whether to enable the function of restart upon exceptions.

            +

            Definition

            +

            Whether to enable the function of restart upon exceptions.

            +

            Range

            +

            None

            idle_state_retention

            @@ -596,7 +797,10 @@

            Integer

            Expiration time.

            +

            Definition

            +

            Expiration time.

            +

            Range

            +

            None

            udf_jar_url

            @@ -605,7 +809,10 @@

            String

            Name of the package that has been uploaded to the DLI resource management system. The UDF Jar file of the SQL job is uploaded through this parameter.

            +

            Definition

            +

            Name of the package that has been uploaded to the DLI resource management system. The UDF Jar file of the SQL job is uploaded through this parameter.

            +

            Range

            +

            None

            dirty_data_strategy

            @@ -614,7 +821,9 @@

            String

            Dirty data policy of a job.

            +

            Definition

            +

            Dirty data policy of a job

            +

            Range

            • 2:obsDir: Save. obsDir specifies the path for storing dirty data.
            • 1: Trigger a job exception
            • 0: Ignore

            String

            Name of the package that has been uploaded to the DLI resource management system. This parameter is used to customize the JAR file where the job main class is located.

            +

            Definition

            +

            Name of the package that has been uploaded to the DLI resource management system. This parameter is used to customize the JAR file where the job main class is located.

            +

            Range

            +

            None

            dependency_jars

            @@ -633,7 +845,10 @@

            Array of Strings

            Name of the package that has been uploaded to the DLI resource management system. This parameter is used to customize other dependency packages.

            +

            Definition

            +

            Name of the package that has been uploaded to the DLI resource management system. This parameter is used to customize other dependency packages.

            +

            Range

            +

            None

            dependency_files

            @@ -642,7 +857,10 @@

            Array of Strings

            Name of the resource package that has been uploaded to the DLI resource management system. This parameter is used to customize dependency files.

            +

            Definition

            +

            Name of the resource package that has been uploaded to the DLI resource management system. This parameter is used to customize dependency files.

            +

            Range

            +

            None

            executor_number

            @@ -651,7 +869,10 @@

            Integer

            Number of compute nodes in a job.

            +

            Definition

            +

            Number of compute nodes in a job.

            +

            Range

            +

            None

            executor_cu_number

            @@ -660,7 +881,23 @@

            Integer

            Number of CUs in a compute node.

            +

            Definition

            +

            Number of CUs on a compute node

            +

            Range

            +

            None

            +

            execution_agency_urn

            +

            No

            +

            String

            +

            Definition

            +

            Name of the agency authorized to DLI.

            +

            This parameter is configurable in Flink 1.15.

            +

            Range

            +

            None

            resume_checkpoint

            @@ -669,7 +906,10 @@

            Boolean

            Whether to restore data from the latest checkpoint when the system automatically restarts upon an exception. The default value is false.

            +

            Definition

            +

            Whether to restore data from the latest checkpoint when the system automatically restarts upon an exception. The default value is false.

            +

            Range

            +

            None

            runtime_config

            @@ -678,7 +918,10 @@

            String

            Customizes optimization parameters when a Flink job is running.

            +

            Definition

            +

            Customizes optimization parameters when a Flink job is running.

            +

            Range

            +

            None

            graph_editor_enabled

            @@ -687,7 +930,10 @@

            Boolean

            Whether to enable flow diagram editing. The default value is false.

            +

            Definition

            +

            Whether to enable flow diagram editing. The default value is false.

            +

            Range

            +

            None

            graph_editor_data

            @@ -696,7 +942,10 @@

            String

            Edited stream graph data. The default value is null.

            +

            Definition

            +

            Edited stream graph data. The default value is null.

            +

            Range

            +

            None

            resume_max_num

            @@ -705,7 +954,10 @@

            Integer

            Maximum retry attempts. –1 indicates there is no upper limit.

            +

            Definition

            +

            Maximum retry attempts. –1 indicates there is no upper limit.

            +

            Range

            +

            None

            checkpoint_path

            @@ -714,7 +966,10 @@

            String

            Path for saving the checkpoint.

            +

            Definition

            +

            Path for saving the checkpoint.

            +

            Range

            +

            None

            config_url

            @@ -723,7 +978,10 @@

            String

            OBS path of the config package uploaded by the user.

            +

            Definition

            +

            OBS path of the config package uploaded by the user.

            +

            Range

            +

            None

            tm_cus

            @@ -732,7 +990,10 @@

            int

            Number of CUs per TaskManager node.

            +

            Definition

            +

            Number of CUs per TaskManager node.

            +

            Range

            +

            None

            tm_slot_num

            @@ -741,7 +1002,10 @@

            int

            Number of slots per TaskManager node.

            +

            Definition

            +

            Number of slots per TaskManager node.

            +

            Range

            +

            None

            image

            @@ -750,8 +1014,11 @@

            String

            Custom image. The format is Organization name/Image name:Image version.

            +

            Definition

            +

            Custom image. The format is Organization name/Image name:Image version.

            This parameter is valid only when feature is set to custom. You can use this parameter with the feature parameter to specify a user-defined Flink image for job running.

            +

            Range

            +

            None

            feature

            @@ -760,8 +1027,10 @@

            String

            User-defined job feature. Type of the Flink image used by a job.

            -
            • basic: indicates that the basic Flink image provided by DLI is used.
            • custom: indicates that the user-defined Flink image is used.
            +

            Definition

            +

            User-defined job feature. Type of the Flink image used by a job.

            +

            Range

            +
            • basic: indicates that the basic Flink image provided by DLI is used.
            • custom: indicates that the user-defined Flink image is used.

            flink_version

            @@ -770,7 +1039,10 @@

            String

            Flink version. This parameter is valid only when feature is set to basic. You can use this parameter with the feature parameter to specify the version of the DLI basic Flink image used for job running.

            +

            Definition

            +

            Flink version. This parameter is valid only when feature is set to basic. You can use this parameter with the feature parameter to specify the version of the DLI basic Flink image used for job running.

            +

            Range

            +

            None

            operator_config

            @@ -779,7 +1051,10 @@

            String

            Operator's parallelism degree. The operator ID and degree of parallelism are displayed in JSON format.

            +

            Definition

            +

            Operator's parallelism degree. The operator ID and degree of parallelism are displayed in JSON format.

            +

            Range

            +

            None

            static_estimator_config

            @@ -788,7 +1063,10 @@

            String

            Estimation of static flow diagram resources.

            +

            Definition

            +

            Resource estimation for the static stream graph, which is displayed in JSON format.

            +

            Range

            +

            None

            real_cu_number

            @@ -797,7 +1075,10 @@

            Integer

            Number of actually used CUs. The default value is 0, indicating that the value of cu_number is used.

            +

            Definition

            +

            Number of actually used CUs. The default value is 0, indicating that the value of cu_number is used.

            +

            Range

            +

            None

            String

            Snapshot mode. There are two options:

            +

            Snapshot mode. Options:

            • exactly_once: indicates that data is processed only once.
            • at_least_once: indicates that data is processed at least once.

            The default value is exactly_once.

            Number of slots per TaskManager node.

            execution_agency_urn

            +

            No

            +

            String

            +

            Name of the agency authorized to DLI. This parameter is configurable in Flink 1.15.

            +

            operator_config

            No

            @@ -620,7 +629,7 @@

            String

            Estimation of static flow diagram resources.

            +

            Resource estimation for the static stream graph, which is displayed in JSON format.

            runtime_config

            @@ -682,6 +691,7 @@ "udf_jar_url": null, "dirty_data_strategy": null, "entrypoint": "FemaleInfoCollection.jar", + "execution_agency_urn": "myAgencyName", "dependency_jars": [ "FemaleInfoCollection.jar", "ObsBatchTest.jar" diff --git a/docs/dli/api-ref/dli_02_0236.html b/docs/dli/api-ref/dli_02_0236.html index 8e9c18a9a..80c130220 100644 --- a/docs/dli/api-ref/dli_02_0236.html +++ b/docs/dli/api-ref/dli_02_0236.html @@ -4,7 +4,7 @@

            Function

            This API is used to query a job execution plan.

            URI

            • URI format

              GET /v1.0/{project_id}/streaming/jobs/{job_id}/execute-graph

              -
            • Parameter description +
            • Parameter descriptions
              - - @@ -31,7 +31,7 @@ -

              Request

              +

              Request Parameters

              Table 1 URI parameters

              Parameter

              Mandatory

              @@ -21,7 +21,7 @@

              String

              Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

              +

              Project ID, which is used for resource isolation. For details about how to obtain a project ID, see Obtaining a Project ID.

              job_id

              @@ -38,9 +38,9 @@ -

              Request

              None

              +

              Request Parameters

              None

              -

              Response

              +

              Response Parameters

              -
              Table 2 Response parameters

              Parameter

              Mandatory

              @@ -125,7 +125,8 @@

              String

              Execution status of a job.

              +

              Execution status of a job. Options:

              +
              • INITIALIZING: The job is being initialized.
              • CREATED: The job has been created.
              • RUNNING: The job is running.
              • FAILING: A failure occurs.
              • FAILED: The job has failed.
              • CANCELLING: The job is being canceled.
              • CANCELED: The job has been canceled.
              • FINISHED: The job has been completed.
              • RESTARTING: The job is being restarted.
              • SUSPENDED: The job has been suspended.
              • RECONCILING: The system is performing self-check.

              start-time

              @@ -196,7 +197,7 @@
              -

              Error Codes

              If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.

              +

              Error Codes

              If an error occurs when this API is called, the system does not return the result similar to the preceding example, but returns an error code and error message. For details, see Error Codes.

              diff --git a/docs/dli/api-ref/dli_02_0238.html b/docs/dli/api-ref/dli_02_0238.html index 89bc4e5a6..5b40c8ec1 100644 --- a/docs/dli/api-ref/dli_02_0238.html +++ b/docs/dli/api-ref/dli_02_0238.html @@ -2,7 +2,7 @@

              Querying Job Monitoring Information (Deprecated)

              Function

              This API is used to query job monitoring information. You can query monitoring information about multiple jobs at the same time.

              -

              This API has been deprecated and is not recommended.

              +

              This API has been deprecated and is not recommended.

              URI

              • URI format

                POST /v1.0/{project_id}/streaming/jobs/metrics

                @@ -23,7 +23,7 @@

              String

              Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

              +

              Project ID, which is used for resource isolation. For details about how to obtain a project ID, see Obtaining a Project ID.

              Table 2 Request parameter

              Parameter

              Mandatory

              @@ -55,7 +55,7 @@
            -

            Response

            +

            Response Parameters

            - @@ -29,7 +29,7 @@ -

            Request

            +

            Request Parameters

            Table 3 Response parameters

            Parameter

            Mandatory

            diff --git a/docs/dli/api-ref/dli_02_0241.html b/docs/dli/api-ref/dli_02_0241.html index 66bec805e..1d8606507 100644 --- a/docs/dli/api-ref/dli_02_0241.html +++ b/docs/dli/api-ref/dli_02_0241.html @@ -1,6 +1,6 @@ -

            Stopping Jobs in Batches

            +

            Batch Stopping Jobs

            Function

            This API is used to stop running jobs in batches.

            URI

            • URI format

              POST /v1.0/{project_id}/streaming/jobs/stop

              @@ -21,7 +21,7 @@

            String

            Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

            +

            Project ID, which is used for resource isolation. For details about how to obtain a project ID, see Obtaining a Project ID.

            Table 2 Request parameters

            Parameter

            Mandatory

            @@ -63,7 +63,7 @@
            -

            Response

            +

            Response Parameters

            - diff --git a/docs/dli/api-ref/dli_02_0242.html b/docs/dli/api-ref/dli_02_0242.html index cb0eb03f0..d1af7584a 100644 --- a/docs/dli/api-ref/dli_02_0242.html +++ b/docs/dli/api-ref/dli_02_0242.html @@ -1,7 +1,7 @@

            Deleting a Job

            -

            Function

            This API is used to delete a Flink job at any state.

            +

            Function

            This API is used to delete a Flink job in any state.

            The job records will not be deleted.

            @@ -23,7 +23,7 @@
            -
            Table 3 Response parameters

            Parameter

            Mandatory

            @@ -101,7 +101,7 @@

            No

            String

            +

            Boolean

            Whether the request is successfully executed. Value true indicates that the request is successfully executed.

            String

            Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

            +

            Project ID, which is used for resource isolation. For details about how to obtain a project ID, see Obtaining a Project ID.

            job_id

            @@ -40,9 +40,9 @@ -

            Request

            None

            +

            Request Parameters

            None

            -

            Response

            +

            Response Parameters

            - diff --git a/docs/dli/api-ref/dli_02_0243.html b/docs/dli/api-ref/dli_02_0243.html index dd5c469f1..b530234d2 100644 --- a/docs/dli/api-ref/dli_02_0243.html +++ b/docs/dli/api-ref/dli_02_0243.html @@ -1,7 +1,7 @@ -

            Deleting Jobs in Batches

            -

            Function

            This API is used to batch delete jobs at any state.

            +

            Batch Deleting Jobs

            +

            Function

            This API is used to batch delete jobs in any state.

            URI

            • URI format

              POST /v1.0/{project_id}/streaming/jobs/delete

            • Parameter description @@ -21,7 +21,7 @@
            - @@ -29,7 +29,7 @@ -

            Request

            +

            Request Parameters

            Table 2 Response parameters

            Parameter

            Mandatory

            @@ -57,7 +57,7 @@

            No

            String

            +

            Boolean

            Whether the request is successfully executed. Value true indicates that the request is successfully executed.

            String

            Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

            +

            Project ID, which is used for resource isolation. For details about how to obtain a project ID, see Obtaining a Project ID.

            Table 2 Request parameter

            Parameter

            Mandatory

            @@ -53,7 +53,7 @@
            -

            Response

            +

            Response Parameters

            - diff --git a/docs/dli/api-ref/dli_02_0245.html b/docs/dli/api-ref/dli_02_0245.html index d5d045c28..9a8333cf1 100644 --- a/docs/dli/api-ref/dli_02_0245.html +++ b/docs/dli/api-ref/dli_02_0245.html @@ -4,7 +4,7 @@

            Function

            This API is used to create a user template for the DLI service. A maximum of 100 user templates can be created.

            URI

            • URI format

              POST /v1.0/{project_id}/streaming/job-templates

              -
            • Parameter description +
            • Parameter descriptions
            Table 3 Response parameters

            Parameter

            Mandatory

            @@ -91,7 +91,7 @@

            No

            String

            +

            Boolean

            Whether the request is successfully executed. Value true indicates that the request is successfully executed.

            - @@ -29,7 +29,7 @@ -

            Request

            +

            Request Parameters

            Table 1 URI parameter

            Parameter

            Mandatory

            @@ -21,7 +21,7 @@

            String

            Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

            +

            Project ID, which is used for resource isolation. For details about how to obtain a project ID, see Obtaining a Project ID.

            Table 2 Request parameters

            Parameter

            Mandatory

            @@ -83,13 +83,14 @@

            String

            Flink job template type.

            +
            • flink_sql_job: Flink SQL job
            • flink_opensource_sql_job: Flink OpenSource SQL job
            -
            -
            Table 3 tags parameter

            Parameter

            +
            @@ -106,9 +107,9 @@ @@ -118,7 +119,7 @@ - @@ -127,7 +128,7 @@
            Table 3 tags parameters

            Parameter

            Mandatory

            String

            Tag key.

            -
            NOTE:

            A tag key can contain a maximum of 36 characters. Special characters (=*<>\|) are not allowed, and the key cannot start with a space.

            +
            NOTE:

            A tag key can contain up to 36 characters and cannot start with a space. The following special characters are not allowed: =*<>\|

            -
            NOTE:

            A tag key can contain a maximum of 128 characters. Only letters, numbers, spaces, and special characters (_.:+-@) are allowed, but the value cannot start or end with a space or start with _sys_.

            +
            NOTE:

            A tag key can contain up to 128 characters, cannot start or end with a space, and cannot start with _sys_. Only letters, digits, spaces, and the following special characters are allowed: _.:+-@

            String

            Tag key.

            +

            Tag value.

            NOTE:

            A tag value can contain a maximum of 43 characters. Special characters (=*<>\|) are not allowed, and the value cannot start with a space.

            -

            Response

            +

            Response Parameters

            - @@ -270,7 +272,7 @@
            Table 4 Response parameters

            Parameter

            Mandatory

            @@ -221,7 +222,8 @@

            String

            Job template type

            +

            Job template type. Options:

            +
            • flink_sql_job: Flink SQL job
            • flink_opensource_sql_job: Flink OpenSource SQL job
            -

            Error Codes

            If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.

            +

            Error Codes

            If an error occurs when this API is called, the system does not return the result similar to the preceding example, but returns an error code and error message. For details, see Error Codes.

            diff --git a/docs/dli/api-ref/dli_02_0246.html b/docs/dli/api-ref/dli_02_0246.html index 597683fe2..39d1b4312 100644 --- a/docs/dli/api-ref/dli_02_0246.html +++ b/docs/dli/api-ref/dli_02_0246.html @@ -21,7 +21,7 @@

            String

            Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

            +

            Project ID, which is used for resource isolation. For details about how to obtain a project ID, see Obtaining a Project ID.

            template_id

            @@ -38,7 +38,7 @@ -

            Request

            +

            Request Parameters

            Table 2 Request parameters

            Parameter

            Mandatory

            @@ -80,7 +80,7 @@
            -

            Response

            +

            Response Parameters

            -
            Table 3 Response parameters

            Parameter

            Mandatory

            diff --git a/docs/dli/api-ref/dli_02_0247.html b/docs/dli/api-ref/dli_02_0247.html index 842a79c28..fd98826e0 100644 --- a/docs/dli/api-ref/dli_02_0247.html +++ b/docs/dli/api-ref/dli_02_0247.html @@ -21,7 +21,7 @@

            String

            Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

            +

            Project ID, which is used for resource isolation. For details about how to obtain a project ID, see Obtaining a Project ID.

            template_id

            @@ -38,9 +38,9 @@ -

            Request

            None

            +

            Request Parameters

            None

            -

            Response

            • Parameter description +

              Response Parameters

              • Parameter description
                Table 2 Response parameters

                Parameter

                Mandatory

                diff --git a/docs/dli/api-ref/dli_02_0248.html b/docs/dli/api-ref/dli_02_0248.html index 0b7dbfe99..0b83edc05 100644 --- a/docs/dli/api-ref/dli_02_0248.html +++ b/docs/dli/api-ref/dli_02_0248.html @@ -4,7 +4,7 @@

                Function

                This API is used to list job templates. Currently, only custom templates can be queried.

                URI

                • URI format

                  GET /v1.0/{project_id}/streaming/job-templates

                  -
                • Parameter description +
                • Parameter descriptions
                  -
                  Table 1 URI parameter

                  Parameter

                  Mandatory

                  @@ -21,14 +21,14 @@

                  String

                  Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

                  +

                  Project ID, which is used for resource isolation. For details about how to obtain a project ID, see Obtaining a Project ID.

                  -
                  Table 2 query parameter description

                  Parameter

                  +
                  @@ -90,9 +90,9 @@ -

                  Request

                  None

                  +

                  Request Parameters

                  None

                  -

                  Response

                  +

                  Response Parameters

                  Table 2 query parameter descriptions

                  Parameter

                  Mandatory

                  - @@ -294,7 +295,7 @@
                  Table 3 Response parameters

                  Parameter

                  Mandatory

                  @@ -236,7 +236,8 @@

                  String

                  Job template type.

                  +

                  Job template type. Options:

                  +
                  • flink_sql_job: Flink SQL job
                  • flink_opensource_sql_job: Flink OpenSource SQL job
                  -

                  Error Codes

                  If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.

                  +

                  Error Codes

                  If an error occurs when this API is called, the system does not return the result similar to the preceding example, but returns an error code and error message. For details, see Error Codes.

                  diff --git a/docs/dli/api-ref/dli_02_0249.html b/docs/dli/api-ref/dli_02_0249.html index 07bdc9cf0..82eef2058 100644 --- a/docs/dli/api-ref/dli_02_0249.html +++ b/docs/dli/api-ref/dli_02_0249.html @@ -2,7 +2,7 @@

                  Restarting, Scaling Out, and Scaling In Queues

                  Function

                  This API is used to restart, scale out, and scale in queues.

                  -

                  Only SQL queues in the Available status can be restarted. (The queue status is Available only after the SQL job is successfully executed.)

                  +

                  URI

                  • URI format

                    PUT /v1.0/{project_id}/queues/{queue_name}/action

                    @@ -40,7 +40,7 @@
                  -

                  Request

                  +

                  Request Parameters

                  Table 2 Request parameters

                  Parameter

                  Mandatory

                  @@ -85,7 +85,7 @@
                  -

                  Response

                  +

                  Response Parameters

                  Table 3 Response parameters

                  Parameter

                  Mandatory

                  diff --git a/docs/dli/api-ref/dli_02_0250.html b/docs/dli/api-ref/dli_02_0250.html index 610d8d28a..f172fe796 100644 --- a/docs/dli/api-ref/dli_02_0250.html +++ b/docs/dli/api-ref/dli_02_0250.html @@ -2,7 +2,7 @@

                  Listing Partitions (Deprecated)

                  Function

                  This API is used to list partitions.

                  -

                  This API has been deprecated and is not recommended.

                  +

                  This API has been deprecated and is not recommended.

                  URI

                  • URI format

                    GET /v1.0/{project_id}/databases/{database_name}/tables/{table_name}/partitions

                    @@ -91,9 +91,9 @@
                  -

                  Request

                  None

                  +

                  Request Parameters

                  None

                  -

                  Response

                  +

                  Response Parameters

                  -
                  Table 3 Response parameters

                  Parameter

                  Mandatory

                  diff --git a/docs/dli/api-ref/dli_02_0252.html b/docs/dli/api-ref/dli_02_0252.html index 7c409b5b5..1acf27231 100644 --- a/docs/dli/api-ref/dli_02_0252.html +++ b/docs/dli/api-ref/dli_02_0252.html @@ -24,14 +24,21 @@

                  String

                  Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

                  +

                  Definition

                  +

                  Project ID, which is used for resource isolation. For how to obtain a project ID, see Obtaining a Project ID.

                  +

                  Constraints

                  +

                  None

                  +

                  Range

                  +

                  The value can contain 1 to 64 characters. Only letters and digits are allowed.

                  +

                  Default Value

                  +

                  None

                  -
                  Table 2 query parameter description

                  Parameter

                  +
                  @@ -48,9 +55,9 @@ @@ -59,9 +66,9 @@

                  The following is an example of the URL containing the query parameter:

                  GET /v1.0/{project_id}/authorization/privileges?object={object}

                  -

                  Request

                  None

                  +

                  Request Parameters

                  None

                  -

                  Response

                  +

                  Response Parameters

                  Table 2 query parameter descriptions

                  Parameter

                  Mandatory

                  String

                  Data object to be assigned, which corresponds to the object in API permission assignment.

                  -
                  • jobs.flink.Fink job ID, data in the specified job will be queried.
                  • groups. Package group name, data in the specified package group will be queried.
                  • resources.Package name, data in the specified package will be queried.
                    NOTE:

                    When you view the packages in a group, the object format is resources.package group name/package name.

                    +
                    • jobs.flink.Flink job ID, data in the specified job will be queried.
                    • groups.Package group name, data in the specified package group will be queried.
                    • resources.Package name, data in the specified package will be queried.
                    +
                    NOTE:

                    When you view the packages in a group, the object format is resources.package group name/package name.

                    -
                  - - -
                  Table 3 Response parameters

                  Parameter

                  Mandatory

                  @@ -78,7 +85,7 @@

                  Boolean

                  Whether the request is successfully executed. Value true indicates that the request is successfully executed.

                  +

                  Whether the request is successfully executed. true indicates that the request is successfully executed.

                  message

                  @@ -87,7 +94,7 @@

                  String

                  Indicates the system prompt. If execution succeeds, this parameter may be left blank.

                  +

                  Indicates the system prompt. If the execution succeeds, this parameter may be left blank.

                  object_name

                  @@ -105,7 +112,8 @@

                  String

                  Object type.

                  +

                  Object type. Options:

                  +
                  • database: database.
                  • table: data table.
                  • column: column.
                  • queue: queue.
                  • datasourceauth: enhanced datasource connection.
                  • resource: resource package.
                  • group: resource package group.
                  • elasticresourcepool: elastic resource pool.
                  • variable: global variable.

                  privileges

                  @@ -206,7 +214,7 @@ ] } -

                  Status Codes

                  Table 5 describes the status code.

                  +

                  Status Codes

                  Table 5 describes status codes.

                  @@ -226,14 +234,14 @@ -
                  Table 5 Status codes

                  Status Code

                  500

                  Internal service error.

                  +

                  Internal server error.

                  -

                  Error Codes

                  If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.

                  +

                  Error Codes

                  If an error occurs when this API is called, the system does not return the result similar to the preceding example, but returns an error code and error message. For details, see Error Codes.

                  @@ -243,7 +251,7 @@ - @@ -253,7 +261,7 @@
                  diff --git a/docs/dli/api-ref/dli_02_0253.html b/docs/dli/api-ref/dli_02_0253.html index bdbba9517..f158f44b9 100644 --- a/docs/dli/api-ref/dli_02_0253.html +++ b/docs/dli/api-ref/dli_02_0253.html @@ -2,7 +2,7 @@

                  Changing the Owner of a Group or Resource Package (Deprecated)

                  Function

                  This API is used to change the owner of a program package.

                  -

                  This API has been deprecated and is not recommended.

                  +

                  This API is deprecated for Flink 1.15 or later and Spark 3.3.1 or later, and its use is not recommended.

                  URI

                  • URI format

                    PUT /v2.0/{project_id}/resources/owner

                    @@ -31,7 +31,7 @@
                  -

                  Request

                  +

                  Request Parameters

                  Table 6 Error codes

                  Error Code

                  DLI.0001

                  user input validation failed, object_type sql or saprk is not supported now

                  +

                  user input validation failed, object_type sql or spark is not supported now

                  Table 2 Request parameters

                  Parameter

                  Mandatory

                  @@ -77,7 +77,7 @@
                  • To change the owner of a group, use group_name.
                  • To change the owner of a resource package, use resource_name.
                  • To change the owner of a resource package in a group, use group_name and resource_name at the same time.
                  -

                  Response

                  +

                  Response Parameters

                  - @@ -29,7 +29,7 @@ -

                  Request

                  +

                  Request Parameters

                  Table 3 Response parameters

                  Parameter

                  Mandatory

                  diff --git a/docs/dli/api-ref/dli_02_0254.html b/docs/dli/api-ref/dli_02_0254.html index 557d03d50..d3f32ab27 100644 --- a/docs/dli/api-ref/dli_02_0254.html +++ b/docs/dli/api-ref/dli_02_0254.html @@ -21,7 +21,7 @@

                  String

                  Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

                  +

                  Project ID, which is used for resource isolation. For details about how to obtain a project ID, see Obtaining a Project ID.

                  Table 2 Request parameters

                  Parameter

                  Mandatory

                  @@ -73,7 +73,7 @@
                  -

                  Response

                  +

                  Response Parameters

                  - @@ -29,7 +29,7 @@ -

                  Request

                  +

                  Request Parameters

                  Table 3 Response parameters

                  Parameter

                  Mandatory

                  diff --git a/docs/dli/api-ref/dli_02_0255.html b/docs/dli/api-ref/dli_02_0255.html index 534cba9fa..48fa83e00 100644 --- a/docs/dli/api-ref/dli_02_0255.html +++ b/docs/dli/api-ref/dli_02_0255.html @@ -21,7 +21,7 @@

                  String

                  Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

                  +

                  Project ID, which is used for resource isolation. For details about how to obtain a project ID, see Obtaining a Project ID.

                  Table 2 Request parameters

                  Parameter

                  Mandatory

                  @@ -64,7 +64,7 @@
                  -

                  Response

                  +

                  Response Parameters

                  Table 3 Response parameters

                  Parameter

                  Mandatory

                  diff --git a/docs/dli/api-ref/dli_02_0256.html b/docs/dli/api-ref/dli_02_0256.html index fa5c6d02a..940e06d33 100644 --- a/docs/dli/api-ref/dli_02_0256.html +++ b/docs/dli/api-ref/dli_02_0256.html @@ -38,9 +38,9 @@ -

                  Request

                  None

                  +

                  Request Parameters

                  None

                  -

                  Response

                  +

                  Response Parameters

                  - @@ -29,7 +29,7 @@ -

                  Request

                  +

                  Request Parameters

                  Table 2 Response parameters

                  Parameter

                  Mandatory

                  diff --git a/docs/dli/api-ref/dli_02_0258.html b/docs/dli/api-ref/dli_02_0258.html index 2c0b1440e..0239fc8d6 100644 --- a/docs/dli/api-ref/dli_02_0258.html +++ b/docs/dli/api-ref/dli_02_0258.html @@ -21,7 +21,7 @@

                  String

                  Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

                  +

                  Project ID, which is used for resource isolation. For details about how to obtain a project ID, see Obtaining a Project ID.

                  - - - - -
                  Table 2 Request parameters

                  Parameter

                  Mandatory

                  @@ -58,20 +58,11 @@

                  Global variable value.

                  is_sensitive

                  -

                  No

                  -

                  Boolean

                  -

                  Whether to set a variable as a sensitive variable. The default value is false.

                  -
                  -

                  Response

                  +

                  Response Parameters

                  -
                  Table 3 Response parameters

                  Parameter

                  Mandatory

                  @@ -107,8 +98,7 @@

                  Example Request

                  Create a global variable that is sensitive.

                  {
                       "var_name": "string",
                  -    "var_value": "string",
                  -    "is_sensitive": true
                  +    "var_value": "string"
                   }

                  Example Response

                  {
                  diff --git a/docs/dli/api-ref/dli_02_0259.html b/docs/dli/api-ref/dli_02_0259.html
                  index b20644107..e812d805b 100644
                  --- a/docs/dli/api-ref/dli_02_0259.html
                  +++ b/docs/dli/api-ref/dli_02_0259.html
                  @@ -23,7 +23,7 @@
                   
                   

                  String

                  Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

                  +

                  Project ID, which is used for resource isolation. For details about how to obtain a project ID, see Obtaining a Project ID.

                  var_name

                  @@ -40,9 +40,9 @@ -

                  Request

                  None

                  +

                  Request Parameters

                  None

                  -

                  Response

                  • Parameter description +

                    Response Parameters

                    • Parameter description
                      -
                      Table 2 Response parameters

                      Parameter

                      Mandatory

                      diff --git a/docs/dli/api-ref/dli_02_0260.html b/docs/dli/api-ref/dli_02_0260.html index 227db0552..a20c04ea9 100644 --- a/docs/dli/api-ref/dli_02_0260.html +++ b/docs/dli/api-ref/dli_02_0260.html @@ -21,7 +21,7 @@

                      String

                      Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

                      +

                      Project ID, which is used for resource isolation. For details about how to obtain a project ID, see Obtaining a Project ID.

                      var_name

                      @@ -38,7 +38,7 @@ -

                      Request

                      +

                      Request Parameters

                      Table 2 Request parameters

                      Parameter

                      Mandatory

                      @@ -62,7 +62,7 @@
                      -

                      Response

                      +

                      Response Parameters

                      - @@ -61,9 +61,9 @@ -

                      Request

                      None

                      +

                      Request Parameters

                      None

                      -

                      Response

                      +

                      Response Parameters

                      Table 3 Response parameters

                      Parameter

                      Mandatory

                      diff --git a/docs/dli/api-ref/dli_02_0261.html b/docs/dli/api-ref/dli_02_0261.html index 163b621be..04be908cc 100644 --- a/docs/dli/api-ref/dli_02_0261.html +++ b/docs/dli/api-ref/dli_02_0261.html @@ -21,7 +21,7 @@

                      String

                      Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

                      +

                      Project ID, which is used for resource isolation. For details about how to obtain a project ID, see Obtaining a Project ID.

                      Table 3 Response parameters

                      Parameter

                      Mandatory

                      diff --git a/docs/dli/api-ref/dli_02_0284.html b/docs/dli/api-ref/dli_02_0284.html index e8b7eeeb4..f68b1c32c 100644 --- a/docs/dli/api-ref/dli_02_0284.html +++ b/docs/dli/api-ref/dli_02_0284.html @@ -38,7 +38,7 @@ -

                      Request

                      +

                      Request Parameters

                      Table 2 Request parameters

                      Parameter

                      Mandatory

                      @@ -62,7 +62,7 @@
                      -

                      Response

                      +

                      Response Parameters

                      Table 3 Response parameters

                      Parameter

                      Mandatory

                      diff --git a/docs/dli/api-ref/dli_02_0285.html b/docs/dli/api-ref/dli_02_0285.html index a2703136c..15c4b721a 100644 --- a/docs/dli/api-ref/dli_02_0285.html +++ b/docs/dli/api-ref/dli_02_0285.html @@ -47,9 +47,9 @@ -

                      Request

                      None

                      +

                      Request Parameters

                      None

                      -

                      Response

                      +

                      Response Parameters

                      Table 2 Response parameters

                      Parameter

                      Mandatory

                      diff --git a/docs/dli/api-ref/dli_02_0291.html b/docs/dli/api-ref/dli_02_0291.html index 4ef4a8613..8138c44c9 100644 --- a/docs/dli/api-ref/dli_02_0291.html +++ b/docs/dli/api-ref/dli_02_0291.html @@ -2,7 +2,7 @@

                      Creating a Scheduled CU Change (Deprecated)

                      Function

                      This API is used to create a scheduled CU change, that is, to create a scheduled CU change for a specified queue.

                      -

                      This API has been deprecated and is not recommended.

                      +

                      This API has been deprecated and is not recommended.

                      URI

                      • URI format

                        POST /v1/{project_id}/queues/{queue_name}/plans

                        @@ -40,7 +40,7 @@
                      -

                      Request

                      +

                      Request Parameters

                      Table 2 Request parameters

                      Parameter

                      Mandatory

                      @@ -128,7 +128,7 @@
                      -

                      Response

                      +

                      Response Parameters

                      Table 3 Response parameters

                      Parameter

                      Mandatory

                      diff --git a/docs/dli/api-ref/dli_02_0292.html b/docs/dli/api-ref/dli_02_0292.html index ee2f7dca1..3b2896051 100644 --- a/docs/dli/api-ref/dli_02_0292.html +++ b/docs/dli/api-ref/dli_02_0292.html @@ -2,7 +2,7 @@

                      Viewing a Scheduled CU Change (Deprecated)

                      Function

                      This API is used to query the scheduled CU changes and list the changes of a specified queue.

                      -

                      This API has been deprecated and is not recommended.

                      +

                      This API has been deprecated and is not recommended.

                      URI

                      • URI format

                        GET /v1/{project_id}/queues/{queue_name}/plans

                        @@ -40,9 +40,9 @@
                      -

                      Request

                      None

                      +

                      Request Parameters

                      None

                      -

                      Response

                      +

                      Response Parameters

                      Table 2 Response parameters

                      Parameter

                      Mandatory

                      diff --git a/docs/dli/api-ref/dli_02_0293.html b/docs/dli/api-ref/dli_02_0293.html index e71b02f00..ae925af54 100644 --- a/docs/dli/api-ref/dli_02_0293.html +++ b/docs/dli/api-ref/dli_02_0293.html @@ -2,7 +2,7 @@

                      Deleting Scheduled CU Changes in Batches (Deprecated)

                      Function

                      This API is used to delete scheduled CU changes in batches.

                      -

                      This API has been deprecated and is not recommended.

                      +

                      This API has been deprecated and is not recommended.

                      URI

                      • URI format

                        POST /v1/{project_id}/queues/{queue_name}/plans/batch-delete

                        @@ -40,7 +40,7 @@
                      -

                      Request

                      +

                      Request Parameters

                      Table 2 Request parameters

                      Parameter

                      Mandatory

                      @@ -64,7 +64,7 @@
                      -

                      Response

                      +

                      Response Parameters

                      Table 3 Response parameters

                      Parameter

                      Mandatory

                      diff --git a/docs/dli/api-ref/dli_02_0294.html b/docs/dli/api-ref/dli_02_0294.html index 3325ac265..4ba390fed 100644 --- a/docs/dli/api-ref/dli_02_0294.html +++ b/docs/dli/api-ref/dli_02_0294.html @@ -2,7 +2,7 @@

                      Deleting a Scheduled CU Change (Deprecated)

                      Function

                      This API is used to delete a scheduled CU change for a queue with a specified ID.

                      -

                      This API has been deprecated and is not recommended.

                      +

                      This API has been deprecated and is not recommended.

                      URI

                      • URI format

                        DELETE /v1/{project_id}/queues/{queue_name}/plans/{plan_id}

                        @@ -49,9 +49,9 @@
                      -

                      Request

                      None

                      +

                      Request Parameters

                      None

                      -

                      Response

                      +

                      Response Parameters

                      Table 2 Response parameters

                      Parameter

                      Mandatory

                      diff --git a/docs/dli/api-ref/dli_02_0295.html b/docs/dli/api-ref/dli_02_0295.html index ad476c720..bdfa21664 100644 --- a/docs/dli/api-ref/dli_02_0295.html +++ b/docs/dli/api-ref/dli_02_0295.html @@ -2,7 +2,7 @@

                      Modifying a Scheduled CU Change (Deprecated)

                      Function

                      This API is used to modify a scheduled CU change for a queue with a specified ID.

                      -

                      This API has been deprecated and is not recommended.

                      +

                      This API has been deprecated and is not recommended.

                      URI

                      • URI format

                        PUT /v1/{project_id}/queues/{queue_name}/plans/{plan_id}

                        @@ -49,7 +49,7 @@
                      -

                      Request

                      +

                      Request Parameters

                      Table 2 Request parameters

                      Parameter

                      Mandatory

                      @@ -137,7 +137,7 @@
                      -

                      Response

                      +

                      Response Parameters

                      - diff --git a/docs/dli/api-ref/dli_02_0296.html b/docs/dli/api-ref/dli_02_0296.html index de8f61b6c..0ac583e0a 100644 --- a/docs/dli/api-ref/dli_02_0296.html +++ b/docs/dli/api-ref/dli_02_0296.html @@ -4,7 +4,7 @@

                      Function

                      This API is used to obtain the job execution progress. If a job is being executed, information about its subjobs can be obtained. If a job has just started or has ended, information about its subjobs cannot be obtained.

                      URI

                      • URI format

                        GET /v1/{project_id}/jobs/{job_id}/progress

                        -
                      • Parameter description +
                      • Parameter descriptions
                      Table 3 Response parameters

                      Parameter

                      Mandatory

                      @@ -242,8 +242,7 @@

                      DLI.0999

                      Queue plans create failed. The plan plan_A can not generate a scale plan, please check all time

                      -

                      settings for the plan.

                      +

                      Queue plans create failed. The plan plan_A can not generate a scale plan, please check all time settings for the plan.

                      Table 1 URI parameters

                      Parameter

                      Mandatory

                      @@ -38,9 +38,9 @@ -

                      Request

                      None

                      +

                      Request Parameters

                      None

                      -

                      Response

                      +

                      Response Parameters

                      - - -
                      Table 2 Response parameters

                      Parameter

                      Mandatory

                      @@ -57,7 +57,7 @@

                      Boolean

                      Indicates whether the request is successfully sent. Value true indicates that the request is successfully sent.

                      +

                      Indicates whether the request is successfully sent. true indicates that the request is successfully sent.

                      message

                      @@ -66,7 +66,7 @@

                      String

                      System prompt. If execution succeeds, the parameter setting may be left blank.

                      +

                      System prompt. If the execution succeeds, this parameter may be left blank.

                      job_id

                      @@ -84,7 +84,8 @@

                      String

                      Job status. The status can be RUNNING, SCALING, LAUNCHING, FINISHED, FAILED, or CANCELLED.

                      +

                      Job status. Options:

                      +
                      • RUNNING: The job is running.
                      • SCALING: The job is modifying specifications.
                      • LAUNCHING: The job is being submitted.
                      • FINISHED: The job has been completed.
                      • FAILED: The job has failed.
                      • CANCELLED: The job has been canceled.

                      sub_job_id

                      @@ -347,7 +348,7 @@ ] } -

                      Status Codes

                      Table 4 describes the status code.

                      +

                      Status Codes

                      Table 4 describes status codes.

                      @@ -369,7 +370,7 @@
                      Table 4 Status codes

                      Status Code

                      -

                      Error Codes

                      If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.

                      +

                      Error Codes

                      If an error occurs when this API is called, the system does not return the result similar to the preceding example, but returns an error code and error message. For details, see Error Codes.

                      diff --git a/docs/dli/api-ref/dli_02_0298.html b/docs/dli/api-ref/dli_02_0298.html index 01b2094c8..18b14eb73 100644 --- a/docs/dli/api-ref/dli_02_0298.html +++ b/docs/dli/api-ref/dli_02_0298.html @@ -2,7 +2,7 @@

                      Obtaining DLI Agency Information (Deprecated)

                      Function

                      This API is used to obtain the agency information of a DLI user.

                      -

                      This API has been deprecated and is not recommended.

                      +

                      This API has been deprecated and is not recommended.

                      URI

                      • URI format

                        GET /v2/{project_id}/agency

                        @@ -31,9 +31,9 @@
                      -

                      Request

                      None

                      +

                      Request Parameters

                      None

                      -

                      Response

                      +

                      Response Parameters

                      Table 5 Error codes

                      Error Code

                      - - diff --git a/docs/dli/api-ref/dli_02_0299.html b/docs/dli/api-ref/dli_02_0299.html index 39db359da..36bc4c20f 100644 --- a/docs/dli/api-ref/dli_02_0299.html +++ b/docs/dli/api-ref/dli_02_0299.html @@ -2,7 +2,7 @@

                      Creating a DLI Agency (Deprecated)

                      Function

                      This API is used to create an agency for a DLI user.

                      -

                      This API has been deprecated and is not recommended.

                      +

                      This API has been deprecated and is not recommended.

                      URI

                      • URI format

                        POST /v2/{project_id}/agency

                        @@ -31,7 +31,7 @@
                      -

                      Request

                      +

                      Request Parameters

                      Table 2 Response parameters

                      Parameter

                      Mandatory

                      @@ -148,12 +148,12 @@

                      DLI.0002

                      The object does not exist.

                      +

                      The object does not exist

                      DLI.0999

                      An internal error occurre

                      +

                      An internal error occurs

                      Table 2 Request parameters

                      Parameter

                      Mandatory

                      @@ -58,7 +58,7 @@
                      -

                      Response

                      +

                      Response Parameters

                      Table 3 Response parameters

                      Parameter

                      Mandatory

                      diff --git a/docs/dli/api-ref/dli_02_0309.html b/docs/dli/api-ref/dli_02_0309.html index 4a996f43c..b089c1575 100644 --- a/docs/dli/api-ref/dli_02_0309.html +++ b/docs/dli/api-ref/dli_02_0309.html @@ -5,7 +5,7 @@

                      Notes and Constraints

                      • It takes 6 to 10 minutes to start a job using a new queue for the first time.
                      -

                      Involved APIs

                      +

                      Involved APIs

                      Procedure

                      1. Create an elastic resource pool named elastic_pool_dli.
                      2. Query a batch job status.
                        • API

                          URI format: GET /v2.0/{project_id}/batches/{batch_id}/state

                          - +
                        • Example request
                          • Description: Query the status of the batch processing job whose ID is 0a324461-d9d9-45da-a52a-3b3c7a3d809e in the project whose ID is 48cc2c48765f481480c7db940d6409d1.
                          • Example URL: GET https://{endpoint}/v2.0/48cc2c48765f481480c7db940d6409d1/batches/0a324461-d9d9-45da-a52a-3b3c7a3d809e/state
                          • Body:
                            {}
                        • Example response
                          {
                          diff --git a/docs/dli/api-ref/dli_02_0310.html b/docs/dli/api-ref/dli_02_0310.html
                          index ac1584896..0d6ce38ea 100644
                          --- a/docs/dli/api-ref/dli_02_0310.html
                          +++ b/docs/dli/api-ref/dli_02_0310.html
                          @@ -5,7 +5,7 @@
                           

                      Notes and Constraints

                      • It takes 6 to 10 minutes to start a job using a new queue for the first time.
                      -

                      Involved APIs

                      +

                      Involved APIs

                      Procedure

                      1. Create an elastic resource pool named elastic_pool_dli.
                      2. Run jobs in batches.
                        • API

                          URI format: POST /v1.0/{project_id}/streaming/jobs/run

                          - +
                        • Example request
                          • Description: Run the jobs whose job_id is 298765 and 298766 in the project whose ID is 48cc2c48765f481480c7db940d6409d1.
                          • Example URL: POST https://{endpoint}/v1.0/48cc2c48765f481480c7db940d6409d1/streaming/jobs/run
                          • Body:
                            {
                                 "job_ids": [131,130,138,137],
                                 "resume_savepoint": true
                            diff --git a/docs/dli/api-ref/dli_02_0312.html b/docs/dli/api-ref/dli_02_0312.html
                            index b6007b632..a70ac899a 100644
                            --- a/docs/dli/api-ref/dli_02_0312.html
                            +++ b/docs/dli/api-ref/dli_02_0312.html
                            @@ -6,7 +6,7 @@
                             

                      URI

                      • URI format

                        GET /v1.0/{project_id}/jobs/{job_id}/preview

                      -
                      • Parameter description +
                        • Parameter descriptions
                          -
                          Table 1 URI parameters

                          Parameter

                          Mandatory

                          @@ -23,7 +23,7 @@

                          String

                          Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

                          +

                          Project ID, which is used for resource isolation. For how to obtain a project ID, see Obtaining a Project ID.

                          job_id

                          @@ -39,7 +39,7 @@
                          -
                          Table 2 query parameter description

                          Parameter

                          +
                          @@ -75,9 +75,9 @@ -

                          Request

                          None

                          +

                          Request Parameters

                          None

                          -

                          Response

                          +

                          Response Parameters

                          Table 2 query parameter descriptions

                          Parameter

                          Mandatory

                          - - - - @@ -30,7 +30,7 @@ -

                          Request

                          +

                          Request Parameters

                          Table 3 Response parameters

                          Parameter

                          Mandatory

                          @@ -94,7 +94,7 @@

                          Boolean

                          Whether the request is successfully executed. Value true indicates that the request is successfully executed.

                          +

                          Whether the request is successfully executed. true indicates that the request is successfully executed.

                          message

                          @@ -103,7 +103,7 @@

                          String

                          System prompt. If execution succeeds, the parameter setting may be left blank.

                          +

                          System prompt. If the execution succeeds, this parameter may be left blank.

                          job_id

                          @@ -121,8 +121,10 @@

                          String

                          Job type, including DDL, DCL, IMPORT, EXPORT, QUERY, INSERT, DATA_MIGRATION, UPDATE, DELETE, RESTART_QUEUE and SCALE_QUEUE.

                          -

                          Currently, you can only query execution results of jobs of the QUERY type.

                          +

                          Job type. Options: DDL, DCL, IMPORT, EXPORT, QUERY, INSERT, DATA_MIGRATION, UPDATE, DELETE, RESTART_QUEUE and SCALE_QUEUE.

                          +

                          Currently, you can only query execution results of jobs of the QUERY type.

                          +
                          • DDL: jobs that create, modify, and delete metadata files
                          • DCL: jobs that grant and revoke permissions

                            When job_type is set to DCL, the operation is synchronous.

                            +
                          • IMPORT: jobs that import external data into the database
                          • EXPORT: jobs that export data to an external database
                          • QUERY: jobs that run query statements
                          • INSERT: jobs that add new data to tables
                          • DATA_MIGRATION: data migration jobs
                          • UPDATE: jobs that update table data
                          • DELETE: jobs that delete data from tables
                          • RESTART_QUEUE: jobs that restart specified queues
                          • SCALE_QUEUE: jobs that scale in or out specified queues

                          row_count

                          @@ -190,7 +192,7 @@ ] } -

                          Status Codes

                          Table 4 describes the status code.

                          +

                          Status Codes

                          Table 4 describes status codes.

                          @@ -210,14 +212,14 @@ -
                          Table 4 Status codes

                          Status Code

                          500

                          Internal service error.

                          +

                          Internal server error.

                          -

                          Error Codes

                          If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.

                          +

                          Error Codes

                          If an error occurs when this API is called, the system does not return the result similar to the preceding example, but returns an error code and error message. For details, see Error Codes.

                          diff --git a/docs/dli/api-ref/dli_02_0316.html b/docs/dli/api-ref/dli_02_0316.html index 0400750d2..d084aa29d 100644 --- a/docs/dli/api-ref/dli_02_0316.html +++ b/docs/dli/api-ref/dli_02_0316.html @@ -22,7 +22,7 @@

                          String

                          Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

                          +

                          Project ID, which is used for resource isolation. For details about how to obtain a project ID, see Obtaining a Project ID.

                          -
                          Table 2 Request parameters

                          Parameter

                          Mandatory

                          @@ -85,7 +85,7 @@

                          Integer

                          Number of CUs in a taskManager.

                          +

                          Number of CUs in a TaskManager.

                          tm_slot_num

                          @@ -161,7 +161,7 @@
                          -

                          Response

                          +

                          Response Parameters

                          - @@ -75,7 +75,7 @@ - @@ -120,7 +120,7 @@ - @@ -160,7 +160,7 @@ diff --git a/docs/dli/api-ref/dli_02_0327.html b/docs/dli/api-ref/dli_02_0327.html index 88d7b903a..03dab791f 100644 --- a/docs/dli/api-ref/dli_02_0327.html +++ b/docs/dli/api-ref/dli_02_0327.html @@ -28,7 +28,7 @@
                          Table 3 Response parameters

                          Parameter

                          Mandatory

                          @@ -234,7 +234,7 @@ "error_code": "", "stream_graph": "{\n \"jid\" : \"44334c4259f6714bddef1ac525364052\",\n \"name\" : \"InternalJob_1715392878428\",\n \"nodes\" : [ {\n \"id\" : \"0a448493b4782967b150582570326227\",\n \"parallelism\" : 1,\n \"operator\" : \"\",\n \"operator_strategy\" : \"\",\n \"description\" : \"Sink: Sink(table=[default_catalog.default_database.sink_table], fields=[name, num])\",\n \"chain_operators_id\" : [ \"0a448493b4782967b150582570326227\" ],\n \"inputs\" : [ {\n \"num\" : 0,\n \"id\" : \"bc764cd8ddf7a0cff126f51c16239658\",\n \"ship_strategy\" : \"FORWARD\",\n \"exchange\" : \"pipelined_bounded\"\n } ],\n \"optimizer_properties\" : {}\n }, {\n \"id\" : \"bc764cd8ddf7a0cff126f51c16239658\",\n \"parallelism\" : 2,\n \"operator\" : \"\",\n \"operator_strategy\" : \"\",\n \"description\" : \"Source: TableSourceScan(table=[[default_catalog, default_database, orders]], fields=[name, num])\",\n \"chain_operators_id\" : [ \"bc764cd8ddf7a0cff126f51c16239658\" ],\n \"optimizer_properties\" : {}\n } ],\n \"operator_list\" : [ {\n \"id\" : \"0a448493b4782967b150582570326227\",\n \"name\" : \"Sink: Sink(table=[default_catalog.default_database.sink_table], fields=[name, num])\",\n \"type\" : \"Sink\",\n \"contents\" : \"Sink(table=[default_catalog.default_database.sink_table], fields=[name, num])\",\n \"parallelism\" : 1,\n \"tags\" : \"[SINK]\",\n \"input_operators_id\" : [ \"bc764cd8ddf7a0cff126f51c16239658\" ]\n }, {\n \"id\" : \"bc764cd8ddf7a0cff126f51c16239658\",\n \"name\" : \"Source: TableSourceScan(table=[[default_catalog, default_database, orders]], fields=[name, num])\",\n \"type\" : \"Source\",\n \"contents\" : \"TableSourceScan(table=[[default_catalog, default_database, orders]], fields=[name, num])\",\n \"parallelism\" : 2,\n \"tags\" : \"[PROCESS, UDF]\",\n \"input_operators_id\" : [ ]\n } ]\n}" } -

                          To make it easier to view the response information, we format stream_graph as follows:

                          +

                          To make it easier to view the response information, format stream_graph as follows:

                              "jid": "65b6a7b0c1ad95b1722a92b49d2f6eba",
                               "name": "InternalJob_1715392245413",
                               "nodes": [
                          diff --git a/docs/dli/api-ref/dli_02_0326.html b/docs/dli/api-ref/dli_02_0326.html
                          index 6e4fbb431..16a10f2e5 100644
                          --- a/docs/dli/api-ref/dli_02_0326.html
                          +++ b/docs/dli/api-ref/dli_02_0326.html
                          @@ -21,7 +21,7 @@
                           
                           

                          String

                          Project ID, which is used for resource isolation. For how to obtain the project ID, see Obtaining a Project ID.

                          +

                          Project ID, which is used for resource isolation. For how to obtain a project ID, see Obtaining a Project ID.

                          Integer

                          Maximum number of CUs. The value of this parameter must be greater than or equal to the sum of the maximum CUs allowed for any queue within the resource pool, and greater than the min_cu value.

                          +

                          Maximum number of CUs. The value of this parameter must be greater than or equal to the sum of maximum CUs allowed for any queue in the resource pool, and greater than min_cu.

                          • Standard edition: The minimum value is 64 CUs.
                          • Basic edition: The minimum value is 16 CUs, and the maximum value is 64 CUs.

                          No

                          map

                          +

                          Object

                          Attribute field of the elastic resource pool.

                          To purchase the basic version, set this parameter to {"spec":"basic"}.

                          @@ -148,7 +148,7 @@

                          String

                          Tag key

                          -
                          NOTE:

                          A tag key can contain a maximum of 128 characters. Only letters, numbers, spaces, and special characters (_.:+-@) are allowed, but the value cannot start or end with a space or start with _sys_.

                          +
                          NOTE:

                          A tag key can contain up to 128 characters, cannot start or end with a space, and cannot start with _sys_. Only letters, digits, spaces, and the following special characters are allowed: _.:+-@

                          String

                          Tag value

                          -
                          NOTE:

                          A tag value can contain a maximum of 255 characters. Only letters, numbers, spaces, and special characters (_.:+-@) are allowed.

                          +
                          NOTE:

                          A tag value can contain up to 255 characters. Only letters, digits, spaces, and the following special characters are allowed: _.:+-@

                          -
                          Table 2 query parameters

                          Parameter

                          +
                          @@ -248,7 +248,7 @@ - diff --git a/docs/dli/api-ref/dli_02_0328.html b/docs/dli/api-ref/dli_02_0328.html index 2b5a9b85e..28e233a3a 100644 --- a/docs/dli/api-ref/dli_02_0328.html +++ b/docs/dli/api-ref/dli_02_0328.html @@ -38,9 +38,9 @@ -

                          Request

                          None

                          +

                          Request Parameters

                          None

                          -

                          Response

                          +

                          Response Parameters

                          Table 2 Query parameters

                          Parameter

                          Mandatory

                          String

                          Status of the elastic resource pool. Possible values are as follows:

                          +

                          Status of the elastic resource pool. The options are:

                          • AVAILABLE
                          • SCALING
                          • CREATING
                          • FAILED
                          - diff --git a/docs/dli/api-ref/dli_02_0330.html b/docs/dli/api-ref/dli_02_0330.html index b594c619c..62d158da8 100644 --- a/docs/dli/api-ref/dli_02_0330.html +++ b/docs/dli/api-ref/dli_02_0330.html @@ -4,7 +4,7 @@

                          Function

                          This API is used to query all queues in an elastic resource pool.

                          URI

                          • URI format

                            GET /v3/{project_id}/elastic-resource-pools/{elastic_resource_pool_name}/queues

                            -
                          • Parameter description +
                          • Parameter descriptions
                          Table 2 Response parameters

                          Parameter

                          Mandatory

                          diff --git a/docs/dli/api-ref/dli_02_0329.html b/docs/dli/api-ref/dli_02_0329.html index 39160d117..e61b4f4e2 100644 --- a/docs/dli/api-ref/dli_02_0329.html +++ b/docs/dli/api-ref/dli_02_0329.html @@ -73,7 +73,7 @@

                          Integer

                          Maximum CUs allowed for an elastic resource pool.

                          +

                          Minimum CUs allowed for an elastic resource pool.

                          -
                          Table 1 URI parameters

                          Parameter

                          Mandatory

                          @@ -21,7 +21,7 @@

                          String

                          Elastic resource pool name.

                          +

                          Name of the elastic resource pool.

                          project_id

                          @@ -37,7 +37,7 @@
                          -
                          Table 2 query parameters

                          Parameter

                          +
                          @@ -98,7 +98,7 @@ - - - + + + + +
                          Table 2 query parameter descriptions

                          Parameter

                          Mandatory

                          Boolean

                          Whether the request is successfully executed. Value true indicates that the request is successfully executed.

                          +

                          Whether the request is successfully executed. true indicates that the request is successfully executed.

                          message

                          @@ -107,7 +107,7 @@

                          String

                          System prompt. If execution succeeds, the message may be left blank.

                          +

                          System prompt. If the execution succeeds, this parameter may be left blank.

                          queues

                          @@ -166,7 +166,8 @@

                          String

                          Queue type.

                          +

                          Queue type. Options:

                          +
                          • sql: Queues used to run SQL jobs
                          • general: Queues used to run Flink and Spark Jar jobs

                          queue_scaling_policies

                          @@ -264,6 +265,20 @@

                          Maximum number of CUs.

                          inherit_elastic_resource_pool_max_cu

                          +

                          No

                          +

                          Boolean

                          +

                          Definition

                          +

                          Whether queues within the elastic resource pool inherit the maximum CUs of the pool

                          +

                          The setting takes effect only within the period specified by the current scaling policy. You need to manually configure CU limits for other periods.

                          +

                          Range

                          +

                          true: The maximum CUs of queues equal the maximum CUs of the resource pool within the period specified by the current scaling policy.

                          +

                          false: Queues within the elastic resource pool do not inherit the maximum CUs of the pool.

                          +
                          @@ -322,7 +337,7 @@
                          -

                          Error Codes

                          If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.

                          +

                          Error Codes

                          If an error occurs when this API is called, the system does not return the result similar to the preceding example, but returns an error code and error message. For details, see Error Codes.

                          diff --git a/docs/dli/api-ref/dli_02_0331.html b/docs/dli/api-ref/dli_02_0331.html index 17af3ef40..fbaedadb4 100644 --- a/docs/dli/api-ref/dli_02_0331.html +++ b/docs/dli/api-ref/dli_02_0331.html @@ -38,7 +38,7 @@
                          -

                          Request

                          +

                          Request Parameters

                          Table 2 Request parameter

                          Parameter

                          Mandatory

                          @@ -62,7 +62,7 @@
                          -

                          Response

                          +

                          Response Parameters

                          -
                          Table 3 Response parameters

                          Parameter

                          Mandatory

                          diff --git a/docs/dli/api-ref/dli_02_0332.html b/docs/dli/api-ref/dli_02_0332.html index 36bdf21e8..196e52b32 100644 --- a/docs/dli/api-ref/dli_02_0332.html +++ b/docs/dli/api-ref/dli_02_0332.html @@ -30,7 +30,15 @@

                          String

                          Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

                          +

                          Definition

                          +

                          Project ID, which is used for resource isolation. For how to obtain a project ID, see Obtaining a Project ID.

                          +

                          Example: 48cc2c48765f481480c7db940d6409d1

                          +

                          Constraints

                          +

                          None

                          +

                          Range

                          +

                          The value can contain up to 64 characters. Only letters and digits are allowed.

                          +

                          Default Value

                          +

                          None

                          queue_name

                          @@ -47,7 +55,7 @@ -

                          Request

                          +

                          Request Parameters

                          - @@ -126,11 +135,28 @@ + + + + +
                          Table 2 Request parameter

                          Parameter

                          Mandatory

                          @@ -64,7 +72,8 @@

                          Array of objects

                          Scaling policy of a queue in an elastic resource pool. A policy contains the period, priority, and CU range. There must be a default scaling policy (period [00:00, 24:00]) for each queue. For details about the parameters, see Table 3.

                          +

                          Scaling policy of a queue in an elastic resource pool. A policy contains the period, priority, and CU range.

                          +

                          There must be a default scaling policy (period [00:00, 24:00]) for each queue. For details about the parameters, see Table 3.

                          Maximum number of CUs.

                          inherit_elastic_resource_pool_max_cu

                          +

                          No

                          +

                          Boolean

                          +

                          Definition

                          +

                          Whether queues within the elastic resource pool inherit the maximum CUs of the pool

                          +

                          Constraints

                          +

                          The setting takes effect only within the period specified by the current scaling policy. You need to manually configure CU limits for other periods.

                          +

                          Range

                          +

                          true: The maximum CUs of queues equal the maximum CUs of the resource pool within the period specified by the current scaling policy.

                          +

                          false: Queues within the elastic resource pool do not inherit the maximum CUs of the pool.

                          +

                          Default Value

                          +

                          None

                          +
                          -

                          Response

                          +

                          Response Parameters

                          Table 4 Response parameters

                          Parameter

                          Mandatory

                          @@ -165,13 +191,22 @@

                          Example Request

                          Modify the scaling policy of a queue associated with an elastic resource pool.

                          {
                          -  "queue_scaling_policies" : [ {
                          +  "queue_scaling_policies" : [ 
                          +   {
                          +    "priority" : 1,
                          +    "impact_start_time" : "00:00",
                          +    "impact_stop_time" : "24:00",
                          +    "min_cu":"64",
                          +    "max_cu":"752"
                          +   } ,
                          +   {
                               "priority" : 100,
                               "impact_start_time" : "10:00",
                               "impact_stop_time" : "22:00",
                               "min_cu":"64",
                               "max_cu":"752"
                          -  }, {
                          +   }, 
                          +  {
                               "priority" : 50,
                               "impact_start_time" : "22:00",
                               "impact_stop_time" : "10:00",
                          diff --git a/docs/dli/api-ref/dli_02_0336.html b/docs/dli/api-ref/dli_02_0336.html
                          index 74f713831..2222c2824 100644
                          --- a/docs/dli/api-ref/dli_02_0336.html
                          +++ b/docs/dli/api-ref/dli_02_0336.html
                          @@ -104,9 +104,9 @@
                           
                          -

                          Request

                          None

                          +

                          Request Parameters

                          None

                          -

                          Response

                          +

                          Response Parameters

                          Table 3 Response body parameters

                          Parameter

                          Type

                          diff --git a/docs/dli/api-ref/dli_02_0371.html b/docs/dli/api-ref/dli_02_0371.html new file mode 100644 index 000000000..44386005b --- /dev/null +++ b/docs/dli/api-ref/dli_02_0371.html @@ -0,0 +1,136 @@ + + +

                          Creating a Route

                          +

                          Function

                          This API is used to create a datasource connection route.

                          +
                          +

                          URI

                          • URI format

                            POST /v3/{project_id}/datasource/enhanced-connections/{connection_id}/routes

                            +
                          • Parameter description +
                            + + + + + + + + + + + + + + + + +
                            Table 1 URI parameters

                            Parameter

                            +

                            Mandatory

                            +

                            Type

                            +

                            Description

                            +

                            project_id

                            +

                            Yes

                            +

                            String

                            +

                            Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

                            +

                            connection_id

                            +

                            Yes

                            +

                            String

                            +

                            Datasource connection ID

                            +
                            +
                            +
                          +
                          +

                          Request Parameters

                          +
                          + + + + + + + + + + + + + + + + +
                          Table 2 Request parameters

                          Parameter

                          +

                          Mandatory

                          +

                          Type

                          +

                          Description

                          +

                          name

                          +

                          Yes

                          +

                          String

                          +

                          Route name. The value can contain 1 to 64 characters.

                          +

                          cidr

                          +

                          Yes

                          +

                          String

                          +

                          Route network range

                          +
                          +
                          +
                          +

                          Response Parameters

                          +
                          + + + + + + + + + + + + + +
                          Table 3 Response parameters

                          Parameter

                          +

                          Type

                          +

                          Description

                          +

                          is_success

                          +

                          Boolean

                          +

                          Whether the request is successfully executed. Value true indicates that the request is successfully executed.

                          +

                          message

                          +

                          String

                          +

                          System prompt. If the execution succeeds, the message may be left blank.

                          +
                          +
                          +
                          +

                          Example Request

                          Create a route. Set the next-hop address of the enhanced datasource connection to 127.0.0.0.

                          +
                          {
                          +  "name": "route",
                          +  "cidr": "127.0.0.0"
                          +}
                          +
                          +

                          Example Response

                          {
                          +  "is_success": true,
                          +  "message": ""
                          +}
                          +
                          +

                          Status Codes

                          +
                          + + + + + + + +

                          Status Code

                          +

                          Description

                          +

                          200

                          +

                          OK

                          +
                          +
                          +
                          +

                          Error Codes

                          For details, see Error Codes.

                          +
                          +
                          + + diff --git a/docs/dli/api-ref/dli_02_0372.html b/docs/dli/api-ref/dli_02_0372.html new file mode 100644 index 000000000..2c68d9a46 --- /dev/null +++ b/docs/dli/api-ref/dli_02_0372.html @@ -0,0 +1,110 @@ + + +

                          Deleting a Route

                          +

                          Function

                          This API is used to delete a datasource connection route.

                          +
                          +

                          URI

                          • URI format

                            DELETE /v3/{project_id}/datasource/enhanced-connections/{connection_id}/routes/{name}

                            +
                          • Parameter description +
                            + + + + + + + + + + + + + + + + + + + + + +
                            Table 1 URI parameters

                            Parameter

                            +

                            Mandatory

                            +

                            Type

                            +

                            Description

                            +

                            project_id

                            +

                            Yes

                            +

                            String

                            +

                            Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

                            +

                            connection_id

                            +

                            Yes

                            +

                            String

                            +

                            Datasource connection ID

                            +

                            name

                            +

                            Yes

                            +

                            String

                            +

                            Route name

                            +
                            +
                            +
                          +
                          +

                          Request Parameters

                          None

                          +
                          +

                          Response Parameters

                          +
                          + + + + + + + + + + + + + +
                          Table 2 Response parameters

                          Parameter

                          +

                          Type

                          +

                          Description

                          +

                          is_success

                          +

                          Boolean

                          +

                          Whether the request is successfully executed. Value true indicates that the request is successfully executed.

                          +

                          message

                          +

                          String

                          +

                          System prompt. If the execution succeeds, the message may be left blank.

                          +
                          +
                          +
                          +

                          Example Request

                          None

                          +
                          +

                          Example Response

                          {
                          +  "is_success": true,
                          +  "message": "Deleted"
                          +}
                          +
                          +

                          Status Codes

                          +
                          + + + + + + + +

                          Status Code

                          +

                          Description

                          +

                          200

                          +

                          OK

                          +
                          +
                          +
                          +

                          Error Codes

                          For details, see Error Codes.

                          +
                          +
                          + +