forked from laiweijian4/doc-exports
Reviewed-by: gtema <artem.goncharov@gmail.com> Co-authored-by: Wei, Hongmin <weihongmin1@huawei.com> Co-committed-by: Wei, Hongmin <weihongmin1@huawei.com>
330 lines
27 KiB
HTML
330 lines
27 KiB
HTML
<a name="sdrs_05_0101"></a><a name="sdrs_05_0101"></a>
|
|
|
|
<h1 class="topictitle1">Querying the Job Status</h1>
|
|
<div id="body1524795306609"><div class="section" id="sdrs_05_0101__en-us_topic_0079693002_section34649765"><a name="sdrs_05_0101__en-us_topic_0079693002_section34649765"></a><a name="en-us_topic_0079693002_section34649765"></a><h4 class="sectiontitle">Function</h4><p id="sdrs_05_0101__p73809427436">This API is used to query the execution status of a job.</p>
|
|
<div class="note" id="sdrs_05_0101__note7761183513288"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="sdrs_05_0101__p9762735182810">After a job, such as creating or deleting a protection group, creating or deleting a protected instance, and creating or deleting a replication pair, is issued, <strong id="sdrs_05_0101__b8928632132413">job_id</strong> is returned, based on which you can query the execution status of the job.</p>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="sdrs_05_0101__en-us_topic_0079693002_section39390935"><h4 class="sectiontitle">URI</h4><ul id="sdrs_05_0101__en-us_topic_0079693002_ul52084342"><li id="sdrs_05_0101__en-us_topic_0079693002_li66105898">URI format<p id="sdrs_05_0101__en-us_topic_0079693002_p212314194247"><a name="sdrs_05_0101__en-us_topic_0079693002_li66105898"></a><a name="en-us_topic_0079693002_li66105898"></a>GET /v1/{project_id}/jobs/{job_id}</p>
|
|
</li><li id="sdrs_05_0101__en-us_topic_0079693002_li52977523">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0101__en-us_topic_0079693002_table63321005" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0101__en-us_topic_0079693002_row37593218"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.2.1.1.5.1.1"><p id="sdrs_05_0101__en-us_topic_0079693002_p25151854">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.2.1.1.5.1.2"><p id="sdrs_05_0101__en-us_topic_0079693002_p1556805116115">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.2.2.2.1.1.5.1.3"><p id="sdrs_05_0101__p553795612375">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="43%" id="mcps1.3.2.2.2.1.1.5.1.4"><p id="sdrs_05_0101__en-us_topic_0079693002_p2565159161120">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sdrs_05_0101__en-us_topic_0079693002_row29123463"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="sdrs_05_0101__en-us_topic_0079693002_p10190321">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="sdrs_05_0101__en-us_topic_0079693002_p60774950161114">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="sdrs_05_0101__p721813347387">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="sdrs_05_0101__p15928101713314">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0101__row91209154712"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.1.1.5.1.1 "><p id="sdrs_05_0101__p1212115134718">job_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.2.1.1.5.1.2 "><p id="sdrs_05_0101__p191216112478">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.2.2.2.1.1.5.1.3 "><p id="sdrs_05_0101__p1921893473817">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="43%" headers="mcps1.3.2.2.2.1.1.5.1.4 "><p id="sdrs_05_0101__p560514594492">Specifies the job ID.</p>
|
|
<p id="sdrs_05_0101__p265974419244">Specifies the returned parameter when the asynchronous API command is issued. For details, see the description in <a href="#sdrs_05_0101__en-us_topic_0079693002_section34649765">Function</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="sdrs_05_0101__en-us_topic_0079693002_section18974100"><h4 class="sectiontitle">Request</h4><ul id="sdrs_05_0101__ul626379546"><li id="sdrs_05_0101__li7439724105918">Request parameters<p id="sdrs_05_0101__p14962142412597"><a name="sdrs_05_0101__li7439724105918"></a><a name="li7439724105918"></a>None</p>
|
|
</li><li id="sdrs_05_0101__li2263291249">Example request<p id="sdrs_05_0101__p166961125141515"><a name="sdrs_05_0101__li2263291249"></a><a name="li2263291249"></a>GET https://{endpoint}/v1/{project_id}/jobs/0000000062db92d70162db9d200f000a</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="sdrs_05_0101__en-us_topic_0079693002_section36549175"><h4 class="sectiontitle">Response</h4><ul id="sdrs_05_0101__en-us_topic_0079693002_ul48735027"><li id="sdrs_05_0101__en-us_topic_0079693002_li35962059">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0101__table155991608555" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0101__row460510055518"><th align="left" class="cellrowborder" valign="top" width="22.62%" id="mcps1.3.4.2.1.1.1.4.1.1"><p id="sdrs_05_0101__p56078010555">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19.05%" id="mcps1.3.4.2.1.1.1.4.1.2"><p id="sdrs_05_0101__p961219016552">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="58.330000000000005%" id="mcps1.3.4.2.1.1.1.4.1.3"><p id="sdrs_05_0101__p186139012557">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sdrs_05_0101__row86164025512"><td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="sdrs_05_0101__p261990195515">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="sdrs_05_0101__p5556811164115">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.330000000000005%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="sdrs_05_0101__p12625170165512">Specifies the job status.</p>
|
|
<ul id="sdrs_05_0101__ul1762511012556"><li id="sdrs_05_0101__li6627110195512"><strong id="sdrs_05_0101__b184471053163215">SUCCESS</strong>: The job was successfully executed.</li><li id="sdrs_05_0101__li5629180115514"><strong id="sdrs_05_0101__b27241123336">RUNNING</strong>: The job is in progress.</li><li id="sdrs_05_0101__li463113012555"><strong id="sdrs_05_0101__b46231590154042">FAIL</strong>: The job failed.</li><li id="sdrs_05_0101__li1163370105515"><strong id="sdrs_05_0101__b1264861493318">INIT</strong>: The job is being initialized.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0101__row166368013553"><td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="sdrs_05_0101__p1663817020550">entities</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="sdrs_05_0101__p35586114418">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.330000000000005%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="sdrs_05_0101__p15224935105313">Specifies the job object.</p>
|
|
<p id="sdrs_05_0101__p1164518018558">The value of this parameter varies depending on the job type. If the job is a protection group-related operation, the value will be <strong id="sdrs_05_0101__b436464913486">server_group_id</strong>. If a subjob is available, details about the subjob are displayed.</p>
|
|
<p id="sdrs_05_0101__p107581428152713">For details, see <a href="#sdrs_05_0101__table503353570">Table 1</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0101__row11646110135510"><td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="sdrs_05_0101__p06481100551">job_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="sdrs_05_0101__p16558171194112">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.330000000000005%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="sdrs_05_0101__p1665417018555">Specifies the job ID.</p>
|
|
<p id="sdrs_05_0101__p040832117517">For details, see the description in <a href="#sdrs_05_0101__en-us_topic_0079693002_section34649765">Function</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0101__row6655401556"><td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="sdrs_05_0101__p18657190125511">job_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="sdrs_05_0101__p1755816116411">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.330000000000005%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="sdrs_05_0101__p36630014558">Specifies the job type.</p>
|
|
<ul id="sdrs_05_0101__ul127879407557"><li id="sdrs_05_0101__li17881740135510"><strong id="sdrs_05_0101__b10381674414">createProtectionGroupNoCG</strong>: Creates a protection group.</li><li id="sdrs_05_0101__li15572175820569"><strong id="sdrs_05_0101__b0162723174118">deleteProtectionGroupNoCG</strong>: Deletes a protection group.</li><li id="sdrs_05_0101__li13466453571"><strong id="sdrs_05_0101__b1314695574213">startProtectionGroupNoCG</strong>: Enables protection for a protection group.</li><li id="sdrs_05_0101__li173616268307"><strong id="sdrs_05_0101__b3149142294616">reprotectProtectionGroupNoCG</strong>: Enables protection again for a protection group.</li><li id="sdrs_05_0101__li10932193910321"><strong id="sdrs_05_0101__b5906857125113">stopProtectionGroupNoCG</strong>: Disables protection for a protection group.</li><li id="sdrs_05_0101__li040772383311"><strong id="sdrs_05_0101__b14542173745213">failoverProtectionGroupNoCG</strong>: Performs a failover for a protection group.</li><li id="sdrs_05_0101__li16231155713330"><strong id="sdrs_05_0101__b1020015418585">reverseProtectionGroupNoCG</strong>: Performs a planned failover for a protection group.</li><li id="sdrs_05_0101__li2718172643418"><strong id="sdrs_05_0101__b1695775135917">createProtectedInstanceNoCG</strong>: Creates a protected instance.</li><li id="sdrs_05_0101__li1733923617347"><strong id="sdrs_05_0101__b5868163612114">deleteProtectedInstanceNoCG</strong>: Deletes a protected instance.</li><li id="sdrs_05_0101__li123961659193419"><strong id="sdrs_05_0101__b1665811571817">attachReplicationPairNew</strong>: Attaches a replication pair to a protected instance.</li><li id="sdrs_05_0101__li11108152715354"><strong id="sdrs_05_0101__b1464372173116">detachReplicationPairNew</strong>: Detaches a replication pair from a protected instance.</li><li id="sdrs_05_0101__li13524104303511"><strong id="sdrs_05_0101__b94791923103115">addNicNew</strong>: Adds a NIC to a protected instance.</li><li id="sdrs_05_0101__li528914473617"><strong id="sdrs_05_0101__b1312411575325">deleteNicNew</strong>: Deletes a NIC from a protected instance.</li><li id="sdrs_05_0101__li97053280369"><strong id="sdrs_05_0101__b15519041163410">resizeProtectedInstanceNew</strong>: Modifies the specifications of a protected instance.</li><li id="sdrs_05_0101__li1279754117375"><strong id="sdrs_05_0101__b206051150153816">createReplicationPairNoCG</strong>: Creates a replication pair.</li><li id="sdrs_05_0101__li789991919387"><strong id="sdrs_05_0101__b6280202417395">deleteReplicationPairNoCG</strong>: Deletes a replication pair.</li><li id="sdrs_05_0101__li39575324383"><strong id="sdrs_05_0101__b35918410398">expandReplicationPairNew</strong>: Expands the capacity of a replication pair.</li><li id="sdrs_05_0101__li2084212485385"><strong id="sdrs_05_0101__b899921114418">createDisasterRecoveryDrill</strong>: Creates a DR drill.</li><li id="sdrs_05_0101__li6535413153911"><strong id="sdrs_05_0101__b1980813476440">deleteDisasterRecoveryDrill</strong>: Deletes a DR drill.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0101__row156647095510"><td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="sdrs_05_0101__p156667025512">begin_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="sdrs_05_0101__p3558311194119">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.330000000000005%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="sdrs_05_0101__p178851320123117">Specifies the start time.</p>
|
|
<p id="sdrs_05_0101__p1867150115511">The default format is as follows: "yyyy-MM-dd 'T' HH:mm:ss.SSSZ", for example, <strong id="sdrs_05_0101__b1133512190292">2019-04-01T12:00:00.000Z</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0101__row7672100175511"><td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="sdrs_05_0101__p166749095519">end_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="sdrs_05_0101__p1955819111411">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.330000000000005%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="sdrs_05_0101__p075417312316">Specifies the end time.</p>
|
|
<p id="sdrs_05_0101__p20679150115516">The default format is as follows: "yyyy-MM-dd 'T' HH:mm:ss.SSSZ", for example, <strong id="sdrs_05_0101__b1099992715294">2019-04-01T12:00:00.000Z</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0101__row19681100205515"><td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="sdrs_05_0101__p1368312010554">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="sdrs_05_0101__p135587111415">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.330000000000005%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="sdrs_05_0101__p18690103557">Specifies the error code returned upon a job execution failure.</p>
|
|
<p id="sdrs_05_0101__p43101514454">For details, see <a href="en-us_topic_0113127626.html">Error Codes</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0101__row156911205555"><td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="sdrs_05_0101__p1269312045516">fail_reason</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="sdrs_05_0101__p155801114116">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.330000000000005%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="sdrs_05_0101__p76991106554">Specifies the cause of a job execution failure.</p>
|
|
<p id="sdrs_05_0101__p529416112003">For details, see <a href="en-us_topic_0113127626.html">Error Codes</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0101__row6699110115516"><td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="sdrs_05_0101__p19701002556">message</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="sdrs_05_0101__p055891174110">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.330000000000005%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="sdrs_05_0101__p77073010553">Specifies the error message returned when an error occurs.</p>
|
|
<p id="sdrs_05_0101__p20141415287">For details, see the abnormal returned values in <a href="#sdrs_05_0101__en-us_topic_0079693002_section60507121">Returned Values</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0101__row37089012553"><td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="sdrs_05_0101__p171060155514">code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.05%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="sdrs_05_0101__p65582011144113">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.330000000000005%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="sdrs_05_0101__p1771615045517">Specifies the error code returned when an error occurs.</p>
|
|
<p id="sdrs_05_0101__p143705412551">For details, see the abnormal returned values in <a href="#sdrs_05_0101__en-us_topic_0079693002_section60507121">Returned Values</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="sdrs_05_0101__table503353570"></a><a name="table503353570"></a><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0101__table503353570" frame="border" border="1" rules="all"><caption><b>Table 1 </b><strong id="sdrs_05_0101__b62968996114224">entities</strong> field description</caption><thead align="left"><tr id="sdrs_05_0101__row131163505710"><th align="left" class="cellrowborder" valign="top" width="23.810000000000002%" id="mcps1.3.4.2.1.2.2.4.1.1"><p id="sdrs_05_0101__p8131435155711">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.86%" id="mcps1.3.4.2.1.2.2.4.1.2"><p id="sdrs_05_0101__p6251035195718">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="58.330000000000005%" id="mcps1.3.4.2.1.2.2.4.1.3"><p id="sdrs_05_0101__p1727173517574">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sdrs_05_0101__row1829133585715"><td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="sdrs_05_0101__p13393545711">server_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.86%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="sdrs_05_0101__p113643525715">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.330000000000005%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="sdrs_05_0101__p13896133075915">Specifies the ID of the protection group being queried.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0101__row951117394485"><td class="cellrowborder" valign="top" width="23.810000000000002%" headers="mcps1.3.4.2.1.2.2.4.1.1 "><p id="sdrs_05_0101__p239893649137">sub_jobs</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.86%" headers="mcps1.3.4.2.1.2.2.4.1.2 "><p id="sdrs_05_0101__p640903559137">Array of objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.330000000000005%" headers="mcps1.3.4.2.1.2.2.4.1.3 "><p id="sdrs_05_0101__p597890789137">Specifies the execution information of a subjob. When no subjob exists, the value of this parameter is left empty. The structure of each subjob is similar to that of the parent job.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="sdrs_05_0101__ul944264818272"><li id="sdrs_05_0101__li944214489277">Example response<pre class="screen" id="sdrs_05_0101__screen10442448172716">{
|
|
"status": "SUCCESS",
|
|
"entities": {
|
|
"server_group_id": "a59d008e-4bad-4bf3-9b17-6cc25e7da483"
|
|
},
|
|
"job_id": "0000000062db92d70162db9d200f000a",
|
|
"job_type": "createProtectionGroupNoCG",
|
|
"begin_time": "2018-04-19T01:55:30.443Z",
|
|
"end_time": "2018-04-19T01:55:45.493Z",
|
|
"error_code": null,
|
|
"fail_reason": null
|
|
}</pre>
|
|
<p id="sdrs_05_0101__p174421548112716">Or</p>
|
|
<pre class="screen" id="sdrs_05_0101__screen18853826175020">{
|
|
"job_id": "ff8080826b45d4a5016b5036242c0025",
|
|
"job_type": "stopProtectionGroupNoCG",
|
|
"begin_time": "2019-06-13T09:40:53.930Z",
|
|
"end_time": "2019-06-13T09:41:01.946Z",
|
|
"status": "SUCCESS",
|
|
"error_code": null,
|
|
"fail_reason": null,
|
|
"entities": {
|
|
"sub_jobs": [
|
|
{
|
|
"job_id": "ff8080826b45d4a5016b50362868002a",
|
|
"job_type": "stopProtectionGroupRepNoCG",
|
|
"begin_time": "2019-06-13T09:40:55.015Z",
|
|
"end_time": "2019-06-13T09:40:58.951Z",
|
|
"status": "SUCCESS",
|
|
"error_code": null,
|
|
"fail_reason": null,
|
|
"entities": {
|
|
"server_group_id": "1fd6903c-48f9-4772-8974-112dfbd74427"
|
|
}
|
|
},
|
|
{
|
|
"job_id": "ff8080826b45d4a5016b50362870002b",
|
|
"job_type": "stopProtectionGroupRepNoCG",
|
|
"begin_time": "2019-06-13T09:40:55.022Z",
|
|
"end_time": "2019-06-13T09:40:58.952Z",
|
|
"status": "SUCCESS",
|
|
"error_code": null,
|
|
"fail_reason": null,
|
|
"entities": {
|
|
"server_group_id": "1fd6903c-48f9-4772-8974-112dfbd74427"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
{
|
|
"error": {
|
|
"message": "XXXX",
|
|
"code": "XXX"
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="sdrs_05_0101__en-us_topic_0079693002_section60507121"><a name="sdrs_05_0101__en-us_topic_0079693002_section60507121"></a><a name="en-us_topic_0079693002_section60507121"></a><h4 class="sectiontitle">Returned Values</h4><ul id="sdrs_05_0101__en-us_topic_0079693002_ul18743339"><li id="sdrs_05_0101__en-us_topic_0079693002_li34472331">Normal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0101__table4315991194956" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0101__row2336641294956"><th align="left" class="cellrowborder" valign="top" width="42.59%" id="mcps1.3.5.2.1.1.1.3.1.1"><p id="sdrs_05_0101__p1363125894956">Returned Value</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="57.410000000000004%" id="mcps1.3.5.2.1.1.1.3.1.2"><p id="sdrs_05_0101__p3039012494956">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sdrs_05_0101__row507566794956"><td class="cellrowborder" valign="top" width="42.59%" headers="mcps1.3.5.2.1.1.1.3.1.1 "><p id="sdrs_05_0101__p847584694956">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.410000000000004%" headers="mcps1.3.5.2.1.1.1.3.1.2 "><p id="sdrs_05_0101__p1545496394956">The server has accepted the request.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="sdrs_05_0101__li13951479">Abnormal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sdrs_05_0101__table22458872203835" frame="border" border="1" rules="all"><thead align="left"><tr id="sdrs_05_0101__row35704554203835"><th align="left" class="cellrowborder" valign="top" width="43.419999999999995%" id="mcps1.3.5.2.2.1.1.3.1.1"><p id="sdrs_05_0101__p6387753203835">Returned Value</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.58%" id="mcps1.3.5.2.2.1.1.3.1.2"><p id="sdrs_05_0101__p47646009203835">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="sdrs_05_0101__row34121538203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sdrs_05_0101__p12381163203835">400 Bad Request</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="sdrs_05_0101__p63350108203835">The server failed to process the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0101__row33280063203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sdrs_05_0101__p11330608203835">401 Unauthorized</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="sdrs_05_0101__p45364094203835">You must enter a username and the password to access the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0101__row5623667203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sdrs_05_0101__p52863895203835">403 Forbidden</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="sdrs_05_0101__p54117066203835">You are forbidden to access the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0101__row17291554203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sdrs_05_0101__p58438642203835">404 Not Found</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="sdrs_05_0101__p35909542203835">The server could not find the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0101__row54750425203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sdrs_05_0101__p5599455203835">405 Method Not Allowed</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="sdrs_05_0101__p50902717203835">You are not allowed to use the method specified in the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0101__row55471277203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sdrs_05_0101__p63988484203835">406 Not Acceptable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="sdrs_05_0101__p15684678203835">The response generated by the server could not be accepted by the client.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0101__row6944380203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sdrs_05_0101__p25623884203835">407 Proxy Authentication Required</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="sdrs_05_0101__p62268733203835">You must use the proxy server for authentication so that the request can be processed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0101__row23547689203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sdrs_05_0101__p28314670203835">408 Request Timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="sdrs_05_0101__p11786919203835">The request timed out.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0101__row38973411203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sdrs_05_0101__p2729702203835">409 Conflict</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="sdrs_05_0101__p19779281203835">The request could not be processed due to a conflict.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0101__row43795805203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sdrs_05_0101__p57799353203835">500 Internal Server Error</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="sdrs_05_0101__p51235984203835">Failed to complete the request because of a service error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0101__row58470678203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sdrs_05_0101__p38504500203835">501 Not Implemented</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="sdrs_05_0101__p31856770203835">Failed to complete the request because the server does not support the requested function.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0101__row18275474203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sdrs_05_0101__p3918444203835">502 Bad Gateway</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="sdrs_05_0101__p48958538203835">Failed to complete the request because the server receives an invalid response from an upstream server.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0101__row37973662203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sdrs_05_0101__p55967806203835">503 Service Unavailable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="sdrs_05_0101__p37098455203835">Failed to complete the request because the system is unavailable.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="sdrs_05_0101__row65450640203835"><td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="sdrs_05_0101__p67010448203835">504 Gateway Timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.58%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="sdrs_05_0101__p59137180203835">A gateway timeout error occurred.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="sdrs_05_0100.html">Job</a></div>
|
|
</div>
|
|
</div>
|
|
|