forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Ying, Jiayu <jiayuying1@huawei.com> Co-committed-by: Ying, Jiayu <jiayuying1@huawei.com>
492 lines
43 KiB
HTML
492 lines
43 KiB
HTML
<a name="en-us_topic_0168602225"></a><a name="en-us_topic_0168602225"></a>
|
|
|
|
<h1 class="topictitle1">Querying Traces (v1.0)</h1>
|
|
<div id="body1481525738174"><div class="section" id="en-us_topic_0168602225__section64745266"><h4 class="sectiontitle">Function</h4><p id="en-us_topic_0168602225__p7035667">This API is used to query records of operations on resources in the last seven days.</p>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0168602225__section45836489"><h4 class="sectiontitle">URI</h4><p id="en-us_topic_0168602225__p46997801203053">GET /v1.0/{project_id}/{tracker_name}/trace{?trace_id,service_type,resource_type,resource_id,resource_name,trace_name,trace_rating,user,limit,from,to,next}</p>
|
|
<div class="p" id="en-us_topic_0168602225__p127751610129">The URI parameters are described in <a href="#en-us_topic_0168602225__table4606636">Table1 Parameters in the URI</a>.
|
|
<div class="tablenoborder"><a name="en-us_topic_0168602225__table4606636"></a><a name="table4606636"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0168602225__table4606636" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters in the URI</caption><thead align="left"><tr id="en-us_topic_0168602225__row14981763"><th align="left" class="cellrowborder" valign="top" width="21%" id="mcps1.3.2.3.2.2.5.1.1"><p id="en-us_topic_0168602225__p5563313"><strong id="en-us_topic_0168602225__b842352706115119">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="28.999999999999996%" id="mcps1.3.2.3.2.2.5.1.2"><p id="en-us_topic_0168602225__p47975183"><strong id="en-us_topic_0168602225__b842352706115121">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.3.2.2.5.1.3"><p id="en-us_topic_0168602225__p60784581"><strong id="en-us_topic_0168602225__b842352706115123">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.3.2.2.5.1.4"><p id="en-us_topic_0168602225__p24604028"><strong id="en-us_topic_0168602225__b842352706115125">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0168602225__row46769243"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.2.3.2.2.5.1.1 "><p id="en-us_topic_0168602225__p30212363">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.3.2.2.5.1.2 "><p id="en-us_topic_0168602225__p31282356">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.2.2.5.1.3 "><p id="en-us_topic_0168602225__p50842877">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.2.2.5.1.4 "><p id="en-us_topic_0168602225__p24632334">Project ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row20364417"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.2.3.2.2.5.1.1 "><p id="en-us_topic_0168602225__p38905106">tracker_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.3.2.2.5.1.2 "><p id="en-us_topic_0168602225__p64305920">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.2.2.5.1.3 "><p id="en-us_topic_0168602225__p41397042">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.3.2.2.5.1.4 "><p id="en-us_topic_0168602225__p64826129">Tracker name. Currently, only one tracker is allowed for each tenant. The tracker name is <strong id="en-us_topic_0168602225__b9791974410">system</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0168602225__section9875225"><h4 class="sectiontitle">Request</h4><ul id="en-us_topic_0168602225__ul16425092"><li id="en-us_topic_0168602225__li13608105">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0168602225__table56410643103525" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameters in the request</caption><thead align="left"><tr id="en-us_topic_0168602225__row41825310103525"><th align="left" class="cellrowborder" valign="top" width="21%" id="mcps1.3.3.2.1.1.2.5.1.1"><p id="en-us_topic_0168602225__p32406925103525"><strong id="en-us_topic_0168602225__b842352706115130">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.2.1.1.2.5.1.2"><p id="en-us_topic_0168602225__p7715257103525"><strong id="en-us_topic_0168602225__b1725412331">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.000000000000002%" id="mcps1.3.3.2.1.1.2.5.1.3"><p id="en-us_topic_0168602225__p20956041103525"><strong id="en-us_topic_0168602225__b1155431974">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.1.1.2.5.1.4"><p id="en-us_topic_0168602225__p19717733103525"><strong id="en-us_topic_0168602225__b842352706115136">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0168602225__row53632566103525"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.1.1.2.5.1.1 "><p id="en-us_topic_0168602225__p49270628103525">service_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.1.2.5.1.2 "><p id="en-us_topic_0168602225__p31497942103525">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.1.1.2.5.1.3 "><p id="en-us_topic_0168602225__p1196533103525">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.1.1.2.5.1.4 "><p id="en-us_topic_0168602225__p29810344103525">Type of a service whose traces are to be queried. The value must be the abbreviation of a cloud service that has been interconnected with CTS. It is a word composed of uppercase letters. For the interconnected cloud services, see section "Supported Services" in the <em id="en-us_topic_0168602225__i84235269716030">Cloud Trace Service User Guide</em>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row18127808153342"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.1.1.2.5.1.1 "><p id="en-us_topic_0168602225__p276965153352">resource_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.1.2.5.1.2 "><p id="en-us_topic_0168602225__p22434206153352">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.1.1.2.5.1.3 "><p id="en-us_topic_0168602225__p5231432153352">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.1.1.2.5.1.4 "><p id="en-us_topic_0168602225__p21092875153352">Type of a resource whose traces are to be queried. The value can contain 1 to 64 characters, including letters, numbers, hyphens (-), underscores (_), and periods (.). It must start with a letter. For the interconnected cloud services, see section "Supported Services" in the <em id="en-us_topic_0168602225__i577693511222">Cloud Trace Service User Guide</em>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row66966509103525"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.1.1.2.5.1.1 "><p id="en-us_topic_0168602225__p55578138103525">resource_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.1.2.5.1.2 "><p id="en-us_topic_0168602225__p5535311103525">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.1.1.2.5.1.3 "><p id="en-us_topic_0168602225__p45707061103525">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.1.1.2.5.1.4 "><p id="en-us_topic_0168602225__p11284467103525">ID of a resource whose traces are to be queried</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row34451347103525"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.1.1.2.5.1.1 "><p id="en-us_topic_0168602225__p39095754103525">resource_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.1.2.5.1.2 "><p id="en-us_topic_0168602225__p12639468103525">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.1.1.2.5.1.3 "><p id="en-us_topic_0168602225__p17164003103525">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.1.1.2.5.1.4 "><p id="en-us_topic_0168602225__p48107031103525">Name of a resource whose traces are to be queried</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row30310099103525"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.1.1.2.5.1.1 "><p id="en-us_topic_0168602225__p39198956103525">trace_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.1.2.5.1.2 "><p id="en-us_topic_0168602225__p20998902103525">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.1.1.2.5.1.3 "><p id="en-us_topic_0168602225__p23189529103525">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.1.1.2.5.1.4 "><p id="en-us_topic_0168602225__p13429115614491">Trace name. It indicates the operation recorded by this trace. The value can contain 1 to 64 characters, including letters, numbers, hyphens (-), underscores (_), and periods (.). It must start with a letter.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row60841949103525"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.1.1.2.5.1.1 "><p id="en-us_topic_0168602225__p29250819103525">limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.1.2.5.1.2 "><p id="en-us_topic_0168602225__p20506175103525">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.1.1.2.5.1.3 "><p id="en-us_topic_0168602225__p50387446103525">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.1.1.2.5.1.4 "><p id="en-us_topic_0168602225__p54851346103525">Number of traces returned in the trace list. The default value is <strong id="en-us_topic_0168602225__b53157894112437">50</strong> and the maximum value is <strong id="en-us_topic_0168602225__b52239541112443">200</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row23900074103525"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.1.1.2.5.1.1 "><p id="en-us_topic_0168602225__p56857816103525">next</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.1.2.5.1.2 "><p id="en-us_topic_0168602225__p42080350103525">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.1.1.2.5.1.3 "><p id="en-us_topic_0168602225__p53065189103525">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.1.1.2.5.1.4 "><p id="en-us_topic_0168602225__p4229899610362">This parameter is used to query traces generated earlier than its specified value. The value can be that of <strong id="en-us_topic_0168602225__b4562174825217">marker</strong> in <a href="#en-us_topic_0168602225__table48500328103927">Table 5</a>.</p>
|
|
<p id="en-us_topic_0168602225__p20652022103033"><strong id="en-us_topic_0168602225__b2723187112649">next</strong> can be used with the parameters <strong id="en-us_topic_0168602225__b54551593121255">from</strong> and <strong id="en-us_topic_0168602225__b3133181712132">to</strong>.</p>
|
|
<p id="en-us_topic_0168602225__p51650473103033">Traces generated in the overlap of the two time ranges specified respectively by <strong id="en-us_topic_0168602225__b4917143535416">next</strong> and by <strong id="en-us_topic_0168602225__b189321444165415">from</strong> and <strong id="en-us_topic_0168602225__b9546493545">to</strong> will be returned.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row29817403103525"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.1.1.2.5.1.1 "><p id="en-us_topic_0168602225__p66399418103525">from</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.1.2.5.1.2 "><p id="en-us_topic_0168602225__p9643766103525">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.1.1.2.5.1.3 "><p id="en-us_topic_0168602225__p42947542103525">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.1.1.2.5.1.4 "><p id="en-us_topic_0168602225__p56198850103525">UTC timestamp of the start time of the query time range. The value is in milliseconds and contains 13 numbers. Traces generated on the specified timestamp are not returned. The parameters <strong id="en-us_topic_0168602225__b299615712111">from</strong> and <strong id="en-us_topic_0168602225__b48360171210">to</strong> should be used together.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row36027609103525"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.1.1.2.5.1.1 "><p id="en-us_topic_0168602225__p32555203103525">to</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.1.2.5.1.2 "><p id="en-us_topic_0168602225__p19725806103525">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.1.1.2.5.1.3 "><p id="en-us_topic_0168602225__p54286466103525">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.1.1.2.5.1.4 "><p id="en-us_topic_0168602225__p35127589103525">UTC timestamp of the end time of the query time range. The value is in milliseconds and contains 13 numbers. Traces generated on the specified timestamp are not returned. The parameters <strong id="en-us_topic_0168602225__b9980103931211">to</strong> and <strong id="en-us_topic_0168602225__b11980143917129">from</strong> should be used together.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row47712853103525"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.1.1.2.5.1.1 "><p id="en-us_topic_0168602225__p39535893103525">trace_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.1.2.5.1.2 "><p id="en-us_topic_0168602225__p48290745103525">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.1.1.2.5.1.3 "><p id="en-us_topic_0168602225__p19236266103525">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.1.1.2.5.1.4 "><p id="en-us_topic_0168602225__p2904422814350">ID of a trace.</p>
|
|
<p id="en-us_topic_0168602225__p14633679103525">If this parameter is specified, other query criteria will not take effect.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row64594248103525"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.1.1.2.5.1.1 "><p id="en-us_topic_0168602225__p64751639103525">trace_rating</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.1.2.5.1.2 "><p id="en-us_topic_0168602225__p10391439103525">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.1.1.2.5.1.3 "><p id="en-us_topic_0168602225__p36400215103525">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.1.1.2.5.1.4 "><p id="en-us_topic_0168602225__p62736279103525">Status of a trace. The value can be <strong id="en-us_topic_0168602225__b84235270611014">normal</strong>, <strong id="en-us_topic_0168602225__b84235270611017">warning</strong>, or <strong id="en-us_topic_0168602225__b84235270611021">incident</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row6037854154330"><td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.1.1.2.5.1.1 "><p id="en-us_topic_0168602225__p27095741154332">user</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.1.1.2.5.1.2 "><p id="en-us_topic_0168602225__p47271419154332">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.3.2.1.1.2.5.1.3 "><p id="en-us_topic_0168602225__p3779770154332">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.1.1.2.5.1.4 "><p id="en-us_topic_0168602225__p37725986154332">Name of the user whose traces are to be queried</p>
|
|
<div class="note" id="en-us_topic_0168602225__note20149460111234"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="en-us_topic_0168602225__p47127417111234">The username is case sensitive.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="en-us_topic_0168602225__ul21611161"><li id="en-us_topic_0168602225__li60282721">Example request<pre class="screen" id="en-us_topic_0168602225__screen8300015152148">GET /v1.0/{project_id}/{tracker_name}/trace?limit=11&to=1479095278000&from=1478490478000&trace_name=createTracker&resource_type=tracker&service_type=CTS</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0168602225__section21768161"><h4 class="sectiontitle">Response</h4><ul id="en-us_topic_0168602225__ul56907078"><li id="en-us_topic_0168602225__li62982650103742">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0168602225__table56607133103757" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Parameters in the response</caption><thead align="left"><tr id="en-us_topic_0168602225__row58259530103757"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.2.1.1.2.4.1.1"><p id="en-us_topic_0168602225__p21401509103757"><strong id="en-us_topic_0168602225__b842352706115143">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.2.1.1.2.4.1.2"><p id="en-us_topic_0168602225__p55800681103757"><strong id="en-us_topic_0168602225__b842352706115145">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.2.1.1.2.4.1.3"><p id="en-us_topic_0168602225__p23561276103757"><strong id="en-us_topic_0168602225__b842352706115146">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0168602225__row29415241103757"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="en-us_topic_0168602225__p1546304910475">traces</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="en-us_topic_0168602225__p11723840103922">array</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="en-us_topic_0168602225__p59395281103757">List of returned traces</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row417247010401"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.1.2.4.1.1 "><p id="en-us_topic_0168602225__p2030576410409">meta_data</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.1.2.4.1.2 "><p id="en-us_topic_0168602225__p3415420210409">Structure</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.1.2.4.1.3 "><p id="en-us_topic_0168602225__p1502698410409">Extended parameter. The value can be <strong id="en-us_topic_0168602225__b115662352913">count</strong> (number of traces in the response) or <strong id="en-us_topic_0168602225__b057114359911">marker</strong> (ID of the last trace in the trace list).</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="p" id="en-us_topic_0168602225__p177452449152">
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0168602225__table55869834103845" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Data structure of the <strong id="en-us_topic_0168602225__b84235270695528">traces</strong> parameter</caption><thead align="left"><tr id="en-us_topic_0168602225__row9404537103845"><th align="left" class="cellrowborder" valign="top" width="24.312431243124312%" id="mcps1.3.4.2.1.2.1.2.4.1.1"><p id="en-us_topic_0168602225__p23570009103845"><strong id="en-us_topic_0168602225__b84235270611524">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="36.343634363436344%" id="mcps1.3.4.2.1.2.1.2.4.1.2"><p id="en-us_topic_0168602225__p30122586103845"><strong id="en-us_topic_0168602225__b1877683539">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="39.34393439343935%" id="mcps1.3.4.2.1.2.1.2.4.1.3"><p id="en-us_topic_0168602225__p24010403103845"><strong id="en-us_topic_0168602225__b842352706115156">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0168602225__row65794525103845"><td class="cellrowborder" valign="top" width="24.312431243124312%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="en-us_topic_0168602225__p27756336103845">resource_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.343634363436344%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="en-us_topic_0168602225__p33670723103845">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.34393439343935%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="en-us_topic_0168602225__p42974014103845">ID of a resource on which an operation was performed</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row51221810103845"><td class="cellrowborder" valign="top" width="24.312431243124312%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="en-us_topic_0168602225__p55325982103845">trace_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.343634363436344%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="en-us_topic_0168602225__p52219525103845">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.34393439343935%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="en-us_topic_0168602225__p1923153103845">Name of a trace. The value will contain 1 to 64 characters, including letters, numbers, hyphens (-), underscores (_), and periods (.). It will also start with a letter.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row17308385103845"><td class="cellrowborder" valign="top" width="24.312431243124312%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="en-us_topic_0168602225__p59801919103845">trace_rating</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.343634363436344%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="en-us_topic_0168602225__p12117237103845">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.34393439343935%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="en-us_topic_0168602225__p41972140103845">Status of a trace. The value can be <strong id="en-us_topic_0168602225__b127511639116">normal</strong>, <strong id="en-us_topic_0168602225__b197562315112">warning</strong>, or <strong id="en-us_topic_0168602225__b1775793161119">incident</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row42204943103845"><td class="cellrowborder" valign="top" width="24.312431243124312%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="en-us_topic_0168602225__p63157226103845">trace_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.343634363436344%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="en-us_topic_0168602225__p15461657103845">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.34393439343935%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="en-us_topic_0168602225__p44434693103845">Type of a source trace. The value can be <strong id="en-us_topic_0168602225__b139831623191118">ApiCall</strong>, <strong id="en-us_topic_0168602225__b8988172381114">ConsoleAction</strong>, or <strong id="en-us_topic_0168602225__b109887237119">SystemAction</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row64367917103845"><td class="cellrowborder" valign="top" width="24.312431243124312%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="en-us_topic_0168602225__p46418750103845">request</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.343634363436344%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="en-us_topic_0168602225__p1822400103845">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.34393439343935%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="en-us_topic_0168602225__p13396698103845">Request of an operation on resources</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row53461424103845"><td class="cellrowborder" valign="top" width="24.312431243124312%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="en-us_topic_0168602225__p35408098103845">response</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.343634363436344%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="en-us_topic_0168602225__p49483713103845">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.34393439343935%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="en-us_topic_0168602225__p48757812103845">Response to a user request, that is, the returned information for an operation on resources.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row36167129103845"><td class="cellrowborder" valign="top" width="24.312431243124312%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="en-us_topic_0168602225__p43856326103845">code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.343634363436344%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="en-us_topic_0168602225__p62701499103845">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.34393439343935%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="en-us_topic_0168602225__p45656673103845">HTTP status code returned by the associated API</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row8256878103845"><td class="cellrowborder" valign="top" width="24.312431243124312%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="en-us_topic_0168602225__p64827359103845">api_version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.343634363436344%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="en-us_topic_0168602225__p16524758103845">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.34393439343935%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="en-us_topic_0168602225__p63436984103845">Version of the API</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row34061950103845"><td class="cellrowborder" valign="top" width="24.312431243124312%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="en-us_topic_0168602225__p7554542103845">message</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.343634363436344%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="en-us_topic_0168602225__p7938175103845">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.34393439343935%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="en-us_topic_0168602225__p39012440103845">Remarks added by other cloud services to a trace</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row15567648103845"><td class="cellrowborder" valign="top" width="24.312431243124312%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="en-us_topic_0168602225__p53019961103845">record_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.343634363436344%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="en-us_topic_0168602225__p66758447103845">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.34393439343935%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="en-us_topic_0168602225__p38725097103845">Timestamp when an operation was recorded by CTS</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row48829470103845"><td class="cellrowborder" valign="top" width="24.312431243124312%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="en-us_topic_0168602225__p62873031103845">trace_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.343634363436344%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="en-us_topic_0168602225__p59550756103845">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.34393439343935%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="en-us_topic_0168602225__p58881950103845">ID of a trace. The value is the UUID generated by the system.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row60175505103845"><td class="cellrowborder" valign="top" width="24.312431243124312%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="en-us_topic_0168602225__p42377728103845">time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.343634363436344%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="en-us_topic_0168602225__p10043968103845">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.34393439343935%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="en-us_topic_0168602225__p8255097103845">Timestamp when an operation occurred</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row7187010103845"><td class="cellrowborder" valign="top" width="24.312431243124312%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="en-us_topic_0168602225__p45276898103845">user</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.343634363436344%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="en-us_topic_0168602225__p43550094103845">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.34393439343935%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="en-us_topic_0168602225__p37896751103845">Information of the user who performed the operation that triggered the trace.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row5526447103845"><td class="cellrowborder" valign="top" width="24.312431243124312%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="en-us_topic_0168602225__p44989082103845">service_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.343634363436344%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="en-us_topic_0168602225__p20237038103845">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.34393439343935%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="en-us_topic_0168602225__p331504131803">Type of a service whose traces were queried. The value is the abbreviation of a cloud service that has been interconnected with CTS. It is a word composed of uppercase letters.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row55959521103845"><td class="cellrowborder" valign="top" width="24.312431243124312%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="en-us_topic_0168602225__p36427361103845">resource_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.343634363436344%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="en-us_topic_0168602225__p64935109103845">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.34393439343935%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="en-us_topic_0168602225__p74605161803">Type of a resource whose traces were queried. The value will contain 1 to 64 characters, including letters, numbers, hyphens (-), underscores (_), and periods (.). It will also start with a letter.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row25945638103845"><td class="cellrowborder" valign="top" width="24.312431243124312%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="en-us_topic_0168602225__p21221940103845">source_ip</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.343634363436344%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="en-us_topic_0168602225__p41255619103845">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.34393439343935%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="en-us_topic_0168602225__p53370875103845">IP address of the user who performed the operation that triggered the trace.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row10575829103845"><td class="cellrowborder" valign="top" width="24.312431243124312%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="en-us_topic_0168602225__p51335836103845">resource_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.343634363436344%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="en-us_topic_0168602225__p64562080103845">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.34393439343935%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="en-us_topic_0168602225__p62145992103845">Name of a resource whose traces were queried</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row6596178210491"><td class="cellrowborder" valign="top" width="24.312431243124312%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="en-us_topic_0168602225__p7510018104911">request_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.343634363436344%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="en-us_topic_0168602225__p4331721104911">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.34393439343935%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="en-us_topic_0168602225__p15325112104911">Request ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row3759090210491"><td class="cellrowborder" valign="top" width="24.312431243124312%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="en-us_topic_0168602225__p31935806104911">location_info</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.343634363436344%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="en-us_topic_0168602225__p36663482104911">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.34393439343935%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="en-us_topic_0168602225__p16952026104911">Additional information required for fault locating after a request error</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row4068348010491"><td class="cellrowborder" valign="top" width="24.312431243124312%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="en-us_topic_0168602225__p9996093104911">endpoint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.343634363436344%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="en-us_topic_0168602225__p4377191104911">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.34393439343935%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="en-us_topic_0168602225__p19008210104911">Endpoint in the detail page URL of the cloud resource on which the recorded operation was performed</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row5848032510491"><td class="cellrowborder" valign="top" width="24.312431243124312%" headers="mcps1.3.4.2.1.2.1.2.4.1.1 "><p id="en-us_topic_0168602225__p32559574104911">resource_url</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.343634363436344%" headers="mcps1.3.4.2.1.2.1.2.4.1.2 "><p id="en-us_topic_0168602225__p20079833104911">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.34393439343935%" headers="mcps1.3.4.2.1.2.1.2.4.1.3 "><p id="en-us_topic_0168602225__p15853785104911">Detail page URL (excluding the endpoint) of the cloud resource on which the recorded operation was performed</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="p" id="en-us_topic_0168602225__p1323080102822">
|
|
<div class="tablenoborder"><a name="en-us_topic_0168602225__table48500328103927"></a><a name="table48500328103927"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0168602225__table48500328103927" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Data structure of the <strong id="en-us_topic_0168602225__b863955796">meta_data</strong> parameter</caption><thead align="left"><tr id="en-us_topic_0168602225__row24886748103927"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.2.1.3.1.2.4.1.1"><p id="en-us_topic_0168602225__p2560697103927"><strong id="en-us_topic_0168602225__b702439241">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.2.1.3.1.2.4.1.2"><p id="en-us_topic_0168602225__p6089886103927"><strong id="en-us_topic_0168602225__b1577856408">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.4.2.1.3.1.2.4.1.3"><p id="en-us_topic_0168602225__p23518772103927"><strong id="en-us_topic_0168602225__b842352706115216">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0168602225__row25972386103927"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.3.1.2.4.1.1 "><p id="en-us_topic_0168602225__p23388561103927">count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.3.1.2.4.1.2 "><p id="en-us_topic_0168602225__p15425321103927">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.3.1.2.4.1.3 "><p id="en-us_topic_0168602225__p41491473103927">Number of traces returned in the trace list</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row37878938103927"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.3.1.2.4.1.1 "><p id="en-us_topic_0168602225__p48295166103927">marker</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.3.1.2.4.1.2 "><p id="en-us_topic_0168602225__p19594374103927">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.4.2.1.3.1.2.4.1.3 "><p id="en-us_topic_0168602225__p43640475103927">ID of the last trace in the trace list. The value of this parameter can be used as the <strong id="en-us_topic_0168602225__b842352706112324">next</strong> value. If the value of <strong id="en-us_topic_0168602225__b842352706112352">marker</strong> is <strong id="en-us_topic_0168602225__b84235270611240">null</strong>, all traces have been returned.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="en-us_topic_0168602225__ul66968808"><li id="en-us_topic_0168602225__li47821519">Example response<pre class="screen" id="en-us_topic_0168602225__screen2215388104141">{
|
|
"traces" : [ {
|
|
"time" : 1472148708232,
|
|
"user" : "{\"name\":\"xxx\",\"domain\":{\"name\":\"xxx\",\"id\":\"ded649d814464428ba89d04d7955c93e\"},\"assumedBy\":{\"user\":{\"name\":\"bss_bm_admin\",\"id\":\"c5140af45b5d4b399dea8f900f1dcf1b\",\"domain\":{\"name\":\"op_service\",\"id\":\"71ce673175024d0495664e525e52bac0\"}}}}",
|
|
"response" : "{\"code\":\"VPC.0514\",\"message\":\"Update port fail.\"}",
|
|
"code" : 200,
|
|
"service_type" : "VPC",
|
|
"resource_type" : "eip",
|
|
"resource_name" : "192.144.163.1",
|
|
"resource_id" : "d502809d-0d1d-41ce-9690-784282142ccc",
|
|
"trace_name" : "deleteEip",
|
|
"trace_rating" : "warning",
|
|
"trace_type" : "ConsoleAction",
|
|
"api_version" : "2.0",
|
|
"record_time" : 1481066128032,
|
|
"trace_id" : "e001ccb9-bc09-11e6-b00b-4b2a61338db6"
|
|
"request_id" : "a0001c1b9-bctt-2136-c12b-4b2a611116"
|
|
"location_info" : "resource has been deleted"
|
|
"endpoint" : "https://*****/vpc?agencyId=***&region=***&locale=zh-cn#"
|
|
"resource_url" : "/vpc/vpcmanager/vpcs?vpcid=*****"
|
|
}, {
|
|
"time" : 1472148708232,
|
|
"user" : "{\"name\":\"xxx\",\"domain\":{\"name\":\"xxx\",\"id\":\"ded649d814464428ba89d04d7955c93e\"},\"assumedBy\":{\"user\":{\"name\":\"bss_bm_admin\",\"id\":\"c5140af45b5d4b399dea8f900f1dcf1b\",\"domain\":{\"name\":\"op_service\",\"id\":\"71ce673175024d0495664e525e52bac0\"}}}}",
|
|
"response" : "{\"code\":\"VPC.0514\",\"message\":\"Update port fail.\"}",
|
|
"code" : 200,
|
|
"service_type" : "VPC",
|
|
"resource_type" : "eip",
|
|
"resource_name" : "192.144.163.1",
|
|
"resource_id" : "d502809d-0d1d-41ce-9690-784282142ccc",
|
|
"trace_name" : "deleteEip",
|
|
"trace_rating" : "warning",
|
|
"trace_type" : "ConsoleAction",
|
|
"api_version" : "2.0",
|
|
"record_time" : 1481066128032,
|
|
"trace_id" : "e001ccb8-bc09-11e6-b2cc-2640a43cc6e8"
|
|
"request_id" : "a0001c1b9-bctt-2136-c12b-4b2a611116"
|
|
"location_info" : "resource has been deleted"
|
|
"endpoint" : "https://*****/vpc?agencyId=***&region=***&locale=zh-cn#"
|
|
"resource_url" : "/vpc/vpcmanager/vpcs?vpcid=*****"
|
|
} ],
|
|
"meta_data" : {
|
|
"count" : 2,
|
|
"marker" : "e001ccb8-bc09-11e6-b2cc-2640a43cc6e8"
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0168602225__section61695723"><h4 class="sectiontitle">Returned Value</h4><ul id="en-us_topic_0168602225__ul45048586"><li id="en-us_topic_0168602225__li2784095">Normal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0168602225__table25056856" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Return code for successful requests</caption><thead align="left"><tr id="en-us_topic_0168602225__row33223577"><th align="left" class="cellrowborder" valign="top" width="42.42%" id="mcps1.3.5.2.1.1.2.3.1.1"><p id="en-us_topic_0168602225__p6755232"><strong id="en-us_topic_0168602225__b842352706115228">Returned Value</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="57.58%" id="mcps1.3.5.2.1.1.2.3.1.2"><p id="en-us_topic_0168602225__p10302948"><strong id="en-us_topic_0168602225__b842352706115231">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0168602225__row29232460"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.5.2.1.1.2.3.1.1 "><p id="en-us_topic_0168602225__p19019073">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.5.2.1.1.2.3.1.2 "><p id="en-us_topic_0168602225__p64149930">The request is successful and the query result is returned.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="en-us_topic_0168602225__li40478462">Abnormal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0168602225__table5762915104223" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Return code for failed requests</caption><thead align="left"><tr id="en-us_topic_0168602225__row52456994104223"><th align="left" class="cellrowborder" valign="top" width="42.42%" id="mcps1.3.5.2.2.1.2.3.1.1"><p id="en-us_topic_0168602225__p21158149104223"><strong id="en-us_topic_0168602225__b842352706115236">Returned Value</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="57.58%" id="mcps1.3.5.2.2.1.2.3.1.2"><p id="en-us_topic_0168602225__p36088488104223"><strong id="en-us_topic_0168602225__b842352706115239">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0168602225__row37486387104223"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="en-us_topic_0168602225__p16498511104223">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.5.2.2.1.2.3.1.2 "><p id="en-us_topic_0168602225__p61311011104223">The query parameters are abnormal.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row350748814345"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="en-us_topic_0168602225__p3156739914345">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.5.2.2.1.2.3.1.2 "><p id="en-us_topic_0168602225__p682253614345">Failed to complete the request because of an internal service error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row14928194104223"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="en-us_topic_0168602225__p2354193614518">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.5.2.2.1.2.3.1.2 "><p id="en-us_topic_0168602225__p2784867014518">Your access request is rejected.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row19762237145057"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="en-us_topic_0168602225__p3480422114518">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.5.2.2.1.2.3.1.2 "><p id="en-us_topic_0168602225__p56961514518">You are forbidden to access the requested page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0168602225__row63066207145053"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="en-us_topic_0168602225__p8089155145053">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.5.2.2.1.2.3.1.2 "><p id="en-us_topic_0168602225__p51241782145053">The requested trace does not exist.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0168602178.html">Trace Management</a></div>
|
|
</div>
|
|
</div>
|
|
|