forked from docs/doc-exports
Reviewed-by: Ziuzko, Stanislav <stanislav.ziuzko@t-systems.com> Co-authored-by: Chen, Junjie <chenjunjie@huawei.com> Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
480 lines
46 KiB
HTML
480 lines
46 KiB
HTML
<a name="CreatePostPaidInstance"></a><a name="CreatePostPaidInstance"></a>
|
||
|
||
<h1 class="topictitle1">Creating an Instance</h1>
|
||
<div id="body0000001852931493"><div class="section" id="CreatePostPaidInstance__section7497144141315"><h4 class="sectiontitle">Function</h4><p id="CreatePostPaidInstance__p849713414137">This API is used to create a Kafka instance.</p>
|
||
<div class="note" id="CreatePostPaidInstance__note159644115208"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="CreatePostPaidInstance__p0964111132019">This API is out-of-date and may not be maintained in the future. Please use the API described in <a href="CreateInstanceByEngine.html">Creating an Instance</a>.</p>
|
||
</div></div>
|
||
</div>
|
||
<div class="section" id="CreatePostPaidInstance__atuogenerate_2"><h4 class="sectiontitle">URI</h4><p id="CreatePostPaidInstance__p5498204114133">POST /v2/<em id="CreatePostPaidInstance__i4452103114916">{project_id}</em>/instances</p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreatePostPaidInstance__table17498134114137" frame="border" border="1" rules="all"><caption><b>Table 1 </b>URI parameters</caption><thead align="left"><tr id="CreatePostPaidInstance__row049874119134"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="CreatePostPaidInstance__p749884101315">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="CreatePostPaidInstance__p194981641131312">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="CreatePostPaidInstance__p2049915413139">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="CreatePostPaidInstance__p1249974141318">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreatePostPaidInstance__row1449854114135"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="CreatePostPaidInstance__p849984111318">project_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="CreatePostPaidInstance__p204991941191311">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="CreatePostPaidInstance__p54991418131">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="CreatePostPaidInstance__p1850024171316">Project ID. For details, see <a href="kafka-api-0036212547.html">Obtaining a Project ID</a>.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="CreatePostPaidInstance__section11500154131311"><h4 class="sectiontitle">Request Parameters</h4>
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreatePostPaidInstance__request_CreatePostPaidInstanceReq" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request body parameters</caption><thead align="left"><tr id="CreatePostPaidInstance__row19501114181312"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="CreatePostPaidInstance__p750384120133">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="CreatePostPaidInstance__p2050311414137">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="CreatePostPaidInstance__p95038413139">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="CreatePostPaidInstance__p1150494151314">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreatePostPaidInstance__row19501341141318"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p125041413133">name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p16504184120136">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p75041141191319">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p19504241171315">Instance name.</p>
|
||
<p id="CreatePostPaidInstance__p15504154141316">An instance name starts with a letter, consists of 4 to 64 characters, and can contain only letters, digits, underscores (_), and hyphens (-).</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row250110416139"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p35051141111313">description</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p850594131310">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p450544111318">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p15505541151310">Description of an instance.</p>
|
||
<p id="CreatePostPaidInstance__p205051841111312">The description supports up to 1024 characters.</p>
|
||
<div class="note" id="CreatePostPaidInstance__note17505241191311"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="CreatePostPaidInstance__p450634181317">The backslash (\) and quotation mark (") are special characters for JSON messages. When using these characters in a parameter value, add the escape character (\) before the characters, for example, <strong id="CreatePostPaidInstance__b1334512917525">\\</strong> and <strong id="CreatePostPaidInstance__b119901522125217">\"</strong>.</p>
|
||
</div></div>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row25019412137"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p185068410136">engine</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p15506194112135">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p650674112134">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p14507241121315">Message engine. Set the value to <strong id="CreatePostPaidInstance__b189691453195516">kafka</strong>.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row15501941121317"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p750774117138">engine_version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p10507341131318">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p3507164111315">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p750710415138">Version of the message engine. Options:</p>
|
||
<ul id="CreatePostPaidInstance__ul150764115139"><li id="CreatePostPaidInstance__li1650884116139">1.1.0</li><li id="CreatePostPaidInstance__li950817416136">2.3.0</li><li id="CreatePostPaidInstance__li15508124113135">2.7</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row175017414131"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p6508141191313">specification</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p1750815414136">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p550804191313">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p850964161319">Baseline bandwidth of a Kafka instance, that is, the maximum amount of data transferred per unit time. Unit: MB Value range:</p>
|
||
<ul id="CreatePostPaidInstance__ul0509641131320"><li id="CreatePostPaidInstance__li185091941121311">100 MB</li><li id="CreatePostPaidInstance__li850918414138">300 MB</li><li id="CreatePostPaidInstance__li6509841171315">600 MB</li><li id="CreatePostPaidInstance__li1509184112131">1200 MB</li></ul>
|
||
<p id="CreatePostPaidInstance__p12509541151311">Note: The value of this parameter is determined by the product ID (<strong id="CreatePostPaidInstance__b1292415204573">product_id</strong>) and does not need to set manually.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row2050114115133"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p13510441111315">broker_num</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p11510741141312">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p11510341191314">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p1851054111134">Number of brokers.</p>
|
||
<p id="CreatePostPaidInstance__p9510341191310">This parameter can be left blank.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row1350134113132"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p2510204171318">storage_space</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p2511174118135">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p5511194111139">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p105117417134">Message storage space, in GB.</p>
|
||
<ul id="CreatePostPaidInstance__ul55111341131313"><li id="CreatePostPaidInstance__li651154117132">Kafka instance with <strong id="CreatePostPaidInstance__b752114612584">specification</strong> being <strong id="CreatePostPaidInstance__b8522546205814">100MB</strong>: 600–90,000 GB</li><li id="CreatePostPaidInstance__li1551119412131">Kafka instance with <strong id="CreatePostPaidInstance__b1153015275912">specification</strong> being <strong id="CreatePostPaidInstance__b8530152135916">300MB</strong>: 1200–90,000 GB</li><li id="CreatePostPaidInstance__li1051154171318">Kafka instance with <strong id="CreatePostPaidInstance__b11104151597">specification</strong> being <strong id="CreatePostPaidInstance__b1610512585916">600MB</strong>: 2400–90,000 GB</li><li id="CreatePostPaidInstance__li16512144171315">Kafka instance with <strong id="CreatePostPaidInstance__b181291994590">specification</strong> being <strong id="CreatePostPaidInstance__b812959135914">1200MB:</strong> 4800–90,000 GB</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row13501164119130"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p55121441201318">partition_num</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p12512184111135">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p2512194118136">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p20512164111132">Maximum number of partitions in a Kafka instance.</p>
|
||
<ul id="CreatePostPaidInstance__ul05129412132"><li id="CreatePostPaidInstance__li05121841151310">When <strong id="CreatePostPaidInstance__b9401133220596">specification</strong> is <strong id="CreatePostPaidInstance__b184019321598">100MB</strong>: <strong id="CreatePostPaidInstance__b1040133211590">300</strong></li><li id="CreatePostPaidInstance__li12513194101319">When <strong id="CreatePostPaidInstance__b248023419590">specification</strong> is <strong id="CreatePostPaidInstance__b16480234105917">300MB</strong>: <strong id="CreatePostPaidInstance__b164811534165912">900</strong></li><li id="CreatePostPaidInstance__li15134411138">When <strong id="CreatePostPaidInstance__b4194193695915">specification</strong> is <strong id="CreatePostPaidInstance__b41941536135914">600MB</strong>: <strong id="CreatePostPaidInstance__b5194193695910">1800</strong></li><li id="CreatePostPaidInstance__li16513041101314">When <strong id="CreatePostPaidInstance__b1438533818594">specification</strong> is <strong id="CreatePostPaidInstance__b1738516387593">1200MB</strong>: <strong id="CreatePostPaidInstance__b7385143845916">1800</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row195012041161313"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p1151344112132">access_user</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p11513341171318">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p1351374119138">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p1551474111316">This parameter is mandatory when <strong id="CreatePostPaidInstance__b17112115425917">ssl_enable</strong> is set to <strong id="CreatePostPaidInstance__b61122054105917">true</strong>. This parameter is invalid when <strong id="CreatePostPaidInstance__b7113854105912">ssl_enable</strong> is set to <strong id="CreatePostPaidInstance__b81131254105915">false</strong>.</p>
|
||
<p id="CreatePostPaidInstance__p14514194115135">The username must be 4 to 64 characters long and can contain only letters, digits, and hyphens (-).</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row35011441191316"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p135148413134">password</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p195148413132">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p11514114117132">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p1951574141316">This parameter is mandatory when <strong id="CreatePostPaidInstance__b1473565410596">ssl_enable</strong> is set to <strong id="CreatePostPaidInstance__b147352545598">true</strong>. This parameter is invalid when <strong id="CreatePostPaidInstance__b1373513545599">ssl_enable</strong> is set to <strong id="CreatePostPaidInstance__b15735155417594">false</strong>.</p>
|
||
<p id="CreatePostPaidInstance__p3515241131310">Instance password.</p>
|
||
<p id="CreatePostPaidInstance__p7515174191313">The password must meet the following complexity requirements:</p>
|
||
<ul id="CreatePostPaidInstance__ul14515341111312"><li id="CreatePostPaidInstance__li1751514171317">Can contain 8 to 32 characters.</li><li id="CreatePostPaidInstance__li175151041171313">Contain at least two of the following character types:<ul id="CreatePostPaidInstance__ul1351554118135"><li id="CreatePostPaidInstance__li6515174141315">Lowercase letters</li><li id="CreatePostPaidInstance__li251612419136">Uppercase letters</li><li id="CreatePostPaidInstance__li1551674117132">Digits</li><li id="CreatePostPaidInstance__li195166412131">Special characters (`~!@#$%^&*()-_=+|[{}]:'",<.>/?)</li></ul>
|
||
</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row15014413137"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p18516114141314">vpc_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p1451654111137">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p151654113137">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p145161641161314">VPC ID.</p>
|
||
<p id="CreatePostPaidInstance__p3517841171318">To obtain it, log in to the VPC console and view the VPC ID on the VPC details page.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row55011841101310"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p45172413132">security_group_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p551714151319">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p6517164111131">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p55171941151310">Security group which the instance belongs to.</p>
|
||
<p id="CreatePostPaidInstance__p351710415131">To obtain it, log in to the VPC console and view the security group ID on the security group details page.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row850144111313"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p165181341171310">subnet_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p1651824120132">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p851804114134">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p1151874121316">Subnet information.</p>
|
||
<p id="CreatePostPaidInstance__p1518184191315">To obtain it, log in to VPC console and click the target subnet on the <strong id="CreatePostPaidInstance__b43681013371">Subnets</strong> page. You can view the network ID on the displayed page.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row165018414132"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p1518441121314">available_zones</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p155189418131">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p1551914119139">Array of strings</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p2519204191313">ID of the AZ where instance brokers reside and which has available resources. Obtain the AZ ID by referring to <a href="ListAvailableZones.html">Listing AZ Information</a>.</p>
|
||
<p id="CreatePostPaidInstance__p19519241161314">This parameter cannot be empty or null. When creating a Kafka instance, you can select either 1 AZ or at least 3 AZ. When specifying AZs for brokers, use commas (,) to separate multiple AZs.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row7501194131312"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p165191541121317">product_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p145191341161313">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p4519104131315">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p1523152911194">Product ID.</p>
|
||
<p id="CreatePostPaidInstance__p11715143891916">To create a Kafka instance, the following specifications are available: (product_id/specification/partition_num/storage_space)</p>
|
||
<p id="CreatePostPaidInstance__p9630165571917">00300-30308-0--0/100MB/300/600</p>
|
||
<p id="CreatePostPaidInstance__p4414125821913">00300-30310-0--0/300MB/900/1200</p>
|
||
<p id="CreatePostPaidInstance__p1222118115207">00300-30312-0--0/600MB/1800/2400</p>
|
||
<p id="CreatePostPaidInstance__p17520184121315">00300-30314-0--0/1200MB/1800/4800</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row55011841131312"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p1352024171311">maintain_begin</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p552014161319">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p1452054119138">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p5520104101310">Time at which the maintenance time window starts. Format: <em id="CreatePostPaidInstance__i138441236132916">HH:mm</em>.</p>
|
||
<ul id="CreatePostPaidInstance__ul135201418135"><li id="CreatePostPaidInstance__li16520741161311">The start time and end time of the maintenance time window must indicate the time segment of a supported maintenance time window.</li><li id="CreatePostPaidInstance__li1152194121310">The start time must be set to 22:00, 02:00, 06:00, 10:00, 14:00, or 18:00.</li><li id="CreatePostPaidInstance__li252114113138">Parameters <strong id="CreatePostPaidInstance__b18626125820303">maintain_begin</strong> and <strong id="CreatePostPaidInstance__b16626145833011">maintain_end</strong> must be set in pairs. If parameter <strong id="CreatePostPaidInstance__b18626258103020">maintain_begin</strong> is left blank, parameter <strong id="CreatePostPaidInstance__b1762613581303">maintain_end</strong> is also left blank. In this case, the system automatically set the start time to 02:00.</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row2502341201311"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p15521174112135">maintain_end</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p12521841151315">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p11521541181312">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p352110417130">Time at which the maintenance time window ends. Format: <em id="CreatePostPaidInstance__i56691432193110">HH:mm</em>.</p>
|
||
<ul id="CreatePostPaidInstance__ul1352214161310"><li id="CreatePostPaidInstance__li1152294131316">The start time and end time of the maintenance time window must indicate the time segment of a supported maintenance time window.</li><li id="CreatePostPaidInstance__li252234121317">The end time is four hours later than the start time. For example, if the start time is 22:00, the end time is 02:00.</li><li id="CreatePostPaidInstance__li4522174118137">Parameters <strong id="CreatePostPaidInstance__b39994883117">maintain_begin</strong> and <strong id="CreatePostPaidInstance__b8999489313">maintain_end</strong> must be set in pairs. If parameter <strong id="CreatePostPaidInstance__b18991248183117">maintain_end</strong> is left blank, parameter <strong id="CreatePostPaidInstance__b5991548183112">maintain_start</strong> is also left blank. In this case, the system automatically set the end time to 06:00.</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row11502241151314"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p10522141121318">enable_publicip</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p10523741181319">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p152314141315">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p1452384119135">Indicates whether to enable public access. By default, public access is disabled.</p>
|
||
<ul id="CreatePostPaidInstance__ul35231741141310"><li id="CreatePostPaidInstance__li155239413134"><strong id="CreatePostPaidInstance__b161531833133219">true</strong>: enable</li><li id="CreatePostPaidInstance__li3523174119139"><strong id="CreatePostPaidInstance__b2057936203216">false</strong>: disable</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row165029414134"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p13523154161317">public_bandwidth</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p165243416139">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p75241541101316">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p4524341171314">Public network bandwidth. Unit: Mbit/s When <strong id="CreatePostPaidInstance__b553735733210">specification</strong> is <strong id="CreatePostPaidInstance__b19538175719324">100MB</strong>, the value must be a multiple of the number of brokers and fall in the range from 3 to 900. When <strong id="CreatePostPaidInstance__b1832038123314">specification</strong> is <strong id="CreatePostPaidInstance__b132013823319">300MB</strong>, the value must be a multiple of the number of brokers and fall in the range from 3 to 900. When <strong id="CreatePostPaidInstance__b6352414183317">specification</strong> is <strong id="CreatePostPaidInstance__b1135219148332">600MB</strong>, the value must be a multiple of the number of brokers and fall in the range from 4 to 1200. When <strong id="CreatePostPaidInstance__b171051719143313">specification</strong> is <strong id="CreatePostPaidInstance__b410517197337">1200MB</strong>, the value must be a multiple of the number of brokers and fall in the range from 8 to 2400.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row1502204113132"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p35244413133">publicip_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p95242041151314">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p135241341201311">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p10525194113132">ID of the elastic IP address (EIP) bound to an instance.</p>
|
||
<p id="CreatePostPaidInstance__p13525741141316">Use commas (,) to separate multiple EIP IDs.</p>
|
||
<p id="CreatePostPaidInstance__p165251441181313">This parameter is mandatory if public access is enabled (that is, <strong id="CreatePostPaidInstance__b772925813336">enable_publicip</strong> is set to <strong id="CreatePostPaidInstance__b97308583333">true</strong>).</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row55021041161316"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p105251741181315">ssl_enable</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p152520418132">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p252534120139">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p18525841121314">Indicates whether to enable SSL-encrypted access.</p>
|
||
<p id="CreatePostPaidInstance__p1552654114139">This setting is fixed once the instance is created.</p>
|
||
<ul id="CreatePostPaidInstance__ul35265411134"><li id="CreatePostPaidInstance__li11526204118131"><strong id="CreatePostPaidInstance__b11313182113515">true</strong>: enable</li><li id="CreatePostPaidInstance__li1952619416139"><strong id="CreatePostPaidInstance__b931412314351">false</strong>: disable</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row125021041141313"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p175261741121315">kafka_security_protocol</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p35269413137">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p12526641151318">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p352711418133">Security protocol to use after SASL is enabled. This parameter is mandatory if SASL authentication is enabled (that is, when <strong id="CreatePostPaidInstance__b32631458143515">ssl_enable</strong> is set to <strong id="CreatePostPaidInstance__b121323714369">true</strong>).</p>
|
||
<p id="CreatePostPaidInstance__p17527104117133">If this parameter is left blank, SASL_SSL authentication is enabled by default.</p>
|
||
<p id="CreatePostPaidInstance__p4527154131318">This setting is fixed once the instance is created.</p>
|
||
<ul id="CreatePostPaidInstance__ul452712419137"><li id="CreatePostPaidInstance__li10527741151312"><strong id="CreatePostPaidInstance__b1082611619367">SASL_SSL</strong>: Data is encrypted with SSL certificates for high-security transmission.</li><li id="CreatePostPaidInstance__li752724131310"><strong id="CreatePostPaidInstance__b56358292375">SASL_PLAINTEXT</strong>: Data is transmitted in plaintext with username and password authentication. This protocol uses the SCRAM-SHA-512 mechanism to deliver better performance.</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row15022041191313"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p552834116131">sasl_enabled_mechanisms</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p155281341201311">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p1752844110135">Array of strings</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p1052924119136">Authentication mechanism to use after SASL is enabled. This parameter is mandatory if SASL authentication is enabled (that is, when <strong id="CreatePostPaidInstance__b11522619386">ssl_enable</strong> is set to <strong id="CreatePostPaidInstance__b18906151116381">true</strong>).</p>
|
||
<p id="CreatePostPaidInstance__p9529204116134">If this parameter is left blank, PLAIN authentication is enabled by default.</p>
|
||
<p id="CreatePostPaidInstance__p145237510454">Select both or either of the following mechanisms for SASL authentication.</p>
|
||
<p id="CreatePostPaidInstance__p1352924111136">Options:</p>
|
||
<ul id="CreatePostPaidInstance__ul165294417139"><li id="CreatePostPaidInstance__li552984110131"><strong id="CreatePostPaidInstance__b20569155416395">PLAIN</strong>: simple username and password verification.</li><li id="CreatePostPaidInstance__li1352914414139"><strong id="CreatePostPaidInstance__b1481219519407">SCRAM-SHA-512</strong>: user credential verification, which is more secure than <strong id="CreatePostPaidInstance__b142886984013">PLAIN</strong>.</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row2050214121314"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p135291641121316">retention_policy</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p105300413139">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p35301041111316">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p12530541131320">Action to be taken when the memory usage reaches the disk capacity threshold.</p>
|
||
<p id="CreatePostPaidInstance__p145301841171315">Options:</p>
|
||
<ul id="CreatePostPaidInstance__ul1553034113135"><li id="CreatePostPaidInstance__li15530241131318"><strong id="CreatePostPaidInstance__b113521329194015">produce_reject</strong>: New messages cannot be created.</li><li id="CreatePostPaidInstance__li15530641141313"><strong id="CreatePostPaidInstance__b1441817320407">time_base</strong>: The earliest messages are deleted.</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row1502194121319"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p185313410132">disk_encrypted_enable</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p1531841101319">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p65312041151310">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p153114171311">Indicates whether to enable disk encryption.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row155021141191314"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p75311341101311">disk_encrypted_key</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p125311741181319">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p9531341171311">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p175321141151315">Disk encryption key. If disk encryption is not enabled, this parameter is left blank.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row165026415136"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p12532174141313">connector_enable</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p11532164113136">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p753234113136">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p1353218419130">Indicates whether to enable message dumping.</p>
|
||
<p id="CreatePostPaidInstance__p1353220416134">By default, message dumping is disabled.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row550218411133"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p1253234171316">enable_auto_topic</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p1353324111319">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p75331941111319">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p55331841171318">Indicates whether to enable automatic topic creation.</p>
|
||
<ul id="CreatePostPaidInstance__ul753334112131"><li id="CreatePostPaidInstance__li353318417135"><strong id="CreatePostPaidInstance__b1119515340327">true</strong>: enable</li><li id="CreatePostPaidInstance__li1353354111311"><strong id="CreatePostPaidInstance__b61844019426">false</strong>: disable</li></ul>
|
||
<p id="CreatePostPaidInstance__p1353314111133">If automatic topic creation is enabled, a topic will be automatically created with 3 partitions and 3 replicas when a message is produced to or consumed from a topic that does not exist.</p>
|
||
<p id="CreatePostPaidInstance__p1353411416131">The default value is <strong id="CreatePostPaidInstance__b14472220458">false</strong>.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row2502241111313"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p14534174141312">storage_spec_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p19938441201315">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p10939154141310">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p89391741181316">Storage I/O specification.</p>
|
||
<ul id="CreatePostPaidInstance__ul6939154151315"><li id="CreatePostPaidInstance__li1093994151313">The value is <strong id="CreatePostPaidInstance__b1551715114518">dms.physical.storage.high</strong> or <strong id="CreatePostPaidInstance__b10346125817456">dms.physical.storage.ultra</strong> when the parameter <strong id="CreatePostPaidInstance__b198171419462">specification</strong> is <strong id="CreatePostPaidInstance__b4741131212467">100MB</strong> or <strong id="CreatePostPaidInstance__b2032812064614">300MB</strong>.</li><li id="CreatePostPaidInstance__li09397416136">The value is <strong id="CreatePostPaidInstance__b2482153204717">dms.physical.storage.ultra</strong> when the parameter <strong id="CreatePostPaidInstance__b15862113924715">specification</strong> is <strong id="CreatePostPaidInstance__b95571042124711">600MB</strong> or <strong id="CreatePostPaidInstance__b826444517477">1200MB</strong>.</li></ul>
|
||
<p id="CreatePostPaidInstance__p1939241151318">For details on how to select a disk type, see "Disk Types and Disk Performance" in <em id="CreatePostPaidInstance__i871461619526">Elastic Volume Service User Guide</em>.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row2050244114133"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreatePostPaidInstance__p2939164116137">tags</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreatePostPaidInstance__p493917414136">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreatePostPaidInstance__p119401141101319">Array of <a href="#CreatePostPaidInstance__request_TagEntity">TagEntity</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreatePostPaidInstance__p69401741141317">List of tags.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="CreatePostPaidInstance__request_TagEntity"></a><a name="request_TagEntity"></a><table cellpadding="4" cellspacing="0" summary="" id="CreatePostPaidInstance__request_TagEntity" frame="border" border="1" rules="all"><caption><b>Table 3 </b>TagEntity</caption><thead align="left"><tr id="CreatePostPaidInstance__row353614412131"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="CreatePostPaidInstance__p1494074113139">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="CreatePostPaidInstance__p1894016414137">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="CreatePostPaidInstance__p1794024118138">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="CreatePostPaidInstance__p794119413133">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreatePostPaidInstance__row953694191312"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="CreatePostPaidInstance__p0941144117131">key</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="CreatePostPaidInstance__p16941124115131">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="CreatePostPaidInstance__p3941114151312">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="CreatePostPaidInstance__p694117413132">Tag key.</p>
|
||
<ul id="CreatePostPaidInstance__ul9261953202317"><li id="CreatePostPaidInstance__li1926145315232">Cannot be left blank.</li><li id="CreatePostPaidInstance__li112614531236">Must be unique for the same instance.</li><li id="CreatePostPaidInstance__li72615302313">Can contain 1 to 128 characters.</li><li id="CreatePostPaidInstance__li52635362317">Can contain letters, digits, spaces, and special characters _.:=+-@</li><li id="CreatePostPaidInstance__li112655315233">Cannot start or end with a space.</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="CreatePostPaidInstance__row6536194171310"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="CreatePostPaidInstance__p199421541121316">value</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="CreatePostPaidInstance__p59421541161318">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="CreatePostPaidInstance__p14942134141310">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="CreatePostPaidInstance__p14942124117131">Value.</p>
|
||
<ul id="CreatePostPaidInstance__ul2261553112312"><li id="CreatePostPaidInstance__li1426115312314">Can contain 0 to 255 characters.</li><li id="CreatePostPaidInstance__li5261753192311">Can contain letters, digits, spaces, and special characters _.:=+-@</li><li id="CreatePostPaidInstance__li626135342313">Cannot start or end with a space.</li></ul>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="CreatePostPaidInstance__section19421541131320"><h4 class="sectiontitle">Response Parameters</h4><p id="CreatePostPaidInstance__p199421441171315">Status code: 200</p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreatePostPaidInstance__response_CreatePostPaidInstanceResp" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameter</caption><thead align="left"><tr id="CreatePostPaidInstance__row10538174141314"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="CreatePostPaidInstance__p10943841141315">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="CreatePostPaidInstance__p594318415134">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="CreatePostPaidInstance__p194364151319">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreatePostPaidInstance__row1353914411132"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="CreatePostPaidInstance__p1294324117135">instance_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="CreatePostPaidInstance__p1994354111316">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="CreatePostPaidInstance__p189433418135">Instance ID.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="CreatePostPaidInstance__section3943154114131"><h4 class="sectiontitle">Example Requests</h4><p id="CreatePostPaidInstance__p794324151317">Creating a Kafka instance.</p>
|
||
<pre class="screen" id="CreatePostPaidInstance__screen694311416136">POST https://{endpoint}/v2/{project_id}/instances
|
||
|
||
{
|
||
"name" : "kafka-test",
|
||
"description" : "",
|
||
"engine" : "kafka",
|
||
"engine_version" : "1.1.0",
|
||
"storage_space" : 300,
|
||
"vpc_id" : "23921d2a-****-****-****-5f2fa5327a48",
|
||
"security_group_id" : "2e888928-****-****-****-e36c6520d473",
|
||
"subnet_id" : "37bb12c9-****-****-****-ae8f7d336ab6",
|
||
"available_zones" : [ "a0865121f83b41cbafce65930a22a6e8" ],
|
||
"product_id" : "00300-30310-0--0",
|
||
"maintain_begin" : "22:00",
|
||
"maintain_end" : "02:00",
|
||
"ssl_enable" : true,
|
||
"kafka_security_protocol" : "SASL_SSL",
|
||
"sasl_enabled_mechanisms" : [ "SCRAM-SHA-512" ],
|
||
"enable_publicip" : true,
|
||
"publicip_id" : "6db1129f-16af-455d-8d54-************,bb200202-423f-49e4-bae7-************,ca8801e8-6620-42af-b506-************",
|
||
"access_user" : "root",
|
||
"password" : "**********",
|
||
"specification" : "300MB",
|
||
"partition_num" : 900,
|
||
"retention_policy" : "time_base",
|
||
"enable_auto_topic" : true,
|
||
"storage_spec_code" : "dms.physical.storage.ultra"
|
||
}</pre>
|
||
</div>
|
||
<div class="section" id="CreatePostPaidInstance__section1194674111313"><h4 class="sectiontitle">Example Response</h4><p id="CreatePostPaidInstance__p1594624161317">Status code: 200</p>
|
||
<p id="CreatePostPaidInstance__p394616416134">Instance created successfully.</p>
|
||
<pre class="screen" id="CreatePostPaidInstance__screen79467411135">{
|
||
"instance_id" : "8959ab1c-7n1a-yyb1-a05t-93dfc361b32d"
|
||
}</pre>
|
||
</div>
|
||
<div class="section" id="CreatePostPaidInstance__section1694614410131"><h4 class="sectiontitle">Status Code</h4>
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreatePostPaidInstance__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="CreatePostPaidInstance__row75437411137"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="CreatePostPaidInstance__p1894710418131">Status Code</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="CreatePostPaidInstance__p7947204110131">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="CreatePostPaidInstance__row8543174112134"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="CreatePostPaidInstance__p5947124111131">200</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="CreatePostPaidInstance__p169471416131">Instance created successfully.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="CreatePostPaidInstance__section794774121317"><h4 class="sectiontitle">Error Codes</h4><p id="CreatePostPaidInstance__p994754119138">See <a href="ErrorCode.html">Error Codes</a>.</p>
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<div class="familylinks">
|
||
<div class="parentlink"><strong>Parent topic:</strong> <a href="kafka-api-0003.html">API V2</a></div>
|
||
</div>
|
||
</div>
|
||
|