forked from docs/mapreduce-service
Compare commits
45 Commits
Author | SHA1 | Date | |
---|---|---|---|
fb950a3655 | |||
74c287ece0 | |||
3493830b7e | |||
a6f28c7c85 | |||
773d44336c | |||
85a785fe87 | |||
c034443e6c | |||
54945e8a61 | |||
a88879ea69 | |||
1b54a57256 | |||
d592bc9081 | |||
e942f9b4bb | |||
d68f08e7c3 | |||
aeffc8bd60 | |||
acbebc1d6e | |||
79abdaf4e8 | |||
16d25be0bf | |||
f8f66a6098 | |||
26e47fdf78 | |||
adb7a0ef94 | |||
9b40dd875b | |||
ba5b8f80e7 | |||
c356dcdb1f | |||
533dd26c25 | |||
af4960df58 | |||
c130711397 | |||
f8f8093f4e | |||
4e7508dd04 | |||
d31d5b10fe | |||
d220d65b12 | |||
eb952b6d23 | |||
81a0ecb29d | |||
![]() |
50ca5604e5 | ||
![]() |
f5c3c21c0b | ||
c558050975 | |||
ac0532e380 | |||
3ccfbdc0f0 | |||
113474ab73 | |||
11ba7ce113 | |||
![]() |
254fe368d7 | ||
![]() |
eb3b4c63af | ||
e1414c80f2 | |||
![]() |
efc368ef83 | ||
![]() |
156ec4bc4b | ||
ef2bdcb8f9 |
BIN
api-ref/source/_static/images/en-us_image_0000001298246380.png
Normal file
BIN
api-ref/source/_static/images/en-us_image_0000001298246380.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 36 KiB |
BIN
api-ref/source/_static/images/en-us_image_0000001298566184.png
Normal file
BIN
api-ref/source/_static/images/en-us_image_0000001298566184.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
BIN
api-ref/source/_static/images/en-us_image_0000001298725832.png
Normal file
BIN
api-ref/source/_static/images/en-us_image_0000001298725832.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
BIN
api-ref/source/_static/images/en-us_image_0000001351245885.png
Normal file
BIN
api-ref/source/_static/images/en-us_image_0000001351245885.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
BIN
api-ref/source/_static/images/en-us_image_0000001351245889.gif
Normal file
BIN
api-ref/source/_static/images/en-us_image_0000001351245889.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 29 KiB |
BIN
api-ref/source/_static/images/en-us_image_0000001351446161.png
Normal file
BIN
api-ref/source/_static/images/en-us_image_0000001351446161.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 71 KiB |
138
api-ref/source/api_overview.rst
Normal file
138
api-ref/source/api_overview.rst
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
14
api-ref/source/apis/auto_scaling_apis/index.rst
Normal file
14
api-ref/source/apis/auto_scaling_apis/index.rst
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
:original_name: mrs_02_0054.html
|
||||||
|
|
||||||
|
.. _mrs_02_0054:
|
||||||
|
|
||||||
|
Auto Scaling APIs
|
||||||
|
=================
|
||||||
|
|
||||||
|
- :ref:`Configuring an Auto Scaling Rule <mrs_02_0056>`
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 1
|
||||||
|
:hidden:
|
||||||
|
|
||||||
|
configuring_an_auto_scaling_rule
|
14
api-ref/source/apis/auto_scaling_apis_v2/index.rst
Normal file
14
api-ref/source/apis/auto_scaling_apis_v2/index.rst
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
:original_name: mrs_02_0199.html
|
||||||
|
|
||||||
|
.. _mrs_02_0199:
|
||||||
|
|
||||||
|
Auto Scaling APIs (V2)
|
||||||
|
======================
|
||||||
|
|
||||||
|
- :ref:`Viewing Auto Scaling Policies <mrs_02_0200>`
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 1
|
||||||
|
:hidden:
|
||||||
|
|
||||||
|
viewing_auto_scaling_policies
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,81 @@
|
|||||||
|
:original_name: mrs_02_0032.html
|
||||||
|
|
||||||
|
.. _mrs_02_0032:
|
||||||
|
|
||||||
|
Deleting a Cluster
|
||||||
|
==================
|
||||||
|
|
||||||
|
Function
|
||||||
|
--------
|
||||||
|
|
||||||
|
This API is used to delete a cluster after data processing and analysis are completed or the cluster is abnormal. This API is compatible with Sahara.
|
||||||
|
|
||||||
|
Clusters in any of the following states cannot be terminated:
|
||||||
|
|
||||||
|
- scaling-out
|
||||||
|
- scaling-in
|
||||||
|
- starting
|
||||||
|
- terminating
|
||||||
|
- terminated
|
||||||
|
- failed
|
||||||
|
|
||||||
|
URI
|
||||||
|
---
|
||||||
|
|
||||||
|
- Format
|
||||||
|
|
||||||
|
DELETE /v1.1/{project_id}/clusters/{cluster_id}
|
||||||
|
|
||||||
|
- Parameter description
|
||||||
|
|
||||||
|
.. table:: **Table 1** URI parameter description
|
||||||
|
|
||||||
|
+------------+-----------+-----------------------------------------------------------------------------------------------------------+
|
||||||
|
| Parameter | Mandatory | Description |
|
||||||
|
+============+===========+===========================================================================================================+
|
||||||
|
| project_id | Yes | Project ID. For details on how to obtain the project ID, see :ref:`Obtaining a Project ID <mrs_02_0011>`. |
|
||||||
|
+------------+-----------+-----------------------------------------------------------------------------------------------------------+
|
||||||
|
| cluster_id | Yes | Cluster ID |
|
||||||
|
+------------+-----------+-----------------------------------------------------------------------------------------------------------+
|
||||||
|
|
||||||
|
Request
|
||||||
|
-------
|
||||||
|
|
||||||
|
**Request parameters**
|
||||||
|
|
||||||
|
None.
|
||||||
|
|
||||||
|
Response
|
||||||
|
--------
|
||||||
|
|
||||||
|
**Response parameters**
|
||||||
|
|
||||||
|
None.
|
||||||
|
|
||||||
|
Example
|
||||||
|
-------
|
||||||
|
|
||||||
|
- Example request
|
||||||
|
|
||||||
|
None.
|
||||||
|
|
||||||
|
- Example response
|
||||||
|
|
||||||
|
None.
|
||||||
|
|
||||||
|
Status Code
|
||||||
|
-----------
|
||||||
|
|
||||||
|
:ref:`Table 2 <mrs_02_0032__table1584477916050>` describes the status code of this API.
|
||||||
|
|
||||||
|
.. _mrs_02_0032__table1584477916050:
|
||||||
|
|
||||||
|
.. table:: **Table 2** Status code
|
||||||
|
|
||||||
|
=========== =============================================
|
||||||
|
Status Code Description
|
||||||
|
=========== =============================================
|
||||||
|
204 The cluster has been successfully terminated.
|
||||||
|
=========== =============================================
|
||||||
|
|
||||||
|
For the description about error status codes, see :ref:`Status Codes <mrs_02_0015>`.
|
24
api-ref/source/apis/cluster_management_apis_v1/index.rst
Normal file
24
api-ref/source/apis/cluster_management_apis_v1/index.rst
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
:original_name: mrs_02_0027.html
|
||||||
|
|
||||||
|
.. _mrs_02_0027:
|
||||||
|
|
||||||
|
Cluster management APIs (V1)
|
||||||
|
============================
|
||||||
|
|
||||||
|
- :ref:`Creating a Cluster and Running a Job <mrs_02_0028>`
|
||||||
|
- :ref:`Resizing a Cluster <mrs_02_0029>`
|
||||||
|
- :ref:`Querying a Cluster List <mrs_02_0030>`
|
||||||
|
- :ref:`Querying Cluster Details <mrs_02_0031>`
|
||||||
|
- :ref:`Deleting a Cluster <mrs_02_0032>`
|
||||||
|
- :ref:`Querying a Host List <mrs_02_0057>`
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 1
|
||||||
|
:hidden:
|
||||||
|
|
||||||
|
creating_a_cluster_and_running_a_job
|
||||||
|
resizing_a_cluster
|
||||||
|
querying_a_cluster_list
|
||||||
|
querying_cluster_details
|
||||||
|
deleting_a_cluster
|
||||||
|
querying_a_host_list
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,95 @@
|
|||||||
|
:original_name: mrs_02_0201.html
|
||||||
|
|
||||||
|
.. _mrs_02_0201:
|
||||||
|
|
||||||
|
Changing a Cluster Name
|
||||||
|
=======================
|
||||||
|
|
||||||
|
Function
|
||||||
|
--------
|
||||||
|
|
||||||
|
This API is used to change a cluster name.
|
||||||
|
|
||||||
|
URI
|
||||||
|
---
|
||||||
|
|
||||||
|
PUT /v2/{project_id}/clusters/{cluster_id}/cluster-name
|
||||||
|
|
||||||
|
.. table:: **Table 1** URI parameters
|
||||||
|
|
||||||
|
+------------+-----------+--------+------------------------------------------------------------------------------------------------------------------+
|
||||||
|
| Parameter | Mandatory | Type | Description |
|
||||||
|
+============+===========+========+==================================================================================================================+
|
||||||
|
| project_id | Yes | String | The project ID. For details about how to obtain the project ID, see :ref:`Obtaining a Project ID <mrs_02_0011>`. |
|
||||||
|
+------------+-----------+--------+------------------------------------------------------------------------------------------------------------------+
|
||||||
|
| cluster_id | Yes | String | The cluster ID. For details about how to obtain the cluster ID, see :ref:`Obtaining a Project ID <mrs_02_0011>`. |
|
||||||
|
+------------+-----------+--------+------------------------------------------------------------------------------------------------------------------+
|
||||||
|
|
||||||
|
Request Parameters
|
||||||
|
------------------
|
||||||
|
|
||||||
|
.. table:: **Table 2** Request body parameter
|
||||||
|
|
||||||
|
============ ========= ====== =====================
|
||||||
|
Parameter Mandatory Type Description
|
||||||
|
============ ========= ====== =====================
|
||||||
|
cluster_name Yes String The new cluster name.
|
||||||
|
============ ========= ====== =====================
|
||||||
|
|
||||||
|
Response Parameters
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
**Status code: 200**
|
||||||
|
|
||||||
|
.. table:: **Table 3** Response body parameter
|
||||||
|
|
||||||
|
+-----------+--------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||||
|
| Parameter | Type | Description |
|
||||||
|
+===========+========+==================================================================================================================================================================================+
|
||||||
|
| result | String | The operation result of the mapping update request. Value \**succeeded*\* indicates that the operation is successful, and value \**failed*\* indicates that the operation fails. |
|
||||||
|
+-----------+--------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||||
|
|
||||||
|
**Status code: 400**
|
||||||
|
|
||||||
|
.. table:: **Table 4** Response body parameters
|
||||||
|
|
||||||
|
========== ====== ==================
|
||||||
|
Parameter Type Description
|
||||||
|
========== ====== ==================
|
||||||
|
error_code String The error code.
|
||||||
|
error_msg String The error message.
|
||||||
|
========== ====== ==================
|
||||||
|
|
||||||
|
Example Request
|
||||||
|
---------------
|
||||||
|
|
||||||
|
Change the MRS cluster name to **mrs_jdRU_dm01**.
|
||||||
|
|
||||||
|
.. code-block::
|
||||||
|
|
||||||
|
{
|
||||||
|
"cluster_name" : "mrs_jdRU_dm01"
|
||||||
|
}
|
||||||
|
|
||||||
|
Example Response
|
||||||
|
----------------
|
||||||
|
|
||||||
|
**Status code: 200**
|
||||||
|
|
||||||
|
The cluster name is changed.
|
||||||
|
|
||||||
|
.. code-block::
|
||||||
|
|
||||||
|
{
|
||||||
|
"result" : "succeeded"
|
||||||
|
}
|
||||||
|
|
||||||
|
Status Codes
|
||||||
|
------------
|
||||||
|
|
||||||
|
See :ref:`Status Codes <mrs_02_0015>`.
|
||||||
|
|
||||||
|
Error Codes
|
||||||
|
-----------
|
||||||
|
|
||||||
|
See :ref:`Error Code <mrs_02_0014>`.
|
1511
api-ref/source/apis/cluster_management_apis_v2/creating_clusters.rst
Normal file
1511
api-ref/source/apis/cluster_management_apis_v2/creating_clusters.rst
Normal file
File diff suppressed because it is too large
Load Diff
16
api-ref/source/apis/cluster_management_apis_v2/index.rst
Normal file
16
api-ref/source/apis/cluster_management_apis_v2/index.rst
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
:original_name: mrs_02_0100.html
|
||||||
|
|
||||||
|
.. _mrs_02_0100:
|
||||||
|
|
||||||
|
Cluster management APIs (V2)
|
||||||
|
============================
|
||||||
|
|
||||||
|
- :ref:`Creating Clusters <mrs_02_0101>`
|
||||||
|
- :ref:`Changing a Cluster Name <mrs_02_0201>`
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 1
|
||||||
|
:hidden:
|
||||||
|
|
||||||
|
creating_clusters
|
||||||
|
changing_a_cluster_name
|
155
api-ref/source/apis/data_source_apis/creating_a_data_source.rst
Normal file
155
api-ref/source/apis/data_source_apis/creating_a_data_source.rst
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,74 @@
|
|||||||
|
:original_name: mrs_02_0026.html
|
||||||
|
|
||||||
|
.. _mrs_02_0026:
|
||||||
|
|
||||||
|
Deleting a Data Source
|
||||||
|
======================
|
||||||
|
|
||||||
|
Function
|
||||||
|
--------
|
||||||
|
|
||||||
|
This API is used to delete a data source. This API is compatible with Sahara.
|
||||||
|
|
||||||
|
URI
|
||||||
|
---
|
||||||
|
|
||||||
|
- Format
|
||||||
|
|
||||||
|
DELETE /v1.1/{project_id}/data-sources/{data_source_id}
|
||||||
|
|
||||||
|
- Parameter description
|
||||||
|
|
||||||
|
.. table:: **Table 1** URI parameter description
|
||||||
|
|
||||||
|
+----------------+-----------+-----------------------------------------------------------------------------------------------------------+
|
||||||
|
| Parameter | Mandatory | Description |
|
||||||
|
+================+===========+===========================================================================================================+
|
||||||
|
| project_id | Yes | Project ID. For details on how to obtain the project ID, see :ref:`Obtaining a Project ID <mrs_02_0011>`. |
|
||||||
|
+----------------+-----------+-----------------------------------------------------------------------------------------------------------+
|
||||||
|
| data_source_id | Yes | Data source ID |
|
||||||
|
+----------------+-----------+-----------------------------------------------------------------------------------------------------------+
|
||||||
|
|
||||||
|
Request
|
||||||
|
-------
|
||||||
|
|
||||||
|
**Request parameters**
|
||||||
|
|
||||||
|
None.
|
||||||
|
|
||||||
|
Response
|
||||||
|
--------
|
||||||
|
|
||||||
|
**Response parameters**
|
||||||
|
|
||||||
|
None.
|
||||||
|
|
||||||
|
Example
|
||||||
|
-------
|
||||||
|
|
||||||
|
- Example request
|
||||||
|
|
||||||
|
.. code-block:: text
|
||||||
|
|
||||||
|
DELETE /v1.1/{project_id}/data-sources/{data_source_id}
|
||||||
|
|
||||||
|
- Example response
|
||||||
|
|
||||||
|
None.
|
||||||
|
|
||||||
|
Status Code
|
||||||
|
-----------
|
||||||
|
|
||||||
|
:ref:`Table 2 <mrs_02_0026__table1584477916050>` describes the status code of this API.
|
||||||
|
|
||||||
|
.. _mrs_02_0026__table1584477916050:
|
||||||
|
|
||||||
|
.. table:: **Table 2** Status code
|
||||||
|
|
||||||
|
=========== ========================================
|
||||||
|
Status Code Description
|
||||||
|
=========== ========================================
|
||||||
|
204 The data source is deleted successfully.
|
||||||
|
=========== ========================================
|
||||||
|
|
||||||
|
For the description about error status codes, see :ref:`Status Codes <mrs_02_0015>`.
|
22
api-ref/source/apis/data_source_apis/index.rst
Normal file
22
api-ref/source/apis/data_source_apis/index.rst
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
:original_name: mrs_02_0021.html
|
||||||
|
|
||||||
|
.. _mrs_02_0021:
|
||||||
|
|
||||||
|
Data Source APIs
|
||||||
|
================
|
||||||
|
|
||||||
|
- :ref:`Creating a Data Source <mrs_02_0022>`
|
||||||
|
- :ref:`Updating a Data Source <mrs_02_0023>`
|
||||||
|
- :ref:`Querying the Data Source List <mrs_02_0024>`
|
||||||
|
- :ref:`Querying the Data Source Details <mrs_02_0025>`
|
||||||
|
- :ref:`Deleting a Data Source <mrs_02_0026>`
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 1
|
||||||
|
:hidden:
|
||||||
|
|
||||||
|
creating_a_data_source
|
||||||
|
updating_a_data_source
|
||||||
|
querying_the_data_source_list
|
||||||
|
querying_the_data_source_details
|
||||||
|
deleting_a_data_source
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
165
api-ref/source/apis/data_source_apis/updating_a_data_source.rst
Normal file
165
api-ref/source/apis/data_source_apis/updating_a_data_source.rst
Normal file
File diff suppressed because it is too large
Load Diff
32
api-ref/source/apis/index.rst
Normal file
32
api-ref/source/apis/index.rst
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
:original_name: mrs_02_0020.html
|
||||||
|
|
||||||
|
.. _mrs_02_0020:
|
||||||
|
|
||||||
|
APIs
|
||||||
|
====
|
||||||
|
|
||||||
|
- :ref:`Data Source APIs <mrs_02_0021>`
|
||||||
|
- :ref:`Cluster management APIs (V2) <mrs_02_0100>`
|
||||||
|
- :ref:`Cluster management APIs (V1) <mrs_02_0027>`
|
||||||
|
- :ref:`Job Binary Object APIs <mrs_02_0033>`
|
||||||
|
- :ref:`Job Object APIs (V1, Not Recommended) <mrs_02_0039>`
|
||||||
|
- :ref:`Job Execution Object APIs (V1, Not Recommended) <mrs_02_0049>`
|
||||||
|
- :ref:`Auto Scaling APIs (V2) <mrs_02_0199>`
|
||||||
|
- :ref:`Job Object APIs (V2) <mrs_02_0084>`
|
||||||
|
- :ref:`Auto Scaling APIs <mrs_02_0054>`
|
||||||
|
- :ref:`Tag Management APIs <mrs_02_0070>`
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 1
|
||||||
|
:hidden:
|
||||||
|
|
||||||
|
data_source_apis/index
|
||||||
|
cluster_management_apis_v2/index
|
||||||
|
cluster_management_apis_v1/index
|
||||||
|
job_binary_object_apis/index
|
||||||
|
job_object_apis_v1_not_recommended/index
|
||||||
|
job_execution_object_apis_v1_not_recommended/index
|
||||||
|
auto_scaling_apis_v2/index
|
||||||
|
job_object_apis_v2/index
|
||||||
|
auto_scaling_apis/index
|
||||||
|
tag_management_apis/index
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,72 @@
|
|||||||
|
:original_name: mrs_02_0038.html
|
||||||
|
|
||||||
|
.. _mrs_02_0038:
|
||||||
|
|
||||||
|
Deleting a Job Binary Object
|
||||||
|
============================
|
||||||
|
|
||||||
|
Function
|
||||||
|
--------
|
||||||
|
|
||||||
|
This API is used to delete a binary object. This API is compatible with Sahara.
|
||||||
|
|
||||||
|
URI
|
||||||
|
---
|
||||||
|
|
||||||
|
- Format
|
||||||
|
|
||||||
|
DELETE /v1.1/{project_id}/job-binaries/{job_binary_id}
|
||||||
|
|
||||||
|
- Parameter description
|
||||||
|
|
||||||
|
.. table:: **Table 1** URI parameter description
|
||||||
|
|
||||||
|
+---------------+-----------+-----------------------------------------------------------------------------------------------------------+
|
||||||
|
| Parameter | Mandatory | Description |
|
||||||
|
+===============+===========+===========================================================================================================+
|
||||||
|
| project_id | Yes | Project ID. For details on how to obtain the project ID, see :ref:`Obtaining a Project ID <mrs_02_0011>`. |
|
||||||
|
+---------------+-----------+-----------------------------------------------------------------------------------------------------------+
|
||||||
|
| job_binary_id | Yes | Job binary object ID |
|
||||||
|
+---------------+-----------+-----------------------------------------------------------------------------------------------------------+
|
||||||
|
|
||||||
|
Request
|
||||||
|
-------
|
||||||
|
|
||||||
|
**Request parameters**
|
||||||
|
|
||||||
|
None
|
||||||
|
|
||||||
|
Response
|
||||||
|
--------
|
||||||
|
|
||||||
|
**Response parameters**
|
||||||
|
|
||||||
|
None
|
||||||
|
|
||||||
|
Example
|
||||||
|
-------
|
||||||
|
|
||||||
|
- Example request
|
||||||
|
|
||||||
|
None
|
||||||
|
|
||||||
|
- Example response
|
||||||
|
|
||||||
|
None
|
||||||
|
|
||||||
|
Status Code
|
||||||
|
-----------
|
||||||
|
|
||||||
|
:ref:`Table 2 <mrs_02_0038__table1584477916050>` describes the status code of this API.
|
||||||
|
|
||||||
|
.. _mrs_02_0038__table1584477916050:
|
||||||
|
|
||||||
|
.. table:: **Table 2** Status code
|
||||||
|
|
||||||
|
=========== ==========================================
|
||||||
|
Status code Description
|
||||||
|
=========== ==========================================
|
||||||
|
204 The binary object is deleted successfully.
|
||||||
|
=========== ==========================================
|
||||||
|
|
||||||
|
For the description about error status codes, see :ref:`Status Codes <mrs_02_0015>`.
|
22
api-ref/source/apis/job_binary_object_apis/index.rst
Normal file
22
api-ref/source/apis/job_binary_object_apis/index.rst
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
:original_name: mrs_02_0033.html
|
||||||
|
|
||||||
|
.. _mrs_02_0033:
|
||||||
|
|
||||||
|
Job Binary Object APIs
|
||||||
|
======================
|
||||||
|
|
||||||
|
- :ref:`Creating a Job Binary Object <mrs_02_0034>`
|
||||||
|
- :ref:`Updating a Job Binary Object <mrs_02_0035>`
|
||||||
|
- :ref:`Querying the Binary Object List <mrs_02_0036>`
|
||||||
|
- :ref:`Querying the Binary Object Details <mrs_02_0037>`
|
||||||
|
- :ref:`Deleting a Job Binary Object <mrs_02_0038>`
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 1
|
||||||
|
:hidden:
|
||||||
|
|
||||||
|
creating_a_job_binary_object
|
||||||
|
updating_a_job_binary_object
|
||||||
|
querying_the_binary_object_list
|
||||||
|
querying_the_binary_object_details
|
||||||
|
deleting_a_job_binary_object
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,72 @@
|
|||||||
|
:original_name: mrs_02_0053.html
|
||||||
|
|
||||||
|
.. _mrs_02_0053:
|
||||||
|
|
||||||
|
Deleting a Job Execution Object
|
||||||
|
===============================
|
||||||
|
|
||||||
|
Function
|
||||||
|
--------
|
||||||
|
|
||||||
|
This API is used to delete a job execution object. This API is compatible with Sahara.
|
||||||
|
|
||||||
|
URI
|
||||||
|
---
|
||||||
|
|
||||||
|
- Format
|
||||||
|
|
||||||
|
DELETE /v1.1/{project_id}/job-executions/{job_execution_id}
|
||||||
|
|
||||||
|
- Parameter description
|
||||||
|
|
||||||
|
.. table:: **Table 1** URI parameter description
|
||||||
|
|
||||||
|
+------------------+-----------+-----------------------------------------------------------------------------------------------------------+
|
||||||
|
| Parameter | Mandatory | Description |
|
||||||
|
+==================+===========+===========================================================================================================+
|
||||||
|
| project_id | Yes | Project ID. For details on how to obtain the project ID, see :ref:`Obtaining a Project ID <mrs_02_0011>`. |
|
||||||
|
+------------------+-----------+-----------------------------------------------------------------------------------------------------------+
|
||||||
|
| job_execution_id | Yes | Job ID |
|
||||||
|
+------------------+-----------+-----------------------------------------------------------------------------------------------------------+
|
||||||
|
|
||||||
|
Request
|
||||||
|
-------
|
||||||
|
|
||||||
|
**Request parameters**
|
||||||
|
|
||||||
|
None.
|
||||||
|
|
||||||
|
Response
|
||||||
|
--------
|
||||||
|
|
||||||
|
**Response parameters**
|
||||||
|
|
||||||
|
None.
|
||||||
|
|
||||||
|
Example
|
||||||
|
-------
|
||||||
|
|
||||||
|
- Example request
|
||||||
|
|
||||||
|
None.
|
||||||
|
|
||||||
|
- Example response
|
||||||
|
|
||||||
|
None.
|
||||||
|
|
||||||
|
Status Code
|
||||||
|
-----------
|
||||||
|
|
||||||
|
:ref:`Table 2 <mrs_02_0053__table1584477916050>` describes the status code of this API.
|
||||||
|
|
||||||
|
.. _mrs_02_0053__table1584477916050:
|
||||||
|
|
||||||
|
.. table:: **Table 2** Status code
|
||||||
|
|
||||||
|
=========== =================================================
|
||||||
|
Status Code Description
|
||||||
|
=========== =================================================
|
||||||
|
204 The job execution object is deleted successfully.
|
||||||
|
=========== =================================================
|
||||||
|
|
||||||
|
For the description about error status codes, see :ref:`Status Codes <mrs_02_0015>`.
|
@ -0,0 +1,20 @@
|
|||||||
|
:original_name: mrs_02_0049.html
|
||||||
|
|
||||||
|
.. _mrs_02_0049:
|
||||||
|
|
||||||
|
Job Execution Object APIs (V1, Not Recommended)
|
||||||
|
===============================================
|
||||||
|
|
||||||
|
- :ref:`Querying the Job Execution Object List <mrs_02_0050>`
|
||||||
|
- :ref:`Querying Job Execution Object Details <mrs_02_0051>`
|
||||||
|
- :ref:`Canceling Job Execution <mrs_02_0052>`
|
||||||
|
- :ref:`Deleting a Job Execution Object <mrs_02_0053>`
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 1
|
||||||
|
:hidden:
|
||||||
|
|
||||||
|
querying_the_job_execution_object_list
|
||||||
|
querying_job_execution_object_details
|
||||||
|
canceling_job_execution
|
||||||
|
deleting_a_job_execution_object
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,72 @@
|
|||||||
|
:original_name: mrs_02_0048.html
|
||||||
|
|
||||||
|
.. _mrs_02_0048:
|
||||||
|
|
||||||
|
Deleting a Job Object
|
||||||
|
=====================
|
||||||
|
|
||||||
|
Function
|
||||||
|
--------
|
||||||
|
|
||||||
|
This API is used to delete a job object. This API is compatible with Sahara.
|
||||||
|
|
||||||
|
URI
|
||||||
|
---
|
||||||
|
|
||||||
|
- Format
|
||||||
|
|
||||||
|
DELETE /v1.1/{project_id}/jobs/{job_id}
|
||||||
|
|
||||||
|
- Parameter description
|
||||||
|
|
||||||
|
.. table:: **Table 1** URI parameter description
|
||||||
|
|
||||||
|
+------------+-----------+-----------------------------------------------------------------------------------------------------------+
|
||||||
|
| Parameter | Mandatory | Description |
|
||||||
|
+============+===========+===========================================================================================================+
|
||||||
|
| project_id | Yes | Project ID. For details on how to obtain the project ID, see :ref:`Obtaining a Project ID <mrs_02_0011>`. |
|
||||||
|
+------------+-----------+-----------------------------------------------------------------------------------------------------------+
|
||||||
|
| job_id | Yes | Job object ID |
|
||||||
|
+------------+-----------+-----------------------------------------------------------------------------------------------------------+
|
||||||
|
|
||||||
|
Request
|
||||||
|
-------
|
||||||
|
|
||||||
|
**Request parameters**
|
||||||
|
|
||||||
|
None.
|
||||||
|
|
||||||
|
Response
|
||||||
|
--------
|
||||||
|
|
||||||
|
**Response parameters**
|
||||||
|
|
||||||
|
None.
|
||||||
|
|
||||||
|
Example
|
||||||
|
-------
|
||||||
|
|
||||||
|
- Example request
|
||||||
|
|
||||||
|
None.
|
||||||
|
|
||||||
|
- Example response
|
||||||
|
|
||||||
|
None.
|
||||||
|
|
||||||
|
Status Code
|
||||||
|
-----------
|
||||||
|
|
||||||
|
:ref:`Table 2 <mrs_02_0048__table1584477916050>` describes the status code of this API.
|
||||||
|
|
||||||
|
.. _mrs_02_0048__table1584477916050:
|
||||||
|
|
||||||
|
.. table:: **Table 2** Status code
|
||||||
|
|
||||||
|
=========== =============================================
|
||||||
|
Status Code Description
|
||||||
|
=========== =============================================
|
||||||
|
204 The job object has been successfully deleted.
|
||||||
|
=========== =============================================
|
||||||
|
|
||||||
|
For the description about error status codes, see :ref:`Status Codes <mrs_02_0015>`.
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,30 @@
|
|||||||
|
:original_name: mrs_02_0039.html
|
||||||
|
|
||||||
|
.. _mrs_02_0039:
|
||||||
|
|
||||||
|
Job Object APIs (V1, Not Recommended)
|
||||||
|
=====================================
|
||||||
|
|
||||||
|
- :ref:`Adding a Job and Executing the Job <mrs_02_0040>`
|
||||||
|
- :ref:`Creating a Job Object <mrs_02_0041>`
|
||||||
|
- :ref:`Updating a Job Object <mrs_02_0042>`
|
||||||
|
- :ref:`Executing a Job Object <mrs_02_0043>`
|
||||||
|
- :ref:`Querying the Job Object List <mrs_02_0044>`
|
||||||
|
- :ref:`Querying Job Object Details <mrs_02_0045>`
|
||||||
|
- :ref:`Querying the exe Object List of Jobs <mrs_02_0046>`
|
||||||
|
- :ref:`Querying exe Object Details <mrs_02_0047>`
|
||||||
|
- :ref:`Deleting a Job Object <mrs_02_0048>`
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 1
|
||||||
|
:hidden:
|
||||||
|
|
||||||
|
adding_a_job_and_executing_the_job
|
||||||
|
creating_a_job_object
|
||||||
|
updating_a_job_object
|
||||||
|
executing_a_job_object
|
||||||
|
querying_the_job_object_list
|
||||||
|
querying_job_object_details
|
||||||
|
querying_the_exe_object_list_of_jobs
|
||||||
|
querying_exe_object_details
|
||||||
|
deleting_a_job_object
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user