forked from laiweijian4/doc-exports
Reviewed-by: Kucerak, Kristian <kristian.kucerak@t-systems.com> Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
354 lines
28 KiB
HTML
354 lines
28 KiB
HTML
<a name="rts_03_0058"></a><a name="rts_03_0058"></a>
|
|
|
|
<h1 class="topictitle1">Updating a Software Deployment</h1>
|
|
<div id="body1511486474085"><div class="section" id="rts_03_0058__en-us_topic_0085081138_section5314816"><h4 class="sectiontitle">Function</h4><p id="rts_03_0058__en-us_topic_0085081138_p40918117">This API is used to update a software deployment.</p>
|
|
</div>
|
|
<div class="section" id="rts_03_0058__en-us_topic_0085081138_section47833347"><h4 class="sectiontitle">URI</h4><p id="rts_03_0058__p76479013312">PUT /v1/{project_id}/software_deployments/{deployment_id}</p>
|
|
<p id="rts_03_0058__p1232210612235">For details about the parameters, see <a href="#rts_03_0058__table1759528275">Table 1</a>.</p>
|
|
|
|
<div class="tablenoborder"><a name="rts_03_0058__table1759528275"></a><a name="table1759528275"></a><table cellpadding="4" cellspacing="0" summary="" id="rts_03_0058__table1759528275" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="rts_03_0058__row26011272716"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.4.2.5.1.1"><p id="rts_03_0058__p17762534144716"><strong id="rts_03_0058__b5150351141219">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.4.2.5.1.2"><p id="rts_03_0058__p376433420478"><strong id="rts_03_0058__b1825716521129">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.4.2.5.1.3"><p id="rts_03_0058__p15766123474714"><strong id="rts_03_0058__b111820534120">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.4.2.5.1.4"><p id="rts_03_0058__p147683349474"><strong id="rts_03_0058__b138185491217">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rts_03_0058__row10601725277"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.4.2.5.1.1 "><p id="rts_03_0058__p1765464961019">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.4.2.5.1.2 "><p id="rts_03_0058__p0655184916104">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.4.2.5.1.3 "><p id="rts_03_0058__p865694971017">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.4.2.5.1.4 "><p id="rts_03_0058__p13658144921010">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0058__row205605355223"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.4.2.5.1.1 "><p id="rts_03_0058__p1874564042214">deployment_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.4.2.5.1.2 "><p id="rts_03_0058__p17747124020225">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.4.2.5.1.3 "><p id="rts_03_0058__p157491540122216">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.4.2.5.1.4 "><p id="rts_03_0058__p197517404224">Specifies the software deployment UUID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="rts_03_0058__en-us_topic_0085081138_section27846943"><h4 class="sectiontitle">Request Parameter</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rts_03_0058__en-us_topic_0085081138_table2851385316" frame="border" border="1" rules="all"><thead align="left"><tr id="rts_03_0058__en-us_topic_0085081138_row711513185311"><th align="left" class="cellrowborder" valign="top" width="16%" id="mcps1.3.3.2.1.6.1.1"><p id="rts_03_0058__p13701251185014"><strong id="rts_03_0058__b18547192981511">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="13%" id="mcps1.3.3.2.1.6.1.2"><p id="rts_03_0058__p13704145119507"><strong id="rts_03_0058__b564933121515">In</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.000000000000002%" id="mcps1.3.3.2.1.6.1.3"><p id="rts_03_0058__p3705151185017"><strong id="rts_03_0058__b12378332157">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16%" id="mcps1.3.3.2.1.6.1.4"><p id="rts_03_0058__p18709155145010"><strong id="rts_03_0058__b17195143418150">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="41%" id="mcps1.3.3.2.1.6.1.5"><p id="rts_03_0058__p1371214511507"><strong id="rts_03_0058__b1610993510159">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rts_03_0058__en-us_topic_0085081138_row416813155310"><td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.1.6.1.1 "><p id="rts_03_0058__en-us_topic_0085081138_p12188103812162">action</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.3.2.1.6.1.2 "><p id="rts_03_0058__p1298110236165">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.1.6.1.3 "><p id="rts_03_0058__en-us_topic_0085081138_p1318823810163">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.1.6.1.4 "><p id="rts_03_0058__en-us_topic_0085081138_p11188103819161">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="41%" headers="mcps1.3.3.2.1.6.1.5 "><p id="rts_03_0058__en-us_topic_0085081138_p6188123831616">Specifies the stack action that triggers this software deployment.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0058__en-us_topic_0085081138_row116363254168"><td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.1.6.1.1 "><p id="rts_03_0058__en-us_topic_0085081138_p9188173810163">config_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.3.2.1.6.1.2 "><p id="rts_03_0058__p2981102312167">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.1.6.1.3 "><p id="rts_03_0058__en-us_topic_0085081138_p31884387162">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.1.6.1.4 "><p id="rts_03_0058__en-us_topic_0085081138_p218817388167">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="41%" headers="mcps1.3.3.2.1.6.1.5 "><p id="rts_03_0058__en-us_topic_0085081138_p1188153812166">Specifies the ID of the software configuration running on a server.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0058__en-us_topic_0085081138_row1994022918164"><td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.1.6.1.1 "><p id="rts_03_0058__en-us_topic_0085081138_p4188138171611">input_values</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.3.2.1.6.1.2 "><p id="rts_03_0058__p18981132381612">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.1.6.1.3 "><p id="rts_03_0058__en-us_topic_0085081138_p15188123811161">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.1.6.1.4 "><p id="rts_03_0058__en-us_topic_0085081138_p9188203819162">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="41%" headers="mcps1.3.3.2.1.6.1.5 "><p id="rts_03_0058__en-us_topic_0085081138_p14188538191618">Specifies input data stored in the form of a key-value pair.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0058__en-us_topic_0085081138_row1094112961619"><td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.1.6.1.1 "><p id="rts_03_0058__en-us_topic_0085081138_p81881138111613">output_values</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.3.2.1.6.1.2 "><p id="rts_03_0058__p9981202311168">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.1.6.1.3 "><p id="rts_03_0058__en-us_topic_0085081138_p1318813891615">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.1.6.1.4 "><p id="rts_03_0058__en-us_topic_0085081138_p8188103871615">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="41%" headers="mcps1.3.3.2.1.6.1.5 "><p id="rts_03_0058__en-us_topic_0085081138_p918816389164">Specifies output data stored in the form of a key-value pair.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0058__en-us_topic_0085081138_row1893103510165"><td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.1.6.1.1 "><p id="rts_03_0058__en-us_topic_0085081138_p1018815386167">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.3.2.1.6.1.2 "><p id="rts_03_0058__p19811223121613">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.1.6.1.3 "><p id="rts_03_0058__en-us_topic_0085081138_p9188938131613">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.1.6.1.4 "><p id="rts_03_0058__en-us_topic_0085081138_p618873871614">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="41%" headers="mcps1.3.3.2.1.6.1.5 "><p id="rts_03_0058__en-us_topic_0085081138_p71881638181614">Specifies the status of software deployments. Valid values include <strong id="rts_03_0058__b560815901613">COMPLETE</strong>, <strong id="rts_03_0058__b186085910168">IN_PROGRESS</strong>, and <strong id="rts_03_0058__b3609139171614">FAILED</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0058__en-us_topic_0085081138_row7931183591614"><td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.1.6.1.1 "><p id="rts_03_0058__en-us_topic_0085081138_p191881438121617">status_reason</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.3.2.1.6.1.2 "><p id="rts_03_0058__p6981023141615">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.1.6.1.3 "><p id="rts_03_0058__en-us_topic_0085081138_p018813387168">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.3.2.1.6.1.4 "><p id="rts_03_0058__en-us_topic_0085081138_p1118833819168">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="41%" headers="mcps1.3.3.2.1.6.1.5 "><p id="rts_03_0058__en-us_topic_0085081138_p171882389164">Specifies the cause of the software deployment status.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="rts_03_0058__en-us_topic_0085081138_section49295902"><h4 class="sectiontitle">Response Parameter</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rts_03_0058__table1432514514366" frame="border" border="1" rules="all"><thead align="left"><tr id="rts_03_0058__row20325345193613"><th align="left" class="cellrowborder" valign="top" width="18.6%" id="mcps1.3.4.2.1.5.1.1"><p id="rts_03_0058__p160141785915"><strong id="rts_03_0058__b12974333175">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15.120000000000001%" id="mcps1.3.4.2.1.5.1.2"><p id="rts_03_0058__p8605161715915"><strong id="rts_03_0058__b553815441179">In</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.28%" id="mcps1.3.4.2.1.5.1.3"><p id="rts_03_0058__p1360731719594"><strong id="rts_03_0058__b181104611172">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.2.1.5.1.4"><p id="rts_03_0058__p3612161795912"><strong id="rts_03_0058__b236941512184">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rts_03_0058__row12325745203612"><td class="cellrowborder" valign="top" width="18.6%" headers="mcps1.3.4.2.1.5.1.1 "><p id="rts_03_0058__p4325345133618">software_deployment</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.120000000000001%" headers="mcps1.3.4.2.1.5.1.2 "><p id="rts_03_0058__p38245401910">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.28%" headers="mcps1.3.4.2.1.5.1.3 "><p id="rts_03_0058__p1325713190378">Dict</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.5.1.4 "><p id="rts_03_0058__p82611619123714">Specifies the software deployment resource object.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="rts_03_0058__p6592934153710"><strong id="rts_03_0058__b4226174031812">software_deployment</strong> structure information</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rts_03_0058__en-us_topic_0085081138_table58541283" frame="border" border="1" rules="all"><thead align="left"><tr id="rts_03_0058__en-us_topic_0085081138_row14014710"><th align="left" class="cellrowborder" valign="top" width="18.6%" id="mcps1.3.4.4.1.5.1.1"><p id="rts_03_0058__p14318132117594"><strong id="rts_03_0058__b17157105191812">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15.120000000000001%" id="mcps1.3.4.4.1.5.1.2"><p id="rts_03_0058__p73201021125910"><strong id="rts_03_0058__b149135321810">In</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.28%" id="mcps1.3.4.4.1.5.1.3"><p id="rts_03_0058__p20323521125914"><strong id="rts_03_0058__b38055541814">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.4.1.5.1.4"><p id="rts_03_0058__p83342021195910"><strong id="rts_03_0058__b5540155201915">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rts_03_0058__en-us_topic_0085081138_row20801079"><td class="cellrowborder" valign="top" width="18.6%" headers="mcps1.3.4.4.1.5.1.1 "><p id="rts_03_0058__en-us_topic_0085081138_p174621855178">action</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.120000000000001%" headers="mcps1.3.4.4.1.5.1.2 "><p id="rts_03_0058__p962513651615">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.28%" headers="mcps1.3.4.4.1.5.1.3 "><p id="rts_03_0058__en-us_topic_0085081138_p194623517176">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.1.5.1.4 "><p id="rts_03_0058__en-us_topic_0085081138_p11462145141718">Specifies the stack action that triggers this software deployment.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0058__en-us_topic_0085081138_row20715858"><td class="cellrowborder" valign="top" width="18.6%" headers="mcps1.3.4.4.1.5.1.1 "><p id="rts_03_0058__en-us_topic_0085081138_p4462185101712">config_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.120000000000001%" headers="mcps1.3.4.4.1.5.1.2 "><p id="rts_03_0058__p16625536151611">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.28%" headers="mcps1.3.4.4.1.5.1.3 "><p id="rts_03_0058__en-us_topic_0085081138_p44624515173">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.1.5.1.4 "><p id="rts_03_0058__en-us_topic_0085081138_p946255131715">Specifies the ID of the software configuration running on a server.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0058__en-us_topic_0085081138_row26021030"><td class="cellrowborder" valign="top" width="18.6%" headers="mcps1.3.4.4.1.5.1.1 "><p id="rts_03_0058__en-us_topic_0085081138_p646220520171">creation_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.120000000000001%" headers="mcps1.3.4.4.1.5.1.2 "><p id="rts_03_0058__p962513617167">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.28%" headers="mcps1.3.4.4.1.5.1.3 "><p id="rts_03_0058__en-us_topic_0085081138_p9462175151719">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.1.5.1.4 "><p id="rts_03_0058__p53600188338">Specifies the creation time. The timestamp uses the ISO 8601 format:</p>
|
|
<pre class="screen" id="rts_03_0058__screen5185623143317">CCYY-MM-DDThh:mm:ss±hh:mm</pre>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0058__en-us_topic_0085081138_row45386595"><td class="cellrowborder" valign="top" width="18.6%" headers="mcps1.3.4.4.1.5.1.1 "><p id="rts_03_0058__en-us_topic_0085081138_p16462135131716">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.120000000000001%" headers="mcps1.3.4.4.1.5.1.2 "><p id="rts_03_0058__p76251636101619">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.28%" headers="mcps1.3.4.4.1.5.1.3 "><p id="rts_03_0058__en-us_topic_0085081138_p2462115191714">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.1.5.1.4 "><p id="rts_03_0058__en-us_topic_0085081138_p1446255201715">Specifies the software deployment UUID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0058__en-us_topic_0085081138_row23709572"><td class="cellrowborder" valign="top" width="18.6%" headers="mcps1.3.4.4.1.5.1.1 "><p id="rts_03_0058__en-us_topic_0085081138_p1846217512178">input_values</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.120000000000001%" headers="mcps1.3.4.4.1.5.1.2 "><p id="rts_03_0058__p1262523671613">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.28%" headers="mcps1.3.4.4.1.5.1.3 "><p id="rts_03_0058__en-us_topic_0085081138_p10462185141714">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.1.5.1.4 "><p id="rts_03_0058__en-us_topic_0085081138_p184621251175">Specifies input data stored in the form of a key-value pair.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0058__en-us_topic_0085081138_row1676488279"><td class="cellrowborder" valign="top" width="18.6%" headers="mcps1.3.4.4.1.5.1.1 "><p id="rts_03_0058__en-us_topic_0085081138_p0462957175">output_values</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.120000000000001%" headers="mcps1.3.4.4.1.5.1.2 "><p id="rts_03_0058__p162543631613">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.28%" headers="mcps1.3.4.4.1.5.1.3 "><p id="rts_03_0058__en-us_topic_0085081138_p164622054174">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.1.5.1.4 "><p id="rts_03_0058__en-us_topic_0085081138_p546218561713">Specifies output data stored in the form of a key-value pair.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0058__en-us_topic_0085081138_row876414818717"><td class="cellrowborder" valign="top" width="18.6%" headers="mcps1.3.4.4.1.5.1.1 "><p id="rts_03_0058__en-us_topic_0085081138_p1346255161713">server_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.120000000000001%" headers="mcps1.3.4.4.1.5.1.2 "><p id="rts_03_0058__p262503621616">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.28%" headers="mcps1.3.4.4.1.5.1.3 "><p id="rts_03_0058__en-us_topic_0085081138_p646218511717">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.1.5.1.4 "><p id="rts_03_0058__en-us_topic_0085081138_p04635517176">Specifies the server ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0058__en-us_topic_0085081138_row576428579"><td class="cellrowborder" valign="top" width="18.6%" headers="mcps1.3.4.4.1.5.1.1 "><p id="rts_03_0058__en-us_topic_0085081138_p11463353174">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.120000000000001%" headers="mcps1.3.4.4.1.5.1.2 "><p id="rts_03_0058__p262520365168">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.28%" headers="mcps1.3.4.4.1.5.1.3 "><p id="rts_03_0058__en-us_topic_0085081138_p746318515172">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.1.5.1.4 "><p id="rts_03_0058__en-us_topic_0085081138_p94638512174">Specifies the status of software deployments. Valid values include <strong id="rts_03_0058__b43633141919">COMPLETE</strong>, <strong id="rts_03_0058__b144334193">IN_PROGRESS</strong>, and <strong id="rts_03_0058__b16513339196">FAILED</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0058__en-us_topic_0085081138_row17648812714"><td class="cellrowborder" valign="top" width="18.6%" headers="mcps1.3.4.4.1.5.1.1 "><p id="rts_03_0058__en-us_topic_0085081138_p7463105201719">status_reason</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.120000000000001%" headers="mcps1.3.4.4.1.5.1.2 "><p id="rts_03_0058__p56259363161">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.28%" headers="mcps1.3.4.4.1.5.1.3 "><p id="rts_03_0058__en-us_topic_0085081138_p44636519171">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.1.5.1.4 "><p id="rts_03_0058__en-us_topic_0085081138_p7463954171">Specifies the cause of the software deployment status.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0058__en-us_topic_0085081138_row196812121172"><td class="cellrowborder" valign="top" width="18.6%" headers="mcps1.3.4.4.1.5.1.1 "><p id="rts_03_0058__en-us_topic_0085081138_p54631551171">updated_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.120000000000001%" headers="mcps1.3.4.4.1.5.1.2 "><p id="rts_03_0058__p116251836111612">body</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.28%" headers="mcps1.3.4.4.1.5.1.3 "><p id="rts_03_0058__en-us_topic_0085081138_p1846385111718">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.1.5.1.4 "><p id="rts_03_0058__p5338268335">Specifies the update time. The timestamp uses the ISO 8601 format:</p>
|
|
<pre class="screen" id="rts_03_0058__screen414393112332">CCYY-MM-DDThh:mm:ss±hh:mm</pre>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="rts_03_0058__en-us_topic_0085081138_section41009935"><h4 class="sectiontitle">Request Example</h4><pre class="screen" id="rts_03_0058__en-us_topic_0085081138_screen13921318131713">PUT /v1/95d02433133a4c0a87ba6967474a2ad3/software_deployments/3d5ec2a8-7004-43b6-a7f6-542bdbe9d434
|
|
{
|
|
"status": "COMPLETE",
|
|
"output_values": {
|
|
"deploy_stdout": "Writing to /tmp/baaaaa\nWritten to /tmp/baaaaa\n",
|
|
"deploy_stderr": "+ echo Writing to /tmp/baaaaa\n+ echo fooooo\n+ cat /tmp/baaaaa\n+ echo -n The file /tmp/baaaaa contains fooooo for server ec14c864-096e-4e27-bb8a-2c2b4dc6f3f5 during CREATE\n+ echo Written to /tmp/baaaaa\n+ echo Output to stderr\nOutput to stderr\n",
|
|
"deploy_status_code": 0,
|
|
"result": "The file /tmp/baaaaa contains fooooo for server ec14c864-096e-4e27-bb8a-2c2b4dc6f3f5 during CREATE"
|
|
},
|
|
"status_reason": "Outputs received"
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="rts_03_0058__en-us_topic_0085081138_section33545101"><h4 class="sectiontitle">Response Example</h4><pre class="screen" id="rts_03_0058__en-us_topic_0085081138_screen43751779113415">{
|
|
"software_deployment": {
|
|
"status": "COMPLETE",
|
|
"server_id": "ec14c864-096e-4e27-bb8a-2c2b4dc6f3f5",
|
|
"config_id": "3d5ec2a8-7004-43b6-a7f6-542bdbe9d434",
|
|
"output_values": {
|
|
"deploy_stdout": "Writing to /tmp/baaaaa\nWritten to /tmp/baaaaa\n",
|
|
"deploy_stderr": "+ echo Writing to /tmp/baaaaa\n+ echo fooooo\n+ cat /tmp/baaaaa\n+ echo -n The file /tmp/baaaaa contains fooooo for server ec14c864-096e-4e27-bb8a-2c2b4dc6f3f5 during CREATE\n+ echo Written to /tmp/baaaaa\n+ echo Output to stderr\nOutput to stderr\n",
|
|
"deploy_status_code": 0,
|
|
"result": "The file /tmp/baaaaa contains fooooo for server ec14c864-096e-4e27-bb8a-2c2b4dc6f3f5 during CREATE"
|
|
},
|
|
"input_values": null,
|
|
"action": "CREATE",
|
|
"status_reason": "Outputs received",
|
|
"id": "06e87bcc-33a2-4bce-aebd-533e698282d3",
|
|
"creation_time": "2015-01-31T15:12:36Z",
|
|
"updated_time": "2015-01-31T15:18:21Z"
|
|
}
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="rts_03_0058__en-us_topic_0085081138_section33470456"><h4 class="sectiontitle">Return Code</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rts_03_0058__table01411862119" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Normal return code</caption><thead align="left"><tr id="rts_03_0058__rts_03_0020_en-us_topic_0057973117_row42419326194057"><th align="left" class="cellrowborder" valign="top" width="23%" id="mcps1.3.7.2.2.4.1.1"><p id="rts_03_0058__rts_03_0020_en-us_topic_0057973117_p13413377194057"><strong id="rts_03_0058__rts_03_0020_b14910172512114">Return Code</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="26%" id="mcps1.3.7.2.2.4.1.2"><p id="rts_03_0058__rts_03_0020_en-us_topic_0057973117_p12741761194057"><strong id="rts_03_0058__rts_03_0020_en-us_topic_0057973140_b84235270615814_1">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="51%" id="mcps1.3.7.2.2.4.1.3"><p id="rts_03_0058__rts_03_0020_en-us_topic_0057973117_p25449701194057"><strong id="rts_03_0058__rts_03_0020_en-us_topic_0057973140_b842352706193020">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rts_03_0058__rts_03_0020_en-us_topic_0057973117_row48159894194057"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.7.2.2.4.1.1 "><p id="rts_03_0058__rts_03_0020_en-us_topic_0057973117_p8637307194057">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.7.2.2.4.1.2 "><p id="rts_03_0058__rts_03_0020_en-us_topic_0057973117_p28533244194057">OK</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51%" headers="mcps1.3.7.2.2.4.1.3 "><p id="rts_03_0058__rts_03_0020_en-us_topic_0057973117_p29491459194057">Request was successful.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="rts_03_0058__table3304326164315" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Error return code</caption><thead align="left"><tr id="rts_03_0058__rts_03_0025_row16955110342"><th align="left" class="cellrowborder" valign="top" width="23%" id="mcps1.3.7.3.2.4.1.1"><p id="rts_03_0058__rts_03_0025_p129561510144"><strong id="rts_03_0058__rts_03_0025_b1552942884813">Return Code</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="26%" id="mcps1.3.7.3.2.4.1.2"><p id="rts_03_0058__rts_03_0025_p4959810444"><strong id="rts_03_0058__rts_03_0025_b956007905">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="51%" id="mcps1.3.7.3.2.4.1.3"><p id="rts_03_0058__rts_03_0025_p9959161020418"><strong id="rts_03_0058__rts_03_0025_b359171417">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rts_03_0058__rts_03_0025_row179609103411"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.7.3.2.4.1.1 "><p id="rts_03_0058__rts_03_0025_p896118101840">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.7.3.2.4.1.2 "><p id="rts_03_0058__rts_03_0025_p1296211015416">Bad Request</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51%" headers="mcps1.3.7.3.2.4.1.3 "><p id="rts_03_0058__rts_03_0025_p9963110146">The server failed to process the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0058__rts_03_0025_row181330274199"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.7.3.2.4.1.1 "><p id="rts_03_0058__rts_03_0025_p18134027201912">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.7.3.2.4.1.2 "><p id="rts_03_0058__rts_03_0025_p1713419274191">Unauthorized</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51%" headers="mcps1.3.7.3.2.4.1.3 "><p id="rts_03_0058__rts_03_0025_p11134162718196">Authorization failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0058__rts_03_0025_row16531631121913"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.7.3.2.4.1.1 "><p id="rts_03_0058__rts_03_0025_en-us_topic_0057973122_p5338333194217">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.7.3.2.4.1.2 "><p id="rts_03_0058__rts_03_0025_p125520290312">Not found</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51%" headers="mcps1.3.7.3.2.4.1.3 "><p id="rts_03_0058__rts_03_0025_en-us_topic_0057973122_p29751790194217">The requested resources are not found.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rts_03_0058__rts_03_0025_row196097477276"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.7.3.2.4.1.1 "><p id="rts_03_0058__rts_03_0025_p19789174972712">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.7.3.2.4.1.2 "><p id="rts_03_0058__rts_03_0025_p779364918272">Internal Server Error</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="51%" headers="mcps1.3.7.3.2.4.1.3 "><p id="rts_03_0058__rts_03_0025_p196546319198">Failed to complete the request because of an internal service error.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rts_03_0050.html">Software Configuration Management</a></div>
|
|
</div>
|
|
</div>
|
|
|