doc-exports/docs/dc/api-ref/en-dc_topic_0055025319.html
Qin Ying, Fan 4a7d4f4cd8 DC API 0930 version
Reviewed-by: Kucerak, Kristian <kristian.kucerak@t-systems.com>
Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com>
Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
2022-10-06 09:33:01 +00:00

361 lines
30 KiB
HTML

<a name="en-dc_topic_0055025319"></a><a name="en-dc_topic_0055025319"></a>
<h1 class="topictitle1">Updating a Connection</h1>
<div id="body43843091"><div class="section" id="en-dc_topic_0055025319__section10267951"><h4 class="sectiontitle">Function</h4><p id="en-dc_topic_0055025319__p15526968">This API is used to update a connection.</p>
<div class="note" id="en-dc_topic_0055025319__note05441757163818"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ol id="en-dc_topic_0055025319__ol1951625394"><li id="en-dc_topic_0055025319__li195111243916">You can only increase the connection bandwidth.</li><li id="en-dc_topic_0055025319__li119510212394">Bandwidths of the operations connections cannot be modified.</li></ol>
</div></div>
</div>
<div class="section" id="en-dc_topic_0055025319__section25302698"><h4 class="sectiontitle">URI</h4><p id="en-dc_topic_0055025319__p120118258388">PUT /v2.0/dcaas/direct-connects/{direct_connect_id}</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-dc_topic_0055025319__table183245150407" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="en-dc_topic_0055025319__row1329191584012"><th align="left" class="cellrowborder" valign="top" width="26.52734726527347%" id="mcps1.3.2.3.2.5.1.1"><p id="en-dc_topic_0055025319__p8332215134011">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="14.288571142885711%" id="mcps1.3.2.3.2.5.1.2"><p id="en-dc_topic_0055025319__p153354156404"><strong id="en-dc_topic_0055025319__b842352706165439">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.328367163283673%" id="mcps1.3.2.3.2.5.1.3"><p id="en-dc_topic_0055025319__p2339151519405"><strong id="en-dc_topic_0055025319__b842352706192549">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="42.85571442855714%" id="mcps1.3.2.3.2.5.1.4"><p id="en-dc_topic_0055025319__p3341141516405"><strong id="en-dc_topic_0055025319__b84235270615331">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="en-dc_topic_0055025319__row7342191504013"><td class="cellrowborder" valign="top" width="26.52734726527347%" headers="mcps1.3.2.3.2.5.1.1 "><p id="en-dc_topic_0055025319__p2344315174014">direct_connect_id</p>
</td>
<td class="cellrowborder" valign="top" width="14.288571142885711%" headers="mcps1.3.2.3.2.5.1.2 "><p id="en-dc_topic_0055025319__p234713152402">String</p>
</td>
<td class="cellrowborder" valign="top" width="16.328367163283673%" headers="mcps1.3.2.3.2.5.1.3 "><p id="en-dc_topic_0055025319__p13511015184019">No</p>
</td>
<td class="cellrowborder" valign="top" width="42.85571442855714%" headers="mcps1.3.2.3.2.5.1.4 "><p id="en-dc_topic_0055025319__p143531415154018">Specifies the connection ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="en-dc_topic_0055025319__section36252627"><h4 class="sectiontitle">Request</h4><p id="en-dc_topic_0055025319__p21078426103641"><a href="#en-dc_topic_0055025319__table7364283175427">Table 2</a> lists the request parameter.</p>
<div class="tablenoborder"><a name="en-dc_topic_0055025319__table7364283175427"></a><a name="table7364283175427"></a><table cellpadding="4" cellspacing="0" summary="" id="en-dc_topic_0055025319__table7364283175427" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request parameter</caption><thead align="left"><tr id="en-dc_topic_0055025319__row28171119175427"><th align="left" class="cellrowborder" valign="top" width="23.897610238976103%" id="mcps1.3.3.3.2.5.1.1"><p id="en-dc_topic_0055025319__p8323660175427">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.91830816918308%" id="mcps1.3.3.3.2.5.1.2"><p id="en-dc_topic_0055025319__p46855411175427"><strong id="en-dc_topic_0055025319__b1852565086">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.328367163283673%" id="mcps1.3.3.3.2.5.1.3"><p id="en-dc_topic_0055025319__p60815106175427"><strong id="en-dc_topic_0055025319__b1493191422">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="42.85571442855714%" id="mcps1.3.3.3.2.5.1.4"><p id="en-dc_topic_0055025319__p43025320175427">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="en-dc_topic_0055025319__row49466658175427"><td class="cellrowborder" valign="top" width="23.897610238976103%" headers="mcps1.3.3.3.2.5.1.1 "><p id="en-dc_topic_0055025319__p4415550175427">direct_connect</p>
</td>
<td class="cellrowborder" valign="top" width="16.91830816918308%" headers="mcps1.3.3.3.2.5.1.2 "><p id="en-dc_topic_0055025319__p1100763175427">Dictionary data structure</p>
</td>
<td class="cellrowborder" valign="top" width="16.328367163283673%" headers="mcps1.3.3.3.2.5.1.3 "><p id="en-dc_topic_0055025319__p15674469175427">No</p>
</td>
<td class="cellrowborder" valign="top" width="42.85571442855714%" headers="mcps1.3.3.3.2.5.1.4 "><p id="en-dc_topic_0055025319__p228188175427">Specifies the <strong id="en-dc_topic_0055025319__b842352706172852">direct_connect</strong> object.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-dc_topic_0055025319__table125648759846" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Description of field <strong id="en-dc_topic_0055025319__b8423527069345">direct_connect</strong></caption><thead align="left"><tr id="en-dc_topic_0055025319__row265942339846"><th align="left" class="cellrowborder" valign="top" width="23.71%" id="mcps1.3.3.4.2.5.1.1"><p id="en-dc_topic_0055025319__p351661709915"><strong id="en-dc_topic_0055025319__b8423527069918">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="12.78%" id="mcps1.3.3.4.2.5.1.2"><p id="en-dc_topic_0055025319__p89913189915"><strong id="en-dc_topic_0055025319__b1066361916">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20.28%" id="mcps1.3.3.4.2.5.1.3"><p id="en-dc_topic_0055025319__p209180099915"><strong id="en-dc_topic_0055025319__b901010319">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="43.230000000000004%" id="mcps1.3.3.4.2.5.1.4"><p id="en-dc_topic_0055025319__p132751689915"><strong id="en-dc_topic_0055025319__b1888065885">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="en-dc_topic_0055025319__row5271981314254"><td class="cellrowborder" valign="top" width="23.71%" headers="mcps1.3.3.4.2.5.1.1 "><p id="en-dc_topic_0055025319__p5257963714254">description</p>
</td>
<td class="cellrowborder" valign="top" width="12.78%" headers="mcps1.3.3.4.2.5.1.2 "><p id="en-dc_topic_0055025319__p3109221814254">String</p>
</td>
<td class="cellrowborder" valign="top" width="20.28%" headers="mcps1.3.3.4.2.5.1.3 "><p id="en-dc_topic_0055025319__p3544171514254">No</p>
</td>
<td class="cellrowborder" valign="top" width="43.230000000000004%" headers="mcps1.3.3.4.2.5.1.4 "><p id="en-dc_topic_0055025319__p5220666514254">Provides supplementary information about the connection.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row2822737814254"><td class="cellrowborder" valign="top" width="23.71%" headers="mcps1.3.3.4.2.5.1.1 "><p id="en-dc_topic_0055025319__p793298914254">name</p>
</td>
<td class="cellrowborder" valign="top" width="12.78%" headers="mcps1.3.3.4.2.5.1.2 "><p id="en-dc_topic_0055025319__p3859237714254">String</p>
</td>
<td class="cellrowborder" valign="top" width="20.28%" headers="mcps1.3.3.4.2.5.1.3 "><p id="en-dc_topic_0055025319__p3897482914254">No</p>
</td>
<td class="cellrowborder" valign="top" width="43.230000000000004%" headers="mcps1.3.3.4.2.5.1.4 "><p id="en-dc_topic_0055025319__p284461014254">Specifies the connection name.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row24309452205237"><td class="cellrowborder" valign="top" width="23.71%" headers="mcps1.3.3.4.2.5.1.1 "><p id="en-dc_topic_0055025319__p46653157205251">bandwidth</p>
</td>
<td class="cellrowborder" valign="top" width="12.78%" headers="mcps1.3.3.4.2.5.1.2 "><p id="en-dc_topic_0055025319__p20809410205251">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="20.28%" headers="mcps1.3.3.4.2.5.1.3 "><p id="en-dc_topic_0055025319__p7840639205251">No</p>
</td>
<td class="cellrowborder" valign="top" width="43.230000000000004%" headers="mcps1.3.3.4.2.5.1.4 "><p id="en-dc_topic_0055025319__p31112004205251">Specifies the bandwidth of the connection in Mbit/s.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row21061467142619"><td class="cellrowborder" valign="top" width="23.71%" headers="mcps1.3.3.4.2.5.1.1 "><p id="en-dc_topic_0055025319__p26051377142619">provider_status</p>
</td>
<td class="cellrowborder" valign="top" width="12.78%" headers="mcps1.3.3.4.2.5.1.2 "><p id="en-dc_topic_0055025319__p29786826142619">String</p>
</td>
<td class="cellrowborder" valign="top" width="20.28%" headers="mcps1.3.3.4.2.5.1.3 "><p id="en-dc_topic_0055025319__p63922711142619">No</p>
</td>
<td class="cellrowborder" valign="top" width="43.230000000000004%" headers="mcps1.3.3.4.2.5.1.4 "><p id="en-dc_topic_0055025319__p7663085204619">Specifies the status of the carrier's leased line.</p>
<p id="en-dc_topic_0055025319__p10357121142619">The value can be <strong id="en-dc_topic_0055025319__b842352706171439">ACTIVE</strong> or <strong id="en-dc_topic_0055025319__b842352706171443">DOWN</strong>.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row23638404155151"><td class="cellrowborder" valign="top" width="23.71%" headers="mcps1.3.3.4.2.5.1.1 "><p id="en-dc_topic_0055025319__p28145070155158">order_id</p>
</td>
<td class="cellrowborder" valign="top" width="12.78%" headers="mcps1.3.3.4.2.5.1.2 "><p id="en-dc_topic_0055025319__p65158236155158">String</p>
</td>
<td class="cellrowborder" valign="top" width="20.28%" headers="mcps1.3.3.4.2.5.1.3 "><p id="en-dc_topic_0055025319__p43325774155158">No</p>
</td>
<td class="cellrowborder" valign="top" width="43.230000000000004%" headers="mcps1.3.3.4.2.5.1.4 "><p id="en-dc_topic_0055025319__p19726829155158">Specifies the order number of the connection.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row48447356155155"><td class="cellrowborder" valign="top" width="23.71%" headers="mcps1.3.3.4.2.5.1.1 "><p id="en-dc_topic_0055025319__p19561765155158">product_id</p>
</td>
<td class="cellrowborder" valign="top" width="12.78%" headers="mcps1.3.3.4.2.5.1.2 "><p id="en-dc_topic_0055025319__p40999122155158">String</p>
</td>
<td class="cellrowborder" valign="top" width="20.28%" headers="mcps1.3.3.4.2.5.1.3 "><p id="en-dc_topic_0055025319__p32594567155158">No</p>
</td>
<td class="cellrowborder" valign="top" width="43.230000000000004%" headers="mcps1.3.3.4.2.5.1.4 "><p id="en-dc_topic_0055025319__p22914285155158">Specifies the product ID corresponding to the connection's order.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="en-dc_topic_0055025319__section57838187"><h4 class="sectiontitle">Response</h4><p id="en-dc_topic_0055025319__p42735278143140"><a href="#en-dc_topic_0055025319__table49073182143140">Table 4</a> lists the response parameter.</p>
<div class="tablenoborder"><a name="en-dc_topic_0055025319__table49073182143140"></a><a name="table49073182143140"></a><table cellpadding="4" cellspacing="0" summary="" id="en-dc_topic_0055025319__table49073182143140" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response parameter</caption><thead align="left"><tr id="en-dc_topic_0055025319__row41888921143140"><th align="left" class="cellrowborder" valign="top" width="30.76307630763076%" id="mcps1.3.4.3.2.4.1.1"><p id="en-dc_topic_0055025319__p37559451143140">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.34193419341934%" id="mcps1.3.4.3.2.4.1.2"><p id="en-dc_topic_0055025319__p3814541143140"><strong id="en-dc_topic_0055025319__b84235270693914">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="49.89498949894989%" id="mcps1.3.4.3.2.4.1.3"><p id="en-dc_topic_0055025319__p40542413143140">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="en-dc_topic_0055025319__row62710001143140"><td class="cellrowborder" valign="top" width="30.76307630763076%" headers="mcps1.3.4.3.2.4.1.1 "><p id="en-dc_topic_0055025319__p46345314143140">direct_connect</p>
</td>
<td class="cellrowborder" valign="top" width="19.34193419341934%" headers="mcps1.3.4.3.2.4.1.2 "><p id="en-dc_topic_0055025319__p1342792143140">Dictionary data structure</p>
</td>
<td class="cellrowborder" valign="top" width="49.89498949894989%" headers="mcps1.3.4.3.2.4.1.3 "><p id="en-dc_topic_0055025319__p39371911143140">Specifies the <strong id="en-dc_topic_0055025319__b842352706172942">direct_connect</strong> object.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-dc_topic_0055025319__table49261880" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Description of field <strong id="en-dc_topic_0055025319__b6463548111312">direct_connect</strong></caption><thead align="left"><tr id="en-dc_topic_0055025319__row31386613"><th align="left" class="cellrowborder" valign="top" width="31.7%" id="mcps1.3.4.4.2.4.1.1"><p id="en-dc_topic_0055025319__p59287744"><strong id="en-dc_topic_0055025319__b779034172">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.080000000000002%" id="mcps1.3.4.4.2.4.1.2"><p id="en-dc_topic_0055025319__p37577972"><strong id="en-dc_topic_0055025319__b1225161125">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="51.22%" id="mcps1.3.4.4.2.4.1.3"><p id="en-dc_topic_0055025319__p58217140"><strong id="en-dc_topic_0055025319__b413643140">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="en-dc_topic_0055025319__row22599309142540"><td class="cellrowborder" valign="top" width="31.7%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025319__p65683489142540">id</p>
</td>
<td class="cellrowborder" valign="top" width="17.080000000000002%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025319__p18762424142540">String</p>
</td>
<td class="cellrowborder" valign="top" width="51.22%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025319__p22607505142540">Specifies the connection ID.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row2511034142540"><td class="cellrowborder" valign="top" width="31.7%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025319__p39200081142540">tenant_id</p>
</td>
<td class="cellrowborder" valign="top" width="17.080000000000002%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025319__p21089994142540">String</p>
</td>
<td class="cellrowborder" valign="top" width="51.22%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025319__p60087991142540">Specifies the project ID.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row59931327142540"><td class="cellrowborder" valign="top" width="31.7%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025319__p49166283142540">name</p>
</td>
<td class="cellrowborder" valign="top" width="17.080000000000002%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025319__p23045969142540">String</p>
</td>
<td class="cellrowborder" valign="top" width="51.22%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025319__p8338180142540">Specifies the connection name.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row58854819142540"><td class="cellrowborder" valign="top" width="31.7%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025319__p38736008142540">description</p>
</td>
<td class="cellrowborder" valign="top" width="17.080000000000002%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025319__p50608918142540">String</p>
</td>
<td class="cellrowborder" valign="top" width="51.22%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025319__p57561315142540">Provides supplementary information about the connection.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row28909045142540"><td class="cellrowborder" valign="top" width="31.7%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025319__p19158921142540">port_type</p>
</td>
<td class="cellrowborder" valign="top" width="17.080000000000002%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025319__p8368744142540">String</p>
</td>
<td class="cellrowborder" valign="top" width="51.22%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025319__p3460603522620">Specifies the type of the port used by the connection. The value can be <strong id="en-dc_topic_0055025319__b370581214151058">1G</strong> or <strong id="en-dc_topic_0055025319__b263825441151058">10G</strong>.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row18125197142540"><td class="cellrowborder" valign="top" width="31.7%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025319__p57768785142540">bandwidth</p>
</td>
<td class="cellrowborder" valign="top" width="17.080000000000002%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025319__p48760032142540">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="51.22%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025319__p6618147142540">Specifies the bandwidth of the connection in Mbit/s.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row31840072142540"><td class="cellrowborder" valign="top" width="31.7%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025319__p59900002142540">location</p>
</td>
<td class="cellrowborder" valign="top" width="17.080000000000002%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025319__p20062008142540">String</p>
</td>
<td class="cellrowborder" valign="top" width="51.22%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025319__p26355989142540">Specifies the connection access location.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row25907407142540"><td class="cellrowborder" valign="top" width="31.7%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025319__p20381527142540">peer_location</p>
</td>
<td class="cellrowborder" valign="top" width="17.080000000000002%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025319__p40291006142540">String</p>
</td>
<td class="cellrowborder" valign="top" width="51.22%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025319__p7480618142540">Specifies the physical location of the peer device accessed by the connection. The value can be a street, city, and province, or an IDC.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row55074383142540"><td class="cellrowborder" valign="top" width="31.7%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025319__p17553017142540">device_id</p>
</td>
<td class="cellrowborder" valign="top" width="17.080000000000002%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025319__p12508300142540">String</p>
</td>
<td class="cellrowborder" valign="top" width="51.22%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025319__p59926042142540">Specifies the gateway device ID of the connection.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row35945537142540"><td class="cellrowborder" valign="top" width="31.7%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025319__p65323418142540">interface_name</p>
</td>
<td class="cellrowborder" valign="top" width="17.080000000000002%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025319__p56705473142540">String</p>
</td>
<td class="cellrowborder" valign="top" width="51.22%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025319__p60180134142540">Specifies the name of the interface accessed by the connection.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row55182886203023"><td class="cellrowborder" valign="top" width="31.7%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025319__p19964412203025">redundant_id</p>
</td>
<td class="cellrowborder" valign="top" width="17.080000000000002%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025319__p6504657203025">String</p>
</td>
<td class="cellrowborder" valign="top" width="51.22%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025319__p62930357203025">Specifies the ID of the redundant connection using the same gateway.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row56189731142540"><td class="cellrowborder" valign="top" width="31.7%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025319__p49229905142540">provider</p>
</td>
<td class="cellrowborder" valign="top" width="17.080000000000002%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025319__p28199368142540">String</p>
</td>
<td class="cellrowborder" valign="top" width="51.22%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025319__p29079571213632">Specifies the carrier who provides the leased line.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row28612924142540"><td class="cellrowborder" valign="top" width="31.7%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025319__p25972590145747">provider_status</p>
</td>
<td class="cellrowborder" valign="top" width="17.080000000000002%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025319__p45405558145747">String</p>
</td>
<td class="cellrowborder" valign="top" width="51.22%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025319__p65643981145747">Specifies the status of the carrier's leased line. The value can be <strong id="en-dc_topic_0055025319__b745606127">ACTIVE</strong> or <strong id="en-dc_topic_0055025319__b1934694259">DOWN</strong>.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row47589257115128"><td class="cellrowborder" valign="top" width="31.7%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025319__p5179354011524">type</p>
</td>
<td class="cellrowborder" valign="top" width="17.080000000000002%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025319__p3452724911524">String</p>
</td>
<td class="cellrowborder" valign="top" width="51.22%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025319__p1322174519119">Specifies the connection type. The value can be <strong id="en-dc_topic_0055025319__b721538966">hosted</strong>.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row5044245115125"><td class="cellrowborder" valign="top" width="31.7%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025319__p6285975011524">hosting_id</p>
</td>
<td class="cellrowborder" valign="top" width="17.080000000000002%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025319__p5847496711524">String</p>
</td>
<td class="cellrowborder" valign="top" width="51.22%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025319__p5999761611524">Specifies the ID of the operations connection on which the hosted connection is created.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row40288765115138"><td class="cellrowborder" valign="top" width="31.7%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025319__p5039210211524">vlan</p>
</td>
<td class="cellrowborder" valign="top" width="17.080000000000002%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025319__p5522847111524">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="51.22%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025319__p3324489011524">Specifies the pre-allocated VLAN to the hosted connection.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row22890687115136"><td class="cellrowborder" valign="top" width="31.7%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025319__p6349203911524">charge_mode</p>
</td>
<td class="cellrowborder" valign="top" width="17.080000000000002%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025319__p4258157111524">String</p>
</td>
<td class="cellrowborder" valign="top" width="51.22%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025319__p348712611524">Specifies the billing mode. The value can be <strong id="en-dc_topic_0055025319__b842352706153349">prepayment</strong>, <strong id="en-dc_topic_0055025319__b842352706153353">bandwidth</strong>, or <strong id="en-dc_topic_0055025319__b842352706153357">traffic</strong>.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row27967388115133"><td class="cellrowborder" valign="top" width="31.7%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025319__p5908754811524">apply_time</p>
</td>
<td class="cellrowborder" valign="top" width="17.080000000000002%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025319__p2136205011524">String</p>
</td>
<td class="cellrowborder" valign="top" width="51.22%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025319__p3310520811524">Specifies the time when the connection is requested.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row45018349115130"><td class="cellrowborder" valign="top" width="31.7%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025319__p4161503811524">create_time</p>
</td>
<td class="cellrowborder" valign="top" width="17.080000000000002%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025319__p1537490611524">String</p>
</td>
<td class="cellrowborder" valign="top" width="51.22%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025319__p1013568611524">Specifies the time when the connection is created.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row46380176115122"><td class="cellrowborder" valign="top" width="31.7%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025319__p694064711524">delete_time</p>
</td>
<td class="cellrowborder" valign="top" width="17.080000000000002%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025319__p2532155411524">String</p>
</td>
<td class="cellrowborder" valign="top" width="51.22%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025319__p4028160911524">Specifies the time when the connection is deleted.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row56810208155212"><td class="cellrowborder" valign="top" width="31.7%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025319__p53102936155216">order_id</p>
</td>
<td class="cellrowborder" valign="top" width="17.080000000000002%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025319__p6370564155216">String</p>
</td>
<td class="cellrowborder" valign="top" width="51.22%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025319__p55559981155216">Specifies the order number of the connection.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row49611415529"><td class="cellrowborder" valign="top" width="31.7%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025319__p36581716155216">product_id</p>
</td>
<td class="cellrowborder" valign="top" width="17.080000000000002%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025319__p10329025155216">String</p>
</td>
<td class="cellrowborder" valign="top" width="51.22%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025319__p55893977155216">Specifies the product ID corresponding to the connection's order.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row40461916142540"><td class="cellrowborder" valign="top" width="31.7%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025319__p28875525145747">status</p>
</td>
<td class="cellrowborder" valign="top" width="17.080000000000002%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025319__p50531229145747">String</p>
</td>
<td class="cellrowborder" valign="top" width="51.22%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025319__p9078857145747">Specifies the connection status. The value can be <strong id="en-dc_topic_0055025319__b84235270617169">ACTIVE</strong>, <strong id="en-dc_topic_0055025319__b842352706171613">DOWN</strong>, <strong id="en-dc_topic_0055025319__b842352706171618">BUILD</strong>, <strong id="en-dc_topic_0055025319__b842352706171622">ERROR</strong>, <strong id="en-dc_topic_0055025319__b573557709231737">PENDING_DELETE</strong>, <strong id="en-dc_topic_0055025319__b810642512231737">DELETED</strong>, <strong id="en-dc_topic_0055025319__b17872564231737">APPLY</strong>, <strong id="en-dc_topic_0055025319__b1765160533231737">DENY</strong>, <strong id="en-dc_topic_0055025319__b1723423809231737">PENDING_PAY</strong>, <strong id="en-dc_topic_0055025319__b733428447231737">PAID</strong>, <strong id="en-dc_topic_0055025319__b1888084103231737">ORDERING</strong>, <strong id="en-dc_topic_0055025319__b842352706151915">ACCEPT</strong>, or <strong id="en-dc_topic_0055025319__b1504845468231737">REJECTED</strong>.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025319__row4495768142540"><td class="cellrowborder" valign="top" width="31.7%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025319__p59711547142540">admin_state_up</p>
</td>
<td class="cellrowborder" valign="top" width="17.080000000000002%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025319__p4797178142540">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="51.22%" headers="mcps1.3.4.4.2.4.1.3 "><p id="en-dc_topic_0055025319__p11577326204655">Specifies the administrative status of the connection.</p>
<p id="en-dc_topic_0055025319__p233498142540">The value can be <strong id="en-dc_topic_0055025319__b842352706154840">true</strong> or <strong id="en-dc_topic_0055025319__b842352706154844">false</strong>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="en-dc_topic_0055025319__section5055526711495"><h4 class="sectiontitle">Examples</h4><ul id="en-dc_topic_0055025319__ul1098014354110"><li id="en-dc_topic_0055025319__li149809318411">Example request<pre class="screen" id="en-dc_topic_0055025319__screen4017959713452">PUT /v2.0/dcaas/direct-connects/{direct_connect_id}
{
"direct_connect" : {
"name" : "direct connect1",
"description" : "New description"
}
}</pre>
</li></ul>
</div>
<ul id="en-dc_topic_0055025319__ul3940201611417"><li id="en-dc_topic_0055025319__li19940216124110">Example response<pre class="screen" id="en-dc_topic_0055025319__screen18418132913415">{
"direct_connect" : {
"id" : "6ecd9cf3-ca64-46c7-863f-f2eb1b9e838a",
"tenant_id" : "6fbe9263116a4b68818cf1edce16bc4f",
"name" : "direct connect1",
"description" : "",
"port_type" : "10G",
"bandwidth" : 100,
"location" : "Biere",
"device_id" : "172.16.40.2",
"provider" : "OTC"
}
}</pre>
</li></ul>
<div class="section" id="en-dc_topic_0055025319__section178941713364"><h4 class="sectiontitle">Returned Value</h4><p id="en-dc_topic_0055025319__p176816317298">For details, see section <a href="en-dc_topic_0055025342.html">Common Returned Values</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-dc_topic_0055025313.html">Connection</a></div>
</div>
</div>