doc-exports/docs/dc/api-ref/en-dc_topic_0055025318.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

275 lines
22 KiB
HTML

<a name="en-dc_topic_0055025318"></a><a name="en-dc_topic_0055025318"></a>
<h1 class="topictitle1">Querying a Connection</h1>
<div id="body3738651"><div class="section" id="en-dc_topic_0055025318__section17487184"><h4 class="sectiontitle">Function</h4><p id="en-dc_topic_0055025318__p51221589">This API is used to query a connection.</p>
</div>
<div class="section" id="en-dc_topic_0055025318__section23166934"><h4 class="sectiontitle">URI</h4><p id="en-dc_topic_0055025318__p47641446143520">GET /v2.0/dcaas/direct-connects/{direct_connect_id}</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-dc_topic_0055025318__table124068816367" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="en-dc_topic_0055025318__row15414138103616"><th align="left" class="cellrowborder" valign="top" width="19.388061193880613%" id="mcps1.3.2.3.2.5.1.1"><p id="en-dc_topic_0055025318__p12422178183614">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="21.42785721427857%" id="mcps1.3.2.3.2.5.1.2"><p id="en-dc_topic_0055025318__p1042220853620"><strong id="en-dc_topic_0055025318__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_0055025318__p64295813620"><strong id="en-dc_topic_0055025318__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_0055025318__p642910843610"><strong id="en-dc_topic_0055025318__b84235270615331">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="en-dc_topic_0055025318__row13437788366"><td class="cellrowborder" valign="top" width="19.388061193880613%" headers="mcps1.3.2.3.2.5.1.1 "><p id="en-dc_topic_0055025318__p1243714817363">direct_connect_id</p>
</td>
<td class="cellrowborder" valign="top" width="21.42785721427857%" headers="mcps1.3.2.3.2.5.1.2 "><p id="en-dc_topic_0055025318__p1444416814364">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_0055025318__p34443811365">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="42.85571442855714%" headers="mcps1.3.2.3.2.5.1.4 "><p id="en-dc_topic_0055025318__p24447810369">Specifies the connection ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="en-dc_topic_0055025318__section64582388"><h4 class="sectiontitle">Request</h4><p id="en-dc_topic_0055025318__p65639508397">None</p>
</div>
<div class="section" id="en-dc_topic_0055025318__section44370581"><h4 class="sectiontitle">Response</h4><p id="en-dc_topic_0055025318__p42735278143140"><a href="#en-dc_topic_0055025318__table7306830153125">Table 2</a> lists the response parameter.</p>
<div class="tablenoborder"><a name="en-dc_topic_0055025318__table7306830153125"></a><a name="table7306830153125"></a><table cellpadding="4" cellspacing="0" summary="" id="en-dc_topic_0055025318__table7306830153125" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Response parameter</caption><thead align="left"><tr id="en-dc_topic_0055025318__row59179138153125"><th align="left" class="cellrowborder" valign="top" width="23.14%" id="mcps1.3.4.3.2.4.1.1"><p id="en-dc_topic_0055025318__p6185651415404">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25.650000000000002%" id="mcps1.3.4.3.2.4.1.2"><p id="en-dc_topic_0055025318__p4432173215404"><strong id="en-dc_topic_0055025318__b2044574531">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="51.21%" id="mcps1.3.4.3.2.4.1.3"><p id="en-dc_topic_0055025318__p1217810515404">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="en-dc_topic_0055025318__row37905744153125"><td class="cellrowborder" valign="top" width="23.14%" headers="mcps1.3.4.3.2.4.1.1 "><p id="en-dc_topic_0055025318__p50466461153125">direct_connect</p>
</td>
<td class="cellrowborder" valign="top" width="25.650000000000002%" headers="mcps1.3.4.3.2.4.1.2 "><p id="en-dc_topic_0055025318__p61251530153125">Dictionary data structure</p>
</td>
<td class="cellrowborder" valign="top" width="51.21%" headers="mcps1.3.4.3.2.4.1.3 "><p id="en-dc_topic_0055025318__p23412453153125">Specifies the <strong id="en-dc_topic_0055025318__b842352706185536">direct_connect</strong> object.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-dc_topic_0055025318__table14681450" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Description of field <strong id="en-dc_topic_0055025318__b18321143951112">direct_connect</strong></caption><thead align="left"><tr id="en-dc_topic_0055025318__row21069217"><th align="left" class="cellrowborder" valign="top" width="23.169999999999998%" id="mcps1.3.4.4.2.4.1.1"><p id="en-dc_topic_0055025318__p28885026"><strong id="en-dc_topic_0055025318__b8423527069918">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25.61%" id="mcps1.3.4.4.2.4.1.2"><p id="en-dc_topic_0055025318__p57985771"><strong id="en-dc_topic_0055025318__b989911161">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_0055025318__p4499576"><strong id="en-dc_topic_0055025318__b242933375">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="en-dc_topic_0055025318__row6614602622620"><td class="cellrowborder" valign="top" width="23.169999999999998%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025318__p104601622620">id</p>
</td>
<td class="cellrowborder" valign="top" width="25.61%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025318__p3780831222620">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_0055025318__p6365199022620">Specifies the connection ID.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025318__row4620915422620"><td class="cellrowborder" valign="top" width="23.169999999999998%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025318__p136439822620">tenant_id</p>
</td>
<td class="cellrowborder" valign="top" width="25.61%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025318__p1144325422620">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_0055025318__p3142744522620">Specifies the project ID.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025318__row1146602622620"><td class="cellrowborder" valign="top" width="23.169999999999998%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025318__p2234447922620">name</p>
</td>
<td class="cellrowborder" valign="top" width="25.61%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025318__p1619677822620">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_0055025318__p1148802322620">Specifies the connection name.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025318__row2411573022620"><td class="cellrowborder" valign="top" width="23.169999999999998%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025318__p1496908622620">description</p>
</td>
<td class="cellrowborder" valign="top" width="25.61%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025318__p4630189822620">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_0055025318__p4094974622620">Provides supplementary information about the connection.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025318__row1544898622620"><td class="cellrowborder" valign="top" width="23.169999999999998%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025318__p2442012722620">port_type</p>
</td>
<td class="cellrowborder" valign="top" width="25.61%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025318__p5863434722620">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_0055025318__p15565438171520">Specifies the type of the port used by the connection. The value can be <strong id="en-dc_topic_0055025318__b370581214151058">1G</strong> or <strong id="en-dc_topic_0055025318__b263825441151058">10G</strong>.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025318__row1078246722620"><td class="cellrowborder" valign="top" width="23.169999999999998%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025318__p2127372522620">bandwidth</p>
</td>
<td class="cellrowborder" valign="top" width="25.61%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025318__p6251142822620">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_0055025318__p6355872822620">Specifies the bandwidth of the connection in Mbit/s.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025318__row6138324222620"><td class="cellrowborder" valign="top" width="23.169999999999998%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025318__p2577865322620">location</p>
</td>
<td class="cellrowborder" valign="top" width="25.61%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025318__p5818642122620">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_0055025318__p2785218222620">Specifies the connection access location.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025318__row1031192022620"><td class="cellrowborder" valign="top" width="23.169999999999998%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025318__p4000130522620">peer_location</p>
</td>
<td class="cellrowborder" valign="top" width="25.61%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025318__p224384122620">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_0055025318__p5548563322620">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_0055025318__row5093362822620"><td class="cellrowborder" valign="top" width="23.169999999999998%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025318__p1229275522620">device_id</p>
</td>
<td class="cellrowborder" valign="top" width="25.61%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025318__p6254979622620">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_0055025318__p2855146722620">Specifies the gateway device ID of the connection.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025318__row1902755522620"><td class="cellrowborder" valign="top" width="23.169999999999998%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025318__p891189122620">interface_name</p>
</td>
<td class="cellrowborder" valign="top" width="25.61%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025318__p6140524222620">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_0055025318__p3269683422620">Specifies the name of the interface accessed by the connection.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025318__row55467382202953"><td class="cellrowborder" valign="top" width="23.169999999999998%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025318__p20607690202956">redundant_id</p>
</td>
<td class="cellrowborder" valign="top" width="25.61%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025318__p58610204202956">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_0055025318__p7762862202956">Specifies the ID of the redundant connection using the same gateway.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025318__row3024899622620"><td class="cellrowborder" valign="top" width="23.169999999999998%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025318__p6677751222620">provider</p>
</td>
<td class="cellrowborder" valign="top" width="25.61%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025318__p10213722620">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_0055025318__p29079571213632">Specifies the carrier who provides the leased line.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025318__row3795490222620"><td class="cellrowborder" valign="top" width="23.169999999999998%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025318__p1788745814578">provider_status</p>
</td>
<td class="cellrowborder" valign="top" width="25.61%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025318__p3663203514578">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_0055025318__p2491472714578">Specifies the status of the carrier's leased line. The value can be <strong id="en-dc_topic_0055025318__b842352706171439">ACTIVE</strong> or <strong id="en-dc_topic_0055025318__b842352706171443">DOWN</strong>.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025318__row47880658114435"><td class="cellrowborder" valign="top" width="23.169999999999998%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025318__p18848885114524">type</p>
</td>
<td class="cellrowborder" valign="top" width="25.61%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025318__p50364742114524">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_0055025318__p194002331977">Specifies the connection type. The value can be <strong id="en-dc_topic_0055025318__b1192501793">hosted</strong>.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025318__row13656441114441"><td class="cellrowborder" valign="top" width="23.169999999999998%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025318__p32740400114524">hosting_id</p>
</td>
<td class="cellrowborder" valign="top" width="25.61%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025318__p34726781114524">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_0055025318__p7819231114524">Specifies the ID of the operations connection on which the hosted connection is created.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025318__row48228497114447"><td class="cellrowborder" valign="top" width="23.169999999999998%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025318__p63075314114524">vlan</p>
</td>
<td class="cellrowborder" valign="top" width="25.61%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025318__p8826787114524">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_0055025318__p64714492114524">Specifies the VLAN pre-allocated to the hosted connection.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025318__row44175584114443"><td class="cellrowborder" valign="top" width="23.169999999999998%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025318__p58106492114524">charge_mode</p>
</td>
<td class="cellrowborder" valign="top" width="25.61%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025318__p9005446114524">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_0055025318__p28936332114524">Specifies the billing mode. The value can be <strong id="en-dc_topic_0055025318__b842352706153349">prepayment</strong>, <strong id="en-dc_topic_0055025318__b842352706153353">bandwidth</strong>, or <strong id="en-dc_topic_0055025318__b842352706153357">traffic</strong>.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025318__row63007626114438"><td class="cellrowborder" valign="top" width="23.169999999999998%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025318__p22402835114524">apply_time</p>
</td>
<td class="cellrowborder" valign="top" width="25.61%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025318__p2690383114524">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_0055025318__p1972258114524">Specifies the time when the connection is requested.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025318__row11124815114432"><td class="cellrowborder" valign="top" width="23.169999999999998%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025318__p28490600114524">create_time</p>
</td>
<td class="cellrowborder" valign="top" width="25.61%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025318__p26037230114524">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_0055025318__p38210340114524">Specifies the time when the connection is created.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025318__row49338830114429"><td class="cellrowborder" valign="top" width="23.169999999999998%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025318__p15928073114534">delete_time</p>
</td>
<td class="cellrowborder" valign="top" width="25.61%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025318__p15105509114534">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_0055025318__p54566628114534">Specifies the time when the connection is deleted.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025318__row57089094155121"><td class="cellrowborder" valign="top" width="23.169999999999998%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025318__p42867332155125">order_id</p>
</td>
<td class="cellrowborder" valign="top" width="25.61%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025318__p49701859155125">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_0055025318__p11931964155125">Specifies the order number of the connection.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025318__row29945560155118"><td class="cellrowborder" valign="top" width="23.169999999999998%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025318__p41358381155125">product_id</p>
</td>
<td class="cellrowborder" valign="top" width="25.61%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025318__p61694537155125">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_0055025318__p44303816155125">Specifies the product ID corresponding to the connection's order.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025318__row680867422620"><td class="cellrowborder" valign="top" width="23.169999999999998%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025318__p5019028914578">status</p>
</td>
<td class="cellrowborder" valign="top" width="25.61%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025318__p5510142014578">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_0055025318__p3467588114578">Specifies the connection status. The value can be <strong id="en-dc_topic_0055025318__b783313292518">ACTIVE</strong>, <strong id="en-dc_topic_0055025318__b18451529155116">DOWN</strong>, <strong id="en-dc_topic_0055025318__b13846112914511">BUILD</strong>, <strong id="en-dc_topic_0055025318__b1384612297519">ERROR</strong>, <strong id="en-dc_topic_0055025318__b158471429155117">PENDING_DELETE</strong>, <strong id="en-dc_topic_0055025318__b148471429185119">DELETED</strong>, <strong id="en-dc_topic_0055025318__b784816290513">APPLY</strong>, <strong id="en-dc_topic_0055025318__b2848182918511">DENY</strong>, <strong id="en-dc_topic_0055025318__b8849162914515">PENDING_PAY</strong>, <strong id="en-dc_topic_0055025318__b13850122918512">PAID</strong>, <strong id="en-dc_topic_0055025318__b285022918519">ORDERING</strong>, <strong id="en-dc_topic_0055025318__b16851142915118">ACCEPT</strong>, or <strong id="en-dc_topic_0055025318__b17851132945111">REJECTED</strong>.</p>
</td>
</tr>
<tr id="en-dc_topic_0055025318__row4489054622620"><td class="cellrowborder" valign="top" width="23.169999999999998%" headers="mcps1.3.4.4.2.4.1.1 "><p id="en-dc_topic_0055025318__p1796992022620">admin_state_up</p>
</td>
<td class="cellrowborder" valign="top" width="25.61%" headers="mcps1.3.4.4.2.4.1.2 "><p id="en-dc_topic_0055025318__p1608399722620">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_0055025318__p11534475204528">Specifies the administrative status of the connection.</p>
<p id="en-dc_topic_0055025318__p5197321322620">The value can be <strong id="en-dc_topic_0055025318__b842352706154840">true</strong> or <strong id="en-dc_topic_0055025318__b842352706154844">false</strong>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="en-dc_topic_0055025318__section63790914"><h4 class="sectiontitle">Examples</h4><ul id="en-dc_topic_0055025318__ul71261140153711"><li id="en-dc_topic_0055025318__li21261540193711">Example request</li></ul>
<pre class="screen" id="en-dc_topic_0055025318__screen15604521">GET /v2.0/dcaas/direct-connects/{direct_connect_id}</pre>
</div>
<ul id="en-dc_topic_0055025318__ul1335395017373"><li id="en-dc_topic_0055025318__li1635315020376">Example response<pre class="screen" id="en-dc_topic_0055025318__screen192561423382">{
"direct_connect" : {
"bandwidth" : 100,
"create_time": "2018-10-19 09:53:26.389556",
"port_type" : "10G",
"id" : "6ecd9cf3-ca64-46c7-863f-f2eb1b9e838a",
"apply_time": "2018-10-19 09:53:26.389556",
"peer_location": "", "delete_time": null,
"location" : "Biere",
"provider" : "OTC"
"interface_name": "Eth-Trunk2",
"type": "standard",
"status": "ACTIVE",
"description" : "",
"provider_status": "ACTIVE",
"order_id": "",
"vlan": null,
"device_id" : "172.16.40.2",
"name" : "direct connect1",
"admin_state_up": true,
"tenant_id" : "6fbe9263116a4b68818cf1edce16bc4f",
"redundant_id": null,
"hosting_id": null,
"product_id": "",
"charge_mode": ""
}
}</pre>
</li></ul>
<div class="section" id="en-dc_topic_0055025318__section85501627143317"><h4 class="sectiontitle">Returned Value</h4><p id="en-dc_topic_0055025318__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>