doc-exports/docs/apig/api-ref/CreateInstanceV2.html
Hasko, Vladimir f3362c7fd1 re-introduce APIG API 20240125 version
Reviewed-by: Topchii, Maria <mtopchii@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2024-11-05 13:07:40 +00:00

597 lines
46 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<a name="CreateInstanceV2"></a><a name="CreateInstanceV2"></a>
<h1 class="topictitle1">Creating a Dedicated Gateway (Pay-Per-Use)</h1>
<div id="body13878115481915"><div class="section" id="CreateInstanceV2__section148787545199"><h4 class="sectiontitle">Function</h4><p id="CreateInstanceV2__p16878195481918">This API is used to create a pay-per-use dedicated gateway.</p>
</div>
<div class="section" id="CreateInstanceV2__atuogenerate_1"><h4 class="sectiontitle">Calling Method</h4><p id="CreateInstanceV2__p13879165410191">For details, see <a href="apig-api-180713003.html">Calling APIs</a>.</p>
</div>
<div class="section" id="CreateInstanceV2__atuogenerate_2"><h4 class="sectiontitle">URI</h4><p id="CreateInstanceV2__p9879354191910">POST /v2/{project_id}/apigw/instances</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateInstanceV2__table688145491910" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="CreateInstanceV2__row68808543195"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="CreateInstanceV2__p5881185491914">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="CreateInstanceV2__p17882175421911">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="CreateInstanceV2__p68821254181919">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="CreateInstanceV2__p1882185416197">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateInstanceV2__row11880115413198"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="CreateInstanceV2__p11883125415191">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="CreateInstanceV2__p15883155412197">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="CreateInstanceV2__p48837544192">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="CreateInstanceV2__p1788311545198">Project ID. For details about how to obtain it, see <a href="apig-api-180713009.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="CreateInstanceV2__section17884354201914"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateInstanceV2__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="CreateInstanceV2__row138846548190"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="CreateInstanceV2__p9885654181912">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.2"><p id="CreateInstanceV2__p13886165413198">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.3"><p id="CreateInstanceV2__p16886175412196">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.2.2.5.1.4"><p id="CreateInstanceV2__p888675411914">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateInstanceV2__row14885165411194"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="CreateInstanceV2__p1788705419197">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="CreateInstanceV2__p988745419191">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="CreateInstanceV2__p168871054131918">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="CreateInstanceV2__p2887175491914">User token. It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is a token.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateInstanceV2__request_InstanceCreateReq" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="CreateInstanceV2__row78896542198"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.1"><p id="CreateInstanceV2__p9892145413193">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.2"><p id="CreateInstanceV2__p189325481919">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.3"><p id="CreateInstanceV2__p1889345419195">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.3.2.5.1.4"><p id="CreateInstanceV2__p1889365481911">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateInstanceV2__row18889165417192"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateInstanceV2__p1789355412198">description</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateInstanceV2__p188943544198">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateInstanceV2__p089455418196">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateInstanceV2__p12894105431914">Gateway description. The value can contain up to 255 characters except &gt; and &lt;.</p>
</td>
</tr>
<tr id="CreateInstanceV2__row588905415194"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateInstanceV2__p1289513545198">maintain_begin</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateInstanceV2__p1895754141911">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateInstanceV2__p7895135417196">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateInstanceV2__p6895154161919">Start time of the maintenance time window. It must be in the format "xx:00:00". The value of xx can be 02, 06, 10, 14, 18, or 22.</p>
<p id="CreateInstanceV2__p2089675414198">During the maintenance time period, O&amp;M personnel perform maintenance on the gateway. During this period, services can still be used, but occasionally there may be temporary interruptions. Scheduled maintenance occurs infrequently (typically once every several months).</p>
</td>
</tr>
<tr id="CreateInstanceV2__row488917541196"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateInstanceV2__p178961654191920">maintain_end</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateInstanceV2__p1789620544194">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateInstanceV2__p14896165411917">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateInstanceV2__p148973545197">End time of the maintenance time window. It must be in the format "xx:00:00". There is a 4-hour difference between the start time and end time.</p>
<p id="CreateInstanceV2__p7897145461916">During the maintenance time period, O&amp;M personnel perform maintenance on the gateway. During this period, services can still be used, but occasionally there may be temporary interruptions. Scheduled maintenance occurs infrequently (typically once every several months).</p>
</td>
</tr>
<tr id="CreateInstanceV2__row168893546190"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateInstanceV2__p989711545194">instance_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateInstanceV2__p128971954161915">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateInstanceV2__p389814547190">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateInstanceV2__p158981854101914">Gateway name.</p>
<p id="CreateInstanceV2__p1589816541195">Enter 3 to 64 characters, starting with a letter. Only letters, digits, hyphens (-), and underscores (_) are allowed.</p>
<p id="CreateInstanceV2__p108991154131917">Minimum: <strong id="CreateInstanceV2__b98991954151917">3</strong></p>
<p id="CreateInstanceV2__p289925461920">Maximum: <strong id="CreateInstanceV2__b4899254161917">64</strong></p>
</td>
</tr>
<tr id="CreateInstanceV2__row48891754161912"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateInstanceV2__p19001354111913">instance_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateInstanceV2__p0900135415192">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateInstanceV2__p99001054191919">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateInstanceV2__p690145415192">Gateway ID, which will be automatically generated if you do not specify this parameter.</p>
</td>
</tr>
<tr id="CreateInstanceV2__row118891654181910"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateInstanceV2__p590175481915">spec_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateInstanceV2__p18901195416193">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateInstanceV2__p169021254161918">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateInstanceV2__p49023541191">Gateway edition. Options:</p>
<ul id="CreateInstanceV2__ul990215414197"><li id="CreateInstanceV2__li89021554191916">BASIC</li><li id="CreateInstanceV2__li1590316543199">PROFESSIONAL</li><li id="CreateInstanceV2__li3903185471910">ENTERPRISE</li><li id="CreateInstanceV2__li169034549191">PLATINUM</li></ul>
<p id="CreateInstanceV2__p199078548198">Platinum 28 are available only in certain regions.</p>
<p id="CreateInstanceV2__p590711541190">Enumeration values:</p>
<ul id="CreateInstanceV2__ul39084546197"><li id="CreateInstanceV2__li1290812545197"><strong id="CreateInstanceV2__b1290814543197">BASIC</strong></li><li id="CreateInstanceV2__li9908175419192"><strong id="CreateInstanceV2__b4908054181916">PROFESSIONAL</strong></li><li id="CreateInstanceV2__li2908154161913"><strong id="CreateInstanceV2__b790825441910">ENTERPRISE</strong></li><li id="CreateInstanceV2__li1790935491919"><strong id="CreateInstanceV2__b4909354161916">PLATINUM</strong></li></ul>
</td>
</tr>
<tr id="CreateInstanceV2__row589035413194"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateInstanceV2__p16913145421914">vpc_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateInstanceV2__p1691316542195">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateInstanceV2__p1691385416194">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateInstanceV2__p29144545190">VPC ID.</p>
<p id="CreateInstanceV2__p179141854181914">You can obtain it in either of the following ways:</p>
<ul id="CreateInstanceV2__ul14914195417194"><li id="CreateInstanceV2__li49141554111913">Method 1: Log in to the VPC console, and click the name of a VPC to view the VPC ID on the displayed details page.</li><li id="CreateInstanceV2__li12915205491912">Method 2: Call the corresponding VPC API. For details, see section "Querying VPCs" in the VPC API Reference.</li></ul>
</td>
</tr>
<tr id="CreateInstanceV2__row3890754151914"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateInstanceV2__p119151654111919">subnet_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateInstanceV2__p15915554181910">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateInstanceV2__p11916165410194">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateInstanceV2__p1791612548196">Subnet network ID.</p>
<p id="CreateInstanceV2__p09175542199">You can obtain it in either of the following ways:</p>
<ul id="CreateInstanceV2__ul10917135491915"><li id="CreateInstanceV2__li20917105481910">Method 1: Log in to the VPC console and click the target subnet on the Subnets page. You can view the network ID on the displayed page.</li><li id="CreateInstanceV2__li39171254111912">Method 2: Call the corresponding VPC API. For details, see section "Querying Subnets" in the VPC API Reference.</li></ul>
</td>
</tr>
<tr id="CreateInstanceV2__row0890145415194"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateInstanceV2__p4918165413192">security_group_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateInstanceV2__p391865417190">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateInstanceV2__p5918175411196">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateInstanceV2__p169191546198">ID of the security group to which the gateway belongs.</p>
<p id="CreateInstanceV2__p1291916544196">You can obtain it in either of the following ways:</p>
<ul id="CreateInstanceV2__ul1691945411191"><li id="CreateInstanceV2__li391975471915">Method 1: Log in to the VPC console. Choose Access Control &gt; Security Groups in the navigation pane. On the Security Groups page, click the target security group. Then view the security group ID on the displayed page.</li><li id="CreateInstanceV2__li7920554131917">Method 2: Call the corresponding VPC API. For details, see section "Querying Security Groups" in the VPC API Reference.</li></ul>
</td>
</tr>
<tr id="CreateInstanceV2__row1789025491918"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateInstanceV2__p992075431914">eip_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateInstanceV2__p5920854131915">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateInstanceV2__p1792113545198">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateInstanceV2__p192195415197">EIP ID.</p>
<p id="CreateInstanceV2__p2921175413195">After you bind an EIP to the gateway, users can access APIs in the gateway from public networks using the EIP.</p>
<p id="CreateInstanceV2__p149214548190">To obtain an EIP ID, log in to the VPC console, and choose "Elastic IP and Bandwidth" &gt; "EIPs" in the navigation pane. Click the name of the target EIP, and view the EIP ID on the displayed page.</p>
</td>
</tr>
<tr id="CreateInstanceV2__row208901654181914"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateInstanceV2__p16922854161916">enterprise_project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateInstanceV2__p0922125491911">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateInstanceV2__p59221954181915">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateInstanceV2__p792235441917">Enterprise project ID. This parameter is required for an enterprise account.</p>
<p id="CreateInstanceV2__p99231454101917">You can obtain it in either of the following ways:</p>
<ul id="CreateInstanceV2__ul15923195410195"><li id="CreateInstanceV2__li5923185414190">Method 1: Log in to the Enterprise Project Management page, click the name of the target enterprise project, and view the project ID on the displayed page.</li><li id="CreateInstanceV2__li9923125441917">Method 2: Call the corresponding project management API. For details, see section "Querying the Enterprise Project List" in the Enterprise Management API Reference.</li></ul>
</td>
</tr>
<tr id="CreateInstanceV2__row19890155441913"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateInstanceV2__p19923154131915">available_zone_ids</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateInstanceV2__p09243545193">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateInstanceV2__p20924165421916">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateInstanceV2__p11924175410197">AZs.</p>
<p id="CreateInstanceV2__p1292585441913">An AZ is a physical region where resources use independent power supply and networks. AZs are physically isolated but interconnected through an internal network. To enhance application availability, create gateways in different AZs.</p>
<p id="CreateInstanceV2__p79251254151919">To obtain AZ information, call the API used to query AZs.</p>
</td>
</tr>
<tr id="CreateInstanceV2__row489025431917"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateInstanceV2__p1692519545191">bandwidth_size</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateInstanceV2__p1392565431918">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateInstanceV2__p179261154101913">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateInstanceV2__p992685411199">Outbound access bandwidth.</p>
<p id="CreateInstanceV2__p99261854191913">This parameter is required if public outbound access is enabled for the gateway. After you configure the bandwidth for the gateway, users can access resources on public networks. The minimum value is 5.</p>
<p id="CreateInstanceV2__p129265541193">Default: <strong id="CreateInstanceV2__b12926354121919">5</strong></p>
</td>
</tr>
<tr id="CreateInstanceV2__row38911754191919"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateInstanceV2__p1192785419197">bandwidth_charging_mode</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateInstanceV2__p7927105419194">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateInstanceV2__p149271354121911">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateInstanceV2__p139281054121913">Billing type of the public outbound access bandwidth. This parameter is required if public outbound access is enabled for the gateway.</p>
<ul id="CreateInstanceV2__ul8928125418199"><li id="CreateInstanceV2__li3928175419193">bandwidth: billed by bandwidth</li><li id="CreateInstanceV2__li61691547998">ipv6_enable: not supported currently</li></ul>
<p id="CreateInstanceV2__p192945410199">Default: <strong id="CreateInstanceV2__b99295546195">bandwidth</strong></p>
<p id="CreateInstanceV2__p992995401917">Enumeration values:</p>
<ul id="CreateInstanceV2__ul1892911548197"><li id="CreateInstanceV2__li6929155420193"><strong id="CreateInstanceV2__b69292054151913">bandwidth</strong></li><li id="CreateInstanceV2__li891925816102"><strong id="CreateInstanceV2__b3399712191116">ipv6_enable</strong></li></ul>
</td>
</tr>
<tr id="CreateInstanceV2__row11891554181914"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateInstanceV2__p6932175418194">loadbalancer_provider</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateInstanceV2__p393245419191">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateInstanceV2__p16932354131919">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateInstanceV2__p17932554201916">Type of the load balancer used by the gateway.</p>
<ul id="CreateInstanceV2__ul12933145431910"><li id="CreateInstanceV2__li993317543191">elb: Elastic Load Balancer (available only in certain regions)</li></ul>
<p id="CreateInstanceV2__p3934854191915">Enumeration values:</p>
<ul id="CreateInstanceV2__ul169341654191917"><li id="CreateInstanceV2__li1693415547197"><strong id="CreateInstanceV2__b7934175441910">elb</strong></li></ul>
</td>
</tr>
<tr id="CreateInstanceV2__row15891115417193"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateInstanceV2__p893515547194">tags</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateInstanceV2__p9935454141919">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateInstanceV2__p593555414199">Array of <a href="#CreateInstanceV2__request_TmsKeyValue">TmsKeyValue</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateInstanceV2__p19935154111910">Tags.</p>
<p id="CreateInstanceV2__p189366545194">A maximum of 20 tags can be created for a gateway.</p>
<p id="CreateInstanceV2__p6936135419190">Array Length: <strong id="CreateInstanceV2__b993645491915">0 - 20</strong></p>
</td>
</tr>
<tr id="CreateInstanceV2__row18891145416192"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateInstanceV2__p1593695431913">vpcep_service_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateInstanceV2__p1193619547190">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateInstanceV2__p1893710544196">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateInstanceV2__p29371954121918">Name of a VPC endpoint service.</p>
<p id="CreateInstanceV2__p29371554101918">It can contain max. 16 characters, including letters, digits, hyphens (-), and underscores.</p>
<p id="CreateInstanceV2__p2093718540193">If this parameter is not specified, the system automatically generates a name in the "{region}.apig.{service_id}" format.</p>
<p id="CreateInstanceV2__p14937254141917">If this parameter is specified, the system automatically generates a name in the "{region}.{vpcep_service_name}.{service_id}" format.</p>
<p id="CreateInstanceV2__p13938754121913">After the gateway is created, you can modify this name on the Gateways &gt; VPC Endpoints page.</p>
</td>
</tr>
<tr id="CreateInstanceV2__row20891145418191"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateInstanceV2__p209381354161915">ingress_bandwidth_size</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateInstanceV2__p1393816546197">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateInstanceV2__p89384545193">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateInstanceV2__p149393545191">Public inbound access bandwidth.</p>
<p id="CreateInstanceV2__p493955451910">This parameter is required if public inbound access is enabled for the gateway and loadbalancer_provider is set to elb. After you bind an EIP to the gateway, users can access APIs in the gateway from public networks using the EIP. The minimum value is 5.</p>
<p id="CreateInstanceV2__p893911547194">Default: <strong id="CreateInstanceV2__b4939754181918">5</strong></p>
</td>
</tr>
<tr id="CreateInstanceV2__row2891115415190"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="CreateInstanceV2__p293905411191">ingress_bandwidth_charging_mode</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="CreateInstanceV2__p12940105418198">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="CreateInstanceV2__p18940125413199">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="CreateInstanceV2__p15940195415191">Billing type of the public inbound access bandwidth. This parameter is required if public inbound access is enabled for the gateway and loadbalancer_provider is set to elb.</p>
<ul id="CreateInstanceV2__ul15940554121918"><li id="CreateInstanceV2__li394065481915">bandwidth: billed by bandwidth</li></ul>
<p id="CreateInstanceV2__p13941155411919">Default: <strong id="CreateInstanceV2__b794195411918">bandwidth</strong></p>
<p id="CreateInstanceV2__p1394155421918">Enumeration values:</p>
<ul id="CreateInstanceV2__ul189411554151917"><li id="CreateInstanceV2__li1941165441919"><strong id="CreateInstanceV2__b194245411194">bandwidth</strong></li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="CreateInstanceV2__request_TmsKeyValue"></a><a name="request_TmsKeyValue"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateInstanceV2__request_TmsKeyValue" frame="border" border="1" rules="all"><caption><b>Table 4 </b>TmsKeyValue</caption><thead align="left"><tr id="CreateInstanceV2__row994205416198"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.1"><p id="CreateInstanceV2__p1494315541193">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.2"><p id="CreateInstanceV2__p149810561193">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.3"><p id="CreateInstanceV2__p1198165651911">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.4.2.5.1.4"><p id="CreateInstanceV2__p1981956141918">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateInstanceV2__row19942155401910"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateInstanceV2__p11981456181912">key</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateInstanceV2__p139818562194">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateInstanceV2__p1198165631918">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateInstanceV2__p4981256201919">Key.</p>
<p id="CreateInstanceV2__p129975641911">Include UTF-8 letters, digits, spaces, or special characters (_.:=+-@).</p>
<p id="CreateInstanceV2__p099165671912">Do not start with _sys_ because it is a system label.</p>
<p id="CreateInstanceV2__p189955617196">Minimum: <strong id="CreateInstanceV2__b999115641914">1</strong></p>
<p id="CreateInstanceV2__p209925616195">Maximum: <strong id="CreateInstanceV2__b8991756141919">128</strong></p>
</td>
</tr>
<tr id="CreateInstanceV2__row109432054201920"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="CreateInstanceV2__p499356101920">value</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="CreateInstanceV2__p299125651918">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="CreateInstanceV2__p209917569198">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="CreateInstanceV2__p18991556181912">Value.</p>
<p id="CreateInstanceV2__p499195681920">You can enter letters, digits, and spaces or other special characters (_.:/=+-@) in UTF-8 format.</p>
<p id="CreateInstanceV2__p399145681914">Minimum: <strong id="CreateInstanceV2__b129914569195">0</strong></p>
<p id="CreateInstanceV2__p89955619195">Maximum: <strong id="CreateInstanceV2__b1599115651917">255</strong></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="CreateInstanceV2__section099956201914"><h4 class="sectiontitle">Response Parameters</h4><p id="CreateInstanceV2__p29945611915"><strong id="CreateInstanceV2__b139915641917">Status code: 202</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateInstanceV2__response_InstanceCreateResp" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameters</caption><thead align="left"><tr id="CreateInstanceV2__row095095416193"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.1"><p id="CreateInstanceV2__p81004565194">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.2"><p id="CreateInstanceV2__p141001956171910">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.3.2.4.1.3"><p id="CreateInstanceV2__p121006563194">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateInstanceV2__row1695015541191"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="CreateInstanceV2__p101005563192">instance_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="CreateInstanceV2__p1910065681911">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="CreateInstanceV2__p11100145614198">Gateway ID.</p>
</td>
</tr>
<tr id="CreateInstanceV2__row10950354181910"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="CreateInstanceV2__p101001356161911">message</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="CreateInstanceV2__p12100135681914">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="CreateInstanceV2__p6100155612197">Information about the gateway creation task.</p>
</td>
</tr>
<tr id="CreateInstanceV2__row295018540195"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="CreateInstanceV2__p151006565195">job_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="CreateInstanceV2__p13100156151920">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="CreateInstanceV2__p1910012563199">Task ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="CreateInstanceV2__p61001356151914"><strong id="CreateInstanceV2__b161003565196">Status code: 400</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateInstanceV2__response_ErrorMsg" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="CreateInstanceV2__row12954354111912"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.5.2.4.1.1"><p id="CreateInstanceV2__p7100155601920">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.5.2.4.1.2"><p id="CreateInstanceV2__p121003568198">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.5.2.4.1.3"><p id="CreateInstanceV2__p1710045661919">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateInstanceV2__row1095405491919"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="CreateInstanceV2__p310011562193">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="CreateInstanceV2__p2100195651918">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="CreateInstanceV2__p51006564196">Error code.</p>
</td>
</tr>
<tr id="CreateInstanceV2__row179541854111910"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="CreateInstanceV2__p11003561196">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="CreateInstanceV2__p9101105615190">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="CreateInstanceV2__p141011356111914">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="CreateInstanceV2__p61011856121914"><strong id="CreateInstanceV2__b110113565195">Status code: 401</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateInstanceV2__response_ErrorMsg_1" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Response body parameters</caption><thead align="left"><tr id="CreateInstanceV2__row9957165471913"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.7.2.4.1.1"><p id="CreateInstanceV2__p10101185641916">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.7.2.4.1.2"><p id="CreateInstanceV2__p4101456191916">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.7.2.4.1.3"><p id="CreateInstanceV2__p15101656171915">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateInstanceV2__row17957254151920"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.1 "><p id="CreateInstanceV2__p6101256121915">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.2 "><p id="CreateInstanceV2__p1610165616194">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.7.2.4.1.3 "><p id="CreateInstanceV2__p6101185661914">Error code.</p>
</td>
</tr>
<tr id="CreateInstanceV2__row11957155415191"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.1 "><p id="CreateInstanceV2__p010165671912">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.2 "><p id="CreateInstanceV2__p14101556191911">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.7.2.4.1.3 "><p id="CreateInstanceV2__p1510135671911">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="CreateInstanceV2__p151012056181910"><strong id="CreateInstanceV2__b6101456141915">Status code: 403</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateInstanceV2__response_ErrorMsg_2" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Response body parameters</caption><thead align="left"><tr id="CreateInstanceV2__row18961145411194"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.9.2.4.1.1"><p id="CreateInstanceV2__p010111567198">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.9.2.4.1.2"><p id="CreateInstanceV2__p101011056101913">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.9.2.4.1.3"><p id="CreateInstanceV2__p1210135681917">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateInstanceV2__row596116540194"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.9.2.4.1.1 "><p id="CreateInstanceV2__p41026565192">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.9.2.4.1.2 "><p id="CreateInstanceV2__p11102135611197">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.9.2.4.1.3 "><p id="CreateInstanceV2__p710210564191">Error code.</p>
</td>
</tr>
<tr id="CreateInstanceV2__row1796115420191"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.9.2.4.1.1 "><p id="CreateInstanceV2__p4102125671919">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.9.2.4.1.2 "><p id="CreateInstanceV2__p13102856181917">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.9.2.4.1.3 "><p id="CreateInstanceV2__p1910295661915">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="CreateInstanceV2__p61021568198"><strong id="CreateInstanceV2__b510215564197">Status code: 404</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateInstanceV2__response_ErrorMsg_3" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Response body parameters</caption><thead align="left"><tr id="CreateInstanceV2__row20965115414197"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.11.2.4.1.1"><p id="CreateInstanceV2__p13102205641913">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.11.2.4.1.2"><p id="CreateInstanceV2__p5102656121912">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.11.2.4.1.3"><p id="CreateInstanceV2__p171022569197">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateInstanceV2__row13965185471912"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.11.2.4.1.1 "><p id="CreateInstanceV2__p10102156141917">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.11.2.4.1.2 "><p id="CreateInstanceV2__p17102175631915">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.11.2.4.1.3 "><p id="CreateInstanceV2__p710220561194">Error code.</p>
</td>
</tr>
<tr id="CreateInstanceV2__row14965115461911"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.11.2.4.1.1 "><p id="CreateInstanceV2__p610255631918">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.11.2.4.1.2 "><p id="CreateInstanceV2__p1010395611198">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.11.2.4.1.3 "><p id="CreateInstanceV2__p17103145615194">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="CreateInstanceV2__p610312568195"><strong id="CreateInstanceV2__b15103456161914">Status code: 500</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateInstanceV2__response_ErrorMsg_4" frame="border" border="1" rules="all"><caption><b>Table 10 </b>Response body parameters</caption><thead align="left"><tr id="CreateInstanceV2__row79687541196"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.13.2.4.1.1"><p id="CreateInstanceV2__p1103135616199">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.13.2.4.1.2"><p id="CreateInstanceV2__p5103115621915">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.13.2.4.1.3"><p id="CreateInstanceV2__p71031456181910">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateInstanceV2__row169681554151917"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.13.2.4.1.1 "><p id="CreateInstanceV2__p1510314569192">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.13.2.4.1.2 "><p id="CreateInstanceV2__p11103456191919">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.13.2.4.1.3 "><p id="CreateInstanceV2__p1010319562195">Error code.</p>
</td>
</tr>
<tr id="CreateInstanceV2__row09685544197"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.13.2.4.1.1 "><p id="CreateInstanceV2__p2103165610198">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.13.2.4.1.2 "><p id="CreateInstanceV2__p1310355651913">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.13.2.4.1.3 "><p id="CreateInstanceV2__p810445631914">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="CreateInstanceV2__section610413565194"><h4 class="sectiontitle">Example Requests</h4><p id="CreateInstanceV2__p810485671918">Creating a gateway with network and security group configurations</p>
<pre class="screen" id="CreateInstanceV2__screen11104156101919">{
"available_zone_ids" : [ "xx-xxx-7b", "xx-xxx-7a" ],
"bandwidth_size" : 5,
"description" : "test create instance",
"eip_id" : "41f961ab-2bdd-4ca7-9b59-cfc4fcef10c9",
"enterprise_project_id" : "0",
"instance_name" : "apig-demo",
"maintain_begin" : "22:00:00",
"maintain_end" : "02:00:00",
"security_group_id" : "36d0ec18-bd10-4da7-86f3-ad7a5ddc55d7",
"spec_id" : "PROFESSIONAL",
"subnet_id" : "a938121c-11c4-4c91-b983-bc9acd347bb5",
"vpc_id" : "0957108c-257c-4ce0-9e93-527d279ce763"
}</pre>
</div>
<div class="section" id="CreateInstanceV2__section310410567197"><h4 class="sectiontitle">Example Responses</h4><p id="CreateInstanceV2__p510565611916"><strong id="CreateInstanceV2__b12105115619198">Status code: 202</strong></p>
<p id="CreateInstanceV2__p101051156181913">Accepted</p>
<pre class="screen" id="CreateInstanceV2__screen141056568199">{
"instance_id" : "6a7d71827fd54572b1f31aa9548fcc81",
"message" : "JOB_ASSIGNED_FOR_PROVISIONING_0003I:The job JOB-bdb370eb6f4c4c73b61b95a9da38beb5 has been assigned to the instance 6a7d71827fd54572b1f31aa9548fcc81 for running provisioning.",
"job_id" : "JOB-edbac2355fb7433e98f173ea2e452e2d"
}</pre>
<p id="CreateInstanceV2__p8105185615195"><strong id="CreateInstanceV2__b15105185614197">Status code: 400</strong></p>
<p id="CreateInstanceV2__p610525621917">Bad Request</p>
<pre class="screen" id="CreateInstanceV2__screen1910512567191">{
"error_code" : "APIC.7211",
"error_msg" : "Parameter value does not match the rules, parameter name[maintainBegin]"
}</pre>
<p id="CreateInstanceV2__p010695611919"><strong id="CreateInstanceV2__b10106205691918">Status code: 401</strong></p>
<p id="CreateInstanceV2__p21061456111918">Unauthorized</p>
<pre class="screen" id="CreateInstanceV2__screen410655616195">{
"error_code" : "APIC.7102",
"error_msg" : "Incorrect token or token resolution failed"
}</pre>
<p id="CreateInstanceV2__p110635619196"><strong id="CreateInstanceV2__b31061856121910">Status code: 403</strong></p>
<p id="CreateInstanceV2__p12106456181912">Forbidden</p>
<pre class="screen" id="CreateInstanceV2__screen17106115617191">{
"error_code" : "APIC.7106",
"error_msg" : "No permissions to request for the method"
}</pre>
<p id="CreateInstanceV2__p16106185671913"><strong id="CreateInstanceV2__b1510610568197">Status code: 404</strong></p>
<p id="CreateInstanceV2__p16107115616195">Not Found</p>
<pre class="screen" id="CreateInstanceV2__screen610705611192">{
"error_code" : "APIC.7301",
"error_msg" : "Instance spec not found"
}</pre>
<p id="CreateInstanceV2__p17107125681918"><strong id="CreateInstanceV2__b910795619192">Status code: 500</strong></p>
<p id="CreateInstanceV2__p5107195619198">Internal Server Error</p>
<pre class="screen" id="CreateInstanceV2__screen410765671919">{
"error_code" : "APIC.9000",
"error_msg" : "Failed to request internal service"
}</pre>
</div>
<div class="section" id="CreateInstanceV2__section8107756101915"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateInstanceV2__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="CreateInstanceV2__row149821854131911"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="CreateInstanceV2__p3107185613198">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.8.2.1.3.1.2"><p id="CreateInstanceV2__p210895631916">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="CreateInstanceV2__row19982165481920"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="CreateInstanceV2__p121082056201910">202</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="CreateInstanceV2__p10108135611192">Accepted</p>
</td>
</tr>
<tr id="CreateInstanceV2__row998225418190"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="CreateInstanceV2__p9108145661910">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="CreateInstanceV2__p01081656121916">Bad Request</p>
</td>
</tr>
<tr id="CreateInstanceV2__row298215411920"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="CreateInstanceV2__p31081656151917">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="CreateInstanceV2__p010835617194">Unauthorized</p>
</td>
</tr>
<tr id="CreateInstanceV2__row199829549199"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="CreateInstanceV2__p8108105618193">403</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="CreateInstanceV2__p6108956141910">Forbidden</p>
</td>
</tr>
<tr id="CreateInstanceV2__row99822549190"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="CreateInstanceV2__p10108125661913">404</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="CreateInstanceV2__p0108456141911">Not Found</p>
</td>
</tr>
<tr id="CreateInstanceV2__row119822054131915"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="CreateInstanceV2__p17108155621913">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="CreateInstanceV2__p16108195651916">Internal Server Error</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="CreateInstanceV2__section1110814564199"><h4 class="sectiontitle">Error Codes</h4><p id="CreateInstanceV2__p510865641913">See <a href="ErrorCode.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="ApicInstanceManagement.html">Gateway Management</a></div>
</div>
</div>