Files
doc-exports/docs/dc/api-ref/CreateHostedDirectConnect.html
fanqinying 070036121f DC API 20241129 version
Reviewed-by: Hajba, László Antal <laszlo-antal.hajba@t-systems.com>
Co-authored-by: fanqinying <fanqinying@huawei.com>
Co-committed-by: fanqinying <fanqinying@huawei.com>
2025-09-08 13:31:33 +00:00

418 lines
45 KiB
HTML

<a name="CreateHostedDirectConnect"></a><a name="CreateHostedDirectConnect"></a>
<h1 class="topictitle1">Creating a Hosted Connection</h1>
<div id="body8662426"><div class="section" id="CreateHostedDirectConnect__en-us_topic_0000001782745605_section4924112012349"><h4 class="sectiontitle">Function</h4><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1092418201343">This API is used by partners to create a hosted connection for their users. The creator must have the partner qualification and have an operations connection.</p>
</div>
<div class="section" id="CreateHostedDirectConnect__en-us_topic_0000001782745605_section892422011347"><h4 class="sectiontitle">URI</h4><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p13925620113411">POST /v3/{project_id}/dcaas/hosted-connects</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateHostedDirectConnect__en-us_topic_0000001782745605_table1792682010343" frame="border" border="1" rules="all"><caption><b>Table 1 </b>URI parameters</caption><thead align="left"><tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row292520205345"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p119269207341">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1926132033413">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p992612207349">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p15927120203414">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row89258202342"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p7927122013341">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p7927202073416">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1292742016345">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p39270206348">Specifies the project ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="CreateHostedDirectConnect__en-us_topic_0000001782745605_section7928102013410"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateHostedDirectConnect__en-us_topic_0000001782745605_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row19281420123420"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p9929172014346">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p19929152073411">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p79293205346">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p69293205348">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row592832018345"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p3930142011341">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p793011206347">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p293010201342">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p179301320193420">Specifies the user token. To obtain the token, see section "Obtaining the User Token" in the <em id="CreateHostedDirectConnect__en-us_topic_0000001782745605_i181938071223933">Identity and Access Management API Reference</em>. The token is the value of <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b3576397123933">X-Subject-Token</strong> in the response header.</p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1493012073416">Minimum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b20930220183419">0</strong></p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p15930152010347">Maximum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b9931820113414">10240</strong></p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateHostedDirectConnect__en-us_topic_0000001782745605_request_CreateHostedDirectConnectRequestBody" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row993162019348"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p18932620123416">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p593214204341">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p13932172013412">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p493212019349">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row1493132093414"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p16932132012347">hosted_connect</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p79335204343">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p59331120113412"><a href="#CreateHostedDirectConnect__en-us_topic_0000001782745605_request_CreateHostedDirectConnect">CreateHostedDirectConnect</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1993332019349">Specifies the hosted connection to be created.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="CreateHostedDirectConnect__en-us_topic_0000001782745605_request_CreateHostedDirectConnect"></a><a name="en-us_topic_0000001782745605_request_CreateHostedDirectConnect"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateHostedDirectConnect__en-us_topic_0000001782745605_request_CreateHostedDirectConnect" frame="border" border="1" rules="all"><caption><b>Table 4 </b>CreateHostedDirectConnect</caption><thead align="left"><tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row18934182019347"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p99351320183416">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p693552063411">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p169361620143413">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p793672083415">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row9934102017345"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p11936620113420">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1293652073419">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p159371220113412">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p189371720103411">Specifies the hosted connection name.</p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p39373202344">Minimum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b6937152015346">0</strong></p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p293782019342">Maximum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b1693792063413">64</strong></p>
</td>
</tr>
<tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row493482023418"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p3937220183419">description</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p19376203347">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p6938220103420">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p109381620163417">Provides supplementary information about the hosted connection.</p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p99381320123420">Minimum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b3938172015348">0</strong></p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p12938192093419">Maximum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b1493852083415">128</strong></p>
</td>
</tr>
<tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row99342207340"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p79381320163411">bandwidth</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p693922016341">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1893914203341">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p69407206349">Specifies the bandwidth of the hosted connection, in Mbit/s.</p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p15940192019345">Minimum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b179401620163417">2</strong></p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1394062003413">Maximum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b494012205346">400000</strong></p>
</td>
</tr>
<tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row993422013340"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1094015208347">hosting_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p18941020103419">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p994112043416">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p894122010349">Specifies the ID of the operations connection on which the hosted connection is created.</p>
</td>
</tr>
<tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row109341520153412"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p7941102014348">vlan</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1094212093410">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p794212208341">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p109421220153417">Specifies the VLAN allocated to the hosted connection.</p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1894282016346">Minimum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b1994282015348">0</strong></p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p149421420143417">Maximum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b10942112013345">3999</strong></p>
</td>
</tr>
<tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row1893432012344"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p2942142063418">resource_tenant_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p3943132023414">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1694313208347">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p09438201344">Specifies the project ID of the specified tenant for whom a hosted connection is to be created.</p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p894332013342">Minimum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b1994342013415">0</strong></p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1994302014347">Maximum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b8943102063419">32</strong></p>
</td>
</tr>
<tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row2935142073414"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p17944192012346">peer_location</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1094472013346">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p994462023413">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p19445204342">Specifies the location of the on-premises facility at the other end of the connection, specific to the street or data center name.</p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p15944122033412">Minimum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b094415202340">0</strong></p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p4944420113418">Maximum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b1794515200343">255</strong></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="CreateHostedDirectConnect__en-us_topic_0000001782745605_section494517205340"><h4 class="sectiontitle">Response Parameters</h4><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p109450205344"><strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b15582958164817">Status code: 201</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateHostedDirectConnect__en-us_topic_0000001782745605_response_ShowHostedDirectConnectResponseBody" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameters</caption><thead align="left"><tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row394516202343"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p10946172014345">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1694616201344">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p6947420143419">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row109461620153410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p4947720133420">request_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p6947112043415">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p9947162003418">Specifies the request ID.</p>
</td>
</tr>
<tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row1994632013343"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p0948720113414">hosted_connect</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p12948520133419"><a href="#CreateHostedDirectConnect__en-us_topic_0000001782745605_response_HostedDirectConnect">HostedDirectConnect</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p2948122023413">Specifies the hosted connection.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="CreateHostedDirectConnect__en-us_topic_0000001782745605_response_HostedDirectConnect"></a><a name="en-us_topic_0000001782745605_response_HostedDirectConnect"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateHostedDirectConnect__en-us_topic_0000001782745605_response_HostedDirectConnect" frame="border" border="1" rules="all"><caption><b>Table 6 </b>HostedDirectConnect</caption><thead align="left"><tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row1694972015344"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p59511320153410">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p89511820143417">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p195119205342">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row194952012345"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p695118209344">id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p695222013416">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p119521204341">Specifies the hosted connection ID.</p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p495202023410">Minimum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b995213202348">36</strong></p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1695272093420">Maximum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b1695262033416">36</strong></p>
</td>
</tr>
<tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row1894992016341"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p5952122017347">tenant_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p6953220133414">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p19953720193411">Specifies the project ID.</p>
</td>
</tr>
<tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row1494952014347"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p16953020193417">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p59534207347">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p17953192012344">Specifies the connection name.</p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p995415209349">Minimum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b195432043413">0</strong></p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p59549207341">Maximum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b7954720173419">64</strong></p>
</td>
</tr>
<tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row79491620183410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p13954132010343">description</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1595452013349">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1795452012343">Provides supplementary information about the connection.</p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1795432013419">Minimum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b179551220203417">0</strong></p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p19554207346">Maximum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b09551820173419">128</strong></p>
</td>
</tr>
<tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row294917203346"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p8955182043418">bandwidth</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p15955182010343">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p12955142019342">Specifies the connection bandwidth, in Mbit/s.</p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p209551203343">Minimum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b16955320183419">2</strong></p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p8955162083415">Maximum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b595662016349">400000</strong></p>
</td>
</tr>
<tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row89491820183411"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p795672012344">location</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p11956920173418">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1795612015349">Specifies information about the Direct Connect location.</p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p595612023420">Minimum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b5956132019348">0</strong></p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p189561020113416">Maximum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b59567209347">255</strong></p>
</td>
</tr>
<tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row2949202033418"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p139571520123415">peer_location</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1795712206343">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p3957182053418">Specifies the location of the on-premises facility at the other end of the connection, specific to the street or data center name.</p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1395732020343">Minimum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b79571920133418">0</strong></p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p495782012346">Maximum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b895712015342">255</strong></p>
</td>
</tr>
<tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row1895032053417"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p15957102016349">hosting_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p5958142016348">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1095810209349">Specifies the ID of the operations connection on which the hosted connection is created.</p>
</td>
</tr>
<tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row13950122023414"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p795812014342">provider</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p12958122083419">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p6958192043418">Specifies the provider of the leased line.</p>
</td>
</tr>
<tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row895052023418"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p795952011341">admin_state_up</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p395952010346">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p295952014348">Specifies the administrative status. The value can be <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b318336141102528">true</strong> or <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b720133270102528">false</strong>.</p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p139597202343">Default: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b9959122023418">true</strong></p>
</td>
</tr>
<tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row15950112014345"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p3959142011343">vlan</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p18960192053412">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p17960112053419">Specifies the VLAN allocated to the hosted connection.</p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1396072013346">Minimum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b396012206346">0</strong></p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1196016200341">Maximum: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b159601020113414">3999</strong></p>
</td>
</tr>
<tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row695010208345"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p2096015201349">status</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1096002011345">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p131105635220">Specifies the operating status.</p>
<ul id="CreateHostedDirectConnect__en-us_topic_0000001782745605_ul03917713524"><li id="CreateHostedDirectConnect__en-us_topic_0000001782745605_li0173149175210"><strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b1517319195211">BUILD</strong>: The hosted connection has been created.</li><li id="CreateHostedDirectConnect__en-us_topic_0000001782745605_li1157815568538"><strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b1057918560538">ACTIVE</strong>: The hosted connection is normal.</li><li id="CreateHostedDirectConnect__en-us_topic_0000001782745605_li11410154165419"><strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b541044135415">DOWN</strong>: The port used by the hosted connection is down, indicating that there may be line faults.</li><li id="CreateHostedDirectConnect__en-us_topic_0000001782745605_li38817619548"><strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b788156115416">ERROR</strong>: The hosted connection is abnormal.</li><li id="CreateHostedDirectConnect__en-us_topic_0000001782745605_li72479915411"><strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b1224812917543">PENDING_DELETE</strong>: The hosted connection is being deleted.</li><li id="CreateHostedDirectConnect__en-us_topic_0000001782745605_li134473111545"><strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b1144811112545">PENDING_UPDATE</strong>: The hosted connection is being updated.</li><li id="CreateHostedDirectConnect__en-us_topic_0000001782745605_li1039115705216"><strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b439147115218">PENDING_CREATE</strong>: The hosted connection is being created.</li></ul>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p696162018343">Enumeration values:</p>
<ul id="CreateHostedDirectConnect__en-us_topic_0000001782745605_ul1696162043419"><li id="CreateHostedDirectConnect__en-us_topic_0000001782745605_li16961182033411"><strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b8961920163411">BUILD</strong></li><li id="CreateHostedDirectConnect__en-us_topic_0000001782745605_li17961102063410"><strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b49611320143419">ACTIVE</strong></li><li id="CreateHostedDirectConnect__en-us_topic_0000001782745605_li13961820113416"><strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b6961620153413">DOWN</strong></li><li id="CreateHostedDirectConnect__en-us_topic_0000001782745605_li1896162083414"><strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b15962192012348">ERROR</strong></li><li id="CreateHostedDirectConnect__en-us_topic_0000001782745605_li9962132083413"><strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b6962420143412">PENDING_DELETE</strong></li><li id="CreateHostedDirectConnect__en-us_topic_0000001782745605_li296262033420"><strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b4962142015345">PENDING_UPDATE</strong></li><li id="CreateHostedDirectConnect__en-us_topic_0000001782745605_li0962172013416"><strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b49620200342">PENDING_CREATE</strong></li></ul>
</td>
</tr>
<tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row395022019345"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p19621420133418">apply_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p12962420173414">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p896318206349">Specifies when the connection was requested. The UTC time format is <em id="CreateHostedDirectConnect__en-us_topic_0000001782745605_i84753953310452">yyyy-MM-ddTHH:mm:ss.SSSZ</em>.</p>
</td>
</tr>
<tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row1295092073410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1196318204342">create_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1196342019345">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p4963920143415">Specifies when the connection was created. The UTC time format is <em id="CreateHostedDirectConnect__en-us_topic_0000001782745605_i17888379110452">yyyy-MM-ddTHH:mm:ss.SSSZ</em>.</p>
</td>
</tr>
<tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row1195012201347"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p139641520103420">provider_status</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p49647207348">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p5964182073415">Specifies the carrier status. The status can be <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b32891017135010">ACTIVE</strong> or <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b9289517135018">DOWN</strong>.</p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p89641620123411">Enumeration values:</p>
<ul id="CreateHostedDirectConnect__en-us_topic_0000001782745605_ul696419206342"><li id="CreateHostedDirectConnect__en-us_topic_0000001782745605_li159641120133417"><strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b596472011341">ACTIVE</strong></li><li id="CreateHostedDirectConnect__en-us_topic_0000001782745605_li1596416206346"><strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b996552003418">DOWN</strong></li></ul>
</td>
</tr>
<tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row5950122093418"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p11965102093411">port_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p696592012344">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p13965320133414">Specifies the type of the port used by the connection. The value can be <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b184037020823933">1G</strong>, <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b130647253323933">10G</strong>, <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b10405632923933">40G</strong>, or <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b91735542323933">100G</strong>.</p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p16965920173416">Enumeration values:</p>
<ul id="CreateHostedDirectConnect__en-us_topic_0000001782745605_ul1396511206347"><li id="CreateHostedDirectConnect__en-us_topic_0000001782745605_li129651820173415"><strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b69666204345">1G</strong></li><li id="CreateHostedDirectConnect__en-us_topic_0000001782745605_li18966620153410"><strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b1966220163415">10G</strong></li><li id="CreateHostedDirectConnect__en-us_topic_0000001782745605_li129661020133413"><strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b3966120143417">40G</strong></li><li id="CreateHostedDirectConnect__en-us_topic_0000001782745605_li159661320133413"><strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b2966132014343">100G</strong><div class="note" id="CreateHostedDirectConnect__en-us_topic_0000001782745605_note4163157135010"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_en-us_topic_0000001735825404_p15163197145011">The port type of a hosted connection is the same as that of the operations connection that the hosted connection relies on.</p>
</div></div>
</li></ul>
</td>
</tr>
<tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row295015201341"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p39661120193414">type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p09661020123419">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p16967172043411">Specifies the type of the connection. The value is <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b132530717823933">hosted</strong>.</p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p14967172014349">Default: <strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b18791525175511">hosted</strong></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="CreateHostedDirectConnect__en-us_topic_0000001782745605_section996817208348"><h4 class="sectiontitle">Example Requests</h4><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p129681620143413">Creating a hosting connection with the bandwidth set to 10 Mbit/s and VLAN to 441</p>
<pre class="screen" id="CreateHostedDirectConnect__en-us_topic_0000001782745605_screen39691620153412">POST https://{dc_endpoint}/v3/6fbe9263116a4b68818cf1edce16bc4f/dcaas/hosted-connects
{
"hosted_connect" : {
"name" : "client-dc-faf1",
"description" : "Hosted Connect",
"resource_tenant_id" : "0605768a3300d5762f82c01180692873",
"hosting_id" : "2cfb53be-b05f-40d5-a2f8-3a59ac383836",
"vlan" : 441,
"bandwidth" : 10
}
}</pre>
</div>
<div class="section" id="CreateHostedDirectConnect__en-us_topic_0000001782745605_section11100162103417"><h4 class="sectiontitle">Example Responses</h4><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p11003211346"><strong id="CreateHostedDirectConnect__en-us_topic_0000001782745605_b52793119494">Status code: 201</strong></p>
<p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p3100162115345">Created</p>
<ul id="CreateHostedDirectConnect__en-us_topic_0000001782745605_ul010032173413"><li id="CreateHostedDirectConnect__en-us_topic_0000001782745605_li3100132193414">The hosted connection is created.<pre class="screen" id="CreateHostedDirectConnect__en-us_topic_0000001782745605_screen15100172163410">{
"hosted_connect" : {
"id" : "0278b472-ffa5-4eb3-8c0d-979d479f8ef6",
"name" : "client-dc-faf1",
"description" : "Hosted Connect",
"tenant_id" : "0605768a3300d5762f82c01180692873",
"hosting_id" : "2cfb53be-b05f-40d5-a2f8-3a59ac383836",
"vlan" : 441,
"bandwidth" : 10,
"location" : "Biere",
"peer_location" : "",
"provider" : "OTC",
"type" : "hosted",
"port_type" : "10G",
"provider_status" : "ACTIVE",
"status" : "ACTIVE",
"apply_time" : "2022-07-13T08:25:38.000Z",
"admin_state_up" : true,
"create_time" : "2022-07-13T08:25:38.000Z"
},
"request_id" : "a59a3776faa1d055f8124dc7b0977a90"
}</pre>
</li></ul>
</div>
<div class="section" id="CreateHostedDirectConnect__en-us_topic_0000001782745605_section31041921183410"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateHostedDirectConnect__en-us_topic_0000001782745605_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row15642113419"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p1510452111342">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p210422118345">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateHostedDirectConnect__en-us_topic_0000001782745605_row136142114345"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p121042218343">201</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p310442114340">Created</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="CreateHostedDirectConnect__en-us_topic_0000001782745605_section11041021113412"><h4 class="sectiontitle">Error Codes</h4><p id="CreateHostedDirectConnect__en-us_topic_0000001782745605_p110432115343">See <a href="ErrorCode.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="topic_300000000.html">Connections</a></div>
</div>
</div>